Class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig

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

A provisioning configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProvisioningConfig

Returns a new instance of ProvisioningConfig.



1302
1303
1304
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1302

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

Instance Attribute Details

#cloud_console_uriString

Output only. URI to Cloud Console UI view of this provisioning config. Corresponds to the JSON property cloudConsoleUri

Returns:

  • (String)


1247
1248
1249
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1247

def cloud_console_uri
  @cloud_console_uri
end

#emailString

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

Returns:

  • (String)


1253
1254
1255
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1253

def email
  @email
end

#handover_service_accountString

A service account to enable customers to access instance credentials upon handover. Corresponds to the JSON property handoverServiceAccount

Returns:

  • (String)


1259
1260
1261
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1259

def 
  @handover_service_account
end

#instancesArray<Google::Apis::BaremetalsolutionV2::InstanceConfig>

Instances to be created. Corresponds to the JSON property instances



1264
1265
1266
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1264

def instances
  @instances
end

#locationString

Optional. Location name of this ProvisioningConfig. It is optional only for Intake UI transition period. Corresponds to the JSON property location

Returns:

  • (String)


1270
1271
1272
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1270

def location
  @location
end

#nameString

Output only. The name of the provisioning config. Corresponds to the JSON property name

Returns:

  • (String)


1275
1276
1277
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1275

def name
  @name
end

#networksArray<Google::Apis::BaremetalsolutionV2::NetworkConfig>

Networks to be created. Corresponds to the JSON property networks



1280
1281
1282
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1280

def networks
  @networks
end

#stateString

Output only. State of ProvisioningConfig. Corresponds to the JSON property state

Returns:

  • (String)


1285
1286
1287
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1285

def state
  @state
end

#ticket_idString

A generated buganizer id to track provisioning request. Corresponds to the JSON property ticketId

Returns:

  • (String)


1290
1291
1292
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1290

def ticket_id
  @ticket_id
end

#update_timeString

Output only. Last update timestamp. Corresponds to the JSON property updateTime

Returns:

  • (String)


1295
1296
1297
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1295

def update_time
  @update_time
end

#volumesArray<Google::Apis::BaremetalsolutionV2::VolumeConfig>

Volumes to be created. Corresponds to the JSON property volumes



1300
1301
1302
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1300

def volumes
  @volumes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1307

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