Class: Google::Apis::ContentV2::GmbAccountsGmbAccount
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::GmbAccountsGmbAccount
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#email ⇒ String
The email which identifies the GMB account.
-
#listing_count ⇒ Fixnum
Number of listings under this account.
-
#name ⇒ String
The name of the GMB account.
-
#type ⇒ String
The type of the GMB account (User or Business).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GmbAccountsGmbAccount
constructor
A new instance of GmbAccountsGmbAccount.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ GmbAccountsGmbAccount
Returns a new instance of GmbAccountsGmbAccount
2076 2077 2078 |
# File 'generated/google/apis/content_v2/classes.rb', line 2076 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email which identifies the GMB account.
Corresponds to the JSON property email
2059 2060 2061 |
# File 'generated/google/apis/content_v2/classes.rb', line 2059 def email @email end |
#listing_count ⇒ Fixnum
Number of listings under this account.
Corresponds to the JSON property listingCount
2064 2065 2066 |
# File 'generated/google/apis/content_v2/classes.rb', line 2064 def listing_count @listing_count end |
#name ⇒ String
The name of the GMB account.
Corresponds to the JSON property name
2069 2070 2071 |
# File 'generated/google/apis/content_v2/classes.rb', line 2069 def name @name end |
#type ⇒ String
The type of the GMB account (User or Business).
Corresponds to the JSON property type
2074 2075 2076 |
# File 'generated/google/apis/content_v2/classes.rb', line 2074 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2081 2082 2083 2084 2085 2086 |
# File 'generated/google/apis/content_v2/classes.rb', line 2081 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 |