Skip to content

Commit

Permalink
Fix inaccurate documentation for TargetHttpsProxy resource (GoogleClo…
Browse files Browse the repository at this point in the history
…udPlatform#10874)

Co-authored-by: Hamza Hassan <hamzahassan@google.com>
  • Loading branch information
2 people authored and pcostell committed Jul 16, 2024
1 parent 145fd46 commit cd75b67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions mmv1/products/compute/RegionTargetHttpsProxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ properties:
name: 'certificateManagerCertificates'
description: |
URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.
Currently, you may specify up to 15 certificates. Certificate manager certificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
sslCertificates and certificateManagerCertificates fields can not be defined together.
sslCertificates and certificateManagerCertificates can't be defined together.
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}` or just the self_link `projects/{project}/locations/{location}/certificates/{resourceName}`
update_verb: :POST
update_url: 'projects/{{project}}/regions/{{region}}/targetHttpsProxies/{{name}}/setSslCertificates'
Expand Down
6 changes: 4 additions & 2 deletions mmv1/products/compute/TargetHttpsProxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ properties:
name: 'certificateManagerCertificates'
description: |
URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.
Currently, you may specify up to 15 certificates. Certificate manager certificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
Certificate manager certificates only apply when the load balancing scheme is set to INTERNAL_MANAGED.
For EXTERNAL and EXTERNAL_MANAGED, use certificate_map instead.
sslCertificates and certificateManagerCertificates fields can not be defined together.
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}` or just the self_link `projects/{project}/locations/{location}/certificates/{resourceName}`
update_verb: :POST
Expand Down Expand Up @@ -164,7 +165,8 @@ properties:
name: 'certificateMap'
description: |
A reference to the CertificateMap resource uri that identifies a certificate map
associated with the given target proxy. This field can only be set for global target proxies.
associated with the given target proxy. This field is only supported for EXTERNAL and EXTERNAL_MANAGED load balancing schemes.
For INTERNAL_MANAGED, use certificate_manager_certificates instead.
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}`.
update_verb: :POST
update_url: 'projects/{{project}}/global/targetHttpsProxies/{{name}}/setCertificateMap'
Expand Down

0 comments on commit cd75b67

Please sign in to comment.