Class: Google::Apis::CloudcontrolspartnerV1::Console

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Console

Returns a new instance of Console.



135
136
137
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 135

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


123
124
125
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 123

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


128
129
130
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 128

def console_uris
  @console_uris
end

#stepsArray<String>

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

Returns:

  • (Array<String>)


133
134
135
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 133

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



140
141
142
143
144
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 140

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