Upgrading google.golang.org/api 0.94 to 0.95
Review neededv0.94.0 → v0.95.0Deprecated1Changed2
Review neededUpgrade verdict
1 deprecation.
In plain terms
- The ImpersonateCredentials option is now marked deprecated and should be avoided in new code.
Must act 1 item needs code or config changes
Nothing in this upgrade needs a code or configuration change.
Deprecations to plan for
Deprecated1
Officially deprecates ImpersonateCredentials.
ImpersonateCredentialsAPI changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- added:
field Network.JumboFramesEnabled: bool - added:
field Network.MountPoints: []*NetworkMountPoint - added:
field Network.Pod: string - added:
field NetworkMountPoint.DefaultGateway: bool - added:
field NetworkMountPoint.ForceSendFields: []string - added:
field NetworkMountPoint.Instance: string - added:
field NetworkMountPoint.IpAddress: string - added:
field NetworkMountPoint.LogicalInterface: string - added:
field NetworkMountPoint.NullFields: []string - added:
field NfsShare.StorageType: string - added:
field VlanAttachment.PairingKey: string - added:
field VlanAttachment.QosPolicy: *QosPolicy - added:
method NetworkMountPoint.MarshalJSON() ([]byte, error) - added:
method ProjectsLocationsNfsSharesCreateCall.Context(context.Context) *ProjectsLocationsNfsSharesCreateCall - added:
method ProjectsLocationsNfsSharesCreateCall.Do(...googleapi.CallOption) (*Operation, error) - added:
method ProjectsLocationsNfsSharesCreateCall.Fields(...googleapi.Field) *ProjectsLocationsNfsSharesCreateCall - added:
method ProjectsLocationsNfsSharesCreateCall.Header() http.Header - added:
method ProjectsLocationsNfsSharesDeleteCall.Context(context.Context) *ProjectsLocationsNfsSharesDeleteCall - added:
method ProjectsLocationsNfsSharesDeleteCall.Do(...googleapi.CallOption) (*Operation, error) - added:
method ProjectsLocationsNfsSharesDeleteCall.Fields(...googleapi.Field) *ProjectsLocationsNfsSharesDeleteCall - added:
method ProjectsLocationsNfsSharesDeleteCall.Header() http.Header - added:
method ProjectsLocationsNfsSharesService.Create(string, *NfsShare) *ProjectsLocationsNfsSharesCreateCall - added:
method ProjectsLocationsNfsSharesService.Delete(string) *ProjectsLocationsNfsSharesDeleteCall - added:
type NetworkMountPoint: struct - added:
type ProjectsLocationsNfsSharesCreateCall: struct - added:
type ProjectsLocationsNfsSharesDeleteCall: struct
- added:
field AlloyDbConnectionProfile.ClusterId: string - added:
field AlloyDbConnectionProfile.ForceSendFields: []string - added:
field AlloyDbConnectionProfile.NullFields: []string - added:
field AlloyDbConnectionProfile.Settings: *AlloyDbSettings - added:
field AlloyDbSettings.ForceSendFields: []string - added:
field AlloyDbSettings.InitialUser: *UserPassword - added:
field AlloyDbSettings.Labels: map[string]string - added:
field AlloyDbSettings.NullFields: []string - added:
field AlloyDbSettings.PrimaryInstanceSettings: *PrimaryInstanceSettings - added:
field AlloyDbSettings.VpcNetwork: string - added:
field ConnectionProfile.Alloydb: *AlloyDbConnectionProfile - added:
field MachineConfig.CpuCount: int64 - added:
field MachineConfig.ForceSendFields: []string - added:
field MachineConfig.NullFields: []string - added:
field PostgreSqlConnectionProfile.NetworkArchitecture: string - added:
field PrimaryInstanceSettings.DatabaseFlags: map[string]string - added:
field PrimaryInstanceSettings.ForceSendFields: []string - added:
field PrimaryInstanceSettings.Id: string - added:
field PrimaryInstanceSettings.Labels: map[string]string - added:
field PrimaryInstanceSettings.MachineConfig: *MachineConfig - added:
field PrimaryInstanceSettings.NullFields: []string - added:
field PrimaryInstanceSettings.PrivateIp: string - added:
field UserPassword.ForceSendFields: []string - added:
field UserPassword.NullFields: []string - added:
field UserPassword.Password: string - added:
field UserPassword.PasswordSet: bool - added:
field UserPassword.User: string - added:
method AlloyDbConnectionProfile.MarshalJSON() ([]byte, error) - added:
method AlloyDbSettings.MarshalJSON() ([]byte, error) - added:
method MachineConfig.MarshalJSON() ([]byte, error) - added:
method PrimaryInstanceSettings.MarshalJSON() ([]byte, error) - added:
method UserPassword.MarshalJSON() ([]byte, error) - added:
type AlloyDbConnectionProfile: struct - added:
type AlloyDbSettings: struct - added:
type MachineConfig: struct - added:
type PrimaryInstanceSettings: struct - added:
type UserPassword: struct
- removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata.NewlyAddedDocuments: []*GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.DestinationPrefix: string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.ForceSendFields: []string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.NullFields: []string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.SourcePrefix: string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.Status: *GoogleRpcStatus - removed:
method GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.MarshalJSON() ([]byte, error) - removed:
type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument: struct - added:
field GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata.ErrorDocumentCount: int64 - added:
field GoogleCloudDocumentaiV1DocumentSchemaEntityType.EntityTypeMetadata: *GoogleCloudDocumentaiV1EntityTypeMetadata - added:
field GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.PropertyMetadata: *GoogleCloudDocumentaiV1PropertyMetadata - added:
field GoogleCloudDocumentaiV1EntityTypeMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1EntityTypeMetadata.HumanReviewLabelingMetadata: *GoogleCloudDocumentaiV1HumanReviewLabelingMetadata - added:
field GoogleCloudDocumentaiV1EntityTypeMetadata.HumanReviewMetadata: *GoogleCloudDocumentaiV1HumanReviewValidationMetadata - added:
field GoogleCloudDocumentaiV1EntityTypeMetadata.Inactive: bool - added:
field GoogleCloudDocumentaiV1EntityTypeMetadata.NullFields: []string - added:
field GoogleCloudDocumentaiV1EntityTypeMetadata.PrefixedNamingOnProperties: bool - added:
field GoogleCloudDocumentaiV1HumanReviewLabelingMetadata.EnableNormalizationEditing: bool - added:
field GoogleCloudDocumentaiV1HumanReviewLabelingMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1HumanReviewLabelingMetadata.NullFields: []string - added:
field GoogleCloudDocumentaiV1HumanReviewValidationMetadata.ConfidenceThreshold: float64 - added:
field GoogleCloudDocumentaiV1HumanReviewValidationMetadata.EnableValidation: bool - added:
field GoogleCloudDocumentaiV1HumanReviewValidationMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1HumanReviewValidationMetadata.NullFields: []string - added:
field GoogleCloudDocumentaiV1PropertyMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1PropertyMetadata.HumanReviewLabelingMetadata: *GoogleCloudDocumentaiV1HumanReviewLabelingMetadata - added:
field GoogleCloudDocumentaiV1PropertyMetadata.HumanReviewMetadata: *GoogleCloudDocumentaiV1HumanReviewValidationMetadata - added:
field GoogleCloudDocumentaiV1PropertyMetadata.Inactive: bool - added:
field GoogleCloudDocumentaiV1PropertyMetadata.NullFields: []string - added:
method GoogleCloudDocumentaiV1EntityTypeMetadata.MarshalJSON() ([]byte, error) - added:
method GoogleCloudDocumentaiV1HumanReviewLabelingMetadata.MarshalJSON() ([]byte, error) - added:
method GoogleCloudDocumentaiV1HumanReviewValidationMetadata.MarshalJSON() ([]byte, error) - added:
method GoogleCloudDocumentaiV1HumanReviewValidationMetadata.UnmarshalJSON([]byte) error - added:
method GoogleCloudDocumentaiV1PropertyMetadata.MarshalJSON() ([]byte, error) - added:
type GoogleCloudDocumentaiV1EntityTypeMetadata: struct - added:
type GoogleCloudDocumentaiV1HumanReviewLabelingMetadata: struct - added:
type GoogleCloudDocumentaiV1HumanReviewValidationMetadata: struct - added:
type GoogleCloudDocumentaiV1PropertyMetadata: struct
- removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata.NewlyAddedDocuments: []*GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.DestinationPrefix: string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.ForceSendFields: []string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.NullFields: []string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.SourcePrefix: string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.Status: *GoogleRpcStatus - removed:
method GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.MarshalJSON() ([]byte, error) - removed:
type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument: struct - added:
field GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata.ErrorDocumentCount: int64
- removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadata.NewlyAddedDocuments: []*GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.DestinationPrefix: string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.ForceSendFields: []string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.NullFields: []string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.SourcePrefix: string - removed:
field GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.Status: *GoogleRpcStatus - removed:
method GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument.MarshalJSON() ([]byte, error) - removed:
type GoogleCloudDocumentaiUiv1beta3ResyncDatasetMetadataUpdatedDocument: struct - added:
field GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadata.ErrorDocumentCount: int64 - added:
field GoogleCloudDocumentaiV1beta3DocumentSchemaEntityType.EntityTypeMetadata: *GoogleCloudDocumentaiV1beta3EntityTypeMetadata - added:
field GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeProperty.PropertyMetadata: *GoogleCloudDocumentaiV1beta3PropertyMetadata - added:
field GoogleCloudDocumentaiV1beta3EntityTypeMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1beta3EntityTypeMetadata.HumanReviewLabelingMetadata: *GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata - added:
field GoogleCloudDocumentaiV1beta3EntityTypeMetadata.HumanReviewMetadata: *GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata - added:
field GoogleCloudDocumentaiV1beta3EntityTypeMetadata.Inactive: bool - added:
field GoogleCloudDocumentaiV1beta3EntityTypeMetadata.NullFields: []string - added:
field GoogleCloudDocumentaiV1beta3EntityTypeMetadata.PrefixedNamingOnProperties: bool - added:
field GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata.EnableNormalizationEditing: bool - added:
field GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata.NullFields: []string - added:
field GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata.ConfidenceThreshold: float64 - added:
field GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata.EnableValidation: bool - added:
field GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata.NullFields: []string - added:
field GoogleCloudDocumentaiV1beta3PropertyMetadata.ForceSendFields: []string - added:
field GoogleCloudDocumentaiV1beta3PropertyMetadata.HumanReviewLabelingMetadata: *GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata - added:
field GoogleCloudDocumentaiV1beta3PropertyMetadata.HumanReviewMetadata: *GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata - added:
field GoogleCloudDocumentaiV1beta3PropertyMetadata.Inactive: bool - added:
field GoogleCloudDocumentaiV1beta3PropertyMetadata.NullFields: []string - added:
method GoogleCloudDocumentaiV1beta3EntityTypeMetadata.MarshalJSON() ([]byte, error) - added:
method GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata.MarshalJSON() ([]byte, error) - added:
method GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata.MarshalJSON() ([]byte, error) - added:
method GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata.UnmarshalJSON([]byte) error - added:
method GoogleCloudDocumentaiV1beta3PropertyMetadata.MarshalJSON() ([]byte, error) - added:
type GoogleCloudDocumentaiV1beta3EntityTypeMetadata: struct - added:
type GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata: struct - added:
type GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata: struct - added:
type GoogleCloudDocumentaiV1beta3PropertyMetadata: struct
- removed:
const CloudPlatformScope - removed:
const CloudruntimeconfigScope - removed:
field Empty.ServerResponse: embedded googleapi.ServerResponse - removed:
field ListOperationsResponse.ForceSendFields: []string - removed:
field ListOperationsResponse.NextPageToken: string - removed:
field ListOperationsResponse.NullFields: []string - removed:
field ListOperationsResponse.Operations: []*Operation - removed:
field ListOperationsResponse.ServerResponse: embedded googleapi.ServerResponse - removed:
field Operation.Done: bool - removed:
field Operation.Error: *Status - removed:
field Operation.ForceSendFields: []string - removed:
field Operation.Metadata: googleapi.RawMessage - removed:
field Operation.Name: string - removed:
field Operation.NullFields: []string - removed:
field Operation.Response: googleapi.RawMessage - removed:
field Service.BasePath: string - removed:
field Service.Operations: *OperationsService - removed:
field Service.UserAgent: string - removed:
field Status.Code: int64 - removed:
field Status.Details: []googleapi.RawMessage - removed:
field Status.ForceSendFields: []string - removed:
field Status.Message: string - removed:
field Status.NullFields: []string - removed:
func New(*http.Client) (*Service, error) - removed:
func NewOperationsService(*Service) *OperationsService - removed:
func NewService(context.Context, ...option.ClientOption) (*Service, error) - removed:
method ListOperationsResponse.MarshalJSON() ([]byte, error) - removed:
method Operation.MarshalJSON() ([]byte, error) - removed:
method OperationsCancelCall.Context(context.Context) *OperationsCancelCall - removed:
method OperationsCancelCall.Do(...googleapi.CallOption) (*Empty, error) - removed:
method OperationsCancelCall.Fields(...googleapi.Field) *OperationsCancelCall - removed:
method OperationsCancelCall.Header() http.Header - removed:
method OperationsDeleteCall.Context(context.Context) *OperationsDeleteCall - removed:
method OperationsDeleteCall.Do(...googleapi.CallOption) (*Empty, error) - removed:
method OperationsDeleteCall.Fields(...googleapi.Field) *OperationsDeleteCall - removed:
method OperationsDeleteCall.Header() http.Header - removed:
method OperationsListCall.Context(context.Context) *OperationsListCall - removed:
method OperationsListCall.Do(...googleapi.CallOption) (*ListOperationsResponse, error) - removed:
method OperationsListCall.Fields(...googleapi.Field) *OperationsListCall - removed:
method OperationsListCall.Filter(string) *OperationsListCall - removed:
method OperationsListCall.Header() http.Header - removed:
method OperationsListCall.IfNoneMatch(string) *OperationsListCall - removed:
method OperationsListCall.PageSize(int64) *OperationsListCall - removed:
method OperationsListCall.PageToken(string) *OperationsListCall - removed:
method OperationsListCall.Pages(context.Context, func(*ListOperationsResponse) error) error - removed:
method OperationsService.Cancel(string, *CancelOperationRequest) *OperationsCancelCall - removed:
method OperationsService.Delete(string) *OperationsDeleteCall - removed:
method OperationsService.List(string) *OperationsListCall - removed:
method Status.MarshalJSON() ([]byte, error) - removed:
type CancelOperationRequest: struct - removed:
type Empty: struct - removed:
type ListOperationsResponse: struct - removed:
type Operation: struct - removed:
type OperationsCancelCall: struct - removed:
type OperationsDeleteCall: struct - removed:
type OperationsListCall: struct - removed:
type OperationsService: struct - removed:
type Service: struct - removed:
type Status: struct
- removed:
const MaxBufSize - removed:
func NewClient(*grpc.ClientConn, ...grpc.CallOption) *Client - removed:
method Client.Close() - removed:
method Client.NewReader(context.Context, string) (*Reader, error) - removed:
method Client.NewReaderAt(context.Context, string, int64) (*Reader, error) - removed:
method Client.NewWriter(context.Context, string) (*Writer, error) - removed:
method Reader.Close() error - removed:
method Reader.Read([]byte) (int, error) - removed:
method Reader.ResourceName() string - removed:
method Writer.Close() error - removed:
method Writer.ResourceName() string - removed:
method Writer.Write([]byte) (int, error) - removed:
type Client: struct - removed:
type Reader: struct - removed:
type Writer: struct