Skip to content

Upgrading google.golang.org/api 0.55 to 0.56

Review neededv0.55.0 → v0.56.0New1Changed1

Review neededUpgrade verdict

1 behavior change.

  • The generated client code for Google APIs is refreshed from the latest discovery documents.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Go source. Not mixed with prose notes.

  • added: field ResponseMetaData.CurrencyCode: string
  • added: field ResponseMetaData.TimeZone: string
  • added: field APIService.Promotions: *PromotionsService
  • added: field CaptureOrderResponse.ExecutionStatus: string
  • added: field CaptureOrderResponse.ForceSendFields: []string
  • added: field CaptureOrderResponse.NullFields: []string
  • added: field CaptureOrderResponse.ServerResponse: embedded googleapi.ServerResponse
  • added: field Product.ProductHeight: *ProductDimension
  • added: field Product.ProductLength: *ProductDimension
  • added: field Product.ProductWeight: *ProductWeight
  • added: field Product.ProductWidth: *ProductDimension
  • added: field ProductDimension.ForceSendFields: []string
  • added: field ProductDimension.NullFields: []string
  • added: field ProductDimension.Unit: string
  • added: field ProductDimension.Value: float64
  • added: field ProductWeight.ForceSendFields: []string
  • added: field ProductWeight.NullFields: []string
  • added: field ProductWeight.Unit: string
  • added: field ProductWeight.Value: float64
  • added: field Promotion.Brand: []string
  • added: field Promotion.BrandExclusion: []string
  • added: field Promotion.ContentLanguage: string
  • added: field Promotion.CouponValueType: string
  • added: field Promotion.ForceSendFields: []string
  • added: field Promotion.FreeGiftDescription: string
  • added: field Promotion.FreeGiftItemId: string
  • added: field Promotion.FreeGiftValue: *PriceAmount
  • added: field Promotion.GenericRedemptionCode: string
  • added: field Promotion.GetThisQuantityDiscounted: int64
  • added: field Promotion.Id: string
  • added: field Promotion.ItemGroupId: []string
  • added: field Promotion.ItemGroupIdExclusion: []string
  • added: field Promotion.ItemId: []string
  • added: field Promotion.ItemIdExclusion: []string
  • added: field Promotion.LimitQuantity: int64
  • added: field Promotion.LimitValue: *PriceAmount
  • added: field Promotion.LongTitle: string
  • added: field Promotion.MinimumPurchaseAmount: *PriceAmount
  • added: field Promotion.MinimumPurchaseQuantity: int64
  • added: field Promotion.MoneyBudget: *PriceAmount
  • added: field Promotion.MoneyOffAmount: *PriceAmount
  • added: field Promotion.NullFields: []string
  • added: field Promotion.OfferType: string
  • added: field Promotion.OrderLimit: int64
  • added: field Promotion.PercentOff: int64
  • added: field Promotion.ProductApplicability: string
  • added: field Promotion.PromotionDestinationIds: []string
  • added: field Promotion.PromotionDisplayDates: string
  • added: field Promotion.PromotionEffectiveDates: string
  • added: field Promotion.PromotionId: string
  • added: field Promotion.RedemptionChannel: []string
  • added: field Promotion.ServerResponse: embedded googleapi.ServerResponse
  • added: field Promotion.ShippingServiceNames: []string
  • added: field Promotion.TargetCountry: string
  • added: func NewPromotionsService(*APIService) *PromotionsService
  • added: method CaptureOrderResponse.MarshalJSON() ([]byte, error)
  • added: method OrdersCaptureOrderCall.Context(context.Context) *OrdersCaptureOrderCall
  • added: method OrdersCaptureOrderCall.Do(...googleapi.CallOption) (*CaptureOrderResponse, error)
  • added: method OrdersCaptureOrderCall.Fields(...googleapi.Field) *OrdersCaptureOrderCall
  • added: method OrdersCaptureOrderCall.Header() http.Header
  • added: method OrdersService.CaptureOrder(int64, string, *CaptureOrderRequest) *OrdersCaptureOrderCall
  • added: method ProductDimension.MarshalJSON() ([]byte, error)
  • added: method ProductDimension.UnmarshalJSON([]byte) error
  • added: method ProductWeight.MarshalJSON() ([]byte, error)
  • added: method ProductWeight.UnmarshalJSON([]byte) error
  • added: method Promotion.MarshalJSON() ([]byte, error)
  • added: method PromotionsCreateCall.Context(context.Context) *PromotionsCreateCall
  • added: method PromotionsCreateCall.Do(...googleapi.CallOption) (*Promotion, error)
  • added: method PromotionsCreateCall.Fields(...googleapi.Field) *PromotionsCreateCall
  • added: method PromotionsCreateCall.Header() http.Header
  • added: method PromotionsService.Create(int64, *Promotion) *PromotionsCreateCall
  • added: type CaptureOrderRequest: struct
  • added: type CaptureOrderResponse: struct
  • added: type OrdersCaptureOrderCall: struct
  • added: type ProductDimension: struct
  • added: type ProductWeight: struct
  • added: type Promotion: struct
  • added: type PromotionsCreateCall: struct
  • added: type PromotionsService: struct
  • added: func WithCredentials(*google.Credentials) option.ClientOption
  • removed: field GoogleIamV1Binding.Condition: *GoogleTypeExpr
  • removed: field GoogleIamV1Binding.ForceSendFields: []string
  • removed: field GoogleIamV1Binding.Members: []string
  • removed: field GoogleIamV1Binding.NullFields: []string
  • removed: field GoogleIamV1Binding.Role: string
  • removed: field GoogleIdentityStsV1AccessBoundary.AccessBoundaryRules: []*GoogleIdentityStsV1AccessBoundaryRule
  • removed: field GoogleIdentityStsV1AccessBoundary.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1AccessBoundary.NullFields: []string
  • removed: field GoogleIdentityStsV1AccessBoundaryRule.AvailabilityCondition: *GoogleTypeExpr
  • removed: field GoogleIdentityStsV1AccessBoundaryRule.AvailablePermissions: []string
  • removed: field GoogleIdentityStsV1AccessBoundaryRule.AvailableResource: string
  • removed: field GoogleIdentityStsV1AccessBoundaryRule.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1AccessBoundaryRule.NullFields: []string
  • removed: field GoogleIdentityStsV1Options.AccessBoundary: *GoogleIdentityStsV1AccessBoundary
  • removed: field GoogleIdentityStsV1Options.Audiences: []string
  • removed: field GoogleIdentityStsV1Options.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1Options.NullFields: []string
  • removed: field GoogleIdentityStsV1Options.UserProject: string
  • removed: field GoogleIdentityStsV1betaAccessBoundary.AccessBoundaryRules: []*GoogleIdentityStsV1betaAccessBoundaryRule
  • removed: field GoogleIdentityStsV1betaAccessBoundary.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1betaAccessBoundary.NullFields: []string
  • removed: field GoogleIdentityStsV1betaAccessBoundaryRule.AvailabilityCondition: *GoogleTypeExpr
  • removed: field GoogleIdentityStsV1betaAccessBoundaryRule.AvailablePermissions: []string
  • removed: field GoogleIdentityStsV1betaAccessBoundaryRule.AvailableResource: string
  • removed: field GoogleIdentityStsV1betaAccessBoundaryRule.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1betaAccessBoundaryRule.NullFields: []string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.Audience: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.GrantType: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.NullFields: []string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.Options: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.RequestedTokenType: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.Scope: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.SubjectToken: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenRequest.SubjectTokenType: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenResponse.AccessToken: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenResponse.ExpiresIn: int64
  • removed: field GoogleIdentityStsV1betaExchangeTokenResponse.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1betaExchangeTokenResponse.IssuedTokenType: string
  • removed: field GoogleIdentityStsV1betaExchangeTokenResponse.NullFields: []string
  • removed: field GoogleIdentityStsV1betaExchangeTokenResponse.ServerResponse: embedded googleapi.ServerResponse
  • removed: field GoogleIdentityStsV1betaExchangeTokenResponse.TokenType: string
  • removed: field GoogleIdentityStsV1betaOptions.AccessBoundary: *GoogleIdentityStsV1betaAccessBoundary
  • removed: field GoogleIdentityStsV1betaOptions.Audiences: []string
  • removed: field GoogleIdentityStsV1betaOptions.ForceSendFields: []string
  • removed: field GoogleIdentityStsV1betaOptions.NullFields: []string
  • removed: field GoogleIdentityStsV1betaOptions.UserProject: string
  • removed: field GoogleTypeExpr.Description: string
  • removed: field GoogleTypeExpr.Expression: string
  • removed: field GoogleTypeExpr.ForceSendFields: []string
  • removed: field GoogleTypeExpr.Location: string
  • removed: field GoogleTypeExpr.NullFields: []string
  • removed: field GoogleTypeExpr.Title: string
  • removed: field Service.BasePath: string
  • removed: field Service.UserAgent: string
  • removed: field Service.V1beta: *V1betaService
  • removed: func New(*http.Client) (*Service, error)
  • removed: func NewService(context.Context, ...option.ClientOption) (*Service, error)
  • removed: func NewV1betaService(*Service) *V1betaService
  • removed: method GoogleIamV1Binding.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1AccessBoundary.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1AccessBoundaryRule.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1Options.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1betaAccessBoundary.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1betaAccessBoundaryRule.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1betaExchangeTokenRequest.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1betaExchangeTokenResponse.MarshalJSON() ([]byte, error)
  • removed: method GoogleIdentityStsV1betaOptions.MarshalJSON() ([]byte, error)
  • removed: method GoogleTypeExpr.MarshalJSON() ([]byte, error)
  • removed: method V1betaService.Token(*GoogleIdentityStsV1betaExchangeTokenRequest) *V1betaTokenCall
  • removed: method V1betaTokenCall.Context(context.Context) *V1betaTokenCall
  • removed: method V1betaTokenCall.Do(...googleapi.CallOption) (*GoogleIdentityStsV1betaExchangeTokenResponse, error)
  • removed: method V1betaTokenCall.Fields(...googleapi.Field) *V1betaTokenCall
  • removed: method V1betaTokenCall.Header() http.Header
  • removed: type GoogleIamV1Binding: struct
  • removed: type GoogleIdentityStsV1AccessBoundary: struct
  • removed: type GoogleIdentityStsV1AccessBoundaryRule: struct
  • removed: type GoogleIdentityStsV1Options: struct
  • removed: type GoogleIdentityStsV1betaAccessBoundary: struct
  • removed: type GoogleIdentityStsV1betaAccessBoundaryRule: struct
  • removed: type GoogleIdentityStsV1betaExchangeTokenRequest: struct
  • removed: type GoogleIdentityStsV1betaExchangeTokenResponse: struct
  • removed: type GoogleIdentityStsV1betaOptions: struct
  • removed: type GoogleTypeExpr: struct
  • removed: type Service: struct
  • removed: type V1betaService: struct
  • removed: type V1betaTokenCall: struct
  • added: const DefaultBufferedByteLimit
  • added: const DefaultBundleByteThreshold
  • added: const DefaultBundleCountThreshold
  • added: const DefaultDelayThreshold
  • added: field Bundler.BufferedByteLimit: int
  • added: field Bundler.BundleByteLimit: int
  • added: field Bundler.BundleByteThreshold: int
  • added: field Bundler.BundleCountThreshold: int
  • added: field Bundler.DelayThreshold: time.Duration
  • added: field Bundler.HandlerLimit: int
  • added: func NewBundler(interface{}, func(interface{})) *Bundler
  • added: method Bundler.Add(interface{}, int) error
  • added: method Bundler.AddWait(context.Context, interface{}, int) error
  • added: method Bundler.Flush()
  • added: type Bundler: struct
  • added: var ErrOverflow
  • added: var ErrOversizedItem
  • added: func DialGRPC(context.Context, ...option.ClientOption) (*grpc.ClientConn, error)
  • added: func DialGRPCInsecure(context.Context, ...option.ClientOption) (*grpc.ClientConn, error)
  • added: func NewHTTPClient(context.Context, ...option.ClientOption) (*http.Client, string, error)