Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole

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

Remediation instructions to resolve violation via cloud console

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole

Returns a new instance of GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole.



648
649
650
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 648

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>)


636
637
638
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 636

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>)


641
642
643
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 641

def console_uris
  @console_uris
end

#stepsArray<String>

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

Returns:

  • (Array<String>)


646
647
648
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 646

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



653
654
655
656
657
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 653

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