Skip to content

Commit fb908b8

Browse files
feat: [SecurityPrivateCa] add allow_requester_specified_not_before_time and requested_not_before_time fields to PrivateCA v1 API (#9215)
* feat: add allow_requester_specified_not_before_time and requested_not_before_time fields to PrivateCA v1 API docs: update comments for backdate_duration field in CaPool docs: update comments for parent field in ListCertificatesRequest PiperOrigin-RevId: 921762720 Source-Link: googleapis/googleapis@ec2e510 Source-Link: googleapis/googleapis-gen@b8da48e Copy-Tag: eyJwIjoiU2VjdXJpdHlQcml2YXRlQ2EvLk93bEJvdC55YW1sIiwiaCI6ImI4ZGE0OGU4YThhYWFiZDdmNmZjMzllZDJmNWNmZDE4MDRjN2UyNTUifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b6a6b3e commit fb908b8

9 files changed

Lines changed: 428 additions & 43 deletions

File tree

SecurityPrivateCa/metadata/V1/Resources.php

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SecurityPrivateCa/samples/V1/CertificateAuthorityServiceClient/list_certificates.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,19 @@
3232
/**
3333
* Lists [Certificates][google.cloud.security.privateca.v1.Certificate].
3434
*
35-
* @param string $formattedParent The resource name of the location associated with the
35+
* @param string $formattedParent The resource name of the parent associated with the
3636
* [Certificates][google.cloud.security.privateca.v1.Certificate], in the
37-
* format `projects/&#42;/locations/&#42;/caPools/*`. Please see
38-
* {@see CertificateAuthorityServiceClient::caPoolName()} for help formatting this field.
37+
* format `projects/&#42;/locations/&#42;/caPools/*`. The parent resource name can be
38+
* in one of two forms:
39+
*
40+
* 1. **Specific CA Pool:** To list certificates within a single CA Pool:
41+
* `projects/&#42;/locations/&#42;/caPools/*`
42+
*
43+
* 2. **All CA Pools in a Location:** To list certificates across *all* CA
44+
* Pools in a given project and location, use the wildcard character (`-`)
45+
* in place of the CA Pool ID.
46+
* Example: `projects/&#42;/locations/&#42;/caPools/-`
47+
* Please see {@see CertificateAuthorityServiceClient::caPoolName()} for help formatting this field.
3948
*/
4049
function list_certificates_sample(string $formattedParent): void
4150
{

SecurityPrivateCa/samples/V1/CertificateAuthorityServiceClient/list_locations.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@
3131

3232
/**
3333
* Lists information about the supported locations for this service.
34+
35+
This method lists locations based on the resource scope provided in
36+
the [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: *
37+
**Global locations**: If `name` is empty, the method lists the
38+
public locations available to all projects. * **Project-specific
39+
locations**: If `name` follows the format
40+
`projects/{project}`, the method lists locations visible to that
41+
specific project. This includes public, private, or other
42+
project-specific locations enabled for the project.
43+
44+
For gRPC and client library implementations, the resource name is
45+
passed as the `name` field. For direct service calls, the resource
46+
name is
47+
incorporated into the request path based on the specific service
48+
implementation and version.
3449
*
3550
* This sample has been automatically generated and should be regarded as a code
3651
* template only. It will require modifications to work:

SecurityPrivateCa/src/V1/CaPool.php

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SecurityPrivateCa/src/V1/CaPool/IssuancePolicy.php

Lines changed: 114 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)