Class: Google::Apis::MerchantapiAccountsV1beta::GetAccountForGcpRegistrationResponse

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

Response message for the GetAccountForGcpRegistration method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetAccountForGcpRegistrationResponse

Returns a new instance of GetAccountForGcpRegistrationResponse.



1716
1717
1718
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1716

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

Instance Attribute Details

#nameString

The name of the merchant account id that the GCP is registered with. Corresponds to the JSON property name

Returns:

  • (String)


1714
1715
1716
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1714

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1721
1722
1723
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1721

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