Skip to content

Commit 2c24fa5

Browse files
Google APIscopybara-github
authored andcommitted
docs: update comment of contact_email to make it optional as opposed to required
--- docs: update sample URL in field for `service_request_quota_uri` PiperOrigin-RevId: 619290180
1 parent 3a7c334 commit 2c24fa5

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

google/api/cloudquotas/v1/resources.proto

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,9 @@ message QuotaInfo {
126126
// on the total number of concurrent operations in flight at any given time.
127127
bool is_concurrent = 15;
128128

129-
// URI to the page where the user can request more quotas for the cloud
130-
// service, such as
131-
// https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0={email}&entry_1={id}.
132-
// Google Developers Console UI replace {email} with the current
133-
// user's e-mail, {id} with the current project number, or organization ID
134-
// with "organizations/" prefix. For example,
135-
// https://docs.google.com/spreadsheet/viewform?formkey=abc123&[email protected]&entry_1=25463754,
136-
// or
137-
// https://docs.google.com/spreadsheet/viewform?formkey=abc123&[email protected]&entry_1=organizations/26474422.
129+
// URI to the page where users can request more quota for the cloud
130+
// service—for example,
131+
// https://console.cloud.google.com/iam-admin/quotas.
138132
string service_request_quota_uri = 17;
139133
}
140134

@@ -227,17 +221,17 @@ message QuotaPreference {
227221
// The reason / justification for this quota preference.
228222
string justification = 11;
229223

230-
// Required. Input only. An email address that can be used for quota related
224+
// Input only. An email address that can be used for quota related
231225
// communication between the Google Cloud and the user in case the Google
232226
// Cloud needs further information to make a decision on whether the user
233227
// preferred quota can be granted.
234228
//
229+
// The email address is optional for decrease quota preferences. In another
230+
// word, QuotaConfig.preferred_value is smaller than the
231+
// QuotaDetails.reset_value. It is required for increase quota preferences.
235232
// The Google account for the email address must have quota update permission
236233
// for the project, folder or organization this quota preference is for.
237-
string contact_email = 12 [
238-
(google.api.field_behavior) = INPUT_ONLY,
239-
(google.api.field_behavior) = REQUIRED
240-
];
234+
string contact_email = 12 [(google.api.field_behavior) = INPUT_ONLY];
241235
}
242236

243237
// The preferred quota configuration.

0 commit comments

Comments
 (0)