| 1 | { |
| 2 | "clientLibrary": { |
| 3 | "name": "cloud.google.com/go/iap/apiv1", |
| 4 | "version": "1.11.2", |
| 5 | "language": "GO", |
| 6 | "apis": [ |
| 7 | { |
| 8 | "id": "google.cloud.iap.v1", |
| 9 | "version": "v1" |
| 10 | } |
| 11 | ] |
| 12 | }, |
| 13 | "snippets": [ |
| 14 | { |
| 15 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_CreateTunnelDestGroup_sync", |
| 16 | "title": "iap CreateTunnelDestGroup Sample", |
| 17 | "description": "CreateTunnelDestGroup creates a new TunnelDestGroup.", |
| 18 | "file": "IdentityAwareProxyAdminClient/CreateTunnelDestGroup/main.go", |
| 19 | "language": "GO", |
| 20 | "clientMethod": { |
| 21 | "shortName": "CreateTunnelDestGroup", |
| 22 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.CreateTunnelDestGroup", |
| 23 | "parameters": [ |
| 24 | { |
| 25 | "type": "context.Context", |
| 26 | "name": "ctx" |
| 27 | }, |
| 28 | { |
| 29 | "type": "iappb.CreateTunnelDestGroupRequest", |
| 30 | "name": "req" |
| 31 | }, |
| 32 | { |
| 33 | "type": "...gax.CallOption", |
| 34 | "name": "opts" |
| 35 | } |
| 36 | ], |
| 37 | "resultType": "*iappb.TunnelDestGroup", |
| 38 | "client": { |
| 39 | "shortName": "IdentityAwareProxyAdminClient", |
| 40 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 41 | }, |
| 42 | "method": { |
| 43 | "shortName": "CreateTunnelDestGroup", |
| 44 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.CreateTunnelDestGroup", |
| 45 | "service": { |
| 46 | "shortName": "IdentityAwareProxyAdminService", |
| 47 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 48 | } |
| 49 | } |
| 50 | }, |
| 51 | "origin": "API_DEFINITION", |
| 52 | "segments": [ |
| 53 | { |
| 54 | "start": 18, |
| 55 | "end": 53, |
| 56 | "type": "FULL" |
| 57 | } |
| 58 | ] |
| 59 | }, |
| 60 | { |
| 61 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_DeleteTunnelDestGroup_sync", |
| 62 | "title": "iap DeleteTunnelDestGroup Sample", |
| 63 | "description": "DeleteTunnelDestGroup deletes a TunnelDestGroup.", |
| 64 | "file": "IdentityAwareProxyAdminClient/DeleteTunnelDestGroup/main.go", |
| 65 | "language": "GO", |
| 66 | "clientMethod": { |
| 67 | "shortName": "DeleteTunnelDestGroup", |
| 68 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.DeleteTunnelDestGroup", |
| 69 | "parameters": [ |
| 70 | { |
| 71 | "type": "context.Context", |
| 72 | "name": "ctx" |
| 73 | }, |
| 74 | { |
| 75 | "type": "iappb.DeleteTunnelDestGroupRequest", |
| 76 | "name": "req" |
| 77 | }, |
| 78 | { |
| 79 | "type": "...gax.CallOption", |
| 80 | "name": "opts" |
| 81 | } |
| 82 | ], |
| 83 | "client": { |
| 84 | "shortName": "IdentityAwareProxyAdminClient", |
| 85 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 86 | }, |
| 87 | "method": { |
| 88 | "shortName": "DeleteTunnelDestGroup", |
| 89 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.DeleteTunnelDestGroup", |
| 90 | "service": { |
| 91 | "shortName": "IdentityAwareProxyAdminService", |
| 92 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 93 | } |
| 94 | } |
| 95 | }, |
| 96 | "origin": "API_DEFINITION", |
| 97 | "segments": [ |
| 98 | { |
| 99 | "start": 18, |
| 100 | "end": 51, |
| 101 | "type": "FULL" |
| 102 | } |
| 103 | ] |
| 104 | }, |
| 105 | { |
| 106 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetIamPolicy_sync", |
| 107 | "title": "iap GetIamPolicy Sample", |
| 108 | "description": "GetIamPolicy gets the access control policy for an Identity-Aware Proxy protected\nresource.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", |
| 109 | "file": "IdentityAwareProxyAdminClient/GetIamPolicy/main.go", |
| 110 | "language": "GO", |
| 111 | "clientMethod": { |
| 112 | "shortName": "GetIamPolicy", |
| 113 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.GetIamPolicy", |
| 114 | "parameters": [ |
| 115 | { |
| 116 | "type": "context.Context", |
| 117 | "name": "ctx" |
| 118 | }, |
| 119 | { |
| 120 | "type": "iampb.GetIamPolicyRequest", |
| 121 | "name": "req" |
| 122 | }, |
| 123 | { |
| 124 | "type": "...gax.CallOption", |
| 125 | "name": "opts" |
| 126 | } |
| 127 | ], |
| 128 | "resultType": "*iampb.Policy", |
| 129 | "client": { |
| 130 | "shortName": "IdentityAwareProxyAdminClient", |
| 131 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 132 | }, |
| 133 | "method": { |
| 134 | "shortName": "GetIamPolicy", |
| 135 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIamPolicy", |
| 136 | "service": { |
| 137 | "shortName": "IdentityAwareProxyAdminService", |
| 138 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 139 | } |
| 140 | } |
| 141 | }, |
| 142 | "origin": "API_DEFINITION", |
| 143 | "segments": [ |
| 144 | { |
| 145 | "start": 18, |
| 146 | "end": 53, |
| 147 | "type": "FULL" |
| 148 | } |
| 149 | ] |
| 150 | }, |
| 151 | { |
| 152 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetIapSettings_sync", |
| 153 | "title": "iap GetIapSettings Sample", |
| 154 | "description": "GetIapSettings gets the IAP settings on a particular IAP protected resource.", |
| 155 | "file": "IdentityAwareProxyAdminClient/GetIapSettings/main.go", |
| 156 | "language": "GO", |
| 157 | "clientMethod": { |
| 158 | "shortName": "GetIapSettings", |
| 159 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.GetIapSettings", |
| 160 | "parameters": [ |
| 161 | { |
| 162 | "type": "context.Context", |
| 163 | "name": "ctx" |
| 164 | }, |
| 165 | { |
| 166 | "type": "iappb.GetIapSettingsRequest", |
| 167 | "name": "req" |
| 168 | }, |
| 169 | { |
| 170 | "type": "...gax.CallOption", |
| 171 | "name": "opts" |
| 172 | } |
| 173 | ], |
| 174 | "resultType": "*iappb.IapSettings", |
| 175 | "client": { |
| 176 | "shortName": "IdentityAwareProxyAdminClient", |
| 177 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 178 | }, |
| 179 | "method": { |
| 180 | "shortName": "GetIapSettings", |
| 181 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIapSettings", |
| 182 | "service": { |
| 183 | "shortName": "IdentityAwareProxyAdminService", |
| 184 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 185 | } |
| 186 | } |
| 187 | }, |
| 188 | "origin": "API_DEFINITION", |
| 189 | "segments": [ |
| 190 | { |
| 191 | "start": 18, |
| 192 | "end": 53, |
| 193 | "type": "FULL" |
| 194 | } |
| 195 | ] |
| 196 | }, |
| 197 | { |
| 198 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_GetTunnelDestGroup_sync", |
| 199 | "title": "iap GetTunnelDestGroup Sample", |
| 200 | "description": "GetTunnelDestGroup retrieves an existing TunnelDestGroup.", |
| 201 | "file": "IdentityAwareProxyAdminClient/GetTunnelDestGroup/main.go", |
| 202 | "language": "GO", |
| 203 | "clientMethod": { |
| 204 | "shortName": "GetTunnelDestGroup", |
| 205 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.GetTunnelDestGroup", |
| 206 | "parameters": [ |
| 207 | { |
| 208 | "type": "context.Context", |
| 209 | "name": "ctx" |
| 210 | }, |
| 211 | { |
| 212 | "type": "iappb.GetTunnelDestGroupRequest", |
| 213 | "name": "req" |
| 214 | }, |
| 215 | { |
| 216 | "type": "...gax.CallOption", |
| 217 | "name": "opts" |
| 218 | } |
| 219 | ], |
| 220 | "resultType": "*iappb.TunnelDestGroup", |
| 221 | "client": { |
| 222 | "shortName": "IdentityAwareProxyAdminClient", |
| 223 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 224 | }, |
| 225 | "method": { |
| 226 | "shortName": "GetTunnelDestGroup", |
| 227 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetTunnelDestGroup", |
| 228 | "service": { |
| 229 | "shortName": "IdentityAwareProxyAdminService", |
| 230 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 231 | } |
| 232 | } |
| 233 | }, |
| 234 | "origin": "API_DEFINITION", |
| 235 | "segments": [ |
| 236 | { |
| 237 | "start": 18, |
| 238 | "end": 53, |
| 239 | "type": "FULL" |
| 240 | } |
| 241 | ] |
| 242 | }, |
| 243 | { |
| 244 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_ListTunnelDestGroups_sync", |
| 245 | "title": "iap ListTunnelDestGroups Sample", |
| 246 | "description": "ListTunnelDestGroups lists the existing TunnelDestGroups. To group across all locations, use a\n`-` as the location ID. For example: \n`/v1/projects/123/iap_tunnel/locations/-/destGroups`", |
| 247 | "file": "IdentityAwareProxyAdminClient/ListTunnelDestGroups/main.go", |
| 248 | "language": "GO", |
| 249 | "clientMethod": { |
| 250 | "shortName": "ListTunnelDestGroups", |
| 251 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.ListTunnelDestGroups", |
| 252 | "parameters": [ |
| 253 | { |
| 254 | "type": "context.Context", |
| 255 | "name": "ctx" |
| 256 | }, |
| 257 | { |
| 258 | "type": "iappb.ListTunnelDestGroupsRequest", |
| 259 | "name": "req" |
| 260 | }, |
| 261 | { |
| 262 | "type": "...gax.CallOption", |
| 263 | "name": "opts" |
| 264 | } |
| 265 | ], |
| 266 | "resultType": "TunnelDestGroupIterator", |
| 267 | "client": { |
| 268 | "shortName": "IdentityAwareProxyAdminClient", |
| 269 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 270 | }, |
| 271 | "method": { |
| 272 | "shortName": "ListTunnelDestGroups", |
| 273 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ListTunnelDestGroups", |
| 274 | "service": { |
| 275 | "shortName": "IdentityAwareProxyAdminService", |
| 276 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 277 | } |
| 278 | } |
| 279 | }, |
| 280 | "origin": "API_DEFINITION", |
| 281 | "segments": [ |
| 282 | { |
| 283 | "start": 18, |
| 284 | "end": 66, |
| 285 | "type": "FULL" |
| 286 | } |
| 287 | ] |
| 288 | }, |
| 289 | { |
| 290 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_SetIamPolicy_sync", |
| 291 | "title": "iap SetIamPolicy Sample", |
| 292 | "description": "SetIamPolicy sets the access control policy for an Identity-Aware Proxy protected\nresource. Replaces any existing policy.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", |
| 293 | "file": "IdentityAwareProxyAdminClient/SetIamPolicy/main.go", |
| 294 | "language": "GO", |
| 295 | "clientMethod": { |
| 296 | "shortName": "SetIamPolicy", |
| 297 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.SetIamPolicy", |
| 298 | "parameters": [ |
| 299 | { |
| 300 | "type": "context.Context", |
| 301 | "name": "ctx" |
| 302 | }, |
| 303 | { |
| 304 | "type": "iampb.SetIamPolicyRequest", |
| 305 | "name": "req" |
| 306 | }, |
| 307 | { |
| 308 | "type": "...gax.CallOption", |
| 309 | "name": "opts" |
| 310 | } |
| 311 | ], |
| 312 | "resultType": "*iampb.Policy", |
| 313 | "client": { |
| 314 | "shortName": "IdentityAwareProxyAdminClient", |
| 315 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 316 | }, |
| 317 | "method": { |
| 318 | "shortName": "SetIamPolicy", |
| 319 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.SetIamPolicy", |
| 320 | "service": { |
| 321 | "shortName": "IdentityAwareProxyAdminService", |
| 322 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 323 | } |
| 324 | } |
| 325 | }, |
| 326 | "origin": "API_DEFINITION", |
| 327 | "segments": [ |
| 328 | { |
| 329 | "start": 18, |
| 330 | "end": 53, |
| 331 | "type": "FULL" |
| 332 | } |
| 333 | ] |
| 334 | }, |
| 335 | { |
| 336 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_TestIamPermissions_sync", |
| 337 | "title": "iap TestIamPermissions Sample", |
| 338 | "description": "TestIamPermissions returns permissions that a caller has on the Identity-Aware Proxy protected\nresource.\nMore information about managing access via IAP can be found at: \nhttps: //cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", |
| 339 | "file": "IdentityAwareProxyAdminClient/TestIamPermissions/main.go", |
| 340 | "language": "GO", |
| 341 | "clientMethod": { |
| 342 | "shortName": "TestIamPermissions", |
| 343 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.TestIamPermissions", |
| 344 | "parameters": [ |
| 345 | { |
| 346 | "type": "context.Context", |
| 347 | "name": "ctx" |
| 348 | }, |
| 349 | { |
| 350 | "type": "iampb.TestIamPermissionsRequest", |
| 351 | "name": "req" |
| 352 | }, |
| 353 | { |
| 354 | "type": "...gax.CallOption", |
| 355 | "name": "opts" |
| 356 | } |
| 357 | ], |
| 358 | "resultType": "*iampb.TestIamPermissionsResponse", |
| 359 | "client": { |
| 360 | "shortName": "IdentityAwareProxyAdminClient", |
| 361 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 362 | }, |
| 363 | "method": { |
| 364 | "shortName": "TestIamPermissions", |
| 365 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.TestIamPermissions", |
| 366 | "service": { |
| 367 | "shortName": "IdentityAwareProxyAdminService", |
| 368 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 369 | } |
| 370 | } |
| 371 | }, |
| 372 | "origin": "API_DEFINITION", |
| 373 | "segments": [ |
| 374 | { |
| 375 | "start": 18, |
| 376 | "end": 53, |
| 377 | "type": "FULL" |
| 378 | } |
| 379 | ] |
| 380 | }, |
| 381 | { |
| 382 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_UpdateIapSettings_sync", |
| 383 | "title": "iap UpdateIapSettings Sample", |
| 384 | "description": "UpdateIapSettings updates the IAP settings on a particular IAP protected resource. It\nreplaces all fields unless the `update_mask` is set.", |
| 385 | "file": "IdentityAwareProxyAdminClient/UpdateIapSettings/main.go", |
| 386 | "language": "GO", |
| 387 | "clientMethod": { |
| 388 | "shortName": "UpdateIapSettings", |
| 389 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.UpdateIapSettings", |
| 390 | "parameters": [ |
| 391 | { |
| 392 | "type": "context.Context", |
| 393 | "name": "ctx" |
| 394 | }, |
| 395 | { |
| 396 | "type": "iappb.UpdateIapSettingsRequest", |
| 397 | "name": "req" |
| 398 | }, |
| 399 | { |
| 400 | "type": "...gax.CallOption", |
| 401 | "name": "opts" |
| 402 | } |
| 403 | ], |
| 404 | "resultType": "*iappb.IapSettings", |
| 405 | "client": { |
| 406 | "shortName": "IdentityAwareProxyAdminClient", |
| 407 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 408 | }, |
| 409 | "method": { |
| 410 | "shortName": "UpdateIapSettings", |
| 411 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateIapSettings", |
| 412 | "service": { |
| 413 | "shortName": "IdentityAwareProxyAdminService", |
| 414 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 415 | } |
| 416 | } |
| 417 | }, |
| 418 | "origin": "API_DEFINITION", |
| 419 | "segments": [ |
| 420 | { |
| 421 | "start": 18, |
| 422 | "end": 53, |
| 423 | "type": "FULL" |
| 424 | } |
| 425 | ] |
| 426 | }, |
| 427 | { |
| 428 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_UpdateTunnelDestGroup_sync", |
| 429 | "title": "iap UpdateTunnelDestGroup Sample", |
| 430 | "description": "UpdateTunnelDestGroup updates a TunnelDestGroup.", |
| 431 | "file": "IdentityAwareProxyAdminClient/UpdateTunnelDestGroup/main.go", |
| 432 | "language": "GO", |
| 433 | "clientMethod": { |
| 434 | "shortName": "UpdateTunnelDestGroup", |
| 435 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.UpdateTunnelDestGroup", |
| 436 | "parameters": [ |
| 437 | { |
| 438 | "type": "context.Context", |
| 439 | "name": "ctx" |
| 440 | }, |
| 441 | { |
| 442 | "type": "iappb.UpdateTunnelDestGroupRequest", |
| 443 | "name": "req" |
| 444 | }, |
| 445 | { |
| 446 | "type": "...gax.CallOption", |
| 447 | "name": "opts" |
| 448 | } |
| 449 | ], |
| 450 | "resultType": "*iappb.TunnelDestGroup", |
| 451 | "client": { |
| 452 | "shortName": "IdentityAwareProxyAdminClient", |
| 453 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 454 | }, |
| 455 | "method": { |
| 456 | "shortName": "UpdateTunnelDestGroup", |
| 457 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateTunnelDestGroup", |
| 458 | "service": { |
| 459 | "shortName": "IdentityAwareProxyAdminService", |
| 460 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 461 | } |
| 462 | } |
| 463 | }, |
| 464 | "origin": "API_DEFINITION", |
| 465 | "segments": [ |
| 466 | { |
| 467 | "start": 18, |
| 468 | "end": 53, |
| 469 | "type": "FULL" |
| 470 | } |
| 471 | ] |
| 472 | }, |
| 473 | { |
| 474 | "regionTag": "iap_v1_generated_IdentityAwareProxyAdminService_ValidateIapAttributeExpression_sync", |
| 475 | "title": "iap ValidateIapAttributeExpression Sample", |
| 476 | "description": "ValidateIapAttributeExpression validates that a given CEL expression conforms to IAP restrictions.", |
| 477 | "file": "IdentityAwareProxyAdminClient/ValidateIapAttributeExpression/main.go", |
| 478 | "language": "GO", |
| 479 | "clientMethod": { |
| 480 | "shortName": "ValidateIapAttributeExpression", |
| 481 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient.ValidateIapAttributeExpression", |
| 482 | "parameters": [ |
| 483 | { |
| 484 | "type": "context.Context", |
| 485 | "name": "ctx" |
| 486 | }, |
| 487 | { |
| 488 | "type": "iappb.ValidateIapAttributeExpressionRequest", |
| 489 | "name": "req" |
| 490 | }, |
| 491 | { |
| 492 | "type": "...gax.CallOption", |
| 493 | "name": "opts" |
| 494 | } |
| 495 | ], |
| 496 | "resultType": "*iappb.ValidateIapAttributeExpressionResponse", |
| 497 | "client": { |
| 498 | "shortName": "IdentityAwareProxyAdminClient", |
| 499 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminClient" |
| 500 | }, |
| 501 | "method": { |
| 502 | "shortName": "ValidateIapAttributeExpression", |
| 503 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ValidateIapAttributeExpression", |
| 504 | "service": { |
| 505 | "shortName": "IdentityAwareProxyAdminService", |
| 506 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService" |
| 507 | } |
| 508 | } |
| 509 | }, |
| 510 | "origin": "API_DEFINITION", |
| 511 | "segments": [ |
| 512 | { |
| 513 | "start": 18, |
| 514 | "end": 53, |
| 515 | "type": "FULL" |
| 516 | } |
| 517 | ] |
| 518 | }, |
| 519 | { |
| 520 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_CreateBrand_sync", |
| 521 | "title": "iap CreateBrand Sample", |
| 522 | "description": "CreateBrand constructs a new OAuth brand for the project if one does not exist.\nThe created brand is \"internal only\", meaning that OAuth clients created\nunder it only accept requests from users who belong to the same Google\nWorkspace organization as the project. The brand is created in an\nun-reviewed status. NOTE: The \"internal only\" status can be manually\nchanged in the Google Cloud Console. Requires that a brand does not already\nexist for the project, and that the specified support email is owned by the\ncaller.", |
| 523 | "file": "IdentityAwareProxyOAuthClient/CreateBrand/main.go", |
| 524 | "language": "GO", |
| 525 | "clientMethod": { |
| 526 | "shortName": "CreateBrand", |
| 527 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.CreateBrand", |
| 528 | "parameters": [ |
| 529 | { |
| 530 | "type": "context.Context", |
| 531 | "name": "ctx" |
| 532 | }, |
| 533 | { |
| 534 | "type": "iappb.CreateBrandRequest", |
| 535 | "name": "req" |
| 536 | }, |
| 537 | { |
| 538 | "type": "...gax.CallOption", |
| 539 | "name": "opts" |
| 540 | } |
| 541 | ], |
| 542 | "resultType": "*iappb.Brand", |
| 543 | "client": { |
| 544 | "shortName": "IdentityAwareProxyOAuthClient", |
| 545 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 546 | }, |
| 547 | "method": { |
| 548 | "shortName": "CreateBrand", |
| 549 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateBrand", |
| 550 | "service": { |
| 551 | "shortName": "IdentityAwareProxyOAuthService", |
| 552 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 553 | } |
| 554 | } |
| 555 | }, |
| 556 | "origin": "API_DEFINITION", |
| 557 | "segments": [ |
| 558 | { |
| 559 | "start": 18, |
| 560 | "end": 53, |
| 561 | "type": "FULL" |
| 562 | } |
| 563 | ] |
| 564 | }, |
| 565 | { |
| 566 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_CreateIdentityAwareProxyClient_sync", |
| 567 | "title": "iap CreateIdentityAwareProxyClient Sample", |
| 568 | "description": "CreateIdentityAwareProxyClient creates an Identity Aware Proxy (IAP) OAuth client. The client is owned\nby IAP. Requires that the brand for the project exists and that it is\nset for internal-only use.", |
| 569 | "file": "IdentityAwareProxyOAuthClient/CreateIdentityAwareProxyClient/main.go", |
| 570 | "language": "GO", |
| 571 | "clientMethod": { |
| 572 | "shortName": "CreateIdentityAwareProxyClient", |
| 573 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.CreateIdentityAwareProxyClient", |
| 574 | "parameters": [ |
| 575 | { |
| 576 | "type": "context.Context", |
| 577 | "name": "ctx" |
| 578 | }, |
| 579 | { |
| 580 | "type": "iappb.CreateIdentityAwareProxyClientRequest", |
| 581 | "name": "req" |
| 582 | }, |
| 583 | { |
| 584 | "type": "...gax.CallOption", |
| 585 | "name": "opts" |
| 586 | } |
| 587 | ], |
| 588 | "resultType": "*iappb.IdentityAwareProxyClient", |
| 589 | "client": { |
| 590 | "shortName": "IdentityAwareProxyOAuthClient", |
| 591 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 592 | }, |
| 593 | "method": { |
| 594 | "shortName": "CreateIdentityAwareProxyClient", |
| 595 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateIdentityAwareProxyClient", |
| 596 | "service": { |
| 597 | "shortName": "IdentityAwareProxyOAuthService", |
| 598 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 599 | } |
| 600 | } |
| 601 | }, |
| 602 | "origin": "API_DEFINITION", |
| 603 | "segments": [ |
| 604 | { |
| 605 | "start": 18, |
| 606 | "end": 53, |
| 607 | "type": "FULL" |
| 608 | } |
| 609 | ] |
| 610 | }, |
| 611 | { |
| 612 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_DeleteIdentityAwareProxyClient_sync", |
| 613 | "title": "iap DeleteIdentityAwareProxyClient Sample", |
| 614 | "description": "DeleteIdentityAwareProxyClient deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing\nobsolete clients, managing the number of clients in a given project, and\ncleaning up after tests. Requires that the client is owned by IAP.", |
| 615 | "file": "IdentityAwareProxyOAuthClient/DeleteIdentityAwareProxyClient/main.go", |
| 616 | "language": "GO", |
| 617 | "clientMethod": { |
| 618 | "shortName": "DeleteIdentityAwareProxyClient", |
| 619 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.DeleteIdentityAwareProxyClient", |
| 620 | "parameters": [ |
| 621 | { |
| 622 | "type": "context.Context", |
| 623 | "name": "ctx" |
| 624 | }, |
| 625 | { |
| 626 | "type": "iappb.DeleteIdentityAwareProxyClientRequest", |
| 627 | "name": "req" |
| 628 | }, |
| 629 | { |
| 630 | "type": "...gax.CallOption", |
| 631 | "name": "opts" |
| 632 | } |
| 633 | ], |
| 634 | "client": { |
| 635 | "shortName": "IdentityAwareProxyOAuthClient", |
| 636 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 637 | }, |
| 638 | "method": { |
| 639 | "shortName": "DeleteIdentityAwareProxyClient", |
| 640 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.DeleteIdentityAwareProxyClient", |
| 641 | "service": { |
| 642 | "shortName": "IdentityAwareProxyOAuthService", |
| 643 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 644 | } |
| 645 | } |
| 646 | }, |
| 647 | "origin": "API_DEFINITION", |
| 648 | "segments": [ |
| 649 | { |
| 650 | "start": 18, |
| 651 | "end": 51, |
| 652 | "type": "FULL" |
| 653 | } |
| 654 | ] |
| 655 | }, |
| 656 | { |
| 657 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_GetBrand_sync", |
| 658 | "title": "iap GetBrand Sample", |
| 659 | "description": "GetBrand retrieves the OAuth brand of the project.", |
| 660 | "file": "IdentityAwareProxyOAuthClient/GetBrand/main.go", |
| 661 | "language": "GO", |
| 662 | "clientMethod": { |
| 663 | "shortName": "GetBrand", |
| 664 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.GetBrand", |
| 665 | "parameters": [ |
| 666 | { |
| 667 | "type": "context.Context", |
| 668 | "name": "ctx" |
| 669 | }, |
| 670 | { |
| 671 | "type": "iappb.GetBrandRequest", |
| 672 | "name": "req" |
| 673 | }, |
| 674 | { |
| 675 | "type": "...gax.CallOption", |
| 676 | "name": "opts" |
| 677 | } |
| 678 | ], |
| 679 | "resultType": "*iappb.Brand", |
| 680 | "client": { |
| 681 | "shortName": "IdentityAwareProxyOAuthClient", |
| 682 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 683 | }, |
| 684 | "method": { |
| 685 | "shortName": "GetBrand", |
| 686 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetBrand", |
| 687 | "service": { |
| 688 | "shortName": "IdentityAwareProxyOAuthService", |
| 689 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 690 | } |
| 691 | } |
| 692 | }, |
| 693 | "origin": "API_DEFINITION", |
| 694 | "segments": [ |
| 695 | { |
| 696 | "start": 18, |
| 697 | "end": 53, |
| 698 | "type": "FULL" |
| 699 | } |
| 700 | ] |
| 701 | }, |
| 702 | { |
| 703 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_GetIdentityAwareProxyClient_sync", |
| 704 | "title": "iap GetIdentityAwareProxyClient Sample", |
| 705 | "description": "GetIdentityAwareProxyClient retrieves an Identity Aware Proxy (IAP) OAuth client.\nRequires that the client is owned by IAP.", |
| 706 | "file": "IdentityAwareProxyOAuthClient/GetIdentityAwareProxyClient/main.go", |
| 707 | "language": "GO", |
| 708 | "clientMethod": { |
| 709 | "shortName": "GetIdentityAwareProxyClient", |
| 710 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.GetIdentityAwareProxyClient", |
| 711 | "parameters": [ |
| 712 | { |
| 713 | "type": "context.Context", |
| 714 | "name": "ctx" |
| 715 | }, |
| 716 | { |
| 717 | "type": "iappb.GetIdentityAwareProxyClientRequest", |
| 718 | "name": "req" |
| 719 | }, |
| 720 | { |
| 721 | "type": "...gax.CallOption", |
| 722 | "name": "opts" |
| 723 | } |
| 724 | ], |
| 725 | "resultType": "*iappb.IdentityAwareProxyClient", |
| 726 | "client": { |
| 727 | "shortName": "IdentityAwareProxyOAuthClient", |
| 728 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 729 | }, |
| 730 | "method": { |
| 731 | "shortName": "GetIdentityAwareProxyClient", |
| 732 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetIdentityAwareProxyClient", |
| 733 | "service": { |
| 734 | "shortName": "IdentityAwareProxyOAuthService", |
| 735 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 736 | } |
| 737 | } |
| 738 | }, |
| 739 | "origin": "API_DEFINITION", |
| 740 | "segments": [ |
| 741 | { |
| 742 | "start": 18, |
| 743 | "end": 53, |
| 744 | "type": "FULL" |
| 745 | } |
| 746 | ] |
| 747 | }, |
| 748 | { |
| 749 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ListBrands_sync", |
| 750 | "title": "iap ListBrands Sample", |
| 751 | "description": "ListBrands lists the existing brands for the project.", |
| 752 | "file": "IdentityAwareProxyOAuthClient/ListBrands/main.go", |
| 753 | "language": "GO", |
| 754 | "clientMethod": { |
| 755 | "shortName": "ListBrands", |
| 756 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.ListBrands", |
| 757 | "parameters": [ |
| 758 | { |
| 759 | "type": "context.Context", |
| 760 | "name": "ctx" |
| 761 | }, |
| 762 | { |
| 763 | "type": "iappb.ListBrandsRequest", |
| 764 | "name": "req" |
| 765 | }, |
| 766 | { |
| 767 | "type": "...gax.CallOption", |
| 768 | "name": "opts" |
| 769 | } |
| 770 | ], |
| 771 | "resultType": "*iappb.ListBrandsResponse", |
| 772 | "client": { |
| 773 | "shortName": "IdentityAwareProxyOAuthClient", |
| 774 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 775 | }, |
| 776 | "method": { |
| 777 | "shortName": "ListBrands", |
| 778 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListBrands", |
| 779 | "service": { |
| 780 | "shortName": "IdentityAwareProxyOAuthService", |
| 781 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 782 | } |
| 783 | } |
| 784 | }, |
| 785 | "origin": "API_DEFINITION", |
| 786 | "segments": [ |
| 787 | { |
| 788 | "start": 18, |
| 789 | "end": 53, |
| 790 | "type": "FULL" |
| 791 | } |
| 792 | ] |
| 793 | }, |
| 794 | { |
| 795 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ListIdentityAwareProxyClients_sync", |
| 796 | "title": "iap ListIdentityAwareProxyClients Sample", |
| 797 | "description": "ListIdentityAwareProxyClients lists the existing clients for the brand.", |
| 798 | "file": "IdentityAwareProxyOAuthClient/ListIdentityAwareProxyClients/main.go", |
| 799 | "language": "GO", |
| 800 | "clientMethod": { |
| 801 | "shortName": "ListIdentityAwareProxyClients", |
| 802 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.ListIdentityAwareProxyClients", |
| 803 | "parameters": [ |
| 804 | { |
| 805 | "type": "context.Context", |
| 806 | "name": "ctx" |
| 807 | }, |
| 808 | { |
| 809 | "type": "iappb.ListIdentityAwareProxyClientsRequest", |
| 810 | "name": "req" |
| 811 | }, |
| 812 | { |
| 813 | "type": "...gax.CallOption", |
| 814 | "name": "opts" |
| 815 | } |
| 816 | ], |
| 817 | "resultType": "IdentityAwareProxyClientIterator", |
| 818 | "client": { |
| 819 | "shortName": "IdentityAwareProxyOAuthClient", |
| 820 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 821 | }, |
| 822 | "method": { |
| 823 | "shortName": "ListIdentityAwareProxyClients", |
| 824 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListIdentityAwareProxyClients", |
| 825 | "service": { |
| 826 | "shortName": "IdentityAwareProxyOAuthService", |
| 827 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 828 | } |
| 829 | } |
| 830 | }, |
| 831 | "origin": "API_DEFINITION", |
| 832 | "segments": [ |
| 833 | { |
| 834 | "start": 18, |
| 835 | "end": 66, |
| 836 | "type": "FULL" |
| 837 | } |
| 838 | ] |
| 839 | }, |
| 840 | { |
| 841 | "regionTag": "iap_v1_generated_IdentityAwareProxyOAuthService_ResetIdentityAwareProxyClientSecret_sync", |
| 842 | "title": "iap ResetIdentityAwareProxyClientSecret Sample", |
| 843 | "description": "ResetIdentityAwareProxyClientSecret resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the\nsecret was compromised. Requires that the client is owned by IAP.", |
| 844 | "file": "IdentityAwareProxyOAuthClient/ResetIdentityAwareProxyClientSecret/main.go", |
| 845 | "language": "GO", |
| 846 | "clientMethod": { |
| 847 | "shortName": "ResetIdentityAwareProxyClientSecret", |
| 848 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient.ResetIdentityAwareProxyClientSecret", |
| 849 | "parameters": [ |
| 850 | { |
| 851 | "type": "context.Context", |
| 852 | "name": "ctx" |
| 853 | }, |
| 854 | { |
| 855 | "type": "iappb.ResetIdentityAwareProxyClientSecretRequest", |
| 856 | "name": "req" |
| 857 | }, |
| 858 | { |
| 859 | "type": "...gax.CallOption", |
| 860 | "name": "opts" |
| 861 | } |
| 862 | ], |
| 863 | "resultType": "*iappb.IdentityAwareProxyClient", |
| 864 | "client": { |
| 865 | "shortName": "IdentityAwareProxyOAuthClient", |
| 866 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthClient" |
| 867 | }, |
| 868 | "method": { |
| 869 | "shortName": "ResetIdentityAwareProxyClientSecret", |
| 870 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ResetIdentityAwareProxyClientSecret", |
| 871 | "service": { |
| 872 | "shortName": "IdentityAwareProxyOAuthService", |
| 873 | "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService" |
| 874 | } |
| 875 | } |
| 876 | }, |
| 877 | "origin": "API_DEFINITION", |
| 878 | "segments": [ |
| 879 | { |
| 880 | "start": 18, |
| 881 | "end": 53, |
| 882 | "type": "FULL" |
| 883 | } |
| 884 | ] |
| 885 | } |
| 886 | ] |
| 887 | } |