Class: Google::Apis::BaremetalsolutionV1alpha1::ProvisioningConfig
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV1alpha1::ProvisioningConfig
- 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
An provisioning configuration.
Instance Attribute Summary collapse
-
#instances ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::InstanceConfig>
Instances to be created.
-
#networks ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::NetworkConfig>
Networks to be created.
-
#ticket_id ⇒ String
A reference to track the request.
-
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::VolumeConfig>
Volumes to be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProvisioningConfig
constructor
A new instance of ProvisioningConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProvisioningConfig
Returns a new instance of ProvisioningConfig.
357 358 359 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::InstanceConfig>
Instances to be created.
Corresponds to the JSON property instances
340 341 342 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 340 def instances @instances end |
#networks ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::NetworkConfig>
Networks to be created.
Corresponds to the JSON property networks
345 346 347 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 345 def networks @networks end |
#ticket_id ⇒ String
A reference to track the request.
Corresponds to the JSON property ticketId
350 351 352 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 350 def ticket_id @ticket_id end |
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV1alpha1::VolumeConfig>
Volumes to be created.
Corresponds to the JSON property volumes
355 356 357 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 355 def volumes @volumes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 365 366 367 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 362 def update!(**args) @instances = args[:instances] if args.key?(:instances) @networks = args[:networks] if args.key?(:networks) @ticket_id = args[:ticket_id] if args.key?(:ticket_id) @volumes = args[:volumes] if args.key?(:volumes) end |