Class: Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_refGoogle::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