Class: Google::Apis::RunV1::StartInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v1/classes.rb,
lib/google/apis/run_v1/representations.rb,
lib/google/apis/run_v1/representations.rb

Overview

Request message for starting a stopped Instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StartInstanceRequest

Returns a new instance of StartInstanceRequest.



6124
6125
6126
# File 'lib/google/apis/run_v1/classes.rb', line 6124

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

Instance Attribute Details

#dry_runString

Optional. Indicates that the server should validate the request and populate default values without persisting the request. Supported values: all Corresponds to the JSON property dryRun

Returns:

  • (String)


6122
6123
6124
# File 'lib/google/apis/run_v1/classes.rb', line 6122

def dry_run
  @dry_run
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6129
6130
6131
# File 'lib/google/apis/run_v1/classes.rb', line 6129

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