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.



3525
3526
3527
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3525

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)


3523
3524
3525
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3523

def total_required_quota
  @total_required_quota
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3530
3531
3532
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3530

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