google_api_reseller v0.0.1 GoogleApi.Reseller.V1.Api.Resellernotify View Source

API calls for all endpoints tagged Resellernotify.

Link to this section Summary

Functions

Returns all the details of the watch corresponding to the reseller

Registers a Reseller for receiving notifications

Unregisters a Reseller for receiving notifications

Link to this section Functions

Link to this function reseller_resellernotify_getwatchdetails(connection, opts \\ []) View Source
reseller_resellernotify_getwatchdetails(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.Reseller.V1.Model.ResellernotifyGetwatchdetailsResponse.t} |
  {:error, Tesla.Env.t}

Returns all the details of the watch corresponding to the reseller.

Parameters

  • connection (GoogleApi.Reseller.V1.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial 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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.

Returns

{:ok, %GoogleApi.Reseller.V1.Model.ResellernotifyGetwatchdetailsResponse{}} on success {:error, info} on failure

Link to this function reseller_resellernotify_register(connection, opts \\ []) View Source
reseller_resellernotify_register(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.Reseller.V1.Model.ResellernotifyResource.t} |
  {:error, Tesla.Env.t}

Registers a Reseller for receiving notifications.

Parameters

  • connection (GoogleApi.Reseller.V1.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial 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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :service_account_email_address (String): The service account which will own the created Cloud-PubSub topic.

Returns

{:ok, %GoogleApi.Reseller.V1.Model.ResellernotifyResource{}} on success {:error, info} on failure

Link to this function reseller_resellernotify_unregister(connection, opts \\ []) View Source
reseller_resellernotify_unregister(Tesla.Env.client, keyword) ::
  {:ok, GoogleApi.Reseller.V1.Model.ResellernotifyResource.t} |
  {:error, Tesla.Env.t}

Unregisters a Reseller for receiving notifications.

Parameters

  • connection (GoogleApi.Reseller.V1.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial 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.
    • :oauth_token (String): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :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. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :service_account_email_address (String): The service account which owns the Cloud-PubSub topic.

Returns

{:ok, %GoogleApi.Reseller.V1.Model.ResellernotifyResource{}} on success {:error, info} on failure