Class: Google::Apis::BaremetalsolutionV2::SubmitProvisioningConfigRequest

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

Overview

Request for SubmitProvisioningConfig.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubmitProvisioningConfigRequest

Returns a new instance of SubmitProvisioningConfigRequest.



2349
2350
2351
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2349

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

Instance Attribute Details

#emailString

Optional. Email provided to send a confirmation with provisioning config to. Corresponds to the JSON property email

Returns:

  • (String)


2342
2343
2344
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2342

def email
  @email
end

#provisioning_configGoogle::Apis::BaremetalsolutionV2::ProvisioningConfig

A provisioning configuration. Corresponds to the JSON property provisioningConfig



2347
2348
2349
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2347

def provisioning_config
  @provisioning_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2354
2355
2356
2357
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 2354

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