1"""Generated message classes for essentialcontacts version v1alpha1.
2
3"""
4# NOTE: This file is autogenerated and should not be edited by hand.
5
6from __future__ import absolute_import
7
8from apitools.base.protorpclite import messages as _messages
9from apitools.base.py import encoding
10
11
12package = 'essentialcontacts'
13
14
15class EssentialcontactsFoldersContactsComputeRequest(_messages.Message):
16  r"""A EssentialcontactsFoldersContactsComputeRequest object.
17
18  Enums:
19    NotificationCategoriesValueValuesEnum: The categories of notifications to
20      compute contacts for. If ALL is included in this list, contacts
21      subscribed to any notification category will be returned.
22    NotificationCategoryValueValuesEnum: The category of notification to
23      compute contacts for. Deprecated: use repeated notification_categories
24      field instead
25
26  Fields:
27    includeUnverifiedContacts: By default unverified contacts are filtered out
28      from computeContacts response
29    notificationCategories: The categories of notifications to compute
30      contacts for. If ALL is included in this list, contacts subscribed to
31      any notification category will be returned.
32    notificationCategory: The category of notification to compute contacts
33      for. Deprecated: use repeated notification_categories field instead
34    pageSize: Optional. The maximum number of results to return from this
35      request. Non-positive values are ignored. The presence of
36      `next_page_token` in the response indicates that more results might be
37      available. If not specified, the default page_size is 100.
38    pageToken: Optional. If present, retrieves the next batch of results from
39      the preceding call to this method. `page_token` must be the value of
40      `next_page_token` from the previous response. The values of other method
41      parameters should be identical to those in the previous call.
42    parent: Required. The name of the resource to compute contacts for.
43      Format: organizations/{organization_id}, folders/{folder_id} or
44      projects/{project_id}
45  """
46
47  class NotificationCategoriesValueValuesEnum(_messages.Enum):
48    r"""The categories of notifications to compute contacts for. If ALL is
49    included in this list, contacts subscribed to any notification category
50    will be returned.
51
52    Values:
53      NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized
54        or unspecified.
55      OTHER: Deprecated. Please use a more specific category.
56      ALL: All notifications related to the resource, including notifications
57        pertaining to categories added in the future.
58      SUSPENSION: Notifications related to imminent account suspension.
59      PRIVACY: Deprecated. Please use security instead.
60      SECURITY: Notifications related to security/privacy incidents,
61        notifications, and vulnerabilities.
62      TECHNICAL: Notifications related to outages, errors, bugs, and other
63        technical issues.
64      BILLING: Notifications related to billing and payments notifications,
65        price updates, errors, or credits.
66      LEGAL: Notifications related to enforcement actions, regulatory
67        compliance, or government notices.
68      PRODUCT_UPDATES: Notifications related to new versions, product terms
69        updates, or deprecations.
70      TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical
71        incident notifications will go to these contacts instead of TECHNICAL.
72    """
73    NOTIFICATION_CATEGORY_UNSPECIFIED = 0
74    OTHER = 1
75    ALL = 2
76    SUSPENSION = 3
77    PRIVACY = 4
78    SECURITY = 5
79    TECHNICAL = 6
80    BILLING = 7
81    LEGAL = 8
82    PRODUCT_UPDATES = 9
83    TECHNICAL_INCIDENTS = 10
84
85  class NotificationCategoryValueValuesEnum(_messages.Enum):
86    r"""The category of notification to compute contacts for. Deprecated: use
87    repeated notification_categories field instead
88
89    Values:
90      NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized
91        or unspecified.
92      OTHER: Deprecated. Please use a more specific category.
93      ALL: All notifications related to the resource, including notifications
94        pertaining to categories added in the future.
95      SUSPENSION: Notifications related to imminent account suspension.
96      PRIVACY: Deprecated. Please use security instead.
97      SECURITY: Notifications related to security/privacy incidents,
98        notifications, and vulnerabilities.
99      TECHNICAL: Notifications related to outages, errors, bugs, and other
100        technical issues.
101      BILLING: Notifications related to billing and payments notifications,
102        price updates, errors, or credits.
103      LEGAL: Notifications related to enforcement actions, regulatory
104        compliance, or government notices.
105      PRODUCT_UPDATES: Notifications related to new versions, product terms
106        updates, or deprecations.
107      TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical
108        incident notifications will go to these contacts instead of TECHNICAL.
109    """
110    NOTIFICATION_CATEGORY_UNSPECIFIED = 0
111    OTHER = 1
112    ALL = 2
113    SUSPENSION = 3
114    PRIVACY = 4
115    SECURITY = 5
116    TECHNICAL = 6
117    BILLING = 7
118    LEGAL = 8
119    PRODUCT_UPDATES = 9
120    TECHNICAL_INCIDENTS = 10
121
122  includeUnverifiedContacts = _messages.BooleanField(1)
123  notificationCategories = _messages.EnumField('NotificationCategoriesValueValuesEnum', 2, repeated=True)
124  notificationCategory = _messages.EnumField('NotificationCategoryValueValuesEnum', 3)
125  pageSize = _messages.IntegerField(4, variant=_messages.Variant.INT32)
126  pageToken = _messages.StringField(5)
127  parent = _messages.StringField(6, required=True)
128
129
130class EssentialcontactsFoldersContactsCreateRequest(_messages.Message):
131  r"""A EssentialcontactsFoldersContactsCreateRequest object.
132
133  Fields:
134    googleCloudEssentialcontactsV1alpha1Contact: A
135      GoogleCloudEssentialcontactsV1alpha1Contact resource to be passed as the
136      request body.
137    parent: Required. The resource to save this contact for. Format:
138      organizations/{organization_id}, folders/{folder_id} or
139      projects/{project_id}
140  """
141
142  googleCloudEssentialcontactsV1alpha1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1)
143  parent = _messages.StringField(2, required=True)
144
145
146class EssentialcontactsFoldersContactsDeleteRequest(_messages.Message):
147  r"""A EssentialcontactsFoldersContactsDeleteRequest object.
148
149  Fields:
150    name: Required. The name of the contact to delete. Format:
151      organizations/{organization_id}/contacts/{contact_id},
152      folders/{folder_id}/contacts/{contact_id} or
153      projects/{project_id}/contacts/{contact_id}
154  """
155
156  name = _messages.StringField(1, required=True)
157
158
159class EssentialcontactsFoldersContactsGetRequest(_messages.Message):
160  r"""A EssentialcontactsFoldersContactsGetRequest object.
161
162  Fields:
163    name: Required. The name of the contact to retrieve. Format:
164      organizations/{organization_id}/contacts/{contact_id},
165      folders/{folder_id}/contacts/{contact_id} or
166      projects/{project_id}/contacts/{contact_id}
167  """
168
169  name = _messages.StringField(1, required=True)
170
171
172class EssentialcontactsFoldersContactsListRequest(_messages.Message):
173  r"""A EssentialcontactsFoldersContactsListRequest object.
174
175  Fields:
176    pageSize: Optional. The maximum number of results to return from this
177      request. Non-positive values are ignored. The presence of
178      `next_page_token` in the response indicates that more results might be
179      available. If not specified, the default page_size is 100.
180    pageToken: Optional. If present, retrieves the next batch of results from
181      the preceding call to this method. `page_token` must be the value of
182      `next_page_token` from the previous response. The values of other method
183      parameters should be identical to those in the previous call.
184    parent: Required. The parent resource name. Format:
185      organizations/{organization_id}, folders/{folder_id} or
186      projects/{project_id}
187  """
188
189  pageSize = _messages.IntegerField(1, variant=_messages.Variant.INT32)
190  pageToken = _messages.StringField(2)
191  parent = _messages.StringField(3, required=True)
192
193
194class EssentialcontactsFoldersContactsPatchRequest(_messages.Message):
195  r"""A EssentialcontactsFoldersContactsPatchRequest object.
196
197  Fields:
198    googleCloudEssentialcontactsV1alpha1Contact: A
199      GoogleCloudEssentialcontactsV1alpha1Contact resource to be passed as the
200      request body.
201    name: The identifier for the contact. Format:
202      {resource_type}/{resource_id}/contacts/{contact_id}
203    updateMask: The update mask applied to the resource. For the `FieldMask`
204      definition, see https://developers.google.com/protocol-
205      buffers/docs/reference/google.protobuf#fieldmask
206  """
207
208  googleCloudEssentialcontactsV1alpha1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1)
209  name = _messages.StringField(2, required=True)
210  updateMask = _messages.StringField(3)
211
212
213class EssentialcontactsFoldersContactsResendRequest(_messages.Message):
214  r"""A EssentialcontactsFoldersContactsResendRequest object.
215
216  Fields:
217    googleCloudEssentialcontactsV1alpha1ResendVerificationRequest: A
218      GoogleCloudEssentialcontactsV1alpha1ResendVerificationRequest resource
219      to be passed as the request body.
220    name: Required. The name of the contact to verify. Format:
221      organizations/{organization_id}/contacts/{contact_id},
222      folders/{folder_id}/contacts/{contact_id} or
223      projects/{project_id}/contacts/{contact_id}
224  """
225
226  googleCloudEssentialcontactsV1alpha1ResendVerificationRequest = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1ResendVerificationRequest', 1)
227  name = _messages.StringField(2, required=True)
228
229
230class EssentialcontactsFoldersContactsVerifyRequest(_messages.Message):
231  r"""A EssentialcontactsFoldersContactsVerifyRequest object.
232
233  Fields:
234    googleCloudEssentialcontactsV1alpha1VerifyContactRequest: A
235      GoogleCloudEssentialcontactsV1alpha1VerifyContactRequest resource to be
236      passed as the request body.
237    name: Required. The name of the contact to verify. Format:
238      organizations/{organization_id}/contacts/{contact_id},
239      folders/{folder_id}/contacts/{contact_id} or
240      projects/{project_id}/contacts/{contact_id}
241  """
242
243  googleCloudEssentialcontactsV1alpha1VerifyContactRequest = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1VerifyContactRequest', 1)
244  name = _messages.StringField(2, required=True)
245
246
247class EssentialcontactsOrganizationsContactsComputeRequest(_messages.Message):
248  r"""A EssentialcontactsOrganizationsContactsComputeRequest object.
249
250  Enums:
251    NotificationCategoriesValueValuesEnum: The categories of notifications to
252      compute contacts for. If ALL is included in this list, contacts
253      subscribed to any notification category will be returned.
254    NotificationCategoryValueValuesEnum: The category of notification to
255      compute contacts for. Deprecated: use repeated notification_categories
256      field instead
257
258  Fields:
259    includeUnverifiedContacts: By default unverified contacts are filtered out
260      from computeContacts response
261    notificationCategories: The categories of notifications to compute
262      contacts for. If ALL is included in this list, contacts subscribed to
263      any notification category will be returned.
264    notificationCategory: The category of notification to compute contacts
265      for. Deprecated: use repeated notification_categories field instead
266    pageSize: Optional. The maximum number of results to return from this
267      request. Non-positive values are ignored. The presence of
268      `next_page_token` in the response indicates that more results might be
269      available. If not specified, the default page_size is 100.
270    pageToken: Optional. If present, retrieves the next batch of results from
271      the preceding call to this method. `page_token` must be the value of
272      `next_page_token` from the previous response. The values of other method
273      parameters should be identical to those in the previous call.
274    parent: Required. The name of the resource to compute contacts for.
275      Format: organizations/{organization_id}, folders/{folder_id} or
276      projects/{project_id}
277  """
278
279  class NotificationCategoriesValueValuesEnum(_messages.Enum):
280    r"""The categories of notifications to compute contacts for. If ALL is
281    included in this list, contacts subscribed to any notification category
282    will be returned.
283
284    Values:
285      NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized
286        or unspecified.
287      OTHER: Deprecated. Please use a more specific category.
288      ALL: All notifications related to the resource, including notifications
289        pertaining to categories added in the future.
290      SUSPENSION: Notifications related to imminent account suspension.
291      PRIVACY: Deprecated. Please use security instead.
292      SECURITY: Notifications related to security/privacy incidents,
293        notifications, and vulnerabilities.
294      TECHNICAL: Notifications related to outages, errors, bugs, and other
295        technical issues.
296      BILLING: Notifications related to billing and payments notifications,
297        price updates, errors, or credits.
298      LEGAL: Notifications related to enforcement actions, regulatory
299        compliance, or government notices.
300      PRODUCT_UPDATES: Notifications related to new versions, product terms
301        updates, or deprecations.
302      TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical
303        incident notifications will go to these contacts instead of TECHNICAL.
304    """
305    NOTIFICATION_CATEGORY_UNSPECIFIED = 0
306    OTHER = 1
307    ALL = 2
308    SUSPENSION = 3
309    PRIVACY = 4
310    SECURITY = 5
311    TECHNICAL = 6
312    BILLING = 7
313    LEGAL = 8
314    PRODUCT_UPDATES = 9
315    TECHNICAL_INCIDENTS = 10
316
317  class NotificationCategoryValueValuesEnum(_messages.Enum):
318    r"""The category of notification to compute contacts for. Deprecated: use
319    repeated notification_categories field instead
320
321    Values:
322      NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized
323        or unspecified.
324      OTHER: Deprecated. Please use a more specific category.
325      ALL: All notifications related to the resource, including notifications
326        pertaining to categories added in the future.
327      SUSPENSION: Notifications related to imminent account suspension.
328      PRIVACY: Deprecated. Please use security instead.
329      SECURITY: Notifications related to security/privacy incidents,
330        notifications, and vulnerabilities.
331      TECHNICAL: Notifications related to outages, errors, bugs, and other
332        technical issues.
333      BILLING: Notifications related to billing and payments notifications,
334        price updates, errors, or credits.
335      LEGAL: Notifications related to enforcement actions, regulatory
336        compliance, or government notices.
337      PRODUCT_UPDATES: Notifications related to new versions, product terms
338        updates, or deprecations.
339      TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical
340        incident notifications will go to these contacts instead of TECHNICAL.
341    """
342    NOTIFICATION_CATEGORY_UNSPECIFIED = 0
343    OTHER = 1
344    ALL = 2
345    SUSPENSION = 3
346    PRIVACY = 4
347    SECURITY = 5
348    TECHNICAL = 6
349    BILLING = 7
350    LEGAL = 8
351    PRODUCT_UPDATES = 9
352    TECHNICAL_INCIDENTS = 10
353
354  includeUnverifiedContacts = _messages.BooleanField(1)
355  notificationCategories = _messages.EnumField('NotificationCategoriesValueValuesEnum', 2, repeated=True)
356  notificationCategory = _messages.EnumField('NotificationCategoryValueValuesEnum', 3)
357  pageSize = _messages.IntegerField(4, variant=_messages.Variant.INT32)
358  pageToken = _messages.StringField(5)
359  parent = _messages.StringField(6, required=True)
360
361
362class EssentialcontactsOrganizationsContactsCreateRequest(_messages.Message):
363  r"""A EssentialcontactsOrganizationsContactsCreateRequest object.
364
365  Fields:
366    googleCloudEssentialcontactsV1alpha1Contact: A
367      GoogleCloudEssentialcontactsV1alpha1Contact resource to be passed as the
368      request body.
369    parent: Required. The resource to save this contact for. Format:
370      organizations/{organization_id}, folders/{folder_id} or
371      projects/{project_id}
372  """
373
374  googleCloudEssentialcontactsV1alpha1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1)
375  parent = _messages.StringField(2, required=True)
376
377
378class EssentialcontactsOrganizationsContactsDeleteRequest(_messages.Message):
379  r"""A EssentialcontactsOrganizationsContactsDeleteRequest object.
380
381  Fields:
382    name: Required. The name of the contact to delete. Format:
383      organizations/{organization_id}/contacts/{contact_id},
384      folders/{folder_id}/contacts/{contact_id} or
385      projects/{project_id}/contacts/{contact_id}
386  """
387
388  name = _messages.StringField(1, required=True)
389
390
391class EssentialcontactsOrganizationsContactsGetRequest(_messages.Message):
392  r"""A EssentialcontactsOrganizationsContactsGetRequest object.
393
394  Fields:
395    name: Required. The name of the contact to retrieve. Format:
396      organizations/{organization_id}/contacts/{contact_id},
397      folders/{folder_id}/contacts/{contact_id} or
398      projects/{project_id}/contacts/{contact_id}
399  """
400
401  name = _messages.StringField(1, required=True)
402
403
404class EssentialcontactsOrganizationsContactsListRequest(_messages.Message):
405  r"""A EssentialcontactsOrganizationsContactsListRequest object.
406
407  Fields:
408    pageSize: Optional. The maximum number of results to return from this
409      request. Non-positive values are ignored. The presence of
410      `next_page_token` in the response indicates that more results might be
411      available. If not specified, the default page_size is 100.
412    pageToken: Optional. If present, retrieves the next batch of results from
413      the preceding call to this method. `page_token` must be the value of
414      `next_page_token` from the previous response. The values of other method
415      parameters should be identical to those in the previous call.
416    parent: Required. The parent resource name. Format:
417      organizations/{organization_id}, folders/{folder_id} or
418      projects/{project_id}
419  """
420
421  pageSize = _messages.IntegerField(1, variant=_messages.Variant.INT32)
422  pageToken = _messages.StringField(2)
423  parent = _messages.StringField(3, required=True)
424
425
426class EssentialcontactsOrganizationsContactsPatchRequest(_messages.Message):
427  r"""A EssentialcontactsOrganizationsContactsPatchRequest object.
428
429  Fields:
430    googleCloudEssentialcontactsV1alpha1Contact: A
431      GoogleCloudEssentialcontactsV1alpha1Contact resource to be passed as the
432      request body.
433    name: The identifier for the contact. Format:
434      {resource_type}/{resource_id}/contacts/{contact_id}
435    updateMask: The update mask applied to the resource. For the `FieldMask`
436      definition, see https://developers.google.com/protocol-
437      buffers/docs/reference/google.protobuf#fieldmask
438  """
439
440  googleCloudEssentialcontactsV1alpha1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1)
441  name = _messages.StringField(2, required=True)
442  updateMask = _messages.StringField(3)
443
444
445class EssentialcontactsOrganizationsContactsResendRequest(_messages.Message):
446  r"""A EssentialcontactsOrganizationsContactsResendRequest object.
447
448  Fields:
449    googleCloudEssentialcontactsV1alpha1ResendVerificationRequest: A
450      GoogleCloudEssentialcontactsV1alpha1ResendVerificationRequest resource
451      to be passed as the request body.
452    name: Required. The name of the contact to verify. Format:
453      organizations/{organization_id}/contacts/{contact_id},
454      folders/{folder_id}/contacts/{contact_id} or
455      projects/{project_id}/contacts/{contact_id}
456  """
457
458  googleCloudEssentialcontactsV1alpha1ResendVerificationRequest = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1ResendVerificationRequest', 1)
459  name = _messages.StringField(2, required=True)
460
461
462class EssentialcontactsOrganizationsContactsVerifyRequest(_messages.Message):
463  r"""A EssentialcontactsOrganizationsContactsVerifyRequest object.
464
465  Fields:
466    googleCloudEssentialcontactsV1alpha1VerifyContactRequest: A
467      GoogleCloudEssentialcontactsV1alpha1VerifyContactRequest resource to be
468      passed as the request body.
469    name: Required. The name of the contact to verify. Format:
470      organizations/{organization_id}/contacts/{contact_id},
471      folders/{folder_id}/contacts/{contact_id} or
472      projects/{project_id}/contacts/{contact_id}
473  """
474
475  googleCloudEssentialcontactsV1alpha1VerifyContactRequest = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1VerifyContactRequest', 1)
476  name = _messages.StringField(2, required=True)
477
478
479class EssentialcontactsProjectsContactsComputeRequest(_messages.Message):
480  r"""A EssentialcontactsProjectsContactsComputeRequest object.
481
482  Enums:
483    NotificationCategoriesValueValuesEnum: The categories of notifications to
484      compute contacts for. If ALL is included in this list, contacts
485      subscribed to any notification category will be returned.
486    NotificationCategoryValueValuesEnum: The category of notification to
487      compute contacts for. Deprecated: use repeated notification_categories
488      field instead
489
490  Fields:
491    includeUnverifiedContacts: By default unverified contacts are filtered out
492      from computeContacts response
493    notificationCategories: The categories of notifications to compute
494      contacts for. If ALL is included in this list, contacts subscribed to
495      any notification category will be returned.
496    notificationCategory: The category of notification to compute contacts
497      for. Deprecated: use repeated notification_categories field instead
498    pageSize: Optional. The maximum number of results to return from this
499      request. Non-positive values are ignored. The presence of
500      `next_page_token` in the response indicates that more results might be
501      available. If not specified, the default page_size is 100.
502    pageToken: Optional. If present, retrieves the next batch of results from
503      the preceding call to this method. `page_token` must be the value of
504      `next_page_token` from the previous response. The values of other method
505      parameters should be identical to those in the previous call.
506    parent: Required. The name of the resource to compute contacts for.
507      Format: organizations/{organization_id}, folders/{folder_id} or
508      projects/{project_id}
509  """
510
511  class NotificationCategoriesValueValuesEnum(_messages.Enum):
512    r"""The categories of notifications to compute contacts for. If ALL is
513    included in this list, contacts subscribed to any notification category
514    will be returned.
515
516    Values:
517      NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized
518        or unspecified.
519      OTHER: Deprecated. Please use a more specific category.
520      ALL: All notifications related to the resource, including notifications
521        pertaining to categories added in the future.
522      SUSPENSION: Notifications related to imminent account suspension.
523      PRIVACY: Deprecated. Please use security instead.
524      SECURITY: Notifications related to security/privacy incidents,
525        notifications, and vulnerabilities.
526      TECHNICAL: Notifications related to outages, errors, bugs, and other
527        technical issues.
528      BILLING: Notifications related to billing and payments notifications,
529        price updates, errors, or credits.
530      LEGAL: Notifications related to enforcement actions, regulatory
531        compliance, or government notices.
532      PRODUCT_UPDATES: Notifications related to new versions, product terms
533        updates, or deprecations.
534      TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical
535        incident notifications will go to these contacts instead of TECHNICAL.
536    """
537    NOTIFICATION_CATEGORY_UNSPECIFIED = 0
538    OTHER = 1
539    ALL = 2
540    SUSPENSION = 3
541    PRIVACY = 4
542    SECURITY = 5
543    TECHNICAL = 6
544    BILLING = 7
545    LEGAL = 8
546    PRODUCT_UPDATES = 9
547    TECHNICAL_INCIDENTS = 10
548
549  class NotificationCategoryValueValuesEnum(_messages.Enum):
550    r"""The category of notification to compute contacts for. Deprecated: use
551    repeated notification_categories field instead
552
553    Values:
554      NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized
555        or unspecified.
556      OTHER: Deprecated. Please use a more specific category.
557      ALL: All notifications related to the resource, including notifications
558        pertaining to categories added in the future.
559      SUSPENSION: Notifications related to imminent account suspension.
560      PRIVACY: Deprecated. Please use security instead.
561      SECURITY: Notifications related to security/privacy incidents,
562        notifications, and vulnerabilities.
563      TECHNICAL: Notifications related to outages, errors, bugs, and other
564        technical issues.
565      BILLING: Notifications related to billing and payments notifications,
566        price updates, errors, or credits.
567      LEGAL: Notifications related to enforcement actions, regulatory
568        compliance, or government notices.
569      PRODUCT_UPDATES: Notifications related to new versions, product terms
570        updates, or deprecations.
571      TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical
572        incident notifications will go to these contacts instead of TECHNICAL.
573    """
574    NOTIFICATION_CATEGORY_UNSPECIFIED = 0
575    OTHER = 1
576    ALL = 2
577    SUSPENSION = 3
578    PRIVACY = 4
579    SECURITY = 5
580    TECHNICAL = 6
581    BILLING = 7
582    LEGAL = 8
583    PRODUCT_UPDATES = 9
584    TECHNICAL_INCIDENTS = 10
585
586  includeUnverifiedContacts = _messages.BooleanField(1)
587  notificationCategories = _messages.EnumField('NotificationCategoriesValueValuesEnum', 2, repeated=True)
588  notificationCategory = _messages.EnumField('NotificationCategoryValueValuesEnum', 3)
589  pageSize = _messages.IntegerField(4, variant=_messages.Variant.INT32)
590  pageToken = _messages.StringField(5)
591  parent = _messages.StringField(6, required=True)
592
593
594class EssentialcontactsProjectsContactsCreateRequest(_messages.Message):
595  r"""A EssentialcontactsProjectsContactsCreateRequest object.
596
597  Fields:
598    googleCloudEssentialcontactsV1alpha1Contact: A
599      GoogleCloudEssentialcontactsV1alpha1Contact resource to be passed as the
600      request body.
601    parent: Required. The resource to save this contact for. Format:
602      organizations/{organization_id}, folders/{folder_id} or
603      projects/{project_id}
604  """
605
606  googleCloudEssentialcontactsV1alpha1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1)
607  parent = _messages.StringField(2, required=True)
608
609
610class EssentialcontactsProjectsContactsDeleteRequest(_messages.Message):
611  r"""A EssentialcontactsProjectsContactsDeleteRequest object.
612
613  Fields:
614    name: Required. The name of the contact to delete. Format:
615      organizations/{organization_id}/contacts/{contact_id},
616      folders/{folder_id}/contacts/{contact_id} or
617      projects/{project_id}/contacts/{contact_id}
618  """
619
620  name = _messages.StringField(1, required=True)
621
622
623class EssentialcontactsProjectsContactsGetRequest(_messages.Message):
624  r"""A EssentialcontactsProjectsContactsGetRequest object.
625
626  Fields:
627    name: Required. The name of the contact to retrieve. Format:
628      organizations/{organization_id}/contacts/{contact_id},
629      folders/{folder_id}/contacts/{contact_id} or
630      projects/{project_id}/contacts/{contact_id}
631  """
632
633  name = _messages.StringField(1, required=True)
634
635
636class EssentialcontactsProjectsContactsListRequest(_messages.Message):
637  r"""A EssentialcontactsProjectsContactsListRequest object.
638
639  Fields:
640    pageSize: Optional. The maximum number of results to return from this
641      request. Non-positive values are ignored. The presence of
642      `next_page_token` in the response indicates that more results might be
643      available. If not specified, the default page_size is 100.
644    pageToken: Optional. If present, retrieves the next batch of results from
645      the preceding call to this method. `page_token` must be the value of
646      `next_page_token` from the previous response. The values of other method
647      parameters should be identical to those in the previous call.
648    parent: Required. The parent resource name. Format:
649      organizations/{organization_id}, folders/{folder_id} or
650      projects/{project_id}
651  """
652
653  pageSize = _messages.IntegerField(1, variant=_messages.Variant.INT32)
654  pageToken = _messages.StringField(2)
655  parent = _messages.StringField(3, required=True)
656
657
658class EssentialcontactsProjectsContactsPatchRequest(_messages.Message):
659  r"""A EssentialcontactsProjectsContactsPatchRequest object.
660
661  Fields:
662    googleCloudEssentialcontactsV1alpha1Contact: A
663      GoogleCloudEssentialcontactsV1alpha1Contact resource to be passed as the
664      request body.
665    name: The identifier for the contact. Format:
666      {resource_type}/{resource_id}/contacts/{contact_id}
667    updateMask: The update mask applied to the resource. For the `FieldMask`
668      definition, see https://developers.google.com/protocol-
669      buffers/docs/reference/google.protobuf#fieldmask
670  """
671
672  googleCloudEssentialcontactsV1alpha1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1)
673  name = _messages.StringField(2, required=True)
674  updateMask = _messages.StringField(3)
675
676
677class EssentialcontactsProjectsContactsResendRequest(_messages.Message):
678  r"""A EssentialcontactsProjectsContactsResendRequest object.
679
680  Fields:
681    googleCloudEssentialcontactsV1alpha1ResendVerificationRequest: A
682      GoogleCloudEssentialcontactsV1alpha1ResendVerificationRequest resource
683      to be passed as the request body.
684    name: Required. The name of the contact to verify. Format:
685      organizations/{organization_id}/contacts/{contact_id},
686      folders/{folder_id}/contacts/{contact_id} or
687      projects/{project_id}/contacts/{contact_id}
688  """
689
690  googleCloudEssentialcontactsV1alpha1ResendVerificationRequest = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1ResendVerificationRequest', 1)
691  name = _messages.StringField(2, required=True)
692
693
694class EssentialcontactsProjectsContactsVerifyRequest(_messages.Message):
695  r"""A EssentialcontactsProjectsContactsVerifyRequest object.
696
697  Fields:
698    googleCloudEssentialcontactsV1alpha1VerifyContactRequest: A
699      GoogleCloudEssentialcontactsV1alpha1VerifyContactRequest resource to be
700      passed as the request body.
701    name: Required. The name of the contact to verify. Format:
702      organizations/{organization_id}/contacts/{contact_id},
703      folders/{folder_id}/contacts/{contact_id} or
704      projects/{project_id}/contacts/{contact_id}
705  """
706
707  googleCloudEssentialcontactsV1alpha1VerifyContactRequest = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1VerifyContactRequest', 1)
708  name = _messages.StringField(2, required=True)
709
710
711class GoogleCloudEssentialcontactsV1alpha1ComputeContactsResponse(_messages.Message):
712  r"""Response message for the ComputeContacts method.
713
714  Fields:
715    contacts: All contacts for the resource that are subscribed to the
716      specified notification categories, including contacts inherited from any
717      parent resources.
718    nextPageToken: If there are more results than those appearing in this
719      response, then `next_page_token` is included. To get the next set of
720      results, call this method again using the value of `next_page_token` as
721      `page_token` and the rest of the parameters the same as the original
722      request.
723  """
724
725  contacts = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1, repeated=True)
726  nextPageToken = _messages.StringField(2)
727
728
729class GoogleCloudEssentialcontactsV1alpha1Contact(_messages.Message):
730  r"""A contact that will receive notifications from Google Cloud.
731
732  Enums:
733    NotificationCategorySubscriptionsValueListEntryValuesEnum:
734    VerificationStateValueValuesEnum: The verification state of this contact's
735      email address.
736
737  Fields:
738    email: Required. The email address to send notifications to. This does not
739      need to be a Google account.
740    languageTag: The preferred language for notifications, as a ISO 639-1
741      language code. See [Supported
742      languages](https://cloud.google.com/resource-manager/docs/managing-
743      notification-contacts#supported-languages) for a list of supported
744      languages.
745    name: The identifier for the contact. Format:
746      {resource_type}/{resource_id}/contacts/{contact_id}
747    notificationCategorySubscriptions: The categories of notifications that
748      the contact will receive communications for.
749    verificationExpireTime: Time when the current verification token will
750      expire. After this a new token will need to be generated for the user to
751      verify the contact.
752    verificationState: The verification state of this contact's email address.
753  """
754
755  class NotificationCategorySubscriptionsValueListEntryValuesEnum(_messages.Enum):
756    r"""NotificationCategorySubscriptionsValueListEntryValuesEnum enum type.
757
758    Values:
759      NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized
760        or unspecified.
761      OTHER: Deprecated. Please use a more specific category.
762      ALL: All notifications related to the resource, including notifications
763        pertaining to categories added in the future.
764      SUSPENSION: Notifications related to imminent account suspension.
765      PRIVACY: Deprecated. Please use security instead.
766      SECURITY: Notifications related to security/privacy incidents,
767        notifications, and vulnerabilities.
768      TECHNICAL: Notifications related to outages, errors, bugs, and other
769        technical issues.
770      BILLING: Notifications related to billing and payments notifications,
771        price updates, errors, or credits.
772      LEGAL: Notifications related to enforcement actions, regulatory
773        compliance, or government notices.
774      PRODUCT_UPDATES: Notifications related to new versions, product terms
775        updates, or deprecations.
776      TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical
777        incident notifications will go to these contacts instead of TECHNICAL.
778    """
779    NOTIFICATION_CATEGORY_UNSPECIFIED = 0
780    OTHER = 1
781    ALL = 2
782    SUSPENSION = 3
783    PRIVACY = 4
784    SECURITY = 5
785    TECHNICAL = 6
786    BILLING = 7
787    LEGAL = 8
788    PRODUCT_UPDATES = 9
789    TECHNICAL_INCIDENTS = 10
790
791  class VerificationStateValueValuesEnum(_messages.Enum):
792    r"""The verification state of this contact's email address.
793
794    Values:
795      VERIFICATION_STATE_UNSPECIFIED: VerificationState is unrecognized or
796        unspecified.
797      PENDING: Verification was sent but has not been accepted yet. A contact
798        will remain in this state even if verification time limit elapses. At
799        that point the contact cannot be verified, and ResendVerification must
800        be called to reset the timeout.
801      VERIFIED: Email has been verified.
802      FAILED: Error with verification - email could not be delivered.
803    """
804    VERIFICATION_STATE_UNSPECIFIED = 0
805    PENDING = 1
806    VERIFIED = 2
807    FAILED = 3
808
809  email = _messages.StringField(1)
810  languageTag = _messages.StringField(2)
811  name = _messages.StringField(3)
812  notificationCategorySubscriptions = _messages.EnumField('NotificationCategorySubscriptionsValueListEntryValuesEnum', 4, repeated=True)
813  verificationExpireTime = _messages.StringField(5)
814  verificationState = _messages.EnumField('VerificationStateValueValuesEnum', 6)
815
816
817class GoogleCloudEssentialcontactsV1alpha1ListContactsResponse(_messages.Message):
818  r"""Response message for the ListContacts method.
819
820  Fields:
821    contacts: The contacts for the specified resource.
822    nextPageToken: If there are more results than those appearing in this
823      response, then `next_page_token` is included. To get the next set of
824      results, call this method again using the value of `next_page_token` as
825      `page_token` and the rest of the parameters the same as the original
826      request.
827  """
828
829  contacts = _messages.MessageField('GoogleCloudEssentialcontactsV1alpha1Contact', 1, repeated=True)
830  nextPageToken = _messages.StringField(2)
831
832
833class GoogleCloudEssentialcontactsV1alpha1ResendVerificationRequest(_messages.Message):
834  r"""Request message for the ResendVerification method."""
835
836
837class GoogleCloudEssentialcontactsV1alpha1VerifyContactRequest(_messages.Message):
838  r"""Request message for the VerifyContact method.
839
840  Fields:
841    verificationToken: Token, extracted from link in verification email.
842  """
843
844  verificationToken = _messages.StringField(1)
845
846
847class GoogleProtobufEmpty(_messages.Message):
848  r"""A generic empty message that you can re-use to avoid defining duplicated
849  empty messages in your APIs. A typical example is to use it as the request
850  or the response type of an API method. For instance: service Foo { rpc
851  Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON
852  representation for `Empty` is empty JSON object `{}`.
853  """
854
855
856
857class StandardQueryParameters(_messages.Message):
858  r"""Query parameters accepted by all methods.
859
860  Enums:
861    FXgafvValueValuesEnum: V1 error format.
862    AltValueValuesEnum: Data format for response.
863
864  Fields:
865    f__xgafv: V1 error format.
866    access_token: OAuth access token.
867    alt: Data format for response.
868    callback: JSONP
869    fields: Selector specifying which fields to include in a partial response.
870    key: API key. Your API key identifies your project and provides you with
871      API access, quota, and reports. Required unless you provide an OAuth 2.0
872      token.
873    oauth_token: OAuth 2.0 token for the current user.
874    prettyPrint: Returns response with indentations and line breaks.
875    quotaUser: Available to use for quota purposes for server-side
876      applications. Can be any arbitrary string assigned to a user, but should
877      not exceed 40 characters.
878    trace: A tracing token of the form "token:<tokenid>" to include in api
879      requests.
880    uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
881    upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
882  """
883
884  class AltValueValuesEnum(_messages.Enum):
885    r"""Data format for response.
886
887    Values:
888      json: Responses with Content-Type of application/json
889      media: Media download with context-dependent Content-Type
890      proto: Responses with Content-Type of application/x-protobuf
891    """
892    json = 0
893    media = 1
894    proto = 2
895
896  class FXgafvValueValuesEnum(_messages.Enum):
897    r"""V1 error format.
898
899    Values:
900      _1: v1 error format
901      _2: v2 error format
902    """
903    _1 = 0
904    _2 = 1
905
906  f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1)
907  access_token = _messages.StringField(2)
908  alt = _messages.EnumField('AltValueValuesEnum', 3, default='json')
909  callback = _messages.StringField(4)
910  fields = _messages.StringField(5)
911  key = _messages.StringField(6)
912  oauth_token = _messages.StringField(7)
913  prettyPrint = _messages.BooleanField(8, default=True)
914  quotaUser = _messages.StringField(9)
915  trace = _messages.StringField(10)
916  uploadType = _messages.StringField(11)
917  upload_protocol = _messages.StringField(12)
918
919
920encoding.AddCustomJsonFieldMapping(
921    StandardQueryParameters, 'f__xgafv', '$.xgafv')
922encoding.AddCustomJsonEnumMapping(
923    StandardQueryParameters.FXgafvValueValuesEnum, '_1', '1')
924encoding.AddCustomJsonEnumMapping(
925    StandardQueryParameters.FXgafvValueValuesEnum, '_2', '2')
926