Class: Google::Apis::MerchantapiAccountsV1beta::TransitTimeRow

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb

Overview

If there's only one dimension set of postal_code_group_names or transit_time_labels, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a postal_code_group_names, and columns (values) to a transit_time_labels.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransitTimeRow

Returns a new instance of TransitTimeRow.



2857
2858
2859
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2857

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valuesArray<Google::Apis::MerchantapiAccountsV1beta::TransitTimeValue>

Required. Transit time range (min-max) in business days. Corresponds to the JSON property values



2855
2856
2857
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2855

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2862
2863
2864
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2862

def update!(**args)
  @values = args[:values] if args.key?(:values)
end