Class: Google::Apis::SecuritycenterV1beta1::SecretEnvironmentVariable

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecretEnvironmentVariable

Returns a new instance of SecretEnvironmentVariable.



11530
11531
11532
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11530

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


11528
11529
11530
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11528

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11535
11536
11537
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11535

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