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.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +141 -8
- data/lib/google/cloud/connectors/v1/authconfig_pb.rb +52 -0
- data/lib/google/cloud/connectors/v1/bindings_override.rb +159 -0
- data/lib/google/cloud/connectors/v1/common_pb.rb +58 -0
- data/lib/google/cloud/connectors/v1/connection_pb.rb +84 -0
- data/lib/google/cloud/connectors/v1/connector_pb.rb +51 -0
- data/lib/google/cloud/connectors/v1/connector_version_pb.rb +63 -0
- data/lib/google/cloud/connectors/v1/connectors/client.rb +2189 -0
- data/lib/google/cloud/connectors/v1/connectors/credentials.rb +47 -0
- data/lib/google/cloud/connectors/v1/connectors/operations.rb +809 -0
- data/lib/google/cloud/connectors/v1/connectors/paths.rb +182 -0
- data/lib/google/cloud/connectors/v1/connectors/rest/client.rb +2049 -0
- data/lib/google/cloud/connectors/v1/connectors/rest/operations.rb +902 -0
- data/lib/google/cloud/connectors/v1/connectors/rest/service_stub.rb +1075 -0
- data/lib/google/cloud/connectors/v1/connectors/rest.rb +54 -0
- data/lib/google/cloud/connectors/v1/connectors.rb +56 -0
- data/lib/google/cloud/connectors/v1/connectors_service_pb.rb +53 -0
- data/lib/google/cloud/connectors/v1/connectors_service_services_pb.rb +80 -0
- data/lib/google/cloud/connectors/v1/destination_config_pb.rb +43 -0
- data/lib/google/cloud/connectors/v1/provider_pb.rb +51 -0
- data/lib/google/cloud/connectors/v1/rest.rb +38 -0
- data/lib/google/cloud/connectors/v1/runtime_pb.rb +47 -0
- data/lib/google/cloud/connectors/v1/settings_pb.rb +46 -0
- data/lib/google/cloud/connectors/v1/ssl_config_pb.rb +49 -0
- data/lib/google/cloud/connectors/v1/version.rb +7 -2
- data/lib/google/cloud/connectors/v1.rb +45 -0
- data/lib/google-cloud-connectors-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +420 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/connectors/v1/authconfig.rb +165 -0
- data/proto_docs/google/cloud/connectors/v1/common.rb +287 -0
- data/proto_docs/google/cloud/connectors/v1/connection.rb +678 -0
- data/proto_docs/google/cloud/connectors/v1/connector.rb +119 -0
- data/proto_docs/google/cloud/connectors/v1/connector_version.rb +234 -0
- data/proto_docs/google/cloud/connectors/v1/destination_config.rb +53 -0
- data/proto_docs/google/cloud/connectors/v1/provider.rb +118 -0
- data/proto_docs/google/cloud/connectors/v1/runtime.rb +106 -0
- data/proto_docs/google/cloud/connectors/v1/settings.rb +51 -0
- data/proto_docs/google/cloud/connectors/v1/ssl_config.rb +117 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +136 -10
@@ -0,0 +1,119 @@
|
|
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
|
+
# Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. Resource name of the Connector.
|
28
|
+
# Format:
|
29
|
+
# projects/\\{project}/locations/\\{location}/providers/\\{provider}/connectors/\\{connector}
|
30
|
+
# Only global location is supported for Connector resource.
|
31
|
+
# @!attribute [r] create_time
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
33
|
+
# Output only. Created time.
|
34
|
+
# @!attribute [r] update_time
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
36
|
+
# Output only. Updated time.
|
37
|
+
# @!attribute [r] labels
|
38
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
39
|
+
# Output only. Resource labels to represent user-provided metadata.
|
40
|
+
# Refer to cloud documentation on labels for more details.
|
41
|
+
# https://cloud.google.com/compute/docs/labeling-resources
|
42
|
+
# @!attribute [r] documentation_uri
|
43
|
+
# @return [::String]
|
44
|
+
# Output only. Link to documentation page.
|
45
|
+
# @!attribute [r] external_uri
|
46
|
+
# @return [::String]
|
47
|
+
# Output only. Link to external page.
|
48
|
+
# @!attribute [r] description
|
49
|
+
# @return [::String]
|
50
|
+
# Output only. Description of the resource.
|
51
|
+
# @!attribute [r] web_assets_location
|
52
|
+
# @return [::String]
|
53
|
+
# Output only. Cloud storage location of icons etc consumed by UI.
|
54
|
+
# @!attribute [r] display_name
|
55
|
+
# @return [::String]
|
56
|
+
# Output only. Display name.
|
57
|
+
# @!attribute [r] launch_stage
|
58
|
+
# @return [::Google::Cloud::Connectors::V1::LaunchStage]
|
59
|
+
# Output only. Flag to mark the version indicating the launch stage.
|
60
|
+
class Connector
|
61
|
+
include ::Google::Protobuf::MessageExts
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
|
64
|
+
# @!attribute [rw] key
|
65
|
+
# @return [::String]
|
66
|
+
# @!attribute [rw] value
|
67
|
+
# @return [::String]
|
68
|
+
class LabelsEntry
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# Request message for Connectors.GetConnector.
|
75
|
+
# @!attribute [rw] name
|
76
|
+
# @return [::String]
|
77
|
+
# Required. Resource name of the form:
|
78
|
+
# `projects/*/locations/*/providers/*/connectors/*`
|
79
|
+
# Only global location is supported for Connector resource.
|
80
|
+
class GetConnectorRequest
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# Request message for Connectors.ListConnectors.
|
86
|
+
# @!attribute [rw] parent
|
87
|
+
# @return [::String]
|
88
|
+
# Required. Parent resource of the connectors, of the form:
|
89
|
+
# `projects/*/locations/*/providers/*`
|
90
|
+
# Only global location is supported for Connector resource.
|
91
|
+
# @!attribute [rw] page_size
|
92
|
+
# @return [::Integer]
|
93
|
+
# Page size.
|
94
|
+
# @!attribute [rw] page_token
|
95
|
+
# @return [::String]
|
96
|
+
# Page token.
|
97
|
+
class ListConnectorsRequest
|
98
|
+
include ::Google::Protobuf::MessageExts
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
100
|
+
end
|
101
|
+
|
102
|
+
# Response message for Connectors.ListConnectors.
|
103
|
+
# @!attribute [rw] connectors
|
104
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::Connector>]
|
105
|
+
# A list of connectors.
|
106
|
+
# @!attribute [rw] next_page_token
|
107
|
+
# @return [::String]
|
108
|
+
# Next page token.
|
109
|
+
# @!attribute [rw] unreachable
|
110
|
+
# @return [::Array<::String>]
|
111
|
+
# Locations that could not be reached.
|
112
|
+
class ListConnectorsResponse
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
@@ -0,0 +1,234 @@
|
|
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
|
+
# ConnectorVersion indicates a specific version of a connector.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. Resource name of the Version.
|
28
|
+
# Format:
|
29
|
+
# projects/\\{project}/locations/\\{location}/providers/\\{provider}/connectors/\\{connector}/versions/\\{version}
|
30
|
+
# Only global location is supported for Connector resource.
|
31
|
+
# @!attribute [r] create_time
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
33
|
+
# Output only. Created time.
|
34
|
+
# @!attribute [r] update_time
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
36
|
+
# Output only. Updated time.
|
37
|
+
# @!attribute [r] labels
|
38
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
39
|
+
# Output only. Resource labels to represent user-provided metadata.
|
40
|
+
# Refer to cloud documentation on labels for more details.
|
41
|
+
# https://cloud.google.com/compute/docs/labeling-resources
|
42
|
+
# @!attribute [r] launch_stage
|
43
|
+
# @return [::Google::Cloud::Connectors::V1::LaunchStage]
|
44
|
+
# Output only. Flag to mark the version indicating the launch stage.
|
45
|
+
# @!attribute [r] release_version
|
46
|
+
# @return [::String]
|
47
|
+
# Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha".
|
48
|
+
# @!attribute [r] auth_config_templates
|
49
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::AuthConfigTemplate>]
|
50
|
+
# Output only. List of auth configs supported by the Connector Version.
|
51
|
+
# @!attribute [r] config_variable_templates
|
52
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::ConfigVariableTemplate>]
|
53
|
+
# Output only. List of config variables needed to create a connection.
|
54
|
+
# @!attribute [r] supported_runtime_features
|
55
|
+
# @return [::Google::Cloud::Connectors::V1::SupportedRuntimeFeatures]
|
56
|
+
# Output only. Information about the runtime features supported by the
|
57
|
+
# Connector.
|
58
|
+
# @!attribute [r] display_name
|
59
|
+
# @return [::String]
|
60
|
+
# Output only. Display name.
|
61
|
+
# @!attribute [r] egress_control_config
|
62
|
+
# @return [::Google::Cloud::Connectors::V1::EgressControlConfig]
|
63
|
+
# Output only. Configuration for Egress Control.
|
64
|
+
# @!attribute [r] role_grants
|
65
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::RoleGrant>]
|
66
|
+
# Output only. Role grant configurations for this connector version.
|
67
|
+
# @!attribute [r] role_grant
|
68
|
+
# @return [::Google::Cloud::Connectors::V1::RoleGrant]
|
69
|
+
# Output only. Role grant configuration for this config variable. It will be
|
70
|
+
# DEPRECATED soon.
|
71
|
+
# @!attribute [r] ssl_config_template
|
72
|
+
# @return [::Google::Cloud::Connectors::V1::SslConfigTemplate]
|
73
|
+
# Output only. Ssl configuration supported by the Connector.
|
74
|
+
class ConnectorVersion
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
|
78
|
+
# @!attribute [rw] key
|
79
|
+
# @return [::String]
|
80
|
+
# @!attribute [rw] value
|
81
|
+
# @return [::String]
|
82
|
+
class LabelsEntry
|
83
|
+
include ::Google::Protobuf::MessageExts
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# Request message for Connectors.GetConnectorVersion.
|
89
|
+
# @!attribute [rw] name
|
90
|
+
# @return [::String]
|
91
|
+
# Required. Resource name of the form:
|
92
|
+
# `projects/*/locations/*/providers/*/connectors/*/versions/*`
|
93
|
+
# Only global location is supported for ConnectorVersion resource.
|
94
|
+
# @!attribute [rw] view
|
95
|
+
# @return [::Google::Cloud::Connectors::V1::ConnectorVersionView]
|
96
|
+
# Specifies which fields of the ConnectorVersion are returned in the
|
97
|
+
# response. Defaults to `CUSTOMER` view.
|
98
|
+
class GetConnectorVersionRequest
|
99
|
+
include ::Google::Protobuf::MessageExts
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
|
+
end
|
102
|
+
|
103
|
+
# Request message for Connectors.ListConnectorVersions.
|
104
|
+
# @!attribute [rw] parent
|
105
|
+
# @return [::String]
|
106
|
+
# Required. Parent resource of the connectors, of the form:
|
107
|
+
# `projects/*/locations/*/providers/*/connectors/*`
|
108
|
+
# Only global location is supported for ConnectorVersion resource.
|
109
|
+
# @!attribute [rw] page_size
|
110
|
+
# @return [::Integer]
|
111
|
+
# Page size.
|
112
|
+
# @!attribute [rw] page_token
|
113
|
+
# @return [::String]
|
114
|
+
# Page token.
|
115
|
+
# @!attribute [rw] view
|
116
|
+
# @return [::Google::Cloud::Connectors::V1::ConnectorVersionView]
|
117
|
+
# Specifies which fields of the ConnectorVersion are returned in the
|
118
|
+
# response. Defaults to `BASIC` view.
|
119
|
+
class ListConnectorVersionsRequest
|
120
|
+
include ::Google::Protobuf::MessageExts
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
122
|
+
end
|
123
|
+
|
124
|
+
# Response message for Connectors.ListConnectorVersions.
|
125
|
+
# @!attribute [rw] connector_versions
|
126
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::ConnectorVersion>]
|
127
|
+
# A list of connector versions.
|
128
|
+
# @!attribute [rw] next_page_token
|
129
|
+
# @return [::String]
|
130
|
+
# Next page token.
|
131
|
+
# @!attribute [rw] unreachable
|
132
|
+
# @return [::Array<::String>]
|
133
|
+
# Locations that could not be reached.
|
134
|
+
class ListConnectorVersionsResponse
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
|
+
end
|
138
|
+
|
139
|
+
# Supported runtime features of a connector version. This is passed to the
|
140
|
+
# management layer to add a new connector version by the connector developer.
|
141
|
+
# Details about how this proto is passed to the management layer is covered in
|
142
|
+
# this doc - go/runtime-manifest.
|
143
|
+
# @!attribute [rw] entity_apis
|
144
|
+
# @return [::Boolean]
|
145
|
+
# Specifies if the connector supports entity apis like 'createEntity'.
|
146
|
+
# @!attribute [rw] action_apis
|
147
|
+
# @return [::Boolean]
|
148
|
+
# Specifies if the connector supports action apis like 'executeAction'.
|
149
|
+
# @!attribute [rw] sql_query
|
150
|
+
# @return [::Boolean]
|
151
|
+
# Specifies if the connector supports 'ExecuteSqlQuery' operation.
|
152
|
+
class SupportedRuntimeFeatures
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
|
+
end
|
156
|
+
|
157
|
+
# Egress control config for connector runtime. These configurations define the
|
158
|
+
# rules to identify which outbound domains/hosts needs to be whitelisted. It
|
159
|
+
# may be a static information for a particular connector version or it is
|
160
|
+
# derived from the configurations provided by the customer in Connection
|
161
|
+
# resource.
|
162
|
+
# @!attribute [rw] backends
|
163
|
+
# @return [::String]
|
164
|
+
# Static Comma separated backends which are common for all Connection
|
165
|
+
# resources. Supported formats for each backend are host:port or just
|
166
|
+
# host (host can be ip address or domain name).
|
167
|
+
# @!attribute [rw] extraction_rules
|
168
|
+
# @return [::Google::Cloud::Connectors::V1::ExtractionRules]
|
169
|
+
# Extractions Rules to extract the backends from customer provided
|
170
|
+
# configuration.
|
171
|
+
class EgressControlConfig
|
172
|
+
include ::Google::Protobuf::MessageExts
|
173
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
174
|
+
end
|
175
|
+
|
176
|
+
# Extraction Rules to identity the backends from customer provided
|
177
|
+
# configuration in Connection resource.
|
178
|
+
# @!attribute [rw] extraction_rule
|
179
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::ExtractionRule>]
|
180
|
+
# Collection of Extraction Rule.
|
181
|
+
class ExtractionRules
|
182
|
+
include ::Google::Protobuf::MessageExts
|
183
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
184
|
+
end
|
185
|
+
|
186
|
+
# Extraction Rule.
|
187
|
+
# @!attribute [rw] source
|
188
|
+
# @return [::Google::Cloud::Connectors::V1::ExtractionRule::Source]
|
189
|
+
# Source on which the rule is applied.
|
190
|
+
# @!attribute [rw] extraction_regex
|
191
|
+
# @return [::String]
|
192
|
+
# Regex used to extract backend details from source. If empty, whole source
|
193
|
+
# value will be used.
|
194
|
+
class ExtractionRule
|
195
|
+
include ::Google::Protobuf::MessageExts
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
|
+
|
198
|
+
# Source to extract the backend from.
|
199
|
+
# @!attribute [rw] source_type
|
200
|
+
# @return [::Google::Cloud::Connectors::V1::ExtractionRule::SourceType]
|
201
|
+
# Type of the source.
|
202
|
+
# @!attribute [rw] field_id
|
203
|
+
# @return [::String]
|
204
|
+
# Field identifier. For example config vaiable name.
|
205
|
+
class Source
|
206
|
+
include ::Google::Protobuf::MessageExts
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
end
|
209
|
+
|
210
|
+
# Supported Source types for extraction.
|
211
|
+
module SourceType
|
212
|
+
# Default SOURCE.
|
213
|
+
SOURCE_TYPE_UNSPECIFIED = 0
|
214
|
+
|
215
|
+
# Config Variable source type.
|
216
|
+
CONFIG_VARIABLE = 1
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# Enum to control which fields should be included in the response.
|
221
|
+
module ConnectorVersionView
|
222
|
+
# CONNECTOR_VERSION_VIEW_UNSPECIFIED.
|
223
|
+
CONNECTOR_VERSION_VIEW_UNSPECIFIED = 0
|
224
|
+
|
225
|
+
# Do not include role grant configs.
|
226
|
+
CONNECTOR_VERSION_VIEW_BASIC = 1
|
227
|
+
|
228
|
+
# Include role grant configs.
|
229
|
+
CONNECTOR_VERSION_VIEW_FULL = 2
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
@@ -0,0 +1,53 @@
|
|
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
|
+
# Define the Connectors target endpoint.
|
25
|
+
# @!attribute [rw] key
|
26
|
+
# @return [::String]
|
27
|
+
# The key is the destination identifier that is supported by the Connector.
|
28
|
+
# @!attribute [rw] destinations
|
29
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::Destination>]
|
30
|
+
# The destinations for the key.
|
31
|
+
class DestinationConfig
|
32
|
+
include ::Google::Protobuf::MessageExts
|
33
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
34
|
+
end
|
35
|
+
|
36
|
+
# @!attribute [rw] service_attachment
|
37
|
+
# @return [::String]
|
38
|
+
# PSC service attachments.
|
39
|
+
# Format: projects/*/regions/*/serviceAttachments/*
|
40
|
+
# @!attribute [rw] host
|
41
|
+
# @return [::String]
|
42
|
+
# For publicly routable host.
|
43
|
+
# @!attribute [rw] port
|
44
|
+
# @return [::Integer]
|
45
|
+
# The port is the target port number that is accepted by the destination.
|
46
|
+
class Destination
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,118 @@
|
|
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
|
+
# Provider indicates the owner who provides the connectors.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. Resource name of the Provider.
|
28
|
+
# Format: projects/\\{project}/locations/\\{location}/providers/\\{provider}
|
29
|
+
# Only global location is supported for Provider resource.
|
30
|
+
# @!attribute [r] create_time
|
31
|
+
# @return [::Google::Protobuf::Timestamp]
|
32
|
+
# Output only. Created time.
|
33
|
+
# @!attribute [r] update_time
|
34
|
+
# @return [::Google::Protobuf::Timestamp]
|
35
|
+
# Output only. Updated time.
|
36
|
+
# @!attribute [r] labels
|
37
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
38
|
+
# Output only. Resource labels to represent user-provided metadata.
|
39
|
+
# Refer to cloud documentation on labels for more details.
|
40
|
+
# https://cloud.google.com/compute/docs/labeling-resources
|
41
|
+
# @!attribute [r] documentation_uri
|
42
|
+
# @return [::String]
|
43
|
+
# Output only. Link to documentation page.
|
44
|
+
# @!attribute [r] external_uri
|
45
|
+
# @return [::String]
|
46
|
+
# Output only. Link to external page.
|
47
|
+
# @!attribute [r] description
|
48
|
+
# @return [::String]
|
49
|
+
# Output only. Description of the resource.
|
50
|
+
# @!attribute [r] web_assets_location
|
51
|
+
# @return [::String]
|
52
|
+
# Output only. Cloud storage location of icons etc consumed by UI.
|
53
|
+
# @!attribute [r] display_name
|
54
|
+
# @return [::String]
|
55
|
+
# Output only. Display name.
|
56
|
+
# @!attribute [r] launch_stage
|
57
|
+
# @return [::Google::Cloud::Connectors::V1::LaunchStage]
|
58
|
+
# Output only. Flag to mark the version indicating the launch stage.
|
59
|
+
class Provider
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
|
63
|
+
# @!attribute [rw] key
|
64
|
+
# @return [::String]
|
65
|
+
# @!attribute [rw] value
|
66
|
+
# @return [::String]
|
67
|
+
class LabelsEntry
|
68
|
+
include ::Google::Protobuf::MessageExts
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Request message for Connectors.GetProvider.
|
74
|
+
# @!attribute [rw] name
|
75
|
+
# @return [::String]
|
76
|
+
# Required. Resource name of the form:
|
77
|
+
# `projects/*/locations/*/providers/*`
|
78
|
+
# Only global location is supported for Provider resource.
|
79
|
+
class GetProviderRequest
|
80
|
+
include ::Google::Protobuf::MessageExts
|
81
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
82
|
+
end
|
83
|
+
|
84
|
+
# Request message for Connectors.ListProviders.
|
85
|
+
# @!attribute [rw] parent
|
86
|
+
# @return [::String]
|
87
|
+
# Required. Parent resource of the API, of the form:
|
88
|
+
# `projects/*/locations/*`
|
89
|
+
# Only global location is supported for Provider resource.
|
90
|
+
# @!attribute [rw] page_size
|
91
|
+
# @return [::Integer]
|
92
|
+
# Page size.
|
93
|
+
# @!attribute [rw] page_token
|
94
|
+
# @return [::String]
|
95
|
+
# Page token.
|
96
|
+
class ListProvidersRequest
|
97
|
+
include ::Google::Protobuf::MessageExts
|
98
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
99
|
+
end
|
100
|
+
|
101
|
+
# Response message for Connectors.ListProviders.
|
102
|
+
# @!attribute [rw] providers
|
103
|
+
# @return [::Array<::Google::Cloud::Connectors::V1::Provider>]
|
104
|
+
# A list of providers.
|
105
|
+
# @!attribute [rw] next_page_token
|
106
|
+
# @return [::String]
|
107
|
+
# Next page token.
|
108
|
+
# @!attribute [rw] unreachable
|
109
|
+
# @return [::Array<::String>]
|
110
|
+
# Locations that could not be reached.
|
111
|
+
class ListProvidersResponse
|
112
|
+
include ::Google::Protobuf::MessageExts
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
@@ -0,0 +1,106 @@
|
|
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
|
+
# Request message for Connectors.GetRuntimeConfig.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Resource name of the form:
|
28
|
+
# `projects/*/locations/*/runtimeConfig`
|
29
|
+
class GetRuntimeConfigRequest
|
30
|
+
include ::Google::Protobuf::MessageExts
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
32
|
+
end
|
33
|
+
|
34
|
+
# RuntimeConfig is the singleton resource of each location.
|
35
|
+
# It includes generic resource configs consumed by control plane and runtime
|
36
|
+
# plane like: pub/sub topic/subscription resource name, Cloud Storage location
|
37
|
+
# storing schema etc.
|
38
|
+
# @!attribute [r] location_id
|
39
|
+
# @return [::String]
|
40
|
+
# Output only. location_id of the runtime location. E.g. "us-west1".
|
41
|
+
# @!attribute [r] connd_topic
|
42
|
+
# @return [::String]
|
43
|
+
# Output only. Pub/Sub topic for connd to send message.
|
44
|
+
# E.g. projects/\\{project-id}/topics/\\{topic-id}
|
45
|
+
# @!attribute [r] connd_subscription
|
46
|
+
# @return [::String]
|
47
|
+
# Output only. Pub/Sub subscription for connd to receive message.
|
48
|
+
# E.g. projects/\\{project-id}/subscriptions/\\{topic-id}
|
49
|
+
# @!attribute [r] control_plane_topic
|
50
|
+
# @return [::String]
|
51
|
+
# Output only. Pub/Sub topic for control plne to send message.
|
52
|
+
# communication.
|
53
|
+
# E.g. projects/\\{project-id}/topics/\\{topic-id}
|
54
|
+
# @!attribute [r] control_plane_subscription
|
55
|
+
# @return [::String]
|
56
|
+
# Output only. Pub/Sub subscription for control plane to receive message.
|
57
|
+
# E.g. projects/\\{project-id}/subscriptions/\\{topic-id}
|
58
|
+
# @!attribute [r] runtime_endpoint
|
59
|
+
# @return [::String]
|
60
|
+
# Output only. The endpoint of the connectors runtime ingress.
|
61
|
+
# @!attribute [r] state
|
62
|
+
# @return [::Google::Cloud::Connectors::V1::RuntimeConfig::State]
|
63
|
+
# Output only. The state of the location.
|
64
|
+
# @!attribute [r] schema_gcs_bucket
|
65
|
+
# @return [::String]
|
66
|
+
# Output only. The Cloud Storage bucket that stores connector's schema
|
67
|
+
# reports.
|
68
|
+
# @!attribute [r] service_directory
|
69
|
+
# @return [::String]
|
70
|
+
# Output only. The name of the Service Directory service name.
|
71
|
+
# @!attribute [r] name
|
72
|
+
# @return [::String]
|
73
|
+
# Output only. Name of the runtimeConfig resource.
|
74
|
+
# Format: projects/\\{project}/locations/\\{location}/runtimeConfig
|
75
|
+
class RuntimeConfig
|
76
|
+
include ::Google::Protobuf::MessageExts
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
|
+
|
79
|
+
# State of the location.
|
80
|
+
module State
|
81
|
+
# STATE_UNSPECIFIED.
|
82
|
+
STATE_UNSPECIFIED = 0
|
83
|
+
|
84
|
+
# INACTIVE.
|
85
|
+
INACTIVE = 1
|
86
|
+
|
87
|
+
# ACTIVATING.
|
88
|
+
ACTIVATING = 2
|
89
|
+
|
90
|
+
# ACTIVE.
|
91
|
+
ACTIVE = 3
|
92
|
+
|
93
|
+
# CREATING.
|
94
|
+
CREATING = 4
|
95
|
+
|
96
|
+
# DELETING.
|
97
|
+
DELETING = 5
|
98
|
+
|
99
|
+
# UPDATING.
|
100
|
+
UPDATING = 6
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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
|
+
# Request for [GetGlobalSettingsRequest].
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The resource name of the Settings.
|
28
|
+
class GetGlobalSettingsRequest
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
end
|
32
|
+
|
33
|
+
# Global Settings details.
|
34
|
+
# @!attribute [r] name
|
35
|
+
# @return [::String]
|
36
|
+
# Output only. Resource name of the Connection.
|
37
|
+
# Format: projects/\\{project}/locations/global/settings}
|
38
|
+
# @!attribute [rw] vpcsc
|
39
|
+
# @return [::Boolean]
|
40
|
+
# Optional. Flag indicates whether vpc-sc is enabled.
|
41
|
+
# @!attribute [r] payg
|
42
|
+
# @return [::Boolean]
|
43
|
+
# Output only. Flag indicates if user is in PayG model
|
44
|
+
class Settings
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|