Class: Google::Apis::IamV1::DisableServiceAccountKeyRequest
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::DisableServiceAccountKeyRequest
- 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
Overview
The service account key disable request.
Instance Attribute Summary collapse
-
#extended_status_message ⇒ String
Optional.
-
#service_account_key_disable_reason ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DisableServiceAccountKeyRequest
constructor
A new instance of DisableServiceAccountKeyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DisableServiceAccountKeyRequest
Returns a new instance of DisableServiceAccountKeyRequest.
467 468 469 |
# File 'lib/google/apis/iam_v1/classes.rb', line 467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#extended_status_message ⇒ String
Optional. Usable by internal google services only. An extended_status_message
can be used to include additional information about the key, such as its
private key data being exposed on a public repository like GitHub.
Corresponds to the JSON property extendedStatusMessage
458 459 460 |
# File 'lib/google/apis/iam_v1/classes.rb', line 458 def @extended_status_message end |
#service_account_key_disable_reason ⇒ String
Optional. Describes the reason this key is being disabled. If unspecified, the
default value of SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED will be
used.
Corresponds to the JSON property serviceAccountKeyDisableReason
465 466 467 |
# File 'lib/google/apis/iam_v1/classes.rb', line 465 def service_account_key_disable_reason @service_account_key_disable_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
472 473 474 475 |
# File 'lib/google/apis/iam_v1/classes.rb', line 472 def update!(**args) @extended_status_message = args[:extended_status_message] if args.key?(:extended_status_message) @service_account_key_disable_reason = args[:service_account_key_disable_reason] if args.key?(:service_account_key_disable_reason) end |