Upgrading google.golang.org/api 0.69 to 0.70
Review neededv0.69.0 → v0.70.0New1Changed1
Review neededUpgrade verdict
1 behavior change.
In plain terms
- The generated client libraries were rebuilt from the latest API definitions.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Moves cloud.google.com/go/compute v1.2.0 → v1.3.0, google.golang.org/genproto v0.0.0-20220211171837-173942840c17 → v0.0.0-20220218161850-94dd64e39d7c. Your build may pick other versions.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- removed:
field Service.Operations: *OperationsService - removed:
func NewOperationsService(*Service) *OperationsService - removed:
method OperationsGetCall.Context(context.Context) *OperationsGetCall - removed:
method OperationsGetCall.Do(...googleapi.CallOption) (*Operation, error) - removed:
method OperationsGetCall.Fields(...googleapi.Field) *OperationsGetCall - removed:
method OperationsGetCall.Header() http.Header - removed:
method OperationsGetCall.IfNoneMatch(string) *OperationsGetCall - removed:
method OperationsService.Get(string) *OperationsGetCall - removed:
type OperationsGetCall: struct - removed:
type OperationsService: struct - added:
field ProjectsLocationsService.Operations: *ProjectsLocationsOperationsService - added:
func NewProjectsLocationsOperationsService(*Service) *ProjectsLocationsOperationsService - added:
method ProjectsLocationsOperationsGetCall.Context(context.Context) *ProjectsLocationsOperationsGetCall - added:
method ProjectsLocationsOperationsGetCall.Do(...googleapi.CallOption) (*Operation, error) - added:
method ProjectsLocationsOperationsGetCall.Fields(...googleapi.Field) *ProjectsLocationsOperationsGetCall - added:
method ProjectsLocationsOperationsGetCall.Header() http.Header - added:
method ProjectsLocationsOperationsGetCall.IfNoneMatch(string) *ProjectsLocationsOperationsGetCall - added:
method ProjectsLocationsOperationsService.Get(string) *ProjectsLocationsOperationsGetCall - added:
method ProjectsLocationsRepositoriesFilesListCall.OrderBy(string) *ProjectsLocationsRepositoriesFilesListCall - added:
type ProjectsLocationsOperationsGetCall: struct - added:
type ProjectsLocationsOperationsService: struct
- added:
field CapacityCommitment.MultiRegionAuxiliary: bool - added:
field Reservation.MultiRegionAuxiliary: bool
- added:
field CapacityCommitment.MultiRegionAuxiliary: bool - added:
field Reservation.MultiRegionAuxiliary: bool
- added:
field BatchGetEffectiveIamPoliciesResponse.ForceSendFields: []string - added:
field BatchGetEffectiveIamPoliciesResponse.NullFields: []string - added:
field BatchGetEffectiveIamPoliciesResponse.PolicyResults: []*EffectiveIamPolicy - added:
field BatchGetEffectiveIamPoliciesResponse.ServerResponse: embedded googleapi.ServerResponse - added:
field EffectiveIamPolicy.ForceSendFields: []string - added:
field EffectiveIamPolicy.FullResourceName: string - added:
field EffectiveIamPolicy.NullFields: []string - added:
field EffectiveIamPolicy.Policies: []*PolicyInfo - added:
field PolicyInfo.AttachedResource: string - added:
field PolicyInfo.ForceSendFields: []string - added:
field PolicyInfo.NullFields: []string - added:
field PolicyInfo.Policy: *Policy - added:
field Service.EffectiveIamPolicies: *EffectiveIamPoliciesService - added:
func NewEffectiveIamPoliciesService(*Service) *EffectiveIamPoliciesService - added:
method BatchGetEffectiveIamPoliciesResponse.MarshalJSON() ([]byte, error) - added:
method EffectiveIamPoliciesBatchGetCall.Context(context.Context) *EffectiveIamPoliciesBatchGetCall - added:
method EffectiveIamPoliciesBatchGetCall.Do(...googleapi.CallOption) (*BatchGetEffectiveIamPoliciesResponse, error) - added:
method EffectiveIamPoliciesBatchGetCall.Fields(...googleapi.Field) *EffectiveIamPoliciesBatchGetCall - added:
method EffectiveIamPoliciesBatchGetCall.Header() http.Header - added:
method EffectiveIamPoliciesBatchGetCall.IfNoneMatch(string) *EffectiveIamPoliciesBatchGetCall - added:
method EffectiveIamPoliciesBatchGetCall.Names(...string) *EffectiveIamPoliciesBatchGetCall - added:
method EffectiveIamPoliciesService.BatchGet(string) *EffectiveIamPoliciesBatchGetCall - added:
method EffectiveIamPolicy.MarshalJSON() ([]byte, error) - added:
method PolicyInfo.MarshalJSON() ([]byte, error) - added:
type BatchGetEffectiveIamPoliciesResponse: struct - added:
type EffectiveIamPoliciesBatchGetCall: struct - added:
type EffectiveIamPoliciesService: struct - added:
type EffectiveIamPolicy: struct - added:
type PolicyInfo: struct
- added:
field MemInfo.CurrentOoms: int64
- added:
field ProjectsLocationsWorkloadIdentityPoolsProvidersKeysService.Operations: *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsService - added:
field ProjectsLocationsWorkloadIdentityPoolsProvidersService.Keys: *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysService - added:
func NewProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsService(*Service) *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsService - added:
func NewProjectsLocationsWorkloadIdentityPoolsProvidersKeysService(*Service) *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysService - added:
method ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall.Context(context.Context) *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall - added:
method ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall.Do(...googleapi.CallOption) (*Operation, error) - added:
method ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall.Fields(...googleapi.Field) *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall - added:
method ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall.Header() http.Header - added:
method ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall.IfNoneMatch(string) *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall - added:
method ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsService.Get(string) *ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall - added:
type ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsGetCall: struct - added:
type ProjectsLocationsWorkloadIdentityPoolsProvidersKeysOperationsService: struct - added:
type ProjectsLocationsWorkloadIdentityPoolsProvidersKeysService: struct
- added:
field Settings.KmsKeyName: string - added:
field Settings.KmsServiceAccountId: string
- added:
field GoogleCloudSaasacceleratorManagementProvidersV1Instance.InstanceType: string - added:
field GoogleCloudSaasacceleratorManagementProvidersV1Instance.NotificationParameters: map[string]string
- added:
field GoogleCloudSaasacceleratorManagementProvidersV1Instance.InstanceType: string - added:
field GoogleCloudSaasacceleratorManagementProvidersV1Instance.NotificationParameters: map[string]string
- added:
field CollapsibleGroup.Collapsed: bool - added:
field CollapsibleGroup.ForceSendFields: []string - added:
field CollapsibleGroup.NullFields: []string - added:
field Widget.CollapsibleGroup: *CollapsibleGroup - added:
method CollapsibleGroup.MarshalJSON() ([]byte, error) - added:
type CollapsibleGroup: struct
- added:
field ExecutionTemplate.Tensorboard: string
- added:
field Subscription.EnableExactlyOnceDelivery: bool
- removed:
const CloudPlatformScope - removed:
field GoogleIamV1__Binding.Condition: *GoogleType__Expr - removed:
field GoogleIamV1__Binding.ForceSendFields: []string - removed:
field GoogleIamV1__Binding.Members: []string - removed:
field GoogleIamV1__Binding.NullFields: []string - removed:
field GoogleIamV1__Binding.Role: string - removed:
field GoogleIamV1__Policy.Bindings: []*GoogleIamV1__Binding - removed:
field GoogleIamV1__Policy.Etag: string - removed:
field GoogleIamV1__Policy.ForceSendFields: []string - removed:
field GoogleIamV1__Policy.NullFields: []string - removed:
field GoogleIamV1__Policy.ServerResponse: embedded googleapi.ServerResponse - removed:
field GoogleIamV1__Policy.Version: int64 - removed:
field GoogleIamV1__SetIamPolicyRequest.ForceSendFields: []string - removed:
field GoogleIamV1__SetIamPolicyRequest.NullFields: []string - removed:
field GoogleIamV1__SetIamPolicyRequest.Policy: *GoogleIamV1__Policy - removed:
field GoogleIamV1__TestIamPermissionsRequest.ForceSendFields: []string - removed:
field GoogleIamV1__TestIamPermissionsRequest.NullFields: []string - removed:
field GoogleIamV1__TestIamPermissionsRequest.Permissions: []string - removed:
field GoogleIamV1__TestIamPermissionsResponse.ForceSendFields: []string - removed:
field GoogleIamV1__TestIamPermissionsResponse.NullFields: []string - removed:
field GoogleIamV1__TestIamPermissionsResponse.Permissions: []string - removed:
field GoogleIamV1__TestIamPermissionsResponse.ServerResponse: embedded googleapi.ServerResponse - removed:
field GoogleType__Expr.Description: string - removed:
field GoogleType__Expr.Expression: string - removed:
field GoogleType__Expr.ForceSendFields: []string - removed:
field GoogleType__Expr.Location: string - removed:
field GoogleType__Expr.NullFields: []string - removed:
field GoogleType__Expr.Title: string - removed:
field Service.BasePath: string - removed:
field Service.UserAgent: string - removed:
field Service.V1: *V1Service - removed:
func New(*http.Client) (*Service, error) - removed:
func NewService(context.Context, ...option.ClientOption) (*Service, error) - removed:
func NewV1Service(*Service) *V1Service - removed:
method GoogleIamV1__Binding.MarshalJSON() ([]byte, error) - removed:
method GoogleIamV1__Policy.MarshalJSON() ([]byte, error) - removed:
method GoogleIamV1__SetIamPolicyRequest.MarshalJSON() ([]byte, error) - removed:
method GoogleIamV1__TestIamPermissionsRequest.MarshalJSON() ([]byte, error) - removed:
method GoogleIamV1__TestIamPermissionsResponse.MarshalJSON() ([]byte, error) - removed:
method GoogleType__Expr.MarshalJSON() ([]byte, error) - removed:
method V1GetIamPolicyCall.Context(context.Context) *V1GetIamPolicyCall - removed:
method V1GetIamPolicyCall.Do(...googleapi.CallOption) (*GoogleIamV1__Policy, error) - removed:
method V1GetIamPolicyCall.Fields(...googleapi.Field) *V1GetIamPolicyCall - removed:
method V1GetIamPolicyCall.Header() http.Header - removed:
method V1GetIamPolicyCall.IfNoneMatch(string) *V1GetIamPolicyCall - removed:
method V1GetIamPolicyCall.OptionsRequestedPolicyVersion(int64) *V1GetIamPolicyCall - removed:
method V1Service.GetIamPolicy(string) *V1GetIamPolicyCall - removed:
method V1Service.SetIamPolicy(string, *GoogleIamV1__SetIamPolicyRequest) *V1SetIamPolicyCall - removed:
method V1Service.TestIamPermissions(string, *GoogleIamV1__TestIamPermissionsRequest) *V1TestIamPermissionsCall - removed:
method V1SetIamPolicyCall.Context(context.Context) *V1SetIamPolicyCall - removed:
method V1SetIamPolicyCall.Do(...googleapi.CallOption) (*GoogleIamV1__Policy, error) - removed:
method V1SetIamPolicyCall.Fields(...googleapi.Field) *V1SetIamPolicyCall - removed:
method V1SetIamPolicyCall.Header() http.Header - removed:
method V1TestIamPermissionsCall.Context(context.Context) *V1TestIamPermissionsCall - removed:
method V1TestIamPermissionsCall.Do(...googleapi.CallOption) (*GoogleIamV1__TestIamPermissionsResponse, error) - removed:
method V1TestIamPermissionsCall.Fields(...googleapi.Field) *V1TestIamPermissionsCall - removed:
method V1TestIamPermissionsCall.Header() http.Header - removed:
type GoogleIamV1__Binding: struct - removed:
type GoogleIamV1__Policy: struct - removed:
type GoogleIamV1__SetIamPolicyRequest: struct - removed:
type GoogleIamV1__TestIamPermissionsRequest: struct - removed:
type GoogleIamV1__TestIamPermissionsResponse: struct - removed:
type GoogleType__Expr: struct - removed:
type Service: struct - removed:
type V1GetIamPolicyCall: struct - removed:
type V1Service: struct - removed:
type V1SetIamPolicyCall: struct - removed:
type V1TestIamPermissionsCall: struct
- removed:
func DialGRPC(context.Context, ...option.ClientOption) (*grpc.ClientConn, error) - removed:
func DialGRPCInsecure(context.Context, ...option.ClientOption) (*grpc.ClientConn, error) - removed:
func NewHTTPClient(context.Context, ...option.ClientOption) (*http.Client, string, error) - added:
func Creds(context.Context, ...option.ClientOption) (*google.Credentials, error)
- added:
const MaxBufSize - added:
func NewClient(*grpc.ClientConn, ...grpc.CallOption) *Client - added:
method Client.Close() - added:
method Client.NewReader(context.Context, string) (*Reader, error) - added:
method Client.NewReaderAt(context.Context, string, int64) (*Reader, error) - added:
method Client.NewWriter(context.Context, string) (*Writer, error) - added:
method Reader.Close() error - added:
method Reader.Read([]byte) (int, error) - added:
method Reader.ResourceName() string - added:
method Writer.Close() error - added:
method Writer.ResourceName() string - added:
method Writer.Write([]byte) (int, error) - added:
type Client: struct - added:
type Reader: struct - added:
type Writer: struct