GoogleApi.AndroidPublisher.V3.Api.Inappproducts (google_api_android_publisher v0.26.0) View Source
API calls for all endpoints tagged Inappproducts
.
Link to this section Summary
Functions
Deletes an in-app product (i.e. a managed product or a subscriptions).
Gets an in-app product, which can be a managed product or a subscription.
Creates an in-app product (i.e. a managed product or a subscriptions).
Lists all in-app products - both managed products and subscriptions.
Patches an in-app product (i.e. a managed product or a subscriptions).
Updates an in-app product (i.e. a managed product or a subscriptions).
Link to this section Functions
androidpublisher_inappproducts_delete(connection, package_name, sku, optional_params \\ [], opts \\ [])
View SourceSpecs
androidpublisher_inappproducts_delete( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, nil} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes an in-app product (i.e. a managed product or a subscriptions).
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
package_name
(type:String.t
) - Package name of the app. -
sku
(type:String.t
) - Unique identifier for the in-app product. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
: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
) - 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. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %{}}
on success -
{:error, info}
on failure
androidpublisher_inappproducts_get(connection, package_name, sku, optional_params \\ [], opts \\ [])
View SourceSpecs
androidpublisher_inappproducts_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.InAppProduct.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets an in-app product, which can be a managed product or a subscription.
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
package_name
(type:String.t
) - Package name of the app. -
sku
(type:String.t
) - Unique identifier for the in-app product. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
: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
) - 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. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.InAppProduct{}}
on success -
{:error, info}
on failure
androidpublisher_inappproducts_insert(connection, package_name, optional_params \\ [], opts \\ [])
View SourceSpecs
androidpublisher_inappproducts_insert( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.InAppProduct.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates an in-app product (i.e. a managed product or a subscriptions).
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
package_name
(type:String.t
) - Package name of the app. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
: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
) - 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. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:autoConvertMissingPrices
(type:boolean()
) - If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. -
:body
(type:GoogleApi.AndroidPublisher.V3.Model.InAppProduct.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.InAppProduct{}}
on success -
{:error, info}
on failure
androidpublisher_inappproducts_list(connection, package_name, optional_params \\ [], opts \\ [])
View SourceSpecs
androidpublisher_inappproducts_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.InappproductsListResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists all in-app products - both managed products and subscriptions.
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
package_name
(type:String.t
) - Package name of the app. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
: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
) - 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. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:maxResults
(type:integer()
) - How many results the list operation should return. -
:startIndex
(type:integer()
) - The index of the first element to return. -
:token
(type:String.t
) - Pagination token. If empty, list starts at the first product.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.InappproductsListResponse{}}
on success -
{:error, info}
on failure
androidpublisher_inappproducts_patch(connection, package_name, sku, optional_params \\ [], opts \\ [])
View SourceSpecs
androidpublisher_inappproducts_patch( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.InAppProduct.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Patches an in-app product (i.e. a managed product or a subscriptions).
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
package_name
(type:String.t
) - Package name of the app. -
sku
(type:String.t
) - Unique identifier for the in-app product. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
: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
) - 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. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:autoConvertMissingPrices
(type:boolean()
) - If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. -
:body
(type:GoogleApi.AndroidPublisher.V3.Model.InAppProduct.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.InAppProduct{}}
on success -
{:error, info}
on failure
androidpublisher_inappproducts_update(connection, package_name, sku, optional_params \\ [], opts \\ [])
View SourceSpecs
androidpublisher_inappproducts_update( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.AndroidPublisher.V3.Model.InAppProduct.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates an in-app product (i.e. a managed product or a subscriptions).
Parameters
-
connection
(type:GoogleApi.AndroidPublisher.V3.Connection.t
) - Connection to server -
package_name
(type:String.t
) - Package name of the app. -
sku
(type:String.t
) - Unique identifier for the in-app product. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
: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
) - 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. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:autoConvertMissingPrices
(type:boolean()
) - If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. -
:body
(type:GoogleApi.AndroidPublisher.V3.Model.InAppProduct.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.AndroidPublisher.V3.Model.InAppProduct{}}
on success -
{:error, info}
on failure