ResourceInfo
class ResourceInfo extends Message
Describes the resource that is being accessed.
Protobuf type Google\Rpc\ResourceInfo
Methods
No description
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".
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".
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][google.rpc.Code.PERMISSION_DENIED].
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][google.rpc.Code.PERMISSION_DENIED].
The owner of the resource (optional).
The owner of the resource (optional).
Describes what error is encountered when accessing this resource.
Describes what error is encountered when accessing this resource.
Details
at line 51
__construct()
at line 64
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".
Generated from protobuf field string resource_type = 1;
at line 77
setResourceType(string $var)
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".
Generated from protobuf field string resource_type = 1;
at line 91
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][google.rpc.Code.PERMISSION_DENIED].
Generated from protobuf field string resource_name = 2;
at line 104
setResourceName(string $var)
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][google.rpc.Code.PERMISSION_DENIED].
Generated from protobuf field string resource_name = 2;
at line 118
string
getOwner()
The owner of the resource (optional).
For example, "user:
Generated from protobuf field string owner = 3;
at line 131
setOwner(string $var)
The owner of the resource (optional).
For example, "user:
Generated from protobuf field string owner = 3;
at line 145
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.
Generated from protobuf field string description = 4;
at line 158
setDescription(string $var)
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.
Generated from protobuf field string description = 4;