Class: Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Site
- Inherits:
-
Object
- Object
- Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Site
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/site_verification_v1/classes.rb,
generated/google/apis/site_verification_v1/representations.rb,
generated/google/apis/site_verification_v1/representations.rb
Overview
The address and type of a site that is verified or will be verified.
Instance Attribute Summary collapse
-
#identifier ⇒ String
The site identifier.
-
#type ⇒ String
The site type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Site
constructor
A new instance of Site.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Site
Returns a new instance of Site.
172 173 174 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#identifier ⇒ String
The site identifier. If the type is set to SITE, the identifier is a URL. If
the type is set to INET_DOMAIN, the site identifier is a domain name.
Corresponds to the JSON property identifier
165 166 167 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 165 def identifier @identifier end |
#type ⇒ String
The site type. Can be SITE or INET_DOMAIN (domain name).
Corresponds to the JSON property type
170 171 172 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 170 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
177 178 179 180 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 177 def update!(**args) @identifier = args[:identifier] if args.key?(:identifier) @type = args[:type] if args.key?(:type) end |