google_api_android_publisher v0.15.0 GoogleApi.AndroidPublisher.V3.Api.Systemapks View Source

API calls for all endpoints tagged Systemapks.

Link to this section Summary

Link to this section Functions

Link to this function

androidpublisher_systemapks_variants_create(connection, package_name, version_code, optional_params \\ [], opts \\ [])

View Source
androidpublisher_systemapks_variants_create(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidPublisher.V3.Model.Variant.t()}
  | {:ok, Tesla.Env.t()}
  | {:error, any()}

Creates a new variant of APK which is suitable for inclusion in a system image.

Parameters

  • connection (type: GoogleApi.AndroidPublisher.V3.Connection.t) - Connection to server
  • package_name (type: String.t) - Unique identifier for the Android app; for example, "com.spiffygame".
  • version_code (type: String.t) - The version code of the App Bundle.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :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) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
    • :body (type: GoogleApi.AndroidPublisher.V3.Model.SystemApkVariantsCreateRequest.t) -
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.AndroidPublisher.V3.Model.Variant{}} on success
  • {:error, info} on failure
Link to this function

androidpublisher_systemapks_variants_download(connection, package_name, version_code, variant_id, optional_params \\ [], opts \\ [])

View Source
androidpublisher_systemapks_variants_download(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  integer(),
  keyword(),
  keyword()
) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:error, any()}

Download a previously created APK which is suitable for inclusion in a system image.

Parameters

  • connection (type: GoogleApi.AndroidPublisher.V3.Connection.t) - Connection to server
  • package_name (type: String.t) - Unique identifier for the Android app; for example, "com.spiffygame".
  • version_code (type: String.t) - The version code of the App Bundle.
  • variant_id (type: integer()) -
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :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) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %{}} on success
  • {:error, info} on failure
Link to this function

androidpublisher_systemapks_variants_get(connection, package_name, version_code, variant_id, optional_params \\ [], opts \\ [])

View Source
androidpublisher_systemapks_variants_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  integer(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidPublisher.V3.Model.Variant.t()}
  | {:ok, Tesla.Env.t()}
  | {:error, any()}

Returns a previously created system APK variant.

Parameters

  • connection (type: GoogleApi.AndroidPublisher.V3.Connection.t) - Connection to server
  • package_name (type: String.t) - Unique identifier for the Android app; for example, "com.spiffygame".
  • version_code (type: String.t) - The version code of the App Bundle.
  • variant_id (type: integer()) - Unique identifier for this variant.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :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) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.AndroidPublisher.V3.Model.Variant{}} on success
  • {:error, info} on failure
Link to this function

androidpublisher_systemapks_variants_list(connection, package_name, version_code, optional_params \\ [], opts \\ [])

View Source
androidpublisher_systemapks_variants_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.AndroidPublisher.V3.Model.SystemApkVariantsListResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:error, any()}

Returns the list of previously created system APK variants.

Parameters

  • connection (type: GoogleApi.AndroidPublisher.V3.Connection.t) - Connection to server
  • package_name (type: String.t) - Unique identifier for the Android app; for example, "com.spiffygame".
  • version_code (type: String.t) - The version code of the App Bundle.
  • optional_params (type: keyword()) - Optional parameters

    • :alt (type: String.t) - Data format for the response.
    • :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) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (type: String.t) - Deprecated. Please use quotaUser instead.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.AndroidPublisher.V3.Model.SystemApkVariantsListResponse{}} on success
  • {:error, info} on failure