Class: Google::Apis::MerchantapiAccountsV1beta::Handshake
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::Handshake
- 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
The current status of establishing of the service. (for example, pending approval, approved, established).
Instance Attribute Summary collapse
-
#actor ⇒ String
Output only.
-
#approval_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Handshake
constructor
A new instance of Handshake.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Handshake
Returns a new instance of Handshake.
1736 1737 1738 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actor ⇒ String
Output only. The most recent account to modify the account service's
approval_status.
Corresponds to the JSON property actor
1729 1730 1731 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1729 def actor @actor end |
#approval_state ⇒ String
Output only. The approval state of this handshake.
Corresponds to the JSON property approvalState
1734 1735 1736 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1734 def approval_state @approval_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1741 1742 1743 1744 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 1741 def update!(**args) @actor = args[:actor] if args.key?(:actor) @approval_state = args[:approval_state] if args.key?(:approval_state) end |