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.



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

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)


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

def gbp_email
  @gbp_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2169
2170
2171
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2169

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