Class: Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#idString

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

Returns:

  • (String)


134
135
136
# File 'generated/google/apis/site_verification_v1/classes.rb', line 134

def id
  @id
end

#ownersArray<String>

The email addresses of all verified owners. Corresponds to the JSON property owners

Returns:

  • (Array<String>)


139
140
141
# File 'generated/google/apis/site_verification_v1/classes.rb', line 139

def owners
  @owners
end

#siteGoogle::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