google_api_android_device_provisioning v0.0.1 GoogleApi.AndroidDeviceProvisioning.V1.Api.Partners View Source

API calls for all endpoints tagged Partners.

Link to this section Summary

Link to this section Functions

Link to this function androiddeviceprovisioning_partners_customers_list(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_customers_list(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.ListCustomersResponse.t} |
  {:error, Tesla.Env.t}

List all the customers that has delegates some role to this customer.

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): the id of the partner.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.ListCustomersResponse{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_claim(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_claim(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.ClaimDeviceResponse.t} |
  {:error, Tesla.Env.t}

Claim the device identified by device identifier.

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): Id of the partner.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (ClaimDeviceRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.ClaimDeviceResponse{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_claim_async(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_claim_async(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation.t} |
  {:error, Tesla.Env.t}

Claim devices asynchronously

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): partner id.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (ClaimDevicesRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_find_by_identifier(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_find_by_identifier(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.FindDevicesByDeviceIdentifierResponse.t} |
  {:error, Tesla.Env.t}

Find devices by device identifier.

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): id of the partner.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (FindDevicesByDeviceIdentifierRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.FindDevicesByDeviceIdentifierResponse{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_find_by_owner(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_find_by_owner(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.FindDevicesByOwnerResponse.t} |
  {:error, Tesla.Env.t}

Find devices by ownership.

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): id of the partner.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (FindDevicesByOwnerRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.FindDevicesByOwnerResponse{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_metadata(connection, metadata_owner_id, device_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_metadata(Tesla.Env.client, String.t, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceMetadata.t} |
  {:error, Tesla.Env.t}

Update the metadata

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • metadata_owner_id (String): The owner of the newly set metadata. Should be partner id itself.
  • device_id (String): id of the partner.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (UpdateDeviceMetadataRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.DeviceMetadata{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_unclaim(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_unclaim(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.Empty.t} |
  {:error, Tesla.Env.t}

Unclaim the device identified by device_id or identifier.

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): Id of the partner.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (UnclaimDeviceRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.Empty{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_unclaim_async(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_unclaim_async(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation.t} |
  {:error, Tesla.Env.t}

Unclaim devices asynchronously

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): partner id.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (UnclaimDevicesRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation{}} on success {:error, info} on failure

Link to this function androiddeviceprovisioning_partners_devices_update_metadata_async(connection, partner_id, opts \\ []) View Source
androiddeviceprovisioning_partners_devices_update_metadata_async(Tesla.Env.client, String.t, keyword) ::
  {:ok, GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation.t} |
  {:error, Tesla.Env.t}

Set metadata in batch asynchronously.

Parameters

  • connection (GoogleApi.AndroidDeviceProvisioning.V1.Connection): Connection to server
  • partner_id (String): partner id.
  • opts (KeywordList): [optional] Optional parameters

    • :quota_user (String): 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.
    • :pp (Boolean): Pretty-print response.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :bearer_token (String): OAuth bearer token.
    • :upload_protocol (String): Upload protocol for media (e.g. "raw", "multipart").
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :upload_type (String): Legacy upload protocol for media (e.g. "media", "multipart").
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :callback (String): JSONP
    • :__/xgafv (String): V1 error format.
    • :alt (String): Data format for response.
    • :key (String): 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.
    • :access_token (String): OAuth access token.
    • :body (UpdateDeviceMetadataInBatchRequest):

Returns

{:ok, %GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation{}} on success {:error, info} on failure