- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Search tenancy units for a managed service.
HTTP request
GET https://serviceconsumermanagement.googleapis.com/v1/{parent=services/*}:search
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Service for which search is performed. services/{service} {service} the name of a service, for example 'service.googleapis.com'. Authorization requires the following Google IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
query |
Set a query For example, to search tenancy units that contain at least one tenant resource with a given tag 'xyz', use the query Multiple expressions can be joined with Optional. |
pageSize |
The maximum number of results returned by this request. Currently, the default maximum is set to 1000. If Optional. |
pageToken |
The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of Optional. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response for the search query.
JSON representation | |
---|---|
{
"tenancyUnits": [
{
object ( |
Fields | |
---|---|
tenancyUnits[] |
Tenancy Units matching the request. |
nextPageToken |
Pagination token for large results. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.