Class: Google::Apis::SecuritycenterV1::SecretEnvironmentVariable
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::SecretEnvironmentVariable
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#key ⇒ String
Corresponds to the JSON property
key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecretEnvironmentVariable
constructor
A new instance of SecretEnvironmentVariable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecretEnvironmentVariable
Returns a new instance of SecretEnvironmentVariable.
12488 12489 12490 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12488 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Corresponds to the JSON property key
12486 12487 12488 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12486 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12493 12494 12495 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12493 def update!(**args) @key = args[:key] if args.key?(:key) end |