google-cloud-vmware_engine-v1 0.3.1 → 0.5.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 +1006 -39
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/operations.rb +10 -1
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/paths.rb +40 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/client.rb +1652 -116
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/operations.rb +75 -0
- data/lib/google/cloud/vmware_engine/v1/vmware_engine/rest/service_stub.rb +475 -0
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_pb.rb +12 -1
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_resources_pb.rb +10 -1
- data/lib/google/cloud/vmwareengine/v1/vmwareengine_services_pb.rb +28 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine.rb +274 -0
- data/proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb +227 -0
- metadata +5 -5
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|
@@ -157,6 +157,46 @@ module Google
|
|
157
157
|
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}"
|
158
158
|
end
|
159
159
|
|
160
|
+
##
|
161
|
+
# Create a fully-qualified PrivateConnection resource string.
|
162
|
+
#
|
163
|
+
# The resource will be in the following format:
|
164
|
+
#
|
165
|
+
# `projects/{project}/locations/{location}/privateConnections/{private_connection}`
|
166
|
+
#
|
167
|
+
# @param project [String]
|
168
|
+
# @param location [String]
|
169
|
+
# @param private_connection [String]
|
170
|
+
#
|
171
|
+
# @return [::String]
|
172
|
+
def private_connection_path project:, location:, private_connection:
|
173
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
174
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
175
|
+
|
176
|
+
"projects/#{project}/locations/#{location}/privateConnections/#{private_connection}"
|
177
|
+
end
|
178
|
+
|
179
|
+
##
|
180
|
+
# Create a fully-qualified Subnet resource string.
|
181
|
+
#
|
182
|
+
# The resource will be in the following format:
|
183
|
+
#
|
184
|
+
# `projects/{project}/locations/{location}/privateClouds/{private_cloud}/subnets/{subnet}`
|
185
|
+
#
|
186
|
+
# @param project [String]
|
187
|
+
# @param location [String]
|
188
|
+
# @param private_cloud [String]
|
189
|
+
# @param subnet [String]
|
190
|
+
#
|
191
|
+
# @return [::String]
|
192
|
+
def subnet_path project:, location:, private_cloud:, subnet:
|
193
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
194
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
195
|
+
raise ::ArgumentError, "private_cloud cannot contain /" if private_cloud.to_s.include? "/"
|
196
|
+
|
197
|
+
"projects/#{project}/locations/#{location}/privateClouds/#{private_cloud}/subnets/#{subnet}"
|
198
|
+
end
|
199
|
+
|
160
200
|
##
|
161
201
|
# Create a fully-qualified VmwareEngineNetwork resource string.
|
162
202
|
#
|