Class: Google::Apis::MybusinessbusinessinformationV1::Profile

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb

Overview

All information pertaining to the location's profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Profile

Returns a new instance of Profile.



1375
1376
1377
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1375

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

Instance Attribute Details

#descriptionString

Required. Description of the location in your own voice, not editable by anyone else. Corresponds to the JSON property description

Returns:

  • (String)


1373
1374
1375
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1373

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1380
1381
1382
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1380

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