View Source GoogleApi.SASPortal.V1alpha1.Api.Customers (google_api_sas_portal v0.14.0)

API calls for all endpoints tagged Customers.

Link to this section Summary

Functions

Link to this section Functions

Link to this function

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

View Source

Specs

sasportal_customers_deployments_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a new deployment.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name where the deployment is to be created.
  • 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.SASPortal.V1alpha1.Model.SasPortalDeployment.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_deployments_delete(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_deployments_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalEmpty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a deployment.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the deployment.
  • 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.SASPortal.V1alpha1.Model.SasPortalEmpty{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_deployments_devices_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a device under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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.SASPortal.V1alpha1.Model.SasPortalDevice.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_deployments_devices_create_signed(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a signed device under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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.SASPortal.V1alpha1.Model.SasPortalCreateSignedDeviceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_deployments_devices_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDevicesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists devices under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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) - The filter expression. The filter should have one of the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.
    • :pageSize (type: integer()) - The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDevicesResponse{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_deployments_get(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_deployments_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns a requested deployment.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the deployment.
  • 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.SASPortal.V1alpha1.Model.SasPortalDeployment{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_deployments_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDeploymentsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists deployments.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.
  • 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) - The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.
    • :pageSize (type: integer()) - The maximum number of deployments to return in the response.
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDeploymentsResponse{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_deployments_move(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_deployments_move(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Moves a deployment under another node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the deployment to move.
  • 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.SASPortal.V1alpha1.Model.SasPortalMoveDeploymentRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_deployments_patch(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_deployments_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates an existing deployment.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Output only. Resource name.
  • 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) - Fields to be updated.
    • :body (type: GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_devices_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a device under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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.SASPortal.V1alpha1.Model.SasPortalDevice.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_devices_create_signed(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a signed device under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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.SASPortal.V1alpha1.Model.SasPortalCreateSignedDeviceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_devices_delete(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_devices_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalEmpty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a device.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the device.
  • 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.SASPortal.V1alpha1.Model.SasPortalEmpty{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_devices_get(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_devices_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets details about a device.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the device.
  • 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.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_devices_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDevicesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists devices under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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) - The filter expression. The filter should have one of the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.
    • :pageSize (type: integer()) - The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDevicesResponse{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_devices_move(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_devices_move(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Moves a device under another node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the device to move.
  • 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.SASPortal.V1alpha1.Model.SasPortalMoveDeviceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_devices_patch(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_devices_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates a device.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Output only. The resource path name.
  • 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) - Fields to be updated.
    • :body (type: GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_devices_sign_device(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_devices_sign_device(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalEmpty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Signs a device.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Output only. The resource path name.
  • 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.SASPortal.V1alpha1.Model.SasPortalSignDeviceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalEmpty{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_devices_update_signed(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_devices_update_signed(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates a signed device.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the device to update.
  • 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.SASPortal.V1alpha1.Model.SasPortalUpdateSignedDeviceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_get(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_get(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalCustomer.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns a requested customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the customer.
  • 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.SASPortal.V1alpha1.Model.SasPortalCustomer{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_list(connection, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_list(Tesla.Env.client(), keyword(), keyword()) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListCustomersResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns a list of requested customers.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • 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 customers to return in the response.
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListCustomers that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListCustomersResponse{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a new node.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name where the node is to be created.
  • 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.SASPortal.V1alpha1.Model.SasPortalNode.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_nodes_delete(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_nodes_delete(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalEmpty.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Deletes a node.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the node.
  • 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.SASPortal.V1alpha1.Model.SasPortalEmpty{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_deployments_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a new deployment.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name where the deployment is to be created.
  • 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.SASPortal.V1alpha1.Model.SasPortalDeployment.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_deployments_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDeploymentsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists deployments.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name, for example, "nodes/1", customer/1/nodes/2.
  • 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) - The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.
    • :pageSize (type: integer()) - The maximum number of deployments to return in the response.
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDeploymentsResponse{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_devices_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a device under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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.SASPortal.V1alpha1.Model.SasPortalDevice.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_devices_create_signed(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a signed device under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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.SASPortal.V1alpha1.Model.SasPortalCreateSignedDeviceRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_devices_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDevicesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists devices under a node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The name of the parent resource.
  • 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) - The filter expression. The filter should have one of the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds to serial number of the device. The filter is case insensitive.
    • :pageSize (type: integer()) - The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListDevicesResponse{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_nodes_get(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_nodes_get(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns a requested node.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the node.
  • 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.SASPortal.V1alpha1.Model.SasPortalNode{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListNodesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists nodes.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name, for example, "nodes/1".
  • 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) - The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.
    • :pageSize (type: integer()) - The maximum number of nodes to return in the response.
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListNodesResponse{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_nodes_move(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_nodes_move(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Moves a node under another node or customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Required. The name of the node to move.
  • 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.SASPortal.V1alpha1.Model.SasPortalMoveNodeRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_nodes_create(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Creates a new node.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name where the node is to be created.
  • 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.SASPortal.V1alpha1.Model.SasPortalNode.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode{}} on success
  • {:error, info} on failure
Link to this function

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

View Source

Specs

sasportal_customers_nodes_nodes_list(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListNodesResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Lists nodes.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • parent (type: String.t) - Required. The parent resource name, for example, "nodes/1".
  • 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) - The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.
    • :pageSize (type: integer()) - The maximum number of nodes to return in the response.
    • :pageToken (type: String.t) - A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListNodesResponse{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_nodes_patch(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_nodes_patch(
  Tesla.Env.client(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates an existing node.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Output only. Resource name.
  • 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) - Fields to be updated.
    • :body (type: GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalNode{}} on success
  • {:error, info} on failure
Link to this function

sasportal_customers_patch(connection, name, optional_params \\ [], opts \\ [])

View Source

Specs

sasportal_customers_patch(Tesla.Env.client(), String.t(), keyword(), keyword()) ::
  {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalCustomer.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Updates an existing customer.

Parameters

  • connection (type: GoogleApi.SASPortal.V1alpha1.Connection.t) - Connection to server
  • name (type: String.t) - Output only. Resource name of the customer.
  • 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) - Fields to be updated.
    • :body (type: GoogleApi.SASPortal.V1alpha1.Model.SasPortalCustomer.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalCustomer{}} on success
  • {:error, info} on failure