google-cloud-vmware_engine-v1 0.6.1 → 0.7.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 +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
@@ -45,6 +45,84 @@ module Google
|
|
45
45
|
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}/clusters/#{cluster}"
|
46
46
|
end
|
47
47
|
|
48
|
+
##
|
49
|
+
# Create a fully-qualified DnsBindPermission resource string.
|
50
|
+
#
|
51
|
+
# The resource will be in the following format:
|
52
|
+
#
|
53
|
+
# `projects/{project}/locations/{location}/dnsBindPermission`
|
54
|
+
#
|
55
|
+
# @param project [String]
|
56
|
+
# @param location [String]
|
57
|
+
#
|
58
|
+
# @return [::String]
|
59
|
+
def dns_bind_permission_path project:, location:
|
60
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
61
|
+
|
62
|
+
"projects/#{project}/locations/#{location}/dnsBindPermission"
|
63
|
+
end
|
64
|
+
|
65
|
+
##
|
66
|
+
# Create a fully-qualified DnsForwarding resource string.
|
67
|
+
#
|
68
|
+
# The resource will be in the following format:
|
69
|
+
#
|
70
|
+
# `projects/{project}/locations/{location}/privateClouds/{private_cloud}/dnsForwarding`
|
71
|
+
#
|
72
|
+
# @param project [String]
|
73
|
+
# @param location [String]
|
74
|
+
# @param private_cloud [String]
|
75
|
+
#
|
76
|
+
# @return [::String]
|
77
|
+
def dns_forwarding_path project:, location:, private_cloud:
|
78
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
79
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
80
|
+
|
81
|
+
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}/dnsForwarding"
|
82
|
+
end
|
83
|
+
|
84
|
+
##
|
85
|
+
# Create a fully-qualified ExternalAccessRule resource string.
|
86
|
+
#
|
87
|
+
# The resource will be in the following format:
|
88
|
+
#
|
89
|
+
# `projects/{project}/locations/{location}/networkPolicies/{network_policy}/externalAccessRules/{external_access_rule}`
|
90
|
+
#
|
91
|
+
# @param project [String]
|
92
|
+
# @param location [String]
|
93
|
+
# @param network_policy [String]
|
94
|
+
# @param external_access_rule [String]
|
95
|
+
#
|
96
|
+
# @return [::String]
|
97
|
+
def external_access_rule_path project:, location:, network_policy:, external_access_rule:
|
98
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
99
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
100
|
+
raise ::ArgumentError, "network_policy cannot contain /" if network_policy.to_s.include? "/"
|
101
|
+
|
102
|
+
"projects/#{project}/locations/#{location}/networkPolicies/#{network_policy}/externalAccessRules/#{external_access_rule}"
|
103
|
+
end
|
104
|
+
|
105
|
+
##
|
106
|
+
# Create a fully-qualified ExternalAddress resource string.
|
107
|
+
#
|
108
|
+
# The resource will be in the following format:
|
109
|
+
#
|
110
|
+
# `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`
|
111
|
+
#
|
112
|
+
# @param project [String]
|
113
|
+
# @param location [String]
|
114
|
+
# @param private_cloud [String]
|
115
|
+
# @param external_address [String]
|
116
|
+
#
|
117
|
+
# @return [::String]
|
118
|
+
def external_address_path project:, location:, private_cloud:, external_address:
|
119
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
120
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
121
|
+
raise ::ArgumentError, "private_cloud cannot contain /" if private_cloud.to_s.include? "/"
|
122
|
+
|
123
|
+
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}/externalAddresses/#{external_address}"
|
124
|
+
end
|
125
|
+
|
48
126
|
##
|
49
127
|
# Create a fully-qualified HcxActivationKey resource string.
|
50
128
|
#
|
@@ -83,6 +161,48 @@ module Google
|
|
83
161
|
"projects/#{project}/locations/#{location}"
|
84
162
|
end
|
85
163
|
|
164
|
+
##
|
165
|
+
# Create a fully-qualified LoggingServer resource string.
|
166
|
+
#
|
167
|
+
# The resource will be in the following format:
|
168
|
+
#
|
169
|
+
# `projects/{project}/locations/{location}/privateClouds/{private_cloud}/loggingServers/{logging_server}`
|
170
|
+
#
|
171
|
+
# @param project [String]
|
172
|
+
# @param location [String]
|
173
|
+
# @param private_cloud [String]
|
174
|
+
# @param logging_server [String]
|
175
|
+
#
|
176
|
+
# @return [::String]
|
177
|
+
def logging_server_path project:, location:, private_cloud:, logging_server:
|
178
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
179
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
180
|
+
raise ::ArgumentError, "private_cloud cannot contain /" if private_cloud.to_s.include? "/"
|
181
|
+
|
182
|
+
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}/loggingServers/#{logging_server}"
|
183
|
+
end
|
184
|
+
|
185
|
+
##
|
186
|
+
# Create a fully-qualified ManagementDnsZoneBinding resource string.
|
187
|
+
#
|
188
|
+
# The resource will be in the following format:
|
189
|
+
#
|
190
|
+
# `projects/{project}/locations/{location}/privateClouds/{private_cloud}/managementDnsZoneBindings/{management_dns_zone_binding}`
|
191
|
+
#
|
192
|
+
# @param project [String]
|
193
|
+
# @param location [String]
|
194
|
+
# @param private_cloud [String]
|
195
|
+
# @param management_dns_zone_binding [String]
|
196
|
+
#
|
197
|
+
# @return [::String]
|
198
|
+
def management_dns_zone_binding_path project:, location:, private_cloud:, management_dns_zone_binding:
|
199
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
200
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
201
|
+
raise ::ArgumentError, "private_cloud cannot contain /" if private_cloud.to_s.include? "/"
|
202
|
+
|
203
|
+
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}/managementDnsZoneBindings/#{management_dns_zone_binding}"
|
204
|
+
end
|
205
|
+
|
86
206
|
##
|
87
207
|
# Create a fully-qualified Network resource string.
|
88
208
|
#
|
@@ -100,6 +220,25 @@ module Google
|
|
100
220
|
"projects/#{project}/global/networks/#{network}"
|
101
221
|
end
|
102
222
|
|
223
|
+
##
|
224
|
+
# Create a fully-qualified NetworkPeering resource string.
|
225
|
+
#
|
226
|
+
# The resource will be in the following format:
|
227
|
+
#
|
228
|
+
# `projects/{project}/locations/{location}/networkPeerings/{network_peering}`
|
229
|
+
#
|
230
|
+
# @param project [String]
|
231
|
+
# @param location [String]
|
232
|
+
# @param network_peering [String]
|
233
|
+
#
|
234
|
+
# @return [::String]
|
235
|
+
def network_peering_path project:, location:, network_peering:
|
236
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
237
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
238
|
+
|
239
|
+
"projects/#{project}/locations/#{location}/networkPeerings/#{network_peering}"
|
240
|
+
end
|
241
|
+
|
103
242
|
##
|
104
243
|
# Create a fully-qualified NetworkPolicy resource string.
|
105
244
|
#
|
@@ -119,6 +258,29 @@ module Google
|
|
119
258
|
"projects/#{project}/locations/#{location}/networkPolicies/#{network_policy}"
|
120
259
|
end
|
121
260
|
|
261
|
+
##
|
262
|
+
# Create a fully-qualified Node resource string.
|
263
|
+
#
|
264
|
+
# The resource will be in the following format:
|
265
|
+
#
|
266
|
+
# `projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}`
|
267
|
+
#
|
268
|
+
# @param project [String]
|
269
|
+
# @param location [String]
|
270
|
+
# @param private_cloud [String]
|
271
|
+
# @param cluster [String]
|
272
|
+
# @param node [String]
|
273
|
+
#
|
274
|
+
# @return [::String]
|
275
|
+
def node_path project:, location:, private_cloud:, cluster:, node:
|
276
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
277
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
278
|
+
raise ::ArgumentError, "private_cloud cannot contain /" if private_cloud.to_s.include? "/"
|
279
|
+
raise ::ArgumentError, "cluster cannot contain /" if cluster.to_s.include? "/"
|
280
|
+
|
281
|
+
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}/clusters/#{cluster}/nodes/#{node}"
|
282
|
+
end
|
283
|
+
|
122
284
|
##
|
123
285
|
# Create a fully-qualified NodeType resource string.
|
124
286
|
#
|