Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb
Overview
Instructions to remediate violation
Instance Attribute Summary collapse
-
#console_instructions ⇒ Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole
Remediation instructions to resolve violation via cloud console Corresponds to the JSON property
consoleInstructions
. -
#gcloud_instructions ⇒ Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud
Remediation instructions to resolve violation via gcloud cli Corresponds to the JSON property
gcloudInstructions
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions
constructor
A new instance of GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions
Returns a new instance of GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions.
618 619 620 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 618 def initialize(**args) update!(**args) end |
Instance Attribute Details
#console_instructions ⇒ Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole
Remediation instructions to resolve violation via cloud console
Corresponds to the JSON property consoleInstructions
611 612 613 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 611 def console_instructions @console_instructions end |
#gcloud_instructions ⇒ Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud
Remediation instructions to resolve violation via gcloud cli
Corresponds to the JSON property gcloudInstructions
616 617 618 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 616 def gcloud_instructions @gcloud_instructions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
623 624 625 626 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 623 def update!(**args) @console_instructions = args[:console_instructions] if args.key?(:console_instructions) @gcloud_instructions = args[:gcloud_instructions] if args.key?(:gcloud_instructions) end |