Class: Google::Apis::MerchantapiAccountsV1beta::LinkGbpAccountRequest
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::LinkGbpAccountRequest
- 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
-
#gbp_email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkGbpAccountRequest
constructor
A new instance of LinkGbpAccountRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_email ⇒ String
Required. The email address of the Business Profile account.
Corresponds to the JSON property gbpEmail
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 |