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
-
#cloud_console_uri ⇒ String
Output only.
-
#email ⇒ String
Email provided to send a confirmation with provisioning config to.
-
#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.
-
#location ⇒ String
Optional.
-
#name ⇒ String
Output only.
-
#networks ⇒ Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>
Networks to be created.
-
#state ⇒ String
Output only.
-
#ticket_id ⇒ String
A generated buganizer id to track provisioning request.
-
#update_time ⇒ String
Output only.
-
#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.
1294 1295 1296 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1294 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_console_uri ⇒ String
Output only. URI to Cloud Console UI view of this provisioning config.
Corresponds to the JSON property cloudConsoleUri
1239 1240 1241 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1239 def cloud_console_uri @cloud_console_uri end |
#email ⇒ String
Email provided to send a confirmation with provisioning config to. Deprecated
in favour of email field in request messages.
Corresponds to the JSON property email
1245 1246 1247 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1245 def email @email end |
#handover_service_account ⇒ String
A service account to enable customers to access instance credentials upon
handover.
Corresponds to the JSON property handoverServiceAccount
1251 1252 1253 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1251 def handover_service_account @handover_service_account end |
#instances ⇒ Array<Google::Apis::BaremetalsolutionV2::InstanceConfig>
Instances to be created.
Corresponds to the JSON property instances
1256 1257 1258 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1256 def instances @instances end |
#location ⇒ String
Optional. Location name of this ProvisioningConfig. It is optional only for
Intake UI transition period.
Corresponds to the JSON property location
1262 1263 1264 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1262 def location @location end |
#name ⇒ String
Output only. The name of the provisioning config.
Corresponds to the JSON property name
1267 1268 1269 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1267 def name @name end |
#networks ⇒ Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>
Networks to be created.
Corresponds to the JSON property networks
1272 1273 1274 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1272 def networks @networks end |
#state ⇒ String
Output only. State of ProvisioningConfig.
Corresponds to the JSON property state
1277 1278 1279 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1277 def state @state end |
#ticket_id ⇒ String
A generated buganizer id to track provisioning request.
Corresponds to the JSON property ticketId
1282 1283 1284 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1282 def ticket_id @ticket_id end |
#update_time ⇒ String
Output only. Last update timestamp.
Corresponds to the JSON property updateTime
1287 1288 1289 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1287 def update_time @update_time end |
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV2::VolumeConfig>
Volumes to be created.
Corresponds to the JSON property volumes
1292 1293 1294 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1292 def volumes @volumes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1299 def update!(**args) @cloud_console_uri = args[:cloud_console_uri] if args.key?(:cloud_console_uri) @email = args[:email] if args.key?(:email) @handover_service_account = args[:handover_service_account] if args.key?(:handover_service_account) @instances = args[:instances] if args.key?(:instances) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @networks = args[:networks] if args.key?(:networks) @state = args[:state] if args.key?(:state) @ticket_id = args[:ticket_id] if args.key?(:ticket_id) @update_time = args[:update_time] if args.key?(:update_time) @volumes = args[:volumes] if args.key?(:volumes) end |