Interface ResourceInfoOrBuilder (2.38.0)

public interface ResourceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the writer permission on the developer console project.

string description = 4;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the writer permission on the developer console project.

string description = 4;

Returns
Type Description
ByteString

The bytes for description.

getOwner()

public abstract String getOwner()

The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".

string owner = 3;

Returns
Type Description
String

The owner.

getOwnerBytes()

public abstract ByteString getOwnerBytes()

The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>".

string owner = 3;

Returns
Type Description
ByteString

The bytes for owner.

getResourceName()

public abstract String getResourceName()

The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.

string resource_name = 2;

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public abstract ByteString getResourceNameBytes()

The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED.

string resource_name = 2;

Returns
Type Description
ByteString

The bytes for resourceName.

getResourceType()

public abstract String getResourceType()

A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".

string resource_type = 1;

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public abstract ByteString getResourceTypeBytes()

A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".

string resource_type = 1;

Returns
Type Description
ByteString

The bytes for resourceType.