Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SiteVerificationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Verification information for target sites in advanced site search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SiteVerificationInfo

Returns a new instance of GoogleCloudDiscoveryengineV1SiteVerificationInfo.



2257
2258
2259
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2257

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#site_verification_stateString

Site verification state indicating the ownership and validity. Corresponds to the JSON property siteVerificationState

Returns:

  • (String)


2250
2251
2252
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2250

def site_verification_state
  @site_verification_state
end

#verify_timeString

Latest site verification time. Corresponds to the JSON property verifyTime

Returns:

  • (String)


2255
2256
2257
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2255

def verify_time
  @verify_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2262
2263
2264
2265
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2262

def update!(**args)
  @site_verification_state = args[:site_verification_state] if args.key?(:site_verification_state)
  @verify_time = args[:verify_time] if args.key?(:verify_time)
end