Cloud Quotas v1 API - Class QuotaPreference (1.0.0-beta02)

public sealed class QuotaPreference : IMessage<QuotaPreference>, IEquatable<QuotaPreference>, IDeepCloneable<QuotaPreference>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Quotas v1 API class QuotaPreference.

QuotaPreference represents the preferred quota configuration specified for a project, folder or organization. There is only one QuotaPreference resource for a quota value targeting a unique set of dimensions.

Inheritance

object > QuotaPreference

Namespace

Google.Cloud.CloudQuotas.V1

Assembly

Google.Cloud.CloudQuotas.V1.dll

Constructors

QuotaPreference()

public QuotaPreference()

QuotaPreference(QuotaPreference)

public QuotaPreference(QuotaPreference other)
Parameter
NameDescription
otherQuotaPreference

Properties

ContactEmail

public string ContactEmail { get; set; }

Required. Input only. An email address that can be used for quota related communication between the Google Cloud and the user in case the Google Cloud needs further information to make a decision on whether the user preferred quota can be granted.

The Google account for the email address must have quota update permission for the project, folder or organization this quota preference is for.

Property Value
TypeDescription
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create time stamp

Property Value
TypeDescription
Timestamp

Dimensions

public MapField<string, string> Dimensions { get; }

The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value.

If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value.

NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map.

Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.

Property Value
TypeDescription
MapFieldstringstring

Etag

public string Etag { get; set; }

Optional. The current etag of the quota preference. If an etag is provided on update and does not match the current server's etag of the quota preference, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags.

Property Value
TypeDescription
string

Justification

public string Justification { get; set; }

The reason / justification for this quota preference.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

Required except in the CREATE requests. The resource name of the quota preference. The ID component following "locations/" must be "global". Example: projects/123/locations/global/quotaPreferences/my-config-for-us-east1

Property Value
TypeDescription
string

QuotaConfig

public QuotaConfig QuotaConfig { get; set; }

Required. Preferred quota configuration.

Property Value
TypeDescription
QuotaConfig

QuotaId

public string QuotaId { get; set; }

Required. The id of the quota to which the quota preference is applied. A quota name is unique in the service. Example: CpusPerProjectPerRegion

Property Value
TypeDescription
string

QuotaPreferenceName

public QuotaPreferenceName QuotaPreferenceName { get; set; }

QuotaPreferenceName-typed view over the Name resource name property.

Property Value
TypeDescription
QuotaPreferenceName

Reconciling

public bool Reconciling { get; set; }

Output only. Is the quota preference pending Google Cloud approval and fulfillment.

Property Value
TypeDescription
bool

Service

public string Service { get; set; }

Required. The name of the service to which the quota preference is applied.

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update time stamp

Property Value
TypeDescription
Timestamp