Class: Google::Apis::IamV1::UndeleteServiceAccountResponse
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::UndeleteServiceAccountResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Instance Attribute Summary collapse
-
#restored_account ⇒ Google::Apis::IamV1::ServiceAccount
An IAM service account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UndeleteServiceAccountResponse
constructor
A new instance of UndeleteServiceAccountResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UndeleteServiceAccountResponse
Returns a new instance of UndeleteServiceAccountResponse.
2760 2761 2762 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#restored_account ⇒ Google::Apis::IamV1::ServiceAccount
An IAM service account. A service account is an account for an application or
a virtual machine (VM) instance, not a person. You can use a service account
to call Google APIs. To learn more, read the overview of service accounts. When you create
a service account, you specify the project ID that owns the service account,
as well as a name that must be unique within the project. IAM uses these
values to create an email address that identifies the service account. //
Corresponds to the JSON property restoredAccount
2758 2759 2760 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2758 def restored_account @restored_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2765 2766 2767 |
# File 'lib/google/apis/iam_v1/classes.rb', line 2765 def update!(**args) @restored_account = args[:restored_account] if args.key?(:restored_account) end |