Class: Google::Apis::BaremetalsolutionV1alpha1::SubmitProvisioningConfigRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/baremetalsolution_v1alpha1/classes.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb,
lib/google/apis/baremetalsolution_v1alpha1/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.



403
404
405
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 403

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)


396
397
398
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 396

def email
  @email
end

#provisioning_configGoogle::Apis::BaremetalsolutionV1alpha1::ProvisioningConfig

An provisioning configuration. Corresponds to the JSON property provisioningConfig



401
402
403
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 401

def provisioning_config
  @provisioning_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



408
409
410
411
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 408

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