generated/google/apis/tasks_v1/service.rb in google-api-client-0.20.1 vs generated/google/apis/tasks_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/', 'tasks/v1/') @batch_path = 'batch/tasks/v1' @@ -57,16 +55,14 @@ # @param [String] tasklist # Task list identifier. # @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 @@ -90,16 +86,14 @@ # @param [String] tasklist # Task list identifier. # @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::TasksV1::TaskList] parsed result object @@ -124,16 +118,14 @@ # Creates a new task list and adds it to the authenticated user's task lists. # @param [Google::Apis::TasksV1::TaskList] task_list_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::TasksV1::TaskList] parsed result object @@ -163,16 +155,14 @@ # @param [String] page_token # Token specifying the result page to return. Optional. # @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::TasksV1::TaskLists] parsed result object @@ -201,16 +191,14 @@ # Task list identifier. # @param [Google::Apis::TasksV1::TaskList] task_list_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::TasksV1::TaskList] parsed result object @@ -239,16 +227,14 @@ # Task list identifier. # @param [Google::Apis::TasksV1::TaskList] task_list_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::TasksV1::TaskList] parsed result object @@ -278,16 +264,14 @@ # @param [String] tasklist # Task list identifier. # @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 @@ -313,16 +297,14 @@ # @param [String] task # Task identifier. # @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 @@ -349,16 +331,14 @@ # @param [String] task # Task identifier. # @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::TasksV1::Task] parsed result object @@ -392,16 +372,14 @@ # Previous sibling task identifier. If the task is created at the first position # among its siblings, this parameter is omitted. Optional. # @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::TasksV1::Task] parsed result object @@ -460,16 +438,14 @@ # Lower bound for a task's last modification time (as a RFC 3339 timestamp) to # filter by. Optional. The default is not to filter by last modification time. # @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::TasksV1::Tasks] parsed result object @@ -515,16 +491,14 @@ # New previous sibling task identifier. If the task is moved to the first # position among its siblings, this parameter is omitted. Optional. # @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::TasksV1::Task] parsed result object @@ -556,16 +530,14 @@ # Task identifier. # @param [Google::Apis::TasksV1::Task] task_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::TasksV1::Task] parsed result object @@ -597,15 +569,13 @@ # Task identifier. # @param [Google::Apis::TasksV1::Task] task_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::TasksV1::Task] parsed result object