Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Kms/metadata/V1/AutokeyAdmin.php
Binary file not shown.
Binary file modified Kms/metadata/V1/Resources.php
Binary file not shown.
7 changes: 4 additions & 3 deletions Kms/samples/V1/AutokeyAdminClient/get_autokey_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@
use Google\Cloud\Kms\V1\GetAutokeyConfigRequest;

/**
* Returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a
* folder.
* Returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder
* or project.
*
* @param string $formattedName Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig]
* resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`. Please see
* resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or
* `projects/{PROJECT_NUMBER}/autokeyConfig`. Please see
* {@see AutokeyAdminClient::autokeyConfigName()} for help formatting this field.
*/
function get_autokey_config_sample(string $formattedName): void
Expand Down
7 changes: 7 additions & 0 deletions Kms/samples/V1/AutokeyAdminClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
4 changes: 2 additions & 2 deletions Kms/samples/V1/AutokeyAdminClient/update_autokey_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
use Google\Protobuf\FieldMask;

/**
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a
* folder. The caller must have both `cloudkms.autokeyConfigs.update`
* Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder
* or a project. The caller must have both `cloudkms.autokeyConfigs.update`
* permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy`
* permission on the provided key project. A
* [KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's
Expand Down
7 changes: 7 additions & 0 deletions Kms/samples/V1/AutokeyClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
7 changes: 7 additions & 0 deletions Kms/samples/V1/EkmServiceClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
7 changes: 7 additions & 0 deletions Kms/samples/V1/HsmManagementClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@

/**
* Lists information about the supported locations for this service.
This method can be called in two ways:

* **List all public locations:** Use the path `GET /v1/locations`.
* **List project-visible locations:** Use the path
`GET /v1/projects/{project_id}/locations`. This may include public
locations as well as private or other locations specifically visible
to the project.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
54 changes: 50 additions & 4 deletions Kms/src/V1/AutokeyConfig.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

84 changes: 84 additions & 0 deletions Kms/src/V1/AutokeyConfig/KeyProjectResolutionMode.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Kms/src/V1/AutokeyConfig/State.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading