Debian Codegraph @

googleapis/api/apikeys/v2/alias.go

raw
1 // Copyright 2023 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 apikeys aliases all exported identifiers in package
18 // "cloud.google.com/go/apikeys/apiv2/apikeyspb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package apikeys
24
25 import (
26 src "cloud.google.com/go/apikeys/apiv2/apikeyspb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use vars in: cloud.google.com/go/apikeys/apiv2/apikeyspb
31 var (
32 File_google_api_apikeys_v2_apikeys_proto = src.File_google_api_apikeys_v2_apikeys_proto
33 File_google_api_apikeys_v2_resources_proto = src.File_google_api_apikeys_v2_resources_proto
34 )
35
36 // Identifier of an Android application for key use.
37 //
38 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
39 type AndroidApplication = src.AndroidApplication
40
41 // The Android apps that are allowed to use the key.
42 //
43 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
44 type AndroidKeyRestrictions = src.AndroidKeyRestrictions
45
46 // ApiKeysClient is the client API for ApiKeys service. For semantics around
47 // ctx use and closing/ending streaming RPCs, please refer to
48 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
49 //
50 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
51 type ApiKeysClient = src.ApiKeysClient
52
53 // ApiKeysServer is the server API for ApiKeys service.
54 //
55 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
56 type ApiKeysServer = src.ApiKeysServer
57
58 // A restriction for a specific service and optionally one or multiple
59 // specific methods. Both fields are case insensitive.
60 //
61 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
62 type ApiTarget = src.ApiTarget
63
64 // The HTTP referrers (websites) that are allowed to use the key.
65 //
66 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
67 type BrowserKeyRestrictions = src.BrowserKeyRestrictions
68
69 // Request message for `CreateKey` method.
70 //
71 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
72 type CreateKeyRequest = src.CreateKeyRequest
73
74 // Request message for `DeleteKey` method.
75 //
76 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
77 type DeleteKeyRequest = src.DeleteKeyRequest
78
79 // Request message for `GetKey` method.
80 //
81 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
82 type GetKeyRequest = src.GetKeyRequest
83
84 // Request message for `GetKeyString` method.
85 //
86 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
87 type GetKeyStringRequest = src.GetKeyStringRequest
88
89 // Response message for `GetKeyString` method.
90 //
91 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
92 type GetKeyStringResponse = src.GetKeyStringResponse
93
94 // The iOS apps that are allowed to use the key.
95 //
96 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
97 type IosKeyRestrictions = src.IosKeyRestrictions
98
99 // The representation of a key managed by the API Keys API.
100 //
101 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
102 type Key = src.Key
103
104 // Request message for `ListKeys` method.
105 //
106 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
107 type ListKeysRequest = src.ListKeysRequest
108
109 // Response message for `ListKeys` method.
110 //
111 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
112 type ListKeysResponse = src.ListKeysResponse
113
114 // Request message for `LookupKey` method.
115 //
116 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
117 type LookupKeyRequest = src.LookupKeyRequest
118
119 // Response message for `LookupKey` method.
120 //
121 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
122 type LookupKeyResponse = src.LookupKeyResponse
123
124 // Describes the restrictions on the key.
125 //
126 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
127 type Restrictions = src.Restrictions
128 type Restrictions_AndroidKeyRestrictions = src.Restrictions_AndroidKeyRestrictions
129 type Restrictions_BrowserKeyRestrictions = src.Restrictions_BrowserKeyRestrictions
130 type Restrictions_IosKeyRestrictions = src.Restrictions_IosKeyRestrictions
131 type Restrictions_ServerKeyRestrictions = src.Restrictions_ServerKeyRestrictions
132
133 // The IP addresses of callers that are allowed to use the key.
134 //
135 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
136 type ServerKeyRestrictions = src.ServerKeyRestrictions
137
138 // Request message for `UndeleteKey` method.
139 //
140 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
141 type UndeleteKeyRequest = src.UndeleteKeyRequest
142
143 // UnimplementedApiKeysServer can be embedded to have forward compatible
144 // implementations.
145 //
146 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
147 type UnimplementedApiKeysServer = src.UnimplementedApiKeysServer
148
149 // Request message for `UpdateKey` method.
150 //
151 // Deprecated: Please use types in: cloud.google.com/go/apikeys/apiv2/apikeyspb
152 type UpdateKeyRequest = src.UpdateKeyRequest
153
154 // Deprecated: Please use funcs in: cloud.google.com/go/apikeys/apiv2/apikeyspb
155 func NewApiKeysClient(cc grpc.ClientConnInterface) ApiKeysClient { return src.NewApiKeysClient(cc) }
156
157 // Deprecated: Please use funcs in: cloud.google.com/go/apikeys/apiv2/apikeyspb
158 func RegisterApiKeysServer(s *grpc.Server, srv ApiKeysServer) { src.RegisterApiKeysServer(s, srv) }