Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SiteVerificationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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.



8134
8135
8136
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8134

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)


8127
8128
8129
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8127

def site_verification_state
  @site_verification_state
end

#verify_timeString

Latest site verification time. Corresponds to the JSON property verifyTime

Returns:

  • (String)


8132
8133
8134
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8132

def verify_time
  @verify_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8139
8140
8141
8142
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8139

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