Debian Codegraph @

googleapis/cloud/bigquery/connection/v1beta1/alias.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package connection aliases all exported identifiers in package
18 // "cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package connection
24
25 import (
26 src "cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
31 const (
32 CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED = src.CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED
33 CloudSqlProperties_MYSQL = src.CloudSqlProperties_MYSQL
34 CloudSqlProperties_POSTGRES = src.CloudSqlProperties_POSTGRES
35 )
36
37 // Deprecated: Please use vars in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
38 var (
39 CloudSqlProperties_DatabaseType_name = src.CloudSqlProperties_DatabaseType_name
40 CloudSqlProperties_DatabaseType_value = src.CloudSqlProperties_DatabaseType_value
41 File_google_cloud_bigquery_connection_v1beta1_connection_proto = src.File_google_cloud_bigquery_connection_v1beta1_connection_proto
42 )
43
44 // Credential info for the Cloud SQL.
45 //
46 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
47 type CloudSqlCredential = src.CloudSqlCredential
48
49 // Connection properties specific to the Cloud SQL.
50 //
51 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
52 type CloudSqlProperties = src.CloudSqlProperties
53
54 // Supported Cloud SQL database types.
55 //
56 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
57 type CloudSqlProperties_DatabaseType = src.CloudSqlProperties_DatabaseType
58
59 // Configuration parameters to establish connection with an external data
60 // source, except the credential attributes.
61 //
62 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
63 type Connection = src.Connection
64
65 // Credential to use with a connection.
66 //
67 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
68 type ConnectionCredential = src.ConnectionCredential
69 type ConnectionCredential_CloudSql = src.ConnectionCredential_CloudSql
70
71 // ConnectionServiceClient is the client API for ConnectionService service.
72 // For semantics around ctx use and closing/ending streaming RPCs, please refer
73 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
74 //
75 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
76 type ConnectionServiceClient = src.ConnectionServiceClient
77
78 // ConnectionServiceServer is the server API for ConnectionService service.
79 //
80 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
81 type ConnectionServiceServer = src.ConnectionServiceServer
82 type Connection_CloudSql = src.Connection_CloudSql
83
84 // The request for
85 // [ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection].
86 //
87 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
88 type CreateConnectionRequest = src.CreateConnectionRequest
89
90 // The request for [ConnectionService.DeleteConnectionRequest][].
91 //
92 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
93 type DeleteConnectionRequest = src.DeleteConnectionRequest
94
95 // The request for
96 // [ConnectionService.GetConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection].
97 //
98 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
99 type GetConnectionRequest = src.GetConnectionRequest
100
101 // The request for
102 // [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections].
103 //
104 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
105 type ListConnectionsRequest = src.ListConnectionsRequest
106
107 // The response for
108 // [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections].
109 //
110 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
111 type ListConnectionsResponse = src.ListConnectionsResponse
112
113 // UnimplementedConnectionServiceServer can be embedded to have forward
114 // compatible implementations.
115 //
116 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
117 type UnimplementedConnectionServiceServer = src.UnimplementedConnectionServiceServer
118
119 // The request for
120 // [ConnectionService.UpdateConnectionCredential][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential].
121 //
122 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
123 type UpdateConnectionCredentialRequest = src.UpdateConnectionCredentialRequest
124
125 // The request for
126 // [ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection].
127 //
128 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
129 type UpdateConnectionRequest = src.UpdateConnectionRequest
130
131 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
132 func NewConnectionServiceClient(cc grpc.ClientConnInterface) ConnectionServiceClient {
133 return src.NewConnectionServiceClient(cc)
134 }
135
136 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb
137 func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer) {
138 src.RegisterConnectionServiceServer(s, srv)
139 }