google-cloud-beyond_corp-client_connector_services-v1 0.4.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -143
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/version.rb +3 -8
- metadata +15 -226
- data/.yardopts +0 -12
- data/AUTHENTICATION.md +0 -122
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/client.rb +0 -954
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/credentials.rb +0 -49
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/operations.rb +0 -803
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/paths.rb +0 -71
- data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service.rb +0 -62
- data/lib/google/cloud/beyond_corp/client_connector_services/v1.rb +0 -42
- data/lib/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_pb.rb +0 -68
- data/lib/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_services_pb.rb +0 -65
- data/lib/google-cloud-beyond_corp-client_connector_services-v1.rb +0 -21
- data/proto_docs/README.md +0 -4
- data/proto_docs/google/api/client.rb +0 -395
- data/proto_docs/google/api/field_behavior.rb +0 -85
- data/proto_docs/google/api/launch_stage.rb +0 -71
- data/proto_docs/google/api/resource.rb +0 -222
- data/proto_docs/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.rb +0 -336
- data/proto_docs/google/longrunning/operations.rb +0 -164
- data/proto_docs/google/protobuf/any.rb +0 -145
- data/proto_docs/google/protobuf/duration.rb +0 -98
- data/proto_docs/google/protobuf/empty.rb +0 -34
- data/proto_docs/google/protobuf/field_mask.rb +0 -229
- data/proto_docs/google/protobuf/timestamp.rb +0 -127
- data/proto_docs/google/rpc/status.rb +0 -48
- data/proto_docs/google/type/expr.rb +0 -75
@@ -1,71 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2022 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 Cloud
|
22
|
-
module BeyondCorp
|
23
|
-
module ClientConnectorServices
|
24
|
-
module V1
|
25
|
-
module ClientConnectorServicesService
|
26
|
-
# Path helper methods for the ClientConnectorServicesService API.
|
27
|
-
module Paths
|
28
|
-
##
|
29
|
-
# Create a fully-qualified ClientConnectorService resource string.
|
30
|
-
#
|
31
|
-
# The resource will be in the following format:
|
32
|
-
#
|
33
|
-
# `projects/{project}/locations/{location}/clientConnectorServices/{client_connector_service}`
|
34
|
-
#
|
35
|
-
# @param project [String]
|
36
|
-
# @param location [String]
|
37
|
-
# @param client_connector_service [String]
|
38
|
-
#
|
39
|
-
# @return [::String]
|
40
|
-
def client_connector_service_path project:, location:, client_connector_service:
|
41
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
42
|
-
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
43
|
-
|
44
|
-
"projects/#{project}/locations/#{location}/clientConnectorServices/#{client_connector_service}"
|
45
|
-
end
|
46
|
-
|
47
|
-
##
|
48
|
-
# Create a fully-qualified Location resource string.
|
49
|
-
#
|
50
|
-
# The resource will be in the following format:
|
51
|
-
#
|
52
|
-
# `projects/{project}/locations/{location}`
|
53
|
-
#
|
54
|
-
# @param project [String]
|
55
|
-
# @param location [String]
|
56
|
-
#
|
57
|
-
# @return [::String]
|
58
|
-
def location_path project:, location:
|
59
|
-
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
60
|
-
|
61
|
-
"projects/#{project}/locations/#{location}"
|
62
|
-
end
|
63
|
-
|
64
|
-
extend self
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service.rb
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2022 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
|
-
require "gapic/common"
|
20
|
-
require "gapic/config"
|
21
|
-
require "gapic/config/method"
|
22
|
-
|
23
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/version"
|
24
|
-
|
25
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/credentials"
|
26
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/paths"
|
27
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/operations"
|
28
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/client"
|
29
|
-
|
30
|
-
module Google
|
31
|
-
module Cloud
|
32
|
-
module BeyondCorp
|
33
|
-
module ClientConnectorServices
|
34
|
-
module V1
|
35
|
-
##
|
36
|
-
# API Overview:
|
37
|
-
#
|
38
|
-
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
39
|
-
# BeyondCorp API.
|
40
|
-
#
|
41
|
-
# Data Model:
|
42
|
-
#
|
43
|
-
# The ClientConnectorServicesService exposes the following resources:
|
44
|
-
#
|
45
|
-
# * Client Connector Services, named as follows:
|
46
|
-
# `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
|
47
|
-
#
|
48
|
-
# @example Load this service and instantiate a gRPC client
|
49
|
-
#
|
50
|
-
# require "google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service"
|
51
|
-
# client = ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorServicesService::Client.new
|
52
|
-
#
|
53
|
-
module ClientConnectorServicesService
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
helper_path = ::File.join __dir__, "client_connector_services_service", "helpers.rb"
|
62
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/helpers" if ::File.file? helper_path
|
@@ -1,42 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2022 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
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service"
|
20
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/version"
|
21
|
-
|
22
|
-
module Google
|
23
|
-
module Cloud
|
24
|
-
module BeyondCorp
|
25
|
-
module ClientConnectorServices
|
26
|
-
##
|
27
|
-
# API client module.
|
28
|
-
#
|
29
|
-
# @example Load this package, including all its services, and instantiate a gRPC client
|
30
|
-
#
|
31
|
-
# require "google/cloud/beyond_corp/client_connector_services/v1"
|
32
|
-
# client = ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorServicesService::Client.new
|
33
|
-
#
|
34
|
-
module V1
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
helper_path = ::File.join __dir__, "v1", "_helpers.rb"
|
42
|
-
require "google/cloud/beyond_corp/client_connector_services/v1/_helpers" if ::File.file? helper_path
|
data/lib/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_pb.rb
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
|
-
require 'google/longrunning/operations_pb'
|
12
|
-
require 'google/protobuf/field_mask_pb'
|
13
|
-
require 'google/protobuf/timestamp_pb'
|
14
|
-
|
15
|
-
|
16
|
-
descriptor_data = "\nZgoogle/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto\x12\x32google.cloud.beyondcorp.clientconnectorservices.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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe6\x0b\n\x16\x43lientConnectorService\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\x12\x1a\n\x0c\x64isplay_name\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12i\n\x07ingress\x18\x06 \x01(\x0b\x32R.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.IngressB\x04\xe2\x41\x01\x02\x12g\n\x06\x65gress\x18\x07 \x01(\x0b\x32Q.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.EgressB\x04\xe2\x41\x01\x02\x12\x65\n\x05state\x18\x08 \x01(\x0e\x32P.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.StateB\x04\xe2\x41\x01\x03\x1a\xb7\x04\n\x07Ingress\x12k\n\x06\x63onfig\x18\x01 \x01(\x0b\x32Y.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.ConfigH\x00\x1a\xac\x03\n\x06\x43onfig\x12\x8e\x01\n\x12transport_protocol\x18\x01 \x01(\x0e\x32k.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocolB\x05\xe2\x41\x02\x02\x05\x12\x8c\x01\n\x12\x64\x65stination_routes\x18\x02 \x03(\x0b\x32j.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRouteB\x04\xe2\x41\x01\x02\x1a@\n\x10\x44\x65stinationRoute\x12\x15\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\x07netmask\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"@\n\x11TransportProtocol\x12\"\n\x1eTRANSPORT_PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03TCP\x10\x01\x42\x10\n\x0eingress_config\x1a\xb7\x01\n\x06\x45gress\x12q\n\npeered_vpc\x18\x01 \x01(\x0b\x32[.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpcH\x00\x1a&\n\tPeeredVpc\x12\x19\n\x0bnetwork_vpc\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x42\x12\n\x10\x64\x65stination_type\"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:\x92\x01\xea\x41\x8e\x01\n0beyondcorp.googleapis.com/ClientConnectorService\x12Zprojects/{project}/locations/{location}/clientConnectorServices/{client_connector_service}\"\xd0\x01\n\"ListClientConnectorServicesRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\x12\x30\x62\x65yondcorp.googleapis.com/ClientConnectorService\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\"\xc2\x01\n#ListClientConnectorServicesResponse\x12m\n\x19\x63lient_connector_services\x18\x01 \x03(\x0b\x32J.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"k\n GetClientConnectorServiceRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0beyondcorp.googleapis.com/ClientConnectorService\"\xc6\x02\n#CreateClientConnectorServiceRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\x12\x30\x62\x65yondcorp.googleapis.com/ClientConnectorService\x12)\n\x1b\x63lient_connector_service_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12r\n\x18\x63lient_connector_service\x18\x03 \x01(\x0b\x32J.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceB\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\"\xa4\x02\n#UpdateClientConnectorServiceRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12r\n\x18\x63lient_connector_service\x18\x02 \x01(\x0b\x32J.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x1b\n\rallow_missing\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xa5\x01\n#DeleteClientConnectorServiceRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe2\x41\x01\x02\xfa\x41\x32\n0beyondcorp.googleapis.com/ClientConnectorService\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\"\x9d\x02\n\'ClientConnectorServiceOperationMetadata\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\xbb\r\n\x1e\x43lientConnectorServicesService\x12\x9c\x02\n\x1bListClientConnectorServices\x12V.google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesRequest\x1aW.google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*}/clientConnectorServices\x12\x89\x02\n\x19GetClientConnectorService\x12T.google.cloud.beyondcorp.clientconnectorservices.v1.GetClientConnectorServiceRequest\x1aJ.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/clientConnectorServices/*}\x12\xf8\x02\n\x1c\x43reateClientConnectorService\x12W.google.cloud.beyondcorp.clientconnectorservices.v1.CreateClientConnectorServiceRequest\x1a\x1d.google.longrunning.Operation\"\xdf\x01\xca\x41\x41\n\x16\x43lientConnectorService\x12\'ClientConnectorServiceOperationMetadata\xda\x41;parent,client_connector_service,client_connector_service_id\x82\xd3\xe4\x93\x02W\";/v1/{parent=projects/*/locations/*}/clientConnectorServices:\x18\x63lient_connector_service\x12\xfa\x02\n\x1cUpdateClientConnectorService\x12W.google.cloud.beyondcorp.clientconnectorservices.v1.UpdateClientConnectorServiceRequest\x1a\x1d.google.longrunning.Operation\"\xe1\x01\xca\x41\x41\n\x16\x43lientConnectorService\x12\'ClientConnectorServiceOperationMetadata\xda\x41$client_connector_service,update_mask\x82\xd3\xe4\x93\x02p2T/v1/{client_connector_service.name=projects/*/locations/*/clientConnectorServices/*}:\x18\x63lient_connector_service\x12\xa6\x02\n\x1c\x44\x65leteClientConnectorService\x12W.google.cloud.beyondcorp.clientconnectorservices.v1.DeleteClientConnectorServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41@\n\x15google.protobuf.Empty\x12\'ClientConnectorServiceOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/clientConnectorServices/*}\x1aM\xca\x41\x19\x62\x65yondcorp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf4\x02\n6com.google.cloud.beyondcorp.clientconnectorservices.v1B#ClientConnectorServicesServiceProtoP\x01Zpcloud.google.com/go/beyondcorp/clientconnectorservices/apiv1/clientconnectorservicespb;clientconnectorservicespb\xaa\x02\x32Google.Cloud.BeyondCorp.ClientConnectorServices.V1\xca\x02\x32Google\\Cloud\\BeyondCorp\\ClientConnectorServices\\V1\xea\x02\x36Google::Cloud::BeyondCorp::ClientConnectorServices::V1b\x06proto3"
|
17
|
-
|
18
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
-
|
20
|
-
begin
|
21
|
-
pool.add_serialized_file(descriptor_data)
|
22
|
-
rescue TypeError
|
23
|
-
# Compatibility code: will be removed in the next major version.
|
24
|
-
require 'google/protobuf/descriptor_pb'
|
25
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
-
parsed.clear_dependency
|
27
|
-
serialized = parsed.class.encode(parsed)
|
28
|
-
file = pool.add_serialized_file(serialized)
|
29
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
-
imports = [
|
31
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
32
|
-
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
33
|
-
]
|
34
|
-
imports.each do |type_name, expected_filename|
|
35
|
-
import_file = pool.lookup(type_name).file_descriptor
|
36
|
-
if import_file.name != expected_filename
|
37
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
38
|
-
end
|
39
|
-
end
|
40
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
-
warn "This will become an error in the next major version."
|
42
|
-
end
|
43
|
-
|
44
|
-
module Google
|
45
|
-
module Cloud
|
46
|
-
module BeyondCorp
|
47
|
-
module ClientConnectorServices
|
48
|
-
module V1
|
49
|
-
ClientConnectorService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService").msgclass
|
50
|
-
ClientConnectorService::Ingress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress").msgclass
|
51
|
-
ClientConnectorService::Ingress::Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config").msgclass
|
52
|
-
ClientConnectorService::Ingress::Config::DestinationRoute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute").msgclass
|
53
|
-
ClientConnectorService::Ingress::Config::TransportProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocol").enummodule
|
54
|
-
ClientConnectorService::Egress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress").msgclass
|
55
|
-
ClientConnectorService::Egress::PeeredVpc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpc").msgclass
|
56
|
-
ClientConnectorService::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State").enummodule
|
57
|
-
ListClientConnectorServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesRequest").msgclass
|
58
|
-
ListClientConnectorServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesResponse").msgclass
|
59
|
-
GetClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.GetClientConnectorServiceRequest").msgclass
|
60
|
-
CreateClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.CreateClientConnectorServiceRequest").msgclass
|
61
|
-
UpdateClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.UpdateClientConnectorServiceRequest").msgclass
|
62
|
-
DeleteClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.DeleteClientConnectorServiceRequest").msgclass
|
63
|
-
ClientConnectorServiceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceOperationMetadata").msgclass
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
end
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto for package 'Google.Cloud.BeyondCorp.ClientConnectorServices.V1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2022 Google LLC
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
require 'grpc'
|
20
|
-
require 'google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_pb'
|
21
|
-
|
22
|
-
module Google
|
23
|
-
module Cloud
|
24
|
-
module BeyondCorp
|
25
|
-
module ClientConnectorServices
|
26
|
-
module V1
|
27
|
-
module ClientConnectorServicesService
|
28
|
-
# API Overview:
|
29
|
-
#
|
30
|
-
# The `beyondcorp.googleapis.com` service implements the Google Cloud
|
31
|
-
# BeyondCorp API.
|
32
|
-
#
|
33
|
-
# Data Model:
|
34
|
-
#
|
35
|
-
# The ClientConnectorServicesService exposes the following resources:
|
36
|
-
#
|
37
|
-
# * Client Connector Services, named as follows:
|
38
|
-
# `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
|
39
|
-
class Service
|
40
|
-
|
41
|
-
include ::GRPC::GenericService
|
42
|
-
|
43
|
-
self.marshal_class_method = :encode
|
44
|
-
self.unmarshal_class_method = :decode
|
45
|
-
self.service_name = 'google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServicesService'
|
46
|
-
|
47
|
-
# Lists ClientConnectorServices in a given project and location.
|
48
|
-
rpc :ListClientConnectorServices, ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ListClientConnectorServicesRequest, ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ListClientConnectorServicesResponse
|
49
|
-
# Gets details of a single ClientConnectorService.
|
50
|
-
rpc :GetClientConnectorService, ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::GetClientConnectorServiceRequest, ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::ClientConnectorService
|
51
|
-
# Creates a new ClientConnectorService in a given project and location.
|
52
|
-
rpc :CreateClientConnectorService, ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::CreateClientConnectorServiceRequest, ::Google::Longrunning::Operation
|
53
|
-
# Updates the parameters of a single ClientConnectorService.
|
54
|
-
rpc :UpdateClientConnectorService, ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::UpdateClientConnectorServiceRequest, ::Google::Longrunning::Operation
|
55
|
-
# Deletes a single ClientConnectorService.
|
56
|
-
rpc :DeleteClientConnectorService, ::Google::Cloud::BeyondCorp::ClientConnectorServices::V1::DeleteClientConnectorServiceRequest, ::Google::Longrunning::Operation
|
57
|
-
end
|
58
|
-
|
59
|
-
Stub = Service.rpc_stub_class
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2022 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
|
-
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
-
# issue explicit require statements for the packages desired, e.g.:
|
21
|
-
# require "google/cloud/beyond_corp/client_connector_services/v1"
|
data/proto_docs/README.md
DELETED