class Google::Apis::ContentV2_1::TransitTable

Attributes

postal_code_group_names[RW]

A list of postal group names. The last value can be `“all other locations”`. Example: `[“zone 1”, “zone 2”, “all other locations”]`. The referred postal code groups must match the delivery country of the service. Corresponds to the JSON property `postalCodeGroupNames` @return [Array<String>]

rows[RW]

Corresponds to the JSON property `rows` @return [Array<Google::Apis::ContentV2_1::TransitTableTransitTimeRow>]

transit_time_labels[RW]

A list of transit time labels. The last value can be `“all other labels”`. Example: `[“food”, “electronics”, “all other labels”]`. Corresponds to the JSON property `transitTimeLabels` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 15437
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_1/classes.rb, line 15442
def update!(**args)
  @postal_code_group_names = args[:postal_code_group_names] if args.key?(:postal_code_group_names)
  @rows = args[:rows] if args.key?(:rows)
  @transit_time_labels = args[:transit_time_labels] if args.key?(:transit_time_labels)
end