Class: Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
EnvVarSource represents a source for the value of an EnvVar.
Instance Attribute Summary collapse
-
#secret_key_ref ⇒ Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector
SecretEnvVarSource represents a source for the value of an EnvVar.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2EnvVarSource
constructor
A new instance of GoogleCloudRunV2EnvVarSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2EnvVarSource
Returns a new instance of GoogleCloudRunV2EnvVarSource.
488 489 490 |
# File 'lib/google/apis/run_v2/classes.rb', line 488 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_key_ref ⇒ Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector
SecretEnvVarSource represents a source for the value of an EnvVar.
Corresponds to the JSON property secretKeyRef
486 487 488 |
# File 'lib/google/apis/run_v2/classes.rb', line 486 def secret_key_ref @secret_key_ref end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
493 494 495 |
# File 'lib/google/apis/run_v2/classes.rb', line 493 def update!(**args) @secret_key_ref = args[:secret_key_ref] if args.key?(:secret_key_ref) end |