Debian Codegraph @

googleapis/cloud/bigquery/connection/v1/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/apiv1/connectionpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/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/apiv1/connectionpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/bigquery/connection/apiv1/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/apiv1/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_v1_connection_proto = src.File_google_cloud_bigquery_connection_v1_connection_proto
42 )
43
44 // Authentication method for Amazon Web Services (AWS) that uses Google owned
45 // Google service account to assume into customer's AWS IAM Role.
46 //
47 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
48 type AwsAccessRole = src.AwsAccessRole
49
50 // Authentication method for Amazon Web Services (AWS) that uses Google owned
51 // AWS IAM user's access key to assume into customer's AWS IAM Role.
52 //
53 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
54 type AwsCrossAccountRole = src.AwsCrossAccountRole
55
56 // Connection properties specific to Amazon Web Services (AWS).
57 //
58 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
59 type AwsProperties = src.AwsProperties
60 type AwsProperties_AccessRole = src.AwsProperties_AccessRole
61 type AwsProperties_CrossAccountRole = src.AwsProperties_CrossAccountRole
62
63 // Container for connection properties specific to Azure.
64 //
65 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
66 type AzureProperties = src.AzureProperties
67
68 // Container for connection properties for delegation of access to GCP
69 // resources.
70 //
71 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
72 type CloudResourceProperties = src.CloudResourceProperties
73
74 // Connection properties specific to Cloud Spanner.
75 //
76 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
77 type CloudSpannerProperties = src.CloudSpannerProperties
78
79 // Credential info for the Cloud SQL.
80 //
81 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
82 type CloudSqlCredential = src.CloudSqlCredential
83
84 // Connection properties specific to the Cloud SQL.
85 //
86 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
87 type CloudSqlProperties = src.CloudSqlProperties
88
89 // Supported Cloud SQL database types.
90 //
91 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
92 type CloudSqlProperties_DatabaseType = src.CloudSqlProperties_DatabaseType
93
94 // Configuration parameters to establish connection with an external data
95 // source, except the credential attributes.
96 //
97 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
98 type Connection = src.Connection
99
100 // ConnectionServiceClient is the client API for ConnectionService service.
101 // For semantics around ctx use and closing/ending streaming RPCs, please refer
102 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
103 //
104 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
105 type ConnectionServiceClient = src.ConnectionServiceClient
106
107 // ConnectionServiceServer is the server API for ConnectionService service.
108 //
109 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
110 type ConnectionServiceServer = src.ConnectionServiceServer
111 type Connection_Aws = src.Connection_Aws
112 type Connection_Azure = src.Connection_Azure
113 type Connection_CloudResource = src.Connection_CloudResource
114 type Connection_CloudSpanner = src.Connection_CloudSpanner
115 type Connection_CloudSql = src.Connection_CloudSql
116
117 // The request for
118 // [ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection].
119 //
120 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
121 type CreateConnectionRequest = src.CreateConnectionRequest
122
123 // The request for [ConnectionService.DeleteConnectionRequest][].
124 //
125 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
126 type DeleteConnectionRequest = src.DeleteConnectionRequest
127
128 // The request for
129 // [ConnectionService.GetConnection][google.cloud.bigquery.connection.v1.ConnectionService.GetConnection].
130 //
131 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
132 type GetConnectionRequest = src.GetConnectionRequest
133
134 // The request for
135 // [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections].
136 //
137 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
138 type ListConnectionsRequest = src.ListConnectionsRequest
139
140 // The response for
141 // [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections].
142 //
143 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
144 type ListConnectionsResponse = src.ListConnectionsResponse
145
146 // UnimplementedConnectionServiceServer can be embedded to have forward
147 // compatible implementations.
148 //
149 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
150 type UnimplementedConnectionServiceServer = src.UnimplementedConnectionServiceServer
151
152 // The request for
153 // [ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection].
154 //
155 // Deprecated: Please use types in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
156 type UpdateConnectionRequest = src.UpdateConnectionRequest
157
158 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
159 func NewConnectionServiceClient(cc grpc.ClientConnInterface) ConnectionServiceClient {
160 return src.NewConnectionServiceClient(cc)
161 }
162
163 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/connection/apiv1/connectionpb
164 func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer) {
165 src.RegisterConnectionServiceServer(s, srv)
166 }