Interface ResourceInfoOrBuilder (1.32.0)

public interface ResourceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainer()

public abstract String getContainer()

Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats:

  • projects/<project-id or project-number>
  • folders/<folder-id>
  • organizations/<organization-id> For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.

string container = 4;

Returns
TypeDescription
String

The container.

getContainerBytes()

public abstract ByteString getContainerBytes()

Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats:

  • projects/<project-id or project-number>
  • folders/<folder-id>
  • organizations/<organization-id> For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.

string container = 4;

Returns
TypeDescription
ByteString

The bytes for container.

getLocation()

public abstract String getLocation()

Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: "europe-west4" or "northamerica-northeast1-a"

string location = 5;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: "europe-west4" or "northamerica-northeast1-a"

string location = 5;

Returns
TypeDescription
ByteString

The bytes for location.

getName()

public abstract String getName()

The name of the resource referenced in the request.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the resource referenced in the request.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPermission()

public abstract String getPermission()

The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".

string permission = 3;

Returns
TypeDescription
String

The permission.

getPermissionBytes()

public abstract ByteString getPermissionBytes()

The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".

string permission = 3;

Returns
TypeDescription
ByteString

The bytes for permission.

getType()

public abstract String getType()

The resource type in the format of "{service}/{kind}".

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

The resource type in the format of "{service}/{kind}".

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.