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.



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

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

Instance Attribute Details

#handover_service_accountString

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

Returns:

  • (String)


1130
1131
1132
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1130

def 
  @handover_service_account
end

#instancesArray<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

#nameString

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

Returns:

  • (String)


1140
1141
1142
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1140

def name
  @name
end

#networksArray<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_idString

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

Returns:

  • (String)


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

def ticket_id
  @ticket_id
end

#volumesArray<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