Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Secret
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Secret
- 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::GoogleCloudSecuritycenterV2SecretEnvironmentVariable
Corresponds to the JSON property
environmentVariable. -
#file_path ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretFilePath
Corresponds to the JSON property
filePath. -
#status ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretStatus
Corresponds to the JSON property
status. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Secret
constructor
A new instance of GoogleCloudSecuritycenterV2Secret.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Secret
Returns a new instance of GoogleCloudSecuritycenterV2Secret.
9326 9327 9328 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment_variable ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretEnvironmentVariable
Corresponds to the JSON property environmentVariable
9309 9310 9311 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9309 def environment_variable @environment_variable end |
#file_path ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretFilePath
Corresponds to the JSON property filePath
9314 9315 9316 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9314 def file_path @file_path end |
#status ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecretStatus
Corresponds to the JSON property status
9319 9320 9321 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9319 def status @status end |
#type ⇒ String
Corresponds to the JSON property type
9324 9325 9326 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9324 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9331 9332 9333 9334 9335 9336 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9331 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 |