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.
-
#custom_id ⇒ String
Optional.
-
#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.
-
#status_message ⇒ String
Optional status messages associated with the FAILED state.
-
#ticket_id ⇒ String
A generated ticket id to track provisioning request.
-
#update_time ⇒ String
Output only.
-
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV2::VolumeConfig>
Volumes to be created.
-
#vpc_sc_enabled ⇒ Boolean
(also: #vpc_sc_enabled?)
If true, VPC SC is enabled for the cluster.
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.
1731 1732 1733 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1731 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
1659 1660 1661 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1659 def cloud_console_uri @cloud_console_uri end |
#custom_id ⇒ String
Optional. The user-defined identifier of the provisioning config.
Corresponds to the JSON property customId
1664 1665 1666 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1664 def custom_id @custom_id 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
1670 1671 1672 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1670 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
1676 1677 1678 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1676 def handover_service_account @handover_service_account end |
#instances ⇒ Array<Google::Apis::BaremetalsolutionV2::InstanceConfig>
Instances to be created.
Corresponds to the JSON property instances
1681 1682 1683 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1681 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
1687 1688 1689 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1687 def location @location end |
#name ⇒ String
Output only. The system-generated name of the provisioning config. This
follows the UUID format.
Corresponds to the JSON property name
1693 1694 1695 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1693 def name @name end |
#networks ⇒ Array<Google::Apis::BaremetalsolutionV2::NetworkConfig>
Networks to be created.
Corresponds to the JSON property networks
1698 1699 1700 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1698 def networks @networks end |
#state ⇒ String
Output only. State of ProvisioningConfig.
Corresponds to the JSON property state
1703 1704 1705 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1703 def state @state end |
#status_message ⇒ String
Optional status messages associated with the FAILED state.
Corresponds to the JSON property statusMessage
1708 1709 1710 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1708 def @status_message end |
#ticket_id ⇒ String
A generated ticket id to track provisioning request.
Corresponds to the JSON property ticketId
1713 1714 1715 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1713 def ticket_id @ticket_id end |
#update_time ⇒ String
Output only. Last update timestamp.
Corresponds to the JSON property updateTime
1718 1719 1720 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1718 def update_time @update_time end |
#volumes ⇒ Array<Google::Apis::BaremetalsolutionV2::VolumeConfig>
Volumes to be created.
Corresponds to the JSON property volumes
1723 1724 1725 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1723 def volumes @volumes end |
#vpc_sc_enabled ⇒ Boolean Also known as: vpc_sc_enabled?
If true, VPC SC is enabled for the cluster.
Corresponds to the JSON property vpcScEnabled
1728 1729 1730 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1728 def vpc_sc_enabled @vpc_sc_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 |
# File 'lib/google/apis/baremetalsolution_v2/classes.rb', line 1736 def update!(**args) @cloud_console_uri = args[:cloud_console_uri] if args.key?(:cloud_console_uri) @custom_id = args[:custom_id] if args.key?(:custom_id) @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) @status_message = args[:status_message] if args.key?(:status_message) @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) @vpc_sc_enabled = args[:vpc_sc_enabled] if args.key?(:vpc_sc_enabled) end |