generated/google/apis/blogger_v2/service.rb in google-api-client-0.20.1 vs generated/google/apis/blogger_v2/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/', 'blogger/v2/')
@batch_path = 'batch/blogger/v2'
@@ -57,16 +55,14 @@
# @param [String] blog_id
# The ID of the blog to get.
# @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::BloggerV2::Blog] parsed result object
@@ -96,16 +92,14 @@
# @param [String] comment_id
# The ID of the comment to get.
# @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::BloggerV2::Comment] parsed result object
@@ -143,16 +137,14 @@
# @param [DateTime] start_date
# Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
# @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::BloggerV2::CommentList] parsed result object
@@ -185,16 +177,14 @@
# @param [String] page_id
# The ID of the page to get.
# @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::BloggerV2::Page] parsed result object
@@ -223,16 +213,14 @@
# @param [Boolean] fetch_bodies
# Whether to retrieve the Page bodies.
# @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::BloggerV2::PageList] parsed result object
@@ -261,16 +249,14 @@
# @param [String] post_id
# The ID of the post
# @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::BloggerV2::Post] parsed result object
@@ -305,16 +291,14 @@
# @param [DateTime] start_date
# Earliest post date to fetch, a date-time with RFC 3339 formatting.
# @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::BloggerV2::PostList] parsed result object
@@ -344,16 +328,14 @@
# @param [String] user_id
# The ID of the user to get.
# @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::BloggerV2::User] parsed result object
@@ -380,15 +362,13 @@
# ID of the user whose blogs are to be fetched. Either the word 'self' (sans
# quote marks) or the user's profile 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::BloggerV2::BlogList] parsed result object