Class: Google::Apis::SecuritycenterV1beta2::Secret
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Secret
- 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
-
#environment_variable ⇒ Google::Apis::SecuritycenterV1beta2::SecretEnvironmentVariable
Corresponds to the JSON property
environmentVariable. -
#file_path ⇒ Google::Apis::SecuritycenterV1beta2::SecretFilePath
Corresponds to the JSON property
filePath. -
#status ⇒ Google::Apis::SecuritycenterV1beta2::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.
10891 10892 10893 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10891 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment_variable ⇒ Google::Apis::SecuritycenterV1beta2::SecretEnvironmentVariable
Corresponds to the JSON property environmentVariable
10874 10875 10876 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10874 def environment_variable @environment_variable end |
#file_path ⇒ Google::Apis::SecuritycenterV1beta2::SecretFilePath
Corresponds to the JSON property filePath
10879 10880 10881 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10879 def file_path @file_path end |
#status ⇒ Google::Apis::SecuritycenterV1beta2::SecretStatus
Corresponds to the JSON property status
10884 10885 10886 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10884 def status @status end |
#type ⇒ String
Corresponds to the JSON property type
10889 10890 10891 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10889 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10896 10897 10898 10899 10900 10901 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 10896 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 |