Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1beta1/classes.rb,
lib/google/apis/assuredworkloads_v1beta1/representations.rb,
lib/google/apis/assuredworkloads_v1beta1/representations.rb
Overview
Remediation instructions to resolve violation via gcloud cli
Instance Attribute Summary collapse
-
#additional_links ⇒ Array<String>
Additional urls for more information about steps Corresponds to the JSON property
additionalLinks
. -
#gcloud_commands ⇒ Array<String>
Gcloud command to resolve violation Corresponds to the JSON property
gcloudCommands
. -
#steps ⇒ Array<String>
Steps to resolve violation via gcloud cli Corresponds to the JSON property
steps
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud
constructor
A new instance of GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud
Returns a new instance of GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsGcloud.
666 667 668 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_links ⇒ Array<String>
Additional urls for more information about steps
Corresponds to the JSON property additionalLinks
654 655 656 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 654 def additional_links @additional_links end |
#gcloud_commands ⇒ Array<String>
Gcloud command to resolve violation
Corresponds to the JSON property gcloudCommands
659 660 661 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 659 def gcloud_commands @gcloud_commands end |
#steps ⇒ Array<String>
Steps to resolve violation via gcloud cli
Corresponds to the JSON property steps
664 665 666 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 664 def steps @steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
671 672 673 674 675 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 671 def update!(**args) @additional_links = args[:additional_links] if args.key?(:additional_links) @gcloud_commands = args[:gcloud_commands] if args.key?(:gcloud_commands) @steps = args[:steps] if args.key?(:steps) end |