Class: Google::Apis::SecuritycenterV1beta1::Secret
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Secret
- 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
-
#environment_variable ⇒ Google::Apis::SecuritycenterV1beta1::SecretEnvironmentVariable
Corresponds to the JSON property
environmentVariable. -
#file_path ⇒ Google::Apis::SecuritycenterV1beta1::SecretFilePath
Corresponds to the JSON property
filePath. -
#status ⇒ Google::Apis::SecuritycenterV1beta1::SecretStatus
Corresponds to the JSON property
status. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Secret
constructor
A new instance of Secret.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Secret
Returns a new instance of Secret.
11496 11497 11498 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment_variable ⇒ Google::Apis::SecuritycenterV1beta1::SecretEnvironmentVariable
Corresponds to the JSON property environmentVariable
11479 11480 11481 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11479 def environment_variable @environment_variable end |
#file_path ⇒ Google::Apis::SecuritycenterV1beta1::SecretFilePath
Corresponds to the JSON property filePath
11484 11485 11486 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11484 def file_path @file_path end |
#status ⇒ Google::Apis::SecuritycenterV1beta1::SecretStatus
Corresponds to the JSON property status
11489 11490 11491 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11489 def status @status end |
#type ⇒ String
Corresponds to the JSON property type
11494 11495 11496 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11494 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11501 11502 11503 11504 11505 11506 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11501 def update!(**args) @environment_variable = args[:environment_variable] if args.key?(:environment_variable) @file_path = args[:file_path] if args.key?(:file_path) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end |