Debian Codegraph @

googleapis/cloud/filestore/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 filestore aliases all exported identifiers in package
18 // "cloud.google.com/go/filestore/apiv1/filestorepb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package filestore
24
25 import (
26 src "cloud.google.com/go/filestore/apiv1/filestorepb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/filestore/apiv1/filestorepb
31 const (
32 Backup_CREATING = src.Backup_CREATING
33 Backup_DELETING = src.Backup_DELETING
34 Backup_FINALIZING = src.Backup_FINALIZING
35 Backup_READY = src.Backup_READY
36 Backup_STATE_UNSPECIFIED = src.Backup_STATE_UNSPECIFIED
37 Instance_BASIC_HDD = src.Instance_BASIC_HDD
38 Instance_BASIC_SSD = src.Instance_BASIC_SSD
39 Instance_CREATING = src.Instance_CREATING
40 Instance_DELETING = src.Instance_DELETING
41 Instance_ERROR = src.Instance_ERROR
42 Instance_HIGH_SCALE_SSD = src.Instance_HIGH_SCALE_SSD
43 Instance_PREMIUM = src.Instance_PREMIUM
44 Instance_READY = src.Instance_READY
45 Instance_REPAIRING = src.Instance_REPAIRING
46 Instance_RESTORING = src.Instance_RESTORING
47 Instance_STANDARD = src.Instance_STANDARD
48 Instance_STATE_UNSPECIFIED = src.Instance_STATE_UNSPECIFIED
49 Instance_TIER_UNSPECIFIED = src.Instance_TIER_UNSPECIFIED
50 NetworkConfig_ADDRESS_MODE_UNSPECIFIED = src.NetworkConfig_ADDRESS_MODE_UNSPECIFIED
51 NetworkConfig_MODE_IPV4 = src.NetworkConfig_MODE_IPV4
52 NfsExportOptions_ACCESS_MODE_UNSPECIFIED = src.NfsExportOptions_ACCESS_MODE_UNSPECIFIED
53 NfsExportOptions_NO_ROOT_SQUASH = src.NfsExportOptions_NO_ROOT_SQUASH
54 NfsExportOptions_READ_ONLY = src.NfsExportOptions_READ_ONLY
55 NfsExportOptions_READ_WRITE = src.NfsExportOptions_READ_WRITE
56 NfsExportOptions_ROOT_SQUASH = src.NfsExportOptions_ROOT_SQUASH
57 NfsExportOptions_SQUASH_MODE_UNSPECIFIED = src.NfsExportOptions_SQUASH_MODE_UNSPECIFIED
58 )
59
60 // Deprecated: Please use vars in: cloud.google.com/go/filestore/apiv1/filestorepb
61 var (
62 Backup_State_name = src.Backup_State_name
63 Backup_State_value = src.Backup_State_value
64 File_google_cloud_filestore_v1_cloud_filestore_service_proto = src.File_google_cloud_filestore_v1_cloud_filestore_service_proto
65 Instance_State_name = src.Instance_State_name
66 Instance_State_value = src.Instance_State_value
67 Instance_Tier_name = src.Instance_Tier_name
68 Instance_Tier_value = src.Instance_Tier_value
69 NetworkConfig_AddressMode_name = src.NetworkConfig_AddressMode_name
70 NetworkConfig_AddressMode_value = src.NetworkConfig_AddressMode_value
71 NfsExportOptions_AccessMode_name = src.NfsExportOptions_AccessMode_name
72 NfsExportOptions_AccessMode_value = src.NfsExportOptions_AccessMode_value
73 NfsExportOptions_SquashMode_name = src.NfsExportOptions_SquashMode_name
74 NfsExportOptions_SquashMode_value = src.NfsExportOptions_SquashMode_value
75 )
76
77 // A Cloud Filestore backup.
78 //
79 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
80 type Backup = src.Backup
81
82 // The backup state.
83 //
84 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
85 type Backup_State = src.Backup_State
86
87 // CloudFilestoreManagerClient is the client API for CloudFilestoreManager
88 // service. For semantics around ctx use and closing/ending streaming RPCs,
89 // please refer to
90 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
91 //
92 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
93 type CloudFilestoreManagerClient = src.CloudFilestoreManagerClient
94
95 // CloudFilestoreManagerServer is the server API for CloudFilestoreManager
96 // service.
97 //
98 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
99 type CloudFilestoreManagerServer = src.CloudFilestoreManagerServer
100
101 // CreateBackupRequest creates a backup.
102 //
103 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
104 type CreateBackupRequest = src.CreateBackupRequest
105
106 // CreateInstanceRequest creates an instance.
107 //
108 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
109 type CreateInstanceRequest = src.CreateInstanceRequest
110
111 // DeleteBackupRequest deletes a backup.
112 //
113 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
114 type DeleteBackupRequest = src.DeleteBackupRequest
115
116 // DeleteInstanceRequest deletes an instance.
117 //
118 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
119 type DeleteInstanceRequest = src.DeleteInstanceRequest
120
121 // File share configuration for the instance.
122 //
123 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
124 type FileShareConfig = src.FileShareConfig
125 type FileShareConfig_SourceBackup = src.FileShareConfig_SourceBackup
126
127 // GetBackupRequest gets the state of a backup.
128 //
129 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
130 type GetBackupRequest = src.GetBackupRequest
131
132 // GetInstanceRequest gets the state of an instance.
133 //
134 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
135 type GetInstanceRequest = src.GetInstanceRequest
136
137 // A Cloud Filestore instance.
138 //
139 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
140 type Instance = src.Instance
141
142 // The instance state.
143 //
144 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
145 type Instance_State = src.Instance_State
146
147 // Available service tiers.
148 //
149 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
150 type Instance_Tier = src.Instance_Tier
151
152 // ListBackupsRequest lists backups.
153 //
154 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
155 type ListBackupsRequest = src.ListBackupsRequest
156
157 // ListBackupsResponse is the result of ListBackupsRequest.
158 //
159 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
160 type ListBackupsResponse = src.ListBackupsResponse
161
162 // ListInstancesRequest lists instances.
163 //
164 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
165 type ListInstancesRequest = src.ListInstancesRequest
166
167 // ListInstancesResponse is the result of ListInstancesRequest.
168 //
169 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
170 type ListInstancesResponse = src.ListInstancesResponse
171
172 // Network configuration for the instance.
173 //
174 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
175 type NetworkConfig = src.NetworkConfig
176
177 // Internet protocol versions supported by Cloud Filestore.
178 //
179 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
180 type NetworkConfig_AddressMode = src.NetworkConfig_AddressMode
181
182 // NFS export options specifications.
183 //
184 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
185 type NfsExportOptions = src.NfsExportOptions
186
187 // The access mode.
188 //
189 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
190 type NfsExportOptions_AccessMode = src.NfsExportOptions_AccessMode
191
192 // The squash mode.
193 //
194 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
195 type NfsExportOptions_SquashMode = src.NfsExportOptions_SquashMode
196
197 // RestoreInstanceRequest restores an existing instances's file share from a
198 // backup.
199 //
200 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
201 type RestoreInstanceRequest = src.RestoreInstanceRequest
202 type RestoreInstanceRequest_SourceBackup = src.RestoreInstanceRequest_SourceBackup
203
204 // UnimplementedCloudFilestoreManagerServer can be embedded to have forward
205 // compatible implementations.
206 //
207 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
208 type UnimplementedCloudFilestoreManagerServer = src.UnimplementedCloudFilestoreManagerServer
209
210 // UpdateBackupRequest updates description and/or labels for a backup.
211 //
212 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
213 type UpdateBackupRequest = src.UpdateBackupRequest
214
215 // UpdateInstanceRequest updates the settings of an instance.
216 //
217 // Deprecated: Please use types in: cloud.google.com/go/filestore/apiv1/filestorepb
218 type UpdateInstanceRequest = src.UpdateInstanceRequest
219
220 // Deprecated: Please use funcs in: cloud.google.com/go/filestore/apiv1/filestorepb
221 func NewCloudFilestoreManagerClient(cc grpc.ClientConnInterface) CloudFilestoreManagerClient {
222 return src.NewCloudFilestoreManagerClient(cc)
223 }
224
225 // Deprecated: Please use funcs in: cloud.google.com/go/filestore/apiv1/filestorepb
226 func RegisterCloudFilestoreManagerServer(s *grpc.Server, srv CloudFilestoreManagerServer) {
227 src.RegisterCloudFilestoreManagerServer(s, srv)
228 }