diff --git a/api_names_out.yaml b/api_names_out.yaml index 64b3441d8..f78dd2d04 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -57084,6 +57084,8 @@ "/content:v2.1/Account/adsLinks": ads_links "/content:v2.1/Account/adsLinks/ads_link": ads_link "/content:v2.1/Account/adultContent": adult_content +"/content:v2.1/Account/automaticLabelIds": automatic_label_ids +"/content:v2.1/Account/automaticLabelIds/automatic_label_id": automatic_label_id "/content:v2.1/Account/businessInformation": business_information "/content:v2.1/Account/cssId": css_id "/content:v2.1/Account/googleMyBusinessLink": google_my_business_link @@ -57126,7 +57128,13 @@ "/content:v2.1/AccountLabel/accountId": account_id "/content:v2.1/AccountLabel/description": description "/content:v2.1/AccountLabel/labelId": label_id +"/content:v2.1/AccountLabel/labelType": label_type "/content:v2.1/AccountLabel/name": name +"/content:v2.1/AccountReturnCarrier": account_return_carrier +"/content:v2.1/AccountReturnCarrier/carrierAccountId": carrier_account_id +"/content:v2.1/AccountReturnCarrier/carrierAccountName": carrier_account_name +"/content:v2.1/AccountReturnCarrier/carrierAccountNumber": carrier_account_number +"/content:v2.1/AccountReturnCarrier/carrierCode": carrier_code "/content:v2.1/AccountStatus": account_status "/content:v2.1/AccountStatus/accountId": account_id "/content:v2.1/AccountStatus/accountLevelIssues": account_level_issues @@ -57309,6 +57317,47 @@ "/content:v2.1/CarriersCarrier/name": name "/content:v2.1/CarriersCarrier/services": services "/content:v2.1/CarriersCarrier/services/service": service +"/content:v2.1/Collection": collection +"/content:v2.1/Collection/customLabel0": custom_label0 +"/content:v2.1/Collection/customLabel1": custom_label1 +"/content:v2.1/Collection/customLabel2": custom_label2 +"/content:v2.1/Collection/customLabel3": custom_label3 +"/content:v2.1/Collection/customLabel4": custom_label4 +"/content:v2.1/Collection/featuredProduct": featured_product +"/content:v2.1/Collection/featuredProduct/featured_product": featured_product +"/content:v2.1/Collection/headline": headline +"/content:v2.1/Collection/headline/headline": headline +"/content:v2.1/Collection/id": id +"/content:v2.1/Collection/imageLink": image_link +"/content:v2.1/Collection/imageLink/image_link": image_link +"/content:v2.1/Collection/language": language +"/content:v2.1/Collection/link": link +"/content:v2.1/Collection/mobileLink": mobile_link +"/content:v2.1/Collection/productCountry": product_country +"/content:v2.1/CollectionFeaturedProduct": collection_featured_product +"/content:v2.1/CollectionFeaturedProduct/offerId": offer_id +"/content:v2.1/CollectionFeaturedProduct/x": x +"/content:v2.1/CollectionFeaturedProduct/y": y +"/content:v2.1/CollectionStatus": collection_status +"/content:v2.1/CollectionStatus/collectionLevelIssuses": collection_level_issuses +"/content:v2.1/CollectionStatus/collectionLevelIssuses/collection_level_issuse": collection_level_issuse +"/content:v2.1/CollectionStatus/creationDate": creation_date +"/content:v2.1/CollectionStatus/destinationStatuses": destination_statuses +"/content:v2.1/CollectionStatus/destinationStatuses/destination_status": destination_status +"/content:v2.1/CollectionStatus/id": id +"/content:v2.1/CollectionStatus/lastUpdateDate": last_update_date +"/content:v2.1/CollectionStatusDestinationStatus": collection_status_destination_status +"/content:v2.1/CollectionStatusDestinationStatus/destination": destination +"/content:v2.1/CollectionStatusDestinationStatus/status": status +"/content:v2.1/CollectionStatusItemLevelIssue": collection_status_item_level_issue +"/content:v2.1/CollectionStatusItemLevelIssue/attributeName": attribute_name +"/content:v2.1/CollectionStatusItemLevelIssue/code": code +"/content:v2.1/CollectionStatusItemLevelIssue/description": description +"/content:v2.1/CollectionStatusItemLevelIssue/destination": destination +"/content:v2.1/CollectionStatusItemLevelIssue/detail": detail +"/content:v2.1/CollectionStatusItemLevelIssue/documentation": documentation +"/content:v2.1/CollectionStatusItemLevelIssue/resolution": resolution +"/content:v2.1/CollectionStatusItemLevelIssue/servability": servability "/content:v2.1/Css": css "/content:v2.1/Css/cssDomainId": css_domain_id "/content:v2.1/Css/cssGroupId": css_group_id @@ -57606,6 +57655,17 @@ "/content:v2.1/ListAccountLabelsResponse/accountLabels": account_labels "/content:v2.1/ListAccountLabelsResponse/accountLabels/account_label": account_label "/content:v2.1/ListAccountLabelsResponse/nextPageToken": next_page_token +"/content:v2.1/ListAccountReturnCarrierResponse": list_account_return_carrier_response +"/content:v2.1/ListAccountReturnCarrierResponse/accountReturnCarriers": account_return_carriers +"/content:v2.1/ListAccountReturnCarrierResponse/accountReturnCarriers/account_return_carrier": account_return_carrier +"/content:v2.1/ListCollectionStatusesResponse": list_collection_statuses_response +"/content:v2.1/ListCollectionStatusesResponse/nextPageToken": next_page_token +"/content:v2.1/ListCollectionStatusesResponse/resources": resources +"/content:v2.1/ListCollectionStatusesResponse/resources/resource": resource +"/content:v2.1/ListCollectionsResponse": list_collections_response +"/content:v2.1/ListCollectionsResponse/nextPageToken": next_page_token +"/content:v2.1/ListCollectionsResponse/resources": resources +"/content:v2.1/ListCollectionsResponse/resources/resource": resource "/content:v2.1/ListCssesResponse": list_csses_response "/content:v2.1/ListCssesResponse/csses": csses "/content:v2.1/ListCssesResponse/csses/css": css @@ -59080,6 +59140,16 @@ "/content:v2.1/content.accounts.listlinks/maxResults": max_results "/content:v2.1/content.accounts.listlinks/merchantId": merchant_id "/content:v2.1/content.accounts.listlinks/pageToken": page_token +"/content:v2.1/content.accounts.returncarrier.create": create_account_returncarrier +"/content:v2.1/content.accounts.returncarrier.create/accountId": account_id +"/content:v2.1/content.accounts.returncarrier.delete": delete_account_returncarrier +"/content:v2.1/content.accounts.returncarrier.delete/accountId": account_id +"/content:v2.1/content.accounts.returncarrier.delete/carrierAccountId": carrier_account_id +"/content:v2.1/content.accounts.returncarrier.list": list_account_returncarriers +"/content:v2.1/content.accounts.returncarrier.list/accountId": account_id +"/content:v2.1/content.accounts.returncarrier.patch": patch_account_returncarrier +"/content:v2.1/content.accounts.returncarrier.patch/accountId": account_id +"/content:v2.1/content.accounts.returncarrier.patch/carrierAccountId": carrier_account_id "/content:v2.1/content.accounts.update": update_account "/content:v2.1/content.accounts.update/accountId": account_id "/content:v2.1/content.accounts.update/merchantId": merchant_id @@ -59107,6 +59177,25 @@ "/content:v2.1/content.accounttax.update": update_accounttax "/content:v2.1/content.accounttax.update/accountId": account_id "/content:v2.1/content.accounttax.update/merchantId": merchant_id +"/content:v2.1/content.collections.create": create_collection +"/content:v2.1/content.collections.create/merchantId": merchant_id +"/content:v2.1/content.collections.delete": delete_collection +"/content:v2.1/content.collections.delete/collectionId": collection_id +"/content:v2.1/content.collections.delete/merchantId": merchant_id +"/content:v2.1/content.collections.get": get_collection +"/content:v2.1/content.collections.get/collectionId": collection_id +"/content:v2.1/content.collections.get/merchantId": merchant_id +"/content:v2.1/content.collections.list": list_collections +"/content:v2.1/content.collections.list/merchantId": merchant_id +"/content:v2.1/content.collections.list/pageSize": page_size +"/content:v2.1/content.collections.list/pageToken": page_token +"/content:v2.1/content.collectionstatuses.get": get_collectionstatus +"/content:v2.1/content.collectionstatuses.get/collectionId": collection_id +"/content:v2.1/content.collectionstatuses.get/merchantId": merchant_id +"/content:v2.1/content.collectionstatuses.list": list_collectionstatuses +"/content:v2.1/content.collectionstatuses.list/merchantId": merchant_id +"/content:v2.1/content.collectionstatuses.list/pageSize": page_size +"/content:v2.1/content.collectionstatuses.list/pageToken": page_token "/content:v2.1/content.csses.get": get_css "/content:v2.1/content.csses.get/cssDomainId": css_domain_id "/content:v2.1/content.csses.get/cssGroupId": css_group_id diff --git a/generated/google-apis-content_v2_1/CHANGELOG.md b/generated/google-apis-content_v2_1/CHANGELOG.md index 889d75230..22c5048cf 100644 --- a/generated/google-apis-content_v2_1/CHANGELOG.md +++ b/generated/google-apis-content_v2_1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-content_v2_1 +### v0.2.0 (2021-01-12) + +* Regenerated from discovery document revision 20210106 + ### v0.1.0 (2021-01-07) * Regenerated using generator version 0.1.1 diff --git a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/classes.rb b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/classes.rb index 854547ee8..7e99bd424 100644 --- a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/classes.rb +++ b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/classes.rb @@ -43,6 +43,12 @@ module Google attr_accessor :adult_content alias_method :adult_content?, :adult_content + # List of automatically created label IDs that are assigned to the account by + # CSS Center. + # Corresponds to the JSON property `automaticLabelIds` + # @return [Array] + attr_accessor :automatic_label_ids + # The business information of the account. # Corresponds to the JSON property `businessInformation` # @return [Google::Apis::ContentV2_1::AccountBusinessInformation] @@ -70,7 +76,7 @@ module Google # @return [String] attr_accessor :kind - # List of label IDs that are assigned to the account by CSS. + # List of manually created label IDs that are assigned to the account by CSS. # Corresponds to the JSON property `labelIds` # @return [Array] attr_accessor :label_ids @@ -113,6 +119,7 @@ module Google def update!(**args) @ads_links = args[:ads_links] if args.key?(:ads_links) @adult_content = args[:adult_content] if args.key?(:adult_content) + @automatic_label_ids = args[:automatic_label_ids] if args.key?(:automatic_label_ids) @business_information = args[:business_information] if args.key?(:business_information) @css_id = args[:css_id] if args.key?(:css_id) @google_my_business_link = args[:google_my_business_link] if args.key?(:google_my_business_link) @@ -349,6 +356,11 @@ module Google # @return [Fixnum] attr_accessor :label_id + # Output only. The type of this label. + # Corresponds to the JSON property `labelType` + # @return [String] + attr_accessor :label_type + # The display name of this label. # Corresponds to the JSON property `name` # @return [String] @@ -363,10 +375,50 @@ module Google @account_id = args[:account_id] if args.key?(:account_id) @description = args[:description] if args.key?(:description) @label_id = args[:label_id] if args.key?(:label_id) + @label_type = args[:label_type] if args.key?(:label_type) @name = args[:name] if args.key?(:name) end end + # The return carrier information. This service is designed for merchants + # enrolled in the Buy on Google program. + class AccountReturnCarrier + include Google::Apis::Core::Hashable + + # Output only. Immutable. The Google-provided unique carrier ID, used to update + # the resource. + # Corresponds to the JSON property `carrierAccountId` + # @return [Fixnum] + attr_accessor :carrier_account_id + + # Name of the carrier account. + # Corresponds to the JSON property `carrierAccountName` + # @return [String] + attr_accessor :carrier_account_name + + # Number of the carrier account. + # Corresponds to the JSON property `carrierAccountNumber` + # @return [String] + attr_accessor :carrier_account_number + + # The carrier code enum. Accepts the values FEDEX or UPS. + # Corresponds to the JSON property `carrierCode` + # @return [String] + attr_accessor :carrier_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @carrier_account_id = args[:carrier_account_id] if args.key?(:carrier_account_id) + @carrier_account_name = args[:carrier_account_name] if args.key?(:carrier_account_name) + @carrier_account_number = args[:carrier_account_number] if args.key?(:carrier_account_number) + @carrier_code = args[:carrier_code] if args.key?(:carrier_code) + end + end + # The status of an account, i.e., information about its products, which is # computed offline and not returned immediately at insertion time. class AccountStatus @@ -1051,7 +1103,9 @@ module Google # @return [String] attr_accessor :linked_account_id - # List of provided services. + # Acceptable values are: - "`shoppingAdsProductManagement`" - "` + # shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "` + # shoppingActionsOrderManagement`" - "`shoppingActionsOther`" # Corresponds to the JSON property `services` # @return [Array] attr_accessor :services @@ -1636,6 +1690,275 @@ module Google end end + # The collection message. + class Collection + include Google::Apis::Core::Hashable + + # Label that you assign to a collection to help organize bidding and reporting + # in Shopping campaigns. Custom label + # Corresponds to the JSON property `customLabel0` + # @return [String] + attr_accessor :custom_label0 + + # Label that you assign to a collection to help organize bidding and reporting + # in Shopping campaigns. + # Corresponds to the JSON property `customLabel1` + # @return [String] + attr_accessor :custom_label1 + + # Label that you assign to a collection to help organize bidding and reporting + # in Shopping campaigns. + # Corresponds to the JSON property `customLabel2` + # @return [String] + attr_accessor :custom_label2 + + # Label that you assign to a collection to help organize bidding and reporting + # in Shopping campaigns. + # Corresponds to the JSON property `customLabel3` + # @return [String] + attr_accessor :custom_label3 + + # Label that you assign to a collection to help organize bidding and reporting + # in Shopping campaigns. + # Corresponds to the JSON property `customLabel4` + # @return [String] + attr_accessor :custom_label4 + + # This identifies one or more products associated with the collection. Used as a + # lookup to the corresponding product ID in your product feeds. Provide a + # maximum of 100 featuredProduct (for collections). Provide up to 10 + # featuredProduct (for Shoppable Images only) with ID and X and Y coordinates. + # featured_product attribute + # Corresponds to the JSON property `featuredProduct` + # @return [Array] + attr_accessor :featured_product + + # Your collection's name. headline attribute + # Corresponds to the JSON property `headline` + # @return [Array] + attr_accessor :headline + + # Required. The REST ID of the collection. Content API methods that operate on + # collections take this as their collectionId parameter. The REST ID for a + # collection is of the form collectionId. id attribute + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The URL of a collection’s image. image_link attribute + # Corresponds to the JSON property `imageLink` + # @return [Array] + attr_accessor :image_link + + # The language of a collection and the language of any featured products linked + # to the collection. language attribute + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # A collection’s landing page. URL directly linking to your collection's page on + # your website. link attribute + # Corresponds to the JSON property `link` + # @return [String] + attr_accessor :link + + # A collection’s mobile-optimized landing page when you have a different URL for + # mobile and desktop traffic. mobile_link attribute + # Corresponds to the JSON property `mobileLink` + # @return [String] + attr_accessor :mobile_link + + # product_country attribute + # Corresponds to the JSON property `productCountry` + # @return [String] + attr_accessor :product_country + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_label0 = args[:custom_label0] if args.key?(:custom_label0) + @custom_label1 = args[:custom_label1] if args.key?(:custom_label1) + @custom_label2 = args[:custom_label2] if args.key?(:custom_label2) + @custom_label3 = args[:custom_label3] if args.key?(:custom_label3) + @custom_label4 = args[:custom_label4] if args.key?(:custom_label4) + @featured_product = args[:featured_product] if args.key?(:featured_product) + @headline = args[:headline] if args.key?(:headline) + @id = args[:id] if args.key?(:id) + @image_link = args[:image_link] if args.key?(:image_link) + @language = args[:language] if args.key?(:language) + @link = args[:link] if args.key?(:link) + @mobile_link = args[:mobile_link] if args.key?(:mobile_link) + @product_country = args[:product_country] if args.key?(:product_country) + end + end + + # The message for FeaturedProduct. FeaturedProduct + class CollectionFeaturedProduct + include Google::Apis::Core::Hashable + + # The unique identifier for the product item. + # Corresponds to the JSON property `offerId` + # @return [String] + attr_accessor :offer_id + + # Required. X-coordinate of the product callout on the Shoppable Image. + # Corresponds to the JSON property `x` + # @return [Float] + attr_accessor :x + + # Required. Y-coordinate of the product callout on the Shoppable Image. + # Corresponds to the JSON property `y` + # @return [Float] + attr_accessor :y + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @offer_id = args[:offer_id] if args.key?(:offer_id) + @x = args[:x] if args.key?(:x) + @y = args[:y] if args.key?(:y) + end + end + + # The collectionstatus message. + class CollectionStatus + include Google::Apis::Core::Hashable + + # A list of all issues associated with the collection. + # Corresponds to the JSON property `collectionLevelIssuses` + # @return [Array] + attr_accessor :collection_level_issuses + + # Date on which the collection has been created in [ISO 8601](http://en. + # wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g. "2020-01- + # 02T09:00:00+01:00" or "2020-01-02T09:00:00Z" + # Corresponds to the JSON property `creationDate` + # @return [String] + attr_accessor :creation_date + + # The intended destinations for the collection. + # Corresponds to the JSON property `destinationStatuses` + # @return [Array] + attr_accessor :destination_statuses + + # Required. The ID of the collection for which status is reported. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Date on which the collection has been last updated in [ISO 8601](http://en. + # wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g. "2020-01- + # 02T09:00:00+01:00" or "2020-01-02T09:00:00Z" + # Corresponds to the JSON property `lastUpdateDate` + # @return [String] + attr_accessor :last_update_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @collection_level_issuses = args[:collection_level_issuses] if args.key?(:collection_level_issuses) + @creation_date = args[:creation_date] if args.key?(:creation_date) + @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses) + @id = args[:id] if args.key?(:id) + @last_update_date = args[:last_update_date] if args.key?(:last_update_date) + end + end + + # Destination status message. + class CollectionStatusDestinationStatus + include Google::Apis::Core::Hashable + + # The name of the destination + # Corresponds to the JSON property `destination` + # @return [String] + attr_accessor :destination + + # The status for the specified destination. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination = args[:destination] if args.key?(:destination) + @status = args[:status] if args.key?(:status) + end + end + + # Issue associated with the collection. + class CollectionStatusItemLevelIssue + include Google::Apis::Core::Hashable + + # The attribute's name, if the issue is caused by a single attribute. + # Corresponds to the JSON property `attributeName` + # @return [String] + attr_accessor :attribute_name + + # The error code of the issue. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # A short issue description in English. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The destination the issue applies to. + # Corresponds to the JSON property `destination` + # @return [String] + attr_accessor :destination + + # A detailed issue description in English. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + + # The URL of a web page to help with resolving this issue. + # Corresponds to the JSON property `documentation` + # @return [String] + attr_accessor :documentation + + # Whether the issue can be resolved by the merchant. + # Corresponds to the JSON property `resolution` + # @return [String] + attr_accessor :resolution + + # How this issue affects the serving of the collection. + # Corresponds to the JSON property `servability` + # @return [String] + attr_accessor :servability + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_name = args[:attribute_name] if args.key?(:attribute_name) + @code = args[:code] if args.key?(:code) + @description = args[:description] if args.key?(:description) + @destination = args[:destination] if args.key?(:destination) + @detail = args[:detail] if args.key?(:detail) + @documentation = args[:documentation] if args.key?(:documentation) + @resolution = args[:resolution] if args.key?(:resolution) + @servability = args[:servability] if args.key?(:servability) + end + end + # Information about CSS domain. class Css include Google::Apis::Core::Hashable @@ -3751,6 +4074,77 @@ module Google end end + # Response for listing account return carriers. + class ListAccountReturnCarrierResponse + include Google::Apis::Core::Hashable + + # List of all available account return carriers for the merchant. + # Corresponds to the JSON property `accountReturnCarriers` + # @return [Array] + attr_accessor :account_return_carriers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_return_carriers = args[:account_return_carriers] if args.key?(:account_return_carriers) + end + end + + # Response message for the ListCollectionStatuses method. + class ListCollectionStatusesResponse + include Google::Apis::Core::Hashable + + # A token, which can be sent as `page_token` to retrieve the next page. If this + # field is omitted, there are no subsequent pages. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The collectionstatuses listed. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @resources = args[:resources] if args.key?(:resources) + end + end + + # Response message for the ListCollections method. + class ListCollectionsResponse + include Google::Apis::Core::Hashable + + # A token, which can be sent as `page_token` to retrieve the next page. If this + # field is omitted, there are no subsequent pages. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The collections listed. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @resources = args[:resources] if args.key?(:resources) + end + end + # The response message for the `ListCsses` method class ListCssesResponse include Google::Apis::Core::Hashable @@ -9258,7 +9652,10 @@ module Google # @return [String] attr_accessor :gender - # Google's category of the item (see Google product taxonomy). + # Google's category of the item (see [Google product taxonomy](https://support. + # google.com/merchants/answer/1705911)). When querying products, this field will + # contain the user provided value. There is currently no way to get back the + # auto assigned google product categories through the API. # Corresponds to the JSON property `googleProductCategory` # @return [String] attr_accessor :google_product_category diff --git a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/gem_version.rb b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/gem_version.rb index 0238567d9..617b4a1eb 100644 --- a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/gem_version.rb +++ b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module ContentV2_1 # Version of the google-apis-content_v2_1 gem - GEM_VERSION = "0.1.0" + GEM_VERSION = "0.2.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.1.1" # Revision of the discovery document this client was generated from - REVISION = "20201211" + REVISION = "20210106" end end end diff --git a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/representations.rb b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/representations.rb index 28802a197..565812c62 100644 --- a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/representations.rb +++ b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/representations.rb @@ -70,6 +70,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AccountReturnCarrier + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AccountStatus class Representation < Google::Apis::Core::JsonRepresentation; end @@ -286,6 +292,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Collection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CollectionFeaturedProduct + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CollectionStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CollectionStatusDestinationStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CollectionStatusItemLevelIssue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Css class Representation < Google::Apis::Core::JsonRepresentation; end @@ -628,6 +664,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListAccountReturnCarrierResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCollectionStatusesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCollectionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListCssesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2044,6 +2098,7 @@ module Google collection :ads_links, as: 'adsLinks', class: Google::Apis::ContentV2_1::AccountAdsLink, decorator: Google::Apis::ContentV2_1::AccountAdsLink::Representation property :adult_content, as: 'adultContent' + collection :automatic_label_ids, as: 'automaticLabelIds' property :business_information, as: 'businessInformation', class: Google::Apis::ContentV2_1::AccountBusinessInformation, decorator: Google::Apis::ContentV2_1::AccountBusinessInformation::Representation property :css_id, :numeric_string => true, as: 'cssId' @@ -2124,10 +2179,21 @@ module Google property :account_id, :numeric_string => true, as: 'accountId' property :description, as: 'description' property :label_id, :numeric_string => true, as: 'labelId' + property :label_type, as: 'labelType' property :name, as: 'name' end end + class AccountReturnCarrier + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :carrier_account_id, :numeric_string => true, as: 'carrierAccountId' + property :carrier_account_name, as: 'carrierAccountName' + property :carrier_account_number, as: 'carrierAccountNumber' + property :carrier_code, as: 'carrierCode' + end + end + class AccountStatus # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2494,6 +2560,70 @@ module Google end end + class Collection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_label0, as: 'customLabel0' + property :custom_label1, as: 'customLabel1' + property :custom_label2, as: 'customLabel2' + property :custom_label3, as: 'customLabel3' + property :custom_label4, as: 'customLabel4' + collection :featured_product, as: 'featuredProduct', class: Google::Apis::ContentV2_1::CollectionFeaturedProduct, decorator: Google::Apis::ContentV2_1::CollectionFeaturedProduct::Representation + + collection :headline, as: 'headline' + property :id, as: 'id' + collection :image_link, as: 'imageLink' + property :language, as: 'language' + property :link, as: 'link' + property :mobile_link, as: 'mobileLink' + property :product_country, as: 'productCountry' + end + end + + class CollectionFeaturedProduct + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :offer_id, as: 'offerId' + property :x, as: 'x' + property :y, as: 'y' + end + end + + class CollectionStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :collection_level_issuses, as: 'collectionLevelIssuses', class: Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue, decorator: Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue::Representation + + property :creation_date, as: 'creationDate' + collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2_1::CollectionStatusDestinationStatus, decorator: Google::Apis::ContentV2_1::CollectionStatusDestinationStatus::Representation + + property :id, as: 'id' + property :last_update_date, as: 'lastUpdateDate' + end + end + + class CollectionStatusDestinationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination, as: 'destination' + property :status, as: 'status' + end + end + + class CollectionStatusItemLevelIssue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attribute_name, as: 'attributeName' + property :code, as: 'code' + property :description, as: 'description' + property :destination, as: 'destination' + property :detail, as: 'detail' + property :documentation, as: 'documentation' + property :resolution, as: 'resolution' + property :servability, as: 'servability' + end + end + class Css # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3088,6 +3218,32 @@ module Google end end + class ListAccountReturnCarrierResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_return_carriers, as: 'accountReturnCarriers', class: Google::Apis::ContentV2_1::AccountReturnCarrier, decorator: Google::Apis::ContentV2_1::AccountReturnCarrier::Representation + + end + end + + class ListCollectionStatusesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::CollectionStatus, decorator: Google::Apis::ContentV2_1::CollectionStatus::Representation + + end + end + + class ListCollectionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :resources, as: 'resources', class: Google::Apis::ContentV2_1::Collection, decorator: Google::Apis::ContentV2_1::Collection::Representation + + end + end + class ListCssesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/service.rb b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/service.rb index b2c1f02ba..826211b1c 100644 --- a/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/service.rb +++ b/generated/google-apis-content_v2_1/lib/google/apis/content_v2_1/service.rb @@ -594,6 +594,140 @@ module Google execute_or_queue_command(command, &block) end + # Links return carrier to a merchant account. + # @param [Fixnum] account_id + # Required. The Merchant Center Account Id under which the Return Carrier is to + # be linked. + # @param [Google::Apis::ContentV2_1::AccountReturnCarrier] account_return_carrier_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::AccountReturnCarrier] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::AccountReturnCarrier] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_account_returncarrier(account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'content/v2.1/accounts/{accountId}/returncarrier', options) + command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation + command.request_object = account_return_carrier_object + command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation + command.response_class = Google::Apis::ContentV2_1::AccountReturnCarrier + command.params['accountId'] = account_id unless account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a return carrier in the merchant account. + # @param [Fixnum] account_id + # Required. The Merchant Center Account Id under which the Return Carrier is to + # be linked. + # @param [Fixnum] carrier_account_id + # Required. The Google-provided unique carrier ID, used to update the resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_account_returncarrier(account_id, carrier_account_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'content/v2.1/accounts/{accountId}/returncarrier/{carrierAccountId}', options) + command.params['accountId'] = account_id unless account_id.nil? + command.params['carrierAccountId'] = carrier_account_id unless carrier_account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists available return carriers in the merchant account. + # @param [Fixnum] account_id + # Required. The Merchant Center Account Id under which the Return Carrier is to + # be linked. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_returncarriers(account_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'content/v2.1/accounts/{accountId}/returncarrier', options) + command.response_representation = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse::Representation + command.response_class = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a return carrier in the merchant account. + # @param [Fixnum] account_id + # Required. The Merchant Center Account Id under which the Return Carrier is to + # be linked. + # @param [Fixnum] carrier_account_id + # Required. The Google-provided unique carrier ID, used to update the resource. + # @param [Google::Apis::ContentV2_1::AccountReturnCarrier] account_return_carrier_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::AccountReturnCarrier] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::AccountReturnCarrier] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_account_returncarrier(account_id, carrier_account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'content/v2.1/accounts/{accountId}/returncarrier/{carrierAccountId}', options) + command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation + command.request_object = account_return_carrier_object + command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation + command.response_class = Google::Apis::ContentV2_1::AccountReturnCarrier + command.params['accountId'] = account_id unless account_id.nil? + command.params['carrierAccountId'] = carrier_account_id unless carrier_account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Retrieves multiple Merchant Center account statuses in a single request. # @param [Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest] accountstatuses_custom_batch_request_object # @param [String] fields @@ -845,6 +979,225 @@ module Google execute_or_queue_command(command, &block) end + # Uploads a collection to your Merchant Center account. If a collection with the + # same collectionId already exists, this method updates that entry. In each + # update, the collection is completely replaced by the fields in the body of the + # update request. + # @param [Fixnum] merchant_id + # Required. The ID of the account that contains the collection. This account + # cannot be a multi-client account. + # @param [Google::Apis::ContentV2_1::Collection] collection_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::Collection] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::Collection] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_collection(merchant_id, collection_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'content/v2.1/{merchantId}/collections', options) + command.request_representation = Google::Apis::ContentV2_1::Collection::Representation + command.request_object = collection_object + command.response_representation = Google::Apis::ContentV2_1::Collection::Representation + command.response_class = Google::Apis::ContentV2_1::Collection + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a collection from your Merchant Center account. + # @param [Fixnum] merchant_id + # Required. The ID of the account that contains the collection. This account + # cannot be a multi-client account. + # @param [String] collection_id + # Required. The collectionId of the collection. CollectionId is the same as the + # REST ID of the collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'content/v2.1/{merchantId}/collections/{collectionId}', options) + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.params['collectionId'] = collection_id unless collection_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a collection from your Merchant Center account. + # @param [Fixnum] merchant_id + # Required. The ID of the account that contains the collection. This account + # cannot be a multi-client account. + # @param [String] collection_id + # Required. The REST ID of the collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::Collection] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::Collection] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'content/v2.1/{merchantId}/collections/{collectionId}', options) + command.response_representation = Google::Apis::ContentV2_1::Collection::Representation + command.response_class = Google::Apis::ContentV2_1::Collection + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.params['collectionId'] = collection_id unless collection_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the collections in your Merchant Center account. The response might + # contain fewer items than specified by page_size. Rely on next_page_token to + # determine if there are more items to be requested. + # @param [Fixnum] merchant_id + # Required. The ID of the account that contains the collection. This account + # cannot be a multi-client account. + # @param [Fixnum] page_size + # The maximum number of collections to return in the response, used for paging. + # Defaults to 50; values above 1000 will be coerced to 1000. + # @param [String] page_token + # Token (if provided) to retrieve the subsequent page. All other parameters must + # match the original call that provided the page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::ListCollectionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::ListCollectionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_collections(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'content/v2.1/{merchantId}/collections', options) + command.response_representation = Google::Apis::ContentV2_1::ListCollectionsResponse::Representation + command.response_class = Google::Apis::ContentV2_1::ListCollectionsResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the status of a collection from your Merchant Center account. + # @param [Fixnum] merchant_id + # Required. The ID of the account that contains the collection. This account + # cannot be a multi-client account. + # @param [String] collection_id + # Required. The collectionId of the collection. CollectionId is the same as the + # REST ID of the collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::CollectionStatus] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::CollectionStatus] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_collectionstatus(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'content/v2.1/{merchantId}/collectionstatuses/{collectionId}', options) + command.response_representation = Google::Apis::ContentV2_1::CollectionStatus::Representation + command.response_class = Google::Apis::ContentV2_1::CollectionStatus + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.params['collectionId'] = collection_id unless collection_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the statuses of the collections in your Merchant Center account. + # @param [Fixnum] merchant_id + # Required. The ID of the account that contains the collection. This account + # cannot be a multi-client account. + # @param [Fixnum] page_size + # The maximum number of collection statuses to return in the response, used for + # paging. Defaults to 50; values above 1000 will be coerced to 1000. + # @param [String] page_token + # Token (if provided) to retrieve the subsequent page. All other parameters must + # match the original call that provided the page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::ListCollectionStatusesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::ListCollectionStatusesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_collectionstatuses(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'content/v2.1/{merchantId}/collectionstatuses', options) + command.response_representation = Google::Apis::ContentV2_1::ListCollectionStatusesResponse::Representation + command.response_class = Google::Apis::ContentV2_1::ListCollectionStatusesResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Retrieves a single CSS domain by ID. # @param [Fixnum] css_group_id # Required. The ID of the managing account. If this parameter is not the same as diff --git a/generated/google-apis-content_v2_1/synth.metadata b/generated/google-apis-content_v2_1/synth.metadata index fc3cff037..3fe89600a 100644 --- a/generated/google-apis-content_v2_1/synth.metadata +++ b/generated/google-apis-content_v2_1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "8629207422003a3377099b7f10716c4cdb61c5d4" + "sha": "cf129fb0465e1f165bd1773a27355c62e6406ccf" } } ]