Class Order (0.1.3)

Order(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An order for GDC hardware.

Attributes

Name Description
name str
Identifier. Name of this order. Format: projects/{project}/locations/{location}/orders/{order}
display_name str
Optional. Display name of this order.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this order was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this order was last updated.
labels MutableMapping[str, str]
Optional. Labels associated with this order as key value pairs. For more information about labels, see `Create and manage labels
state google.cloud.gdchardwaremanagement_v1alpha.types.Order.State
Output only. State of this order. On order creation, state will be set to DRAFT.
organization_contact google.cloud.gdchardwaremanagement_v1alpha.types.OrganizationContact
Required. Customer contact information.
target_workloads MutableSequence[str]
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.="">
customer_motivation str
Required. Information about the customer's motivation for this order. The length of this field must be <= 1000="" characters.="">
fulfillment_time google.protobuf.timestamp_pb2.Timestamp
Required. Customer specified deadline by when this order should be fulfilled.
region_code str
Required. Unicode CLDR __ region code where this order will be deployed. For a list of valid CLDR region codes, see the `Language Subtag Registry
order_form_uri str
Output only. Link to the order form.
type_ google.cloud.gdchardwaremanagement_v1alpha.types.Order.Type
Output only. Type of this Order.
submit_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when the order was submitted. Is auto-populated to the current time when an order is submitted.
billing_id str
Required. The Google Cloud Billing ID to be charged for this order.
existing_hardware MutableSequence[google.cloud.gdchardwaremanagement_v1alpha.types.HardwareLocation]
Optional. Existing hardware to be removed as part of this order. Note: any hardware removed will be recycled unless otherwise agreed.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

Valid states of an order.

Type

Type(value)

Valid types of an Order.