google-cloud-connectors-v1 0.a → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +141 -8
  5. data/lib/google/cloud/connectors/v1/authconfig_pb.rb +52 -0
  6. data/lib/google/cloud/connectors/v1/bindings_override.rb +159 -0
  7. data/lib/google/cloud/connectors/v1/common_pb.rb +58 -0
  8. data/lib/google/cloud/connectors/v1/connection_pb.rb +84 -0
  9. data/lib/google/cloud/connectors/v1/connector_pb.rb +51 -0
  10. data/lib/google/cloud/connectors/v1/connector_version_pb.rb +63 -0
  11. data/lib/google/cloud/connectors/v1/connectors/client.rb +2189 -0
  12. data/lib/google/cloud/connectors/v1/connectors/credentials.rb +47 -0
  13. data/lib/google/cloud/connectors/v1/connectors/operations.rb +809 -0
  14. data/lib/google/cloud/connectors/v1/connectors/paths.rb +182 -0
  15. data/lib/google/cloud/connectors/v1/connectors/rest/client.rb +2049 -0
  16. data/lib/google/cloud/connectors/v1/connectors/rest/operations.rb +902 -0
  17. data/lib/google/cloud/connectors/v1/connectors/rest/service_stub.rb +1075 -0
  18. data/lib/google/cloud/connectors/v1/connectors/rest.rb +54 -0
  19. data/lib/google/cloud/connectors/v1/connectors.rb +56 -0
  20. data/lib/google/cloud/connectors/v1/connectors_service_pb.rb +53 -0
  21. data/lib/google/cloud/connectors/v1/connectors_service_services_pb.rb +80 -0
  22. data/lib/google/cloud/connectors/v1/destination_config_pb.rb +43 -0
  23. data/lib/google/cloud/connectors/v1/provider_pb.rb +51 -0
  24. data/lib/google/cloud/connectors/v1/rest.rb +38 -0
  25. data/lib/google/cloud/connectors/v1/runtime_pb.rb +47 -0
  26. data/lib/google/cloud/connectors/v1/settings_pb.rb +46 -0
  27. data/lib/google/cloud/connectors/v1/ssl_config_pb.rb +49 -0
  28. data/lib/google/cloud/connectors/v1/version.rb +7 -2
  29. data/lib/google/cloud/connectors/v1.rb +45 -0
  30. data/lib/google-cloud-connectors-v1.rb +21 -0
  31. data/proto_docs/README.md +4 -0
  32. data/proto_docs/google/api/client.rb +420 -0
  33. data/proto_docs/google/api/field_behavior.rb +85 -0
  34. data/proto_docs/google/api/launch_stage.rb +71 -0
  35. data/proto_docs/google/api/resource.rb +227 -0
  36. data/proto_docs/google/cloud/connectors/v1/authconfig.rb +165 -0
  37. data/proto_docs/google/cloud/connectors/v1/common.rb +287 -0
  38. data/proto_docs/google/cloud/connectors/v1/connection.rb +678 -0
  39. data/proto_docs/google/cloud/connectors/v1/connector.rb +119 -0
  40. data/proto_docs/google/cloud/connectors/v1/connector_version.rb +234 -0
  41. data/proto_docs/google/cloud/connectors/v1/destination_config.rb +53 -0
  42. data/proto_docs/google/cloud/connectors/v1/provider.rb +118 -0
  43. data/proto_docs/google/cloud/connectors/v1/runtime.rb +106 -0
  44. data/proto_docs/google/cloud/connectors/v1/settings.rb +51 -0
  45. data/proto_docs/google/cloud/connectors/v1/ssl_config.rb +117 -0
  46. data/proto_docs/google/longrunning/operations.rb +164 -0
  47. data/proto_docs/google/protobuf/any.rb +145 -0
  48. data/proto_docs/google/protobuf/duration.rb +98 -0
  49. data/proto_docs/google/protobuf/empty.rb +34 -0
  50. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  51. data/proto_docs/google/protobuf/struct.rb +96 -0
  52. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  53. data/proto_docs/google/rpc/status.rb +48 -0
  54. data/proto_docs/google/type/expr.rb +75 -0
  55. metadata +136 -10
@@ -0,0 +1,182 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 Connectors
23
+ module V1
24
+ module Connectors
25
+ # Path helper methods for the Connectors API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Connection resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/connections/{connection}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param connection [String]
37
+ #
38
+ # @return [::String]
39
+ def connection_path project:, location:, connection:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/connections/#{connection}"
44
+ end
45
+
46
+ ##
47
+ # Create a fully-qualified ConnectionSchemaMetadata resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ # @param connection [String]
56
+ #
57
+ # @return [::String]
58
+ def connection_schema_metadata_path project:, location:, connection:
59
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
60
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
61
+
62
+ "projects/#{project}/locations/#{location}/connections/#{connection}/connectionSchemaMetadata"
63
+ end
64
+
65
+ ##
66
+ # Create a fully-qualified Connector resource string.
67
+ #
68
+ # The resource will be in the following format:
69
+ #
70
+ # `projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}`
71
+ #
72
+ # @param project [String]
73
+ # @param location [String]
74
+ # @param provider [String]
75
+ # @param connector [String]
76
+ #
77
+ # @return [::String]
78
+ def connector_path project:, location:, provider:, connector:
79
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
80
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
81
+ raise ::ArgumentError, "provider cannot contain /" if provider.to_s.include? "/"
82
+
83
+ "projects/#{project}/locations/#{location}/providers/#{provider}/connectors/#{connector}"
84
+ end
85
+
86
+ ##
87
+ # Create a fully-qualified ConnectorVersion resource string.
88
+ #
89
+ # The resource will be in the following format:
90
+ #
91
+ # `projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}`
92
+ #
93
+ # @param project [String]
94
+ # @param location [String]
95
+ # @param provider [String]
96
+ # @param connector [String]
97
+ # @param version [String]
98
+ #
99
+ # @return [::String]
100
+ def connector_version_path project:, location:, provider:, connector:, version:
101
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
102
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
103
+ raise ::ArgumentError, "provider cannot contain /" if provider.to_s.include? "/"
104
+ raise ::ArgumentError, "connector cannot contain /" if connector.to_s.include? "/"
105
+
106
+ "projects/#{project}/locations/#{location}/providers/#{provider}/connectors/#{connector}/versions/#{version}"
107
+ end
108
+
109
+ ##
110
+ # Create a fully-qualified Location resource string.
111
+ #
112
+ # The resource will be in the following format:
113
+ #
114
+ # `projects/{project}/locations/{location}`
115
+ #
116
+ # @param project [String]
117
+ # @param location [String]
118
+ #
119
+ # @return [::String]
120
+ def location_path project:, location:
121
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
122
+
123
+ "projects/#{project}/locations/#{location}"
124
+ end
125
+
126
+ ##
127
+ # Create a fully-qualified Provider resource string.
128
+ #
129
+ # The resource will be in the following format:
130
+ #
131
+ # `projects/{project}/locations/{location}/providers/{provider}`
132
+ #
133
+ # @param project [String]
134
+ # @param location [String]
135
+ # @param provider [String]
136
+ #
137
+ # @return [::String]
138
+ def provider_path project:, location:, provider:
139
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
140
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
141
+
142
+ "projects/#{project}/locations/#{location}/providers/#{provider}"
143
+ end
144
+
145
+ ##
146
+ # Create a fully-qualified RuntimeConfig resource string.
147
+ #
148
+ # The resource will be in the following format:
149
+ #
150
+ # `projects/{project}/locations/{location}/runtimeConfig`
151
+ #
152
+ # @param project [String]
153
+ # @param location [String]
154
+ #
155
+ # @return [::String]
156
+ def runtime_config_path project:, location:
157
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
158
+
159
+ "projects/#{project}/locations/#{location}/runtimeConfig"
160
+ end
161
+
162
+ ##
163
+ # Create a fully-qualified Settings resource string.
164
+ #
165
+ # The resource will be in the following format:
166
+ #
167
+ # `projects/{project}/locations/global/settings`
168
+ #
169
+ # @param project [String]
170
+ #
171
+ # @return [::String]
172
+ def settings_path project:
173
+ "projects/#{project}/locations/global/settings"
174
+ end
175
+
176
+ extend self
177
+ end
178
+ end
179
+ end
180
+ end
181
+ end
182
+ end