Class: Google::Apis::WalletobjectsV1::EventVenue
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::EventVenue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Instance Attribute Summary collapse
-
#address ⇒ Google::Apis::WalletobjectsV1::LocalizedString
The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA 94107".
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ Google::Apis::WalletobjectsV1::LocalizedString
The name of the venue, such as "AT&T Park".
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventVenue
constructor
A new instance of EventVenue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventVenue
Returns a new instance of EventVenue.
2242 2243 2244 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::WalletobjectsV1::LocalizedString
The address of the venue, such as "24 Willie Mays Plaza\nSan Francisco, CA
94107". Address lines are separated by line feed (\n
) characters. This is
required.
Corresponds to the JSON property address
2229 2230 2231 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2229 def address @address end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
walletobjects#eventVenue"
.
Corresponds to the JSON property kind
2235 2236 2237 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2235 def kind @kind end |
#name ⇒ Google::Apis::WalletobjectsV1::LocalizedString
The name of the venue, such as "AT&T Park". This is required.
Corresponds to the JSON property name
2240 2241 2242 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2240 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2247 2248 2249 2250 2251 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 2247 def update!(**args) @address = args[:address] if args.key?(:address) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |