Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TemporaryQuota
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TemporaryQuota
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
Temporary quota increase / decrease
Instance Attribute Summary collapse
-
#quota ⇒ Fixnum
Corresponds to the 'refill_token_count' field in QuotaServer config Corresponds to the JSON property
quota. -
#quota_duration ⇒ String
How long this quota will be active for Corresponds to the JSON property
quotaDuration. -
#start_time ⇒ String
When this quota will take affect Corresponds to the JSON property
startTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2TemporaryQuota
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2TemporaryQuota.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2TemporaryQuota
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2TemporaryQuota.
1483 1484 1485 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1483 def initialize(**args) update!(**args) end |
Instance Attribute Details
#quota ⇒ Fixnum
Corresponds to the 'refill_token_count' field in QuotaServer config
Corresponds to the JSON property quota
1471 1472 1473 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1471 def quota @quota end |
#quota_duration ⇒ String
How long this quota will be active for
Corresponds to the JSON property quotaDuration
1476 1477 1478 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1476 def quota_duration @quota_duration end |
#start_time ⇒ String
When this quota will take affect
Corresponds to the JSON property startTime
1481 1482 1483 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1481 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1488 1489 1490 1491 1492 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1488 def update!(**args) @quota = args[:quota] if args.key?(:quota) @quota_duration = args[:quota_duration] if args.key?(:quota_duration) @start_time = args[:start_time] if args.key?(:start_time) end |