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 managedidentities aliases all exported identifiers in package 18 // "cloud.google.com/go/managedidentities/apiv1/managedidentitiespb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package managedidentities 24 25 import ( 26 src "cloud.google.com/go/managedidentities/apiv1/managedidentitiespb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 31 const ( 32 Domain_CREATING = src.Domain_CREATING 33 Domain_DELETING = src.Domain_DELETING 34 Domain_PERFORMING_MAINTENANCE = src.Domain_PERFORMING_MAINTENANCE 35 Domain_READY = src.Domain_READY 36 Domain_REPAIRING = src.Domain_REPAIRING 37 Domain_STATE_UNSPECIFIED = src.Domain_STATE_UNSPECIFIED 38 Domain_UNAVAILABLE = src.Domain_UNAVAILABLE 39 Domain_UPDATING = src.Domain_UPDATING 40 Trust_BIDIRECTIONAL = src.Trust_BIDIRECTIONAL 41 Trust_CONNECTED = src.Trust_CONNECTED 42 Trust_CREATING = src.Trust_CREATING 43 Trust_DELETING = src.Trust_DELETING 44 Trust_DISCONNECTED = src.Trust_DISCONNECTED 45 Trust_EXTERNAL = src.Trust_EXTERNAL 46 Trust_FOREST = src.Trust_FOREST 47 Trust_INBOUND = src.Trust_INBOUND 48 Trust_OUTBOUND = src.Trust_OUTBOUND 49 Trust_STATE_UNSPECIFIED = src.Trust_STATE_UNSPECIFIED 50 Trust_TRUST_DIRECTION_UNSPECIFIED = src.Trust_TRUST_DIRECTION_UNSPECIFIED 51 Trust_TRUST_TYPE_UNSPECIFIED = src.Trust_TRUST_TYPE_UNSPECIFIED 52 Trust_UPDATING = src.Trust_UPDATING 53 ) 54 55 // Deprecated: Please use vars in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 56 var ( 57 Domain_State_name = src.Domain_State_name 58 Domain_State_value = src.Domain_State_value 59 File_google_cloud_managedidentities_v1_managed_identities_service_proto = src.File_google_cloud_managedidentities_v1_managed_identities_service_proto 60 File_google_cloud_managedidentities_v1_resource_proto = src.File_google_cloud_managedidentities_v1_resource_proto 61 Trust_State_name = src.Trust_State_name 62 Trust_State_value = src.Trust_State_value 63 Trust_TrustDirection_name = src.Trust_TrustDirection_name 64 Trust_TrustDirection_value = src.Trust_TrustDirection_value 65 Trust_TrustType_name = src.Trust_TrustType_name 66 Trust_TrustType_value = src.Trust_TrustType_value 67 ) 68 69 // Request message for 70 // [AttachTrust][google.cloud.managedidentities.v1.AttachTrust] 71 // 72 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 73 type AttachTrustRequest = src.AttachTrustRequest 74 75 // Request message for 76 // [CreateMicrosoftAdDomain][google.cloud.managedidentities.v1.CreateMicrosoftAdDomain] 77 // 78 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 79 type CreateMicrosoftAdDomainRequest = src.CreateMicrosoftAdDomainRequest 80 81 // Request message for 82 // [DeleteDomain][google.cloud.managedidentities.v1.DeleteDomain] 83 // 84 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 85 type DeleteDomainRequest = src.DeleteDomainRequest 86 87 // Request message for 88 // [DetachTrust][google.cloud.managedidentities.v1.DetachTrust] 89 // 90 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 91 type DetachTrustRequest = src.DetachTrustRequest 92 93 // Represents a managed Microsoft Active Directory domain. 94 // 95 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 96 type Domain = src.Domain 97 98 // Represents the different states of a managed domain. 99 // 100 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 101 type Domain_State = src.Domain_State 102 103 // Request message for 104 // [GetDomain][google.cloud.managedidentities.v1.GetDomain] 105 // 106 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 107 type GetDomainRequest = src.GetDomainRequest 108 109 // Request message for 110 // [ListDomains][google.cloud.managedidentities.v1.ListDomains] 111 // 112 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 113 type ListDomainsRequest = src.ListDomainsRequest 114 115 // Response message for 116 // [ListDomains][google.cloud.managedidentities.v1.ListDomains] 117 // 118 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 119 type ListDomainsResponse = src.ListDomainsResponse 120 121 // ManagedIdentitiesServiceClient is the client API for 122 // ManagedIdentitiesService service. For semantics around ctx use and 123 // closing/ending streaming RPCs, please refer to 124 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 125 // 126 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 127 type ManagedIdentitiesServiceClient = src.ManagedIdentitiesServiceClient 128 129 // ManagedIdentitiesServiceServer is the server API for 130 // ManagedIdentitiesService service. 131 // 132 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 133 type ManagedIdentitiesServiceServer = src.ManagedIdentitiesServiceServer 134 135 // Represents the metadata of the long-running operation. 136 // 137 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 138 type OpMetadata = src.OpMetadata 139 140 // Request message for 141 // [ReconfigureTrust][google.cloud.managedidentities.v1.ReconfigureTrust] 142 // 143 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 144 type ReconfigureTrustRequest = src.ReconfigureTrustRequest 145 146 // Request message for 147 // [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword] 148 // 149 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 150 type ResetAdminPasswordRequest = src.ResetAdminPasswordRequest 151 152 // Response message for 153 // [ResetAdminPassword][google.cloud.managedidentities.v1.ResetAdminPassword] 154 // 155 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 156 type ResetAdminPasswordResponse = src.ResetAdminPasswordResponse 157 158 // Represents a relationship between two domains. This allows a controller in 159 // one domain to authenticate a user in another domain. 160 // 161 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 162 type Trust = src.Trust 163 164 // Represents the different states of a domain trust. 165 // 166 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 167 type Trust_State = src.Trust_State 168 169 // Represents the direction of trust. See 170 // [System.DirectoryServices.ActiveDirectory.TrustDirection](https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectory.trustdirection?view=netframework-4.7.2) 171 // for more information. 172 // 173 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 174 type Trust_TrustDirection = src.Trust_TrustDirection 175 176 // Represents the different inter-forest trust types. 177 // 178 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 179 type Trust_TrustType = src.Trust_TrustType 180 181 // UnimplementedManagedIdentitiesServiceServer can be embedded to have forward 182 // compatible implementations. 183 // 184 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 185 type UnimplementedManagedIdentitiesServiceServer = src.UnimplementedManagedIdentitiesServiceServer 186 187 // Request message for 188 // [UpdateDomain][google.cloud.managedidentities.v1.UpdateDomain] 189 // 190 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 191 type UpdateDomainRequest = src.UpdateDomainRequest 192 193 // Request message for 194 // [ValidateTrust][google.cloud.managedidentities.v1.ValidateTrust] 195 // 196 // Deprecated: Please use types in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 197 type ValidateTrustRequest = src.ValidateTrustRequest 198 199 // Deprecated: Please use funcs in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 200 func NewManagedIdentitiesServiceClient(cc grpc.ClientConnInterface) ManagedIdentitiesServiceClient { 201 return src.NewManagedIdentitiesServiceClient(cc) 202 } 203 204 // Deprecated: Please use funcs in: cloud.google.com/go/managedidentities/apiv1/managedidentitiespb 205 func RegisterManagedIdentitiesServiceServer(s *grpc.Server, srv ManagedIdentitiesServiceServer) { 206 src.RegisterManagedIdentitiesServiceServer(s, srv) 207 } 208