# GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::Order (v0.14.1)

0.14.1 (latest) 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 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

### #accepted_time

    def accepted_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the order was moved to ACCEPTED state.

### #actual_installation_date

    def actual_installation_date() -> ::Google::Type::Date

**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-Date)) --- Output only. Actual installation date for this order.

### #billing_id

    def billing_id() -> ::String

**Returns**

- (::String) --- Output only. The Google Cloud Billing ID to be charged for this order.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/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.

### #customer_requested_installation_date

    def customer_requested_installation_date() -> ::Google::Type::Date

**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-Date)) --- Optional. Customer requested installation date for this order.

### #customer_requested_installation_date=

    def customer_requested_installation_date=(value) -> ::Google::Type::Date

**Parameter**

- **value** ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-Date)) --- Optional. Customer requested installation date for this order.
**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-Date)) --- Optional. Customer requested installation date for this order.

### #deployment_type

    def deployment_type() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Order::DeploymentType

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Order::DeploymentType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Order-DeploymentType)) --- Output only. The deployment type of this order.

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

### #estimated_delivery_date

    def estimated_delivery_date() -> ::Google::Type::Date

**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-Date)) --- Output only. Estimated delivery date for this order.

### #estimated_installation_date

    def estimated_installation_date() -> ::Google::Type::Date

**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-Date)) --- Output only. Estimated installation date for this order.

### #existing_hardware

    def existing_hardware() -> ::Array<::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation>

**Returns**

- (::Array\<[::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareLocation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Protobuf-Timestamp)) --- Deprecated: Please use customer_requested_installation_date instead.

### #fulfillment_time=

    def fulfillment_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Protobuf-Timestamp)) --- Deprecated: Please use customer_requested_installation_date instead.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Protobuf-Timestamp)) --- Deprecated: Please use customer_requested_installation_date instead.

### #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](https://cloud.google.com/resource-manager/docs/creating-managing-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](https://cloud.google.com/resource-manager/docs/creating-managing-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](https://cloud.google.com/resource-manager/docs/creating-managing-labels).

### #migration

    def migration() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Whether this order is a migration from customer's existing infrastructure.

### #migration=

    def migration=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Whether this order is a migration from customer's existing infrastructure.
**Returns**

- (::Boolean) --- Optional. Whether this order is a migration from customer's existing infrastructure.

### #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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-OrganizationContact)) --- Required. Customer contact information.
**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-OrganizationContact)) --- Required. Customer contact information.

### #region_code

    def region_code() -> ::String

**Returns**

- (::String) --- Required. [Unicode CLDR](http://cldr.unicode.org/) region code where this order will be deployed. For a list of valid CLDR region codes, see the [Language Subtag
  Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).

### #region_code=

    def region_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. [Unicode CLDR](http://cldr.unicode.org/) region code where this order will be deployed. For a list of valid CLDR region codes, see the [Language Subtag
  Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).
**Returns**

- (::String) --- Required. [Unicode CLDR](http://cldr.unicode.org/) region code where this order will be deployed. For a list of valid CLDR region codes, see the [Language Subtag
  Registry](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry).

### #requested_date_change

    def requested_date_change() -> ::Google::Type::Date

**Returns**

- ([::Google::Type::Date](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Type-Date)) --- Output only. The date to which the customer or Google wants to set the scheduled installation date.

### #state

    def state() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Order::State

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Order::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Order-Type)) --- Output only. Type of this Order.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Protobuf-Timestamp)) --- Output only. Time when this order was last updated.

### #vendor_contact

    def vendor_contact() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::OrganizationContact](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-OrganizationContact)) --- Output only. Contact information of the SI assigned to this order.

### #vendor_notes

    def vendor_notes() -> ::String

**Returns**

- (::String) --- Output only. Notes for this order, provided by the vendor.