google_api_android_enterprise v0.2.0 GoogleApi.AndroidEnterprise.V1.Api.Webapps View Source

API calls for all endpoints tagged Webapps.

Link to this section Summary

Link to this section Functions

Link to this function

androidenterprise_webapps_delete(connection, enterprise_id, web_app_id, optional_params \\ [], opts \\ []) View Source

Deletes an existing web app.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • web_app_id (String.t): The ID of the web app.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %{}} on success {:error, info} on failure

Link to this function

androidenterprise_webapps_get(connection, enterprise_id, web_app_id, optional_params \\ [], opts \\ []) View Source

Gets an existing web app.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • web_app_id (String.t): The ID of the web app.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.AndroidEnterprise.V1.Model.WebApp{}} on success {:error, info} on failure

Link to this function

androidenterprise_webapps_insert(connection, enterprise_id, optional_params \\ [], opts \\ []) View Source

Creates a new web app for the enterprise.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (WebApp):

Returns

{:ok, %GoogleApi.AndroidEnterprise.V1.Model.WebApp{}} on success {:error, info} on failure

Link to this function

androidenterprise_webapps_list(connection, enterprise_id, optional_params \\ [], opts \\ []) View Source

Retrieves the details of all web apps for a given enterprise.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.

Returns

{:ok, %GoogleApi.AndroidEnterprise.V1.Model.WebAppsListResponse{}} on success {:error, info} on failure

Link to this function

androidenterprise_webapps_patch(connection, enterprise_id, web_app_id, optional_params \\ [], opts \\ []) View Source

Updates an existing web app. This method supports patch semantics.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • web_app_id (String.t): The ID of the web app.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (WebApp):

Returns

{:ok, %GoogleApi.AndroidEnterprise.V1.Model.WebApp{}} on success {:error, info} on failure

Link to this function

androidenterprise_webapps_update(connection, enterprise_id, web_app_id, optional_params \\ [], opts \\ []) View Source

Updates an existing web app.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • web_app_id (String.t): The ID of the web app.
  • optional_params (KeywordList): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (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 (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :body (WebApp):

Returns

{:ok, %GoogleApi.AndroidEnterprise.V1.Model.WebApp{}} on success {:error, info} on failure