Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure

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

Failed due to insufficient quota.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure

Returns a new instance of GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure.



2381
2382
2383
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2381

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

Instance Attribute Details

#total_required_quotaFixnum

This number is an estimation on how much total quota this project needs to successfully complete indexing. Corresponds to the JSON property totalRequiredQuota

Returns:

  • (Fixnum)


2379
2380
2381
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2379

def total_required_quota
  @total_required_quota
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2386
2387
2388
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2386

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