Class: Google::Apis::MerchantapiAccountsV1beta::LinkGbpAccountRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb

Overview

Request message for the LinkGbpAccount method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkGbpAccountRequest

Returns a new instance of LinkGbpAccountRequest.



2158
2159
2160
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2158

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

Instance Attribute Details

#gbp_emailString

Required. The email address of the Business Profile account. Corresponds to the JSON property gbpEmail

Returns:

  • (String)


2156
2157
2158
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2156

def gbp_email
  @gbp_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2163
2164
2165
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2163

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