google-cloud-beyond_corp-client_connector_services-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +144 -0
  6. data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/client.rb +919 -0
  7. data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/credentials.rb +49 -0
  8. data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/operations.rb +772 -0
  9. data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service/paths.rb +71 -0
  10. data/lib/google/cloud/beyond_corp/client_connector_services/v1/client_connector_services_service.rb +62 -0
  11. data/lib/google/cloud/beyond_corp/client_connector_services/v1/version.rb +30 -0
  12. data/lib/google/cloud/beyond_corp/client_connector_services/v1.rb +42 -0
  13. data/lib/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_pb.rb +129 -0
  14. data/lib/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service_services_pb.rb +65 -0
  15. data/lib/google-cloud-beyond_corp-client_connector_services-v1.rb +21 -0
  16. data/proto_docs/README.md +4 -0
  17. data/proto_docs/google/api/field_behavior.rb +71 -0
  18. data/proto_docs/google/api/resource.rb +222 -0
  19. data/proto_docs/google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.rb +336 -0
  20. data/proto_docs/google/longrunning/operations.rb +164 -0
  21. data/proto_docs/google/protobuf/any.rb +141 -0
  22. data/proto_docs/google/protobuf/duration.rb +98 -0
  23. data/proto_docs/google/protobuf/empty.rb +34 -0
  24. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  25. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  26. data/proto_docs/google/rpc/status.rb +46 -0
  27. data/proto_docs/google/type/expr.rb +75 -0
  28. metadata +260 -0
@@ -0,0 +1,71 @@
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
@@ -0,0 +1,62 @@
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
+ # To load this service and instantiate a 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
@@ -0,0 +1,30 @@
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
+ VERSION = "0.1.0"
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,42 @@
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
+ # To load this package, including all its services, and instantiate a client:
28
+ #
29
+ # @example
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
@@ -0,0 +1,129 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/longrunning/operations_pb'
11
+ require 'google/protobuf/field_mask_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+
14
+ Google::Protobuf::DescriptorPool.generated_pool.build do
15
+ add_file("google/cloud/beyondcorp/clientconnectorservices/v1/client_connector_services_service.proto", :syntax => :proto3) do
16
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService" do
17
+ optional :name, :string, 1
18
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
19
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
20
+ optional :display_name, :string, 4
21
+ optional :ingress, :message, 6, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress"
22
+ optional :egress, :message, 7, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress"
23
+ optional :state, :enum, 8, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State"
24
+ end
25
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress" do
26
+ oneof :ingress_config do
27
+ optional :config, :message, 1, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config"
28
+ end
29
+ end
30
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config" do
31
+ optional :transport_protocol, :enum, 1, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocol"
32
+ repeated :destination_routes, :message, 2, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute"
33
+ end
34
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute" do
35
+ optional :address, :string, 1
36
+ optional :netmask, :string, 2
37
+ end
38
+ add_enum "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocol" do
39
+ value :TRANSPORT_PROTOCOL_UNSPECIFIED, 0
40
+ value :TCP, 1
41
+ end
42
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress" do
43
+ oneof :destination_type do
44
+ optional :peered_vpc, :message, 1, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpc"
45
+ end
46
+ end
47
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpc" do
48
+ optional :network_vpc, :string, 1
49
+ end
50
+ add_enum "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State" do
51
+ value :STATE_UNSPECIFIED, 0
52
+ value :CREATING, 1
53
+ value :UPDATING, 2
54
+ value :DELETING, 3
55
+ value :RUNNING, 4
56
+ value :DOWN, 5
57
+ value :ERROR, 6
58
+ end
59
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesRequest" do
60
+ optional :parent, :string, 1
61
+ optional :page_size, :int32, 2
62
+ optional :page_token, :string, 3
63
+ optional :filter, :string, 4
64
+ optional :order_by, :string, 5
65
+ end
66
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesResponse" do
67
+ repeated :client_connector_services, :message, 1, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService"
68
+ optional :next_page_token, :string, 2
69
+ repeated :unreachable, :string, 3
70
+ end
71
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.GetClientConnectorServiceRequest" do
72
+ optional :name, :string, 1
73
+ end
74
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.CreateClientConnectorServiceRequest" do
75
+ optional :parent, :string, 1
76
+ optional :client_connector_service_id, :string, 2
77
+ optional :client_connector_service, :message, 3, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService"
78
+ optional :request_id, :string, 4
79
+ optional :validate_only, :bool, 5
80
+ end
81
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.UpdateClientConnectorServiceRequest" do
82
+ optional :update_mask, :message, 1, "google.protobuf.FieldMask"
83
+ optional :client_connector_service, :message, 2, "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService"
84
+ optional :request_id, :string, 3
85
+ optional :validate_only, :bool, 4
86
+ optional :allow_missing, :bool, 5
87
+ end
88
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.DeleteClientConnectorServiceRequest" do
89
+ optional :name, :string, 1
90
+ optional :request_id, :string, 2
91
+ optional :validate_only, :bool, 3
92
+ end
93
+ add_message "google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceOperationMetadata" do
94
+ optional :create_time, :message, 1, "google.protobuf.Timestamp"
95
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
96
+ optional :target, :string, 3
97
+ optional :verb, :string, 4
98
+ optional :status_message, :string, 5
99
+ optional :requested_cancellation, :bool, 6
100
+ optional :api_version, :string, 7
101
+ end
102
+ end
103
+ end
104
+
105
+ module Google
106
+ module Cloud
107
+ module BeyondCorp
108
+ module ClientConnectorServices
109
+ module V1
110
+ ClientConnectorService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService").msgclass
111
+ ClientConnectorService::Ingress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress").msgclass
112
+ ClientConnectorService::Ingress::Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config").msgclass
113
+ ClientConnectorService::Ingress::Config::DestinationRoute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.DestinationRoute").msgclass
114
+ ClientConnectorService::Ingress::Config::TransportProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress.Config.TransportProtocol").enummodule
115
+ ClientConnectorService::Egress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress").msgclass
116
+ ClientConnectorService::Egress::PeeredVpc = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress.PeeredVpc").msgclass
117
+ ClientConnectorService::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State").enummodule
118
+ ListClientConnectorServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesRequest").msgclass
119
+ ListClientConnectorServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ListClientConnectorServicesResponse").msgclass
120
+ GetClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.GetClientConnectorServiceRequest").msgclass
121
+ CreateClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.CreateClientConnectorServiceRequest").msgclass
122
+ UpdateClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.UpdateClientConnectorServiceRequest").msgclass
123
+ DeleteClientConnectorServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.DeleteClientConnectorServiceRequest").msgclass
124
+ ClientConnectorServiceOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorServiceOperationMetadata").msgclass
125
+ end
126
+ end
127
+ end
128
+ end
129
+ end
@@ -0,0 +1,65 @@
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
@@ -0,0 +1,21 @@
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"
@@ -0,0 +1,4 @@
1
+ # BeyondCorp ClientConnectorServices V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.
@@ -0,0 +1,71 @@
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 Api
22
+ # An indicator of the behavior of a given field (for example, that a field
23
+ # is required in requests, or given as output but ignored as input).
24
+ # This **does not** change the behavior in protocol buffers itself; it only
25
+ # denotes the behavior and may affect how API tooling handles the field.
26
+ #
27
+ # Note: This enum **may** receive new values in the future.
28
+ module FieldBehavior
29
+ # Conventional default for enums. Do not use this.
30
+ FIELD_BEHAVIOR_UNSPECIFIED = 0
31
+
32
+ # Specifically denotes a field as optional.
33
+ # While all fields in protocol buffers are optional, this may be specified
34
+ # for emphasis if appropriate.
35
+ OPTIONAL = 1
36
+
37
+ # Denotes a field as required.
38
+ # This indicates that the field **must** be provided as part of the request,
39
+ # and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
40
+ REQUIRED = 2
41
+
42
+ # Denotes a field as output only.
43
+ # This indicates that the field is provided in responses, but including the
44
+ # field in a request does nothing (the server *must* ignore it and
45
+ # *must not* throw an error as a result of the field's presence).
46
+ OUTPUT_ONLY = 3
47
+
48
+ # Denotes a field as input only.
49
+ # This indicates that the field is provided in requests, and the
50
+ # corresponding field is not included in output.
51
+ INPUT_ONLY = 4
52
+
53
+ # Denotes a field as immutable.
54
+ # This indicates that the field may be set once in a request to create a
55
+ # resource, but may not be changed thereafter.
56
+ IMMUTABLE = 5
57
+
58
+ # Denotes that a (repeated) field is an unordered list.
59
+ # This indicates that the service may provide the elements of the list
60
+ # in any arbitrary order, rather than the order the user originally
61
+ # provided. Additionally, the list's order may or may not be stable.
62
+ UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
69
+ end
70
+ end
71
+ end