google_api_licensing v0.4.0 GoogleApi.Licensing.V1.Api.LicenseAssignments View Source
API calls for all endpoints tagged LicenseAssignments
.
Link to this section Summary
Functions
Revoke License.
Get license assignment of a particular product and sku for a user
Assign License.
List license assignments for given product of the customer.
List license assignments for given product and sku of the customer.
Assign License. This method supports patch semantics.
Link to this section Functions
licensing_license_assignments_delete(connection, product_id, sku_id, user_id, optional_params \\ [], opts \\ [])
View Source
licensing_license_assignments_delete(
Tesla.Env.client(),
String.t(),
String.t(),
String.t(),
keyword(),
keyword()
) :: {:ok, nil} | {:error, Tesla.Env.t()}
licensing_license_assignments_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, nil} | {:error, Tesla.Env.t()}
Revoke License.
Parameters
connection
(type:GoogleApi.Licensing.V1.Connection.t
) - Connection to serverproduct_id
(type:String.t
) - Name for productsku_id
(type:String.t
) - Name for skuuser_id
(type:String.t
) - email id or unique Id of the useroptional_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
licensing_license_assignments_get(connection, product_id, sku_id, user_id, optional_params \\ [], opts \\ [])
View Source
licensing_license_assignments_get(
Tesla.Env.client(),
String.t(),
String.t(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()}
| {:error, Tesla.Env.t()}
licensing_license_assignments_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()} | {:error, Tesla.Env.t()}
Get license assignment of a particular product and sku for a user
Parameters
connection
(type:GoogleApi.Licensing.V1.Connection.t
) - Connection to serverproduct_id
(type:String.t
) - Name for productsku_id
(type:String.t
) - Name for skuuser_id
(type:String.t
) - email id or unique Id of the useroptional_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.Licensing.V1.Model.LicenseAssignment{}}
on success{:error, info}
on failure
licensing_license_assignments_insert(connection, product_id, sku_id, optional_params \\ [], opts \\ [])
View Source
licensing_license_assignments_insert(
Tesla.Env.client(),
String.t(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()}
| {:error, Tesla.Env.t()}
licensing_license_assignments_insert( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()} | {:error, Tesla.Env.t()}
Assign License.
Parameters
connection
(type:GoogleApi.Licensing.V1.Connection.t
) - Connection to serverproduct_id
(type:String.t
) - Name for productsku_id
(type:String.t
) - Name for skuoptional_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.Licensing.V1.Model.LicenseAssignmentInsert.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Licensing.V1.Model.LicenseAssignment{}}
on success{:error, info}
on failure
licensing_license_assignments_list_for_product(connection, product_id, customer_id, optional_params \\ [], opts \\ [])
View Source
licensing_license_assignments_list_for_product(
Tesla.Env.client(),
String.t(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.Licensing.V1.Model.LicenseAssignmentList.t()}
| {:error, Tesla.Env.t()}
licensing_license_assignments_list_for_product( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Licensing.V1.Model.LicenseAssignmentList.t()} | {:error, Tesla.Env.t()}
List license assignments for given product of the customer.
Parameters
connection
(type:GoogleApi.Licensing.V1.Connection.t
) - Connection to serverproduct_id
(type:String.t
) - Name for productcustomer_id
(type:String.t
) - CustomerId represents the customer for whom licenseassignments are queriedoptional_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.:maxResults
(type:integer()
) - Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.:pageToken
(type:String.t
) - Token to fetch the next page.Optional. By default server will return first page
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Licensing.V1.Model.LicenseAssignmentList{}}
on success{:error, info}
on failure
licensing_license_assignments_list_for_product_and_sku(connection, product_id, sku_id, customer_id, optional_params \\ [], opts \\ [])
View Source
licensing_license_assignments_list_for_product_and_sku(
Tesla.Env.client(),
String.t(),
String.t(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.Licensing.V1.Model.LicenseAssignmentList.t()}
| {:error, Tesla.Env.t()}
licensing_license_assignments_list_for_product_and_sku( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Licensing.V1.Model.LicenseAssignmentList.t()} | {:error, Tesla.Env.t()}
List license assignments for given product and sku of the customer.
Parameters
connection
(type:GoogleApi.Licensing.V1.Connection.t
) - Connection to serverproduct_id
(type:String.t
) - Name for productsku_id
(type:String.t
) - Name for skucustomer_id
(type:String.t
) - CustomerId represents the customer for whom licenseassignments are queriedoptional_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.:maxResults
(type:integer()
) - Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.:pageToken
(type:String.t
) - Token to fetch the next page.Optional. By default server will return first page
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Licensing.V1.Model.LicenseAssignmentList{}}
on success{:error, info}
on failure
licensing_license_assignments_patch(connection, product_id, sku_id, user_id, optional_params \\ [], opts \\ [])
View Source
licensing_license_assignments_patch(
Tesla.Env.client(),
String.t(),
String.t(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()}
| {:error, Tesla.Env.t()}
licensing_license_assignments_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()} | {:error, Tesla.Env.t()}
Assign License. This method supports patch semantics.
Parameters
connection
(type:GoogleApi.Licensing.V1.Connection.t
) - Connection to serverproduct_id
(type:String.t
) - Name for productsku_id
(type:String.t
) - Name for sku for which license would be revokeduser_id
(type:String.t
) - email id or unique Id of the useroptional_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.Licensing.V1.Model.LicenseAssignment.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Licensing.V1.Model.LicenseAssignment{}}
on success{:error, info}
on failure
licensing_license_assignments_update(connection, product_id, sku_id, user_id, optional_params \\ [], opts \\ [])
View Source
licensing_license_assignments_update(
Tesla.Env.client(),
String.t(),
String.t(),
String.t(),
keyword(),
keyword()
) ::
{:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()}
| {:error, Tesla.Env.t()}
licensing_license_assignments_update( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Licensing.V1.Model.LicenseAssignment.t()} | {:error, Tesla.Env.t()}
Assign License.
Parameters
connection
(type:GoogleApi.Licensing.V1.Connection.t
) - Connection to serverproduct_id
(type:String.t
) - Name for productsku_id
(type:String.t
) - Name for sku for which license would be revokeduser_id
(type:String.t
) - email id or unique Id of the useroptional_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.Licensing.V1.Model.LicenseAssignment.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Licensing.V1.Model.LicenseAssignment{}}
on success{:error, info}
on failure