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.



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

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)


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

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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