Class: Google::Apis::CloudcontrolspartnerV1::Gcloud
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::Gcloud
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/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) ⇒ Gcloud
constructor
A new instance of Gcloud.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Gcloud
Returns a new instance of Gcloud.
346 347 348 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 346 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
334 335 336 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 334 def additional_links @additional_links end |
#gcloud_commands ⇒ Array<String>
Gcloud command to resolve violation
Corresponds to the JSON property gcloudCommands
339 340 341 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 339 def gcloud_commands @gcloud_commands end |
#steps ⇒ Array<String>
Steps to resolve violation via gcloud cli
Corresponds to the JSON property steps
344 345 346 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 344 def steps @steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
351 352 353 354 355 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 351 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 |