generated/google/apis/content_v2/classes.rb in google-api-client-0.13.2 vs generated/google/apis/content_v2/classes.rb in google-api-client-0.13.3

- old
+ new

@@ -163,10 +163,15 @@ # The ID of the account for which the status is reported. # Corresponds to the JSON property `accountId` # @return [String] attr_accessor :account_id + # A list of account level issues. + # Corresponds to the JSON property `accountLevelIssues` + # @return [Array<Google::Apis::ContentV2::AccountStatusAccountLevelIssue>] + attr_accessor :account_level_issues + # A list of data quality issues. # Corresponds to the JSON property `dataQualityIssues` # @return [Array<Google::Apis::ContentV2::AccountStatusDataQualityIssue>] attr_accessor :data_quality_issues @@ -187,17 +192,61 @@ end # Update properties of this object def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) + @account_level_issues = args[:account_level_issues] if args.key?(:account_level_issues) @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 AccountStatusAccountLevelIssue + include Google::Apis::Core::Hashable + + # Country for which this issue is reported. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # Additional details about the issue. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + + # Issue identifier. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Severity of the issue. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Short description of the issue. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country = args[:country] if args.key?(:country) + @detail = args[:detail] if args.key?(:detail) + @id = args[:id] if args.key?(:id) + @severity = args[:severity] if args.key?(:severity) + @title = args[:title] if args.key?(:title) + end + end + + # class AccountStatusDataQualityIssue include Google::Apis::Core::Hashable # Country for which this issue is reported. # Corresponds to the JSON property `country` @@ -1147,10 +1196,16 @@ # An optional password for fetch_url. # Corresponds to the JSON property `password` # @return [String] attr_accessor :password + # Whether the scheduled fetch is paused or not. + # Corresponds to the JSON property `paused` + # @return [Boolean] + attr_accessor :paused + alias_method :paused?, :paused + # Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles". # Corresponds to the JSON property `timeZone` # @return [String] attr_accessor :time_zone @@ -1173,10 +1228,11 @@ @day_of_month = args[:day_of_month] if args.key?(:day_of_month) @fetch_url = args[:fetch_url] if args.key?(:fetch_url) @hour = args[:hour] if args.key?(:hour) @minute_of_hour = args[:minute_of_hour] if args.key?(:minute_of_hour) @password = args[:password] if args.key?(:password) + @paused = args[:paused] if args.key?(:paused) @time_zone = args[:time_zone] if args.key?(:time_zone) @username = args[:username] if args.key?(:username) @weekday = args[:weekday] if args.key?(:weekday) end end @@ -2267,11 +2323,11 @@ # Corresponds to the JSON property `placedDate` # @return [String] attr_accessor :placed_date # The details of the merchant provided promotions applied to the order. More - # details about the program are here. + # details about the program are here. # Corresponds to the JSON property `promotions` # @return [Array<Google::Apis::ContentV2::OrderPromotion>] attr_accessor :promotions # Refunds for the order. @@ -4925,11 +4981,11 @@ # Fixed shipping price, represented as a number. # Corresponds to the JSON property `price` # @return [Google::Apis::ContentV2::Price] attr_accessor :price - # The geographic region to which a shipping rate applies (e.g. zip code). + # The geographic region to which a shipping rate applies. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region # A free-form description of the service class or delivery speed. @@ -5045,10 +5101,15 @@ # The link to the product. # Corresponds to the JSON property `link` # @return [String] attr_accessor :link + # Product data. + # Corresponds to the JSON property `product` + # @return [Google::Apis::ContentV2::Product] + attr_accessor :product + # The id of the product for which status is reported. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id @@ -5068,10 +5129,11 @@ @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses) @google_expiration_date = args[:google_expiration_date] if args.key?(:google_expiration_date) @kind = args[:kind] if args.key?(:kind) @last_update_date = args[:last_update_date] if args.key?(:last_update_date) @link = args[:link] if args.key?(:link) + @product = args[:product] if args.key?(:product) @product_id = args[:product_id] if args.key?(:product_id) @title = args[:title] if args.key?(:title) end end @@ -5456,10 +5518,16 @@ # An entry ID, unique within the batch request. # Corresponds to the JSON property `batchId` # @return [Fixnum] attr_accessor :batch_id + # + # Corresponds to the JSON property `includeAttributes` + # @return [Boolean] + attr_accessor :include_attributes + alias_method :include_attributes?, :include_attributes + # The ID of the managing account. # Corresponds to the JSON property `merchantId` # @return [Fixnum] attr_accessor :merchant_id @@ -5478,10 +5546,11 @@ end # Update properties of this object def update!(**args) @batch_id = args[:batch_id] if args.key?(:batch_id) + @include_attributes = args[:include_attributes] if args.key?(:include_attributes) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) @request_method = args[:request_method] if args.key?(:request_method) @product_id = args[:product_id] if args.key?(:product_id) end end @@ -5993,10 +6062,10 @@ # Corresponds to the JSON property `predefinedDeliveryAddress` # @return [String] attr_accessor :predefined_delivery_address # The details of the merchant provided promotions applied to the order. More - # details about the program are here. + # details about the program are here. # Corresponds to the JSON property `promotions` # @return [Array<Google::Apis::ContentV2::OrderPromotion>] attr_accessor :promotions # The total cost of shipping for all items.