Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::Sku.
A stock keeping unit (SKU) of GDC hardware.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config
def config() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::SkuConfig
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::SkuConfig) — Output only. Configuration for this SKU.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this SKU was created.
#description
def description() -> ::String
Returns
- (::String) — Output only. Description of this SKU.
#display_name
def display_name() -> ::String
Returns
- (::String) — Output only. Display name of this SKU.
#instances
def instances() -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::SkuInstance>
Returns
- (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::SkuInstance>) — Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.
#is_active
def is_active() -> ::Boolean
Returns
- (::Boolean) — Output only. Flag to indicate whether or not this revision is active. Only an active revision can be used in a new Order.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Name of this SKU.
Format:
projects/{project}/locations/{location}/skus/{sku}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Name of this SKU.
Format:
projects/{project}/locations/{location}/skus/{sku}
Returns
-
(::String) — Identifier. Name of this SKU.
Format:
projects/{project}/locations/{location}/skus/{sku}
#revision_id
def revision_id() -> ::String
Returns
-
(::String) — Output only. The SKU revision ID.
A new revision is created whenever
config
is updated. The format is an 8-character hexadecimal string.
#type
def type() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Sku::Type
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::Sku::Type) — Output only. Type of this SKU.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this SKU was last updated.
#vcpu_count
def vcpu_count() -> ::Integer
Returns
- (::Integer) — Output only. The vCPU count associated with this SKU.