You're seeing just the function serviceconsumermanagement_services_search, go back to GoogleApi.ServiceConsumerManagement.V1.Api.Services module for more information.
Link to this function

serviceconsumermanagement_services_search(connection, parent, optional_params \\ [], opts \\ [])

View Source


) ::
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Search tenancy units for a managed service.


  • connection (type: GoogleApi.ServiceConsumerManagement.V1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. Service for which search is performed. services/{service} {service} the name of a service, for example ''.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :pageSize (type: integer()) - Optional. The maximum number of results returned by this request. Currently, the default maximum is set to 1000. If page_size isn't provided or the size provided is a number larger than 1000, it's automatically set to 1000.
    • :pageToken (type: String.t) - Optional. 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 nextPageToken from the previous response.
    • :query (type: String.t) - Optional. Set a query {expression} for querying tenancy units. Your {expression} must be in the format: field_name=literal_string. The field_name is the name of the field you want to compare. Supported fields are tenant_resources.tag and tenant_resources.resource. For example, to search tenancy units that contain at least one tenant resource with a given tag 'xyz', use the query tenant_resources.tag=xyz. To search tenancy units that contain at least one tenant resource with a given resource name 'projects/123456', use the query tenant_resources.resource=projects/123456. Multiple expressions can be joined with ANDs. Tenancy units must match all expressions to be included in the result set. For example, tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456
  • opts (type: keyword()) - Call options


  • {:ok, %GoogleApi.ServiceConsumerManagement.V1.Model.SearchTenancyUnitsResponse{}} on success
  • {:error, info} on failure