Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole

Inherits:
Object
  • Object
show all
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 cloud console

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1ViolationRemediationInstructionsConsole.



635
636
637
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 635

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

Additional urls for more information about steps Corresponds to the JSON property additionalLinks

Returns:

  • (Array<String>)


623
624
625
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 623

def additional_links
  @additional_links
end

#console_urisArray<String>

Link to console page where violations can be resolved Corresponds to the JSON property consoleUris

Returns:

  • (Array<String>)


628
629
630
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 628

def console_uris
  @console_uris
end

#stepsArray<String>

Steps to resolve violation via cloud console Corresponds to the JSON property steps

Returns:

  • (Array<String>)


633
634
635
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 633

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



640
641
642
643
644
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 640

def update!(**args)
  @additional_links = args[:additional_links] if args.key?(:additional_links)
  @console_uris = args[:console_uris] if args.key?(:console_uris)
  @steps = args[:steps] if args.key?(:steps)
end