google-cloud-vpc_access-v1 0.2.0 → 0.3.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/vpc_access/v1/version.rb +1 -1
- data/lib/google/cloud/vpc_access/v1/vpc_access_service/client.rb +14 -0
- data/lib/google/cloud/vpcaccess/v1/vpc_access_pb.rb +3 -0
- data/proto_docs/google/cloud/vpcaccess/v1/vpc_access.rb +10 -1
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3f62f40e005455b2a9fbd17d549475deb518585d18195e8419a75441b0c81f4
|
4
|
+
data.tar.gz: 105ccf57f1de73b2ddec98ef1cc6aba3ebdbb3932e9d60ffb48a3fbd609d91be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd8f32039d7fea5393d84bb2f7487e5ac974191ec7592694d03731c56fcef07f7ba09d5b3a60f10dbf052ad9777efa88ecba2457f64028e289658c5dba52d1f8
|
7
|
+
data.tar.gz: d4b170c829f697d60cea1520dacd34973c2c704ba2a65d4c5eba4cd69210214b600a9c23645ccd63761840c0ccd8e0354cea051666cccbe91f865cfeda37d0d1
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/vpcaccess/v1/vpc_access_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -154,6 +155,12 @@ module Google
|
|
154
155
|
config.endpoint = @config.endpoint
|
155
156
|
end
|
156
157
|
|
158
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
159
|
+
config.credentials = credentials
|
160
|
+
config.quota_project = @quota_project_id
|
161
|
+
config.endpoint = @config.endpoint
|
162
|
+
end
|
163
|
+
|
157
164
|
@vpc_access_service_stub = ::Gapic::ServiceStub.new(
|
158
165
|
::Google::Cloud::VpcAccess::V1::VpcAccessService::Stub,
|
159
166
|
credentials: credentials,
|
@@ -170,6 +177,13 @@ module Google
|
|
170
177
|
#
|
171
178
|
attr_reader :operations_client
|
172
179
|
|
180
|
+
##
|
181
|
+
# Get the associated client for mix-in of the Locations.
|
182
|
+
#
|
183
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
184
|
+
#
|
185
|
+
attr_reader :location_client
|
186
|
+
|
173
187
|
# Service calls
|
174
188
|
|
175
189
|
##
|
@@ -21,6 +21,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
21
21
|
optional :max_throughput, :int32, 6
|
22
22
|
repeated :connected_projects, :string, 7
|
23
23
|
optional :subnet, :message, 8, "google.cloud.vpcaccess.v1.Connector.Subnet"
|
24
|
+
optional :machine_type, :string, 10
|
25
|
+
optional :min_instances, :int32, 11
|
26
|
+
optional :max_instances, :int32, 12
|
24
27
|
end
|
25
28
|
add_message "google.cloud.vpcaccess.v1.Connector.Subnet" do
|
26
29
|
optional :name, :string, 1
|
@@ -40,13 +40,22 @@ module Google
|
|
40
40
|
# Minimum throughput of the connector in Mbps. Default and min is 200.
|
41
41
|
# @!attribute [rw] max_throughput
|
42
42
|
# @return [::Integer]
|
43
|
-
# Maximum throughput of the connector in Mbps. Default is
|
43
|
+
# Maximum throughput of the connector in Mbps. Default is 300, max is 1000.
|
44
44
|
# @!attribute [r] connected_projects
|
45
45
|
# @return [::Array<::String>]
|
46
46
|
# Output only. List of projects using the connector.
|
47
47
|
# @!attribute [rw] subnet
|
48
48
|
# @return [::Google::Cloud::VpcAccess::V1::Connector::Subnet]
|
49
49
|
# The subnet in which to house the VPC Access Connector.
|
50
|
+
# @!attribute [rw] machine_type
|
51
|
+
# @return [::String]
|
52
|
+
# Machine type of VM Instance underlying connector. Default is e2-micro
|
53
|
+
# @!attribute [rw] min_instances
|
54
|
+
# @return [::Integer]
|
55
|
+
# Minimum value of instances in autoscaling group underlying the connector.
|
56
|
+
# @!attribute [rw] max_instances
|
57
|
+
# @return [::Integer]
|
58
|
+
# Maximum value of instances in autoscaling group underlying the connector.
|
50
59
|
class Connector
|
51
60
|
include ::Google::Protobuf::MessageExts
|
52
61
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-vpc_access-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,6 +44,26 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: google-style
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|