Class: Google::Apis::ContentV2::AccountGoogleMyBusinessLink

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccountGoogleMyBusinessLink

Returns a new instance of AccountGoogleMyBusinessLink



163
164
165
# File 'generated/google/apis/content_v2/classes.rb', line 163

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

Instance Attribute Details

#gmb_emailString

The GMB email address. Corresponds to the JSON property gmbEmail

Returns:

  • (String)


156
157
158
# File 'generated/google/apis/content_v2/classes.rb', line 156

def gmb_email
  @gmb_email
end

#statusString

Status of the link between this Merchant Center account and the GMB account. Corresponds to the JSON property status

Returns:

  • (String)


161
162
163
# File 'generated/google/apis/content_v2/classes.rb', line 161

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



168
169
170
171
# File 'generated/google/apis/content_v2/classes.rb', line 168

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