GoogleApi.ServiceDirectory.V1beta1.Api.Projects (google_api_service_directory v0.14.0)
View SourceAPI calls for all endpoints tagged Projects
.
Summary
Functions
Gets information about a location.
Lists information about the supported locations for this service.
Creates a namespace, and returns the new namespace.
Deletes a namespace. This also deletes all services and endpoints in the namespace.
Gets a namespace.
Gets the IAM Policy for a resource
Lists all namespaces.
Updates a namespace.
Creates a service, and returns the new service.
Deletes a service. This also deletes all endpoints associated with the service.
Creates an endpoint, and returns the new endpoint.
Deletes an endpoint.
Gets an endpoint.
Lists all endpoints.
Updates an endpoint.
Gets a service.
Gets the IAM Policy for a resource
Lists all services belonging to a namespace.
Updates a service.
Returns a service and its associated endpoints. Resolving a service is not considered an active developer method.
Sets the IAM Policy for a resource
Tests IAM permissions for a resource (namespace, service or service workload only).
Sets the IAM Policy for a resource
Tests IAM permissions for a resource (namespace, service or service workload only).
Gets the IAM Policy for a resource
Sets the IAM Policy for a resource
Tests IAM permissions for a resource (namespace, service or service workload only).
Functions
@spec servicedirectory_projects_locations_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Location.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets information about a location.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Resource name for the location. -
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").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Location{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.ListLocationsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists information about the supported locations for this service.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - The resource that owns the locations collection, if applicable. -
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"). -
:extraLocationTypes
(type:list(String.t)
) - Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. -
:filter
(type:String.t
) - A filter to narrow down results to a preferred subset. The filtering language accepts strings like"displayName=tokyo"
, and is documented in more detail in AIP-160. -
:pageSize
(type:integer()
) - The maximum number of results to return. If not set, the service selects a default. -
:pageToken
(type:String.t
) - A page token received from thenext_page_token
field in the response. Send that page token to receive the subsequent page.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.ListLocationsResponse{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Namespace.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a namespace, and returns the new namespace.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
parent
(type:String.t
) - Required. The resource name of the project and location the namespace will be created in. -
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"). -
:namespaceId
(type:String.t
) - Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.Namespace.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Namespace{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a namespace. This also deletes all services and endpoints in the namespace.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the namespace to delete. -
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").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Empty{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Namespace.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets a namespace.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the namespace to retrieve. -
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").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Namespace{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_get_iam_policy( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets the IAM Policy for a resource
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.GetIamPolicyRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Policy{}}
on success -
{:error, info}
on failure
@spec 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
name,
labels.for map field, or
attributes.` for attributes 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 *attributes.managed_registration=true
returns namespaces that are managed by a GCP product or service 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. The default value is 100.: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
-
@spec servicedirectory_projects_locations_namespaces_patch( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Namespace.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates a namespace.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Immutable. The resource name for the namespace in the formatprojects/*/locations/*/namespaces/*
. -
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"). -
:updateMask
(type:String.t
) - Required. List of fields to be updated in this request. -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.Namespace.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Namespace{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Service.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a service, and returns the new service.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
parent
(type:String.t
) - Required. The resource name of the namespace this service will belong to. -
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"). -
:serviceId
(type:String.t
) - Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.Service.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Service{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a service. This also deletes all endpoints associated with the service.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the service to delete. -
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").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Empty{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_endpoints_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates an endpoint, and returns the new endpoint.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
parent
(type:String.t
) - Required. The resource name of the service that this endpoint provides. -
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"). -
:endpointId
(type:String.t
) - Required. The Resource ID must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_endpoints_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes an endpoint.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the endpoint to delete. -
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").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Empty{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_endpoints_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets an endpoint.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the endpoint to get. -
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").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_endpoints_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.ListEndpointsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists all endpoints.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
parent
(type:String.t
) - Required. The resource name of the service whose endpoints 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
name,
address,
port,
metadata.for map field, or
attributes.` for attributes 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:metadata.owner
returns endpoints that have a metadata with the keyowner
, this is the same asmetadata:owner
metadata.protocol=gRPC
returns endpoints that have key/valueprotocol=gRPC
address=192.108.1.105
returns endpoints that have this addressport>8080
returns endpoints that have port number larger than 8080name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c
returns endpoints that have name that is alphabetically later than the string, so "endpoint-e" is returned but "endpoint-a" is notmetadata.owner!=sd AND metadata.foo=bar
returns endpoints that haveowner
in metadata key but value is notsd
AND have key/valuefoo=bar
doesnotexist.foo=bar
returns an empty list. Note that endpoint doesn't have a field called "doesnotexist". Since the filter does not match any endpoints, it returns no results *attributes.kubernetes_resource_type=KUBERNETES_RESOURCE_TYPE_CLUSTER_ IP
returns endpoints with the corresponding kubernetes_resource_type For more information about filtering, see API Filtering. -
:orderBy
(type:String.t
) - Optional. The order to list results by. Generalorder_by
string syntax:() (,)
` allows values:
name,
address,
port`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. The default value is 100.: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.ListEndpointsResponse{}}
on success *{:error, info}
on failure
-
@spec servicedirectory_projects_locations_namespaces_services_endpoints_patch( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates an endpoint.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Immutable. The resource name for the endpoint in the formatprojects/*/locations/*/namespaces/*/services/*/endpoints/*
. -
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"). -
:updateMask
(type:String.t
) - Required. List of fields to be updated in this request. -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Endpoint{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Service.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets a service.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the service to get. -
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").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Service{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_get_iam_policy( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets the IAM Policy for a resource
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.GetIamPolicyRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Policy{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.ListServicesResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists all services belonging to a namespace.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
parent
(type:String.t
) - Required. The resource name of the namespace whose services 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
metadata.` 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:metadata.owner
returns services that have a metadata with the keyowner
, this is the same asmetadata:owner
metadata.protocol=gRPC
returns services that have key/valueprotocol=gRPC
name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/service-c
returns services that have name that is alphabetically later than the string, so "service-e" is returned but "service-a" is notmetadata.owner!=sd AND metadata.foo=bar
returns services that haveowner
in metadata key but value is notsd
AND have key/valuefoo=bar
doesnotexist.foo=bar
returns an empty list. Note that service doesn't have a field called "doesnotexist". Since the filter does not match any services, it returns no results *attributes.managed_registration=true
returns services that are managed by a GCP product or service 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. The default value is 100.: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.ListServicesResponse{}}
on success *{:error, info}
on failure
-
@spec servicedirectory_projects_locations_namespaces_services_patch( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Service.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates a service.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Immutable. The resource name for the service in the formatprojects/*/locations/*/namespaces/*/services/*
. -
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"). -
:updateMask
(type:String.t
) - Required. List of fields to be updated in this request. -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.Service.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Service{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_resolve( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.ResolveServiceResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Returns a service and its associated endpoints. Resolving a service is not considered an active developer method.
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
name
(type:String.t
) - Required. The name of the service to resolve. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.ResolveServiceRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.ResolveServiceResponse{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_set_iam_policy( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Sets the IAM Policy for a resource
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.SetIamPolicyRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Policy{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_services_test_iam_permissions( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Tests IAM permissions for a resource (namespace, service or service workload only).
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsResponse{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_set_iam_policy( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Sets the IAM Policy for a resource
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.SetIamPolicyRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Policy{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_test_iam_permissions( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Tests IAM permissions for a resource (namespace, service or service workload only).
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsResponse{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_workloads_get_iam_policy( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets the IAM Policy for a resource
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.GetIamPolicyRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Policy{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_workloads_set_iam_policy( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.Policy.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Sets the IAM Policy for a resource
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.SetIamPolicyRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.Policy{}}
on success -
{:error, info}
on failure
@spec servicedirectory_projects_locations_namespaces_workloads_test_iam_permissions( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Tests IAM permissions for a resource (namespace, service or service workload only).
Parameters
-
connection
(type:GoogleApi.ServiceDirectory.V1beta1.Connection.t
) - Connection to server -
resource
(type:String.t
) - REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. -
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"). -
:body
(type:GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.ServiceDirectory.V1beta1.Model.TestIamPermissionsResponse{}}
on success -
{:error, info}
on failure