class Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry

A batch entry encoding a single non-batch datafeedstatuses request.

Attributes

batch_id[RW]

An entry ID, unique within the batch request. Corresponds to the JSON property `batchId` @return [Fixnum]

country[RW]

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. Corresponds to the JSON property `country` @return [String]

datafeed_id[RW]

The ID of the data feed to get. Corresponds to the JSON property `datafeedId` @return [Fixnum]

language[RW]

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. Corresponds to the JSON property `language` @return [String]

merchant_id[RW]

The ID of the managing account. Corresponds to the JSON property `merchantId` @return [Fixnum]

request_method[RW]

The method of the batch entry. Acceptable values are: - “`get`” Corresponds to the JSON property `method` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 2401
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 2406
def update!(**args)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @country = args[:country] if args.key?(:country)
  @datafeed_id = args[:datafeed_id] if args.key?(:datafeed_id)
  @language = args[:language] if args.key?(:language)
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
  @request_method = args[:request_method] if args.key?(:request_method)
end