Class: Google::Apis::MybusinessaccountmanagementV1::TargetLocation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetLocation

Returns a new instance of TargetLocation.



522
523
524
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 522

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#addressString

The address of the location to which the user is invited. Corresponds to the JSON property address

Returns:

  • (String)


515
516
517
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 515

def address
  @address
end

#location_nameString

The name of the location to which the user is invited. Corresponds to the JSON property locationName

Returns:

  • (String)


520
521
522
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 520

def location_name
  @location_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



527
528
529
530
# File 'lib/google/apis/mybusinessaccountmanagement_v1/classes.rb', line 527

def update!(**args)
  @address = args[:address] if args.key?(:address)
  @location_name = args[:location_name] if args.key?(:location_name)
end