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.



1205
1206
1207
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1205

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)


1150
1151
1152
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1150

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)


1156
1157
1158
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1156

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)


1162
1163
1164
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1162

def 
  @handover_service_account
end

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

Instances to be created. Corresponds to the JSON property instances



1167
1168
1169
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1167

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)


1173
1174
1175
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1173

def location
  @location
end

#nameString

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

Returns:

  • (String)


1178
1179
1180
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1178

def name
  @name
end

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

Networks to be created. Corresponds to the JSON property networks



1183
1184
1185
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1183

def networks
  @networks
end

#stateString

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

Returns:

  • (String)


1188
1189
1190
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1188

def state
  @state
end

#ticket_idString

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

Returns:

  • (String)


1193
1194
1195
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1193

def ticket_id
  @ticket_id
end

#update_timeString

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

Returns:

  • (String)


1198
1199
1200
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1198

def update_time
  @update_time
end

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

Volumes to be created. Corresponds to the JSON property volumes



1203
1204
1205
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1203

def volumes
  @volumes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1210

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