You're seeing just the function servicedirectory_projects_locations_namespaces_list, go back to GoogleApi.ServiceDirectory.V1beta1.Api.Projects module for more information.
Link to this function

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

View Source


) ::
  {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.ListNamespacesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists all namespaces.


  • connection (type: GoogleApi.ServiceDirectory.V1beta1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The resource name of the project and location whose namespaces you'd like to list.
  • 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").
    • :filter (type: String.t) - Optional. The filter to list results by. General filter string syntax: () ` can benameorlabels.` for map field can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` * must be the same data type as field ` can beAND,OR,NOT` Examples of valid filters: labels.owner returns namespaces that have a label with the key owner, this is the same as labels:owner labels.owner=sd returns namespaces that have key/value owner=sd name>projects/my-project/locations/us-east1/namespaces/namespace-c returns namespaces that have name that is alphabetically later than the string, so "namespace-e" is returned but "namespace-a" is not labels.owner!=sd AND returns namespaces that have owner in label key but value is not sd AND have key/value foo=bar returns an empty list. Note that namespace doesn't have a field called "doesnotexist". Since the filter does not match any namespaces, it returns no results For more information about filtering, see API Filtering.
    • :orderBy (type: String.t) - Optional. The order to list results by. General order_by string syntax: () (,) ` allows value:name` ascending or descending order by. If this is left blank, asc is used Note that an empty order_by string results in default order, which is order by name in ascending order. :pageSize (type: integer()) - Optional. The maximum number of items to return. :pageToken (type: String.t) - Optional. The next_page_token value returned from a previous List request, if any.
  • opts (type: keyword()) - Call options


  • {:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.ListNamespacesResponse{}} on success
  • {:error, info} on failure