public interface CreateWorkloadRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExternalId()
public abstract String getExternalId()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.
string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The externalId. |
getExternalIdBytes()
public abstract ByteString getExternalIdBytes()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.
string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for externalId. |
getParent()
public abstract String getParent() Required. The resource name of the new Workload's parent.
Must be of the form organizations/{org_id}/locations/{location_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes() Required. The resource name of the new Workload's parent.
Must be of the form organizations/{org_id}/locations/{location_id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getWorkload()
public abstract Workload getWorkload()Required. Assured Workload to create
.google.cloud.assuredworkloads.v1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Workload |
The workload. |
getWorkloadOrBuilder()
public abstract WorkloadOrBuilder getWorkloadOrBuilder()Required. Assured Workload to create
.google.cloud.assuredworkloads.v1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WorkloadOrBuilder |
|
hasWorkload()
public abstract boolean hasWorkload()Required. Assured Workload to create
.google.cloud.assuredworkloads.v1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the workload field is set. |