google_api_android_enterprise v0.1.0 GoogleApi.AndroidEnterprise.V1.Api.Storelayoutpages View Source

API calls for all endpoints tagged Storelayoutpages.

Link to this section Summary

Link to this section Functions

Link to this function androidenterprise_storelayoutpages_delete(connection, enterprise_id, page_id, opts \\ []) View Source
androidenterprise_storelayoutpages_delete(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}

Deletes a store page.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • page_id (String.t): The ID of the page.
  • opts (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_storelayoutpages_get(connection, enterprise_id, page_id, opts \\ []) View Source
androidenterprise_storelayoutpages_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidEnterprise.V1.Model.StorePage.t()}
  | {:error, Tesla.Env.t()}

Retrieves details of a store page.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • page_id (String.t): The ID of the page.
  • opts (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.StorePage{}} on success {:error, info} on failure

Link to this function androidenterprise_storelayoutpages_insert(connection, enterprise_id, opts \\ []) View Source
androidenterprise_storelayoutpages_insert(
  Tesla.Env.client(),
  String.t(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidEnterprise.V1.Model.StorePage.t()}
  | {:error, Tesla.Env.t()}

Inserts a new store page.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • opts (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 (StorePage):

Returns

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

Link to this function androidenterprise_storelayoutpages_list(connection, enterprise_id, opts \\ []) View Source
androidenterprise_storelayoutpages_list(
  Tesla.Env.client(),
  String.t(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidEnterprise.V1.Model.StoreLayoutPagesListResponse.t()}
  | {:error, Tesla.Env.t()}

Retrieves the details of all pages in the store.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • opts (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.StoreLayoutPagesListResponse{}} on success {:error, info} on failure

Link to this function androidenterprise_storelayoutpages_patch(connection, enterprise_id, page_id, opts \\ []) View Source
androidenterprise_storelayoutpages_patch(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidEnterprise.V1.Model.StorePage.t()}
  | {:error, Tesla.Env.t()}

Updates the content of a store page. This method supports patch semantics.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • page_id (String.t): The ID of the page.
  • opts (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 (StorePage):

Returns

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

Link to this function androidenterprise_storelayoutpages_update(connection, enterprise_id, page_id, opts \\ []) View Source
androidenterprise_storelayoutpages_update(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidEnterprise.V1.Model.StorePage.t()}
  | {:error, Tesla.Env.t()}

Updates the content of a store page.

Parameters

  • connection (GoogleApi.AndroidEnterprise.V1.Connection): Connection to server
  • enterprise_id (String.t): The ID of the enterprise.
  • page_id (String.t): The ID of the page.
  • opts (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 (StorePage):

Returns

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