public sealed class UpdateQuotaPreferenceRequest : IMessage<UpdateQuotaPreferenceRequest>, IEquatable<UpdateQuotaPreferenceRequest>, IDeepCloneable<UpdateQuotaPreferenceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Quotas v1 API class UpdateQuotaPreferenceRequest.
Message for updating a QuotaPreference
Implements
IMessageUpdateQuotaPreferenceRequest, IEquatableUpdateQuotaPreferenceRequest, IDeepCloneableUpdateQuotaPreferenceRequest, IBufferMessage, IMessageNamespace
Google.Cloud.CloudQuotas.V1Assembly
Google.Cloud.CloudQuotas.V1.dll
Constructors
UpdateQuotaPreferenceRequest()
public UpdateQuotaPreferenceRequest()
UpdateQuotaPreferenceRequest(UpdateQuotaPreferenceRequest)
public UpdateQuotaPreferenceRequest(UpdateQuotaPreferenceRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateQuotaPreferenceRequest |
Properties
AllowMissing
public bool AllowMissing { get; set; }
Optional. If set to true, and the quota preference is not found, a new one
will be created. In this situation, update_mask
is ignored.
Property Value | |
---|---|
Type | Description |
bool |
IgnoreSafetyChecks
public RepeatedField<QuotaSafetyCheck> IgnoreSafetyChecks { get; }
The list of quota safety checks to be ignored.
Property Value | |
---|---|
Type | Description |
RepeatedFieldQuotaSafetyCheck |
QuotaPreference
public QuotaPreference QuotaPreference { get; set; }
Required. The resource being updated
Property Value | |
---|---|
Type | Description |
QuotaPreference |
UpdateMask
public FieldMask UpdateMask { get; set; }
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
Property Value | |
---|---|
Type | Description |
FieldMask |
ValidateOnly
public bool ValidateOnly { get; set; }
Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled.
Property Value | |
---|---|
Type | Description |
bool |