Class: Google::Apis::DfareportingV4::PostalCodesListResponse
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::PostalCodesListResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Postal Code List Response
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#postal_codes ⇒ Array<Google::Apis::DfareportingV4::PostalCode>
Postal code collection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostalCodesListResponse
constructor
A new instance of PostalCodesListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostalCodesListResponse
Returns a new instance of PostalCodesListResponse.
9908 9909 9910 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9908 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#postalCodesListResponse".
Corresponds to the JSON property kind
9901 9902 9903 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9901 def kind @kind end |
#postal_codes ⇒ Array<Google::Apis::DfareportingV4::PostalCode>
Postal code collection.
Corresponds to the JSON property postalCodes
9906 9907 9908 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9906 def postal_codes @postal_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9913 9914 9915 9916 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 9913 def update!(**args) @kind = args[:kind] if args.key?(:kind) @postal_codes = args[:postal_codes] if args.key?(:postal_codes) end |