Class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV2::ProvisioningConfig
- 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
A provisioning configuration.
Instance Attribute Summary collapse
-
#handover_service_account ⇒ String
A service account to enable customers to access instance credentials upon handover.
-
#instances ⇒ Array<Google::Apis::BaremetalsolutionV2::InstanceConfig>
Instances to be created.
-
#name ⇒ String
Output only.
-
#networks ⇒ Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>
Networks to be created.
-
#ticket_id ⇒ String
A generated buganizer id to track provisioning request.
-
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV2::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.
1157 1158 1159 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#handover_service_account ⇒ String
A service account to enable customers to access instance credentials upon
handover.
Corresponds to the JSON property handoverServiceAccount
1130 1131 1132 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1130 def handover_service_account @handover_service_account end |
#instances ⇒ Array<Google::Apis::BaremetalsolutionV2::InstanceConfig>
Instances to be created.
Corresponds to the JSON property instances
1135 1136 1137 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1135 def instances @instances end |
#name ⇒ String
Output only. The name of the provisioning config.
Corresponds to the JSON property name
1140 1141 1142 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1140 def name @name end |
#networks ⇒ Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>
Networks to be created.
Corresponds to the JSON property networks
1145 1146 1147 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1145 def networks @networks end |
#ticket_id ⇒ String
A generated buganizer id to track provisioning request.
Corresponds to the JSON property ticketId
1150 1151 1152 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1150 def ticket_id @ticket_id end |
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV2::VolumeConfig>
Volumes to be created.
Corresponds to the JSON property volumes
1155 1156 1157 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1155 def volumes @volumes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1162 1163 1164 1165 1166 1167 1168 1169 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1162 def update!(**args) @handover_service_account = args[:handover_service_account] if args.key?(:handover_service_account) @instances = args[:instances] if args.key?(:instances) @name = args[:name] if args.key?(:name) @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 |