| 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 iap aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/iap/apiv1/iappb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package iap |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/iap/apiv1/iappb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/iap/apiv1/iappb |
| 31 |
const ( |
| 32 |
ReauthSettings_DEFAULT = src.ReauthSettings_DEFAULT |
| 33 |
ReauthSettings_LOGIN = src.ReauthSettings_LOGIN |
| 34 |
ReauthSettings_METHOD_UNSPECIFIED = src.ReauthSettings_METHOD_UNSPECIFIED |
| 35 |
ReauthSettings_MINIMUM = src.ReauthSettings_MINIMUM |
| 36 |
ReauthSettings_PASSWORD = src.ReauthSettings_PASSWORD |
| 37 |
ReauthSettings_POLICY_TYPE_UNSPECIFIED = src.ReauthSettings_POLICY_TYPE_UNSPECIFIED |
| 38 |
ReauthSettings_SECURE_KEY = src.ReauthSettings_SECURE_KEY |
| 39 |
) |
| 40 |
|
| 41 |
// Deprecated: Please use vars in: cloud.google.com/go/iap/apiv1/iappb |
| 42 |
var ( |
| 43 |
File_google_cloud_iap_v1_service_proto = src.File_google_cloud_iap_v1_service_proto |
| 44 |
ReauthSettings_Method_name = src.ReauthSettings_Method_name |
| 45 |
ReauthSettings_Method_value = src.ReauthSettings_Method_value |
| 46 |
ReauthSettings_PolicyType_name = src.ReauthSettings_PolicyType_name |
| 47 |
ReauthSettings_PolicyType_value = src.ReauthSettings_PolicyType_value |
| 48 |
) |
| 49 |
|
| 50 |
// Custom content configuration for access denied page. IAP allows customers |
| 51 |
// to define a custom URI to use as the error page when access is denied to |
| 52 |
// users. If IAP prevents access to this page, the default IAP error page will |
| 53 |
// be displayed instead. |
| 54 |
// |
| 55 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 56 |
type AccessDeniedPageSettings = src.AccessDeniedPageSettings |
| 57 |
|
| 58 |
// Access related settings for IAP protected apps. |
| 59 |
// |
| 60 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 61 |
type AccessSettings = src.AccessSettings |
| 62 |
|
| 63 |
// Wrapper over application specific settings for IAP. |
| 64 |
// |
| 65 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 66 |
type ApplicationSettings = src.ApplicationSettings |
| 67 |
|
| 68 |
// OAuth brand data. NOTE: Only contains a portion of the data that describes |
| 69 |
// a brand. |
| 70 |
// |
| 71 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 72 |
type Brand = src.Brand |
| 73 |
|
| 74 |
// Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS |
| 75 |
// call to bypass authentication and authorization. |
| 76 |
// |
| 77 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 78 |
type CorsSettings = src.CorsSettings |
| 79 |
|
| 80 |
// The request sent to CreateBrand. |
| 81 |
// |
| 82 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 83 |
type CreateBrandRequest = src.CreateBrandRequest |
| 84 |
|
| 85 |
// The request sent to CreateIdentityAwareProxyClient. |
| 86 |
// |
| 87 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 88 |
type CreateIdentityAwareProxyClientRequest = src.CreateIdentityAwareProxyClientRequest |
| 89 |
|
| 90 |
// The request to CreateTunnelDestGroup. |
| 91 |
// |
| 92 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 93 |
type CreateTunnelDestGroupRequest = src.CreateTunnelDestGroupRequest |
| 94 |
|
| 95 |
// Configuration for RCTokens generated for CSM workloads protected by IAP. |
| 96 |
// RCTokens are IAP generated JWTs that can be verified at the application. The |
| 97 |
// RCToken is primarily used for ISTIO deployments, and can be scoped to a |
| 98 |
// single mesh by configuring the audience field accordingly |
| 99 |
// |
| 100 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 101 |
type CsmSettings = src.CsmSettings |
| 102 |
|
| 103 |
// The request sent to DeleteIdentityAwareProxyClient. |
| 104 |
// |
| 105 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 106 |
type DeleteIdentityAwareProxyClientRequest = src.DeleteIdentityAwareProxyClientRequest |
| 107 |
|
| 108 |
// The request to DeleteTunnelDestGroup. |
| 109 |
// |
| 110 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 111 |
type DeleteTunnelDestGroupRequest = src.DeleteTunnelDestGroupRequest |
| 112 |
|
| 113 |
// Allows customers to configure tenant_id for GCIP instance per-app. |
| 114 |
// |
| 115 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 116 |
type GcipSettings = src.GcipSettings |
| 117 |
|
| 118 |
// The request sent to GetBrand. |
| 119 |
// |
| 120 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 121 |
type GetBrandRequest = src.GetBrandRequest |
| 122 |
|
| 123 |
// The request sent to GetIapSettings. |
| 124 |
// |
| 125 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 126 |
type GetIapSettingsRequest = src.GetIapSettingsRequest |
| 127 |
|
| 128 |
// The request sent to GetIdentityAwareProxyClient. |
| 129 |
// |
| 130 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 131 |
type GetIdentityAwareProxyClientRequest = src.GetIdentityAwareProxyClientRequest |
| 132 |
|
| 133 |
// The request to GetTunnelDestGroup. |
| 134 |
// |
| 135 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 136 |
type GetTunnelDestGroupRequest = src.GetTunnelDestGroupRequest |
| 137 |
|
| 138 |
// The IAP configurable settings. |
| 139 |
// |
| 140 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 141 |
type IapSettings = src.IapSettings |
| 142 |
|
| 143 |
// IdentityAwareProxyAdminServiceClient is the client API for |
| 144 |
// IdentityAwareProxyAdminService service. For semantics around ctx use and |
| 145 |
// closing/ending streaming RPCs, please refer to |
| 146 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 147 |
// |
| 148 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 149 |
type IdentityAwareProxyAdminServiceClient = src.IdentityAwareProxyAdminServiceClient |
| 150 |
|
| 151 |
// IdentityAwareProxyAdminServiceServer is the server API for |
| 152 |
// IdentityAwareProxyAdminService service. |
| 153 |
// |
| 154 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 155 |
type IdentityAwareProxyAdminServiceServer = src.IdentityAwareProxyAdminServiceServer |
| 156 |
|
| 157 |
// Contains the data that describes an Identity Aware Proxy owned client. |
| 158 |
// |
| 159 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 160 |
type IdentityAwareProxyClient = src.IdentityAwareProxyClient |
| 161 |
|
| 162 |
// IdentityAwareProxyOAuthServiceClient is the client API for |
| 163 |
// IdentityAwareProxyOAuthService service. For semantics around ctx use and |
| 164 |
// closing/ending streaming RPCs, please refer to |
| 165 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 166 |
// |
| 167 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 168 |
type IdentityAwareProxyOAuthServiceClient = src.IdentityAwareProxyOAuthServiceClient |
| 169 |
|
| 170 |
// IdentityAwareProxyOAuthServiceServer is the server API for |
| 171 |
// IdentityAwareProxyOAuthService service. |
| 172 |
// |
| 173 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 174 |
type IdentityAwareProxyOAuthServiceServer = src.IdentityAwareProxyOAuthServiceServer |
| 175 |
|
| 176 |
// The request sent to ListBrands. |
| 177 |
// |
| 178 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 179 |
type ListBrandsRequest = src.ListBrandsRequest |
| 180 |
|
| 181 |
// Response message for ListBrands. |
| 182 |
// |
| 183 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 184 |
type ListBrandsResponse = src.ListBrandsResponse |
| 185 |
|
| 186 |
// The request sent to ListIdentityAwareProxyClients. |
| 187 |
// |
| 188 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 189 |
type ListIdentityAwareProxyClientsRequest = src.ListIdentityAwareProxyClientsRequest |
| 190 |
|
| 191 |
// Response message for ListIdentityAwareProxyClients. |
| 192 |
// |
| 193 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 194 |
type ListIdentityAwareProxyClientsResponse = src.ListIdentityAwareProxyClientsResponse |
| 195 |
|
| 196 |
// The request to ListTunnelDestGroups. |
| 197 |
// |
| 198 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 199 |
type ListTunnelDestGroupsRequest = src.ListTunnelDestGroupsRequest |
| 200 |
|
| 201 |
// The response from ListTunnelDestGroups. |
| 202 |
// |
| 203 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 204 |
type ListTunnelDestGroupsResponse = src.ListTunnelDestGroupsResponse |
| 205 |
|
| 206 |
// Configuration for OAuth login&consent flow behavior as well as for OAuth |
| 207 |
// Credentials. |
| 208 |
// |
| 209 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 210 |
type OAuthSettings = src.OAuthSettings |
| 211 |
|
| 212 |
// Configuration for IAP reauthentication policies. |
| 213 |
// |
| 214 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 215 |
type ReauthSettings = src.ReauthSettings |
| 216 |
|
| 217 |
// Types of reauthentication methods supported by IAP. |
| 218 |
// |
| 219 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 220 |
type ReauthSettings_Method = src.ReauthSettings_Method |
| 221 |
|
| 222 |
// Type of policy in the case of hierarchial policies. |
| 223 |
// |
| 224 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 225 |
type ReauthSettings_PolicyType = src.ReauthSettings_PolicyType |
| 226 |
|
| 227 |
// The request sent to ResetIdentityAwareProxyClientSecret. |
| 228 |
// |
| 229 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 230 |
type ResetIdentityAwareProxyClientSecretRequest = src.ResetIdentityAwareProxyClientSecretRequest |
| 231 |
|
| 232 |
// A TunnelDestGroup. |
| 233 |
// |
| 234 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 235 |
type TunnelDestGroup = src.TunnelDestGroup |
| 236 |
|
| 237 |
// UnimplementedIdentityAwareProxyAdminServiceServer can be embedded to have |
| 238 |
// forward compatible implementations. |
| 239 |
// |
| 240 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 241 |
type UnimplementedIdentityAwareProxyAdminServiceServer = src.UnimplementedIdentityAwareProxyAdminServiceServer |
| 242 |
|
| 243 |
// UnimplementedIdentityAwareProxyOAuthServiceServer can be embedded to have |
| 244 |
// forward compatible implementations. |
| 245 |
// |
| 246 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 247 |
type UnimplementedIdentityAwareProxyOAuthServiceServer = src.UnimplementedIdentityAwareProxyOAuthServiceServer |
| 248 |
|
| 249 |
// The request sent to UpdateIapSettings. |
| 250 |
// |
| 251 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 252 |
type UpdateIapSettingsRequest = src.UpdateIapSettingsRequest |
| 253 |
|
| 254 |
// The request to UpdateTunnelDestGroup. |
| 255 |
// |
| 256 |
// Deprecated: Please use types in: cloud.google.com/go/iap/apiv1/iappb |
| 257 |
type UpdateTunnelDestGroupRequest = src.UpdateTunnelDestGroupRequest |
| 258 |
|
| 259 |
// Deprecated: Please use funcs in: cloud.google.com/go/iap/apiv1/iappb |
| 260 |
func NewIdentityAwareProxyAdminServiceClient(cc grpc.ClientConnInterface) IdentityAwareProxyAdminServiceClient { |
| 261 |
return src.NewIdentityAwareProxyAdminServiceClient(cc) |
| 262 |
} |
| 263 |
|
| 264 |
// Deprecated: Please use funcs in: cloud.google.com/go/iap/apiv1/iappb |
| 265 |
func NewIdentityAwareProxyOAuthServiceClient(cc grpc.ClientConnInterface) IdentityAwareProxyOAuthServiceClient { |
| 266 |
return src.NewIdentityAwareProxyOAuthServiceClient(cc) |
| 267 |
} |
| 268 |
|
| 269 |
// Deprecated: Please use funcs in: cloud.google.com/go/iap/apiv1/iappb |
| 270 |
func RegisterIdentityAwareProxyAdminServiceServer(s *grpc.Server, srv IdentityAwareProxyAdminServiceServer) { |
| 271 |
src.RegisterIdentityAwareProxyAdminServiceServer(s, srv) |
| 272 |
} |
| 273 |
|
| 274 |
// Deprecated: Please use funcs in: cloud.google.com/go/iap/apiv1/iappb |
| 275 |
func RegisterIdentityAwareProxyOAuthServiceServer(s *grpc.Server, srv IdentityAwareProxyOAuthServiceServer) { |
| 276 |
src.RegisterIdentityAwareProxyOAuthServiceServer(s, srv) |
| 277 |
} |