Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretEnvironmentVariable
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretEnvironmentVariable
- 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
-
#key ⇒ String
Corresponds to the JSON property
key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2SecretEnvironmentVariable
constructor
A new instance of GoogleCloudSecuritycenterV2SecretEnvironmentVariable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2SecretEnvironmentVariable
Returns a new instance of GoogleCloudSecuritycenterV2SecretEnvironmentVariable.
9348 9349 9350 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9348 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Corresponds to the JSON property key
9346 9347 9348 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9346 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9353 9354 9355 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9353 def update!(**args) @key = args[:key] if args.key?(:key) end |