google-apis-vmwareengine_v1 0.14.0 → 0.15.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: 4d3e73031f1e0d0f706d2acf90afb23dd4a830492c470bbbaf29114b70f9df01
4
+ data.tar.gz: 8b10ddd4307f6443a0bedb29410ec3daa480dc996c3c8ee00b35b504e541e6ce
5
5
  SHA512:
6
- metadata.gz: 3d1ddfa794cc468b08499ac9378df5c99e4299fa1ecab8e830c310574baf6059b01813ce96ec5dba4619b4e7e2522b24544815fcd0acb25fe0890f030ac244d9
7
- data.tar.gz: 1418af7a2c16ef5ee26451b37f3a047c779e2099bbdbbc462e882bd5ca986d0ddfda290e322e1088cbe5649454bdd610ee609b1619cb89a4d905443974cd32f5
6
+ metadata.gz: 340c3dc8fe8ef5055f0b7a93cedc21a63eda8421232a3ca3f84f2b81f20bcd13f0f869cc526d3884cf6a218eb32238ca9a021355f8cd6a250d61fee090274269
7
+ data.tar.gz: 267b1281635b990572416cb72a11ecc1df290fa006ad4e2b40eed8b703fdcda8b578f265975e2e6533e756546d4b0424913ebd17259ca038f96b73927d0bbb40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vmwareengine_v1
2
2
 
3
+ ### v0.15.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251113
6
+
3
7
  ### v0.14.0 (2025-11-02)
4
8
 
5
9
  * 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,189 @@ 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. NFS is accessed by hosts in read mode Optional. Default value used
653
+ # will 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 unmount. The datastore
659
+ # requested to be mounted should be in same region/zone as the cluster. Resource
660
+ # names are schemeless URIs that follow the conventions in https://cloud.google.
661
+ # com/apis/design/resource_names. For example: `projects/my-project/locations/us-
662
+ # central1/datastores/my-datastore`
663
+ # Corresponds to the JSON property `datastore`
664
+ # @return [String]
665
+ attr_accessor :datastore
666
+
667
+ # The network configuration for the datastore.
668
+ # Corresponds to the JSON property `datastoreNetwork`
669
+ # @return [Google::Apis::VmwareengineV1::DatastoreNetwork]
670
+ attr_accessor :datastore_network
671
+
672
+ # Output only. File share name.
673
+ # Corresponds to the JSON property `fileShare`
674
+ # @return [String]
675
+ attr_accessor :file_share
676
+
677
+ # Optional. The NFS protocol supported by the NFS volume. Default value used
678
+ # will be NFS_V3
679
+ # Corresponds to the JSON property `nfsVersion`
680
+ # @return [String]
681
+ attr_accessor :nfs_version
682
+
683
+ # Optional. ONLY required when NFS 4.1 version is used
684
+ # Corresponds to the JSON property `securityType`
685
+ # @return [String]
686
+ attr_accessor :security_type
687
+
688
+ # Output only. Server IP addresses of the NFS volume. For NFS 3, you can only
689
+ # provide a single server IP address or DNS names.
690
+ # Corresponds to the JSON property `servers`
691
+ # @return [Array<String>]
692
+ attr_accessor :servers
693
+
694
+ def initialize(**args)
695
+ update!(**args)
696
+ end
697
+
698
+ # Update properties of this object
699
+ def update!(**args)
700
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
701
+ @datastore = args[:datastore] if args.key?(:datastore)
702
+ @datastore_network = args[:datastore_network] if args.key?(:datastore_network)
703
+ @file_share = args[:file_share] if args.key?(:file_share)
704
+ @nfs_version = args[:nfs_version] if args.key?(:nfs_version)
705
+ @security_type = args[:security_type] if args.key?(:security_type)
706
+ @servers = args[:servers] if args.key?(:servers)
707
+ end
708
+ end
709
+
710
+ # The network configuration for the datastore.
711
+ class DatastoreNetwork
712
+ include Google::Apis::Core::Hashable
713
+
714
+ # Optional. The number of connections of the NFS volume. Spported from vsphere 8.
715
+ # 0u1
716
+ # Corresponds to the JSON property `connectionCount`
717
+ # @return [Fixnum]
718
+ attr_accessor :connection_count
719
+
720
+ # Optional. The Maximal Transmission Unit (MTU) of the datastore. System sets
721
+ # default MTU size. It prefers the VPC peering MTU, falling back to the VEN MTU
722
+ # if no peering MTU is found. when detected, and falling back to the VEN MTU
723
+ # otherwise.
724
+ # Corresponds to the JSON property `mtu`
725
+ # @return [Fixnum]
726
+ attr_accessor :mtu
727
+
728
+ # Output only. The resource name of the network peering, used to access the file
729
+ # share by clients on private cloud. Resource names are schemeless URIs that
730
+ # follow the conventions in https://cloud.google.com/apis/design/resource_names.
731
+ # e.g. projects/my-project/locations/us-central1/networkPeerings/my-network-
732
+ # peering
733
+ # Corresponds to the JSON property `networkPeering`
734
+ # @return [String]
735
+ attr_accessor :network_peering
736
+
737
+ # Required. The resource name of the subnet Resource names are schemeless URIs
738
+ # that follow the conventions in https://cloud.google.com/apis/design/
739
+ # resource_names. e.g. projects/my-project/locations/us-central1/subnets/my-
740
+ # subnet
741
+ # Corresponds to the JSON property `subnet`
742
+ # @return [String]
743
+ attr_accessor :subnet
744
+
745
+ def initialize(**args)
746
+ update!(**args)
747
+ end
748
+
749
+ # Update properties of this object
750
+ def update!(**args)
751
+ @connection_count = args[:connection_count] if args.key?(:connection_count)
752
+ @mtu = args[:mtu] if args.key?(:mtu)
753
+ @network_peering = args[:network_peering] if args.key?(:network_peering)
754
+ @subnet = args[:subnet] if args.key?(:subnet)
755
+ end
756
+ end
757
+
569
758
  # DnsBindPermission resource that contains the accounts having the consumer DNS
570
759
  # bind permission on the corresponding intranet VPC of the consumer project.
571
760
  class DnsBindPermission
@@ -946,6 +1135,47 @@ module Google
946
1135
  end
947
1136
  end
948
1137
 
1138
+ # Google service file service configuration
1139
+ class GoogleFileService
1140
+ include Google::Apis::Core::Hashable
1141
+
1142
+ # Google filestore instance resource name e.g. projects/my-project/locations/me-
1143
+ # west1-b/instances/my-instance
1144
+ # Corresponds to the JSON property `filestoreInstance`
1145
+ # @return [String]
1146
+ attr_accessor :filestore_instance
1147
+
1148
+ # Google netapp volume resource name e.g. projects/my-project/locations/me-west1-
1149
+ # b/volumes/my-volume
1150
+ # Corresponds to the JSON property `netappVolume`
1151
+ # @return [String]
1152
+ attr_accessor :netapp_volume
1153
+
1154
+ def initialize(**args)
1155
+ update!(**args)
1156
+ end
1157
+
1158
+ # Update properties of this object
1159
+ def update!(**args)
1160
+ @filestore_instance = args[:filestore_instance] if args.key?(:filestore_instance)
1161
+ @netapp_volume = args[:netapp_volume] if args.key?(:netapp_volume)
1162
+ end
1163
+ end
1164
+
1165
+ # Volume message captures user inputs for creation of file services managed by
1166
+ # GCVE
1167
+ class GoogleVmwareFileService
1168
+ include Google::Apis::Core::Hashable
1169
+
1170
+ def initialize(**args)
1171
+ update!(**args)
1172
+ end
1173
+
1174
+ # Update properties of this object
1175
+ def update!(**args)
1176
+ end
1177
+ end
1178
+
949
1179
  # Request message for VmwareEngine.GrantDnsBindPermission
950
1180
  class GrantDnsBindPermissionRequest
951
1181
  include Google::Apis::Core::Hashable
@@ -1199,6 +1429,38 @@ module Google
1199
1429
  end
1200
1430
  end
1201
1431
 
1432
+ # Response message for VmwareEngine.ListDatastores
1433
+ class ListDatastoresResponse
1434
+ include Google::Apis::Core::Hashable
1435
+
1436
+ # A list of Datastores.
1437
+ # Corresponds to the JSON property `datastores`
1438
+ # @return [Array<Google::Apis::VmwareengineV1::Datastore>]
1439
+ attr_accessor :datastores
1440
+
1441
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1442
+ # field is omitted, there are no subsequent pages.
1443
+ # Corresponds to the JSON property `nextPageToken`
1444
+ # @return [String]
1445
+ attr_accessor :next_page_token
1446
+
1447
+ # Unreachable resources.
1448
+ # Corresponds to the JSON property `unreachable`
1449
+ # @return [Array<String>]
1450
+ attr_accessor :unreachable
1451
+
1452
+ def initialize(**args)
1453
+ update!(**args)
1454
+ end
1455
+
1456
+ # Update properties of this object
1457
+ def update!(**args)
1458
+ @datastores = args[:datastores] if args.key?(:datastores)
1459
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1460
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1461
+ end
1462
+ end
1463
+
1202
1464
  # Response message for VmwareEngine.ListExternalAccessRules
1203
1465
  class ListExternalAccessRulesResponse
1204
1466
  include Google::Apis::Core::Hashable
@@ -1528,8 +1790,9 @@ module Google
1528
1790
  attr_accessor :operations
1529
1791
 
1530
1792
  # 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.
1793
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1794
+ # For example, when attempting to list all resources across all supported
1795
+ # locations.
1533
1796
  # Corresponds to the JSON property `unreachable`
1534
1797
  # @return [Array<String>]
1535
1798
  attr_accessor :unreachable
@@ -2004,6 +2267,43 @@ module Google
2004
2267
  end
2005
2268
  end
2006
2269
 
2270
+ # Mount Datastore Request message
2271
+ class MountDatastoreRequest
2272
+ include Google::Apis::Core::Hashable
2273
+
2274
+ # The Datastore Mount configuration
2275
+ # Corresponds to the JSON property `datastoreMountConfig`
2276
+ # @return [Google::Apis::VmwareengineV1::DatastoreMountConfig]
2277
+ attr_accessor :datastore_mount_config
2278
+
2279
+ # Optional. If set to true, the colocation requirement will be ignored. If set
2280
+ # to false, the colocation requirement will be enforced. If not set, the
2281
+ # colocation requirement will be enforced. Colocation requirement is the
2282
+ # requirement that the cluster must be in the same region/zone of datastore(
2283
+ # regional/zonal datastore).
2284
+ # Corresponds to the JSON property `ignoreColocation`
2285
+ # @return [Boolean]
2286
+ attr_accessor :ignore_colocation
2287
+ alias_method :ignore_colocation?, :ignore_colocation
2288
+
2289
+ # Optional. The request ID must be a valid UUID with the exception that zero
2290
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
2291
+ # Corresponds to the JSON property `requestId`
2292
+ # @return [String]
2293
+ attr_accessor :request_id
2294
+
2295
+ def initialize(**args)
2296
+ update!(**args)
2297
+ end
2298
+
2299
+ # Update properties of this object
2300
+ def update!(**args)
2301
+ @datastore_mount_config = args[:datastore_mount_config] if args.key?(:datastore_mount_config)
2302
+ @ignore_colocation = args[:ignore_colocation] if args.key?(:ignore_colocation)
2303
+ @request_id = args[:request_id] if args.key?(:request_id)
2304
+ end
2305
+ end
2306
+
2007
2307
  # Network configuration in the consumer project with which the peering has to be
2008
2308
  # done.
2009
2309
  class NetworkConfig
@@ -2331,6 +2631,38 @@ module Google
2331
2631
  end
2332
2632
  end
2333
2633
 
2634
+ # The NFS datastore configuration.
2635
+ class NfsDatastore
2636
+ include Google::Apis::Core::Hashable
2637
+
2638
+ # Google service file service configuration
2639
+ # Corresponds to the JSON property `googleFileService`
2640
+ # @return [Google::Apis::VmwareengineV1::GoogleFileService]
2641
+ attr_accessor :google_file_service
2642
+
2643
+ # Volume message captures user inputs for creation of file services managed by
2644
+ # GCVE
2645
+ # Corresponds to the JSON property `googleVmwareFileService`
2646
+ # @return [Google::Apis::VmwareengineV1::GoogleVmwareFileService]
2647
+ attr_accessor :google_vmware_file_service
2648
+
2649
+ # Third party file service configuration
2650
+ # Corresponds to the JSON property `thirdPartyFileService`
2651
+ # @return [Google::Apis::VmwareengineV1::ThirdPartyFileService]
2652
+ attr_accessor :third_party_file_service
2653
+
2654
+ def initialize(**args)
2655
+ update!(**args)
2656
+ end
2657
+
2658
+ # Update properties of this object
2659
+ def update!(**args)
2660
+ @google_file_service = args[:google_file_service] if args.key?(:google_file_service)
2661
+ @google_vmware_file_service = args[:google_vmware_file_service] if args.key?(:google_vmware_file_service)
2662
+ @third_party_file_service = args[:third_party_file_service] if args.key?(:third_party_file_service)
2663
+ end
2664
+ end
2665
+
2334
2666
  # Node in a cluster.
2335
2667
  class Node
2336
2668
  include Google::Apis::Core::Hashable
@@ -3457,6 +3789,40 @@ module Google
3457
3789
  end
3458
3790
  end
3459
3791
 
3792
+ # Third party file service configuration
3793
+ class ThirdPartyFileService
3794
+ include Google::Apis::Core::Hashable
3795
+
3796
+ # Required. Required Mount Folder name
3797
+ # Corresponds to the JSON property `fileShare`
3798
+ # @return [String]
3799
+ attr_accessor :file_share
3800
+
3801
+ # Required. Required to identify vpc peering used for NFS access network name of
3802
+ # NFS's vpc e.g. projects/project-id/global/networks/my-network_id
3803
+ # Corresponds to the JSON property `network`
3804
+ # @return [String]
3805
+ attr_accessor :network
3806
+
3807
+ # Required. Server IP addresses of the NFS file service. NFS v3, provide a
3808
+ # single IP address or DNS name. Multiple servers can be supported in future
3809
+ # when NFS 4.1 protocol support is enabled.
3810
+ # Corresponds to the JSON property `servers`
3811
+ # @return [Array<String>]
3812
+ attr_accessor :servers
3813
+
3814
+ def initialize(**args)
3815
+ update!(**args)
3816
+ end
3817
+
3818
+ # Update properties of this object
3819
+ def update!(**args)
3820
+ @file_share = args[:file_share] if args.key?(:file_share)
3821
+ @network = args[:network] if args.key?(:network)
3822
+ @servers = args[:servers] if args.key?(:servers)
3823
+ end
3824
+ end
3825
+
3460
3826
  # Thresholds define the utilization of resources triggering scale-out and scale-
3461
3827
  # in operations.
3462
3828
  class Thresholds
@@ -3582,6 +3948,35 @@ module Google
3582
3948
  end
3583
3949
  end
3584
3950
 
3951
+ # Unmount Datastore Request messag
3952
+ class UnmountDatastoreRequest
3953
+ include Google::Apis::Core::Hashable
3954
+
3955
+ # Required. The resource name of the datastore to unmount. Resource names are
3956
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
3957
+ # design/resource_names. For example: `projects/my-project/locations/us-central1/
3958
+ # datastores/my-datastore`
3959
+ # Corresponds to the JSON property `datastore`
3960
+ # @return [String]
3961
+ attr_accessor :datastore
3962
+
3963
+ # Optional. The request ID must be a valid UUID with the exception that zero
3964
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
3965
+ # Corresponds to the JSON property `requestId`
3966
+ # @return [String]
3967
+ attr_accessor :request_id
3968
+
3969
+ def initialize(**args)
3970
+ update!(**args)
3971
+ end
3972
+
3973
+ # Update properties of this object
3974
+ def update!(**args)
3975
+ @datastore = args[:datastore] if args.key?(:datastore)
3976
+ @request_id = args[:request_id] if args.key?(:request_id)
3977
+ end
3978
+ end
3979
+
3585
3980
  # Describes Private cloud Upgrade.
3586
3981
  class Upgrade
3587
3982
  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.15.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 = "20251113"
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,46 @@ 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
+ property :security_type, as: 'securityType'
734
+ collection :servers, as: 'servers'
735
+ end
736
+ end
737
+
738
+ class DatastoreNetwork
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :connection_count, as: 'connectionCount'
742
+ property :mtu, as: 'mtu'
743
+ property :network_peering, as: 'networkPeering'
744
+ property :subnet, as: 'subnet'
745
+ end
746
+ end
747
+
646
748
  class DnsBindPermission
647
749
  # @private
648
750
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -731,6 +833,20 @@ module Google
731
833
  end
732
834
  end
733
835
 
836
+ class GoogleFileService
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :filestore_instance, as: 'filestoreInstance'
840
+ property :netapp_volume, as: 'netappVolume'
841
+ end
842
+ end
843
+
844
+ class GoogleVmwareFileService
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ end
848
+ end
849
+
734
850
  class GrantDnsBindPermissionRequest
735
851
  # @private
736
852
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -798,6 +914,16 @@ module Google
798
914
  end
799
915
  end
800
916
 
917
+ class ListDatastoresResponse
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ collection :datastores, as: 'datastores', class: Google::Apis::VmwareengineV1::Datastore, decorator: Google::Apis::VmwareengineV1::Datastore::Representation
921
+
922
+ property :next_page_token, as: 'nextPageToken'
923
+ collection :unreachable, as: 'unreachable'
924
+ end
925
+ end
926
+
801
927
  class ListExternalAccessRulesResponse
802
928
  # @private
803
929
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1031,6 +1157,16 @@ module Google
1031
1157
  end
1032
1158
  end
1033
1159
 
1160
+ class MountDatastoreRequest
1161
+ # @private
1162
+ class Representation < Google::Apis::Core::JsonRepresentation
1163
+ property :datastore_mount_config, as: 'datastoreMountConfig', class: Google::Apis::VmwareengineV1::DatastoreMountConfig, decorator: Google::Apis::VmwareengineV1::DatastoreMountConfig::Representation
1164
+
1165
+ property :ignore_colocation, as: 'ignoreColocation'
1166
+ property :request_id, as: 'requestId'
1167
+ end
1168
+ end
1169
+
1034
1170
  class NetworkConfig
1035
1171
  # @private
1036
1172
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1090,6 +1226,18 @@ module Google
1090
1226
  end
1091
1227
  end
1092
1228
 
1229
+ class NfsDatastore
1230
+ # @private
1231
+ class Representation < Google::Apis::Core::JsonRepresentation
1232
+ property :google_file_service, as: 'googleFileService', class: Google::Apis::VmwareengineV1::GoogleFileService, decorator: Google::Apis::VmwareengineV1::GoogleFileService::Representation
1233
+
1234
+ property :google_vmware_file_service, as: 'googleVmwareFileService', class: Google::Apis::VmwareengineV1::GoogleVmwareFileService, decorator: Google::Apis::VmwareengineV1::GoogleVmwareFileService::Representation
1235
+
1236
+ property :third_party_file_service, as: 'thirdPartyFileService', class: Google::Apis::VmwareengineV1::ThirdPartyFileService, decorator: Google::Apis::VmwareengineV1::ThirdPartyFileService::Representation
1237
+
1238
+ end
1239
+ end
1240
+
1093
1241
  class Node
1094
1242
  # @private
1095
1243
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1336,6 +1484,15 @@ module Google
1336
1484
  end
1337
1485
  end
1338
1486
 
1487
+ class ThirdPartyFileService
1488
+ # @private
1489
+ class Representation < Google::Apis::Core::JsonRepresentation
1490
+ property :file_share, as: 'fileShare'
1491
+ property :network, as: 'network'
1492
+ collection :servers, as: 'servers'
1493
+ end
1494
+ end
1495
+
1339
1496
  class Thresholds
1340
1497
  # @private
1341
1498
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1371,6 +1528,14 @@ module Google
1371
1528
  end
1372
1529
  end
1373
1530
 
1531
+ class UnmountDatastoreRequest
1532
+ # @private
1533
+ class Representation < Google::Apis::Core::JsonRepresentation
1534
+ property :datastore, as: 'datastore'
1535
+ property :request_id, as: 'requestId'
1536
+ end
1537
+ end
1538
+
1374
1539
  class Upgrade
1375
1540
  # @private
1376
1541
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -123,8 +123,8 @@ module Google
123
123
  # @param [String] name
124
124
  # The resource that owns the locations collection, if applicable.
125
125
  # @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.
126
+ # Optional. Do not use this field. It is unsupported and is ignored unless
127
+ # explicitly documented otherwise. This is primarily for internal usage.
128
128
  # @param [String] filter
129
129
  # A filter to narrow down results to a preferred subset. The filtering language
130
130
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -263,6 +263,251 @@ module Google
263
263
  execute_or_queue_command(command, &block)
264
264
  end
265
265
 
266
+ # Creates a new `Datastore` resource in a given project and location. Datastores
267
+ # are regional resources
268
+ # @param [String] parent
269
+ # Required. The resource name of the location to create the new datastore in.
270
+ # Resource names are schemeless URIs that follow the conventions in https://
271
+ # cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
272
+ # locations/us-central1`
273
+ # @param [Google::Apis::VmwareengineV1::Datastore] datastore_object
274
+ # @param [String] datastore_id
275
+ # Required. The user-provided identifier of the datastore to be created. This
276
+ # identifier must be unique among each `Datastore` within the parent and becomes
277
+ # the final token in the name URI. The identifier must meet the following
278
+ # requirements: * Only contains 1-63 alphanumeric characters and hyphens *
279
+ # Begins with an alphabetical character * Ends with a non-hyphen character * Not
280
+ # formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/
281
+ # doc/html/rfc1034) (section 3.5)
282
+ # @param [String] request_id
283
+ # Optional. The request ID must be a valid UUID with the exception that zero
284
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
285
+ # @param [String] fields
286
+ # Selector specifying which fields to include in a partial response.
287
+ # @param [String] quota_user
288
+ # Available to use for quota purposes for server-side applications. Can be any
289
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
290
+ # @param [Google::Apis::RequestOptions] options
291
+ # Request-specific options
292
+ #
293
+ # @yield [result, err] Result & error if block supplied
294
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
295
+ # @yieldparam err [StandardError] error object if request failed
296
+ #
297
+ # @return [Google::Apis::VmwareengineV1::Operation]
298
+ #
299
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
300
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
301
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
302
+ def create_project_location_datastore(parent, datastore_object = nil, datastore_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
303
+ command = make_simple_command(:post, 'v1/{+parent}/datastores', options)
304
+ command.request_representation = Google::Apis::VmwareengineV1::Datastore::Representation
305
+ command.request_object = datastore_object
306
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
307
+ command.response_class = Google::Apis::VmwareengineV1::Operation
308
+ command.params['parent'] = parent unless parent.nil?
309
+ command.query['datastoreId'] = datastore_id unless datastore_id.nil?
310
+ command.query['requestId'] = request_id unless request_id.nil?
311
+ command.query['fields'] = fields unless fields.nil?
312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
313
+ execute_or_queue_command(command, &block)
314
+ end
315
+
316
+ # Deletes a `Datastore` resource. You can only delete a Datastore after all
317
+ # resources that refer to it are deleted. For example, multiple clusters of the
318
+ # same private cloud or different private clouds can refer to the same datastore.
319
+ # @param [String] name
320
+ # Required. The resource name of the Datastore to be deleted. Resource names are
321
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
322
+ # design/resource_names. For example: `projects/my-project/locations/us-central1/
323
+ # datastore/my-datastore`
324
+ # @param [String] etag
325
+ # Optional. Checksum used to ensure that the user-provided value is up to date
326
+ # before the server processes the request. The server compares provided checksum
327
+ # with the current checksum of the resource. If the user-provided value is out
328
+ # of date, this request returns an `ABORTED` error.
329
+ # @param [String] request_id
330
+ # Optional. The request ID must be a valid UUID with the exception that zero
331
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
332
+ # @param [String] fields
333
+ # Selector specifying which fields to include in a partial response.
334
+ # @param [String] quota_user
335
+ # Available to use for quota purposes for server-side applications. Can be any
336
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
337
+ # @param [Google::Apis::RequestOptions] options
338
+ # Request-specific options
339
+ #
340
+ # @yield [result, err] Result & error if block supplied
341
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
342
+ # @yieldparam err [StandardError] error object if request failed
343
+ #
344
+ # @return [Google::Apis::VmwareengineV1::Operation]
345
+ #
346
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
347
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
348
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
349
+ def delete_project_location_datastore(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
350
+ command = make_simple_command(:delete, 'v1/{+name}', options)
351
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
352
+ command.response_class = Google::Apis::VmwareengineV1::Operation
353
+ command.params['name'] = name unless name.nil?
354
+ command.query['etag'] = etag unless etag.nil?
355
+ command.query['requestId'] = request_id unless request_id.nil?
356
+ command.query['fields'] = fields unless fields.nil?
357
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
358
+ execute_or_queue_command(command, &block)
359
+ end
360
+
361
+ # Retrieves a `Datastore` resource by its resource name. The resource contains
362
+ # details of the Datastore, such as its description, subnets, type, and more.
363
+ # @param [String] name
364
+ # Required. The resource name of the Datastore to retrieve. Resource names are
365
+ # schemeless URIs that follow the conventions in https://cloud.google.com/apis/
366
+ # design/resource_names. For example: `projects/my-project/locations/us-central1/
367
+ # datastores/my-datastore`
368
+ # @param [String] fields
369
+ # Selector specifying which fields to include in a partial response.
370
+ # @param [String] quota_user
371
+ # Available to use for quota purposes for server-side applications. Can be any
372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
373
+ # @param [Google::Apis::RequestOptions] options
374
+ # Request-specific options
375
+ #
376
+ # @yield [result, err] Result & error if block supplied
377
+ # @yieldparam result [Google::Apis::VmwareengineV1::Datastore] parsed result object
378
+ # @yieldparam err [StandardError] error object if request failed
379
+ #
380
+ # @return [Google::Apis::VmwareengineV1::Datastore]
381
+ #
382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
385
+ def get_project_location_datastore(name, fields: nil, quota_user: nil, options: nil, &block)
386
+ command = make_simple_command(:get, 'v1/{+name}', options)
387
+ command.response_representation = Google::Apis::VmwareengineV1::Datastore::Representation
388
+ command.response_class = Google::Apis::VmwareengineV1::Datastore
389
+ command.params['name'] = name unless name.nil?
390
+ command.query['fields'] = fields unless fields.nil?
391
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
392
+ execute_or_queue_command(command, &block)
393
+ end
394
+
395
+ # Lists `Datastore` resources in a given project and location.
396
+ # @param [String] parent
397
+ # Required. The resource name of the location to query for Datastores. Resource
398
+ # names are schemeless URIs that follow the conventions in https://cloud.google.
399
+ # com/apis/design/resource_names. For example: `projects/my-project/locations/us-
400
+ # central1`
401
+ # @param [String] filter
402
+ # Optional. A filter expression that matches resources returned in the response.
403
+ # The expression must specify the field name, a comparison operator, and the
404
+ # value that you want to use for filtering. The value must be a string, a number,
405
+ # or a boolean. The comparison operator must be `=`, `!=`, `>`, or `<`. For
406
+ # example, if you are filtering a list of datastores, you can exclude the ones
407
+ # named `example-datastore` by specifying `name != "example-datastore"`. To
408
+ # filter on multiple expressions, provide each separate expression within
409
+ # parentheses. For example: ``` (name = "example-datastore") (createTime > "2021-
410
+ # 04-12T08:15:10.40Z") ``` By default, each expression is an `AND` expression.
411
+ # However, you can include `AND` and `OR` expressions explicitly. For example: ``
412
+ # ` (name = "example-datastore-1") AND (createTime > "2021-04-12T08:15:10.40Z")
413
+ # OR (name = "example-datastore-2") ```
414
+ # @param [String] order_by
415
+ # Optional. Sorts list results by a certain order. By default, returned results
416
+ # are ordered by `name` in ascending order. You can also sort results in
417
+ # descending order based on the `name` value using `orderBy="name desc"`.
418
+ # Currently, only ordering by `name` is supported.
419
+ # @param [Fixnum] page_size
420
+ # Optional. The maximum number of results to return in one page. The maximum
421
+ # value is coerced to 1000. The default value of this field is 500.
422
+ # @param [String] page_token
423
+ # Optional. A page token, received from a previous `ListDatastores` call.
424
+ # Provide this to retrieve the subsequent page. When paginating, all other
425
+ # parameters provided to `ListDatastores` must match the call that provided the
426
+ # page token.
427
+ # @param [String] request_id
428
+ # Optional. The request ID must be a valid UUID with the exception that zero
429
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
430
+ # @param [String] fields
431
+ # Selector specifying which fields to include in a partial response.
432
+ # @param [String] quota_user
433
+ # Available to use for quota purposes for server-side applications. Can be any
434
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
435
+ # @param [Google::Apis::RequestOptions] options
436
+ # Request-specific options
437
+ #
438
+ # @yield [result, err] Result & error if block supplied
439
+ # @yieldparam result [Google::Apis::VmwareengineV1::ListDatastoresResponse] parsed result object
440
+ # @yieldparam err [StandardError] error object if request failed
441
+ #
442
+ # @return [Google::Apis::VmwareengineV1::ListDatastoresResponse]
443
+ #
444
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
445
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
446
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
447
+ 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)
448
+ command = make_simple_command(:get, 'v1/{+parent}/datastores', options)
449
+ command.response_representation = Google::Apis::VmwareengineV1::ListDatastoresResponse::Representation
450
+ command.response_class = Google::Apis::VmwareengineV1::ListDatastoresResponse
451
+ command.params['parent'] = parent unless parent.nil?
452
+ command.query['filter'] = filter unless filter.nil?
453
+ command.query['orderBy'] = order_by unless order_by.nil?
454
+ command.query['pageSize'] = page_size unless page_size.nil?
455
+ command.query['pageToken'] = page_token unless page_token.nil?
456
+ command.query['requestId'] = request_id unless request_id.nil?
457
+ command.query['fields'] = fields unless fields.nil?
458
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
459
+ execute_or_queue_command(command, &block)
460
+ end
461
+
462
+ # Modifies a Datastore resource. Only the following fields can be updated: `
463
+ # description`. Only fields specified in `updateMask` are applied.
464
+ # @param [String] name
465
+ # Output only. Identifier. The resource name of this datastore. Resource names
466
+ # are schemeless URIs that follow the conventions in https://cloud.google.com/
467
+ # apis/design/resource_names. For example: `projects/my-project/locations/us-
468
+ # central1/datastores/datastore`
469
+ # @param [Google::Apis::VmwareengineV1::Datastore] datastore_object
470
+ # @param [String] request_id
471
+ # Optional. The request ID must be a valid UUID with the exception that zero
472
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
473
+ # @param [String] update_mask
474
+ # Optional. Field mask is used to specify the fields to be overwritten in the
475
+ # Datastore resource by the update. The fields specified in the `update_mask`
476
+ # are relative to the resource, not the full request. A field will be
477
+ # overwritten if it is in the mask. If the user does not provide a mask then all
478
+ # fields will be overwritten. Only the following fields can be updated: `
479
+ # description`.
480
+ # @param [String] fields
481
+ # Selector specifying which fields to include in a partial response.
482
+ # @param [String] quota_user
483
+ # Available to use for quota purposes for server-side applications. Can be any
484
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
485
+ # @param [Google::Apis::RequestOptions] options
486
+ # Request-specific options
487
+ #
488
+ # @yield [result, err] Result & error if block supplied
489
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
490
+ # @yieldparam err [StandardError] error object if request failed
491
+ #
492
+ # @return [Google::Apis::VmwareengineV1::Operation]
493
+ #
494
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
495
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
496
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
497
+ def patch_project_location_datastore(name, datastore_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
498
+ command = make_simple_command(:patch, 'v1/{+name}', options)
499
+ command.request_representation = Google::Apis::VmwareengineV1::Datastore::Representation
500
+ command.request_object = datastore_object
501
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
502
+ command.response_class = Google::Apis::VmwareengineV1::Operation
503
+ command.params['name'] = name unless name.nil?
504
+ command.query['requestId'] = request_id unless request_id.nil?
505
+ command.query['updateMask'] = update_mask unless update_mask.nil?
506
+ command.query['fields'] = fields unless fields.nil?
507
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
508
+ execute_or_queue_command(command, &block)
509
+ end
510
+
266
511
  # Grants the bind permission to the customer provided principal(user / service
267
512
  # account) to bind their DNS zone with the intranet VPC associated with the
268
513
  # project. DnsBindPermission is a global resource and location can only be
@@ -1403,11 +1648,12 @@ module Google
1403
1648
  # The standard list page token.
1404
1649
  # @param [Boolean] return_partial_success
1405
1650
  # 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.
1651
+ # those that are unreachable are returned in the ListOperationsResponse.
1652
+ # unreachable field. This can only be `true` when reading across collections.
1653
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1654
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1655
+ # if set unless explicitly documented otherwise in service or product specific
1656
+ # documentation.
1411
1657
  # @param [String] fields
1412
1658
  # Selector specifying which fields to include in a partial response.
1413
1659
  # @param [String] quota_user
@@ -2374,6 +2620,42 @@ module Google
2374
2620
  execute_or_queue_command(command, &block)
2375
2621
  end
2376
2622
 
2623
+ # Mounts a `Datastore` on a cluster resource Datastores are zonal resources
2624
+ # @param [String] name
2625
+ # Required. The resource name of the cluster to mount the datastore. Resource
2626
+ # names are schemeless URIs that follow the conventions in https://cloud.google.
2627
+ # com/apis/design/resource_names. For example: `projects/my-project/locations/us-
2628
+ # central1-a/privateClouds/my-cloud/clusters/my-cluster`
2629
+ # @param [Google::Apis::VmwareengineV1::MountDatastoreRequest] mount_datastore_request_object
2630
+ # @param [String] fields
2631
+ # Selector specifying which fields to include in a partial response.
2632
+ # @param [String] quota_user
2633
+ # Available to use for quota purposes for server-side applications. Can be any
2634
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2635
+ # @param [Google::Apis::RequestOptions] options
2636
+ # Request-specific options
2637
+ #
2638
+ # @yield [result, err] Result & error if block supplied
2639
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
2640
+ # @yieldparam err [StandardError] error object if request failed
2641
+ #
2642
+ # @return [Google::Apis::VmwareengineV1::Operation]
2643
+ #
2644
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2645
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2646
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2647
+ def mount_cluster_datastore(name, mount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2648
+ command = make_simple_command(:post, 'v1/{+name}:mountDatastore', options)
2649
+ command.request_representation = Google::Apis::VmwareengineV1::MountDatastoreRequest::Representation
2650
+ command.request_object = mount_datastore_request_object
2651
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
2652
+ command.response_class = Google::Apis::VmwareengineV1::Operation
2653
+ command.params['name'] = name unless name.nil?
2654
+ command.query['fields'] = fields unless fields.nil?
2655
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2656
+ execute_or_queue_command(command, &block)
2657
+ end
2658
+
2377
2659
  # Modifies a `Cluster` resource. Only fields specified in `updateMask` are
2378
2660
  # applied. During operation processing, the resource is temporarily in the `
2379
2661
  # ACTIVE` state before the operation fully completes. For that period of time,
@@ -2505,6 +2787,42 @@ module Google
2505
2787
  execute_or_queue_command(command, &block)
2506
2788
  end
2507
2789
 
2790
+ # Mounts a `Datastore` on a cluster resource Datastores are zonal resources
2791
+ # @param [String] name
2792
+ # Required. The resource name of the cluster to unmount the datastore. Resource
2793
+ # names are schemeless URIs that follow the conventions in https://cloud.google.
2794
+ # com/apis/design/resource_names. For example: `projects/my-project/locations/us-
2795
+ # central1-a/privateClouds/my-cloud/clusters/my-cluster`
2796
+ # @param [Google::Apis::VmwareengineV1::UnmountDatastoreRequest] unmount_datastore_request_object
2797
+ # @param [String] fields
2798
+ # Selector specifying which fields to include in a partial response.
2799
+ # @param [String] quota_user
2800
+ # Available to use for quota purposes for server-side applications. Can be any
2801
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2802
+ # @param [Google::Apis::RequestOptions] options
2803
+ # Request-specific options
2804
+ #
2805
+ # @yield [result, err] Result & error if block supplied
2806
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
2807
+ # @yieldparam err [StandardError] error object if request failed
2808
+ #
2809
+ # @return [Google::Apis::VmwareengineV1::Operation]
2810
+ #
2811
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2812
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2813
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2814
+ def unmount_cluster_datastore(name, unmount_datastore_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2815
+ command = make_simple_command(:post, 'v1/{+name}:unmountDatastore', options)
2816
+ command.request_representation = Google::Apis::VmwareengineV1::UnmountDatastoreRequest::Representation
2817
+ command.request_object = unmount_datastore_request_object
2818
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
2819
+ command.response_class = Google::Apis::VmwareengineV1::Operation
2820
+ command.params['name'] = name unless name.nil?
2821
+ command.query['fields'] = fields unless fields.nil?
2822
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2823
+ execute_or_queue_command(command, &block)
2824
+ end
2825
+
2508
2826
  # Gets details of a single node.
2509
2827
  # @param [String] name
2510
2828
  # 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.15.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.15.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: