Skip to content

Commit

Permalink
Add value() and name() methods to enum types. (#1777)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Here's the log from Synthtool:
```
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/Kms/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:854131ec1af7b3a313253474c24748dc0acd217a58a0b74dbfb559f340a15d78
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/kms/artman_cloudkms.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/php/google-cloud-kms-v1.
synthtool > Replaced 'Copyright \\d{4}' in src/V1/KeyManagementServiceClient.php.
synthtool > Replaced 'Copyright \\d{4}' in src/V1/KeyManagementServiceGrpcClient.php.
synthtool > Replaced 'Copyright \\d{4}' in src/V1/Gapic/KeyManagementServiceGapicClient.php.
synthtool > Replaced 'Copyright \\d{4}' in tests/Unit/V1/KeyManagementServiceClientTest.php.
synthtool > Replaced 'CryptoKey_CryptoKeyPurpose' in src/V1/Gapic/KeyManagementServiceGapicClient.php.
synthtool > Replaced 'will be removed in the next major release' in src/V1/CryptoKeyVersion_CryptoKeyVersionView.php.
synthtool > Replaced 'will be removed in the next major release' in src/V1/CryptoKeyVersion_CryptoKeyVersionAlgorithm.php.
synthtool > Replaced 'will be removed in the next major release' in src/V1/CryptoKey_CryptoKeyPurpose.php.
synthtool > Replaced 'will be removed in the next major release' in src/V1/CryptoKeyVersion_CryptoKeyVersionState.php.
synthtool > Cleaned up 1 temporary directories.
synthtool > Wrote metadata to synth.metadata.

```
  • Loading branch information
yoshi-automation authored and jdpedrie committed Mar 29, 2019
1 parent a170930 commit 53d40cf
Show file tree
Hide file tree
Showing 9 changed files with 188 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Kms/metadata/V1/Resources.php

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

2 changes: 1 addition & 1 deletion Kms/metadata/V1/Service.php

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

29 changes: 29 additions & 0 deletions Kms/src/V1/CryptoKey/CryptoKeyPurpose.php

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

38 changes: 38 additions & 0 deletions Kms/src/V1/CryptoKeyVersion/CryptoKeyVersionAlgorithm.php

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

31 changes: 31 additions & 0 deletions Kms/src/V1/CryptoKeyVersion/CryptoKeyVersionState.php

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

27 changes: 27 additions & 0 deletions Kms/src/V1/CryptoKeyVersion/CryptoKeyVersionView.php

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

28 changes: 28 additions & 0 deletions Kms/src/V1/KeyOperationAttestation/AttestationFormat.php

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

28 changes: 28 additions & 0 deletions Kms/src/V1/ProtectionLevel.php

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

10 changes: 5 additions & 5 deletions Kms/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-02-26T11:00:51.762442Z",
"updateTime": "2019-03-29T10:01:19.901589Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.14",
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
"version": "0.16.21",
"dockerImage": "googleapis/artman@sha256:854131ec1af7b3a313253474c24748dc0acd217a58a0b74dbfb559f340a15d78"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "29f098cb03a9983cc9cb15993de5da64419046f2",
"internalRef": "235621085"
"sha": "37386f1ebcaed51bcb7d15d00124d22c38606e45",
"internalRef": "240841842"
}
}
],
Expand Down

0 comments on commit 53d40cf

Please sign in to comment.