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.



423
424
425
# File 'lib/google/apis/run_v2/classes.rb', line 423

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



421
422
423
# File 'lib/google/apis/run_v2/classes.rb', line 421

def secret_key_ref
  @secret_key_ref
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



428
429
430
# File 'lib/google/apis/run_v2/classes.rb', line 428

def update!(**args)
  @secret_key_ref = args[:secret_key_ref] if args.key?(:secret_key_ref)
end