google-cloud-vmware_engine-v1 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/vmware_engine/v1/version.rb +1 -1
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/client.rb +5394 -1061
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/paths.rb +162 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/client.rb +5039 -956
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/service_stub.rb +2373 -294
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_pb.rb +48 -4
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_resources_pb.rb +26 -1
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_services_pb.rb +119 -5
- data/proto_docs/google/api/field_info.rb +65 -0
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine.rb +1363 -15
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb +666 -1
- metadata +3 -2
@@ -38,9 +38,9 @@ module Google
|
|
38
38
|
# Retrieves a `PrivateCloud` resource by its resource name.
|
39
39
|
rpc :GetPrivateCloud, ::Google::Cloud::VmwareEngine::V1::GetPrivateCloudRequest, ::Google::Cloud::VmwareEngine::V1::PrivateCloud
|
40
40
|
# Creates a new `PrivateCloud` resource in a given project and location.
|
41
|
-
# Private clouds
|
42
|
-
#
|
43
|
-
#
|
41
|
+
# Private clouds of type `STANDARD` and
|
42
|
+
# `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are
|
43
|
+
# regional.
|
44
44
|
# Creating a private cloud also creates a [management
|
45
45
|
# cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components)
|
46
46
|
# for that private cloud.
|
@@ -84,8 +84,7 @@ module Google
|
|
84
84
|
# use in the parent private cloud and requires sufficient [node
|
85
85
|
# quota](https://cloud.google.com/vmware-engine/quotas).
|
86
86
|
rpc :CreateCluster, ::Google::Cloud::VmwareEngine::V1::CreateClusterRequest, ::Google::Longrunning::Operation
|
87
|
-
# Modifies a `Cluster` resource. Only
|
88
|
-
# `node_type_configs.*.node_count`. Only fields specified in `updateMask` are
|
87
|
+
# Modifies a `Cluster` resource. Only fields specified in `updateMask` are
|
89
88
|
# applied.
|
90
89
|
#
|
91
90
|
# During operation processing, the resource is temporarily in the `ACTIVE`
|
@@ -98,6 +97,34 @@ module Google
|
|
98
97
|
# You cannot delete the management cluster of a private cloud using this
|
99
98
|
# method.
|
100
99
|
rpc :DeleteCluster, ::Google::Cloud::VmwareEngine::V1::DeleteClusterRequest, ::Google::Longrunning::Operation
|
100
|
+
# Lists nodes in a given cluster.
|
101
|
+
rpc :ListNodes, ::Google::Cloud::VmwareEngine::V1::ListNodesRequest, ::Google::Cloud::VmwareEngine::V1::ListNodesResponse
|
102
|
+
# Gets details of a single node.
|
103
|
+
rpc :GetNode, ::Google::Cloud::VmwareEngine::V1::GetNodeRequest, ::Google::Cloud::VmwareEngine::V1::Node
|
104
|
+
# Lists external IP addresses assigned to VMware workload VMs in a given
|
105
|
+
# private cloud.
|
106
|
+
rpc :ListExternalAddresses, ::Google::Cloud::VmwareEngine::V1::ListExternalAddressesRequest, ::Google::Cloud::VmwareEngine::V1::ListExternalAddressesResponse
|
107
|
+
# Lists external IP addresses assigned to VMware workload VMs within the
|
108
|
+
# scope of the given network policy.
|
109
|
+
rpc :FetchNetworkPolicyExternalAddresses, ::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesRequest, ::Google::Cloud::VmwareEngine::V1::FetchNetworkPolicyExternalAddressesResponse
|
110
|
+
# Gets details of a single external IP address.
|
111
|
+
rpc :GetExternalAddress, ::Google::Cloud::VmwareEngine::V1::GetExternalAddressRequest, ::Google::Cloud::VmwareEngine::V1::ExternalAddress
|
112
|
+
# Creates a new `ExternalAddress` resource in a given private cloud. The
|
113
|
+
# network policy that corresponds to the private cloud must have the external
|
114
|
+
# IP address network service enabled (`NetworkPolicy.external_ip`).
|
115
|
+
rpc :CreateExternalAddress, ::Google::Cloud::VmwareEngine::V1::CreateExternalAddressRequest, ::Google::Longrunning::Operation
|
116
|
+
# Updates the parameters of a single external IP address.
|
117
|
+
# Only fields specified in `update_mask` are applied.
|
118
|
+
#
|
119
|
+
# During operation processing, the resource is temporarily in the `ACTIVE`
|
120
|
+
# state before the operation fully completes. For that period of time, you
|
121
|
+
# can't update the resource. Use the operation status to determine when the
|
122
|
+
# processing fully completes.
|
123
|
+
rpc :UpdateExternalAddress, ::Google::Cloud::VmwareEngine::V1::UpdateExternalAddressRequest, ::Google::Longrunning::Operation
|
124
|
+
# Deletes a single external IP address. When you delete an external IP
|
125
|
+
# address, connectivity between the external IP address and the corresponding
|
126
|
+
# internal IP address is lost.
|
127
|
+
rpc :DeleteExternalAddress, ::Google::Cloud::VmwareEngine::V1::DeleteExternalAddressRequest, ::Google::Longrunning::Operation
|
101
128
|
# Lists subnets in a given private cloud.
|
102
129
|
rpc :ListSubnets, ::Google::Cloud::VmwareEngine::V1::ListSubnetsRequest, ::Google::Cloud::VmwareEngine::V1::ListSubnetsResponse
|
103
130
|
# Gets details of a single subnet.
|
@@ -109,6 +136,29 @@ module Google
|
|
109
136
|
# `google.longrunning.Operation` (LRO). The returned LRO will only have
|
110
137
|
# `done` and `response` fields.
|
111
138
|
rpc :UpdateSubnet, ::Google::Cloud::VmwareEngine::V1::UpdateSubnetRequest, ::Google::Longrunning::Operation
|
139
|
+
# Lists `ExternalAccessRule` resources in the specified network policy.
|
140
|
+
rpc :ListExternalAccessRules, ::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesRequest, ::Google::Cloud::VmwareEngine::V1::ListExternalAccessRulesResponse
|
141
|
+
# Gets details of a single external access rule.
|
142
|
+
rpc :GetExternalAccessRule, ::Google::Cloud::VmwareEngine::V1::GetExternalAccessRuleRequest, ::Google::Cloud::VmwareEngine::V1::ExternalAccessRule
|
143
|
+
# Creates a new external access rule in a given network policy.
|
144
|
+
rpc :CreateExternalAccessRule, ::Google::Cloud::VmwareEngine::V1::CreateExternalAccessRuleRequest, ::Google::Longrunning::Operation
|
145
|
+
# Updates the parameters of a single external access rule.
|
146
|
+
# Only fields specified in `update_mask` are applied.
|
147
|
+
rpc :UpdateExternalAccessRule, ::Google::Cloud::VmwareEngine::V1::UpdateExternalAccessRuleRequest, ::Google::Longrunning::Operation
|
148
|
+
# Deletes a single external access rule.
|
149
|
+
rpc :DeleteExternalAccessRule, ::Google::Cloud::VmwareEngine::V1::DeleteExternalAccessRuleRequest, ::Google::Longrunning::Operation
|
150
|
+
# Lists logging servers configured for a given private
|
151
|
+
# cloud.
|
152
|
+
rpc :ListLoggingServers, ::Google::Cloud::VmwareEngine::V1::ListLoggingServersRequest, ::Google::Cloud::VmwareEngine::V1::ListLoggingServersResponse
|
153
|
+
# Gets details of a logging server.
|
154
|
+
rpc :GetLoggingServer, ::Google::Cloud::VmwareEngine::V1::GetLoggingServerRequest, ::Google::Cloud::VmwareEngine::V1::LoggingServer
|
155
|
+
# Create a new logging server for a given private cloud.
|
156
|
+
rpc :CreateLoggingServer, ::Google::Cloud::VmwareEngine::V1::CreateLoggingServerRequest, ::Google::Longrunning::Operation
|
157
|
+
# Updates the parameters of a single logging server.
|
158
|
+
# Only fields specified in `update_mask` are applied.
|
159
|
+
rpc :UpdateLoggingServer, ::Google::Cloud::VmwareEngine::V1::UpdateLoggingServerRequest, ::Google::Longrunning::Operation
|
160
|
+
# Deletes a single logging server.
|
161
|
+
rpc :DeleteLoggingServer, ::Google::Cloud::VmwareEngine::V1::DeleteLoggingServerRequest, ::Google::Longrunning::Operation
|
112
162
|
# Lists node types
|
113
163
|
rpc :ListNodeTypes, ::Google::Cloud::VmwareEngine::V1::ListNodeTypesRequest, ::Google::Cloud::VmwareEngine::V1::ListNodeTypesResponse
|
114
164
|
# Gets details of a single `NodeType`.
|
@@ -121,6 +171,35 @@ module Google
|
|
121
171
|
rpc :ResetNsxCredentials, ::Google::Cloud::VmwareEngine::V1::ResetNsxCredentialsRequest, ::Google::Longrunning::Operation
|
122
172
|
# Resets credentials of the Vcenter appliance.
|
123
173
|
rpc :ResetVcenterCredentials, ::Google::Cloud::VmwareEngine::V1::ResetVcenterCredentialsRequest, ::Google::Longrunning::Operation
|
174
|
+
# Gets details of the `DnsForwarding` config.
|
175
|
+
rpc :GetDnsForwarding, ::Google::Cloud::VmwareEngine::V1::GetDnsForwardingRequest, ::Google::Cloud::VmwareEngine::V1::DnsForwarding
|
176
|
+
# Updates the parameters of the `DnsForwarding` config, like associated
|
177
|
+
# domains. Only fields specified in `update_mask` are applied.
|
178
|
+
rpc :UpdateDnsForwarding, ::Google::Cloud::VmwareEngine::V1::UpdateDnsForwardingRequest, ::Google::Longrunning::Operation
|
179
|
+
# Retrieves a `NetworkPeering` resource by its resource name. The resource
|
180
|
+
# contains details of the network peering, such as peered
|
181
|
+
# networks, import and export custom route configurations, and peering state.
|
182
|
+
# NetworkPeering is a global resource and location can only be global.
|
183
|
+
rpc :GetNetworkPeering, ::Google::Cloud::VmwareEngine::V1::GetNetworkPeeringRequest, ::Google::Cloud::VmwareEngine::V1::NetworkPeering
|
184
|
+
# Lists `NetworkPeering` resources in a given project. NetworkPeering is a
|
185
|
+
# global resource and location can only be global.
|
186
|
+
rpc :ListNetworkPeerings, ::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsRequest, ::Google::Cloud::VmwareEngine::V1::ListNetworkPeeringsResponse
|
187
|
+
# Creates a new network peering between the peer network and VMware Engine
|
188
|
+
# network provided in a `NetworkPeering` resource. NetworkPeering is a
|
189
|
+
# global resource and location can only be global.
|
190
|
+
rpc :CreateNetworkPeering, ::Google::Cloud::VmwareEngine::V1::CreateNetworkPeeringRequest, ::Google::Longrunning::Operation
|
191
|
+
# Deletes a `NetworkPeering` resource. When a network peering is deleted for
|
192
|
+
# a VMware Engine network, the peer network becomes inaccessible to that
|
193
|
+
# VMware Engine network. NetworkPeering is a global resource and location can
|
194
|
+
# only be global.
|
195
|
+
rpc :DeleteNetworkPeering, ::Google::Cloud::VmwareEngine::V1::DeleteNetworkPeeringRequest, ::Google::Longrunning::Operation
|
196
|
+
# Modifies a `NetworkPeering` resource. Only the `description` field can be
|
197
|
+
# updated. Only fields specified in `updateMask` are applied. NetworkPeering
|
198
|
+
# is a global resource and location can only be global.
|
199
|
+
rpc :UpdateNetworkPeering, ::Google::Cloud::VmwareEngine::V1::UpdateNetworkPeeringRequest, ::Google::Longrunning::Operation
|
200
|
+
# Lists the network peering routes exchanged over a peering connection.
|
201
|
+
# NetworkPeering is a global resource and location can only be global.
|
202
|
+
rpc :ListPeeringRoutes, ::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesRequest, ::Google::Cloud::VmwareEngine::V1::ListPeeringRoutesResponse
|
124
203
|
# Creates a new HCX activation key in a given private cloud.
|
125
204
|
rpc :CreateHcxActivationKey, ::Google::Cloud::VmwareEngine::V1::CreateHcxActivationKeyRequest, ::Google::Longrunning::Operation
|
126
205
|
# Lists `HcxActivationKey` resources in a given private cloud.
|
@@ -152,6 +231,28 @@ module Google
|
|
152
231
|
# when `NetworkService.state` is set to `RECONCILING` for either its external
|
153
232
|
# IP or internet access service.
|
154
233
|
rpc :DeleteNetworkPolicy, ::Google::Cloud::VmwareEngine::V1::DeleteNetworkPolicyRequest, ::Google::Longrunning::Operation
|
234
|
+
# Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
|
235
|
+
rpc :ListManagementDnsZoneBindings, ::Google::Cloud::VmwareEngine::V1::ListManagementDnsZoneBindingsRequest, ::Google::Cloud::VmwareEngine::V1::ListManagementDnsZoneBindingsResponse
|
236
|
+
# Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
|
237
|
+
rpc :GetManagementDnsZoneBinding, ::Google::Cloud::VmwareEngine::V1::GetManagementDnsZoneBindingRequest, ::Google::Cloud::VmwareEngine::V1::ManagementDnsZoneBinding
|
238
|
+
# Creates a new `ManagementDnsZoneBinding` resource in a private cloud.
|
239
|
+
# This RPC creates the DNS binding and the resource that represents the
|
240
|
+
# DNS binding of the consumer VPC network to the management DNS zone. A
|
241
|
+
# management DNS zone is the Cloud DNS cross-project binding zone that
|
242
|
+
# VMware Engine creates for each private cloud. It contains FQDNs and
|
243
|
+
# corresponding IP addresses for the private cloud's ESXi hosts and
|
244
|
+
# management VM appliances like vCenter and NSX Manager.
|
245
|
+
rpc :CreateManagementDnsZoneBinding, ::Google::Cloud::VmwareEngine::V1::CreateManagementDnsZoneBindingRequest, ::Google::Longrunning::Operation
|
246
|
+
# Updates a `ManagementDnsZoneBinding` resource.
|
247
|
+
# Only fields specified in `update_mask` are applied.
|
248
|
+
rpc :UpdateManagementDnsZoneBinding, ::Google::Cloud::VmwareEngine::V1::UpdateManagementDnsZoneBindingRequest, ::Google::Longrunning::Operation
|
249
|
+
# Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone
|
250
|
+
# binding is deleted, the corresponding consumer VPC network is no longer
|
251
|
+
# bound to the management DNS zone.
|
252
|
+
rpc :DeleteManagementDnsZoneBinding, ::Google::Cloud::VmwareEngine::V1::DeleteManagementDnsZoneBindingRequest, ::Google::Longrunning::Operation
|
253
|
+
# Retries to create a `ManagementDnsZoneBinding` resource that is
|
254
|
+
# in failed state.
|
255
|
+
rpc :RepairManagementDnsZoneBinding, ::Google::Cloud::VmwareEngine::V1::RepairManagementDnsZoneBindingRequest, ::Google::Longrunning::Operation
|
155
256
|
# Creates a new VMware Engine network that can be used by a private cloud.
|
156
257
|
rpc :CreateVmwareEngineNetwork, ::Google::Cloud::VmwareEngine::V1::CreateVmwareEngineNetworkRequest, ::Google::Longrunning::Operation
|
157
258
|
# Modifies a VMware Engine network resource. Only the following fields can be
|
@@ -189,6 +290,19 @@ module Google
|
|
189
290
|
rpc :DeletePrivateConnection, ::Google::Cloud::VmwareEngine::V1::DeletePrivateConnectionRequest, ::Google::Longrunning::Operation
|
190
291
|
# Lists the private connection routes exchanged over a peering connection.
|
191
292
|
rpc :ListPrivateConnectionPeeringRoutes, ::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesRequest, ::Google::Cloud::VmwareEngine::V1::ListPrivateConnectionPeeringRoutesResponse
|
293
|
+
# Grants the bind permission to the customer provided principal(user /
|
294
|
+
# service account) to bind their DNS zone with the intranet VPC associated
|
295
|
+
# with the project. DnsBindPermission is a global resource and location can
|
296
|
+
# only be global.
|
297
|
+
rpc :GrantDnsBindPermission, ::Google::Cloud::VmwareEngine::V1::GrantDnsBindPermissionRequest, ::Google::Longrunning::Operation
|
298
|
+
# Gets all the principals having bind permission on the intranet VPC
|
299
|
+
# associated with the consumer project granted by the Grant API.
|
300
|
+
# DnsBindPermission is a global resource and location can only be global.
|
301
|
+
rpc :GetDnsBindPermission, ::Google::Cloud::VmwareEngine::V1::GetDnsBindPermissionRequest, ::Google::Cloud::VmwareEngine::V1::DnsBindPermission
|
302
|
+
# Revokes the bind permission from the customer provided principal(user /
|
303
|
+
# service account) on the intranet VPC associated with the consumer project.
|
304
|
+
# DnsBindPermission is a global resource and location can only be global.
|
305
|
+
rpc :RevokeDnsBindPermission, ::Google::Cloud::VmwareEngine::V1::RevokeDnsBindPermissionRequest, ::Google::Longrunning::Operation
|
192
306
|
end
|
193
307
|
|
194
308
|
Stub = Service.rpc_stub_class
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# Rich semantic information of an API field beyond basic typing.
|
23
|
+
# @!attribute [rw] format
|
24
|
+
# @return [::Google::Api::FieldInfo::Format]
|
25
|
+
# The standard format of a field value. This does not explicitly configure
|
26
|
+
# any API consumer, just documents the API's format for the field it is
|
27
|
+
# applied to.
|
28
|
+
class FieldInfo
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
|
32
|
+
# The standard format of a field value. The supported formats are all backed
|
33
|
+
# by either an RFC defined by the IETF or a Google-defined AIP.
|
34
|
+
module Format
|
35
|
+
# Default, unspecified value.
|
36
|
+
FORMAT_UNSPECIFIED = 0
|
37
|
+
|
38
|
+
# Universally Unique Identifier, version 4, value as defined by
|
39
|
+
# https://datatracker.ietf.org/doc/html/rfc4122. The value may be
|
40
|
+
# normalized to entirely lowercase letters. For example, the value
|
41
|
+
# `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
|
42
|
+
# `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
|
43
|
+
UUID4 = 1
|
44
|
+
|
45
|
+
# Internet Protocol v4 value as defined by [RFC
|
46
|
+
# 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
|
47
|
+
# condensed, with leading zeros in each octet stripped. For example,
|
48
|
+
# `001.022.233.040` would be condensed to `1.22.233.40`.
|
49
|
+
IPV4 = 2
|
50
|
+
|
51
|
+
# Internet Protocol v6 value as defined by [RFC
|
52
|
+
# 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
|
53
|
+
# normalized to entirely lowercase letters, and zero-padded partial and
|
54
|
+
# empty octets. For example, the value `2001:DB8::` would be normalized to
|
55
|
+
# `2001:0db8:0:0`.
|
56
|
+
IPV6 = 3
|
57
|
+
|
58
|
+
# An IP address in either v4 or v6 format as described by the individual
|
59
|
+
# values defined herein. See the comments on the IPV4 and IPV6 types for
|
60
|
+
# allowed normalizations of each.
|
61
|
+
IPV4_OR_IPV6 = 4
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|