1"""Generated message classes for essentialcontacts version v1beta1. 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 23 Fields: 24 notificationCategories: The categories of notifications to compute 25 contacts for. If ALL is included in this list, contacts subscribed to 26 any notification category will be returned. 27 pageSize: Optional. The maximum number of results to return from this 28 request. Non-positive values are ignored. The presence of 29 `next_page_token` in the response indicates that more results might be 30 available. If not specified, the default page_size is 100. 31 pageToken: Optional. If present, retrieves the next batch of results from 32 the preceding call to this method. `page_token` must be the value of 33 `next_page_token` from the previous response. The values of other method 34 parameters should be identical to those in the previous call. 35 parent: Required. The name of the resource to compute contacts for. 36 Format: organizations/{organization_id}, folders/{folder_id} or 37 projects/{project_id} 38 """ 39 40 class NotificationCategoriesValueValuesEnum(_messages.Enum): 41 r"""The categories of notifications to compute contacts for. If ALL is 42 included in this list, contacts subscribed to any notification category 43 will be returned. 44 45 Values: 46 NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized 47 or unspecified. 48 ALL: All notifications related to the resource, including notifications 49 pertaining to categories added in the future. 50 SUSPENSION: Notifications related to imminent account suspension. 51 SECURITY: Notifications related to security/privacy incidents, 52 notifications, and vulnerabilities. 53 TECHNICAL: Notifications related to outages, errors, bugs, and other 54 technical issues. 55 BILLING: Notifications related to billing and payments notifications, 56 price updates, errors, or credits. 57 LEGAL: Notifications related to enforcement actions, regulatory 58 compliance, or government notices. 59 PRODUCT_UPDATES: Notifications related to new versions, product terms 60 updates, or deprecations. 61 TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical 62 incident notifications will go to these contacts instead of TECHNICAL. 63 """ 64 NOTIFICATION_CATEGORY_UNSPECIFIED = 0 65 ALL = 1 66 SUSPENSION = 2 67 SECURITY = 3 68 TECHNICAL = 4 69 BILLING = 5 70 LEGAL = 6 71 PRODUCT_UPDATES = 7 72 TECHNICAL_INCIDENTS = 8 73 74 notificationCategories = _messages.EnumField('NotificationCategoriesValueValuesEnum', 1, repeated=True) 75 pageSize = _messages.IntegerField(2, variant=_messages.Variant.INT32) 76 pageToken = _messages.StringField(3) 77 parent = _messages.StringField(4, required=True) 78 79 80class EssentialcontactsFoldersContactsCreateRequest(_messages.Message): 81 r"""A EssentialcontactsFoldersContactsCreateRequest object. 82 83 Fields: 84 googleCloudEssentialcontactsV1beta1Contact: A 85 GoogleCloudEssentialcontactsV1beta1Contact resource to be passed as the 86 request body. 87 parent: Required. The resource to save this contact for. Format: 88 organizations/{organization_id}, folders/{folder_id} or 89 projects/{project_id} 90 """ 91 92 googleCloudEssentialcontactsV1beta1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1) 93 parent = _messages.StringField(2, required=True) 94 95 96class EssentialcontactsFoldersContactsDeleteRequest(_messages.Message): 97 r"""A EssentialcontactsFoldersContactsDeleteRequest object. 98 99 Fields: 100 name: Required. The name of the contact to delete. Format: 101 organizations/{organization_id}/contacts/{contact_id}, 102 folders/{folder_id}/contacts/{contact_id} or 103 projects/{project_id}/contacts/{contact_id} 104 """ 105 106 name = _messages.StringField(1, required=True) 107 108 109class EssentialcontactsFoldersContactsGetRequest(_messages.Message): 110 r"""A EssentialcontactsFoldersContactsGetRequest object. 111 112 Fields: 113 name: Required. The name of the contact to retrieve. Format: 114 organizations/{organization_id}/contacts/{contact_id}, 115 folders/{folder_id}/contacts/{contact_id} or 116 projects/{project_id}/contacts/{contact_id} 117 """ 118 119 name = _messages.StringField(1, required=True) 120 121 122class EssentialcontactsFoldersContactsListRequest(_messages.Message): 123 r"""A EssentialcontactsFoldersContactsListRequest object. 124 125 Fields: 126 pageSize: Optional. The maximum number of results to return from this 127 request. Non-positive values are ignored. The presence of 128 `next_page_token` in the response indicates that more results might be 129 available. If not specified, the default page_size is 100. 130 pageToken: Optional. If present, retrieves the next batch of results from 131 the preceding call to this method. `page_token` must be the value of 132 `next_page_token` from the previous response. The values of other method 133 parameters should be identical to those in the previous call. 134 parent: Required. The parent resource name. Format: 135 organizations/{organization_id}, folders/{folder_id} or 136 projects/{project_id} 137 """ 138 139 pageSize = _messages.IntegerField(1, variant=_messages.Variant.INT32) 140 pageToken = _messages.StringField(2) 141 parent = _messages.StringField(3, required=True) 142 143 144class EssentialcontactsFoldersContactsPatchRequest(_messages.Message): 145 r"""A EssentialcontactsFoldersContactsPatchRequest object. 146 147 Fields: 148 googleCloudEssentialcontactsV1beta1Contact: A 149 GoogleCloudEssentialcontactsV1beta1Contact resource to be passed as the 150 request body. 151 name: The identifier for the contact. Format: 152 {resource_type}/{resource_id}/contacts/{contact_id} 153 updateMask: The update mask applied to the resource. For the `FieldMask` 154 definition, see https://developers.google.com/protocol- 155 buffers/docs/reference/google.protobuf#fieldmask 156 """ 157 158 googleCloudEssentialcontactsV1beta1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1) 159 name = _messages.StringField(2, required=True) 160 updateMask = _messages.StringField(3) 161 162 163class EssentialcontactsOrganizationsContactsComputeRequest(_messages.Message): 164 r"""A EssentialcontactsOrganizationsContactsComputeRequest object. 165 166 Enums: 167 NotificationCategoriesValueValuesEnum: The categories of notifications to 168 compute contacts for. If ALL is included in this list, contacts 169 subscribed to any notification category will be returned. 170 171 Fields: 172 notificationCategories: The categories of notifications to compute 173 contacts for. If ALL is included in this list, contacts subscribed to 174 any notification category will be returned. 175 pageSize: Optional. The maximum number of results to return from this 176 request. Non-positive values are ignored. The presence of 177 `next_page_token` in the response indicates that more results might be 178 available. If not specified, the default page_size is 100. 179 pageToken: Optional. If present, retrieves the next batch of results from 180 the preceding call to this method. `page_token` must be the value of 181 `next_page_token` from the previous response. The values of other method 182 parameters should be identical to those in the previous call. 183 parent: Required. The name of the resource to compute contacts for. 184 Format: organizations/{organization_id}, folders/{folder_id} or 185 projects/{project_id} 186 """ 187 188 class NotificationCategoriesValueValuesEnum(_messages.Enum): 189 r"""The categories of notifications to compute contacts for. If ALL is 190 included in this list, contacts subscribed to any notification category 191 will be returned. 192 193 Values: 194 NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized 195 or unspecified. 196 ALL: All notifications related to the resource, including notifications 197 pertaining to categories added in the future. 198 SUSPENSION: Notifications related to imminent account suspension. 199 SECURITY: Notifications related to security/privacy incidents, 200 notifications, and vulnerabilities. 201 TECHNICAL: Notifications related to outages, errors, bugs, and other 202 technical issues. 203 BILLING: Notifications related to billing and payments notifications, 204 price updates, errors, or credits. 205 LEGAL: Notifications related to enforcement actions, regulatory 206 compliance, or government notices. 207 PRODUCT_UPDATES: Notifications related to new versions, product terms 208 updates, or deprecations. 209 TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical 210 incident notifications will go to these contacts instead of TECHNICAL. 211 """ 212 NOTIFICATION_CATEGORY_UNSPECIFIED = 0 213 ALL = 1 214 SUSPENSION = 2 215 SECURITY = 3 216 TECHNICAL = 4 217 BILLING = 5 218 LEGAL = 6 219 PRODUCT_UPDATES = 7 220 TECHNICAL_INCIDENTS = 8 221 222 notificationCategories = _messages.EnumField('NotificationCategoriesValueValuesEnum', 1, repeated=True) 223 pageSize = _messages.IntegerField(2, variant=_messages.Variant.INT32) 224 pageToken = _messages.StringField(3) 225 parent = _messages.StringField(4, required=True) 226 227 228class EssentialcontactsOrganizationsContactsCreateRequest(_messages.Message): 229 r"""A EssentialcontactsOrganizationsContactsCreateRequest object. 230 231 Fields: 232 googleCloudEssentialcontactsV1beta1Contact: A 233 GoogleCloudEssentialcontactsV1beta1Contact resource to be passed as the 234 request body. 235 parent: Required. The resource to save this contact for. Format: 236 organizations/{organization_id}, folders/{folder_id} or 237 projects/{project_id} 238 """ 239 240 googleCloudEssentialcontactsV1beta1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1) 241 parent = _messages.StringField(2, required=True) 242 243 244class EssentialcontactsOrganizationsContactsDeleteRequest(_messages.Message): 245 r"""A EssentialcontactsOrganizationsContactsDeleteRequest object. 246 247 Fields: 248 name: Required. The name of the contact to delete. Format: 249 organizations/{organization_id}/contacts/{contact_id}, 250 folders/{folder_id}/contacts/{contact_id} or 251 projects/{project_id}/contacts/{contact_id} 252 """ 253 254 name = _messages.StringField(1, required=True) 255 256 257class EssentialcontactsOrganizationsContactsGetRequest(_messages.Message): 258 r"""A EssentialcontactsOrganizationsContactsGetRequest object. 259 260 Fields: 261 name: Required. The name of the contact to retrieve. Format: 262 organizations/{organization_id}/contacts/{contact_id}, 263 folders/{folder_id}/contacts/{contact_id} or 264 projects/{project_id}/contacts/{contact_id} 265 """ 266 267 name = _messages.StringField(1, required=True) 268 269 270class EssentialcontactsOrganizationsContactsListRequest(_messages.Message): 271 r"""A EssentialcontactsOrganizationsContactsListRequest object. 272 273 Fields: 274 pageSize: Optional. The maximum number of results to return from this 275 request. Non-positive values are ignored. The presence of 276 `next_page_token` in the response indicates that more results might be 277 available. If not specified, the default page_size is 100. 278 pageToken: Optional. If present, retrieves the next batch of results from 279 the preceding call to this method. `page_token` must be the value of 280 `next_page_token` from the previous response. The values of other method 281 parameters should be identical to those in the previous call. 282 parent: Required. The parent resource name. Format: 283 organizations/{organization_id}, folders/{folder_id} or 284 projects/{project_id} 285 """ 286 287 pageSize = _messages.IntegerField(1, variant=_messages.Variant.INT32) 288 pageToken = _messages.StringField(2) 289 parent = _messages.StringField(3, required=True) 290 291 292class EssentialcontactsOrganizationsContactsPatchRequest(_messages.Message): 293 r"""A EssentialcontactsOrganizationsContactsPatchRequest object. 294 295 Fields: 296 googleCloudEssentialcontactsV1beta1Contact: A 297 GoogleCloudEssentialcontactsV1beta1Contact resource to be passed as the 298 request body. 299 name: The identifier for the contact. Format: 300 {resource_type}/{resource_id}/contacts/{contact_id} 301 updateMask: The update mask applied to the resource. For the `FieldMask` 302 definition, see https://developers.google.com/protocol- 303 buffers/docs/reference/google.protobuf#fieldmask 304 """ 305 306 googleCloudEssentialcontactsV1beta1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1) 307 name = _messages.StringField(2, required=True) 308 updateMask = _messages.StringField(3) 309 310 311class EssentialcontactsProjectsContactsComputeRequest(_messages.Message): 312 r"""A EssentialcontactsProjectsContactsComputeRequest object. 313 314 Enums: 315 NotificationCategoriesValueValuesEnum: The categories of notifications to 316 compute contacts for. If ALL is included in this list, contacts 317 subscribed to any notification category will be returned. 318 319 Fields: 320 notificationCategories: The categories of notifications to compute 321 contacts for. If ALL is included in this list, contacts subscribed to 322 any notification category will be returned. 323 pageSize: Optional. The maximum number of results to return from this 324 request. Non-positive values are ignored. The presence of 325 `next_page_token` in the response indicates that more results might be 326 available. If not specified, the default page_size is 100. 327 pageToken: Optional. If present, retrieves the next batch of results from 328 the preceding call to this method. `page_token` must be the value of 329 `next_page_token` from the previous response. The values of other method 330 parameters should be identical to those in the previous call. 331 parent: Required. The name of the resource to compute contacts for. 332 Format: organizations/{organization_id}, folders/{folder_id} or 333 projects/{project_id} 334 """ 335 336 class NotificationCategoriesValueValuesEnum(_messages.Enum): 337 r"""The categories of notifications to compute contacts for. If ALL is 338 included in this list, contacts subscribed to any notification category 339 will be returned. 340 341 Values: 342 NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized 343 or unspecified. 344 ALL: All notifications related to the resource, including notifications 345 pertaining to categories added in the future. 346 SUSPENSION: Notifications related to imminent account suspension. 347 SECURITY: Notifications related to security/privacy incidents, 348 notifications, and vulnerabilities. 349 TECHNICAL: Notifications related to outages, errors, bugs, and other 350 technical issues. 351 BILLING: Notifications related to billing and payments notifications, 352 price updates, errors, or credits. 353 LEGAL: Notifications related to enforcement actions, regulatory 354 compliance, or government notices. 355 PRODUCT_UPDATES: Notifications related to new versions, product terms 356 updates, or deprecations. 357 TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical 358 incident notifications will go to these contacts instead of TECHNICAL. 359 """ 360 NOTIFICATION_CATEGORY_UNSPECIFIED = 0 361 ALL = 1 362 SUSPENSION = 2 363 SECURITY = 3 364 TECHNICAL = 4 365 BILLING = 5 366 LEGAL = 6 367 PRODUCT_UPDATES = 7 368 TECHNICAL_INCIDENTS = 8 369 370 notificationCategories = _messages.EnumField('NotificationCategoriesValueValuesEnum', 1, repeated=True) 371 pageSize = _messages.IntegerField(2, variant=_messages.Variant.INT32) 372 pageToken = _messages.StringField(3) 373 parent = _messages.StringField(4, required=True) 374 375 376class EssentialcontactsProjectsContactsCreateRequest(_messages.Message): 377 r"""A EssentialcontactsProjectsContactsCreateRequest object. 378 379 Fields: 380 googleCloudEssentialcontactsV1beta1Contact: A 381 GoogleCloudEssentialcontactsV1beta1Contact resource to be passed as the 382 request body. 383 parent: Required. The resource to save this contact for. Format: 384 organizations/{organization_id}, folders/{folder_id} or 385 projects/{project_id} 386 """ 387 388 googleCloudEssentialcontactsV1beta1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1) 389 parent = _messages.StringField(2, required=True) 390 391 392class EssentialcontactsProjectsContactsDeleteRequest(_messages.Message): 393 r"""A EssentialcontactsProjectsContactsDeleteRequest object. 394 395 Fields: 396 name: Required. The name of the contact to delete. Format: 397 organizations/{organization_id}/contacts/{contact_id}, 398 folders/{folder_id}/contacts/{contact_id} or 399 projects/{project_id}/contacts/{contact_id} 400 """ 401 402 name = _messages.StringField(1, required=True) 403 404 405class EssentialcontactsProjectsContactsGetRequest(_messages.Message): 406 r"""A EssentialcontactsProjectsContactsGetRequest object. 407 408 Fields: 409 name: Required. The name of the contact to retrieve. Format: 410 organizations/{organization_id}/contacts/{contact_id}, 411 folders/{folder_id}/contacts/{contact_id} or 412 projects/{project_id}/contacts/{contact_id} 413 """ 414 415 name = _messages.StringField(1, required=True) 416 417 418class EssentialcontactsProjectsContactsListRequest(_messages.Message): 419 r"""A EssentialcontactsProjectsContactsListRequest object. 420 421 Fields: 422 pageSize: Optional. The maximum number of results to return from this 423 request. Non-positive values are ignored. The presence of 424 `next_page_token` in the response indicates that more results might be 425 available. If not specified, the default page_size is 100. 426 pageToken: Optional. If present, retrieves the next batch of results from 427 the preceding call to this method. `page_token` must be the value of 428 `next_page_token` from the previous response. The values of other method 429 parameters should be identical to those in the previous call. 430 parent: Required. The parent resource name. Format: 431 organizations/{organization_id}, folders/{folder_id} or 432 projects/{project_id} 433 """ 434 435 pageSize = _messages.IntegerField(1, variant=_messages.Variant.INT32) 436 pageToken = _messages.StringField(2) 437 parent = _messages.StringField(3, required=True) 438 439 440class EssentialcontactsProjectsContactsPatchRequest(_messages.Message): 441 r"""A EssentialcontactsProjectsContactsPatchRequest object. 442 443 Fields: 444 googleCloudEssentialcontactsV1beta1Contact: A 445 GoogleCloudEssentialcontactsV1beta1Contact resource to be passed as the 446 request body. 447 name: The identifier for the contact. Format: 448 {resource_type}/{resource_id}/contacts/{contact_id} 449 updateMask: The update mask applied to the resource. For the `FieldMask` 450 definition, see https://developers.google.com/protocol- 451 buffers/docs/reference/google.protobuf#fieldmask 452 """ 453 454 googleCloudEssentialcontactsV1beta1Contact = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1) 455 name = _messages.StringField(2, required=True) 456 updateMask = _messages.StringField(3) 457 458 459class GoogleCloudEssentialcontactsV1beta1ComputeContactsResponse(_messages.Message): 460 r"""Response message for the ComputeContacts method. 461 462 Fields: 463 contacts: All contacts for the resource that are subscribed to the 464 specified notification categories, including contacts inherited from any 465 parent resources. 466 nextPageToken: If there are more results than those appearing in this 467 response, then `next_page_token` is included. To get the next set of 468 results, call this method again using the value of `next_page_token` as 469 `page_token` and the rest of the parameters the same as the original 470 request. 471 """ 472 473 contacts = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1, repeated=True) 474 nextPageToken = _messages.StringField(2) 475 476 477class GoogleCloudEssentialcontactsV1beta1Contact(_messages.Message): 478 r"""A contact that will receive notifications from Google Cloud. 479 480 Enums: 481 NotificationCategorySubscriptionsValueListEntryValuesEnum: 482 483 Fields: 484 email: Required. The email address to send notifications to. This does not 485 need to be a Google account. 486 languageTag: The preferred language for notifications, as a ISO 639-1 487 language code. See [Supported 488 languages](https://cloud.google.com/resource-manager/docs/managing- 489 notification-contacts#supported-languages) for a list of supported 490 languages. 491 name: The identifier for the contact. Format: 492 {resource_type}/{resource_id}/contacts/{contact_id} 493 notificationCategorySubscriptions: The categories of notifications that 494 the contact will receive communications for. 495 """ 496 497 class NotificationCategorySubscriptionsValueListEntryValuesEnum(_messages.Enum): 498 r"""NotificationCategorySubscriptionsValueListEntryValuesEnum enum type. 499 500 Values: 501 NOTIFICATION_CATEGORY_UNSPECIFIED: Notification category is unrecognized 502 or unspecified. 503 ALL: All notifications related to the resource, including notifications 504 pertaining to categories added in the future. 505 SUSPENSION: Notifications related to imminent account suspension. 506 SECURITY: Notifications related to security/privacy incidents, 507 notifications, and vulnerabilities. 508 TECHNICAL: Notifications related to outages, errors, bugs, and other 509 technical issues. 510 BILLING: Notifications related to billing and payments notifications, 511 price updates, errors, or credits. 512 LEGAL: Notifications related to enforcement actions, regulatory 513 compliance, or government notices. 514 PRODUCT_UPDATES: Notifications related to new versions, product terms 515 updates, or deprecations. 516 TECHNICAL_INCIDENTS: Child category of TECHNICAL. If assigned, technical 517 incident notifications will go to these contacts instead of TECHNICAL. 518 """ 519 NOTIFICATION_CATEGORY_UNSPECIFIED = 0 520 ALL = 1 521 SUSPENSION = 2 522 SECURITY = 3 523 TECHNICAL = 4 524 BILLING = 5 525 LEGAL = 6 526 PRODUCT_UPDATES = 7 527 TECHNICAL_INCIDENTS = 8 528 529 email = _messages.StringField(1) 530 languageTag = _messages.StringField(2) 531 name = _messages.StringField(3) 532 notificationCategorySubscriptions = _messages.EnumField('NotificationCategorySubscriptionsValueListEntryValuesEnum', 4, repeated=True) 533 534 535class GoogleCloudEssentialcontactsV1beta1ListContactsResponse(_messages.Message): 536 r"""Response message for the ListContacts method. 537 538 Fields: 539 contacts: The contacts for the specified resource. 540 nextPageToken: If there are more results than those appearing in this 541 response, then `next_page_token` is included. To get the next set of 542 results, call this method again using the value of `next_page_token` as 543 `page_token` and the rest of the parameters the same as the original 544 request. 545 """ 546 547 contacts = _messages.MessageField('GoogleCloudEssentialcontactsV1beta1Contact', 1, repeated=True) 548 nextPageToken = _messages.StringField(2) 549 550 551class GoogleProtobufEmpty(_messages.Message): 552 r"""A generic empty message that you can re-use to avoid defining duplicated 553 empty messages in your APIs. A typical example is to use it as the request 554 or the response type of an API method. For instance: service Foo { rpc 555 Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON 556 representation for `Empty` is empty JSON object `{}`. 557 """ 558 559 560 561class StandardQueryParameters(_messages.Message): 562 r"""Query parameters accepted by all methods. 563 564 Enums: 565 FXgafvValueValuesEnum: V1 error format. 566 AltValueValuesEnum: Data format for response. 567 568 Fields: 569 f__xgafv: V1 error format. 570 access_token: OAuth access token. 571 alt: Data format for response. 572 callback: JSONP 573 fields: Selector specifying which fields to include in a partial response. 574 key: API key. Your API key identifies your project and provides you with 575 API access, quota, and reports. Required unless you provide an OAuth 2.0 576 token. 577 oauth_token: OAuth 2.0 token for the current user. 578 prettyPrint: Returns response with indentations and line breaks. 579 quotaUser: Available to use for quota purposes for server-side 580 applications. Can be any arbitrary string assigned to a user, but should 581 not exceed 40 characters. 582 trace: A tracing token of the form "token:<tokenid>" to include in api 583 requests. 584 uploadType: Legacy upload protocol for media (e.g. "media", "multipart"). 585 upload_protocol: Upload protocol for media (e.g. "raw", "multipart"). 586 """ 587 588 class AltValueValuesEnum(_messages.Enum): 589 r"""Data format for response. 590 591 Values: 592 json: Responses with Content-Type of application/json 593 media: Media download with context-dependent Content-Type 594 proto: Responses with Content-Type of application/x-protobuf 595 """ 596 json = 0 597 media = 1 598 proto = 2 599 600 class FXgafvValueValuesEnum(_messages.Enum): 601 r"""V1 error format. 602 603 Values: 604 _1: v1 error format 605 _2: v2 error format 606 """ 607 _1 = 0 608 _2 = 1 609 610 f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1) 611 access_token = _messages.StringField(2) 612 alt = _messages.EnumField('AltValueValuesEnum', 3, default='json') 613 callback = _messages.StringField(4) 614 fields = _messages.StringField(5) 615 key = _messages.StringField(6) 616 oauth_token = _messages.StringField(7) 617 prettyPrint = _messages.BooleanField(8, default=True) 618 quotaUser = _messages.StringField(9) 619 trace = _messages.StringField(10) 620 uploadType = _messages.StringField(11) 621 upload_protocol = _messages.StringField(12) 622 623 624encoding.AddCustomJsonFieldMapping( 625 StandardQueryParameters, 'f__xgafv', '$.xgafv') 626encoding.AddCustomJsonEnumMapping( 627 StandardQueryParameters.FXgafvValueValuesEnum, '_1', '1') 628encoding.AddCustomJsonEnumMapping( 629 StandardQueryParameters.FXgafvValueValuesEnum, '_2', '2') 630