Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1TargetSiteFailureReason

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) ⇒ GoogleCloudDiscoveryengineV1TargetSiteFailureReason

Returns a new instance of GoogleCloudDiscoveryengineV1TargetSiteFailureReason.



1422
1423
1424
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1422

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

Instance Attribute Details

#quota_failureGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure

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



1420
1421
1422
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1420

def quota_failure
  @quota_failure
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1427
1428
1429
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1427

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