Class: Google::Apis::CloudcontrolspartnerV1::Instructions

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

Instructions to remediate violation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Instructions

Returns a new instance of Instructions.



372
373
374
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 372

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

Instance Attribute Details

#console_instructionsGoogle::Apis::CloudcontrolspartnerV1::Console

Remediation instructions to resolve violation via cloud console Corresponds to the JSON property consoleInstructions



365
366
367
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 365

def console_instructions
  @console_instructions
end

#gcloud_instructionsGoogle::Apis::CloudcontrolspartnerV1::Gcloud

Remediation instructions to resolve violation via gcloud cli Corresponds to the JSON property gcloudInstructions



370
371
372
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 370

def gcloud_instructions
  @gcloud_instructions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



377
378
379
380
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 377

def update!(**args)
  @console_instructions = args[:console_instructions] if args.key?(:console_instructions)
  @gcloud_instructions = args[:gcloud_instructions] if args.key?(:gcloud_instructions)
end