generated/google/apis/pagespeedonline_v4/service.rb in google-api-client-0.20.1 vs generated/google/apis/pagespeedonline_v4/service.rb in google-api-client-0.21.0

- old
+ new

@@ -37,18 +37,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/', 'pagespeedonline/v4/') @batch_path = 'batch/pagespeedonline/v4' @@ -77,15 +75,13 @@ # @param [String] utm_source # Campaign source for analytics. # @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::PagespeedonlineV4::PagespeedApiPagespeedResponseV4] parsed result object