Class: Google::Apis::MybusinessaccountmanagementV1::TargetLocation
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessaccountmanagementV1::TargetLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessaccountmanagement_v1/classes.rb,
lib/google/apis/mybusinessaccountmanagement_v1/representations.rb,
lib/google/apis/mybusinessaccountmanagement_v1/representations.rb
Overview
Represents a target location for a pending invitation.
Instance Attribute Summary collapse
-
#address ⇒ String
The address of the location to which the user is invited.
-
#location_name ⇒ String
The name of the location to which the user is invited.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetLocation
constructor
A new instance of TargetLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetLocation
Returns a new instance of TargetLocation.
521 522 523 |
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 521 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
The address of the location to which the user is invited.
Corresponds to the JSON property address
514 515 516 |
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 514 def address @address end |
#location_name ⇒ String
The name of the location to which the user is invited.
Corresponds to the JSON property locationName
519 520 521 |
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 519 def location_name @location_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
526 527 528 529 |
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 526 def update!(**args) @address = args[:address] if args.key?(:address) @location_name = args[:location_name] if args.key?(:location_name) end |