123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- syntax = "proto3";
- package google.cloud.certificatemanager.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/duration.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.CertificateManager.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/certificatemanager/v1;certificatemanager";
- option java_multiple_files = true;
- option java_outer_classname = "CertificateIssuanceConfigProto";
- option java_package = "com.google.cloud.certificatemanager.v1";
- option php_namespace = "Google\\Cloud\\CertificateManager\\V1";
- option ruby_package = "Google::Cloud::CertificateManager::V1";
- option (google.api.resource_definition) = {
- type: "privateca.googleapis.com/CaPool"
- pattern: "projects/{project}/locations/{location}/caPools/{ca_pool}"
- };
- message ListCertificateIssuanceConfigsRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
-
- int32 page_size = 2;
-
-
-
-
- string page_token = 3;
-
- string filter = 4;
-
-
-
- string order_by = 5;
- }
- message ListCertificateIssuanceConfigsResponse {
-
- repeated CertificateIssuanceConfig certificate_issuance_configs = 1;
-
-
-
- string next_page_token = 2;
-
- repeated string unreachable = 3;
- }
- message GetCertificateIssuanceConfigRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "certificatemanager.googleapis.com/CertificateIssuanceConfig"
- }
- ];
- }
- message CreateCertificateIssuanceConfigRequest {
-
-
- string parent = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
-
- string certificate_issuance_config_id = 2
- [(google.api.field_behavior) = REQUIRED];
-
- CertificateIssuanceConfig certificate_issuance_config = 3
- [(google.api.field_behavior) = REQUIRED];
- }
- message DeleteCertificateIssuanceConfigRequest {
-
-
- string name = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "certificatemanager.googleapis.com/CertificateIssuanceConfig"
- }
- ];
- }
- message CertificateIssuanceConfig {
- option (google.api.resource) = {
- type: "certificatemanager.googleapis.com/CertificateIssuanceConfig"
- pattern: "projects/{project}/locations/{location}/certificateIssuanceConfigs/{certificate_issuance_config}"
- };
-
-
- message CertificateAuthorityConfig {
-
- message CertificateAuthorityServiceConfig {
-
-
-
- string ca_pool = 1 [
- (google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "privateca.googleapis.com/CaPool"
- }
- ];
- }
- oneof kind {
-
- CertificateAuthorityServiceConfig certificate_authority_service_config =
- 1;
- }
- }
-
- enum KeyAlgorithm {
-
- KEY_ALGORITHM_UNSPECIFIED = 0;
-
- RSA_2048 = 1;
-
- ECDSA_P256 = 4;
- }
-
-
-
- string name = 1;
-
- google.protobuf.Timestamp create_time = 2
- [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp update_time = 3
- [(google.api.field_behavior) = OUTPUT_ONLY];
-
- map<string, string> labels = 4;
-
- string description = 5;
-
-
- CertificateAuthorityConfig certificate_authority_config = 6
- [(google.api.field_behavior) = REQUIRED];
-
- google.protobuf.Duration lifetime = 7
- [(google.api.field_behavior) = REQUIRED];
-
-
-
- int32 rotation_window_percentage = 8 [(google.api.field_behavior) = REQUIRED];
-
- KeyAlgorithm key_algorithm = 9 [(google.api.field_behavior) = REQUIRED];
- }
|