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.



8871
8872
8873
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8871

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



8869
8870
8871
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8869

def quota_failure
  @quota_failure
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8876
8877
8878
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8876

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