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.



1324
1325
1326
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1324

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)


1317
1318
1319
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1317

def site_verification_state
  @site_verification_state
end

#verify_timeString

Latest site verification time. Corresponds to the JSON property verifyTime

Returns:

  • (String)


1322
1323
1324
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1322

def verify_time
  @verify_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1329
1330
1331
1332
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1329

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