google-cloud-beyond_corp-client_gateways-v1 0.4.0 → 0.4.2

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: 3321643dd0a09fdf5bd4a84b034bcb844e45d0677bb9594a3d0cbf7831db135c
4
- data.tar.gz: f7546ccafad8ce541db6ad9fd436c3a217d3642e85c5b891e0536e418a46f8cf
3
+ metadata.gz: 3b734477ad5c1ccdb552c8e0b1458cf61629f9f961f5668094d52dc893c48afc
4
+ data.tar.gz: 8cad332e12d072dda4b8e9245798bb789cdce0dc2c13f16b50b33d62d9dd882d
5
5
  SHA512:
6
- metadata.gz: 716fac8b03fef7bf9bb9d5148029e470cd55c897da895db3cee2e06e7bc8fc0ccf9db2d2dd982af43fe0f7ff8f6d931ee2cd5e8d35f9c398e9a98eb441bdf796
7
- data.tar.gz: 36ecef869e4cfd1f3fa1109710c47dddde7f419ca8374557e9a0bea28fc18ec1eaff1892ecb804e709a75a73677345e80fffc951761e8e3ed2f4425836082d79
6
+ metadata.gz: d2322c22acb50e526c696fff50de4eee4f75d7e2eb992beece97305724eec57985dd0321f206d387803bbc767fa1a45e913832683416570cce377686a9d78420
7
+ data.tar.gz: 00aaa5f3731ebd9ab57ad590c3214130ca6bb31538d1f258758d48f561385817819a465fc87d47e6dedf1f10b68b4b2d255ce0fc7ebd29f0efdb86c26c79f917
@@ -166,20 +166,6 @@ module Google
166
166
  config.universe_domain = @config.universe_domain
167
167
  end
168
168
 
169
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
170
- config.credentials = credentials
171
- config.quota_project = @quota_project_id
172
- config.endpoint = @config.endpoint
173
- config.universe_domain = @config.universe_domain
174
- end
175
-
176
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
177
- config.credentials = credentials
178
- config.quota_project = @quota_project_id
179
- config.endpoint = @config.endpoint
180
- config.universe_domain = @config.universe_domain
181
- end
182
-
183
169
  @client_gateways_service_stub = ::Gapic::ServiceStub.new(
184
170
  ::Google::Cloud::BeyondCorp::ClientGateways::V1::ClientGatewaysService::Stub,
185
171
  credentials: credentials,
@@ -190,6 +176,20 @@ module Google
190
176
  interceptors: @config.interceptors,
191
177
  channel_pool_config: @config.channel_pool
192
178
  )
179
+
180
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
181
+ config.credentials = credentials
182
+ config.quota_project = @quota_project_id
183
+ config.endpoint = @client_gateways_service_stub.endpoint
184
+ config.universe_domain = @client_gateways_service_stub.universe_domain
185
+ end
186
+
187
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
188
+ config.credentials = credentials
189
+ config.quota_project = @quota_project_id
190
+ config.endpoint = @client_gateways_service_stub.endpoint
191
+ config.universe_domain = @client_gateways_service_stub.universe_domain
192
+ end
193
193
  end
194
194
 
195
195
  ##
@@ -22,7 +22,7 @@ module Google
22
22
  module BeyondCorp
23
23
  module ClientGateways
24
24
  module V1
25
- VERSION = "0.4.0"
25
+ VERSION = "0.4.2"
26
26
  end
27
27
  end
28
28
  end
@@ -12,13 +12,13 @@ require 'google/longrunning/operations_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\nGgoogle/cloud/beyondcorp/clientgateways/v1/client_gateways_service.proto\x12)google.cloud.beyondcorp.clientgateways.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x03\n\rClientGateway\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x05state\x18\x04 \x01(\x0e\x32>.google.cloud.beyondcorp.clientgateways.v1.ClientGateway.StateB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12%\n\x18\x63lient_connector_service\x18\x06 \x01(\tB\x03\xe0\x41\x03\"j\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07RUNNING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\x12\t\n\x05\x45RROR\x10\x06:u\xea\x41r\n\'beyondcorp.googleapis.com/ClientGateway\x12Gprojects/{project}/locations/{location}/clientGateways/{client_gateway}\"\xb9\x01\n\x19ListClientGatewaysRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'beyondcorp.googleapis.com/ClientGateway\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n\x1aListClientGatewaysResponse\x12Q\n\x0f\x63lient_gateways\x18\x01 \x03(\x0b\x32\x38.google.cloud.beyondcorp.clientgateways.v1.ClientGateway\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"X\n\x17GetClientGatewayRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'beyondcorp.googleapis.com/ClientGateway\"\x89\x02\n\x1a\x43reateClientGatewayRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'beyondcorp.googleapis.com/ClientGateway\x12\x1e\n\x11\x63lient_gateway_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12U\n\x0e\x63lient_gateway\x18\x03 \x01(\x0b\x32\x38.google.cloud.beyondcorp.clientgateways.v1.ClientGatewayB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x90\x01\n\x1a\x44\x65leteClientGatewayRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'beyondcorp.googleapis.com/ClientGateway\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x8d\x02\n\x1e\x43lientGatewayOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xc7\x08\n\x15\x43lientGatewaysService\x12\xe6\x01\n\x12ListClientGateways\x12\x44.google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysRequest\x1a\x45.google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse\"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/clientGateways\xda\x41\x06parent\x12\xd3\x01\n\x10GetClientGateway\x12\x42.google.cloud.beyondcorp.clientgateways.v1.GetClientGatewayRequest\x1a\x38.google.cloud.beyondcorp.clientgateways.v1.ClientGateway\"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/clientGateways/*}\xda\x41\x04name\x12\xa4\x02\n\x13\x43reateClientGateway\x12\x45.google.cloud.beyondcorp.clientgateways.v1.CreateClientGatewayRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/clientGateways:\x0e\x63lient_gateway\xda\x41\'parent,client_gateway,client_gateway_id\xca\x41/\n\rClientGateway\x12\x1e\x43lientGatewayOperationMetadata\x12\xf8\x01\n\x13\x44\x65leteClientGateway\x12\x45.google.cloud.beyondcorp.clientgateways.v1.DeleteClientGatewayRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/clientGateways/*}\xda\x41\x04name\xca\x41\x37\n\x15google.protobuf.Empty\x12\x1e\x43lientGatewayOperationMetadata\x1aM\xca\x41\x19\x62\x65yondcorp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xac\x02\n-com.google.cloud.beyondcorp.clientgateways.v1B\x1a\x43lientGatewaysServiceProtoP\x01ZUcloud.google.com/go/beyondcorp/clientgateways/apiv1/clientgatewayspb;clientgatewayspb\xaa\x02)Google.Cloud.BeyondCorp.ClientGateways.V1\xca\x02)Google\\Cloud\\BeyondCorp\\ClientGateways\\V1\xea\x02-Google::Cloud::BeyondCorp::ClientGateways::V1b\x06proto3"
15
+ descriptor_data = "\nGgoogle/cloud/beyondcorp/clientgateways/v1/client_gateways_service.proto\x12)google.cloud.beyondcorp.clientgateways.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x04\n\rClientGateway\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12S\n\x05state\x18\x04 \x01(\x0e\x32>.google.cloud.beyondcorp.clientgateways.v1.ClientGateway.StateB\x04\xe2\x41\x01\x03\x12\x10\n\x02id\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12&\n\x18\x63lient_connector_service\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\"j\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07RUNNING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\x12\t\n\x05\x45RROR\x10\x06:u\xea\x41r\n\'beyondcorp.googleapis.com/ClientGateway\x12Gprojects/{project}/locations/{location}/clientGateways/{client_gateway}\"\xbe\x01\n\x19ListClientGatewaysRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\x12\'beyondcorp.googleapis.com/ClientGateway\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x9d\x01\n\x1aListClientGatewaysResponse\x12Q\n\x0f\x63lient_gateways\x18\x01 \x03(\x0b\x32\x38.google.cloud.beyondcorp.clientgateways.v1.ClientGateway\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x17GetClientGatewayRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'beyondcorp.googleapis.com/ClientGateway\"\x8e\x02\n\x1a\x43reateClientGatewayRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\x12\'beyondcorp.googleapis.com/ClientGateway\x12\x1f\n\x11\x63lient_gateway_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12V\n\x0e\x63lient_gateway\x18\x03 \x01(\x0b\x32\x38.google.cloud.beyondcorp.clientgateways.v1.ClientGatewayB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rvalidate_only\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x93\x01\n\x1a\x44\x65leteClientGatewayRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'beyondcorp.googleapis.com/ClientGateway\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rvalidate_only\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x94\x02\n\x1e\x43lientGatewayOperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x32\xc7\x08\n\x15\x43lientGatewaysService\x12\xe6\x01\n\x12ListClientGateways\x12\x44.google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysRequest\x1a\x45.google.cloud.beyondcorp.clientgateways.v1.ListClientGatewaysResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/clientGateways\x12\xd3\x01\n\x10GetClientGateway\x12\x42.google.cloud.beyondcorp.clientgateways.v1.GetClientGatewayRequest\x1a\x38.google.cloud.beyondcorp.clientgateways.v1.ClientGateway\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/clientGateways/*}\x12\xa4\x02\n\x13\x43reateClientGateway\x12\x45.google.cloud.beyondcorp.clientgateways.v1.CreateClientGatewayRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41/\n\rClientGateway\x12\x1e\x43lientGatewayOperationMetadata\xda\x41\'parent,client_gateway,client_gateway_id\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/clientGateways:\x0e\x63lient_gateway\x12\xf8\x01\n\x13\x44\x65leteClientGateway\x12\x45.google.cloud.beyondcorp.clientgateways.v1.DeleteClientGatewayRequest\x1a\x1d.google.longrunning.Operation\"{\xca\x41\x37\n\x15google.protobuf.Empty\x12\x1e\x43lientGatewayOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/clientGateways/*}\x1aM\xca\x41\x19\x62\x65yondcorp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xac\x02\n-com.google.cloud.beyondcorp.clientgateways.v1B\x1a\x43lientGatewaysServiceProtoP\x01ZUcloud.google.com/go/beyondcorp/clientgateways/apiv1/clientgatewayspb;clientgatewayspb\xaa\x02)Google.Cloud.BeyondCorp.ClientGateways.V1\xca\x02)Google\\Cloud\\BeyondCorp\\ClientGateways\\V1\xea\x02-Google::Cloud::BeyondCorp::ClientGateways::V1b\x06proto3"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
19
19
  begin
20
20
  pool.add_serialized_file(descriptor_data)
21
- rescue TypeError => e
21
+ rescue TypeError
22
22
  # Compatibility code: will be removed in the next major version.
23
23
  require 'google/protobuf/descriptor_pb'
24
24
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -129,7 +129,8 @@ module Google
129
129
  #
130
130
  # Note: this functionality is not currently available in the official
131
131
  # protobuf release, and it is not used for type URLs beginning with
132
- # type.googleapis.com.
132
+ # type.googleapis.com. As of May 2023, there are no widely used type server
133
+ # implementations and no plans to implement one.
133
134
  #
134
135
  # Schemes other than `http`, `https` (or the empty scheme) might be
135
136
  # used with implementation specific semantics.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-beyond_corp-client_gateways-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-11 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common