Class: Google::Apis::DataprocV1::InjectSessionCredentialsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::InjectSessionCredentialsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
A request to inject credentials to a session.
Instance Attribute Summary collapse
-
#credentials_ciphertext ⇒ String
Required.
-
#request_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InjectSessionCredentialsRequest
constructor
A new instance of InjectSessionCredentialsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InjectSessionCredentialsRequest
Returns a new instance of InjectSessionCredentialsRequest.
2151 2152 2153 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#credentials_ciphertext ⇒ String
Required. The encrypted credentials being injected in to the session.The
client is responsible for encrypting the credentials in a way that is
supported by the session.A wrapped value is used here so that the actual
contents of the encrypted credentials are not written to audit logs.
Corresponds to the JSON property credentialsCiphertext
2137 2138 2139 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2137 def credentials_ciphertext @credentials_ciphertext end |
#request_id ⇒ String
Optional. A unique ID used to identify the request. If the service receives
two TerminateSessionRequest (https://cloud.google.com/dataproc/docs/reference/
rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)
s with the same ID, the first request is ignored to ensure the most recent
credentials are injected.Recommendation: Set this value to a UUID (https://en.
wikipedia.org/wiki/Universally_unique_identifier).The value must contain only
letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
maximum length is 40 characters.
Corresponds to the JSON property requestId
2149 2150 2151 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2149 def request_id @request_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2156 2157 2158 2159 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 2156 def update!(**args) @credentials_ciphertext = args[:credentials_ciphertext] if args.key?(:credentials_ciphertext) @request_id = args[:request_id] if args.key?(:request_id) end |