Interface ConditionContext.ResourceOrBuilder (1.44.0)

public static interface ConditionContext.ResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The stable identifier (name) of a resource on the service. A resource can be logically identified as //{resource.service}/{resource.name}. Unlike the resource URI, the resource name doesn't contain any protocol and version information.

For a list of full resource name formats, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The stable identifier (name) of a resource on the service. A resource can be logically identified as //{resource.service}/{resource.name}. Unlike the resource URI, the resource name doesn't contain any protocol and version information.

For a list of full resource name formats, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getService()

public abstract String getService()

The name of the service that this resource belongs to, such as compute.googleapis.com. The service name might not match the DNS hostname that actually serves the request.

For a full list of resource service values, see https://cloud.google.com/iam/help/conditions/resource-services

string service = 1;

Returns
Type Description
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

The name of the service that this resource belongs to, such as compute.googleapis.com. The service name might not match the DNS hostname that actually serves the request.

For a full list of resource service values, see https://cloud.google.com/iam/help/conditions/resource-services

string service = 1;

Returns
Type Description
ByteString

The bytes for service.

getType()

public abstract String getType()

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

For a full list of resource type values, see https://cloud.google.com/iam/help/conditions/resource-types

string type = 3;

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

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

For a full list of resource type values, see https://cloud.google.com/iam/help/conditions/resource-types

string type = 3;

Returns
Type Description
ByteString

The bytes for type.