Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::Order.
An order for GDC hardware.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#billing_id
def billing_id() -> ::String
Returns
- (::String) — Required. The Google Cloud Billing ID to be charged for this order.
#billing_id=
def billing_id=(value) -> ::String
Parameter
- value (::String) — Required. The Google Cloud Billing ID to be charged for this order.
Returns
- (::String) — Required. The Google Cloud Billing ID to be charged for this order.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this order was created.
#customer_motivation
def customer_motivation() -> ::String
Returns
- (::String) — Required. Information about the customer's motivation for this order. The length of this field must be <= 1000 characters.
#customer_motivation=
def customer_motivation=(value) -> ::String
Parameter
- value (::String) — Required. Information about the customer's motivation for this order. The length of this field must be <= 1000 characters.
Returns
- (::String) — Required. Information about the customer's motivation for this order. The length of this field must be <= 1000 characters.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. Display name of this order.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Display name of this order.
Returns
- (::String) — Optional. Display name of this order.
#existing_hardware
def existing_hardware() -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation>
Returns
- (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation>) — Optional. Existing hardware to be removed as part of this order. Note: any hardware removed will be recycled unless otherwise agreed.
#existing_hardware=
def existing_hardware=(value) -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation>
Parameter
- value (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation>) — Optional. Existing hardware to be removed as part of this order. Note: any hardware removed will be recycled unless otherwise agreed.
Returns
- (::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation>) — Optional. Existing hardware to be removed as part of this order. Note: any hardware removed will be recycled unless otherwise agreed.
#fulfillment_time
def fulfillment_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Required. Customer specified deadline by when this order should be fulfilled.
#fulfillment_time=
def fulfillment_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Required. Customer specified deadline by when this order should be fulfilled.
Returns
- (::Google::Protobuf::Timestamp) — Required. Customer specified deadline by when this order should be fulfilled.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this order as key value pairs. For more information about labels, see Create and manage labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this order as key value pairs. For more information about labels, see Create and manage labels.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels associated with this order as key value pairs. For more information about labels, see Create and manage labels.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Name of this order.
Format:
projects/{project}/locations/{location}/orders/{order}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Name of this order.
Format:
projects/{project}/locations/{location}/orders/{order}
Returns
-
(::String) — Identifier. Name of this order.
Format:
projects/{project}/locations/{location}/orders/{order}
#order_form_uri
def order_form_uri() -> ::String
Returns
- (::String) — Output only. Link to the order form.
#organization_contact
def organization_contact() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact) — Required. Customer contact information.
#organization_contact=
def organization_contact=(value) -> ::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact
Parameter
- value (::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact) — Required. Customer contact information.
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact) — Required. Customer contact information.
#region_code
def region_code() -> ::String
Returns
- (::String) — Required. Unicode CLDR region code where this order will be deployed. For a list of valid CLDR region codes, see the Language Subtag Registry.
#region_code=
def region_code=(value) -> ::String
Parameter
- value (::String) — Required. Unicode CLDR region code where this order will be deployed. For a list of valid CLDR region codes, see the Language Subtag Registry.
Returns
- (::String) — Required. Unicode CLDR region code where this order will be deployed. For a list of valid CLDR region codes, see the Language Subtag Registry.
#state
def state() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Order::State
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::Order::State) — Output only. State of this order. On order creation, state will be set to DRAFT.
#submit_time
def submit_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when the order was submitted. Is auto-populated to the current time when an order is submitted.
#target_workloads
def target_workloads() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. Customer specified workloads of interest targeted by this order. This must contain <= 20 elements and the length of each element must be <= 50 characters.
#target_workloads=
def target_workloads=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. Customer specified workloads of interest targeted by this order. This must contain <= 20 elements and the length of each element must be <= 50 characters.
Returns
- (::Array<::String>) — Optional. Customer specified workloads of interest targeted by this order. This must contain <= 20 elements and the length of each element must be <= 50 characters.
#type
def type() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Order::Type
Returns
- (::Google::Cloud::GDCHardwareManagement::V1alpha::Order::Type) — Output only. Type of this Order.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this order was last updated.