generated/google/apis/site_verification_v1/classes.rb in google-api-client-0.11.3 vs generated/google/apis/site_verification_v1/classes.rb in google-api-client-0.12.0
- old
+ new
@@ -21,16 +21,16 @@
module Google
module Apis
module SiteVerificationV1
#
- class GetWebResourceTokenRequest
+ class SiteVerificationWebResourceGettokenRequest
include Google::Apis::Core::Hashable
# The site for which a verification token will be generated.
# Corresponds to the JSON property `site`
- # @return [Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest::Site]
+ # @return [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceGettokenRequest::Site]
attr_accessor :site
# The verification method that will be used to verify this site. For sites, '
# FILE' or 'META' methods may be used. For domains, only 'DNS' may be used.
# Corresponds to the JSON property `verificationMethod`
@@ -73,21 +73,21 @@
end
end
end
#
- class GetWebResourceTokenResponse
+ class SiteVerificationWebResourceGettokenResponse
include Google::Apis::Core::Hashable
# The verification method to use in conjunction with this token. For FILE, the
# token should be placed in the top-level directory of the site, stored inside a
# file of the same name. For META, the token should be placed in the HEAD tag of
# the default page that is loaded for the site. For DNS, the token should be
# placed in a TXT record of the domain.
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :verification_method
+ attr_accessor :method_prop
# The verification token. The token must be placed appropriately in order for
# verification to succeed.
# Corresponds to the JSON property `token`
# @return [String]
@@ -97,16 +97,16 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
- @verification_method = args[:verification_method] if args.key?(:verification_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
@token = args[:token] if args.key?(:token)
end
end
#
- class ListWebResourceResponse
+ class SiteVerificationWebResourceListResponse
include Google::Apis::Core::Hashable
# The list of sites that are owned by the authenticated user.
# Corresponds to the JSON property `items`
# @return [Array<Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource>]