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 ids aliases all exported identifiers in package 18 // "cloud.google.com/go/ids/apiv1/idspb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package ids 24 25 import ( 26 src "cloud.google.com/go/ids/apiv1/idspb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/ids/apiv1/idspb 31 const ( 32 Endpoint_CREATING = src.Endpoint_CREATING 33 Endpoint_CRITICAL = src.Endpoint_CRITICAL 34 Endpoint_DELETING = src.Endpoint_DELETING 35 Endpoint_HIGH = src.Endpoint_HIGH 36 Endpoint_INFORMATIONAL = src.Endpoint_INFORMATIONAL 37 Endpoint_LOW = src.Endpoint_LOW 38 Endpoint_MEDIUM = src.Endpoint_MEDIUM 39 Endpoint_READY = src.Endpoint_READY 40 Endpoint_SEVERITY_UNSPECIFIED = src.Endpoint_SEVERITY_UNSPECIFIED 41 Endpoint_STATE_UNSPECIFIED = src.Endpoint_STATE_UNSPECIFIED 42 ) 43 44 // Deprecated: Please use vars in: cloud.google.com/go/ids/apiv1/idspb 45 var ( 46 Endpoint_Severity_name = src.Endpoint_Severity_name 47 Endpoint_Severity_value = src.Endpoint_Severity_value 48 Endpoint_State_name = src.Endpoint_State_name 49 Endpoint_State_value = src.Endpoint_State_value 50 File_google_cloud_ids_v1_ids_proto = src.File_google_cloud_ids_v1_ids_proto 51 ) 52 53 type CreateEndpointRequest = src.CreateEndpointRequest 54 type DeleteEndpointRequest = src.DeleteEndpointRequest 55 56 // Endpoint describes a single IDS endpoint. It defines a forwarding rule to 57 // which packets can be sent for IDS inspection. 58 // 59 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb 60 type Endpoint = src.Endpoint 61 62 // Threat severity levels. 63 // 64 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb 65 type Endpoint_Severity = src.Endpoint_Severity 66 67 // Endpoint state 68 // 69 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb 70 type Endpoint_State = src.Endpoint_State 71 type GetEndpointRequest = src.GetEndpointRequest 72 73 // IDSClient is the client API for IDS service. For semantics around ctx use 74 // and closing/ending streaming RPCs, please refer to 75 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 76 // 77 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb 78 type IDSClient = src.IDSClient 79 80 // IDSServer is the server API for IDS service. 81 // 82 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb 83 type IDSServer = src.IDSServer 84 type ListEndpointsRequest = src.ListEndpointsRequest 85 type ListEndpointsResponse = src.ListEndpointsResponse 86 87 // Represents the metadata of the long-running operation. 88 // 89 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb 90 type OperationMetadata = src.OperationMetadata 91 92 // UnimplementedIDSServer can be embedded to have forward compatible 93 // implementations. 94 // 95 // Deprecated: Please use types in: cloud.google.com/go/ids/apiv1/idspb 96 type UnimplementedIDSServer = src.UnimplementedIDSServer 97 98 // Deprecated: Please use funcs in: cloud.google.com/go/ids/apiv1/idspb 99 func NewIDSClient(cc grpc.ClientConnInterface) IDSClient { return src.NewIDSClient(cc) } 100 101 // Deprecated: Please use funcs in: cloud.google.com/go/ids/apiv1/idspb 102 func RegisterIDSServer(s *grpc.Server, srv IDSServer) { src.RegisterIDSServer(s, srv) } 103