Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TargetSiteFailureReason

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

Site search indexing failure reasons.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1TargetSiteFailureReason

Returns a new instance of GoogleCloudDiscoveryengineV1TargetSiteFailureReason.



8313
8314
8315
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8313

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

Instance Attribute Details

#quota_failureGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure

Failed due to insufficient quota. Corresponds to the JSON property quotaFailure



8311
8312
8313
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8311

def quota_failure
  @quota_failure
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8318
8319
8320
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8318

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