GoogleApi.ServiceDirectory.V1beta1.Api.Projects.servicedirectory_projects_locations_namespaces_list
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 SourceSpecs
servicedirectory_projects_locations_namespaces_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.ListNamespacesResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists all namespaces.
Parameters
-
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. Generalfilter
string syntax:()
` can be
nameor
labels.` for map fieldcan be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` means `HAS`, and is roughly the same as `=` *
must be the same data type as field` can be
AND,
OR,
NOT` Examples of valid filters:labels.owner
returns namespaces that have a label with the keyowner
, this is the same aslabels:owner
labels.owner=sd
returns namespaces that have key/valueowner=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 notlabels.owner!=sd AND labels.foo=bar
returns namespaces that haveowner
in label key but value is notsd
AND have key/valuefoo=bar
doesnotexist.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. Generalorder_by
string syntax:() (,)
` allows value:
name`ascending or descending order by
. If this is left blank,asc
is used Note that an emptyorder_by
string results in default order, which is order byname
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
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.ListNamespacesResponse{}}
on success -
{:error, info}
on failure