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,84 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/connectors/v1/connection.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/connectors/v1/authconfig_pb'
|
10
|
+
require 'google/cloud/connectors/v1/common_pb'
|
11
|
+
require 'google/cloud/connectors/v1/destination_config_pb'
|
12
|
+
require 'google/cloud/connectors/v1/ssl_config_pb'
|
13
|
+
require 'google/protobuf/field_mask_pb'
|
14
|
+
require 'google/protobuf/struct_pb'
|
15
|
+
require 'google/protobuf/timestamp_pb'
|
16
|
+
|
17
|
+
|
18
|
+
descriptor_data = "\n+google/cloud/connectors/v1/connection.proto\x12\x1agoogle.cloud.connectors.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/connectors/v1/authconfig.proto\x1a\'google/cloud/connectors/v1/common.proto\x1a\x33google/cloud/connectors/v1/destination_config.proto\x1a+google/cloud/connectors/v1/ssl_config.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\x08\n\nConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.cloud.connectors.v1.Connection.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12M\n\x11\x63onnector_version\x18\x06 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*connectors.googleapis.com/ConnectorVersion\x12\x41\n\x06status\x18\x07 \x01(\x0b\x32,.google.cloud.connectors.v1.ConnectionStatusB\x03\xe0\x41\x03\x12I\n\x10\x63onfig_variables\x18\x08 \x03(\x0b\x32*.google.cloud.connectors.v1.ConfigVariableB\x03\xe0\x41\x01\x12@\n\x0b\x61uth_config\x18\t \x01(\x0b\x32&.google.cloud.connectors.v1.AuthConfigB\x03\xe0\x41\x01\x12@\n\x0block_config\x18\n \x01(\x0b\x32&.google.cloud.connectors.v1.LockConfigB\x03\xe0\x41\x01\x12O\n\x13\x64\x65stination_configs\x18\x12 \x03(\x0b\x32-.google.cloud.connectors.v1.DestinationConfigB\x03\xe0\x41\x01\x12\x1b\n\x0eimage_location\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fservice_account\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11service_directory\x18\r \x01(\tB\x03\xe0\x41\x03\x12!\n\x14\x65nvoy_image_location\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x16\n\tsuspended\x18\x11 \x01(\x08\x42\x03\xe0\x41\x01\x12@\n\x0bnode_config\x18\x13 \x01(\x0b\x32&.google.cloud.connectors.v1.NodeConfigB\x03\xe0\x41\x01\x12>\n\nssl_config\x18\x15 \x01(\x0b\x32%.google.cloud.connectors.v1.SslConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:k\xea\x41h\n$connectors.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}\"<\n\nNodeConfig\x12\x16\n\x0emin_node_count\x18\x01 \x01(\x05\x12\x16\n\x0emax_node_count\x18\x02 \x01(\x05\"\xea\x03\n\x18\x43onnectionSchemaMetadata\x12\x15\n\x08\x65ntities\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x61\x63tions\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12\x11\n\x04name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0crefresh_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x05state\x18\x06 \x01(\x0e\x32:.google.cloud.connectors.v1.ConnectionSchemaMetadata.StateB\x03\xe0\x41\x03\";\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nREFRESHING\x10\x01\x12\x0b\n\x07UPDATED\x10\x02:\x93\x01\xea\x41\x8f\x01\n2connectors.googleapis.com/ConnectionSchemaMetadata\x12Yprojects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata\"\xf2\x02\n\x13RuntimeEntitySchema\x12\x13\n\x06\x65ntity\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12J\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x35.google.cloud.connectors.v1.RuntimeEntitySchema.FieldB\x03\xe0\x41\x03\x1a\xf9\x01\n\x05\x46ield\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\tdata_type\x18\x03 \x01(\x0e\x32$.google.cloud.connectors.v1.DataType\x12\x0b\n\x03key\x18\x04 \x01(\x08\x12\x10\n\x08readonly\x18\x05 \x01(\x08\x12\x10\n\x08nullable\x18\x06 \x01(\x08\x12-\n\rdefault_value\x18\x07 \x01(\x0b\x32\x16.google.protobuf.Value\x12\x33\n\x12\x61\x64\x64itional_details\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x8b\x04\n\x13RuntimeActionSchema\x12\x13\n\x06\x61\x63tion\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12]\n\x10input_parameters\x18\x02 \x03(\x0b\x32>.google.cloud.connectors.v1.RuntimeActionSchema.InputParameterB\x03\xe0\x41\x03\x12\\\n\x0fresult_metadata\x18\x03 \x03(\x0b\x32>.google.cloud.connectors.v1.RuntimeActionSchema.ResultMetadataB\x03\xe0\x41\x03\x1a\xb2\x01\n\x0eInputParameter\x12\x11\n\tparameter\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\tdata_type\x18\x03 \x01(\x0e\x32$.google.cloud.connectors.v1.DataType\x12\x10\n\x08nullable\x18\x04 \x01(\x08\x12-\n\rdefault_value\x18\x05 \x01(\x0b\x32\x16.google.protobuf.Value\x1am\n\x0eResultMetadata\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x37\n\tdata_type\x18\x03 \x01(\x0e\x32$.google.cloud.connectors.v1.DataType\",\n\nLockConfig\x12\x0e\n\x06locked\x18\x01 \x01(\x08\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\xd9\x01\n\x16ListConnectionsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$connectors.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\x12\x38\n\x04view\x18\x06 \x01(\x0e\x32*.google.cloud.connectors.v1.ConnectionView\"\x84\x01\n\x17ListConnectionsResponse\x12;\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32&.google.cloud.connectors.v1.Connection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x8c\x01\n\x14GetConnectionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\x12\x38\n\x04view\x18\x02 \x01(\x0e\x32*.google.cloud.connectors.v1.ConnectionView\"\xb4\x01\n\x17\x43reateConnectionRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$connectors.googleapis.com/Connection\x12\x1a\n\rconnection_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\nconnection\x18\x03 \x01(\x0b\x32&.google.cloud.connectors.v1.ConnectionB\x03\xe0\x41\x02\"\x90\x01\n\x17UpdateConnectionRequest\x12?\n\nconnection\x18\x01 \x01(\x0b\x32&.google.cloud.connectors.v1.ConnectionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"U\n\x17\x44\x65leteConnectionRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\"n\n\"GetConnectionSchemaMetadataRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2connectors.googleapis.com/ConnectionSchemaMetadata\"r\n&RefreshConnectionSchemaMetadataRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2connectors.googleapis.com/ConnectionSchemaMetadata\"\x9b\x01\n\x1fListRuntimeEntitySchemasRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x8c\x01\n ListRuntimeEntitySchemasResponse\x12O\n\x16runtime_entity_schemas\x18\x01 \x03(\x0b\x32/.google.cloud.connectors.v1.RuntimeEntitySchema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9b\x01\n\x1fListRuntimeActionSchemasRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$connectors.googleapis.com/Connection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x02\"\x8c\x01\n ListRuntimeActionSchemasResponse\x12O\n\x16runtime_action_schemas\x18\x01 \x03(\x0b\x32/.google.cloud.connectors.v1.RuntimeActionSchema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x86\x02\n\x10\x43onnectionStatus\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.connectors.v1.ConnectionStatus.State\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\"\x89\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x1a\n\x16\x41UTHORIZATION_REQUIRED\x10\x07*\xae\x08\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\rDATA_TYPE_INT\x10\x01\x1a\x02\x08\x01\x12\x16\n\x12\x44\x41TA_TYPE_SMALLINT\x10\x02\x12\x14\n\x10\x44\x41TA_TYPE_DOUBLE\x10\x03\x12\x12\n\x0e\x44\x41TA_TYPE_DATE\x10\x04\x12\x1a\n\x12\x44\x41TA_TYPE_DATETIME\x10\x05\x1a\x02\x08\x01\x12\x12\n\x0e\x44\x41TA_TYPE_TIME\x10\x06\x12\x18\n\x10\x44\x41TA_TYPE_STRING\x10\x07\x1a\x02\x08\x01\x12\x16\n\x0e\x44\x41TA_TYPE_LONG\x10\x08\x1a\x02\x08\x01\x12\x15\n\x11\x44\x41TA_TYPE_BOOLEAN\x10\t\x12\x15\n\x11\x44\x41TA_TYPE_DECIMAL\x10\n\x12\x16\n\x0e\x44\x41TA_TYPE_UUID\x10\x0b\x1a\x02\x08\x01\x12\x12\n\x0e\x44\x41TA_TYPE_BLOB\x10\x0c\x12\x11\n\rDATA_TYPE_BIT\x10\r\x12\x15\n\x11\x44\x41TA_TYPE_TINYINT\x10\x0e\x12\x15\n\x11\x44\x41TA_TYPE_INTEGER\x10\x0f\x12\x14\n\x10\x44\x41TA_TYPE_BIGINT\x10\x10\x12\x13\n\x0f\x44\x41TA_TYPE_FLOAT\x10\x11\x12\x12\n\x0e\x44\x41TA_TYPE_REAL\x10\x12\x12\x15\n\x11\x44\x41TA_TYPE_NUMERIC\x10\x13\x12\x12\n\x0e\x44\x41TA_TYPE_CHAR\x10\x14\x12\x15\n\x11\x44\x41TA_TYPE_VARCHAR\x10\x15\x12\x19\n\x15\x44\x41TA_TYPE_LONGVARCHAR\x10\x16\x12\x17\n\x13\x44\x41TA_TYPE_TIMESTAMP\x10\x17\x12\x13\n\x0f\x44\x41TA_TYPE_NCHAR\x10\x18\x12\x16\n\x12\x44\x41TA_TYPE_NVARCHAR\x10\x19\x12\x1a\n\x16\x44\x41TA_TYPE_LONGNVARCHAR\x10\x1a\x12\x12\n\x0e\x44\x41TA_TYPE_NULL\x10\x1b\x12\x13\n\x0f\x44\x41TA_TYPE_OTHER\x10\x1c\x12\x19\n\x15\x44\x41TA_TYPE_JAVA_OBJECT\x10\x1d\x12\x16\n\x12\x44\x41TA_TYPE_DISTINCT\x10\x1e\x12\x14\n\x10\x44\x41TA_TYPE_STRUCT\x10\x1f\x12\x13\n\x0f\x44\x41TA_TYPE_ARRAY\x10 \x12\x12\n\x0e\x44\x41TA_TYPE_CLOB\x10!\x12\x11\n\rDATA_TYPE_REF\x10\"\x12\x16\n\x12\x44\x41TA_TYPE_DATALINK\x10#\x12\x13\n\x0f\x44\x41TA_TYPE_ROWID\x10$\x12\x14\n\x10\x44\x41TA_TYPE_BINARY\x10%\x12\x17\n\x13\x44\x41TA_TYPE_VARBINARY\x10&\x12\x1b\n\x17\x44\x41TA_TYPE_LONGVARBINARY\x10\'\x12\x13\n\x0f\x44\x41TA_TYPE_NCLOB\x10(\x12\x14\n\x10\x44\x41TA_TYPE_SQLXML\x10)\x12\x18\n\x14\x44\x41TA_TYPE_REF_CURSOR\x10*\x12 \n\x1c\x44\x41TA_TYPE_TIME_WITH_TIMEZONE\x10+\x12%\n!DATA_TYPE_TIMESTAMP_WITH_TIMEZONE\x10,*F\n\x0e\x43onnectionView\x12\x1f\n\x1b\x43ONNECTION_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42s\n\x1e\x63om.google.cloud.connectors.v1B\x0f\x43onnectionProtoP\x01Z>cloud.google.com/go/connectors/apiv1/connectorspb;connectorspbb\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
["google.cloud.connectors.v1.ConfigVariable", "google/cloud/connectors/v1/common.proto"],
|
35
|
+
["google.cloud.connectors.v1.AuthConfig", "google/cloud/connectors/v1/authconfig.proto"],
|
36
|
+
["google.cloud.connectors.v1.DestinationConfig", "google/cloud/connectors/v1/destination_config.proto"],
|
37
|
+
["google.cloud.connectors.v1.SslConfig", "google/cloud/connectors/v1/ssl_config.proto"],
|
38
|
+
["google.protobuf.Value", "google/protobuf/struct.proto"],
|
39
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
40
|
+
]
|
41
|
+
imports.each do |type_name, expected_filename|
|
42
|
+
import_file = pool.lookup(type_name).file_descriptor
|
43
|
+
if import_file.name != expected_filename
|
44
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
48
|
+
warn "This will become an error in the next major version."
|
49
|
+
end
|
50
|
+
|
51
|
+
module Google
|
52
|
+
module Cloud
|
53
|
+
module Connectors
|
54
|
+
module V1
|
55
|
+
Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.Connection").msgclass
|
56
|
+
NodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.NodeConfig").msgclass
|
57
|
+
ConnectionSchemaMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionSchemaMetadata").msgclass
|
58
|
+
ConnectionSchemaMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionSchemaMetadata.State").enummodule
|
59
|
+
RuntimeEntitySchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeEntitySchema").msgclass
|
60
|
+
RuntimeEntitySchema::Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeEntitySchema.Field").msgclass
|
61
|
+
RuntimeActionSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeActionSchema").msgclass
|
62
|
+
RuntimeActionSchema::InputParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeActionSchema.InputParameter").msgclass
|
63
|
+
RuntimeActionSchema::ResultMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RuntimeActionSchema.ResultMetadata").msgclass
|
64
|
+
LockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.LockConfig").msgclass
|
65
|
+
ListConnectionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectionsRequest").msgclass
|
66
|
+
ListConnectionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectionsResponse").msgclass
|
67
|
+
GetConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.GetConnectionRequest").msgclass
|
68
|
+
CreateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.CreateConnectionRequest").msgclass
|
69
|
+
UpdateConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.UpdateConnectionRequest").msgclass
|
70
|
+
DeleteConnectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.DeleteConnectionRequest").msgclass
|
71
|
+
GetConnectionSchemaMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.GetConnectionSchemaMetadataRequest").msgclass
|
72
|
+
RefreshConnectionSchemaMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.RefreshConnectionSchemaMetadataRequest").msgclass
|
73
|
+
ListRuntimeEntitySchemasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeEntitySchemasRequest").msgclass
|
74
|
+
ListRuntimeEntitySchemasResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeEntitySchemasResponse").msgclass
|
75
|
+
ListRuntimeActionSchemasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeActionSchemasRequest").msgclass
|
76
|
+
ListRuntimeActionSchemasResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListRuntimeActionSchemasResponse").msgclass
|
77
|
+
ConnectionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionStatus").msgclass
|
78
|
+
ConnectionStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionStatus.State").enummodule
|
79
|
+
DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.DataType").enummodule
|
80
|
+
ConnectionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectionView").enummodule
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/connectors/v1/connector.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/connectors/v1/common_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n*google/cloud/connectors/v1/connector.proto\x12\x1agoogle.cloud.connectors.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/connectors/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd6\x04\n\tConnector\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x31.google.cloud.connectors.v1.Connector.LabelsEntryB\x03\xe0\x41\x03\x12\x1e\n\x11\x64ocumentation_uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x65xternal_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13web_assets_location\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x0claunch_stage\x18\x0b \x01(\x0e\x32\'.google.cloud.connectors.v1.LaunchStageB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:}\xea\x41z\n#connectors.googleapis.com/Connector\x12Sprojects/{project}/locations/{location}/providers/{provider}/connectors/{connector}\"P\n\x13GetConnectorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#connectors.googleapis.com/Connector\"z\n\x15ListConnectorsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"connectors.googleapis.com/Provider\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x81\x01\n\x16ListConnectorsResponse\x12\x39\n\nconnectors\x18\x01 \x03(\x0b\x32%.google.cloud.connectors.v1.Connector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\tBr\n\x1e\x63om.google.cloud.connectors.v1B\x0e\x43onnectorProtoP\x01Z>cloud.google.com/go/connectors/apiv1/connectorspb;connectorspbb\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
]
|
30
|
+
imports.each do |type_name, expected_filename|
|
31
|
+
import_file = pool.lookup(type_name).file_descriptor
|
32
|
+
if import_file.name != expected_filename
|
33
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
37
|
+
warn "This will become an error in the next major version."
|
38
|
+
end
|
39
|
+
|
40
|
+
module Google
|
41
|
+
module Cloud
|
42
|
+
module Connectors
|
43
|
+
module V1
|
44
|
+
Connector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.Connector").msgclass
|
45
|
+
GetConnectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.GetConnectorRequest").msgclass
|
46
|
+
ListConnectorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectorsRequest").msgclass
|
47
|
+
ListConnectorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectorsResponse").msgclass
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/connectors/v1/connector_version.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/connectors/v1/authconfig_pb'
|
10
|
+
require 'google/cloud/connectors/v1/common_pb'
|
11
|
+
require 'google/cloud/connectors/v1/ssl_config_pb'
|
12
|
+
require 'google/protobuf/timestamp_pb'
|
13
|
+
|
14
|
+
|
15
|
+
descriptor_data = "\n2google/cloud/connectors/v1/connector_version.proto\x12\x1agoogle.cloud.connectors.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/connectors/v1/authconfig.proto\x1a\'google/cloud/connectors/v1/common.proto\x1a+google/cloud/connectors/v1/ssl_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdd\x08\n\x10\x43onnectorVersion\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.connectors.v1.ConnectorVersion.LabelsEntryB\x03\xe0\x41\x03\x12\x42\n\x0claunch_stage\x18\x06 \x01(\x0e\x32\'.google.cloud.connectors.v1.LaunchStageB\x03\xe0\x41\x03\x12\x1c\n\x0frelease_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12R\n\x15\x61uth_config_templates\x18\x08 \x03(\x0b\x32..google.cloud.connectors.v1.AuthConfigTemplateB\x03\xe0\x41\x03\x12Z\n\x19\x63onfig_variable_templates\x18\t \x03(\x0b\x32\x32.google.cloud.connectors.v1.ConfigVariableTemplateB\x03\xe0\x41\x03\x12]\n\x1asupported_runtime_features\x18\n \x01(\x0b\x32\x34.google.cloud.connectors.v1.SupportedRuntimeFeaturesB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12S\n\x15\x65gress_control_config\x18\x0c \x01(\x0b\x32/.google.cloud.connectors.v1.EgressControlConfigB\x03\xe0\x41\x03\x12?\n\x0brole_grants\x18\x0e \x03(\x0b\x32%.google.cloud.connectors.v1.RoleGrantB\x03\xe0\x41\x03\x12>\n\nrole_grant\x18\x0f \x01(\x0b\x32%.google.cloud.connectors.v1.RoleGrantB\x03\xe0\x41\x03\x12O\n\x13ssl_config_template\x18\x11 \x01(\x0b\x32-.google.cloud.connectors.v1.SslConfigTemplateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x98\x01\xea\x41\x94\x01\n*connectors.googleapis.com/ConnectorVersion\x12\x66projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}\"\x9e\x01\n\x1aGetConnectorVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*connectors.googleapis.com/ConnectorVersion\x12>\n\x04view\x18\x02 \x01(\x0e\x32\x30.google.cloud.connectors.v1.ConnectorVersionView\"\xc2\x01\n\x1cListConnectorVersionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#connectors.googleapis.com/Connector\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12>\n\x04view\x18\x04 \x01(\x0e\x32\x30.google.cloud.connectors.v1.ConnectorVersionView\"\x97\x01\n\x1dListConnectorVersionsResponse\x12H\n\x12\x63onnector_versions\x18\x01 \x03(\x0b\x32,.google.cloud.connectors.v1.ConnectorVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"W\n\x18SupportedRuntimeFeatures\x12\x13\n\x0b\x65ntity_apis\x18\x01 \x01(\x08\x12\x13\n\x0b\x61\x63tion_apis\x18\x02 \x01(\x08\x12\x11\n\tsql_query\x18\x03 \x01(\x08\"\x84\x01\n\x13\x45gressControlConfig\x12\x12\n\x08\x62\x61\x63kends\x18\x01 \x01(\tH\x00\x12G\n\x10\x65xtraction_rules\x18\x02 \x01(\x0b\x32+.google.cloud.connectors.v1.ExtractionRulesH\x00\x42\x10\n\x0eoneof_backends\"V\n\x0f\x45xtractionRules\x12\x43\n\x0f\x65xtraction_rule\x18\x01 \x03(\x0b\x32*.google.cloud.connectors.v1.ExtractionRule\"\x95\x02\n\x0e\x45xtractionRule\x12\x41\n\x06source\x18\x01 \x01(\x0b\x32\x31.google.cloud.connectors.v1.ExtractionRule.Source\x12\x18\n\x10\x65xtraction_regex\x18\x02 \x01(\t\x1a\x66\n\x06Source\x12J\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x35.google.cloud.connectors.v1.ExtractionRule.SourceType\x12\x10\n\x08\x66ield_id\x18\x02 \x01(\t\">\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43ONFIG_VARIABLE\x10\x01*\x81\x01\n\x14\x43onnectorVersionView\x12&\n\"CONNECTOR_VERSION_VIEW_UNSPECIFIED\x10\x00\x12 \n\x1c\x43ONNECTOR_VERSION_VIEW_BASIC\x10\x01\x12\x1f\n\x1b\x43ONNECTOR_VERSION_VIEW_FULL\x10\x02\x42y\n\x1e\x63om.google.cloud.connectors.v1B\x15\x43onnectorVersionProtoP\x01Z>cloud.google.com/go/connectors/apiv1/connectorspb;connectorspbb\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.cloud.connectors.v1.AuthConfigTemplate", "google/cloud/connectors/v1/authconfig.proto"],
|
32
|
+
["google.cloud.connectors.v1.ConfigVariableTemplate", "google/cloud/connectors/v1/common.proto"],
|
33
|
+
["google.cloud.connectors.v1.SslConfigTemplate", "google/cloud/connectors/v1/ssl_config.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
43
|
+
end
|
44
|
+
|
45
|
+
module Google
|
46
|
+
module Cloud
|
47
|
+
module Connectors
|
48
|
+
module V1
|
49
|
+
ConnectorVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectorVersion").msgclass
|
50
|
+
GetConnectorVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.GetConnectorVersionRequest").msgclass
|
51
|
+
ListConnectorVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectorVersionsRequest").msgclass
|
52
|
+
ListConnectorVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ListConnectorVersionsResponse").msgclass
|
53
|
+
SupportedRuntimeFeatures = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.SupportedRuntimeFeatures").msgclass
|
54
|
+
EgressControlConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.EgressControlConfig").msgclass
|
55
|
+
ExtractionRules = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRules").msgclass
|
56
|
+
ExtractionRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRule").msgclass
|
57
|
+
ExtractionRule::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRule.Source").msgclass
|
58
|
+
ExtractionRule::SourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ExtractionRule.SourceType").enummodule
|
59
|
+
ConnectorVersionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.connectors.v1.ConnectorVersionView").enummodule
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|