Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicy
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicy
- 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
-
#failure_reason ⇒ String
Corresponds to the JSON property
failureReason. -
#policy_id ⇒ String
Corresponds to the JSON property
policyId. -
#type ⇒ String
Corresponds to the JSON property
type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ArtifactGuardPolicy
constructor
A new instance of GoogleCloudSecuritycenterV2ArtifactGuardPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ArtifactGuardPolicy
Returns a new instance of GoogleCloudSecuritycenterV2ArtifactGuardPolicy.
4489 4490 4491 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_reason ⇒ String
Corresponds to the JSON property failureReason
4477 4478 4479 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4477 def failure_reason @failure_reason end |
#policy_id ⇒ String
Corresponds to the JSON property policyId
4482 4483 4484 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4482 def policy_id @policy_id end |
#type ⇒ String
Corresponds to the JSON property type
4487 4488 4489 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4487 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4494 4495 4496 4497 4498 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4494 def update!(**args) @failure_reason = args[:failure_reason] if args.key?(:failure_reason) @policy_id = args[:policy_id] if args.key?(:policy_id) @type = args[:type] if args.key?(:type) end |