type: com.google.api.codegen.ConfigProto config_schema_version: 2.0.0 # The settings of generated code in a specific language. language_settings: java: package_name: com.google.cloud.kms.v1 python: package_name: google.cloud.kms_v1.gapic go: package_name: cloud.google.com/go/kms/apiv1 release_level: GA csharp: package_name: Google.Cloud.Kms.V1 ruby: package_name: Google::Cloud::Kms::V1 release_level: GA php: package_name: Google\Cloud\Kms\V1 nodejs: package_name: kms.v1 domain_layer_location: google-cloud interfaces: # The fully qualified name of the API interface. - name: google.cloud.kms.v1.KeyManagementService retry_codes_def: - name: retryable retry_codes: - INTERNAL - UNAVAILABLE - DEADLINE_EXCEEDED - name: non_retryable retry_codes: [] methods: - name: ListKeyRings retry_codes_name: retryable - name: ListImportJobs retry_codes_name: retryable - name: ListCryptoKeys retry_codes_name: retryable - name: ListCryptoKeyVersions retry_codes_name: retryable - name: GetKeyRing retry_codes_name: retryable - name: GetImportJob retry_codes_name: retryable - name: GetCryptoKey retry_codes_name: retryable - name: GetCryptoKeyVersion retry_codes_name: retryable - name: CreateKeyRing retry_codes_name: retryable - name: CreateImportJob retry_codes_name: retryable sample_code_init_fields: - import_job_id=my-import-job - import_job.import_method=RSA_OAEP_3072_SHA1_AES_256 - import_job.protection_level=HSM - name: CreateCryptoKey retry_codes_name: retryable sample_code_init_fields: - crypto_key_id=my-app-key - crypto_key.purpose=ENCRYPT_DECRYPT - crypto_key.next_rotation_time.seconds=2147483647 - crypto_key.rotation_period.seconds=604800 - name: CreateCryptoKeyVersion retry_codes_name: non_retryable - name: ImportCryptoKeyVersion retry_codes_name: non_retryable - name: UpdateCryptoKey retry_codes_name: retryable - name: UpdateCryptoKeyVersion retry_codes_name: retryable - name: Encrypt retry_codes_name: retryable - name: Decrypt retry_codes_name: retryable - name: UpdateCryptoKeyPrimaryVersion retry_codes_name: retryable - name: DestroyCryptoKeyVersion retry_codes_name: retryable - name: RestoreCryptoKeyVersion retry_codes_name: retryable - name: GetPublicKey retry_codes_name: retryable - name: AsymmetricDecrypt retry_codes_name: retryable - name: AsymmetricSign retry_codes_name: retryable - name: SetIamPolicy retry_codes_name: retryable reroute_to_grpc_interface: google.iam.v1.IAMPolicy surface_treatments: - include_languages: - go visibility: DISABLED - name: GetIamPolicy retry_codes_name: retryable reroute_to_grpc_interface: google.iam.v1.IAMPolicy surface_treatments: - include_languages: - go visibility: DISABLED - name: TestIamPermissions retry_codes_name: retryable reroute_to_grpc_interface: google.iam.v1.IAMPolicy surface_treatments: - include_languages: - go visibility: DISABLED