Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason

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

Site search indexing failure reasons.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason

Returns a new instance of GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason.



6492
6493
6494
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6492

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

Instance Attribute Details

#quota_failureGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure

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



6490
6491
6492
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6490

def quota_failure
  @quota_failure
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6497
6498
6499
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6497

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