generated/google/apis/licensing_v1/service.rb in google-api-client-0.20.1 vs generated/google/apis/licensing_v1/service.rb in google-api-client-0.21.0
- old
+ new
@@ -36,18 +36,16 @@
# 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.
attr_accessor :key
# @return [String]
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
attr_accessor :quota_user
# @return [String]
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
attr_accessor :user_ip
def initialize
super('https://www.googleapis.com/', 'apps/licensing/v1/product/')
@batch_path = 'batch/licensing/v1'
@@ -61,16 +59,14 @@
# @param [String] user_id
# email id or unique Id of the user
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
@@ -100,16 +96,14 @@
# @param [String] user_id
# email id or unique Id of the user
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LicensingV1::LicenseAssignment] parsed result object
@@ -140,16 +134,14 @@
# Name for sku
# @param [Google::Apis::LicensingV1::LicenseAssignmentInsert] license_assignment_insert_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LicensingV1::LicenseAssignment] parsed result object
@@ -186,16 +178,14 @@
# Token to fetch the next page.Optional. By default server will return first
# page
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LicensingV1::LicenseAssignmentList] parsed result object
@@ -234,16 +224,14 @@
# Token to fetch the next page.Optional. By default server will return first
# page
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LicensingV1::LicenseAssignmentList] parsed result object
@@ -278,16 +266,14 @@
# email id or unique Id of the user
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LicensingV1::LicenseAssignment] parsed result object
@@ -322,15 +308,13 @@
# email id or unique Id of the user
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
- # 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.
- # Overrides userIp if both are provided.
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
+ # characters.
# @param [String] user_ip
- # IP address of the site where the request originates. Use this if you want to
- # enforce per-user limits.
+ # Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::LicensingV1::LicenseAssignment] parsed result object