Class: Google::Apis::VaultV1::AddHeldAccountResult
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::AddHeldAccountResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb
Overview
A status detailing the status of each account creation, and the HeldAccount, if successful.
Instance Attribute Summary collapse
-
#account ⇒ Google::Apis::VaultV1::HeldAccount
An account being held in a particular hold.
-
#status ⇒ Google::Apis::VaultV1::Status
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddHeldAccountResult
constructor
A new instance of AddHeldAccountResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddHeldAccountResult
Returns a new instance of AddHeldAccountResult.
65 66 67 |
# File 'generated/google/apis/vault_v1/classes.rb', line 65 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Google::Apis::VaultV1::HeldAccount
An account being held in a particular hold. This structure is immutable.
This can be either a single user or a google group, depending on the corpus.
Corresponds to the JSON property account
53 54 55 |
# File 'generated/google/apis/vault_v1/classes.rb', line 53 def account @account end |
#status ⇒ Google::Apis::VaultV1::Status
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the
API Design Guide.
Corresponds to the JSON property status
63 64 65 |
# File 'generated/google/apis/vault_v1/classes.rb', line 63 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
70 71 72 73 |
# File 'generated/google/apis/vault_v1/classes.rb', line 70 def update!(**args) @account = args[:account] if args.key?(:account) @status = args[:status] if args.key?(:status) end |