Class: Google::Apis::SecuritycenterV1beta2::SecretEnvironmentVariable
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::SecretEnvironmentVariable
- 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
-
#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.
10913 10914 10915 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Corresponds to the JSON property key
10911 10912 10913 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10911 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10918 10919 10920 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10918 def update!(**args) @key = args[:key] if args.key?(:key) end |