public final class V1Beta1ProducerQuotaPolicy
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Consumer Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
V1Beta1ProducerQuotaPolicy() |
Modifier and Type | Method and Description |
---|---|
V1Beta1ProducerQuotaPolicy |
clone() |
String |
getContainer()
The cloud resource container at which the quota policy is created.
|
Map<String,String> |
getDimensions()
If this map is nonempty, then this policy applies only to specific values for dimensions
defined in the limit unit.
|
String |
getMetric()
The name of the metric to which this policy applies.
|
String |
getName()
The resource name of the producer policy.
|
Long |
getPolicyValue()
The quota policy value.
|
String |
getUnit()
The limit unit of the limit to which this policy applies.
|
V1Beta1ProducerQuotaPolicy |
set(String fieldName,
Object value) |
V1Beta1ProducerQuotaPolicy |
setContainer(String container)
The cloud resource container at which the quota policy is created.
|
V1Beta1ProducerQuotaPolicy |
setDimensions(Map<String,String> dimensions)
If this map is nonempty, then this policy applies only to specific values for dimensions
defined in the limit unit.
|
V1Beta1ProducerQuotaPolicy |
setMetric(String metric)
The name of the metric to which this policy applies.
|
V1Beta1ProducerQuotaPolicy |
setName(String name)
The resource name of the producer policy.
|
V1Beta1ProducerQuotaPolicy |
setPolicyValue(Long policyValue)
The quota policy value.
|
V1Beta1ProducerQuotaPolicy |
setUnit(String unit)
The limit unit of the limit to which this policy applies.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getContainer()
null
for nonepublic V1Beta1ProducerQuotaPolicy setContainer(String container)
container
- container or null
for nonepublic Map<String,String> getDimensions()
null
for nonepublic V1Beta1ProducerQuotaPolicy setDimensions(Map<String,String> dimensions)
dimensions
- dimensions or null
for nonepublic String getMetric()
null
for nonepublic V1Beta1ProducerQuotaPolicy setMetric(String metric)
metric
- metric or null
for nonepublic String getName()
null
for nonepublic V1Beta1ProducerQuotaPolicy setName(String name)
name
- name or null
for nonepublic Long getPolicyValue()
null
for nonepublic V1Beta1ProducerQuotaPolicy setPolicyValue(Long policyValue)
policyValue
- policyValue or null
for nonepublic String getUnit()
null
for nonepublic V1Beta1ProducerQuotaPolicy setUnit(String unit)
unit
- unit or null
for nonepublic V1Beta1ProducerQuotaPolicy set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public V1Beta1ProducerQuotaPolicy clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.