generated/google/apis/site_verification_v1/service.rb in google-api-client-0.9.pre2 vs generated/google/apis/site_verification_v1/service.rb in google-api-client-0.9.pre3
- old
+ new
@@ -157,13 +157,13 @@
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Attempt verification of a website or domain.
- # @param [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource] site_verification_web_resource_resource_object
# @param [String] verification_method
# The method to use for verifying a site or domain.
+ # @param [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource] site_verification_web_resource_resource_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.
@@ -181,10 +181,10 @@
# @return [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def insert_web_resource(site_verification_web_resource_resource_object = nil, verification_method: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
+ def insert_web_resource(verification_method, site_verification_web_resource_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
path = 'webResource'
command = make_simple_command(:post, path, options)
command.request_representation = Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Representation
command.request_object = site_verification_web_resource_resource_object
command.response_representation = Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Representation