1"""Generated message classes for file version v1beta1.
2
3The Cloud Filestore API is used for creating and managing cloud file servers.
4"""
5# NOTE: This file is autogenerated and should not be edited by hand.
6
7from __future__ import absolute_import
8
9from apitools.base.protorpclite import messages as _messages
10from apitools.base.py import encoding
11from apitools.base.py import extra_types
12
13
14package = 'file'
15
16
17class Backup(_messages.Message):
18  r"""A Cloud Filestore backup.
19
20  Enums:
21    SourceInstanceTierValueValuesEnum: Output only. The service tier of the
22      source Cloud Filestore instance that this backup is created from.
23    StateValueValuesEnum: Output only. The backup state.
24
25  Messages:
26    LabelsValue: Resource labels to represent user provided metadata.
27
28  Fields:
29    capacityGb: Output only. Capacity of the source file share when the backup
30      was created.
31    createTime: Output only. The time when the backup was created.
32    description: A description of the backup with 2048 characters or less.
33      Requests with longer descriptions will be rejected.
34    downloadBytes: Output only. Amount of bytes that will be downloaded if the
35      backup is restored
36    labels: Resource labels to represent user provided metadata.
37    name: Output only. The resource name of the backup, in the format
38      projects/{project_id}/locations/{location_id}/backups/{backup_id}.
39    sourceFileShare: Name of the file share in the source Cloud Filestore
40      instance that the backup is created from.
41    sourceInstance: The resource name of the source Cloud Filestore instance,
42      in the format
43      projects/{project_id}/locations/{location_id}/instances/{instance_id},
44      used to create this backup.
45    sourceInstanceTier: Output only. The service tier of the source Cloud
46      Filestore instance that this backup is created from.
47    state: Output only. The backup state.
48    storageBytes: Output only. The size of the storage used by the backup. As
49      backups share storage, this number is expected to change with backup
50      creation/deletion.
51  """
52
53  class SourceInstanceTierValueValuesEnum(_messages.Enum):
54    r"""Output only. The service tier of the source Cloud Filestore instance
55    that this backup is created from.
56
57    Values:
58      TIER_UNSPECIFIED: Not set.
59      STANDARD: STANDARD tier. BASIC_HDD is the preferred term for this tier.
60      PREMIUM: PREMIUM tier. BASIC_SSD is the preferred term for this tier.
61      BASIC_HDD: BASIC instances offer a maximum capacity of 63.9 TB.
62        BASIC_HDD is an alias for STANDARD Tier, offering economical
63        performance backed by HDD.
64      BASIC_SSD: BASIC instances offer a maximum capacity of 63.9 TB.
65        BASIC_SSD is an alias for PREMIUM Tier, and offers improved
66        performance backed by SSD.
67      HIGH_SCALE_SSD: HIGH_SCALE instances offer expanded capacity and
68        performance scaling capabilities.
69    """
70    TIER_UNSPECIFIED = 0
71    STANDARD = 1
72    PREMIUM = 2
73    BASIC_HDD = 3
74    BASIC_SSD = 4
75    HIGH_SCALE_SSD = 5
76
77  class StateValueValuesEnum(_messages.Enum):
78    r"""Output only. The backup state.
79
80    Values:
81      STATE_UNSPECIFIED: State not set.
82      CREATING: Backup is being created.
83      FINALIZING: Backup has been taken and the operation is being finalized.
84        At this point, changes to the file share will not be reflected in the
85        backup.
86      READY: Backup is available for use.
87      DELETING: Backup is being deleted.
88    """
89    STATE_UNSPECIFIED = 0
90    CREATING = 1
91    FINALIZING = 2
92    READY = 3
93    DELETING = 4
94
95  @encoding.MapUnrecognizedFields('additionalProperties')
96  class LabelsValue(_messages.Message):
97    r"""Resource labels to represent user provided metadata.
98
99    Messages:
100      AdditionalProperty: An additional property for a LabelsValue object.
101
102    Fields:
103      additionalProperties: Additional properties of type LabelsValue
104    """
105
106    class AdditionalProperty(_messages.Message):
107      r"""An additional property for a LabelsValue object.
108
109      Fields:
110        key: Name of the additional property.
111        value: A string attribute.
112      """
113
114      key = _messages.StringField(1)
115      value = _messages.StringField(2)
116
117    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
118
119  capacityGb = _messages.IntegerField(1)
120  createTime = _messages.StringField(2)
121  description = _messages.StringField(3)
122  downloadBytes = _messages.IntegerField(4)
123  labels = _messages.MessageField('LabelsValue', 5)
124  name = _messages.StringField(6)
125  sourceFileShare = _messages.StringField(7)
126  sourceInstance = _messages.StringField(8)
127  sourceInstanceTier = _messages.EnumField('SourceInstanceTierValueValuesEnum', 9)
128  state = _messages.EnumField('StateValueValuesEnum', 10)
129  storageBytes = _messages.IntegerField(11)
130
131
132class CancelOperationRequest(_messages.Message):
133  r"""The request message for Operations.CancelOperation."""
134
135
136class DailyCycle(_messages.Message):
137  r"""Time window specified for daily operations.
138
139  Fields:
140    duration: Output only. Duration of the time window, set by service
141      producer.
142    startTime: Time within the day to start the operations.
143  """
144
145  duration = _messages.StringField(1)
146  startTime = _messages.MessageField('TimeOfDay', 2)
147
148
149class Date(_messages.Message):
150  r"""Represents a whole or partial calendar date, such as a birthday. The
151  time of day and time zone are either specified elsewhere or are
152  insignificant. The date is relative to the Gregorian Calendar. This can
153  represent one of the following: * A full date, with non-zero year, month,
154  and day values * A month and day value, with a zero year, such as an
155  anniversary * A year on its own, with zero month and day values * A year and
156  month value, with a zero day, such as a credit card expiration date Related
157  types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
158
159  Fields:
160    day: Day of a month. Must be from 1 to 31 and valid for the year and
161      month, or 0 to specify a year by itself or a year and month where the
162      day isn't significant.
163    month: Month of a year. Must be from 1 to 12, or 0 to specify a year
164      without a month and day.
165    year: Year of the date. Must be from 1 to 9999, or 0 to specify a date
166      without a year.
167  """
168
169  day = _messages.IntegerField(1, variant=_messages.Variant.INT32)
170  month = _messages.IntegerField(2, variant=_messages.Variant.INT32)
171  year = _messages.IntegerField(3, variant=_messages.Variant.INT32)
172
173
174class DenyMaintenancePeriod(_messages.Message):
175  r"""DenyMaintenancePeriod definition. Maintenance is forbidden within the
176  deny period. The start_date must be less than the end_date.
177
178  Fields:
179    endDate: Deny period end date. This can be: * A full date, with non-zero
180      year, month and day values. * A month and day value, with a zero year.
181      Allows recurring deny periods each year. Date matching this period will
182      have to be before the end.
183    startDate: Deny period start date. This can be: * A full date, with non-
184      zero year, month and day values. * A month and day value, with a zero
185      year. Allows recurring deny periods each year. Date matching this period
186      will have to be the same or after the start.
187    time: Time in UTC when the Blackout period starts on start_date and ends
188      on end_date. This can be: * Full time. * All zeros for 00:00:00 UTC
189  """
190
191  endDate = _messages.MessageField('Date', 1)
192  startDate = _messages.MessageField('Date', 2)
193  time = _messages.MessageField('TimeOfDay', 3)
194
195
196class Empty(_messages.Message):
197  r"""A generic empty message that you can re-use to avoid defining duplicated
198  empty messages in your APIs. A typical example is to use it as the request
199  or the response type of an API method. For instance: service Foo { rpc
200  Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON
201  representation for `Empty` is empty JSON object `{}`.
202  """
203
204
205
206class FileProjectsLocationsBackupsCreateRequest(_messages.Message):
207  r"""A FileProjectsLocationsBackupsCreateRequest object.
208
209  Fields:
210    backup: A Backup resource to be passed as the request body.
211    backupId: Required. The ID to use for the backup. The ID must be unique
212      within the specified project and location. This value must start with a
213      lowercase letter followed by up to 62 lowercase letters, numbers, or
214      hyphens, and cannot end with a hyphen.
215    parent: Required. The backup's project and location, in the format
216      projects/{project_id}/locations/{location}. In Cloud Filestore, backup
217      locations map to GCP regions, for example **us-west1**.
218  """
219
220  backup = _messages.MessageField('Backup', 1)
221  backupId = _messages.StringField(2)
222  parent = _messages.StringField(3, required=True)
223
224
225class FileProjectsLocationsBackupsDeleteRequest(_messages.Message):
226  r"""A FileProjectsLocationsBackupsDeleteRequest object.
227
228  Fields:
229    name: Required. The backup resource name, in the format
230      projects/{project_id}/locations/{location}/backups/{backup_id}
231  """
232
233  name = _messages.StringField(1, required=True)
234
235
236class FileProjectsLocationsBackupsGetRequest(_messages.Message):
237  r"""A FileProjectsLocationsBackupsGetRequest object.
238
239  Fields:
240    name: Required. The backup resource name, in the format
241      projects/{project_id}/locations/{location}/backups/{backup_id}.
242  """
243
244  name = _messages.StringField(1, required=True)
245
246
247class FileProjectsLocationsBackupsListRequest(_messages.Message):
248  r"""A FileProjectsLocationsBackupsListRequest object.
249
250  Fields:
251    filter: List filter.
252    orderBy: Sort results. Supported values are "name", "name desc" or ""
253      (unsorted).
254    pageSize: The maximum number of items to return.
255    pageToken: The next_page_token value to use if there are additional
256      results to retrieve for this list request.
257    parent: Required. The project and location for which to retrieve backup
258      information, in the format projects/{project_id}/locations/{location}.
259      In Cloud Filestore, backup locations map to GCP regions, for example
260      **us-west1**. To retrieve backup information for all locations, use "-"
261      for the {location} value.
262  """
263
264  filter = _messages.StringField(1)
265  orderBy = _messages.StringField(2)
266  pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32)
267  pageToken = _messages.StringField(4)
268  parent = _messages.StringField(5, required=True)
269
270
271class FileProjectsLocationsBackupsPatchRequest(_messages.Message):
272  r"""A FileProjectsLocationsBackupsPatchRequest object.
273
274  Fields:
275    backup: A Backup resource to be passed as the request body.
276    name: Output only. The resource name of the backup, in the format
277      projects/{project_id}/locations/{location_id}/backups/{backup_id}.
278    updateMask: Required. Mask of fields to update. At least one path must be
279      supplied in this field.
280  """
281
282  backup = _messages.MessageField('Backup', 1)
283  name = _messages.StringField(2, required=True)
284  updateMask = _messages.StringField(3)
285
286
287class FileProjectsLocationsGetRequest(_messages.Message):
288  r"""A FileProjectsLocationsGetRequest object.
289
290  Fields:
291    name: Resource name for the location.
292  """
293
294  name = _messages.StringField(1, required=True)
295
296
297class FileProjectsLocationsInstancesCreateRequest(_messages.Message):
298  r"""A FileProjectsLocationsInstancesCreateRequest object.
299
300  Fields:
301    instance: A Instance resource to be passed as the request body.
302    instanceId: Required. The ID of the instance to create. The ID must be
303      unique within the specified project and location. This value must start
304      with a lowercase letter followed by up to 62 lowercase letters, numbers,
305      or hyphens, and cannot end with a hyphen.
306    parent: Required. The instance's project and location, in the format
307      projects/{project_id}/locations/{location}. In Cloud Filestore,
308      locations map to GCP zones, for example **us-west1-b**.
309  """
310
311  instance = _messages.MessageField('Instance', 1)
312  instanceId = _messages.StringField(2)
313  parent = _messages.StringField(3, required=True)
314
315
316class FileProjectsLocationsInstancesDeleteRequest(_messages.Message):
317  r"""A FileProjectsLocationsInstancesDeleteRequest object.
318
319  Fields:
320    name: Required. The instance resource name, in the format
321      projects/{project_id}/locations/{location}/instances/{instance_id}
322  """
323
324  name = _messages.StringField(1, required=True)
325
326
327class FileProjectsLocationsInstancesGetRequest(_messages.Message):
328  r"""A FileProjectsLocationsInstancesGetRequest object.
329
330  Fields:
331    name: Required. The instance resource name, in the format
332      projects/{project_id}/locations/{location}/instances/{instance_id}.
333  """
334
335  name = _messages.StringField(1, required=True)
336
337
338class FileProjectsLocationsInstancesListRequest(_messages.Message):
339  r"""A FileProjectsLocationsInstancesListRequest object.
340
341  Fields:
342    filter: List filter.
343    orderBy: Sort results. Supported values are "name", "name desc" or ""
344      (unsorted).
345    pageSize: The maximum number of items to return.
346    pageToken: The next_page_token value to use if there are additional
347      results to retrieve for this list request.
348    parent: Required. The project and location for which to retrieve instance
349      information, in the format projects/{project_id}/locations/{location}.
350      In Cloud Filestore, locations map to GCP zones, for example **us-
351      west1-b**. To retrieve instance information for all locations, use "-"
352      for the {location} value.
353  """
354
355  filter = _messages.StringField(1)
356  orderBy = _messages.StringField(2)
357  pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32)
358  pageToken = _messages.StringField(4)
359  parent = _messages.StringField(5, required=True)
360
361
362class FileProjectsLocationsInstancesPatchRequest(_messages.Message):
363  r"""A FileProjectsLocationsInstancesPatchRequest object.
364
365  Fields:
366    instance: A Instance resource to be passed as the request body.
367    name: Output only. The resource name of the instance, in the format
368      projects/{project_id}/locations/{location_id}/instances/{instance_id}.
369    updateMask: Required. Mask of fields to update. At least one path must be
370      supplied in this field. The elements of the repeated paths field may
371      only include these fields: * "description" * "file_shares" * "labels"
372  """
373
374  instance = _messages.MessageField('Instance', 1)
375  name = _messages.StringField(2, required=True)
376  updateMask = _messages.StringField(3)
377
378
379class FileProjectsLocationsInstancesRestoreRequest(_messages.Message):
380  r"""A FileProjectsLocationsInstancesRestoreRequest object.
381
382  Fields:
383    name: Required. The resource name of the instance, in the format
384      projects/{project_id}/locations/{location_id}/instances/{instance_id}.
385    restoreInstanceRequest: A RestoreInstanceRequest resource to be passed as
386      the request body.
387  """
388
389  name = _messages.StringField(1, required=True)
390  restoreInstanceRequest = _messages.MessageField('RestoreInstanceRequest', 2)
391
392
393class FileProjectsLocationsListRequest(_messages.Message):
394  r"""A FileProjectsLocationsListRequest object.
395
396  Fields:
397    filter: The standard list filter.
398    includeUnrevealedLocations: If true, the returned list will include
399      locations which are not yet revealed.
400    name: The resource that owns the locations collection, if applicable.
401    pageSize: The standard list page size.
402    pageToken: The standard list page token.
403  """
404
405  filter = _messages.StringField(1)
406  includeUnrevealedLocations = _messages.BooleanField(2)
407  name = _messages.StringField(3, required=True)
408  pageSize = _messages.IntegerField(4, variant=_messages.Variant.INT32)
409  pageToken = _messages.StringField(5)
410
411
412class FileProjectsLocationsOperationsCancelRequest(_messages.Message):
413  r"""A FileProjectsLocationsOperationsCancelRequest object.
414
415  Fields:
416    cancelOperationRequest: A CancelOperationRequest resource to be passed as
417      the request body.
418    name: The name of the operation resource to be cancelled.
419  """
420
421  cancelOperationRequest = _messages.MessageField('CancelOperationRequest', 1)
422  name = _messages.StringField(2, required=True)
423
424
425class FileProjectsLocationsOperationsDeleteRequest(_messages.Message):
426  r"""A FileProjectsLocationsOperationsDeleteRequest object.
427
428  Fields:
429    name: The name of the operation resource to be deleted.
430  """
431
432  name = _messages.StringField(1, required=True)
433
434
435class FileProjectsLocationsOperationsGetRequest(_messages.Message):
436  r"""A FileProjectsLocationsOperationsGetRequest object.
437
438  Fields:
439    name: The name of the operation resource.
440  """
441
442  name = _messages.StringField(1, required=True)
443
444
445class FileProjectsLocationsOperationsListRequest(_messages.Message):
446  r"""A FileProjectsLocationsOperationsListRequest object.
447
448  Fields:
449    filter: The standard list filter.
450    name: The name of the operation's parent resource.
451    pageSize: The standard list page size.
452    pageToken: The standard list page token.
453  """
454
455  filter = _messages.StringField(1)
456  name = _messages.StringField(2, required=True)
457  pageSize = _messages.IntegerField(3, variant=_messages.Variant.INT32)
458  pageToken = _messages.StringField(4)
459
460
461class FileShareConfig(_messages.Message):
462  r"""File share configuration for the instance.
463
464  Fields:
465    capacityGb: File share capacity in gigabytes (GB). Cloud Filestore defines
466      1 GB as 1024^3 bytes.
467    name: The name of the file share (must be 16 characters or less).
468    nfsExportOptions: Nfs Export Options. There is a limit of 10 export
469      options per file share.
470    sourceBackup: The resource name of the backup, in the format
471      projects/{project_id}/locations/{location_id}/backups/{backup_id}, that
472      this file share has been restored from.
473  """
474
475  capacityGb = _messages.IntegerField(1)
476  name = _messages.StringField(2)
477  nfsExportOptions = _messages.MessageField('NfsExportOptions', 3, repeated=True)
478  sourceBackup = _messages.StringField(4)
479
480
481class GoogleCloudSaasacceleratorManagementProvidersV1Instance(_messages.Message):
482  r"""A GoogleCloudSaasacceleratorManagementProvidersV1Instance object.
483
484  Enums:
485    StateValueValuesEnum: Output only. Current lifecycle state of the resource
486      (e.g. if it's being created or ready to use).
487
488  Messages:
489    LabelsValue: Optional. Resource labels to represent user provided
490      metadata. Each label is a key-value pair, where both the key and the
491      value are arbitrary strings provided by the user.
492    MaintenancePolicyNamesValue: Deprecated. The MaintenancePolicies that have
493      been attached to the instance. The key must be of the type name of the
494      oneof policy name defined in MaintenancePolicy, and the referenced
495      policy must define the same policy type. For complete details of
496      MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
497    MaintenanceSchedulesValue: The MaintenanceSchedule contains the scheduling
498      information of published maintenance schedule with same key as
499      software_versions.
500    ProducerMetadataValue: Output only. Custom string attributes used
501      primarily to expose producer-specific information in monitoring
502      dashboards. See go/get-instance-metadata.
503    SoftwareVersionsValue: Software versions that are used to deploy this
504      instance. This can be mutated by rollout services.
505
506  Fields:
507    consumerDefinedName: consumer_defined_name is the name that is set by the
508      consumer. On the other hand Name field represents system-assigned id of
509      an instance so consumers are not necessarily aware of it.
510      consumer_defined_name is used for notification/UI purposes for consumer
511      to recognize their instances.
512    createTime: Output only. Timestamp when the resource was created.
513    labels: Optional. Resource labels to represent user provided metadata.
514      Each label is a key-value pair, where both the key and the value are
515      arbitrary strings provided by the user.
516    maintenancePolicyNames: Deprecated. The MaintenancePolicies that have been
517      attached to the instance. The key must be of the type name of the oneof
518      policy name defined in MaintenancePolicy, and the referenced policy must
519      define the same policy type. For complete details of MaintenancePolicy,
520      please refer to go/cloud-saas-mw-ug.
521    maintenanceSchedules: The MaintenanceSchedule contains the scheduling
522      information of published maintenance schedule with same key as
523      software_versions.
524    maintenanceSettings: Optional. The MaintenanceSettings associated with
525      instance.
526    name: Unique name of the resource. It uses the form:
527      `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
528    producerMetadata: Output only. Custom string attributes used primarily to
529      expose producer-specific information in monitoring dashboards. See
530      go/get-instance-metadata.
531    provisionedResources: Output only. The list of data plane resources
532      provisioned for this instance, e.g. compute VMs. See go/get-instance-
533      metadata.
534    slmInstanceTemplate: Link to the SLM instance template. Only populated
535      when updating SLM instances via SSA's Actuation service adaptor. Service
536      producers with custom control plane (e.g. Cloud SQL) doesn't need to
537      populate this field. Instead they should use software_versions.
538    sloMetadata: Output only. SLO metadata for instance classification in the
539      Standardized dataplane SLO platform. See go/cloud-ssa-standard-slo for
540      feature description.
541    softwareVersions: Software versions that are used to deploy this instance.
542      This can be mutated by rollout services.
543    state: Output only. Current lifecycle state of the resource (e.g. if it's
544      being created or ready to use).
545    tenantProjectId: Output only. ID of the associated GCP tenant project. See
546      go/get-instance-metadata.
547    updateTime: Output only. Timestamp when the resource was last modified.
548  """
549
550  class StateValueValuesEnum(_messages.Enum):
551    r"""Output only. Current lifecycle state of the resource (e.g. if it's
552    being created or ready to use).
553
554    Values:
555      STATE_UNSPECIFIED: Unspecified state.
556      CREATING: Instance is being created.
557      READY: Instance has been created and is ready to use.
558      UPDATING: Instance is being updated.
559      REPAIRING: Instance is unheathy and under repair.
560      DELETING: Instance is being deleted.
561      ERROR: Instance encountered an error and is in indeterministic state.
562    """
563    STATE_UNSPECIFIED = 0
564    CREATING = 1
565    READY = 2
566    UPDATING = 3
567    REPAIRING = 4
568    DELETING = 5
569    ERROR = 6
570
571  @encoding.MapUnrecognizedFields('additionalProperties')
572  class LabelsValue(_messages.Message):
573    r"""Optional. Resource labels to represent user provided metadata. Each
574    label is a key-value pair, where both the key and the value are arbitrary
575    strings provided by the user.
576
577    Messages:
578      AdditionalProperty: An additional property for a LabelsValue object.
579
580    Fields:
581      additionalProperties: Additional properties of type LabelsValue
582    """
583
584    class AdditionalProperty(_messages.Message):
585      r"""An additional property for a LabelsValue object.
586
587      Fields:
588        key: Name of the additional property.
589        value: A string attribute.
590      """
591
592      key = _messages.StringField(1)
593      value = _messages.StringField(2)
594
595    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
596
597  @encoding.MapUnrecognizedFields('additionalProperties')
598  class MaintenancePolicyNamesValue(_messages.Message):
599    r"""Deprecated. The MaintenancePolicies that have been attached to the
600    instance. The key must be of the type name of the oneof policy name
601    defined in MaintenancePolicy, and the referenced policy must define the
602    same policy type. For complete details of MaintenancePolicy, please refer
603    to go/cloud-saas-mw-ug.
604
605    Messages:
606      AdditionalProperty: An additional property for a
607        MaintenancePolicyNamesValue object.
608
609    Fields:
610      additionalProperties: Additional properties of type
611        MaintenancePolicyNamesValue
612    """
613
614    class AdditionalProperty(_messages.Message):
615      r"""An additional property for a MaintenancePolicyNamesValue object.
616
617      Fields:
618        key: Name of the additional property.
619        value: A string attribute.
620      """
621
622      key = _messages.StringField(1)
623      value = _messages.StringField(2)
624
625    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
626
627  @encoding.MapUnrecognizedFields('additionalProperties')
628  class MaintenanceSchedulesValue(_messages.Message):
629    r"""The MaintenanceSchedule contains the scheduling information of
630    published maintenance schedule with same key as software_versions.
631
632    Messages:
633      AdditionalProperty: An additional property for a
634        MaintenanceSchedulesValue object.
635
636    Fields:
637      additionalProperties: Additional properties of type
638        MaintenanceSchedulesValue
639    """
640
641    class AdditionalProperty(_messages.Message):
642      r"""An additional property for a MaintenanceSchedulesValue object.
643
644      Fields:
645        key: Name of the additional property.
646        value: A
647          GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
648          attribute.
649      """
650
651      key = _messages.StringField(1)
652      value = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule', 2)
653
654    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
655
656  @encoding.MapUnrecognizedFields('additionalProperties')
657  class ProducerMetadataValue(_messages.Message):
658    r"""Output only. Custom string attributes used primarily to expose
659    producer-specific information in monitoring dashboards. See go/get-
660    instance-metadata.
661
662    Messages:
663      AdditionalProperty: An additional property for a ProducerMetadataValue
664        object.
665
666    Fields:
667      additionalProperties: Additional properties of type
668        ProducerMetadataValue
669    """
670
671    class AdditionalProperty(_messages.Message):
672      r"""An additional property for a ProducerMetadataValue object.
673
674      Fields:
675        key: Name of the additional property.
676        value: A string attribute.
677      """
678
679      key = _messages.StringField(1)
680      value = _messages.StringField(2)
681
682    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
683
684  @encoding.MapUnrecognizedFields('additionalProperties')
685  class SoftwareVersionsValue(_messages.Message):
686    r"""Software versions that are used to deploy this instance. This can be
687    mutated by rollout services.
688
689    Messages:
690      AdditionalProperty: An additional property for a SoftwareVersionsValue
691        object.
692
693    Fields:
694      additionalProperties: Additional properties of type
695        SoftwareVersionsValue
696    """
697
698    class AdditionalProperty(_messages.Message):
699      r"""An additional property for a SoftwareVersionsValue object.
700
701      Fields:
702        key: Name of the additional property.
703        value: A string attribute.
704      """
705
706      key = _messages.StringField(1)
707      value = _messages.StringField(2)
708
709    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
710
711  consumerDefinedName = _messages.StringField(1)
712  createTime = _messages.StringField(2)
713  labels = _messages.MessageField('LabelsValue', 3)
714  maintenancePolicyNames = _messages.MessageField('MaintenancePolicyNamesValue', 4)
715  maintenanceSchedules = _messages.MessageField('MaintenanceSchedulesValue', 5)
716  maintenanceSettings = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings', 6)
717  name = _messages.StringField(7)
718  producerMetadata = _messages.MessageField('ProducerMetadataValue', 8)
719  provisionedResources = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource', 9, repeated=True)
720  slmInstanceTemplate = _messages.StringField(10)
721  sloMetadata = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata', 11)
722  softwareVersions = _messages.MessageField('SoftwareVersionsValue', 12)
723  state = _messages.EnumField('StateValueValuesEnum', 13)
724  tenantProjectId = _messages.StringField(14)
725  updateTime = _messages.StringField(15)
726
727
728class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule(_messages.Message):
729  r"""Maintenance schedule which is exposed to customer and potentially end
730  user, indicating published upcoming future maintenance schedule
731
732  Fields:
733    canReschedule: Can this scheduled update be rescheduled? By default, it's
734      true and API needs to do explicitly check whether it's set, if it's set
735      as false explicitly, it's false
736    endTime: The scheduled end time for the maintenance.
737    rolloutManagementPolicy: The rollout management policy this maintenance
738      schedule is associated with. When doing reschedule update request, the
739      reschedule should be against this given policy.
740    scheduleDeadlineTime: schedule_deadline_time is the time deadline any
741      schedule start time cannot go beyond, including reschedule. It's
742      normally the initial schedule start time plus maintenance window length
743      (1 day or 1 week). Maintenance cannot be scheduled to start beyond this
744      deadline.
745    startTime: The scheduled start time for the maintenance.
746  """
747
748  canReschedule = _messages.BooleanField(1)
749  endTime = _messages.StringField(2)
750  rolloutManagementPolicy = _messages.StringField(3)
751  scheduleDeadlineTime = _messages.StringField(4)
752  startTime = _messages.StringField(5)
753
754
755class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings(_messages.Message):
756  r"""Maintenance settings associated with instance. Allows service producers
757  and end users to assign settings that controls maintenance on this instance.
758
759  Messages:
760    MaintenancePoliciesValue: Optional. The MaintenancePolicies that have been
761      attached to the instance. The key must be of the type name of the oneof
762      policy name defined in MaintenancePolicy, and the embedded policy must
763      define the same policy type. For complete details of MaintenancePolicy,
764      please refer to go/cloud-saas-mw-ug. If only the name is needed (like in
765      the deprecated Instance.maintenance_policy_names field) then only
766      populate MaintenancePolicy.name.
767
768  Fields:
769    exclude: Optional. Exclude instance from maintenance. When true, rollout
770      service will not attempt maintenance on the instance. Rollout service
771      will include the instance in reported rollout progress as not attempted.
772    isRollback: Optional. If the update call is triggered from rollback, set
773      the value as true.
774    maintenancePolicies: Optional. The MaintenancePolicies that have been
775      attached to the instance. The key must be of the type name of the oneof
776      policy name defined in MaintenancePolicy, and the embedded policy must
777      define the same policy type. For complete details of MaintenancePolicy,
778      please refer to go/cloud-saas-mw-ug. If only the name is needed (like in
779      the deprecated Instance.maintenance_policy_names field) then only
780      populate MaintenancePolicy.name.
781  """
782
783  @encoding.MapUnrecognizedFields('additionalProperties')
784  class MaintenancePoliciesValue(_messages.Message):
785    r"""Optional. The MaintenancePolicies that have been attached to the
786    instance. The key must be of the type name of the oneof policy name
787    defined in MaintenancePolicy, and the embedded policy must define the same
788    policy type. For complete details of MaintenancePolicy, please refer to
789    go/cloud-saas-mw-ug. If only the name is needed (like in the deprecated
790    Instance.maintenance_policy_names field) then only populate
791    MaintenancePolicy.name.
792
793    Messages:
794      AdditionalProperty: An additional property for a
795        MaintenancePoliciesValue object.
796
797    Fields:
798      additionalProperties: Additional properties of type
799        MaintenancePoliciesValue
800    """
801
802    class AdditionalProperty(_messages.Message):
803      r"""An additional property for a MaintenancePoliciesValue object.
804
805      Fields:
806        key: Name of the additional property.
807        value: A MaintenancePolicy attribute.
808      """
809
810      key = _messages.StringField(1)
811      value = _messages.MessageField('MaintenancePolicy', 2)
812
813    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
814
815  exclude = _messages.BooleanField(1)
816  isRollback = _messages.BooleanField(2)
817  maintenancePolicies = _messages.MessageField('MaintenancePoliciesValue', 3)
818
819
820class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata(_messages.Message):
821  r"""Node information for custom per-node SLO implementations. SSA does not
822  support per-node SLO, but producers can populate per-node information in
823  SloMetadata for custom precomputations. SSA Eligibility Exporter will emit
824  per-node metric based on this information.
825
826  Fields:
827    exclusions: By default node is eligible if instance is eligible. But
828      individual node might be excluded from SLO by adding entry here. For
829      semantic see SloMetadata.exclusions. If both instance and node level
830      exclusions are present for time period, the node level's reason will be
831      reported by Eligibility Exporter.
832    location: The location of the node, if different from instance location.
833    nodeId: The id of the node. This should be equal to
834      SaasInstanceNode.node_id.
835  """
836
837  exclusions = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion', 1, repeated=True)
838  location = _messages.StringField(2)
839  nodeId = _messages.StringField(3)
840
841
842class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility(_messages.Message):
843  r"""PerSliSloEligibility is a mapping from an SLI name to eligibility.
844
845  Messages:
846    EligibilitiesValue: An entry in the eligibilities map specifies an
847      eligibility for a particular SLI for the given instance. The SLI key in
848      the name must be a valid SLI name specified in the Eligibility Exporter
849      binary flags otherwise an error will be emitted by Eligibility Exporter
850      and the oncaller will be alerted. If an SLI has been defined in the
851      binary flags but the eligibilities map does not contain it, the
852      corresponding SLI time series will not be emitted by the Eligibility
853      Exporter. This ensures a smooth rollout and compatibility between the
854      data produced by different versions of the Eligibility Exporters. If
855      eligibilities map contains a key for an SLI which has not been declared
856      in the binary flags, there will be an error message emitted in the
857      Eligibility Exporter log and the metric for the SLI in question will not
858      be emitted.
859
860  Fields:
861    eligibilities: An entry in the eligibilities map specifies an eligibility
862      for a particular SLI for the given instance. The SLI key in the name
863      must be a valid SLI name specified in the Eligibility Exporter binary
864      flags otherwise an error will be emitted by Eligibility Exporter and the
865      oncaller will be alerted. If an SLI has been defined in the binary flags
866      but the eligibilities map does not contain it, the corresponding SLI
867      time series will not be emitted by the Eligibility Exporter. This
868      ensures a smooth rollout and compatibility between the data produced by
869      different versions of the Eligibility Exporters. If eligibilities map
870      contains a key for an SLI which has not been declared in the binary
871      flags, there will be an error message emitted in the Eligibility
872      Exporter log and the metric for the SLI in question will not be emitted.
873  """
874
875  @encoding.MapUnrecognizedFields('additionalProperties')
876  class EligibilitiesValue(_messages.Message):
877    r"""An entry in the eligibilities map specifies an eligibility for a
878    particular SLI for the given instance. The SLI key in the name must be a
879    valid SLI name specified in the Eligibility Exporter binary flags
880    otherwise an error will be emitted by Eligibility Exporter and the
881    oncaller will be alerted. If an SLI has been defined in the binary flags
882    but the eligibilities map does not contain it, the corresponding SLI time
883    series will not be emitted by the Eligibility Exporter. This ensures a
884    smooth rollout and compatibility between the data produced by different
885    versions of the Eligibility Exporters. If eligibilities map contains a key
886    for an SLI which has not been declared in the binary flags, there will be
887    an error message emitted in the Eligibility Exporter log and the metric
888    for the SLI in question will not be emitted.
889
890    Messages:
891      AdditionalProperty: An additional property for a EligibilitiesValue
892        object.
893
894    Fields:
895      additionalProperties: Additional properties of type EligibilitiesValue
896    """
897
898    class AdditionalProperty(_messages.Message):
899      r"""An additional property for a EligibilitiesValue object.
900
901      Fields:
902        key: Name of the additional property.
903        value: A GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
904          attribute.
905      """
906
907      key = _messages.StringField(1)
908      value = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility', 2)
909
910    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
911
912  eligibilities = _messages.MessageField('EligibilitiesValue', 1)
913
914
915class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource(_messages.Message):
916  r"""Describes provisioned dataplane resources.
917
918  Fields:
919    resourceType: Type of the resource. This can be either a GCP resource or a
920      custom one (e.g. another cloud provider's VM). For GCP compute resources
921      use singular form of the names listed in GCP compute API documentation
922      (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed
923      with 'compute-', for example: 'compute-instance', 'compute-disk',
924      'compute-autoscaler'.
925    resourceUrl: URL identifying the resource, e.g.
926      "https://www.googleapis.com/compute/v1/projects/...)".
927  """
928
929  resourceType = _messages.StringField(1)
930  resourceUrl = _messages.StringField(2)
931
932
933class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility(_messages.Message):
934  r"""SloEligibility is a tuple containing eligibility value: true if an
935  instance is eligible for SLO calculation or false if it should be excluded
936  from all SLO-related calculations along with a user-defined reason.
937
938  Fields:
939    eligible: Whether an instance is eligible or ineligible.
940    reason: User-defined reason for the current value of instance eligibility.
941      Usually, this can be directly mapped to the internal state. An empty
942      reason is allowed.
943  """
944
945  eligible = _messages.BooleanField(1)
946  reason = _messages.StringField(2)
947
948
949class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion(_messages.Message):
950  r"""SloExclusion represents an exclusion in SLI calculation applies to all
951  SLOs.
952
953  Fields:
954    duration: Exclusion duration. No restrictions on the possible values. When
955      an ongoing operation is taking longer than initially expected, an
956      existing entry in the exclusion list can be updated by extending the
957      duration. This is supported by the subsystem exporting eligibility data
958      as long as such extension is committed at least 10 minutes before the
959      original exclusion expiration - otherwise it is possible that there will
960      be "gaps" in the exclusion application in the exported timeseries.
961    reason: Human-readable reason for the exclusion. This should be a static
962      string (e.g. "Disruptive update in progress") and should not contain
963      dynamically generated data (e.g. instance name). Can be left empty.
964    sliName: Name of an SLI that this exclusion applies to. Can be left empty,
965      signaling that the instance should be excluded from all SLIs.
966    startTime: Start time of the exclusion. No alignment (e.g. to a full
967      minute) needed.
968  """
969
970  duration = _messages.StringField(1)
971  reason = _messages.StringField(2)
972  sliName = _messages.StringField(3)
973  startTime = _messages.StringField(4)
974
975
976class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata(_messages.Message):
977  r"""SloMetadata contains resources required for proper SLO classification of
978  the instance.
979
980  Fields:
981    eligibility: Optional. Global per-instance SLI eligibility which applies
982      to all defined SLIs. Exactly one of 'eligibility' and
983      'per_sli_eligibility' fields must be used.
984    exclusions: List of SLO exclusion windows. When multiple entries in the
985      list match (matching the exclusion time-window against current time
986      point) the exclusion reason used in the first matching entry will be
987      published. It is not needed to include expired exclusion in this list,
988      as only the currently applicable exclusions are taken into account by
989      the eligibility exporting subsystem (the historical state of exclusions
990      will be reflected in the historically produced timeseries regardless of
991      the current state). This field can be used to mark the instance as
992      temporary ineligible for the purpose of SLO calculation. For permanent
993      instance SLO exclusion, use of custom instance eligibility is
994      recommended. See 'eligibility' field below.
995    nodes: Optional. List of nodes. Some producers need to use per-node
996      metadata to calculate SLO. This field allows such producers to publish
997      per-node SLO meta data, which will be consumed by SSA Eligibility
998      Exporter and published in the form of per node metric to Monarch.
999    perSliEligibility: Optional. Multiple per-instance SLI eligibilities which
1000      apply for individual SLIs. Exactly one of 'eligibility' and
1001      'per_sli_eligibility' fields must be used.
1002    tier: Name of the SLO tier the Instance belongs to. This name will be
1003      expected to match the tiers specified in the service SLO configuration.
1004      Field is mandatory and must not be empty.
1005  """
1006
1007  eligibility = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility', 1)
1008  exclusions = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion', 2, repeated=True)
1009  nodes = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata', 3, repeated=True)
1010  perSliEligibility = _messages.MessageField('GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility', 4)
1011  tier = _messages.StringField(5)
1012
1013
1014class Instance(_messages.Message):
1015  r"""A Cloud Filestore instance.
1016
1017  Enums:
1018    StateValueValuesEnum: Output only. The instance state.
1019    TierValueValuesEnum: The service tier of the instance.
1020
1021  Messages:
1022    LabelsValue: Resource labels to represent user provided metadata.
1023
1024  Fields:
1025    createTime: Output only. The time when the instance was created.
1026    description: The description of the instance (2048 characters or less).
1027    etag: Server-specified ETag for the instance resource to prevent
1028      simultaneous updates from overwriting each other.
1029    fileShares: File system shares on the instance. For this version, only a
1030      single file share is supported.
1031    labels: Resource labels to represent user provided metadata.
1032    name: Output only. The resource name of the instance, in the format
1033      projects/{project_id}/locations/{location_id}/instances/{instance_id}.
1034    networks: VPC networks to which the instance is connected. For this
1035      version, only a single network is supported.
1036    state: Output only. The instance state.
1037    statusMessage: Output only. Additional information about the instance
1038      state, if available.
1039    tier: The service tier of the instance.
1040  """
1041
1042  class StateValueValuesEnum(_messages.Enum):
1043    r"""Output only. The instance state.
1044
1045    Values:
1046      STATE_UNSPECIFIED: State not set.
1047      CREATING: The instance is being created.
1048      READY: The instance is available for use.
1049      REPAIRING: Work is being done on the instance. You can get further
1050        details from the `statusMessage` field of the `Instance` resource.
1051      DELETING: The instance is shutting down.
1052      ERROR: The instance is experiencing an issue and might be unusable. You
1053        can get further details from the `statusMessage` field of the
1054        `Instance` resource.
1055      RESTORING: The instance is restoring a snapshot or backup to an existing
1056        file share and may be unusable during this time.
1057    """
1058    STATE_UNSPECIFIED = 0
1059    CREATING = 1
1060    READY = 2
1061    REPAIRING = 3
1062    DELETING = 4
1063    ERROR = 5
1064    RESTORING = 6
1065
1066  class TierValueValuesEnum(_messages.Enum):
1067    r"""The service tier of the instance.
1068
1069    Values:
1070      TIER_UNSPECIFIED: Not set.
1071      STANDARD: STANDARD tier. BASIC_HDD is the preferred term for this tier.
1072      PREMIUM: PREMIUM tier. BASIC_SSD is the preferred term for this tier.
1073      BASIC_HDD: BASIC instances offer a maximum capacity of 63.9 TB.
1074        BASIC_HDD is an alias for STANDARD Tier, offering economical
1075        performance backed by HDD.
1076      BASIC_SSD: BASIC instances offer a maximum capacity of 63.9 TB.
1077        BASIC_SSD is an alias for PREMIUM Tier, and offers improved
1078        performance backed by SSD.
1079      HIGH_SCALE_SSD: HIGH_SCALE instances offer expanded capacity and
1080        performance scaling capabilities.
1081    """
1082    TIER_UNSPECIFIED = 0
1083    STANDARD = 1
1084    PREMIUM = 2
1085    BASIC_HDD = 3
1086    BASIC_SSD = 4
1087    HIGH_SCALE_SSD = 5
1088
1089  @encoding.MapUnrecognizedFields('additionalProperties')
1090  class LabelsValue(_messages.Message):
1091    r"""Resource labels to represent user provided metadata.
1092
1093    Messages:
1094      AdditionalProperty: An additional property for a LabelsValue object.
1095
1096    Fields:
1097      additionalProperties: Additional properties of type LabelsValue
1098    """
1099
1100    class AdditionalProperty(_messages.Message):
1101      r"""An additional property for a LabelsValue object.
1102
1103      Fields:
1104        key: Name of the additional property.
1105        value: A string attribute.
1106      """
1107
1108      key = _messages.StringField(1)
1109      value = _messages.StringField(2)
1110
1111    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
1112
1113  createTime = _messages.StringField(1)
1114  description = _messages.StringField(2)
1115  etag = _messages.StringField(3)
1116  fileShares = _messages.MessageField('FileShareConfig', 4, repeated=True)
1117  labels = _messages.MessageField('LabelsValue', 5)
1118  name = _messages.StringField(6)
1119  networks = _messages.MessageField('NetworkConfig', 7, repeated=True)
1120  state = _messages.EnumField('StateValueValuesEnum', 8)
1121  statusMessage = _messages.StringField(9)
1122  tier = _messages.EnumField('TierValueValuesEnum', 10)
1123
1124
1125class ListBackupsResponse(_messages.Message):
1126  r"""ListBackupsResponse is the result of ListBackupsRequest.
1127
1128  Fields:
1129    backups: A list of backups in the project for the specified location. If
1130      the {location} value in the request is "-", the response contains a list
1131      of backups from all locations. If any location is unreachable, the
1132      response will only return backups in reachable locations and the
1133      "unreachable" field will be populated with a list of unreachable
1134      locations.
1135    nextPageToken: The token you can use to retrieve the next page of results.
1136      Not returned if there are no more results in the list.
1137    unreachable: Locations that could not be reached.
1138  """
1139
1140  backups = _messages.MessageField('Backup', 1, repeated=True)
1141  nextPageToken = _messages.StringField(2)
1142  unreachable = _messages.StringField(3, repeated=True)
1143
1144
1145class ListInstancesResponse(_messages.Message):
1146  r"""ListInstancesResponse is the result of ListInstancesRequest.
1147
1148  Fields:
1149    instances: A list of instances in the project for the specified location.
1150      If the {location} value in the request is "-", the response contains a
1151      list of instances from all locations. If any location is unreachable,
1152      the response will only return instances in reachable locations and the
1153      "unreachable" field will be populated with a list of unreachable
1154      locations.
1155    nextPageToken: The token you can use to retrieve the next page of results.
1156      Not returned if there are no more results in the list.
1157    unreachable: Locations that could not be reached.
1158  """
1159
1160  instances = _messages.MessageField('Instance', 1, repeated=True)
1161  nextPageToken = _messages.StringField(2)
1162  unreachable = _messages.StringField(3, repeated=True)
1163
1164
1165class ListLocationsResponse(_messages.Message):
1166  r"""The response message for Locations.ListLocations.
1167
1168  Fields:
1169    locations: A list of locations that matches the specified filter in the
1170      request.
1171    nextPageToken: The standard List next-page token.
1172  """
1173
1174  locations = _messages.MessageField('Location', 1, repeated=True)
1175  nextPageToken = _messages.StringField(2)
1176
1177
1178class ListOperationsResponse(_messages.Message):
1179  r"""The response message for Operations.ListOperations.
1180
1181  Fields:
1182    nextPageToken: The standard List next-page token.
1183    operations: A list of operations that matches the specified filter in the
1184      request.
1185  """
1186
1187  nextPageToken = _messages.StringField(1)
1188  operations = _messages.MessageField('Operation', 2, repeated=True)
1189
1190
1191class Location(_messages.Message):
1192  r"""A resource that represents Google Cloud Platform location.
1193
1194  Messages:
1195    LabelsValue: Cross-service attributes for the location. For example
1196      {"cloud.googleapis.com/region": "us-east1"}
1197    MetadataValue: Service-specific metadata. For example the available
1198      capacity at the given location.
1199
1200  Fields:
1201    displayName: The friendly name for this location, typically a nearby city
1202      name. For example, "Tokyo".
1203    labels: Cross-service attributes for the location. For example
1204      {"cloud.googleapis.com/region": "us-east1"}
1205    locationId: The canonical id for this location. For example: `"us-east1"`.
1206    metadata: Service-specific metadata. For example the available capacity at
1207      the given location.
1208    name: Resource name for the location, which may vary between
1209      implementations. For example: `"projects/example-project/locations/us-
1210      east1"`
1211  """
1212
1213  @encoding.MapUnrecognizedFields('additionalProperties')
1214  class LabelsValue(_messages.Message):
1215    r"""Cross-service attributes for the location. For example
1216    {"cloud.googleapis.com/region": "us-east1"}
1217
1218    Messages:
1219      AdditionalProperty: An additional property for a LabelsValue object.
1220
1221    Fields:
1222      additionalProperties: Additional properties of type LabelsValue
1223    """
1224
1225    class AdditionalProperty(_messages.Message):
1226      r"""An additional property for a LabelsValue object.
1227
1228      Fields:
1229        key: Name of the additional property.
1230        value: A string attribute.
1231      """
1232
1233      key = _messages.StringField(1)
1234      value = _messages.StringField(2)
1235
1236    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
1237
1238  @encoding.MapUnrecognizedFields('additionalProperties')
1239  class MetadataValue(_messages.Message):
1240    r"""Service-specific metadata. For example the available capacity at the
1241    given location.
1242
1243    Messages:
1244      AdditionalProperty: An additional property for a MetadataValue object.
1245
1246    Fields:
1247      additionalProperties: Properties of the object. Contains field @type
1248        with type URL.
1249    """
1250
1251    class AdditionalProperty(_messages.Message):
1252      r"""An additional property for a MetadataValue object.
1253
1254      Fields:
1255        key: Name of the additional property.
1256        value: A extra_types.JsonValue attribute.
1257      """
1258
1259      key = _messages.StringField(1)
1260      value = _messages.MessageField('extra_types.JsonValue', 2)
1261
1262    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
1263
1264  displayName = _messages.StringField(1)
1265  labels = _messages.MessageField('LabelsValue', 2)
1266  locationId = _messages.StringField(3)
1267  metadata = _messages.MessageField('MetadataValue', 4)
1268  name = _messages.StringField(5)
1269
1270
1271class MaintenancePolicy(_messages.Message):
1272  r"""Defines policies to service maintenance events.
1273
1274  Enums:
1275    StateValueValuesEnum: Optional. The state of the policy.
1276
1277  Messages:
1278    LabelsValue: Optional. Resource labels to represent user provided
1279      metadata. Each label is a key-value pair, where both the key and the
1280      value are arbitrary strings provided by the user.
1281
1282  Fields:
1283    createTime: Output only. The time when the resource was created.
1284    description: Optional. Description of what this policy is for.
1285      Create/Update methods return INVALID_ARGUMENT if the length is greater
1286      than 512.
1287    labels: Optional. Resource labels to represent user provided metadata.
1288      Each label is a key-value pair, where both the key and the value are
1289      arbitrary strings provided by the user.
1290    name: Required. MaintenancePolicy name using the form: `projects/{project_
1291      id}/locations/{location_id}/maintenancePolicies/{maintenance_policy_id}`
1292      where {project_id} refers to a GCP consumer project ID, {location_id}
1293      refers to a GCP region/zone, {maintenance_policy_id} must be 1-63
1294      characters long and match the regular expression
1295      `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
1296    state: Optional. The state of the policy.
1297    updatePolicy: Maintenance policy applicable to instance update.
1298    updateTime: Output only. The time when the resource was updated.
1299  """
1300
1301  class StateValueValuesEnum(_messages.Enum):
1302    r"""Optional. The state of the policy.
1303
1304    Values:
1305      STATE_UNSPECIFIED: Unspecified state.
1306      READY: Resource is ready to be used.
1307      DELETING: Resource is being deleted. It can no longer be attached to
1308        instances.
1309    """
1310    STATE_UNSPECIFIED = 0
1311    READY = 1
1312    DELETING = 2
1313
1314  @encoding.MapUnrecognizedFields('additionalProperties')
1315  class LabelsValue(_messages.Message):
1316    r"""Optional. Resource labels to represent user provided metadata. Each
1317    label is a key-value pair, where both the key and the value are arbitrary
1318    strings provided by the user.
1319
1320    Messages:
1321      AdditionalProperty: An additional property for a LabelsValue object.
1322
1323    Fields:
1324      additionalProperties: Additional properties of type LabelsValue
1325    """
1326
1327    class AdditionalProperty(_messages.Message):
1328      r"""An additional property for a LabelsValue object.
1329
1330      Fields:
1331        key: Name of the additional property.
1332        value: A string attribute.
1333      """
1334
1335      key = _messages.StringField(1)
1336      value = _messages.StringField(2)
1337
1338    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
1339
1340  createTime = _messages.StringField(1)
1341  description = _messages.StringField(2)
1342  labels = _messages.MessageField('LabelsValue', 3)
1343  name = _messages.StringField(4)
1344  state = _messages.EnumField('StateValueValuesEnum', 5)
1345  updatePolicy = _messages.MessageField('UpdatePolicy', 6)
1346  updateTime = _messages.StringField(7)
1347
1348
1349class MaintenanceWindow(_messages.Message):
1350  r"""MaintenanceWindow definition.
1351
1352  Fields:
1353    dailyCycle: Daily cycle.
1354    weeklyCycle: Weekly cycle.
1355  """
1356
1357  dailyCycle = _messages.MessageField('DailyCycle', 1)
1358  weeklyCycle = _messages.MessageField('WeeklyCycle', 2)
1359
1360
1361class NetworkConfig(_messages.Message):
1362  r"""Network configuration for the instance.
1363
1364  Enums:
1365    ModesValueListEntryValuesEnum:
1366
1367  Fields:
1368    ipAddresses: Output only. IPv4 addresses in the format {octet 1}.{octet
1369      2}.{octet 3}.{octet 4} or IPv6 addresses in the format {block 1}:{block
1370      2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block 8}.
1371    modes: Internet protocol versions for which the instance has IP addresses
1372      assigned. For this version, only MODE_IPV4 is supported.
1373    network: The name of the Google Compute Engine [VPC
1374      network](/compute/docs/networks-and-firewalls#networks) to which the
1375      instance is connected.
1376    reservedIpRange: A /29 CIDR block for Basic or a /23 CIDR block for High
1377      Scale in one of the [internal IP address
1378      ranges](https://www.arin.net/knowledge/address_filters.html) that
1379      identifies the range of IP addresses reserved for this instance. For
1380      example, 10.0.0.0/29 or 192.168.0.0/23. The range you specify can't
1381      overlap with either existing subnets or assigned IP address ranges for
1382      other Cloud Filestore instances in the selected VPC network.
1383  """
1384
1385  class ModesValueListEntryValuesEnum(_messages.Enum):
1386    r"""ModesValueListEntryValuesEnum enum type.
1387
1388    Values:
1389      ADDRESS_MODE_UNSPECIFIED: Internet protocol not set.
1390      MODE_IPV4: Use the IPv4 internet protocol.
1391    """
1392    ADDRESS_MODE_UNSPECIFIED = 0
1393    MODE_IPV4 = 1
1394
1395  ipAddresses = _messages.StringField(1, repeated=True)
1396  modes = _messages.EnumField('ModesValueListEntryValuesEnum', 2, repeated=True)
1397  network = _messages.StringField(3)
1398  reservedIpRange = _messages.StringField(4)
1399
1400
1401class NfsExportOptions(_messages.Message):
1402  r"""NFS export options specifications.
1403
1404  Enums:
1405    AccessModeValueValuesEnum: Either READ_ONLY, for allowing only read
1406      requests on the exported directory, or READ_WRITE, for allowing both
1407      read and write requests. The default is READ_WRITE.
1408    SquashModeValueValuesEnum: Either NO_ROOT_SQUASH, for allowing root access
1409      on the exported directory, or ROOT_SQUASH, for not allowing root access.
1410      The default is NO_ROOT_SQUASH.
1411
1412  Fields:
1413    accessMode: Either READ_ONLY, for allowing only read requests on the
1414      exported directory, or READ_WRITE, for allowing both read and write
1415      requests. The default is READ_WRITE.
1416    anonGid: An integer representing the anonymous group id with a default
1417      value of 65534. Anon_gid may only be set with squash_mode of
1418      ROOT_SQUASH. An error will be returned if this field is specified for
1419      other squash_mode settings.
1420    anonUid: An integer representing the anonymous user id with a default
1421      value of 65534. Anon_uid may only be set with squash_mode of
1422      ROOT_SQUASH. An error will be returned if this field is specified for
1423      other squash_mode settings.
1424    ipRanges: List of either an IPv4 addresses in the format {octet 1}.{octet
1425      2}.{octet 3}.{octet 4} or CIDR ranges in the format {octet 1}.{octet
1426      2}.{octet 3}.{octet 4}/{mask size} which may mount the file share.
1427      Overlapping IP ranges are not allowed, both within and across
1428      NfsExportOptions. An error will be returned. The limit is 64 IP
1429      ranges/addresses for each FileShareConfig among all NfsExportOptions.
1430    squashMode: Either NO_ROOT_SQUASH, for allowing root access on the
1431      exported directory, or ROOT_SQUASH, for not allowing root access. The
1432      default is NO_ROOT_SQUASH.
1433  """
1434
1435  class AccessModeValueValuesEnum(_messages.Enum):
1436    r"""Either READ_ONLY, for allowing only read requests on the exported
1437    directory, or READ_WRITE, for allowing both read and write requests. The
1438    default is READ_WRITE.
1439
1440    Values:
1441      ACCESS_MODE_UNSPECIFIED: AccessMode not set.
1442      READ_ONLY: The client can only read the file share.
1443      READ_WRITE: The client can read and write the file share (default).
1444    """
1445    ACCESS_MODE_UNSPECIFIED = 0
1446    READ_ONLY = 1
1447    READ_WRITE = 2
1448
1449  class SquashModeValueValuesEnum(_messages.Enum):
1450    r"""Either NO_ROOT_SQUASH, for allowing root access on the exported
1451    directory, or ROOT_SQUASH, for not allowing root access. The default is
1452    NO_ROOT_SQUASH.
1453
1454    Values:
1455      SQUASH_MODE_UNSPECIFIED: SquashMode not set.
1456      NO_ROOT_SQUASH: The Root user has root access to the file share
1457        (default).
1458      ROOT_SQUASH: The Root user has squashed access to the anonymous uid/gid.
1459    """
1460    SQUASH_MODE_UNSPECIFIED = 0
1461    NO_ROOT_SQUASH = 1
1462    ROOT_SQUASH = 2
1463
1464  accessMode = _messages.EnumField('AccessModeValueValuesEnum', 1)
1465  anonGid = _messages.IntegerField(2)
1466  anonUid = _messages.IntegerField(3)
1467  ipRanges = _messages.StringField(4, repeated=True)
1468  squashMode = _messages.EnumField('SquashModeValueValuesEnum', 5)
1469
1470
1471class Operation(_messages.Message):
1472  r"""This resource represents a long-running operation that is the result of
1473  a network API call.
1474
1475  Messages:
1476    MetadataValue: Service-specific metadata associated with the operation. It
1477      typically contains progress information and common metadata such as
1478      create time. Some services might not provide such metadata. Any method
1479      that returns a long-running operation should document the metadata type,
1480      if any.
1481    ResponseValue: The normal response of the operation in case of success. If
1482      the original method returns no data on success, such as `Delete`, the
1483      response is `google.protobuf.Empty`. If the original method is standard
1484      `Get`/`Create`/`Update`, the response should be the resource. For other
1485      methods, the response should have the type `XxxResponse`, where `Xxx` is
1486      the original method name. For example, if the original method name is
1487      `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1488
1489  Fields:
1490    done: If the value is `false`, it means the operation is still in
1491      progress. If `true`, the operation is completed, and either `error` or
1492      `response` is available.
1493    error: The error result of the operation in case of failure or
1494      cancellation.
1495    metadata: Service-specific metadata associated with the operation. It
1496      typically contains progress information and common metadata such as
1497      create time. Some services might not provide such metadata. Any method
1498      that returns a long-running operation should document the metadata type,
1499      if any.
1500    name: The server-assigned name, which is only unique within the same
1501      service that originally returns it. If you use the default HTTP mapping,
1502      the `name` should be a resource name ending with
1503      `operations/{unique_id}`.
1504    response: The normal response of the operation in case of success. If the
1505      original method returns no data on success, such as `Delete`, the
1506      response is `google.protobuf.Empty`. If the original method is standard
1507      `Get`/`Create`/`Update`, the response should be the resource. For other
1508      methods, the response should have the type `XxxResponse`, where `Xxx` is
1509      the original method name. For example, if the original method name is
1510      `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1511  """
1512
1513  @encoding.MapUnrecognizedFields('additionalProperties')
1514  class MetadataValue(_messages.Message):
1515    r"""Service-specific metadata associated with the operation. It typically
1516    contains progress information and common metadata such as create time.
1517    Some services might not provide such metadata. Any method that returns a
1518    long-running operation should document the metadata type, if any.
1519
1520    Messages:
1521      AdditionalProperty: An additional property for a MetadataValue object.
1522
1523    Fields:
1524      additionalProperties: Properties of the object. Contains field @type
1525        with type URL.
1526    """
1527
1528    class AdditionalProperty(_messages.Message):
1529      r"""An additional property for a MetadataValue object.
1530
1531      Fields:
1532        key: Name of the additional property.
1533        value: A extra_types.JsonValue attribute.
1534      """
1535
1536      key = _messages.StringField(1)
1537      value = _messages.MessageField('extra_types.JsonValue', 2)
1538
1539    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
1540
1541  @encoding.MapUnrecognizedFields('additionalProperties')
1542  class ResponseValue(_messages.Message):
1543    r"""The normal response of the operation in case of success. If the
1544    original method returns no data on success, such as `Delete`, the response
1545    is `google.protobuf.Empty`. If the original method is standard
1546    `Get`/`Create`/`Update`, the response should be the resource. For other
1547    methods, the response should have the type `XxxResponse`, where `Xxx` is
1548    the original method name. For example, if the original method name is
1549    `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1550
1551    Messages:
1552      AdditionalProperty: An additional property for a ResponseValue object.
1553
1554    Fields:
1555      additionalProperties: Properties of the object. Contains field @type
1556        with type URL.
1557    """
1558
1559    class AdditionalProperty(_messages.Message):
1560      r"""An additional property for a ResponseValue object.
1561
1562      Fields:
1563        key: Name of the additional property.
1564        value: A extra_types.JsonValue attribute.
1565      """
1566
1567      key = _messages.StringField(1)
1568      value = _messages.MessageField('extra_types.JsonValue', 2)
1569
1570    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
1571
1572  done = _messages.BooleanField(1)
1573  error = _messages.MessageField('Status', 2)
1574  metadata = _messages.MessageField('MetadataValue', 3)
1575  name = _messages.StringField(4)
1576  response = _messages.MessageField('ResponseValue', 5)
1577
1578
1579class OperationMetadata(_messages.Message):
1580  r"""Represents the metadata of the long-running operation.
1581
1582  Fields:
1583    apiVersion: [Output only] API version used to start the operation.
1584    cancelRequested: [Output only] Identifies whether the user has requested
1585      cancellation of the operation. Operations that have successfully been
1586      cancelled have Operation.error value with a google.rpc.Status.code of 1,
1587      corresponding to `Code.CANCELLED`.
1588    createTime: [Output only] The time the operation was created.
1589    endTime: [Output only] The time the operation finished running.
1590    statusDetail: [Output only] Human-readable status of the operation, if
1591      any.
1592    target: [Output only] Server-defined resource path for the target of the
1593      operation.
1594    verb: [Output only] Name of the verb executed by the operation.
1595  """
1596
1597  apiVersion = _messages.StringField(1)
1598  cancelRequested = _messages.BooleanField(2)
1599  createTime = _messages.StringField(3)
1600  endTime = _messages.StringField(4)
1601  statusDetail = _messages.StringField(5)
1602  target = _messages.StringField(6)
1603  verb = _messages.StringField(7)
1604
1605
1606class RestoreInstanceRequest(_messages.Message):
1607  r"""RestoreInstanceRequest restores an existing instances's file share from
1608  a snapshot or backup.
1609
1610  Fields:
1611    fileShare: Required. Name of the file share in the Cloud Filestore
1612      instance that the snapshot is being restored to.
1613    sourceBackup: The resource name of the backup, in the format
1614      projects/{project_id}/locations/{location_id}/backups/{backup_id}.
1615    sourceSnapshot: The resource name of the snapshot, in the format
1616      projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}.
1617  """
1618
1619  fileShare = _messages.StringField(1)
1620  sourceBackup = _messages.StringField(2)
1621  sourceSnapshot = _messages.StringField(3)
1622
1623
1624class Schedule(_messages.Message):
1625  r"""Configure the schedule.
1626
1627  Enums:
1628    DayValueValuesEnum: Allows to define schedule that runs specified day of
1629      the week.
1630
1631  Fields:
1632    day: Allows to define schedule that runs specified day of the week.
1633    duration: Output only. Duration of the time window, set by service
1634      producer.
1635    startTime: Time within the window to start the operations.
1636  """
1637
1638  class DayValueValuesEnum(_messages.Enum):
1639    r"""Allows to define schedule that runs specified day of the week.
1640
1641    Values:
1642      DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
1643      MONDAY: Monday
1644      TUESDAY: Tuesday
1645      WEDNESDAY: Wednesday
1646      THURSDAY: Thursday
1647      FRIDAY: Friday
1648      SATURDAY: Saturday
1649      SUNDAY: Sunday
1650    """
1651    DAY_OF_WEEK_UNSPECIFIED = 0
1652    MONDAY = 1
1653    TUESDAY = 2
1654    WEDNESDAY = 3
1655    THURSDAY = 4
1656    FRIDAY = 5
1657    SATURDAY = 6
1658    SUNDAY = 7
1659
1660  day = _messages.EnumField('DayValueValuesEnum', 1)
1661  duration = _messages.StringField(2)
1662  startTime = _messages.MessageField('TimeOfDay', 3)
1663
1664
1665class StandardQueryParameters(_messages.Message):
1666  r"""Query parameters accepted by all methods.
1667
1668  Enums:
1669    FXgafvValueValuesEnum: V1 error format.
1670    AltValueValuesEnum: Data format for response.
1671
1672  Fields:
1673    f__xgafv: V1 error format.
1674    access_token: OAuth access token.
1675    alt: Data format for response.
1676    callback: JSONP
1677    fields: Selector specifying which fields to include in a partial response.
1678    key: API key. Your API key identifies your project and provides you with
1679      API access, quota, and reports. Required unless you provide an OAuth 2.0
1680      token.
1681    oauth_token: OAuth 2.0 token for the current user.
1682    prettyPrint: Returns response with indentations and line breaks.
1683    quotaUser: Available to use for quota purposes for server-side
1684      applications. Can be any arbitrary string assigned to a user, but should
1685      not exceed 40 characters.
1686    trace: A tracing token of the form "token:<tokenid>" to include in api
1687      requests.
1688    uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
1689    upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
1690  """
1691
1692  class AltValueValuesEnum(_messages.Enum):
1693    r"""Data format for response.
1694
1695    Values:
1696      json: Responses with Content-Type of application/json
1697      media: Media download with context-dependent Content-Type
1698      proto: Responses with Content-Type of application/x-protobuf
1699    """
1700    json = 0
1701    media = 1
1702    proto = 2
1703
1704  class FXgafvValueValuesEnum(_messages.Enum):
1705    r"""V1 error format.
1706
1707    Values:
1708      _1: v1 error format
1709      _2: v2 error format
1710    """
1711    _1 = 0
1712    _2 = 1
1713
1714  f__xgafv = _messages.EnumField('FXgafvValueValuesEnum', 1)
1715  access_token = _messages.StringField(2)
1716  alt = _messages.EnumField('AltValueValuesEnum', 3, default='json')
1717  callback = _messages.StringField(4)
1718  fields = _messages.StringField(5)
1719  key = _messages.StringField(6)
1720  oauth_token = _messages.StringField(7)
1721  prettyPrint = _messages.BooleanField(8, default=True)
1722  quotaUser = _messages.StringField(9)
1723  trace = _messages.StringField(10)
1724  uploadType = _messages.StringField(11)
1725  upload_protocol = _messages.StringField(12)
1726
1727
1728class Status(_messages.Message):
1729  r"""The `Status` type defines a logical error model that is suitable for
1730  different programming environments, including REST APIs and RPC APIs. It is
1731  used by [gRPC](https://github.com/grpc). Each `Status` message contains
1732  three pieces of data: error code, error message, and error details. You can
1733  find out more about this error model and how to work with it in the [API
1734  Design Guide](https://cloud.google.com/apis/design/errors).
1735
1736  Messages:
1737    DetailsValueListEntry: A DetailsValueListEntry object.
1738
1739  Fields:
1740    code: The status code, which should be an enum value of google.rpc.Code.
1741    details: A list of messages that carry the error details. There is a
1742      common set of message types for APIs to use.
1743    message: A developer-facing error message, which should be in English. Any
1744      user-facing error message should be localized and sent in the
1745      google.rpc.Status.details field, or localized by the client.
1746  """
1747
1748  @encoding.MapUnrecognizedFields('additionalProperties')
1749  class DetailsValueListEntry(_messages.Message):
1750    r"""A DetailsValueListEntry object.
1751
1752    Messages:
1753      AdditionalProperty: An additional property for a DetailsValueListEntry
1754        object.
1755
1756    Fields:
1757      additionalProperties: Properties of the object. Contains field @type
1758        with type URL.
1759    """
1760
1761    class AdditionalProperty(_messages.Message):
1762      r"""An additional property for a DetailsValueListEntry object.
1763
1764      Fields:
1765        key: Name of the additional property.
1766        value: A extra_types.JsonValue attribute.
1767      """
1768
1769      key = _messages.StringField(1)
1770      value = _messages.MessageField('extra_types.JsonValue', 2)
1771
1772    additionalProperties = _messages.MessageField('AdditionalProperty', 1, repeated=True)
1773
1774  code = _messages.IntegerField(1, variant=_messages.Variant.INT32)
1775  details = _messages.MessageField('DetailsValueListEntry', 2, repeated=True)
1776  message = _messages.StringField(3)
1777
1778
1779class TimeOfDay(_messages.Message):
1780  r"""Represents a time of day. The date and time zone are either not
1781  significant or are specified elsewhere. An API may choose to allow leap
1782  seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
1783
1784  Fields:
1785    hours: Hours of day in 24 hour format. Should be from 0 to 23. An API may
1786      choose to allow the value "24:00:00" for scenarios like business closing
1787      time.
1788    minutes: Minutes of hour of day. Must be from 0 to 59.
1789    nanos: Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1790    seconds: Seconds of minutes of the time. Must normally be from 0 to 59. An
1791      API may allow the value 60 if it allows leap-seconds.
1792  """
1793
1794  hours = _messages.IntegerField(1, variant=_messages.Variant.INT32)
1795  minutes = _messages.IntegerField(2, variant=_messages.Variant.INT32)
1796  nanos = _messages.IntegerField(3, variant=_messages.Variant.INT32)
1797  seconds = _messages.IntegerField(4, variant=_messages.Variant.INT32)
1798
1799
1800class UpdatePolicy(_messages.Message):
1801  r"""Maintenance policy applicable to instance updates.
1802
1803  Enums:
1804    ChannelValueValuesEnum: Optional. Relative scheduling channel applied to
1805      resource.
1806
1807  Fields:
1808    channel: Optional. Relative scheduling channel applied to resource.
1809    denyMaintenancePeriods: Deny Maintenance Period that is applied to
1810      resource to indicate when maintenance is forbidden. User can specify
1811      zero or more non-overlapping deny periods. For V1, Maximum number of
1812      deny_maintenance_periods is expected to be one.
1813    window: Optional. Maintenance window that is applied to resources covered
1814      by this policy.
1815  """
1816
1817  class ChannelValueValuesEnum(_messages.Enum):
1818    r"""Optional. Relative scheduling channel applied to resource.
1819
1820    Values:
1821      UPDATE_CHANNEL_UNSPECIFIED: Unspecified channel.
1822      EARLIER: Early channel within a customer project.
1823      LATER: Later channel within a customer project.
1824    """
1825    UPDATE_CHANNEL_UNSPECIFIED = 0
1826    EARLIER = 1
1827    LATER = 2
1828
1829  channel = _messages.EnumField('ChannelValueValuesEnum', 1)
1830  denyMaintenancePeriods = _messages.MessageField('DenyMaintenancePeriod', 2, repeated=True)
1831  window = _messages.MessageField('MaintenanceWindow', 3)
1832
1833
1834class WeeklyCycle(_messages.Message):
1835  r"""Time window specified for weekly operations.
1836
1837  Fields:
1838    schedule: User can specify multiple windows in a week. Minimum of 1
1839      window.
1840  """
1841
1842  schedule = _messages.MessageField('Schedule', 1, repeated=True)
1843
1844
1845encoding.AddCustomJsonFieldMapping(
1846    StandardQueryParameters, 'f__xgafv', '$.xgafv')
1847encoding.AddCustomJsonEnumMapping(
1848    StandardQueryParameters.FXgafvValueValuesEnum, '_1', '1')
1849encoding.AddCustomJsonEnumMapping(
1850    StandardQueryParameters.FXgafvValueValuesEnum, '_2', '2')
1851