Class: Google::Apis::PlusDomainsV1::Place
- Inherits:
-
Object
- Object
- Google::Apis::PlusDomainsV1::Place
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#address ⇒ Google::Apis::PlusDomainsV1::Place::Address
The physical address of the place.
-
#display_name ⇒ String
The display name of the place.
-
#id ⇒ String
The id of the place.
-
#kind ⇒ String
Identifies this resource as a place.
-
#position ⇒ Google::Apis::PlusDomainsV1::Place::Position
The position of the place.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Place
constructor
A new instance of Place.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Place
Returns a new instance of Place
2474 2475 2476 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ Google::Apis::PlusDomainsV1::Place::Address
The physical address of the place.
Corresponds to the JSON property address
2452 2453 2454 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2452 def address @address end |
#display_name ⇒ String
The display name of the place.
Corresponds to the JSON property displayName
2457 2458 2459 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2457 def display_name @display_name end |
#id ⇒ String
The id of the place.
Corresponds to the JSON property id
2462 2463 2464 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2462 def id @id end |
#kind ⇒ String
Identifies this resource as a place. Value: "plus#place".
Corresponds to the JSON property kind
2467 2468 2469 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2467 def kind @kind end |
#position ⇒ Google::Apis::PlusDomainsV1::Place::Position
The position of the place.
Corresponds to the JSON property position
2472 2473 2474 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2472 def position @position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2479 2480 2481 2482 2483 2484 2485 |
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 2479 def update!(**args) @address = args[:address] if args.key?(:address) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @position = args[:position] if args.key?(:position) end |