diff --git a/androidpublisher/v3/androidpublisher-api.json b/androidpublisher/v3/androidpublisher-api.json index e74783f5f05..403a7951548 100644 --- a/androidpublisher/v3/androidpublisher-api.json +++ b/androidpublisher/v3/androidpublisher-api.json @@ -3920,7 +3920,7 @@ } } }, - "revision": "20221101", + "revision": "20221108", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "AcquisitionTargetingRule": { @@ -4121,6 +4121,10 @@ "autoRenewEnabled": { "description": "If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription", "type": "boolean" + }, + "priceChangeDetails": { + "$ref": "SubscriptionItemPriceChangeDetails", + "description": "The information of the last price change for the item since subscription signup." } }, "type": "object" @@ -5407,6 +5411,28 @@ }, "type": "object" }, + "OfferDetails": { + "description": "Offer details information related to a purchase line item.", + "id": "OfferDetails", + "properties": { + "basePlanId": { + "description": "The base plan ID. Present for all base plan and offers.", + "type": "string" + }, + "offerId": { + "description": "The offer ID. Only present for discounted offers.", + "type": "string" + }, + "offerTags": { + "description": "The latest offer tags associated with the offer. It includes tags inherited from the base plan.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "OfferTag": { "description": "Represents a custom tag specified for base plans and subscription offers.", "id": "OfferTag", @@ -5972,6 +5998,52 @@ }, "type": "object" }, + "SubscriptionItemPriceChangeDetails": { + "description": "Price change related information of a subscription item.", + "id": "SubscriptionItemPriceChangeDetails", + "properties": { + "expectedNewPriceChargeTime": { + "description": "The renewal time at which the price change will become effective for the user. This is subject to change(to a future time) due to cases where the renewal time shifts like pause.", + "format": "google-datetime", + "type": "string" + }, + "newPrice": { + "$ref": "Money", + "description": "New recurring price for the subscription item." + }, + "priceChangeMode": { + "description": "Price change mode specifies how the subscription item price is changing.", + "enum": [ + "PRICE_CHANGE_MODE_UNSPECIFIED", + "PRICE_DECREASE", + "PRICE_INCREASE" + ], + "enumDescriptions": [ + "Price change mode unspecified. This value should never be set.", + "If the subscription price is decreasing.", + "If the subscription price is increasing and the user needs to accept it." + ], + "type": "string" + }, + "priceChangeState": { + "description": "State the price change is currently in.", + "enum": [ + "PRICE_CHANGE_STATE_UNSPECIFIED", + "OUTSTANDING", + "CONFIRMED", + "APPLIED" + ], + "enumDescriptions": [ + "Price change state unspecified. This value should not be used.", + "Waiting for the user to agree for the price change.", + "The price change is confirmed to happen for the user.", + "The price change is applied, i.e. the user has started being charged the new price." + ], + "type": "string" + } + }, + "type": "object" + }, "SubscriptionListing": { "description": "The consumer-visible metadata of a subscription.", "id": "SubscriptionListing", @@ -6271,6 +6343,10 @@ "format": "google-datetime", "type": "string" }, + "offerDetails": { + "$ref": "OfferDetails", + "description": "The offer details for this item." + }, "prepaidPlan": { "$ref": "PrepaidPlan", "description": "The item is prepaid." diff --git a/androidpublisher/v3/androidpublisher-gen.go b/androidpublisher/v3/androidpublisher-gen.go index 907cb32be2b..6344d21c214 100644 --- a/androidpublisher/v3/androidpublisher-gen.go +++ b/androidpublisher/v3/androidpublisher-gen.go @@ -885,6 +885,10 @@ type AutoRenewingPlan struct { // e.g. the user has not canceled the subscription AutoRenewEnabled bool `json:"autoRenewEnabled,omitempty"` + // PriceChangeDetails: The information of the last price change for the + // item since subscription signup. + PriceChangeDetails *SubscriptionItemPriceChangeDetails `json:"priceChangeDetails,omitempty"` + // ForceSendFields is a list of field names (e.g. "AutoRenewEnabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -3100,6 +3104,42 @@ func (s *Money) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// OfferDetails: Offer details information related to a purchase line +// item. +type OfferDetails struct { + // BasePlanId: The base plan ID. Present for all base plan and offers. + BasePlanId string `json:"basePlanId,omitempty"` + + // OfferId: The offer ID. Only present for discounted offers. + OfferId string `json:"offerId,omitempty"` + + // OfferTags: The latest offer tags associated with the offer. It + // includes tags inherited from the base plan. + OfferTags []string `json:"offerTags,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BasePlanId") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BasePlanId") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *OfferDetails) MarshalJSON() ([]byte, error) { + type NoMethod OfferDetails + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // OfferTag: Represents a custom tag specified for base plans and // subscription offers. type OfferTag struct { @@ -4263,6 +4303,65 @@ func (s *SubscriptionDeferralInfo) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// SubscriptionItemPriceChangeDetails: Price change related information +// of a subscription item. +type SubscriptionItemPriceChangeDetails struct { + // ExpectedNewPriceChargeTime: The renewal time at which the price + // change will become effective for the user. This is subject to + // change(to a future time) due to cases where the renewal time shifts + // like pause. + ExpectedNewPriceChargeTime string `json:"expectedNewPriceChargeTime,omitempty"` + + // NewPrice: New recurring price for the subscription item. + NewPrice *Money `json:"newPrice,omitempty"` + + // PriceChangeMode: Price change mode specifies how the subscription + // item price is changing. + // + // Possible values: + // "PRICE_CHANGE_MODE_UNSPECIFIED" - Price change mode unspecified. + // This value should never be set. + // "PRICE_DECREASE" - If the subscription price is decreasing. + // "PRICE_INCREASE" - If the subscription price is increasing and the + // user needs to accept it. + PriceChangeMode string `json:"priceChangeMode,omitempty"` + + // PriceChangeState: State the price change is currently in. + // + // Possible values: + // "PRICE_CHANGE_STATE_UNSPECIFIED" - Price change state unspecified. + // This value should not be used. + // "OUTSTANDING" - Waiting for the user to agree for the price change. + // "CONFIRMED" - The price change is confirmed to happen for the user. + // "APPLIED" - The price change is applied, i.e. the user has started + // being charged the new price. + PriceChangeState string `json:"priceChangeState,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "ExpectedNewPriceChargeTime") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "ExpectedNewPriceChargeTime") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SubscriptionItemPriceChangeDetails) MarshalJSON() ([]byte, error) { + type NoMethod SubscriptionItemPriceChangeDetails + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SubscriptionListing: The consumer-visible metadata of a subscription. type SubscriptionListing struct { // Benefits: A list of benefits shown to the user on platforms such as @@ -4714,6 +4813,9 @@ type SubscriptionPurchaseLineItem struct { // unless the access is extended (ex. renews). ExpiryTime string `json:"expiryTime,omitempty"` + // OfferDetails: The offer details for this item. + OfferDetails *OfferDetails `json:"offerDetails,omitempty"` + // PrepaidPlan: The item is prepaid. PrepaidPlan *PrepaidPlan `json:"prepaidPlan,omitempty"` diff --git a/content/v2.1/content-api.json b/content/v2.1/content-api.json index f1abd67310b..95230445ef0 100644 --- a/content/v2.1/content-api.json +++ b/content/v2.1/content-api.json @@ -1864,7 +1864,7 @@ ], "parameters": { "country": { - "description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", + "description": "Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", "location": "query", "type": "string" }, @@ -1875,8 +1875,13 @@ "required": true, "type": "string" }, + "feedLabel": { + "description": "The feed label to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", + "location": "query", + "type": "string" + }, "language": { - "description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", + "description": "The language to get the datafeed status for. If this parameter is provided then `country` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", "location": "query", "type": "string" }, @@ -4267,7 +4272,7 @@ "type": "string" }, "updateMask": { - "description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged.", + "description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. *You must specify the update mask to delete attributes.* Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -5948,7 +5953,7 @@ } } }, - "revision": "20221024", + "revision": "20221107", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -7785,6 +7790,10 @@ }, "type": "array" }, + "feedLabel": { + "description": "The feed label status is reported for.", + "type": "string" + }, "itemsTotal": { "description": "The number of items in the feed that were processed.", "format": "uint64", @@ -7872,7 +7881,7 @@ "id": "DatafeedTarget", "properties": { "country": { - "description": "The country where the items in the feed will be included in the search index, represented as a CLDR territory code.", + "description": "Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.", "type": "string" }, "excludedDestinations": { @@ -7882,6 +7891,10 @@ }, "type": "array" }, + "feedLabel": { + "description": "Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match.", + "type": "string" + }, "includedDestinations": { "description": "The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.", "items": { @@ -7892,6 +7905,13 @@ "language": { "description": "The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.", "type": "string" + }, + "targetCountries": { + "description": "The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for \"product inventory\" feeds.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -8029,7 +8049,7 @@ "type": "integer" }, "country": { - "description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that for multi-target datafeeds this parameter is required.", + "description": "Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this parameter is provided, then `language` must also be provided. Note that for multi-target datafeeds this parameter is required.", "type": "string" }, "datafeedId": { @@ -8037,8 +8057,12 @@ "format": "uint64", "type": "string" }, + "feedLabel": { + "description": "The feed label to get the datafeed status for. If this parameter is provided, then `language` must also be provided. Note that for multi-target datafeeds this parameter is required.", + "type": "string" + }, "language": { - "description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that for multi-target datafeeds this parameter is required.", + "description": "The language to get the datafeed status for. If this parameter is provided then `country` must also be provided. Note that for multi-target datafeeds this parameter is required.", "type": "string" }, "merchantId": { @@ -13638,7 +13662,7 @@ "type": "string" }, "updateMask": { - "description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is `update`.", + "description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. *You must specify the update mask to delete attributes.* Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is `update`.", "format": "google-fieldmask", "type": "string" } @@ -14035,6 +14059,10 @@ "description": "Required. The user provided promotion ID to uniquely identify the promotion.", "type": "string" }, + "promotionUrl": { + "description": "URL to the page on the merchant's site where the promotion shows. Local Inventory ads promotions throw an error if no promo url is included. URL is used to confirm that the promotion is valid and can be redeemed.", + "type": "string" + }, "redemptionChannel": { "description": "Required. Redemption channel for the promotion. At least one channel is required.", "items": { @@ -14059,6 +14087,34 @@ }, "type": "array" }, + "storeApplicability": { + "description": "Whether the promotion applies to all stores, or only specified stores. Local Inventory ads promotions throw an error if no store applicability is included. An INVALID_ARGUMENT error is thrown if store_applicability is set to ALL_STORES and store_code or score_code_exclusion is set to a value.", + "enum": [ + "STORE_APPLICABILITY_UNSPECIFIED", + "ALL_STORES", + "SPECIFIC_STORES" + ], + "enumDescriptions": [ + "Which store codes the promotion applies to is unknown.", + "Promotion applies to all stores.", + "Promotion applies to only the specified stores." + ], + "type": "string" + }, + "storeCode": { + "description": "Store codes to include for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, + "storeCodeExclusion": { + "description": "Store codes to exclude for the promotion.", + "items": { + "type": "string" + }, + "type": "array" + }, "targetCountry": { "description": "Required. The target country used as part of the unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN` or `US`.", "type": "string" diff --git a/content/v2.1/content-gen.go b/content/v2.1/content-gen.go index 56e176b66a9..8c86c60b2eb 100644 --- a/content/v2.1/content-gen.go +++ b/content/v2.1/content-gen.go @@ -3662,6 +3662,9 @@ type DatafeedStatus struct { // Errors: The list of errors occurring in the feed. Errors []*DatafeedStatusError `json:"errors,omitempty"` + // FeedLabel: The feed label status is reported for. + FeedLabel string `json:"feedLabel,omitempty"` + // ItemsTotal: The number of items in the feed that were processed. ItemsTotal uint64 `json:"itemsTotal,omitempty,string"` @@ -3792,14 +3795,20 @@ func (s *DatafeedStatusExample) MarshalJSON() ([]byte, error) { } type DatafeedTarget struct { - // Country: The country where the items in the feed will be included in - // the search index, represented as a CLDR territory code. + // Country: Deprecated. Use `feedLabel` instead. The country where the + // items in the feed will be included in the search index, represented + // as a CLDR territory code. Country string `json:"country,omitempty"` // ExcludedDestinations: The list of destinations to exclude for this // target (corresponds to cleared check boxes in Merchant Center). ExcludedDestinations []string `json:"excludedDestinations,omitempty"` + // FeedLabel: Feed label for the DatafeedTarget. Either `country` or + // `feedLabel` is required. If both `feedLabel` and `country` is + // specified, the values must match. + FeedLabel string `json:"feedLabel,omitempty"` + // IncludedDestinations: The list of destinations to include for this // target (corresponds to checked check boxes in Merchant Center). // Default destinations are always included unless provided in @@ -3810,6 +3819,11 @@ type DatafeedTarget struct { // Must be a valid language for `targets[].country`. Language string `json:"language,omitempty"` + // TargetCountries: The countries where the items may be displayed. + // Represented as a CLDR territory code. Will be ignored for "product + // inventory" feeds. + TargetCountries []string `json:"targetCountries,omitempty"` + // ForceSendFields is a list of field names (e.g. "Country") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -4077,16 +4091,22 @@ type DatafeedstatusesCustomBatchRequestEntry struct { // BatchId: An entry ID, unique within the batch request. BatchId int64 `json:"batchId,omitempty"` - // Country: The country for which to get the datafeed status. If this - // parameter is provided then language must also be provided. Note that - // for multi-target datafeeds this parameter is required. + // Country: Deprecated. Use `feedLabel` instead. The country to get the + // datafeed status for. If this parameter is provided, then `language` + // must also be provided. Note that for multi-target datafeeds this + // parameter is required. Country string `json:"country,omitempty"` // DatafeedId: The ID of the data feed to get. DatafeedId uint64 `json:"datafeedId,omitempty,string"` - // Language: The language for which to get the datafeed status. If this - // parameter is provided then country must also be provided. Note that + // FeedLabel: The feed label to get the datafeed status for. If this + // parameter is provided, then `language` must also be provided. Note + // that for multi-target datafeeds this parameter is required. + FeedLabel string `json:"feedLabel,omitempty"` + + // Language: The language to get the datafeed status for. If this + // parameter is provided then `country` must also be provided. Note that // for multi-target datafeeds this parameter is required. Language string `json:"language,omitempty"` @@ -13586,10 +13606,11 @@ type ProductsCustomBatchRequestEntry struct { // UpdateMask: The comma-separated list of product attributes to be // updated. Example: "title,salePrice". Attributes specified in the // update mask without a value specified in the body will be deleted - // from the product. Only top-level product attributes can be updated. - // If not defined, product attributes with set values will be updated - // and other attributes will stay unchanged. Only defined if the method - // is `update`. + // from the product. *You must specify the update mask to delete + // attributes.* Only top-level product attributes can be updated. If not + // defined, product attributes with set values will be updated and other + // attributes will stay unchanged. Only defined if the method is + // `update`. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "BatchId") to @@ -14083,6 +14104,12 @@ type Promotion struct { // identify the promotion. PromotionId string `json:"promotionId,omitempty"` + // PromotionUrl: URL to the page on the merchant's site where the + // promotion shows. Local Inventory ads promotions throw an error if no + // promo url is included. URL is used to confirm that the promotion is + // valid and can be redeemed. + PromotionUrl string `json:"promotionUrl,omitempty"` + // RedemptionChannel: Required. Redemption channel for the promotion. At // least one channel is required. // @@ -14096,6 +14123,25 @@ type Promotion struct { // ShippingServiceNames: Shipping service names for the promotion. ShippingServiceNames []string `json:"shippingServiceNames,omitempty"` + // StoreApplicability: Whether the promotion applies to all stores, or + // only specified stores. Local Inventory ads promotions throw an error + // if no store applicability is included. An INVALID_ARGUMENT error is + // thrown if store_applicability is set to ALL_STORES and store_code or + // score_code_exclusion is set to a value. + // + // Possible values: + // "STORE_APPLICABILITY_UNSPECIFIED" - Which store codes the promotion + // applies to is unknown. + // "ALL_STORES" - Promotion applies to all stores. + // "SPECIFIC_STORES" - Promotion applies to only the specified stores. + StoreApplicability string `json:"storeApplicability,omitempty"` + + // StoreCode: Store codes to include for the promotion. + StoreCode []string `json:"storeCode,omitempty"` + + // StoreCodeExclusion: Store codes to exclude for the promotion. + StoreCodeExclusion []string `json:"storeCodeExclusion,omitempty"` + // TargetCountry: Required. The target country used as part of the // unique identifier. Can be `AU`, `CA`, `DE`, `FR`, `GB`, `IN` or `US`. TargetCountry string `json:"targetCountry,omitempty"` @@ -26907,21 +26953,32 @@ func (r *DatafeedstatusesService) Get(merchantId uint64, datafeedId uint64) *Dat return c } -// Country sets the optional parameter "country": The country for which -// to get the datafeed status. If this parameter is provided then -// language must also be provided. Note that this parameter is required -// for feeds targeting multiple countries and languages, since a feed -// may have a different status for each target. +// Country sets the optional parameter "country": Deprecated. Use +// `feedLabel` instead. The country to get the datafeed status for. If +// this parameter is provided then `language` must also be provided. +// Note that this parameter is required for feeds targeting multiple +// countries and languages, since a feed may have a different status for +// each target. func (c *DatafeedstatusesGetCall) Country(country string) *DatafeedstatusesGetCall { c.urlParams_.Set("country", country) return c } -// Language sets the optional parameter "language": The language for -// which to get the datafeed status. If this parameter is provided then -// country must also be provided. Note that this parameter is required -// for feeds targeting multiple countries and languages, since a feed -// may have a different status for each target. +// FeedLabel sets the optional parameter "feedLabel": The feed label to +// get the datafeed status for. If this parameter is provided then +// `language` must also be provided. Note that this parameter is +// required for feeds targeting multiple countries and languages, since +// a feed may have a different status for each target. +func (c *DatafeedstatusesGetCall) FeedLabel(feedLabel string) *DatafeedstatusesGetCall { + c.urlParams_.Set("feedLabel", feedLabel) + return c +} + +// Language sets the optional parameter "language": The language to get +// the datafeed status for. If this parameter is provided then `country` +// must also be provided. Note that this parameter is required for feeds +// targeting multiple countries and languages, since a feed may have a +// different status for each target. func (c *DatafeedstatusesGetCall) Language(language string) *DatafeedstatusesGetCall { c.urlParams_.Set("language", language) return c @@ -27037,7 +27094,7 @@ func (c *DatafeedstatusesGetCall) Do(opts ...googleapi.CallOption) (*DatafeedSta // ], // "parameters": { // "country": { - // "description": "The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", + // "description": "Deprecated. Use `feedLabel` instead. The country to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", // "location": "query", // "type": "string" // }, @@ -27048,8 +27105,13 @@ func (c *DatafeedstatusesGetCall) Do(opts ...googleapi.CallOption) (*DatafeedSta // "required": true, // "type": "string" // }, + // "feedLabel": { + // "description": "The feed label to get the datafeed status for. If this parameter is provided then `language` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", + // "location": "query", + // "type": "string" + // }, // "language": { - // "description": "The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", + // "description": "The language to get the datafeed status for. If this parameter is provided then `country` must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.", // "location": "query", // "type": "string" // }, @@ -37405,10 +37467,11 @@ func (r *ProductsService) Update(merchantId uint64, productId string, product *P // UpdateMask sets the optional parameter "updateMask": The // comma-separated list of product attributes to be updated. Example: // "title,salePrice". Attributes specified in the update mask without -// a value specified in the body will be deleted from the product. Only -// top-level product attributes can be updated. If not defined, product -// attributes with set values will be updated and other attributes will -// stay unchanged. +// a value specified in the body will be deleted from the product. *You +// must specify the update mask to delete attributes.* Only top-level +// product attributes can be updated. If not defined, product attributes +// with set values will be updated and other attributes will stay +// unchanged. func (c *ProductsUpdateCall) UpdateMask(updateMask string) *ProductsUpdateCall { c.urlParams_.Set("updateMask", updateMask) return c @@ -37529,7 +37592,7 @@ func (c *ProductsUpdateCall) Do(opts ...googleapi.CallOption) (*Product, error) // "type": "string" // }, // "updateMask": { - // "description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged.", + // "description": "The comma-separated list of product attributes to be updated. Example: `\"title,salePrice\"`. Attributes specified in the update mask without a value specified in the body will be deleted from the product. *You must specify the update mask to delete attributes.* Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged.", // "format": "google-fieldmask", // "location": "query", // "type": "string" diff --git a/discoveryengine/v1alpha/discoveryengine-api.json b/discoveryengine/v1alpha/discoveryengine-api.json index bfd03adcc25..5359c594470 100644 --- a/discoveryengine/v1alpha/discoveryengine-api.json +++ b/discoveryengine/v1alpha/discoveryengine-api.json @@ -793,7 +793,7 @@ } } }, - "revision": "20221106", + "revision": "20221107", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -1399,14 +1399,14 @@ "type": "object" }, "GoogleCloudDiscoveryengineV1alphaUserEvent": { - "description": "UserEvent captures all metadata information DiscoveryEngine API needs to know about how end users interact with customers' website.", + "description": "UserEvent captures all metadata information Discovery Engine API needs to know about how end users interact with customers' website.", "id": "GoogleCloudDiscoveryengineV1alphaUserEvent", "properties": { "attributes": { "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1alphaCustomAttribute" }, - "description": "Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the DiscoveryEngine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is traffic_channel, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.", + "description": "Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is traffic_channel, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.", "type": "object" }, "attributionToken": { @@ -1465,7 +1465,7 @@ "description": "Search API details related to the event. This field should be set for `search` event." }, "sessionId": { - "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the sesion_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add UserEvent.user_pseudo_id as prefix.", + "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the session_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add UserEvent.user_pseudo_id as prefix.", "type": "string" }, "tagIds": { diff --git a/discoveryengine/v1alpha/discoveryengine-gen.go b/discoveryengine/v1alpha/discoveryengine-gen.go index 91dda0cb016..0218cf4f83c 100644 --- a/discoveryengine/v1alpha/discoveryengine-gen.go +++ b/discoveryengine/v1alpha/discoveryengine-gen.go @@ -1474,7 +1474,7 @@ func (s *GoogleCloudDiscoveryengineV1alphaTransactionInfo) UnmarshalJSON(data [] } // GoogleCloudDiscoveryengineV1alphaUserEvent: UserEvent captures all -// metadata information DiscoveryEngine API needs to know about how end +// metadata information Discovery Engine API needs to know about how end // users interact with customers' website. type GoogleCloudDiscoveryengineV1alphaUserEvent struct { // Attributes: Extra user event features to include in the @@ -1484,7 +1484,7 @@ type GoogleCloudDiscoveryengineV1alphaUserEvent struct { // also include them in the user events that you associate with // prediction requests. Custom attribute formatting must be consistent // between imported events and events provided with prediction requests. - // This lets the DiscoveryEngine API use those custom attributes when + // This lets the Discovery Engine API use those custom attributes when // training models and serving predictions, which helps improve // recommendation quality. This field needs to pass all below criteria, // otherwise an INVALID_ARGUMENT error is returned: * The key must be a @@ -1590,7 +1590,7 @@ type GoogleCloudDiscoveryengineV1alphaUserEvent struct { // SessionId: A unique identifier for tracking a visitor session with a // length limit of 128 bytes. A session is an aggregation of an end user // behavior in a time span. A general guideline to populate the - // sesion_id: 1. If user has no activity for 30 min, a new session_id + // session_id: 1. If user has no activity for 30 min, a new session_id // should be assigned. 2. The session_id should be unique across users, // suggest use uuid or add UserEvent.user_pseudo_id as prefix. SessionId string `json:"sessionId,omitempty"` diff --git a/discoveryengine/v1beta/discoveryengine-api.json b/discoveryengine/v1beta/discoveryengine-api.json index b91a33f0f1b..1d30032ed82 100644 --- a/discoveryengine/v1beta/discoveryengine-api.json +++ b/discoveryengine/v1beta/discoveryengine-api.json @@ -793,7 +793,7 @@ } } }, - "revision": "20221106", + "revision": "20221107", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -1510,14 +1510,14 @@ "type": "object" }, "GoogleCloudDiscoveryengineV1betaUserEvent": { - "description": "UserEvent captures all metadata information DiscoveryEngine API needs to know about how end users interact with customers' website.", + "description": "UserEvent captures all metadata information Discovery Engine API needs to know about how end users interact with customers' website.", "id": "GoogleCloudDiscoveryengineV1betaUserEvent", "properties": { "attributes": { "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1betaCustomAttribute" }, - "description": "Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the DiscoveryEngine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is traffic_channel, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.", + "description": "Extra user event features to include in the recommendation model. These attributes must NOT contain data that needs to be parsed or processed further, e.g. JSON or other encodings. If you provide custom attributes for ingested user events, also include them in the user events that you associate with prediction requests. Custom attribute formatting must be consistent between imported events and events provided with prediction requests. This lets the Discovery Engine API use those custom attributes when training models and serving predictions, which helps improve recommendation quality. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * The key must be a UTF-8 encoded string with a length limit of 5,000 characters. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed. For product recommendations, an example of extra user information is traffic_channel, which is how a user arrives at the site. Users can arrive at the site by coming to the site directly, coming through Google search, or in other ways.", "type": "object" }, "attributionToken": { @@ -1576,7 +1576,7 @@ "description": "Search API details related to the event. This field should be set for `search` event." }, "sessionId": { - "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the sesion_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add UserEvent.user_pseudo_id as prefix.", + "description": "A unique identifier for tracking a visitor session with a length limit of 128 bytes. A session is an aggregation of an end user behavior in a time span. A general guideline to populate the session_id: 1. If user has no activity for 30 min, a new session_id should be assigned. 2. The session_id should be unique across users, suggest use uuid or add UserEvent.user_pseudo_id as prefix.", "type": "string" }, "tagIds": { diff --git a/discoveryengine/v1beta/discoveryengine-gen.go b/discoveryengine/v1beta/discoveryengine-gen.go index 2fcb24219de..709c9561125 100644 --- a/discoveryengine/v1beta/discoveryengine-gen.go +++ b/discoveryengine/v1beta/discoveryengine-gen.go @@ -1672,7 +1672,7 @@ func (s *GoogleCloudDiscoveryengineV1betaTransactionInfo) UnmarshalJSON(data []b } // GoogleCloudDiscoveryengineV1betaUserEvent: UserEvent captures all -// metadata information DiscoveryEngine API needs to know about how end +// metadata information Discovery Engine API needs to know about how end // users interact with customers' website. type GoogleCloudDiscoveryengineV1betaUserEvent struct { // Attributes: Extra user event features to include in the @@ -1682,7 +1682,7 @@ type GoogleCloudDiscoveryengineV1betaUserEvent struct { // also include them in the user events that you associate with // prediction requests. Custom attribute formatting must be consistent // between imported events and events provided with prediction requests. - // This lets the DiscoveryEngine API use those custom attributes when + // This lets the Discovery Engine API use those custom attributes when // training models and serving predictions, which helps improve // recommendation quality. This field needs to pass all below criteria, // otherwise an INVALID_ARGUMENT error is returned: * The key must be a @@ -1788,7 +1788,7 @@ type GoogleCloudDiscoveryengineV1betaUserEvent struct { // SessionId: A unique identifier for tracking a visitor session with a // length limit of 128 bytes. A session is an aggregation of an end user // behavior in a time span. A general guideline to populate the - // sesion_id: 1. If user has no activity for 30 min, a new session_id + // session_id: 1. If user has no activity for 30 min, a new session_id // should be assigned. 2. The session_id should be unique across users, // suggest use uuid or add UserEvent.user_pseudo_id as prefix. SessionId string `json:"sessionId,omitempty"` diff --git a/healthcare/v1/healthcare-api.json b/healthcare/v1/healthcare-api.json index 7c9256ca1a1..300b3c69401 100644 --- a/healthcare/v1/healthcare-api.json +++ b/healthcare/v1/healthcare-api.json @@ -4053,7 +4053,7 @@ } } }, - "revision": "20220929", + "revision": "20221027", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "ActivateConsentRequest": { @@ -6188,12 +6188,14 @@ "enum": [ "PARSER_VERSION_UNSPECIFIED", "V1", - "V2" + "V2", + "V3" ], "enumDescriptions": [ "Unspecified parser version, equivalent to V1.", "The `parsed_data` includes every given non-empty message field except the Field Separator (MSH-1) field. As a result, the parsed MSH segment starts with the MSH-2 field and the field numbers are off-by-one with respect to the HL7 standard.", - "The `parsed_data` includes every given non-empty message field." + "The `parsed_data` includes every given non-empty message field.", + "This version is the same as V2, with the following change. The `parsed_data` contains unescaped escaped field separators, component separators, sub-component separators, repetition separators, escape characters, and truncation characters. If `schema` is specified, the schematized parser uses improved parsing heuristics compared to previous versions." ], "type": "string" } diff --git a/healthcare/v1/healthcare-gen.go b/healthcare/v1/healthcare-gen.go index c6afda7825d..f0b87c0893d 100644 --- a/healthcare/v1/healthcare-gen.go +++ b/healthcare/v1/healthcare-gen.go @@ -4625,6 +4625,12 @@ type ParserConfig struct { // are off-by-one with respect to the HL7 standard. // "V2" - The `parsed_data` includes every given non-empty message // field. + // "V3" - This version is the same as V2, with the following change. + // The `parsed_data` contains unescaped escaped field separators, + // component separators, sub-component separators, repetition + // separators, escape characters, and truncation characters. If `schema` + // is specified, the schematized parser uses improved parsing heuristics + // compared to previous versions. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowNullHeader") to diff --git a/healthcare/v1beta1/healthcare-api.json b/healthcare/v1beta1/healthcare-api.json index 5c5b41cf756..f62d433db01 100644 --- a/healthcare/v1beta1/healthcare-api.json +++ b/healthcare/v1beta1/healthcare-api.json @@ -4865,7 +4865,7 @@ } } }, - "revision": "20221025", + "revision": "20221027", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "Action": { @@ -8024,6 +8024,10 @@ "description": "Configuration for the FHIR BigQuery schema. Determines how the server generates the schema.", "id": "SchemaConfig", "properties": { + "lastUpdatedPartitionConfig": { + "$ref": "TimePartitioning", + "description": "The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column." + }, "recursiveStructureDepth": { "description": "The depth for all recursive structures in the output analytics schema. For example, `concept` in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called `concept.concept` but not `concept.concept.concept`. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5.", "format": "int64", @@ -8439,6 +8443,36 @@ }, "type": "object" }, + "TimePartitioning": { + "description": "Configuration for FHIR BigQuery time-partitioned tables.", + "id": "TimePartitioning", + "properties": { + "expirationMs": { + "description": "Number of milliseconds for which to keep the storage for a partition.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "Type of partitioning.", + "enum": [ + "PARTITION_TYPE_UNSPECIFIED", + "HOUR", + "DAY", + "MONTH", + "YEAR" + ], + "enumDescriptions": [ + "Default unknown time.", + "Data partitioned by hour.", + "Data partitioned by day.", + "Data partitioned by month.", + "Data partitioned by year." + ], + "type": "string" + } + }, + "type": "object" + }, "Type": { "description": "A type definition for some HL7v2 type (incl. Segments and Datatypes).", "id": "Type", diff --git a/healthcare/v1beta1/healthcare-gen.go b/healthcare/v1beta1/healthcare-gen.go index bd45039c8cb..c4a5cb1094d 100644 --- a/healthcare/v1beta1/healthcare-gen.go +++ b/healthcare/v1beta1/healthcare-gen.go @@ -6650,6 +6650,10 @@ func (s *RevokeConsentRequest) MarshalJSON() ([]byte, error) { // SchemaConfig: Configuration for the FHIR BigQuery schema. Determines // how the server generates the schema. type SchemaConfig struct { + // LastUpdatedPartitionConfig: The configuration for exported BigQuery + // tables to be partitioned by FHIR resource's last updated time column. + LastUpdatedPartitionConfig *TimePartitioning `json:"lastUpdatedPartitionConfig,omitempty"` + // RecursiveStructureDepth: The depth for all recursive structures in // the output analytics schema. For example, `concept` in the CodeSystem // resource is a recursive structure; when the depth is 2, the @@ -6680,7 +6684,7 @@ type SchemaConfig struct { SchemaType string `json:"schemaType,omitempty"` // ForceSendFields is a list of field names (e.g. - // "RecursiveStructureDepth") to unconditionally include in API + // "LastUpdatedPartitionConfig") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of @@ -6688,13 +6692,13 @@ type SchemaConfig struct { // fields in Patch requests. ForceSendFields []string `json:"-"` - // NullFields is a list of field names (e.g. "RecursiveStructureDepth") - // to include in API requests with the JSON null value. By default, - // fields with empty values are omitted from API requests. However, any - // field with an empty value appearing in NullFields will be sent to the - // server as null. It is an error if a field in this list has a - // non-empty value. This may be used to include null fields in Patch - // requests. + // NullFields is a list of field names (e.g. + // "LastUpdatedPartitionConfig") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. NullFields []string `json:"-"` } @@ -7449,6 +7453,46 @@ func (s *TextSpan) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// TimePartitioning: Configuration for FHIR BigQuery time-partitioned +// tables. +type TimePartitioning struct { + // ExpirationMs: Number of milliseconds for which to keep the storage + // for a partition. + ExpirationMs int64 `json:"expirationMs,omitempty,string"` + + // Type: Type of partitioning. + // + // Possible values: + // "PARTITION_TYPE_UNSPECIFIED" - Default unknown time. + // "HOUR" - Data partitioned by hour. + // "DAY" - Data partitioned by day. + // "MONTH" - Data partitioned by month. + // "YEAR" - Data partitioned by year. + Type string `json:"type,omitempty"` + + // ForceSendFields is a list of field names (e.g. "ExpirationMs") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "ExpirationMs") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *TimePartitioning) MarshalJSON() ([]byte, error) { + type NoMethod TimePartitioning + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Type: A type definition for some HL7v2 type (incl. Segments and // Datatypes). type Type struct { diff --git a/realtimebidding/v1/realtimebidding-api.json b/realtimebidding/v1/realtimebidding-api.json index 1f4838af024..7356b321dbc 100644 --- a/realtimebidding/v1/realtimebidding-api.json +++ b/realtimebidding/v1/realtimebidding-api.json @@ -1305,7 +1305,7 @@ } } }, - "revision": "20220927", + "revision": "20221108", "rootUrl": "https://realtimebidding.googleapis.com/", "schemas": { "ActivatePretargetingConfigRequest": { @@ -2261,6 +2261,8 @@ "enum": [ "BID_PROTOCOL_UNSPECIFIED", "GOOGLE_RTB", + "OPENRTB_JSON", + "OPENRTB_PROTOBUF", "OPENRTB_2_2", "OPENRTB_2_3", "OPENRTB_PROTOBUF_2_3", @@ -2272,13 +2274,15 @@ "enumDescriptions": [ "Placeholder for undefined bid protocol. This value should not be used.", "Google RTB protocol / Protobuf encoding.", - "OpenRTB / JSON encoding, specification version 2.2.", - "OpenRTB / JSON encoding, specification version 2.3.", - "OpenRTB / Protobuf encoding, specification version 2.3.", - "OpenRTB / JSON encoding, specification version 2.4.", - "OpenRTB / Protobuf encoding, specification version 2.4.", - "OpenRTB / JSON encoding, specification version 2.5.", - "OpenRTB / Protobuf encoding, specification version 2.5." + "OpenRTB / JSON encoding (unversioned/latest).", + "OpenRTB / Protobuf encoding (unversioned/latest).", + "Deprecated: Use OPENRTB_JSON.", + "Deprecated: Use OPENRTB_JSON.", + "Deprecated: Use OPENRTB_PROTOBUF.", + "Deprecated: Use OPENRTB_JSON.", + "Deprecated: Use OPENRTB_PROTOBUF.", + "Deprecated: Use OPENRTB_JSON.", + "Deprecated: Use OPENRTB_PROTOBUF." ], "type": "string" }, diff --git a/realtimebidding/v1/realtimebidding-gen.go b/realtimebidding/v1/realtimebidding-gen.go index 2df11a4c98a..4350b2f8ca7 100644 --- a/realtimebidding/v1/realtimebidding-gen.go +++ b/realtimebidding/v1/realtimebidding-gen.go @@ -1545,16 +1545,16 @@ type Endpoint struct { // "BID_PROTOCOL_UNSPECIFIED" - Placeholder for undefined bid // protocol. This value should not be used. // "GOOGLE_RTB" - Google RTB protocol / Protobuf encoding. - // "OPENRTB_2_2" - OpenRTB / JSON encoding, specification version 2.2. - // "OPENRTB_2_3" - OpenRTB / JSON encoding, specification version 2.3. - // "OPENRTB_PROTOBUF_2_3" - OpenRTB / Protobuf encoding, specification - // version 2.3. - // "OPENRTB_2_4" - OpenRTB / JSON encoding, specification version 2.4. - // "OPENRTB_PROTOBUF_2_4" - OpenRTB / Protobuf encoding, specification - // version 2.4. - // "OPENRTB_2_5" - OpenRTB / JSON encoding, specification version 2.5. - // "OPENRTB_PROTOBUF_2_5" - OpenRTB / Protobuf encoding, specification - // version 2.5. + // "OPENRTB_JSON" - OpenRTB / JSON encoding (unversioned/latest). + // "OPENRTB_PROTOBUF" - OpenRTB / Protobuf encoding + // (unversioned/latest). + // "OPENRTB_2_2" - Deprecated: Use OPENRTB_JSON. + // "OPENRTB_2_3" - Deprecated: Use OPENRTB_JSON. + // "OPENRTB_PROTOBUF_2_3" - Deprecated: Use OPENRTB_PROTOBUF. + // "OPENRTB_2_4" - Deprecated: Use OPENRTB_JSON. + // "OPENRTB_PROTOBUF_2_4" - Deprecated: Use OPENRTB_PROTOBUF. + // "OPENRTB_2_5" - Deprecated: Use OPENRTB_JSON. + // "OPENRTB_PROTOBUF_2_5" - Deprecated: Use OPENRTB_PROTOBUF. BidProtocol string `json:"bidProtocol,omitempty"` // MaximumQps: The maximum number of queries per second allowed to be diff --git a/recaptchaenterprise/v1/recaptchaenterprise-api.json b/recaptchaenterprise/v1/recaptchaenterprise-api.json index c624aee4a06..2d16a12609b 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-api.json +++ b/recaptchaenterprise/v1/recaptchaenterprise-api.json @@ -514,7 +514,7 @@ } } }, - "revision": "20221017", + "revision": "20221106", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -1098,6 +1098,10 @@ "description": "Action name provided at token generation.", "type": "string" }, + "androidPackageName": { + "description": "The name of the Android package with which the token was generated (Android keys only).", + "type": "string" + }, "createTime": { "description": "The timestamp corresponding to the generation of the token.", "format": "google-datetime", @@ -1129,6 +1133,10 @@ ], "type": "string" }, + "iosBundleId": { + "description": "The ID of the iOS bundle with which the token was generated (iOS keys only).", + "type": "string" + }, "valid": { "description": "Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment).", "type": "boolean" diff --git a/recaptchaenterprise/v1/recaptchaenterprise-gen.go b/recaptchaenterprise/v1/recaptchaenterprise-gen.go index 47a7b6dfa1e..6f41dd3b4f9 100644 --- a/recaptchaenterprise/v1/recaptchaenterprise-gen.go +++ b/recaptchaenterprise/v1/recaptchaenterprise-gen.go @@ -1239,6 +1239,10 @@ type GoogleCloudRecaptchaenterpriseV1TokenProperties struct { // Action: Action name provided at token generation. Action string `json:"action,omitempty"` + // AndroidPackageName: The name of the Android package with which the + // token was generated (Android keys only). + AndroidPackageName string `json:"androidPackageName,omitempty"` + // CreateTime: The timestamp corresponding to the generation of the // token. CreateTime string `json:"createTime,omitempty"` @@ -1262,6 +1266,10 @@ type GoogleCloudRecaptchaenterpriseV1TokenProperties struct { // occurred on the browser. Could easily be simulated by an attacker. InvalidReason string `json:"invalidReason,omitempty"` + // IosBundleId: The ID of the iOS bundle with which the token was + // generated (iOS keys only). + IosBundleId string `json:"iosBundleId,omitempty"` + // Valid: Whether the provided user response token is valid. When valid // = false, the reason could be specified in invalid_reason or it could // also be due to a user failing to solve a challenge or a sitekey diff --git a/tagmanager/v2/tagmanager-api.json b/tagmanager/v2/tagmanager-api.json index a8083da26b7..ae6e847f93a 100644 --- a/tagmanager/v2/tagmanager-api.json +++ b/tagmanager/v2/tagmanager-api.json @@ -3710,7 +3710,7 @@ } } }, - "revision": "20221103", + "revision": "20221108", "rootUrl": "https://tagmanager.googleapis.com/", "schemas": { "Account": { @@ -4239,7 +4239,7 @@ "type": "string" }, "taggingServerUrls": { - "description": "The URLs of the cloud environment for the GTM Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update", + "description": "List of server-side container URLs for the Container. If multiple URLs are provided, all URL paths must match. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update", "items": { "type": "string" }, diff --git a/tagmanager/v2/tagmanager-gen.go b/tagmanager/v2/tagmanager-gen.go index 37e0cba7720..3f23b23e81c 100644 --- a/tagmanager/v2/tagmanager-gen.go +++ b/tagmanager/v2/tagmanager-gen.go @@ -843,8 +843,9 @@ type Container struct { // TagManagerUrl: Auto generated link to the tag manager UI TagManagerUrl string `json:"tagManagerUrl,omitempty"` - // TaggingServerUrls: The URLs of the cloud environment for the GTM - // Container. @mutable tagmanager.accounts.containers.create @mutable + // TaggingServerUrls: List of server-side container URLs for the + // Container. If multiple URLs are provided, all URL paths must match. + // @mutable tagmanager.accounts.containers.create @mutable // tagmanager.accounts.containers.update TaggingServerUrls []string `json:"taggingServerUrls,omitempty"`