Class: Google::Apis::LifesciencesV2beta::Secret
- Inherits:
-
Object
- Object
- Google::Apis::LifesciencesV2beta::Secret
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/lifesciences_v2beta/classes.rb,
generated/google/apis/lifesciences_v2beta/representations.rb,
generated/google/apis/lifesciences_v2beta/representations.rb
Overview
Holds encrypted information that is only decrypted and stored in RAM by the worker VM when running the pipeline.
Instance Attribute Summary collapse
-
#cipher_text ⇒ String
The value of the cipherText response from the
encrypt
method. -
#key_name ⇒ String
The name of the Cloud KMS key that will be used to decrypt the secret value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Secret
constructor
A new instance of Secret.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Secret
Returns a new instance of Secret.
1044 1045 1046 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1044 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cipher_text ⇒ String
The value of the cipherText response from the encrypt
method. This field
is intentionally unaudited.
Corresponds to the JSON property cipherText
1035 1036 1037 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1035 def cipher_text @cipher_text end |
#key_name ⇒ String
The name of the Cloud KMS key that will be used to decrypt the secret
value. The VM service account must have the required permissions and
authentication scopes to invoke the decrypt
method on the specified key.
Corresponds to the JSON property keyName
1042 1043 1044 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1042 def key_name @key_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1049 1050 1051 1052 |
# File 'generated/google/apis/lifesciences_v2beta/classes.rb', line 1049 def update!(**args) @cipher_text = args[:cipher_text] if args.key?(:cipher_text) @key_name = args[:key_name] if args.key?(:key_name) end |