google-apis-vmwareengine_v1 0.14.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52a2287296d86fc47bd7c674e9bd338c504c119251c2fc4f069e7b6d1e9ba96f
4
- data.tar.gz: e2caf2d795ec0aa90d0be969974179041bc0550b9ea297af83ec66000952da3b
3
+ metadata.gz: d3b32ff7f13a0fa635e0aa1cca967c9078e06da7813c9f598cf6df4b8565168a
4
+ data.tar.gz: 52188f09ac5008630206172c0e9edc3bacc2539f64083491bfb919c4eb9fe58c
5
5
  SHA512:
6
- metadata.gz: 3d1ddfa794cc468b08499ac9378df5c99e4299fa1ecab8e830c310574baf6059b01813ce96ec5dba4619b4e7e2522b24544815fcd0acb25fe0890f030ac244d9
7
- data.tar.gz: 1418af7a2c16ef5ee26451b37f3a047c779e2099bbdbbc462e882bd5ca986d0ddfda290e322e1088cbe5649454bdd610ee609b1619cb89a4d905443974cd32f5
6
+ metadata.gz: 723b0bc37cd41d1b1db78eb19ad811993a8a8787f0f2eb11f32df50a90923ca2b231190008b4b593fcf784f1b22ea3ec554dc1b0a5f78be7c629630f6e8c53ee
7
+ data.tar.gz: c6c568ce56d302426605c6171091c09ec93b1b68fca91848e9c7e4ab4a972764f43ac9003f24d99899121820f20d4c12eddbf333dbfcf7010402782496b26a23
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-vmwareengine_v1
2
2
 
3
+ ### v0.16.0 (2026-03-01)
4
+
5
+ * Regenerated from discovery document revision 20260217
6
+
7
+ ### v0.15.0 (2025-12-14)
8
+
9
+ * Regenerated from discovery document revision 20251113
10
+
3
11
  ### v0.14.0 (2025-11-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20251020
@@ -434,6 +434,11 @@ module Google
434
434
  # @return [String]
435
435
  attr_accessor :create_time
436
436
 
437
+ # Output only. Configuration of a mounted datastore.
438
+ # Corresponds to the JSON property `datastoreMountConfig`
439
+ # @return [Array<Google::Apis::VmwareengineV1::DatastoreMountConfig>]
440
+ attr_accessor :datastore_mount_config
441
+
437
442
  # Output only. True if the cluster is a management cluster; false otherwise.
438
443
  # There can only be one management cluster in a private cloud and it has to be
439
444
  # the first one.
@@ -484,6 +489,7 @@ module Google
484
489
  def update!(**args)
485
490
  @autoscaling_settings = args[:autoscaling_settings] if args.key?(:autoscaling_settings)
486
491
  @create_time = args[:create_time] if args.key?(:create_time)
492
+ @datastore_mount_config = args[:datastore_mount_config] if args.key?(:datastore_mount_config)
487
493
  @management = args[:management] if args.key?(:management)
488
494
  @name = args[:name] if args.key?(:name)
489
495
  @node_type_configs = args[:node_type_configs] if args.key?(:node_type_configs)
@@ -566,6 +572,188 @@ module Google
566
572
  end
567
573
  end
568
574
 
575
+ # Represents a datastore resource.
576
+ class Datastore
577
+ include Google::Apis::Core::Hashable
578
+
579
+ # Output only. Clusters to which the datastore is attached.
580
+ # Corresponds to the JSON property `clusters`
581
+ # @return [Array<String>]
582
+ attr_accessor :clusters
583
+
584
+ # Output only. Creation time of this resource.
585
+ # Corresponds to the JSON property `createTime`
586
+ # @return [String]
587
+ attr_accessor :create_time
588
+
589
+ # Optional. User-provided description for this datastore
590
+ # Corresponds to the JSON property `description`
591
+ # @return [String]
592
+ attr_accessor :description
593
+
594
+ # Optional. Checksum that may be sent on update and delete requests to ensure
595
+ # that the user-provided value is up to date before the server processes a
596
+ # request. The server computes checksums based on the value of other fields in
597
+ # the request.
598
+ # Corresponds to the JSON property `etag`
599
+ # @return [String]
600
+ attr_accessor :etag
601
+
602
+ # Output only. Identifier. The resource name of this datastore. Resource names
603
+ # are schemeless URIs that follow the conventions in https://cloud.google.com/
604
+ # apis/design/resource_names. For example: `projects/my-project/locations/us-
605
+ # central1/datastores/datastore`
606
+ # Corresponds to the JSON property `name`
607
+ # @return [String]
608
+ attr_accessor :name
609
+
610
+ # The NFS datastore configuration.
611
+ # Corresponds to the JSON property `nfsDatastore`
612
+ # @return [Google::Apis::VmwareengineV1::NfsDatastore]
613
+ attr_accessor :nfs_datastore
614
+
615
+ # Output only. The state of the Datastore.
616
+ # Corresponds to the JSON property `state`
617
+ # @return [String]
618
+ attr_accessor :state
619
+
620
+ # Output only. System-generated unique identifier for the resource.
621
+ # Corresponds to the JSON property `uid`
622
+ # @return [String]
623
+ attr_accessor :uid
624
+
625
+ # Output only. Last update time of this resource.
626
+ # Corresponds to the JSON property `updateTime`
627
+ # @return [String]
628
+ attr_accessor :update_time
629
+
630
+ def initialize(**args)
631
+ update!(**args)
632
+ end
633
+
634
+ # Update properties of this object
635
+ def update!(**args)
636
+ @clusters = args[:clusters] if args.key?(:clusters)
637
+ @create_time = args[:create_time] if args.key?(:create_time)
638
+ @description = args[:description] if args.key?(:description)
639
+ @etag = args[:etag] if args.key?(:etag)
640
+ @name = args[:name] if args.key?(:name)
641
+ @nfs_datastore = args[:nfs_datastore] if args.key?(:nfs_datastore)
642
+ @state = args[:state] if args.key?(:state)
643
+ @uid = args[:uid] if args.key?(:uid)
644
+ @update_time = args[:update_time] if args.key?(:update_time)
645
+ end
646
+ end
647
+
648
+ # The Datastore Mount configuration
649
+ class DatastoreMountConfig
650
+ include Google::Apis::Core::Hashable
651
+
652
+ # Optional. The access mode of the NFS volume. Optional. Default value used will
653
+ # be READ_WRITE
654
+ # Corresponds to the JSON property `accessMode`
655
+ # @return [String]
656
+ attr_accessor :access_mode
657
+
658
+ # Required. The resource name of the datastore to mount. Resource names are
659
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
660
+ # design/resource_names. For example: `projects/my-project/locations/us-central1/
661
+ # datastores/my-datastore`
662
+ # Corresponds to the JSON property `datastore`
663
+ # @return [String]
664
+ attr_accessor :datastore
665
+
666
+ # The network configuration for the datastore.
667
+ # Corresponds to the JSON property `datastoreNetwork`
668
+ # @return [Google::Apis::VmwareengineV1::DatastoreNetwork]
669
+ attr_accessor :datastore_network
670
+
671
+ # Output only. File share name.
672
+ # Corresponds to the JSON property `fileShare`
673
+ # @return [String]
674
+ attr_accessor :file_share
675
+
676
+ # Optional. The NFS protocol supported by the NFS volume. Default value used
677
+ # will be NFS_V3
678
+ # Corresponds to the JSON property `nfsVersion`
679
+ # @return [String]
680
+ attr_accessor :nfs_version
681
+
682
+ # Output only. Server IP addresses of the NFS volume. For NFS 3, you can only
683
+ # provide a single server IP address or DNS names.
684
+ # Corresponds to the JSON property `servers`
685
+ # @return [Array<String>]
686
+ attr_accessor :servers
687
+
688
+ def initialize(**args)
689
+ update!(**args)
690
+ end
691
+
692
+ # Update properties of this object
693
+ def update!(**args)
694
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
695
+ @datastore = args[:datastore] if args.key?(:datastore)
696
+ @datastore_network = args[:datastore_network] if args.key?(:datastore_network)
697
+ @file_share = args[:file_share] if args.key?(:file_share)
698
+ @nfs_version = args[:nfs_version] if args.key?(:nfs_version)
699
+ @servers = args[:servers] if args.key?(:servers)
700
+ end
701
+ end
702
+
703
+ # The network configuration for the datastore.
704
+ class DatastoreNetwork
705
+ include Google::Apis::Core::Hashable
706
+
707
+ # Optional. connection_count is used to set multiple connections from NFS client
708
+ # on ESXi host to NFS server. A higher number of connections results in better
709
+ # performance on datastores. In MountDatastore API by default max 4 connections
710
+ # are configured. User can set value of connection_count between 1 to 4.
711
+ # Connection_count is supported from vsphere 8.0u1 for earlier version 1
712
+ # connection count is set on the ESXi hosts.
713
+ # Corresponds to the JSON property `connectionCount`
714
+ # @return [Fixnum]
715
+ attr_accessor :connection_count
716
+
717
+ # Optional. MTU value is set on the VMKernel adapter for the NFS traffic. By
718
+ # default standard 1500 MTU size is set in MountDatastore API which is good for
719
+ # typical setups. However google VPC networks supports jumbo MTU 8896. We
720
+ # recommend to tune this value based on the NFS traffic performance. Performance
721
+ # can be determined using benchmarking I/O tools like fio (Flexible I/O Tester)
722
+ # utility.
723
+ # Corresponds to the JSON property `mtu`
724
+ # @return [Fixnum]
725
+ attr_accessor :mtu
726
+
727
+ # Output only. The resource name of the network peering, used to access the file
728
+ # share by clients on private cloud. Resource names are schemeless URIs that
729
+ # follow the conventions in https://cloud.google.com/apis/design/resource_names.
730
+ # e.g. projects/my-project/locations/us-central1/networkPeerings/my-network-
731
+ # peering
732
+ # Corresponds to the JSON property `networkPeering`
733
+ # @return [String]
734
+ attr_accessor :network_peering
735
+
736
+ # Required. The resource name of the subnet Resource names are schemeless URIs
737
+ # that follow the conventions in https://cloud.google.com/apis/design/
738
+ # resource_names. e.g. projects/my-project/locations/us-central1/subnets/my-
739
+ # subnet
740
+ # Corresponds to the JSON property `subnet`
741
+ # @return [String]
742
+ attr_accessor :subnet
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @connection_count = args[:connection_count] if args.key?(:connection_count)
751
+ @mtu = args[:mtu] if args.key?(:mtu)
752
+ @network_peering = args[:network_peering] if args.key?(:network_peering)
753
+ @subnet = args[:subnet] if args.key?(:subnet)
754
+ end
755
+ end
756
+
569
757
  # DnsBindPermission resource that contains the accounts having the consumer DNS
570
758
  # bind permission on the corresponding intranet VPC of the consumer project.
571
759
  class DnsBindPermission
@@ -946,6 +1134,47 @@ module Google
946
1134
  end
947
1135
  end
948
1136
 
1137
+ # Google service file service configuration
1138
+ class GoogleFileService
1139
+ include Google::Apis::Core::Hashable
1140
+
1141
+ # Google filestore instance resource name e.g. projects/my-project/locations/me-
1142
+ # west1-b/instances/my-instance
1143
+ # Corresponds to the JSON property `filestoreInstance`
1144
+ # @return [String]
1145
+ attr_accessor :filestore_instance
1146
+
1147
+ # Google netapp volume resource name e.g. projects/my-project/locations/me-west1-
1148
+ # b/volumes/my-volume
1149
+ # Corresponds to the JSON property `netappVolume`
1150
+ # @return [String]
1151
+ attr_accessor :netapp_volume
1152
+
1153
+ def initialize(**args)
1154
+ update!(**args)
1155
+ end
1156
+
1157
+ # Update properties of this object
1158
+ def update!(**args)
1159
+ @filestore_instance = args[:filestore_instance] if args.key?(:filestore_instance)
1160
+ @netapp_volume = args[:netapp_volume] if args.key?(:netapp_volume)
1161
+ end
1162
+ end
1163
+
1164
+ # Volume message captures user inputs for creation of file services managed by
1165
+ # GCVE
1166
+ class GoogleVmwareFileService
1167
+ include Google::Apis::Core::Hashable
1168
+
1169
+ def initialize(**args)
1170
+ update!(**args)
1171
+ end
1172
+
1173
+ # Update properties of this object
1174
+ def update!(**args)
1175
+ end
1176
+ end
1177
+
949
1178
  # Request message for VmwareEngine.GrantDnsBindPermission
950
1179
  class GrantDnsBindPermissionRequest
951
1180
  include Google::Apis::Core::Hashable
@@ -1199,6 +1428,38 @@ module Google
1199
1428
  end
1200
1429
  end
1201
1430
 
1431
+ # Response message for VmwareEngine.ListDatastores
1432
+ class ListDatastoresResponse
1433
+ include Google::Apis::Core::Hashable
1434
+
1435
+ # A list of Datastores.
1436
+ # Corresponds to the JSON property `datastores`
1437
+ # @return [Array<Google::Apis::VmwareengineV1::Datastore>]
1438
+ attr_accessor :datastores
1439
+
1440
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1441
+ # field is omitted, there are no subsequent pages.
1442
+ # Corresponds to the JSON property `nextPageToken`
1443
+ # @return [String]
1444
+ attr_accessor :next_page_token
1445
+
1446
+ # Unreachable resources.
1447
+ # Corresponds to the JSON property `unreachable`
1448
+ # @return [Array<String>]
1449
+ attr_accessor :unreachable
1450
+
1451
+ def initialize(**args)
1452
+ update!(**args)
1453
+ end
1454
+
1455
+ # Update properties of this object
1456
+ def update!(**args)
1457
+ @datastores = args[:datastores] if args.key?(:datastores)
1458
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1459
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1460
+ end
1461
+ end
1462
+
1202
1463
  # Response message for VmwareEngine.ListExternalAccessRules
1203
1464
  class ListExternalAccessRulesResponse
1204
1465
  include Google::Apis::Core::Hashable
@@ -1528,8 +1789,9 @@ module Google
1528
1789
  attr_accessor :operations
1529
1790
 
1530
1791
  # Unordered list. Unreachable resources. Populated when the request sets `
1531
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1532
- # when attempting to list all resources across all supported locations.
1792
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1793
+ # For example, when attempting to list all resources across all supported
1794
+ # locations.
1533
1795
  # Corresponds to the JSON property `unreachable`
1534
1796
  # @return [Array<String>]
1535
1797
  attr_accessor :unreachable
@@ -2004,6 +2266,43 @@ module Google
2004
2266
  end
2005
2267
  end
2006
2268
 
2269
+ # Mount Datastore Request message
2270
+ class MountDatastoreRequest
2271
+ include Google::Apis::Core::Hashable
2272
+
2273
+ # The Datastore Mount configuration
2274
+ # Corresponds to the JSON property `datastoreMountConfig`
2275
+ # @return [Google::Apis::VmwareengineV1::DatastoreMountConfig]
2276
+ attr_accessor :datastore_mount_config
2277
+
2278
+ # Optional. If set to true, the colocation requirement will be ignored. If set
2279
+ # to false, the colocation requirement will be enforced. If not set, the
2280
+ # colocation requirement will be enforced. Colocation requirement is the
2281
+ # requirement that the cluster must be in the same region/zone of datastore(
2282
+ # regional/zonal datastore).
2283
+ # Corresponds to the JSON property `ignoreColocation`
2284
+ # @return [Boolean]
2285
+ attr_accessor :ignore_colocation
2286
+ alias_method :ignore_colocation?, :ignore_colocation
2287
+
2288
+ # Optional. The request ID must be a valid UUID with the exception that zero
2289
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
2290
+ # Corresponds to the JSON property `requestId`
2291
+ # @return [String]
2292
+ attr_accessor :request_id
2293
+
2294
+ def initialize(**args)
2295
+ update!(**args)
2296
+ end
2297
+
2298
+ # Update properties of this object
2299
+ def update!(**args)
2300
+ @datastore_mount_config = args[:datastore_mount_config] if args.key?(:datastore_mount_config)
2301
+ @ignore_colocation = args[:ignore_colocation] if args.key?(:ignore_colocation)
2302
+ @request_id = args[:request_id] if args.key?(:request_id)
2303
+ end
2304
+ end
2305
+
2007
2306
  # Network configuration in the consumer project with which the peering has to be
2008
2307
  # done.
2009
2308
  class NetworkConfig
@@ -2331,6 +2630,38 @@ module Google
2331
2630
  end
2332
2631
  end
2333
2632
 
2633
+ # The NFS datastore configuration.
2634
+ class NfsDatastore
2635
+ include Google::Apis::Core::Hashable
2636
+
2637
+ # Google service file service configuration
2638
+ # Corresponds to the JSON property `googleFileService`
2639
+ # @return [Google::Apis::VmwareengineV1::GoogleFileService]
2640
+ attr_accessor :google_file_service
2641
+
2642
+ # Volume message captures user inputs for creation of file services managed by
2643
+ # GCVE
2644
+ # Corresponds to the JSON property `googleVmwareFileService`
2645
+ # @return [Google::Apis::VmwareengineV1::GoogleVmwareFileService]
2646
+ attr_accessor :google_vmware_file_service
2647
+
2648
+ # Third party file service configuration
2649
+ # Corresponds to the JSON property `thirdPartyFileService`
2650
+ # @return [Google::Apis::VmwareengineV1::ThirdPartyFileService]
2651
+ attr_accessor :third_party_file_service
2652
+
2653
+ def initialize(**args)
2654
+ update!(**args)
2655
+ end
2656
+
2657
+ # Update properties of this object
2658
+ def update!(**args)
2659
+ @google_file_service = args[:google_file_service] if args.key?(:google_file_service)
2660
+ @google_vmware_file_service = args[:google_vmware_file_service] if args.key?(:google_vmware_file_service)
2661
+ @third_party_file_service = args[:third_party_file_service] if args.key?(:third_party_file_service)
2662
+ end
2663
+ end
2664
+
2334
2665
  # Node in a cluster.
2335
2666
  class Node
2336
2667
  include Google::Apis::Core::Hashable
@@ -3457,6 +3788,40 @@ module Google
3457
3788
  end
3458
3789
  end
3459
3790
 
3791
+ # Third party file service configuration
3792
+ class ThirdPartyFileService
3793
+ include Google::Apis::Core::Hashable
3794
+
3795
+ # Required. Required Mount Folder name
3796
+ # Corresponds to the JSON property `fileShare`
3797
+ # @return [String]
3798
+ attr_accessor :file_share
3799
+
3800
+ # Required. Required to identify vpc peering used for NFS access network name of
3801
+ # NFS's vpc e.g. projects/project-id/global/networks/my-network_id
3802
+ # Corresponds to the JSON property `network`
3803
+ # @return [String]
3804
+ attr_accessor :network
3805
+
3806
+ # Required. Server IP addresses of the NFS file service. NFS v3, provide a
3807
+ # single IP address or DNS name. Multiple servers can be supported in future
3808
+ # when NFS 4.1 protocol support is enabled.
3809
+ # Corresponds to the JSON property `servers`
3810
+ # @return [Array<String>]
3811
+ attr_accessor :servers
3812
+
3813
+ def initialize(**args)
3814
+ update!(**args)
3815
+ end
3816
+
3817
+ # Update properties of this object
3818
+ def update!(**args)
3819
+ @file_share = args[:file_share] if args.key?(:file_share)
3820
+ @network = args[:network] if args.key?(:network)
3821
+ @servers = args[:servers] if args.key?(:servers)
3822
+ end
3823
+ end
3824
+
3460
3825
  # Thresholds define the utilization of resources triggering scale-out and scale-
3461
3826
  # in operations.
3462
3827
  class Thresholds
@@ -3582,6 +3947,35 @@ module Google
3582
3947
  end
3583
3948
  end
3584
3949
 
3950
+ # Unmount Datastore Request messag
3951
+ class UnmountDatastoreRequest
3952
+ include Google::Apis::Core::Hashable
3953
+
3954
+ # Required. The resource name of the datastore to unmount. Resource names are
3955
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
3956
+ # design/resource_names. For example: `projects/my-project/locations/us-central1/
3957
+ # datastores/my-datastore`
3958
+ # Corresponds to the JSON property `datastore`
3959
+ # @return [String]
3960
+ attr_accessor :datastore
3961
+
3962
+ # Optional. The request ID must be a valid UUID with the exception that zero
3963
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
3964
+ # Corresponds to the JSON property `requestId`
3965
+ # @return [String]
3966
+ attr_accessor :request_id
3967
+
3968
+ def initialize(**args)
3969
+ update!(**args)
3970
+ end
3971
+
3972
+ # Update properties of this object
3973
+ def update!(**args)
3974
+ @datastore = args[:datastore] if args.key?(:datastore)
3975
+ @request_id = args[:request_id] if args.key?(:request_id)
3976
+ end
3977
+ end
3978
+
3585
3979
  # Describes Private cloud Upgrade.
3586
3980
  class Upgrade
3587
3981
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmwareengineV1
18
18
  # Version of the google-apis-vmwareengine_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251020"
25
+ REVISION = "20260217"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,24 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class Datastore
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DatastoreMountConfig
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DatastoreNetwork
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class DnsBindPermission
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
@@ -130,6 +148,18 @@ module Google
130
148
  include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
151
+ class GoogleFileService
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleVmwareFileService
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
133
163
  class GrantDnsBindPermissionRequest
134
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
165
 
@@ -172,6 +202,12 @@ module Google
172
202
  include Google::Apis::Core::JsonObjectSupport
173
203
  end
174
204
 
205
+ class ListDatastoresResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
175
211
  class ListExternalAccessRulesResponse
176
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
213
 
@@ -310,6 +346,12 @@ module Google
310
346
  include Google::Apis::Core::JsonObjectSupport
311
347
  end
312
348
 
349
+ class MountDatastoreRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
313
355
  class NetworkConfig
314
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
357
 
@@ -334,6 +376,12 @@ module Google
334
376
  include Google::Apis::Core::JsonObjectSupport
335
377
  end
336
378
 
379
+ class NfsDatastore
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
337
385
  class Node
338
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
387
 
@@ -466,6 +514,12 @@ module Google
466
514
  include Google::Apis::Core::JsonObjectSupport
467
515
  end
468
516
 
517
+ class ThirdPartyFileService
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
469
523
  class Thresholds
470
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
525
 
@@ -490,6 +544,12 @@ module Google
490
544
  include Google::Apis::Core::JsonObjectSupport
491
545
  end
492
546
 
547
+ class UnmountDatastoreRequest
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
493
553
  class Upgrade
494
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
555
 
@@ -611,6 +671,8 @@ module Google
611
671
  property :autoscaling_settings, as: 'autoscalingSettings', class: Google::Apis::VmwareengineV1::AutoscalingSettings, decorator: Google::Apis::VmwareengineV1::AutoscalingSettings::Representation
612
672
 
613
673
  property :create_time, as: 'createTime'
674
+ collection :datastore_mount_config, as: 'datastoreMountConfig', class: Google::Apis::VmwareengineV1::DatastoreMountConfig, decorator: Google::Apis::VmwareengineV1::DatastoreMountConfig::Representation
675
+
614
676
  property :management, as: 'management'
615
677
  property :name, as: 'name'
616
678
  hash :node_type_configs, as: 'nodeTypeConfigs', class: Google::Apis::VmwareengineV1::NodeTypeConfig, decorator: Google::Apis::VmwareengineV1::NodeTypeConfig::Representation
@@ -643,6 +705,45 @@ module Google
643
705
  end
644
706
  end
645
707
 
708
+ class Datastore
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ collection :clusters, as: 'clusters'
712
+ property :create_time, as: 'createTime'
713
+ property :description, as: 'description'
714
+ property :etag, as: 'etag'
715
+ property :name, as: 'name'
716
+ property :nfs_datastore, as: 'nfsDatastore', class: Google::Apis::VmwareengineV1::NfsDatastore, decorator: Google::Apis::VmwareengineV1::NfsDatastore::Representation
717
+
718
+ property :state, as: 'state'
719
+ property :uid, as: 'uid'
720
+ property :update_time, as: 'updateTime'
721
+ end
722
+ end
723
+
724
+ class DatastoreMountConfig
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :access_mode, as: 'accessMode'
728
+ property :datastore, as: 'datastore'
729
+ property :datastore_network, as: 'datastoreNetwork', class: Google::Apis::VmwareengineV1::DatastoreNetwork, decorator: Google::Apis::VmwareengineV1::DatastoreNetwork::Representation
730
+
731
+ property :file_share, as: 'fileShare'
732
+ property :nfs_version, as: 'nfsVersion'
733
+ collection :servers, as: 'servers'
734
+ end
735
+ end
736
+
737
+ class DatastoreNetwork
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ property :connection_count, as: 'connectionCount'
741
+ property :mtu, as: 'mtu'
742
+ property :network_peering, as: 'networkPeering'
743
+ property :subnet, as: 'subnet'
744
+ end
745
+ end
746
+
646
747
  class DnsBindPermission
647
748
  # @private
648
749
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -731,6 +832,20 @@ module Google
731
832
  end
732
833
  end
733
834
 
835
+ class GoogleFileService
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ property :filestore_instance, as: 'filestoreInstance'
839
+ property :netapp_volume, as: 'netappVolume'
840
+ end
841
+ end
842
+
843
+ class GoogleVmwareFileService
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ end
847
+ end
848
+
734
849
  class GrantDnsBindPermissionRequest
735
850
  # @private
736
851
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -798,6 +913,16 @@ module Google
798
913
  end
799
914
  end
800
915
 
916
+ class ListDatastoresResponse
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ collection :datastores, as: 'datastores', class: Google::Apis::VmwareengineV1::Datastore, decorator: Google::Apis::VmwareengineV1::Datastore::Representation
920
+
921
+ property :next_page_token, as: 'nextPageToken'
922
+ collection :unreachable, as: 'unreachable'
923
+ end
924
+ end
925
+
801
926
  class ListExternalAccessRulesResponse
802
927
  # @private
803
928
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1031,6 +1156,16 @@ module Google
1031
1156
  end
1032
1157
  end
1033
1158
 
1159
+ class MountDatastoreRequest
1160
+ # @private
1161
+ class Representation < Google::Apis::Core::JsonRepresentation
1162
+ property :datastore_mount_config, as: 'datastoreMountConfig', class: Google::Apis::VmwareengineV1::DatastoreMountConfig, decorator: Google::Apis::VmwareengineV1::DatastoreMountConfig::Representation
1163
+
1164
+ property :ignore_colocation, as: 'ignoreColocation'
1165
+ property :request_id, as: 'requestId'
1166
+ end
1167
+ end
1168
+
1034
1169
  class NetworkConfig
1035
1170
  # @private
1036
1171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1090,6 +1225,18 @@ module Google
1090
1225
  end
1091
1226
  end
1092
1227
 
1228
+ class NfsDatastore
1229
+ # @private
1230
+ class Representation < Google::Apis::Core::JsonRepresentation
1231
+ property :google_file_service, as: 'googleFileService', class: Google::Apis::VmwareengineV1::GoogleFileService, decorator: Google::Apis::VmwareengineV1::GoogleFileService::Representation
1232
+
1233
+ property :google_vmware_file_service, as: 'googleVmwareFileService', class: Google::Apis::VmwareengineV1::GoogleVmwareFileService, decorator: Google::Apis::VmwareengineV1::GoogleVmwareFileService::Representation
1234
+
1235
+ property :third_party_file_service, as: 'thirdPartyFileService', class: Google::Apis::VmwareengineV1::ThirdPartyFileService, decorator: Google::Apis::VmwareengineV1::ThirdPartyFileService::Representation
1236
+
1237
+ end
1238
+ end
1239
+
1093
1240
  class Node
1094
1241
  # @private
1095
1242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1336,6 +1483,15 @@ module Google
1336
1483
  end
1337
1484
  end
1338
1485
 
1486
+ class ThirdPartyFileService
1487
+ # @private
1488
+ class Representation < Google::Apis::Core::JsonRepresentation
1489
+ property :file_share, as: 'fileShare'
1490
+ property :network, as: 'network'
1491
+ collection :servers, as: 'servers'
1492
+ end
1493
+ end
1494
+
1339
1495
  class Thresholds
1340
1496
  # @private
1341
1497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1371,6 +1527,14 @@ module Google
1371
1527
  end
1372
1528
  end
1373
1529
 
1530
+ class UnmountDatastoreRequest
1531
+ # @private
1532
+ class Representation < Google::Apis::Core::JsonRepresentation
1533
+ property :datastore, as: 'datastore'
1534
+ property :request_id, as: 'requestId'
1535
+ end
1536
+ end
1537
+
1374
1538
  class Upgrade
1375
1539
  # @private
1376
1540
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -119,12 +119,16 @@ module Google
119
119
  execute_or_queue_command(command, &block)
120
120
  end
121
121
 
122
- # Lists information about the supported locations for this service.
122
+ # Lists information about the supported locations for this service. This method
123
+ # can be called in two ways: * **List all public locations:** Use the path `GET /
124
+ # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
125
+ # projects/`project_id`/locations`. This may include public locations as well as
126
+ # private or other locations specifically visible to the project.
123
127
  # @param [String] name
124
128
  # The resource that owns the locations collection, if applicable.
125
129
  # @param [Array<String>, String] extra_location_types
126
- # Optional. Unless explicitly documented otherwise, don't use this unsupported
127
- # field which is primarily intended for internal usage.
130
+ # Optional. Do not use this field. It is unsupported and is ignored unless
131
+ # explicitly documented otherwise. This is primarily for internal usage.
128
132
  # @param [String] filter
129
133
  # A filter to narrow down results to a preferred subset. The filtering language
130
134
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -263,6 +267,249 @@ module Google
263
267
  execute_or_queue_command(command, &block)
264
268
  end
265
269
 
270
+ # Creates a new `Datastore` resource in a given project and location.
271
+ # @param [String] parent
272
+ # Required. The resource name of the location to create the new datastore in.
273
+ # Resource names are schemeless URIs that follow the conventions in https://
274
+ # cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
275
+ # locations/us-central1`
276
+ # @param [Google::Apis::VmwareengineV1::Datastore] datastore_object
277
+ # @param [String] datastore_id
278
+ # Required. The user-provided identifier of the datastore to be created. This
279
+ # identifier must be unique among each `Datastore` within the parent and becomes
280
+ # the final token in the name URI. The identifier must meet the following
281
+ # requirements: * Only contains 1-63 alphanumeric characters and hyphens *
282
+ # Begins with an alphabetical character * Ends with a non-hyphen character * Not
283
+ # formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/
284
+ # doc/html/rfc1034) (section 3.5)
285
+ # @param [String] request_id
286
+ # Optional. The request ID must be a valid UUID with the exception that zero
287
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
288
+ # @param [String] fields
289
+ # Selector specifying which fields to include in a partial response.
290
+ # @param [String] quota_user
291
+ # Available to use for quota purposes for server-side applications. Can be any
292
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
293
+ # @param [Google::Apis::RequestOptions] options
294
+ # Request-specific options
295
+ #
296
+ # @yield [result, err] Result & error if block supplied
297
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
298
+ # @yieldparam err [StandardError] error object if request failed
299
+ #
300
+ # @return [Google::Apis::VmwareengineV1::Operation]
301
+ #
302
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
303
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
304
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
305
+ def create_project_location_datastore(parent, datastore_object = nil, datastore_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
306
+ command = make_simple_command(:post, 'v1/{+parent}/datastores', options)
307
+ command.request_representation = Google::Apis::VmwareengineV1::Datastore::Representation
308
+ command.request_object = datastore_object
309
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
310
+ command.response_class = Google::Apis::VmwareengineV1::Operation
311
+ command.params['parent'] = parent unless parent.nil?
312
+ command.query['datastoreId'] = datastore_id unless datastore_id.nil?
313
+ command.query['requestId'] = request_id unless request_id.nil?
314
+ command.query['fields'] = fields unless fields.nil?
315
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
316
+ execute_or_queue_command(command, &block)
317
+ end
318
+
319
+ # Deletes a `Datastore` resource. You can only delete a Datastore after all
320
+ # resources that refer to it are deleted. For example, multiple clusters of the
321
+ # same private cloud or different private clouds can refer to the same datastore.
322
+ # @param [String] name
323
+ # Required. The resource name of the Datastore to be deleted. Resource names are
324
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
325
+ # design/resource_names. For example: `projects/my-project/locations/us-central1/
326
+ # datastore/my-datastore`
327
+ # @param [String] etag
328
+ # Optional. Checksum used to ensure that the user-provided value is up to date
329
+ # before the server processes the request. The server compares provided checksum
330
+ # with the current checksum of the resource. If the user-provided value is out
331
+ # of date, this request returns an `ABORTED` error.
332
+ # @param [String] request_id
333
+ # Optional. The request ID must be a valid UUID with the exception that zero
334
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
335
+ # @param [String] fields
336
+ # Selector specifying which fields to include in a partial response.
337
+ # @param [String] quota_user
338
+ # Available to use for quota purposes for server-side applications. Can be any
339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
340
+ # @param [Google::Apis::RequestOptions] options
341
+ # Request-specific options
342
+ #
343
+ # @yield [result, err] Result & error if block supplied
344
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
345
+ # @yieldparam err [StandardError] error object if request failed
346
+ #
347
+ # @return [Google::Apis::VmwareengineV1::Operation]
348
+ #
349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
352
+ def delete_project_location_datastore(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
353
+ command = make_simple_command(:delete, 'v1/{+name}', options)
354
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
355
+ command.response_class = Google::Apis::VmwareengineV1::Operation
356
+ command.params['name'] = name unless name.nil?
357
+ command.query['etag'] = etag unless etag.nil?
358
+ command.query['requestId'] = request_id unless request_id.nil?
359
+ command.query['fields'] = fields unless fields.nil?
360
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
361
+ execute_or_queue_command(command, &block)
362
+ end
363
+
364
+ # Retrieves a `Datastore` resource by its resource name. The resource contains
365
+ # details of the Datastore, such as its description, subnets, type, and more.
366
+ # @param [String] name
367
+ # Required. The resource name of the Datastore to retrieve. Resource names are
368
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
369
+ # design/resource_names. For example: `projects/my-project/locations/us-central1/
370
+ # datastores/my-datastore`
371
+ # @param [String] fields
372
+ # Selector specifying which fields to include in a partial response.
373
+ # @param [String] quota_user
374
+ # Available to use for quota purposes for server-side applications. Can be any
375
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
376
+ # @param [Google::Apis::RequestOptions] options
377
+ # Request-specific options
378
+ #
379
+ # @yield [result, err] Result & error if block supplied
380
+ # @yieldparam result [Google::Apis::VmwareengineV1::Datastore] parsed result object
381
+ # @yieldparam err [StandardError] error object if request failed
382
+ #
383
+ # @return [Google::Apis::VmwareengineV1::Datastore]
384
+ #
385
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
386
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
387
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
388
+ def get_project_location_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
389
+ command = make_simple_command(:get, 'v1/{+name}', options)
390
+ command.response_representation = Google::Apis::VmwareengineV1::Datastore::Representation
391
+ command.response_class = Google::Apis::VmwareengineV1::Datastore
392
+ command.params['name'] = name unless name.nil?
393
+ command.query['fields'] = fields unless fields.nil?
394
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
395
+ execute_or_queue_command(command, &block)
396
+ end
397
+
398
+ # Lists `Datastore` resources in a given project and location.
399
+ # @param [String] parent
400
+ # Required. The resource name of the location to query for Datastores. Resource
401
+ # names are schemeless URIs that follow the conventions in https://cloud.google.
402
+ # com/apis/design/resource_names. For example: `projects/my-project/locations/us-
403
+ # central1`
404
+ # @param [String] filter
405
+ # Optional. A filter expression that matches resources returned in the response.
406
+ # The expression must specify the field name, a comparison operator, and the
407
+ # value that you want to use for filtering. The value must be a string, a number,
408
+ # or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For
409
+ # example, if you are filtering a list of datastores, you can exclude the ones
410
+ # named `example-datastore` by specifying `name != "example-datastore"`. To
411
+ # filter on multiple expressions, provide each separate expression within
412
+ # parentheses. For example: ``` (name = "example-datastore") (createTime > "2021-
413
+ # 04-12T08:15:10.40Z") ``` By default, each expression is an `AND` expression.
414
+ # However, you can include `AND` and `OR` expressions explicitly. For example: ``
415
+ # ` (name = "example-datastore-1") AND (createTime > "2021-04-12T08:15:10.40Z")
416
+ # OR (name = "example-datastore-2") ```
417
+ # @param [String] order_by
418
+ # Optional. Sorts list results by a certain order. By default, returned results
419
+ # are ordered by `name` in ascending order. You can also sort results in
420
+ # descending order based on the `name` value using `orderBy="name desc"`.
421
+ # Currently, only ordering by `name` is supported.
422
+ # @param [Fixnum] page_size
423
+ # Optional. The maximum number of results to return in one page. The maximum
424
+ # value is coerced to 1000. The default value of this field is 500.
425
+ # @param [String] page_token
426
+ # Optional. A page token, received from a previous `ListDatastores` call.
427
+ # Provide this to retrieve the subsequent page. When paginating, all other
428
+ # parameters provided to `ListDatastores` must match the call that provided the
429
+ # page token.
430
+ # @param [String] request_id
431
+ # Optional. The request ID must be a valid UUID with the exception that zero
432
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
433
+ # @param [String] fields
434
+ # Selector specifying which fields to include in a partial response.
435
+ # @param [String] quota_user
436
+ # Available to use for quota purposes for server-side applications. Can be any
437
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
438
+ # @param [Google::Apis::RequestOptions] options
439
+ # Request-specific options
440
+ #
441
+ # @yield [result, err] Result & error if block supplied
442
+ # @yieldparam result [Google::Apis::VmwareengineV1::ListDatastoresResponse] parsed result object
443
+ # @yieldparam err [StandardError] error object if request failed
444
+ #
445
+ # @return [Google::Apis::VmwareengineV1::ListDatastoresResponse]
446
+ #
447
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
448
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
449
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
450
+ def list_project_location_datastores(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
451
+ command = make_simple_command(:get, 'v1/{+parent}/datastores', options)
452
+ command.response_representation = Google::Apis::VmwareengineV1::ListDatastoresResponse::Representation
453
+ command.response_class = Google::Apis::VmwareengineV1::ListDatastoresResponse
454
+ command.params['parent'] = parent unless parent.nil?
455
+ command.query['filter'] = filter unless filter.nil?
456
+ command.query['orderBy'] = order_by unless order_by.nil?
457
+ command.query['pageSize'] = page_size unless page_size.nil?
458
+ command.query['pageToken'] = page_token unless page_token.nil?
459
+ command.query['requestId'] = request_id unless request_id.nil?
460
+ command.query['fields'] = fields unless fields.nil?
461
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
462
+ execute_or_queue_command(command, &block)
463
+ end
464
+
465
+ # Modifies a Datastore resource. Only fields specified in `updateMask` are
466
+ # applied.
467
+ # @param [String] name
468
+ # Output only. Identifier. The resource name of this datastore. Resource names
469
+ # are schemeless URIs that follow the conventions in https://cloud.google.com/
470
+ # apis/design/resource_names. For example: `projects/my-project/locations/us-
471
+ # central1/datastores/datastore`
472
+ # @param [Google::Apis::VmwareengineV1::Datastore] datastore_object
473
+ # @param [String] request_id
474
+ # Optional. The request ID must be a valid UUID with the exception that zero
475
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
476
+ # @param [String] update_mask
477
+ # Optional. Field mask is used to specify the fields to be overwritten in the
478
+ # Datastore resource by the update. The fields specified in the `update_mask`
479
+ # are relative to the resource, not the full request. A field will be
480
+ # overwritten if it is in the mask. If the user does not provide a mask then all
481
+ # fields will be overwritten.
482
+ # @param [String] fields
483
+ # Selector specifying which fields to include in a partial response.
484
+ # @param [String] quota_user
485
+ # Available to use for quota purposes for server-side applications. Can be any
486
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
487
+ # @param [Google::Apis::RequestOptions] options
488
+ # Request-specific options
489
+ #
490
+ # @yield [result, err] Result & error if block supplied
491
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
492
+ # @yieldparam err [StandardError] error object if request failed
493
+ #
494
+ # @return [Google::Apis::VmwareengineV1::Operation]
495
+ #
496
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
497
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
498
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
499
+ def patch_project_location_datastore(name, datastore_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
500
+ command = make_simple_command(:patch, 'v1/{+name}', options)
501
+ command.request_representation = Google::Apis::VmwareengineV1::Datastore::Representation
502
+ command.request_object = datastore_object
503
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
504
+ command.response_class = Google::Apis::VmwareengineV1::Operation
505
+ command.params['name'] = name unless name.nil?
506
+ command.query['requestId'] = request_id unless request_id.nil?
507
+ command.query['updateMask'] = update_mask unless update_mask.nil?
508
+ command.query['fields'] = fields unless fields.nil?
509
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
510
+ execute_or_queue_command(command, &block)
511
+ end
512
+
266
513
  # Grants the bind permission to the customer provided principal(user / service
267
514
  # account) to bind their DNS zone with the intranet VPC associated with the
268
515
  # project. DnsBindPermission is a global resource and location can only be
@@ -1403,11 +1650,12 @@ module Google
1403
1650
  # The standard list page token.
1404
1651
  # @param [Boolean] return_partial_success
1405
1652
  # When set to `true`, operations that are reachable are returned as normal, and
1406
- # those that are unreachable are returned in the [ListOperationsResponse.
1407
- # unreachable] field. This can only be `true` when reading across collections e.
1408
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1409
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1410
- # explicitly documented otherwise in service or product specific documentation.
1653
+ # those that are unreachable are returned in the ListOperationsResponse.
1654
+ # unreachable field. This can only be `true` when reading across collections.
1655
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1656
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1657
+ # if set unless explicitly documented otherwise in service or product specific
1658
+ # documentation.
1411
1659
  # @param [String] fields
1412
1660
  # Selector specifying which fields to include in a partial response.
1413
1661
  # @param [String] quota_user
@@ -2374,6 +2622,42 @@ module Google
2374
2622
  execute_or_queue_command(command, &block)
2375
2623
  end
2376
2624
 
2625
+ # Mounts a `Datastore` on a cluster resource
2626
+ # @param [String] name
2627
+ # Required. The resource name of the cluster to mount the datastore. Resource
2628
+ # names are schemeless URIs that follow the conventions in https://cloud.google.
2629
+ # com/apis/design/resource_names. For example: `projects/my-project/locations/us-
2630
+ # central1-a/privateClouds/my-cloud/clusters/my-cluster`
2631
+ # @param [Google::Apis::VmwareengineV1::MountDatastoreRequest] mount_datastore_request_object
2632
+ # @param [String] fields
2633
+ # Selector specifying which fields to include in a partial response.
2634
+ # @param [String] quota_user
2635
+ # Available to use for quota purposes for server-side applications. Can be any
2636
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2637
+ # @param [Google::Apis::RequestOptions] options
2638
+ # Request-specific options
2639
+ #
2640
+ # @yield [result, err] Result & error if block supplied
2641
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
2642
+ # @yieldparam err [StandardError] error object if request failed
2643
+ #
2644
+ # @return [Google::Apis::VmwareengineV1::Operation]
2645
+ #
2646
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2647
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2648
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2649
+ def mount_cluster_datastore(name, mount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2650
+ command = make_simple_command(:post, 'v1/{+name}:mountDatastore', options)
2651
+ command.request_representation = Google::Apis::VmwareengineV1::MountDatastoreRequest::Representation
2652
+ command.request_object = mount_datastore_request_object
2653
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
2654
+ command.response_class = Google::Apis::VmwareengineV1::Operation
2655
+ command.params['name'] = name unless name.nil?
2656
+ command.query['fields'] = fields unless fields.nil?
2657
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2658
+ execute_or_queue_command(command, &block)
2659
+ end
2660
+
2377
2661
  # Modifies a `Cluster` resource. Only fields specified in `updateMask` are
2378
2662
  # applied. During operation processing, the resource is temporarily in the `
2379
2663
  # ACTIVE` state before the operation fully completes. For that period of time,
@@ -2505,6 +2789,42 @@ module Google
2505
2789
  execute_or_queue_command(command, &block)
2506
2790
  end
2507
2791
 
2792
+ # Unmounts a `Datastore` on a cluster resource
2793
+ # @param [String] name
2794
+ # Required. The resource name of the cluster to unmount the datastore. Resource
2795
+ # names are schemeless URIs that follow the conventions in https://cloud.google.
2796
+ # com/apis/design/resource_names. For example: `projects/my-project/locations/us-
2797
+ # central1-a/privateClouds/my-cloud/clusters/my-cluster`
2798
+ # @param [Google::Apis::VmwareengineV1::UnmountDatastoreRequest] unmount_datastore_request_object
2799
+ # @param [String] fields
2800
+ # Selector specifying which fields to include in a partial response.
2801
+ # @param [String] quota_user
2802
+ # Available to use for quota purposes for server-side applications. Can be any
2803
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2804
+ # @param [Google::Apis::RequestOptions] options
2805
+ # Request-specific options
2806
+ #
2807
+ # @yield [result, err] Result & error if block supplied
2808
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
2809
+ # @yieldparam err [StandardError] error object if request failed
2810
+ #
2811
+ # @return [Google::Apis::VmwareengineV1::Operation]
2812
+ #
2813
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2814
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2815
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2816
+ def unmount_cluster_datastore(name, unmount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2817
+ command = make_simple_command(:post, 'v1/{+name}:unmountDatastore', options)
2818
+ command.request_representation = Google::Apis::VmwareengineV1::UnmountDatastoreRequest::Representation
2819
+ command.request_object = unmount_datastore_request_object
2820
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
2821
+ command.response_class = Google::Apis::VmwareengineV1::Operation
2822
+ command.params['name'] = name unless name.nil?
2823
+ command.query['fields'] = fields unless fields.nil?
2824
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2825
+ execute_or_queue_command(command, &block)
2826
+ end
2827
+
2508
2828
  # Gets details of a single node.
2509
2829
  # @param [String] name
2510
2830
  # Required. The resource name of the node to retrieve. For example: `projects/`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmwareengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.14.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.16.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: