Describes the resource that is being accessed.
Generated from protobuf message google.rpc.ResourceInfo
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getDescription() Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the Generated from protobuf field string description = 4;
|
| public getOwner() The owner of the resource (optional). For example, "user:" or "project:<Google developer project id>". Generated from protobuf field string owner = 3;
|
| public 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;
|
| public 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;
|
| public setDescription( $var) Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the Generated from protobuf field string description = 4;
|
| public setOwner( $var) The owner of the resource (optional). For example, "user:" or "project:<Google developer project id>". Generated from protobuf field string owner = 3;
|
| public setResourceName( $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;
|
| public setResourceType( $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;
|
| Properties |
| protected $description = '' Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the Generated from protobuf field string description = 4; |
| protected $owner = '' The owner of the resource (optional). For example, "user:" or "project:<Google developer project id>". Generated from protobuf field string owner = 3; |
| protected $resource_name = '' 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; |
| protected $resource_type = '' 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; |
| Methods |