Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretEnvironmentVariable

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2SecretEnvironmentVariable

Returns a new instance of GoogleCloudSecuritycenterV2SecretEnvironmentVariable.



9167
9168
9169
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9167

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


9165
9166
9167
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9165

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9172
9173
9174
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9172

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