googleapis / nodejs-secret-manager

This repository is deprecated. All of its content and history has been moved to googleapis/google-cloud-node.
https://cloud.google.com/secret-manager
Apache License 2.0
87 stars 31 forks source link

refactor: Delete samples directory #427

Closed NimJay closed 1 year ago

NimJay commented 1 year ago

This pull-request fixes https://github.com/googleapis/nodejs-secret-manager/issues/426. See https://github.com/googleapis/nodejs-secret-manager/issues/426 for more info.

snippet-bot[bot] commented 1 year ago

Here is the summary of possible violations 😱

There are 16 possible violations for removing region tag in use.

The end of the violation section. All the stuff below is FYI purposes only.


You are about to delete the following sample browser pages. - [samples/accessSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/accessSecretVersion.js#L18), tag `secretmanager_access_secret_version`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-access-secret-version)). - [samples/addSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/addSecretVersion.js#L18), tag `secretmanager_add_secret_version`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-add-secret-version)). - [samples/createSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/createSecret.js#L18), tag `secretmanager_create_secret`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-create-secret)). - [samples/deleteSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/deleteSecret.js#L18), tag `secretmanager_delete_secret`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-delete-secret)). - [samples/destroySecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/destroySecretVersion.js#L18), tag `secretmanager_destroy_secret_version`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-destroy-secret-version)). - [samples/disableSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/disableSecretVersion.js#L18), tag `secretmanager_disable_secret_version`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-disable-secret-version)). - [samples/enableSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/enableSecretVersion.js#L18), tag `secretmanager_enable_secret_version`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-enable-secret-version)). - [samples/getSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/getSecret.js#L18), tag `secretmanager_get_secret`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-get-secret)). - [samples/getSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/getSecretVersion.js#L18), tag `secretmanager_get_secret_version`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-get-secret-version)). - [samples/iamGrantAccess.js:21](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/iamGrantAccess.js#L21), tag `secretmanager_iam_grant_access`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-iam-grant-access)). - [samples/iamRevokeAccess.js:21](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/iamRevokeAccess.js#L21), tag `secretmanager_iam_revoke_access`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-iam-revoke-access)). - [samples/listSecretVersions.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/listSecretVersions.js#L18), tag `secretmanager_list_secret_versions`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-list-secret-versions)). - [samples/listSecrets.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/listSecrets.js#L18), tag `secretmanager_list_secrets`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-list-secrets)). - [samples/quickstart.js:22](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/quickstart.js#L22), tag `secretmanager_quickstart`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-quickstart)). - [samples/updateSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/updateSecret.js#L18), tag `secretmanager_update_secret`(usage: [page 1](https://cloud.google.com/secret-manager/docs/samples/secretmanager-update-secret)).

Here is the summary of changes.

You are about to delete 31 region tags. - [samples/accessSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/accessSecretVersion.js#L18), tag `secretmanager_access_secret_version` - [samples/addSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/addSecretVersion.js#L18), tag `secretmanager_add_secret_version` - [samples/createSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/createSecret.js#L18), tag `secretmanager_create_secret` - [samples/deleteSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/deleteSecret.js#L18), tag `secretmanager_delete_secret` - [samples/destroySecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/destroySecretVersion.js#L18), tag `secretmanager_destroy_secret_version` - [samples/disableSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/disableSecretVersion.js#L18), tag `secretmanager_disable_secret_version` - [samples/enableSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/enableSecretVersion.js#L18), tag `secretmanager_enable_secret_version` - [samples/generated/v1/secret_manager_service.access_secret_version.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.access_secret_version.js#L24), tag `secretmanager_v1_generated_SecretManagerService_AccessSecretVersion_async` - [samples/generated/v1/secret_manager_service.add_secret_version.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.add_secret_version.js#L24), tag `secretmanager_v1_generated_SecretManagerService_AddSecretVersion_async` - [samples/generated/v1/secret_manager_service.create_secret.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.create_secret.js#L24), tag `secretmanager_v1_generated_SecretManagerService_CreateSecret_async` - [samples/generated/v1/secret_manager_service.delete_secret.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.delete_secret.js#L24), tag `secretmanager_v1_generated_SecretManagerService_DeleteSecret_async` - [samples/generated/v1/secret_manager_service.destroy_secret_version.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.destroy_secret_version.js#L24), tag `secretmanager_v1_generated_SecretManagerService_DestroySecretVersion_async` - [samples/generated/v1/secret_manager_service.disable_secret_version.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.disable_secret_version.js#L24), tag `secretmanager_v1_generated_SecretManagerService_DisableSecretVersion_async` - [samples/generated/v1/secret_manager_service.enable_secret_version.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.enable_secret_version.js#L24), tag `secretmanager_v1_generated_SecretManagerService_EnableSecretVersion_async` - [samples/generated/v1/secret_manager_service.get_iam_policy.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.get_iam_policy.js#L24), tag `secretmanager_v1_generated_SecretManagerService_GetIamPolicy_async` - [samples/generated/v1/secret_manager_service.get_secret.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.get_secret.js#L24), tag `secretmanager_v1_generated_SecretManagerService_GetSecret_async` - [samples/generated/v1/secret_manager_service.get_secret_version.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.get_secret_version.js#L24), tag `secretmanager_v1_generated_SecretManagerService_GetSecretVersion_async` - [samples/generated/v1/secret_manager_service.list_secret_versions.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.list_secret_versions.js#L24), tag `secretmanager_v1_generated_SecretManagerService_ListSecretVersions_async` - [samples/generated/v1/secret_manager_service.list_secrets.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.list_secrets.js#L24), tag `secretmanager_v1_generated_SecretManagerService_ListSecrets_async` - [samples/generated/v1/secret_manager_service.set_iam_policy.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.set_iam_policy.js#L24), tag `secretmanager_v1_generated_SecretManagerService_SetIamPolicy_async` - [samples/generated/v1/secret_manager_service.test_iam_permissions.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.test_iam_permissions.js#L24), tag `secretmanager_v1_generated_SecretManagerService_TestIamPermissions_async` - [samples/generated/v1/secret_manager_service.update_secret.js:24](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/generated/v1/secret_manager_service.update_secret.js#L24), tag `secretmanager_v1_generated_SecretManagerService_UpdateSecret_async` - [samples/getSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/getSecret.js#L18), tag `secretmanager_get_secret` - [samples/getSecretVersion.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/getSecretVersion.js#L18), tag `secretmanager_get_secret_version` - [samples/iamGrantAccess.js:21](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/iamGrantAccess.js#L21), tag `secretmanager_iam_grant_access` - [samples/iamRevokeAccess.js:21](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/iamRevokeAccess.js#L21), tag `secretmanager_iam_revoke_access` - [samples/listSecretVersions.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/listSecretVersions.js#L18), tag `secretmanager_list_secret_versions` - [samples/listSecrets.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/listSecrets.js#L18), tag `secretmanager_list_secrets` - [samples/quickstart.js:22](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/quickstart.js#L22), tag `secretmanager_quickstart` - [samples/updateSecret.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/updateSecret.js#L18), tag `secretmanager_update_secret` - [samples/updateSecretWithAlias.js:18](https://github.com/googleapis/nodejs-secret-manager/blob/c33c6752e20d65342bbdc7bd43fda5e3a738da80/samples/updateSecretWithAlias.js#L18), tag `secretmanager_update_secret_with_alias`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

NimJay commented 1 year ago

The "There are 16 possible violations for removing region tag in use" complaint is resolved by cl/489558049.