public static interface Workload.ResourceSettingsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDisplayName()
public abstract String getDisplayName()
User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
string display_name = 3;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
string display_name = 3;
Type | Description |
ByteString | The bytes for displayName. |
getResourceId()
public abstract String getResourceId()
Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.
string resource_id = 1;
Type | Description |
String | The resourceId. |
getResourceIdBytes()
public abstract ByteString getResourceIdBytes()
Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.
string resource_id = 1;
Type | Description |
ByteString | The bytes for resourceId. |
getResourceType()
public abstract Workload.ResourceInfo.ResourceType getResourceType()
Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
Type | Description |
Workload.ResourceInfo.ResourceType | The resourceType. |
getResourceTypeValue()
public abstract int getResourceTypeValue()
Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
.google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
Type | Description |
int | The enum numeric value on the wire for resourceType. |