Assured Workloads for Government V1beta1 API - Class Google::Cloud::AssuredWorkloads::V1beta1::CreateWorkloadRequest (v0.17.0)

Reference documentation and code samples for the Assured Workloads for Government V1beta1 API class Google::Cloud::AssuredWorkloads::V1beta1::CreateWorkloadRequest.

Request for creating a workload.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#external_id

def external_id() -> ::String
Returns
  • (::String) — Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.

#external_id=

def external_id=(value) -> ::String
Parameter
  • value (::String) — Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
Returns
  • (::String) — Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the new Workload's parent. Must be of the form organizations/{org_id}/locations/{location_id}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the new Workload's parent. Must be of the form organizations/{org_id}/locations/{location_id}.
Returns
  • (::String) — Required. The resource name of the new Workload's parent. Must be of the form organizations/{org_id}/locations/{location_id}.

#workload

def workload() -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload
Returns

#workload=

def workload=(value) -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload
Parameter
Returns