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.



2501
2502
2503
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2501

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)


2499
2500
2501
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2499

def total_required_quota
  @total_required_quota
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2506
2507
2508
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2506

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