Skip to content

Commit fac6ac0

Browse files
Clarify the default behavior for IAP OAuth client fields in backend services (#13145) (#21536)
[upstream:1d4d34ef3ddae618d6e2f97b7c27c7a87606cc09] Signed-off-by: Modular Magician <[email protected]>
1 parent f15e09e commit fac6ac0

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

.changelog/13145.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/services/compute/resource_compute_backend_service.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -633,11 +633,12 @@ For internal load balancing, a URL to a HealthCheck resource must be specified i
633633
Set: tpgresource.SelfLinkRelativePathHash,
634634
},
635635
"iap": {
636-
Type: schema.TypeList,
637-
Computed: true,
638-
Optional: true,
639-
Description: `Settings for enabling Cloud Identity Aware Proxy`,
640-
MaxItems: 1,
636+
Type: schema.TypeList,
637+
Computed: true,
638+
Optional: true,
639+
Description: `Settings for enabling Cloud Identity Aware Proxy.
640+
If OAuth client is not set, the Google-managed OAuth client is used.`,
641+
MaxItems: 1,
641642
Elem: &schema.Resource{
642643
Schema: map[string]*schema.Schema{
643644
"enabled": {

google/services/compute/resource_compute_region_backend_service.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -560,11 +560,12 @@ or serverless NEG as a backend.`,
560560
Set: tpgresource.SelfLinkRelativePathHash,
561561
},
562562
"iap": {
563-
Type: schema.TypeList,
564-
Computed: true,
565-
Optional: true,
566-
Description: `Settings for enabling Cloud Identity Aware Proxy`,
567-
MaxItems: 1,
563+
Type: schema.TypeList,
564+
Computed: true,
565+
Optional: true,
566+
Description: `Settings for enabling Cloud Identity Aware Proxy.
567+
If OAuth client is not set, Google-managed OAuth client is used.`,
568+
MaxItems: 1,
568569
Elem: &schema.Resource{
569570
Schema: map[string]*schema.Schema{
570571
"enabled": {

website/docs/r/compute_backend_service.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,8 @@ The following arguments are supported:
507507

508508
* `iap` -
509509
(Optional)
510-
Settings for enabling Cloud Identity Aware Proxy
510+
Settings for enabling Cloud Identity Aware Proxy.
511+
If OAuth client is not set, the Google-managed OAuth client is used.
511512
Structure is [documented below](#nested_iap).
512513

513514
* `ip_address_selection_policy` -

website/docs/r/compute_region_backend_service.html.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,8 @@ The following arguments are supported:
515515

516516
* `iap` -
517517
(Optional)
518-
Settings for enabling Cloud Identity Aware Proxy
518+
Settings for enabling Cloud Identity Aware Proxy.
519+
If OAuth client is not set, Google-managed OAuth client is used.
519520
Structure is [documented below](#nested_iap).
520521

521522
* `ip_address_selection_policy` -

0 commit comments

Comments
 (0)