View Source GoogleApi.IAP.V1.Api.Projects (google_api_iap v0.18.0)
API calls for all endpoints tagged Projects
.
Summary
Functions
Constructs a new OAuth brand for the project if one does not exist. The created brand is "internal only", meaning that OAuth clients created under it only accept requests from users who belong to the same Google Workspace organization as the project. The brand is created in an un-reviewed status. NOTE: The "internal only" status can be manually changed in the Google Cloud Console. Requires that a brand does not already exist for the project, and that the specified support email is owned by the caller.
Retrieves the OAuth brand of the project.
Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use.
Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing obsolete clients, managing the number of clients in a given project, and cleaning up after tests. Requires that the client is owned by IAP.
Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.
Lists the existing clients for the brand.
Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.
Lists the existing brands for the project.
Creates a new TunnelDestGroup.
Deletes a TunnelDestGroup.
Retrieves an existing TunnelDestGroup.
Lists the existing TunnelDestGroups. To group across all locations, use a -
as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups
Functions
iap_projects_brands_create(connection, projects_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_create(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.IAP.V1.Model.Brand.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Constructs a new OAuth brand for the project if one does not exist. The created brand is "internal only", meaning that OAuth clients created under it only accept requests from users who belong to the same Google Workspace organization as the project. The brand is created in an un-reviewed status. NOTE: The "internal only" status can be manually changed in the Google Cloud Console. Requires that a brand does not already exist for the project, and that the specified support email is owned by the caller.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. GCP Project number/id under which the brand is to be created. In the following format: projects/{project_number/id}. -
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.IAP.V1.Model.Brand.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAP.V1.Model.Brand{}}
on success -
{:error, info}
on failure
iap_projects_brands_get(connection, projects_id, brands_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.Brand.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieves the OAuth brand of the project.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the brand to be fetched. In the following format: projects/{project_number/id}/brands/{brand}. -
brands_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
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.IAP.V1.Model.Brand{}}
on success -
{:error, info}
on failure
iap_projects_brands_identity_aware_proxy_clients_create(connection, projects_id, brands_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_identity_aware_proxy_clients_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.IdentityAwareProxyClient.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Path to create the client in. In the following format: projects/{project_number/id}/brands/{brand}. The project must belong to a G Suite account. -
brands_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
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.IAP.V1.Model.IdentityAwareProxyClient.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAP.V1.Model.IdentityAwareProxyClient{}}
on success -
{:error, info}
on failure
iap_projects_brands_identity_aware_proxy_clients_delete(connection, projects_id, brands_id, identity_aware_proxy_clients_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_identity_aware_proxy_clients_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing obsolete clients, managing the number of clients in a given project, and cleaning up after tests. Requires that the client is owned by IAP.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the Identity Aware Proxy client to be deleted. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. -
brands_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
identity_aware_proxy_clients_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
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.IAP.V1.Model.Empty{}}
on success -
{:error, info}
on failure
iap_projects_brands_identity_aware_proxy_clients_get(connection, projects_id, brands_id, identity_aware_proxy_clients_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_identity_aware_proxy_clients_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.IdentityAwareProxyClient.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the Identity Aware Proxy client to be fetched. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. -
brands_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
identity_aware_proxy_clients_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
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.IAP.V1.Model.IdentityAwareProxyClient{}}
on success -
{:error, info}
on failure
iap_projects_brands_identity_aware_proxy_clients_list(connection, projects_id, brands_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_identity_aware_proxy_clients_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.ListIdentityAwareProxyClientsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists the existing clients for the brand.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Full brand path. In the following format: projects/{project_number/id}/brands/{brand}. -
brands_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
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()
) - The maximum number of clients to return. The service may return fewer than this value. If unspecified, at most 100 clients will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. -
:pageToken
(type:String.t
) - A page token, received from a previousListIdentityAwareProxyClients
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListIdentityAwareProxyClients
must match the call that provided the page token.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAP.V1.Model.ListIdentityAwareProxyClientsResponse{}}
on success -
{:error, info}
on failure
iap_projects_brands_identity_aware_proxy_clients_reset_secret(connection, projects_id, brands_id, identity_aware_proxy_clients_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_identity_aware_proxy_clients_reset_secret( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.IdentityAwareProxyClient.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the Identity Aware Proxy client to that will have its secret reset. In the following format: projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}. -
brands_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
identity_aware_proxy_clients_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
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.IAP.V1.Model.ResetIdentityAwareProxyClientSecretRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAP.V1.Model.IdentityAwareProxyClient{}}
on success -
{:error, info}
on failure
iap_projects_brands_list(connection, projects_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_brands_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.IAP.V1.Model.ListBrandsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists the existing brands for the project.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. GCP Project number/id. In the following format: projects/{project_number/id}. -
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.IAP.V1.Model.ListBrandsResponse{}}
on success -
{:error, info}
on failure
iap_projects_iap_tunnel_locations_dest_groups_create(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_iap_tunnel_locations_dest_groups_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.TunnelDestGroup.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a new TunnelDestGroup.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Google Cloud Project ID and location. In the following format:projects/{project_number/id}/iap_tunnel/locations/{location}
. -
locations_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
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"). -
:tunnelDestGroupId
(type:String.t
) - Required. The ID to use for the TunnelDestGroup, which becomes the final component of the resource name. This value must be 4-63 characters, and valid characters are[a-z]-
. -
:body
(type:GoogleApi.IAP.V1.Model.TunnelDestGroup.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAP.V1.Model.TunnelDestGroup{}}
on success -
{:error, info}
on failure
iap_projects_iap_tunnel_locations_dest_groups_delete(connection, projects_id, locations_id, dest_groups_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_iap_tunnel_locations_dest_groups_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes a TunnelDestGroup.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the TunnelDestGroup to delete. In the following format:projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}
. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
dest_groups_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
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.IAP.V1.Model.Empty{}}
on success -
{:error, info}
on failure
iap_projects_iap_tunnel_locations_dest_groups_get(connection, projects_id, locations_id, dest_groups_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_iap_tunnel_locations_dest_groups_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.TunnelDestGroup.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Retrieves an existing TunnelDestGroup.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofname
. Required. Name of the TunnelDestGroup to be fetched. In the following format:projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}
. -
locations_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
dest_groups_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
. -
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.IAP.V1.Model.TunnelDestGroup{}}
on success -
{:error, info}
on failure
iap_projects_iap_tunnel_locations_dest_groups_list(connection, projects_id, locations_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_iap_tunnel_locations_dest_groups_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.ListTunnelDestGroupsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists the existing TunnelDestGroups. To group across all locations, use a -
as the location ID. For example: /v1/projects/123/iap_tunnel/locations/-/destGroups
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofparent
. Required. Google Cloud Project ID and location. In the following format:projects/{project_number/id}/iap_tunnel/locations/{location}
. A-
can be used for the location to group across all locations. -
locations_id
(type:String.t
) - Part ofparent
. See documentation ofprojectsId
. -
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()
) - The maximum number of groups to return. The service might return fewer than this value. If unspecified, at most 100 groups are returned. The maximum value is 1000; values above 1000 are coerced to 1000. -
:pageToken
(type:String.t
) - A page token, received from a previousListTunnelDestGroups
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListTunnelDestGroups
must match the call that provided the page token.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAP.V1.Model.ListTunnelDestGroupsResponse{}}
on success -
{:error, info}
on failure
iap_projects_iap_tunnel_locations_dest_groups_patch(connection, projects_id, locations_id, dest_groups_id, optional_params \\ [], opts \\ [])
View Source@spec iap_projects_iap_tunnel_locations_dest_groups_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.IAP.V1.Model.TunnelDestGroup.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates a TunnelDestGroup.
Parameters
-
connection
(type:GoogleApi.IAP.V1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part oftunnelDestGroup.name
. Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-). -
locations_id
(type:String.t
) - Part oftunnelDestGroup.name
. See documentation ofprojectsId
. -
dest_groups_id
(type:String.t
) - Part oftunnelDestGroup.name
. See documentation ofprojectsId
. -
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
) - A field mask that specifies which IAP settings to update. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask -
:body
(type:GoogleApi.IAP.V1.Model.TunnelDestGroup.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.IAP.V1.Model.TunnelDestGroup{}}
on success -
{:error, info}
on failure