diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index e83e020038..cce1061bd3 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -4732,7 +4732,7 @@ } } }, - "revision": "20240917", + "revision": "20241003", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6227,17 +6227,6 @@ }, "type": "object" }, - "ExternalOfferInitialAcquisitionDetails": { - "description": "Details about the first time a user/device completed a transaction using external offers.", - "id": "ExternalOfferInitialAcquisitionDetails", - "properties": { - "externalTransactionId": { - "description": "Required. The external transaction id of the first completed purchase made by the user.", - "type": "string" - } - }, - "type": "object" - }, "ExternalSubscription": { "description": "Details of an external subscription.", "id": "ExternalSubscription", @@ -6279,10 +6268,6 @@ "description": "Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.", "readOnly": true }, - "externalOfferInitialAcquisitionDetails": { - "$ref": "ExternalOfferInitialAcquisitionDetails", - "description": "Optional. Details about the first time a user/device completed a transaction using external offers. Not required for transactions made using user choice billing or alternative billing only." - }, "externalTransactionId": { "description": "Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction.", "readOnly": true, diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 6787fda2e3..6f946e45e5 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -2653,30 +2653,6 @@ func (s ExternalAccountIdentifiers) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) } -// ExternalOfferInitialAcquisitionDetails: Details about the first time a -// user/device completed a transaction using external offers. -type ExternalOfferInitialAcquisitionDetails struct { - // ExternalTransactionId: Required. The external transaction id of the first - // completed purchase made by the user. - ExternalTransactionId string `json:"externalTransactionId,omitempty"` - // ForceSendFields is a list of field names (e.g. "ExternalTransactionId") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "ExternalTransactionId") to - // include in API requests with the JSON null value. By default, fields with - // empty values are omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s ExternalOfferInitialAcquisitionDetails) MarshalJSON() ([]byte, error) { - type NoMethod ExternalOfferInitialAcquisitionDetails - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // ExternalSubscription: Details of an external subscription. type ExternalSubscription struct { // SubscriptionType: Required. The type of the external subscription. @@ -2718,11 +2694,6 @@ type ExternalTransaction struct { // current tax amount including any refunds that may have been applied to this // transaction. CurrentTaxAmount *Price `json:"currentTaxAmount,omitempty"` - // ExternalOfferInitialAcquisitionDetails: Optional. Details about the first - // time a user/device completed a transaction using external offers. Not - // required for transactions made using user choice billing or alternative - // billing only. - ExternalOfferInitialAcquisitionDetails *ExternalOfferInitialAcquisitionDetails `json:"externalOfferInitialAcquisitionDetails,omitempty"` // ExternalTransactionId: Output only. The id of this transaction. All // transaction ids under the same package name must be unique. Set when // creating the external transaction. diff --git a/go.work.sum b/go.work.sum index 0c5a675cc5..7ede8d90ab 100644 --- a/go.work.sum +++ b/go.work.sum @@ -485,6 +485,7 @@ golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8= +golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= diff --git a/merchantapi/accounts_v1beta/merchantapi-api.json b/merchantapi/accounts_v1beta/merchantapi-api.json index b1d5ec2915..55fa8b49ee 100644 --- a/merchantapi/accounts_v1beta/merchantapi-api.json +++ b/merchantapi/accounts_v1beta/merchantapi-api.json @@ -1417,24 +1417,9 @@ } } }, - "revision": "20240930", + "revision": "20241004", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { - "AcceptTermsOfService": { - "description": "Reference to a Terms of Service resource.", - "id": "AcceptTermsOfService", - "properties": { - "name": { - "description": "Required. The resource name of the terms of service version in the format `termsOfService/{version}`. To retrieve the latest version, use the [termsOfService.retrieveLatest](/merchant/api/reference/rest/accounts_v1beta/termsOfService/retrieveLatest) method.", - "type": "string" - }, - "regionCode": { - "description": "Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or `001` when it applies globally.", - "type": "string" - } - }, - "type": "object" - }, "Accepted": { "description": "Describes the accepted terms of service.", "id": "Accepted", @@ -1769,10 +1754,6 @@ "description": "Request message for the `CreateAndConfigureAccount` method.", "id": "CreateAndConfigureAccountRequest", "properties": { - "acceptTermsOfService": { - "$ref": "AcceptTermsOfService", - "description": "Optional. The Terms of Service (ToS) to be accepted immediately upon account creation." - }, "account": { "$ref": "Account", "description": "Required. The account to be created." diff --git a/merchantapi/accounts_v1beta/merchantapi-gen.go b/merchantapi/accounts_v1beta/merchantapi-gen.go index 88c9be7451..da71eae88b 100644 --- a/merchantapi/accounts_v1beta/merchantapi-gen.go +++ b/merchantapi/accounts_v1beta/merchantapi-gen.go @@ -318,36 +318,6 @@ type TermsOfServiceService struct { s *APIService } -// AcceptTermsOfService: Reference to a Terms of Service resource. -type AcceptTermsOfService struct { - // Name: Required. The resource name of the terms of service version in the - // format `termsOfService/{version}`. To retrieve the latest version, use the - // termsOfService.retrieveLatest - // (/merchant/api/reference/rest/accounts_v1beta/termsOfService/retrieveLatest) - // method. - Name string `json:"name,omitempty"` - // RegionCode: Required. Region code as defined by CLDR - // (https://cldr.unicode.org/). This is either a country when the ToS applies - // specifically to that country or `001` when it applies globally. - RegionCode string `json:"regionCode,omitempty"` - // ForceSendFields is a list of field names (e.g. "Name") to unconditionally - // include in API requests. By default, fields with empty or default values are - // omitted from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more - // details. - ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "Name") to include in API requests - // with the JSON null value. By default, fields with empty values are omitted - // from API requests. See - // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. - NullFields []string `json:"-"` -} - -func (s AcceptTermsOfService) MarshalJSON() ([]byte, error) { - type NoMethod AcceptTermsOfService - return gensupport.MarshalJSON(NoMethod(s), s.ForceSendFields, s.NullFields) -} - // Accepted: Describes the accepted terms of service. type Accepted struct { // AcceptedBy: The account where the acceptance was recorded. This can be the @@ -759,9 +729,6 @@ type ClaimHomepageRequest struct { // CreateAndConfigureAccountRequest: Request message for the // `CreateAndConfigureAccount` method. type CreateAndConfigureAccountRequest struct { - // AcceptTermsOfService: Optional. The Terms of Service (ToS) to be accepted - // immediately upon account creation. - AcceptTermsOfService *AcceptTermsOfService `json:"acceptTermsOfService,omitempty"` // Account: Required. The account to be created. Account *Account `json:"account,omitempty"` // Service: Required. An account service between the account to be created and @@ -773,15 +740,15 @@ type CreateAndConfigureAccountRequest struct { Service []*AddAccountService `json:"service,omitempty"` // Users: Optional. Users to be added to the account. Users []*CreateUserRequest `json:"users,omitempty"` - // ForceSendFields is a list of field names (e.g. "AcceptTermsOfService") to - // unconditionally include in API requests. By default, fields with empty or - // default values are omitted from API requests. See + // ForceSendFields is a list of field names (e.g. "Account") to unconditionally + // include in API requests. By default, fields with empty or default values are + // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "AcceptTermsOfService") to include - // in API requests with the JSON null value. By default, fields with empty - // values are omitted from API requests. See + // NullFields is a list of field names (e.g. "Account") to include in API + // requests with the JSON null value. By default, fields with empty values are + // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }