generated/google/apis/content_v2/classes.rb in google-api-client-0.11.2 vs generated/google/apis/content_v2/classes.rb in google-api-client-0.11.3

- old
+ new

@@ -174,19 +174,26 @@ # accountStatus". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind + # Whether the account's website is claimed or not. + # Corresponds to the JSON property `websiteClaimed` + # @return [Boolean] + attr_accessor :website_claimed + alias_method :website_claimed?, :website_claimed + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues) @kind = args[:kind] if args.key?(:kind) + @website_claimed = args[:website_claimed] if args.key?(:website_claimed) end end # class AccountStatusDataQualityIssue @@ -440,10 +447,30 @@ @kind = args[:kind] if args.key?(:kind) end end # + class AccountsClaimWebsiteResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "content# + # accountsClaimWebsiteResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + end + end + + # class BatchAccountsRequest include Google::Apis::Core::Hashable # The request entries to be processed in the batch. # Corresponds to the JSON property `entries` @@ -467,12 +494,12 @@ # Account data. # Corresponds to the JSON property `account` # @return [Google::Apis::ContentV2::Account] attr_accessor :account - # The ID of the account to get or delete. Only defined if the method is get or - # delete. + # The ID of the targeted account. Only defined if the method is get, delete or + # claimwebsite. # Corresponds to the JSON property `accountId` # @return [Fixnum] attr_accessor :account_id # An entry ID, unique within the batch request. @@ -488,10 +515,17 @@ # # Corresponds to the JSON property `method` # @return [String] attr_accessor :request_method + # Only applicable if the method is claimwebsite. Indicates whether or not to + # take the claim from another account in case there is a conflict. + # Corresponds to the JSON property `overwrite` + # @return [Boolean] + attr_accessor :overwrite + alias_method :overwrite?, :overwrite + def initialize(**args) update!(**args) end # Update properties of this object @@ -499,9 +533,10 @@ @account = args[:account] if args.key?(:account) @account_id = args[:account_id] if args.key?(:account_id) @batch_id = args[:batch_id] if args.key?(:batch_id) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @request_method = args[:request_method] if args.key?(:request_method) + @overwrite = args[:overwrite] if args.key?(:overwrite) end end # class BatchAccountsResponse