Class: Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource
- Inherits:
-
Object
- Object
- Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource
- 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
Defined Under Namespace
Classes: Site
Instance Attribute Summary collapse
-
#id ⇒ String
The string used to identify this site.
-
#owners ⇒ Array<String>
The email addresses of all verified owners.
-
#site ⇒ Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Site
The address and type of a site that is verified or will be verified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SiteVerificationWebResourceResource
constructor
A new instance of SiteVerificationWebResourceResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SiteVerificationWebResourceResource
Returns a new instance of SiteVerificationWebResourceResource.
146 147 148 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 146 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The string used to identify this site. This value should be used in the "id"
portion of the REST URL for the Get, Update, and Delete operations.
Corresponds to the JSON property id
134 135 136 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 134 def id @id end |
#owners ⇒ Array<String>
The email addresses of all verified owners.
Corresponds to the JSON property owners
139 140 141 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 139 def owners @owners end |
#site ⇒ Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Site
The address and type of a site that is verified or will be verified.
Corresponds to the JSON property site
144 145 146 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 144 def site @site end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
151 152 153 154 155 |
# File 'generated/google/apis/site_verification_v1/classes.rb', line 151 def update!(**args) @id = args[:id] if args.key?(:id) @owners = args[:owners] if args.key?(:owners) @site = args[:site] if args.key?(:site) end |