Class: Google::Apis::ContentV2::AccountGoogleMyBusinessLink
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountGoogleMyBusinessLink
- 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
-
#gmb_email ⇒ String
The GMB email address of which a specific account within a GMB account.
-
#status ⇒ String
Status of the link between this Merchant Center account and the GMB account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountGoogleMyBusinessLink
constructor
A new instance of AccountGoogleMyBusinessLink.
-
#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) ⇒ AccountGoogleMyBusinessLink
Returns a new instance of AccountGoogleMyBusinessLink
278 279 280 |
# File 'generated/google/apis/content_v2/classes.rb', line 278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gmb_email ⇒ String
The GMB email address of which a specific account within a GMB account. A
sample account within a GMB account could be a business account with set of
locations, managed under the GMB account.
Corresponds to the JSON property gmbEmail
271 272 273 |
# File 'generated/google/apis/content_v2/classes.rb', line 271 def gmb_email @gmb_email end |
#status ⇒ String
Status of the link between this Merchant Center account and the GMB account.
Corresponds to the JSON property status
276 277 278 |
# File 'generated/google/apis/content_v2/classes.rb', line 276 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
283 284 285 286 |
# File 'generated/google/apis/content_v2/classes.rb', line 283 def update!(**args) @gmb_email = args[:gmb_email] if args.key?(:gmb_email) @status = args[:status] if args.key?(:status) end |