- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- ObjectType
- ObjectMetadata
Full name: projects.locations.instances.fetchShareableObjects
Allows administrators to fetch the list of all Object RBAC-enabled objects within an instance.
HTTP request
GET https://{endpoint}/v1alpha/{parent}:fetchShareableObjects
Where {endpoint} is one of the supported service endpoints.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of objects to return. The service may return fewer than this value. If unspecified, at most 100 objects will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
filter |
Optional. A filter string to restrict the results. The supported filter is: * Examples: |
resourceType |
Optional. The resource type of the objects to fetch when Object RBAC is not enabled for the instance. |
Request body
The request body must be empty.
Response body
Response message for instances.fetchShareableObjects.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"objects": [
{
object ( |
| Fields | |
|---|---|
objects[] |
The list of shareable objects. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chronicle
For more information, see the Authentication Overview.
ObjectType
Type of the shareable object.
| Enums | |
|---|---|
OBJECT_TYPE_UNSPECIFIED |
Unspecified object type. |
OBJECT_TYPE_NATIVE_DASHBOARD |
Native Dashboard. |
OBJECT_TYPE_SEARCH_QUERY |
instances.search Query. |
ObjectMetadata
Metadata for a shareable object.
| JSON representation |
|---|
{
"resource": string,
"displayName": string,
"ownerPrincipal": string,
"resourceType": enum ( |
| Fields | |
|---|---|
resource |
The resource name of the Shareable Object. Any one of the supported ObjectRBAC resources projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{nativeDashboard} projects/{project}/locations/{location}/instances/{instance}/users/{user}/searchQueries/{searchQuery} |
displayName |
The display name of the Shareable Object. |
ownerPrincipal |
The IAM principal of the current owner of the Object |
resourceType |
The resource type of the Shareable Object. |