Class: Google::Apis::ContentV2_1::GmbAccountsGmbAccount
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::GmbAccountsGmbAccount
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#email ⇒ String
The email which identifies the Business Profile.
-
#listing_count ⇒ Fixnum
Number of listings under this account.
-
#name ⇒ String
The name of the Business Profile.
-
#type ⇒ String
The type of the Business Profile (User or Business).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GmbAccountsGmbAccount
constructor
A new instance of GmbAccountsGmbAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GmbAccountsGmbAccount
Returns a new instance of GmbAccountsGmbAccount.
5009 5010 5011 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email which identifies the Business Profile.
Corresponds to the JSON property email
4992 4993 4994 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4992 def email @email end |
#listing_count ⇒ Fixnum
Number of listings under this account.
Corresponds to the JSON property listingCount
4997 4998 4999 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4997 def listing_count @listing_count end |
#name ⇒ String
The name of the Business Profile.
Corresponds to the JSON property name
5002 5003 5004 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5002 def name @name end |
#type ⇒ String
The type of the Business Profile (User or Business).
Corresponds to the JSON property type
5007 5008 5009 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5007 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5014 5015 5016 5017 5018 5019 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5014 def update!(**args) @email = args[:email] if args.key?(:email) @listing_count = args[:listing_count] if args.key?(:listing_count) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |