Class: Google::Apis::ContactcenteraiplatformV1alpha1::ContactCenterQuota

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb,
lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb

Overview

Represents a quota for contact centers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContactCenterQuota

Returns a new instance of ContactCenterQuota.



247
248
249
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 247

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

Instance Attribute Details

#contact_center_count_limitFixnum

Deprecated: Use the Quota fields instead. Reflects the count limit of contact centers on a billing account. Corresponds to the JSON property contactCenterCountLimit

Returns:

  • (Fixnum)


234
235
236
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 234

def contact_center_count_limit
  @contact_center_count_limit
end

#contact_center_count_sumFixnum

Deprecated: Use the Quota fields instead. Reflects the count sum of contact centers on a billing account. Corresponds to the JSON property contactCenterCountSum

Returns:

  • (Fixnum)


240
241
242
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 240

def contact_center_count_sum
  @contact_center_count_sum
end

#quotasArray<Google::Apis::ContactcenteraiplatformV1alpha1::Quota>

Quota details per contact center instance type. Corresponds to the JSON property quotas



245
246
247
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 245

def quotas
  @quotas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
255
256
# File 'lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb', line 252

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