UNPKG

@google-cloud/confidentialcomputing

Version:
1,217 lines 103 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "confidentialcomputing": { "nested": { "v1": { "options": { "csharp_namespace": "Google.Cloud.ConfidentialComputing.V1", "go_package": "cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb;confidentialcomputingpb", "java_multiple_files": true, "java_outer_classname": "ServiceProto", "java_package": "com.google.cloud.confidentialcomputing.v1", "php_namespace": "Google\\Cloud\\ConfidentialComputing\\V1", "ruby_package": "Google::Cloud::ConfidentialComputing::V1" }, "nested": { "ConfidentialComputing": { "options": { "(google.api.default_host)": "confidentialcomputing.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "CreateChallenge": { "requestType": "CreateChallengeRequest", "responseType": "Challenge", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/challenges", "(google.api.http).body": "challenge", "(google.api.method_signature)": "parent,challenge" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/challenges", "body": "challenge" } }, { "(google.api.method_signature)": "parent,challenge" } ] }, "VerifyAttestation": { "requestType": "VerifyAttestationRequest", "responseType": "VerifyAttestationResponse", "options": { "(google.api.http).post": "/v1/{challenge=projects/*/locations/*/challenges/*}:verifyAttestation", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{challenge=projects/*/locations/*/challenges/*}:verifyAttestation", "body": "*" } } ] }, "VerifyConfidentialSpace": { "requestType": "VerifyConfidentialSpaceRequest", "responseType": "VerifyConfidentialSpaceResponse", "options": { "(google.api.http).post": "/v1/{challenge=projects/*/locations/*/challenges/*}:verifyConfidentialSpace", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{challenge=projects/*/locations/*/challenges/*}:verifyConfidentialSpace", "body": "*" } } ] }, "VerifyConfidentialGke": { "requestType": "VerifyConfidentialGkeRequest", "responseType": "VerifyConfidentialGkeResponse", "options": { "(google.api.http).post": "/v1/{challenge=projects/*/locations/*/challenges/*}:verifyConfidentialGke", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{challenge=projects/*/locations/*/challenges/*}:verifyConfidentialGke", "body": "*" } } ] } } }, "SigningAlgorithm": { "values": { "SIGNING_ALGORITHM_UNSPECIFIED": 0, "RSASSA_PSS_SHA256": 1, "RSASSA_PKCS1V15_SHA256": 2, "ECDSA_P256_SHA256": 3 } }, "TokenType": { "values": { "TOKEN_TYPE_UNSPECIFIED": 0, "TOKEN_TYPE_OIDC": 1, "TOKEN_TYPE_PKI": 2, "TOKEN_TYPE_LIMITED_AWS": 3, "TOKEN_TYPE_AWS_PRINCIPALTAGS": 4 } }, "SignatureType": { "values": { "SIGNATURE_TYPE_UNSPECIFIED": 0, "SIGNATURE_TYPE_OIDC": 1, "SIGNATURE_TYPE_PKI": 2 } }, "TokenProfile": { "values": { "TOKEN_PROFILE_UNSPECIFIED": 0, "TOKEN_PROFILE_DEFAULT_EAT": 1, "TOKEN_PROFILE_AWS": 2 } }, "Challenge": { "options": { "(google.api.resource).type": "confidentialcomputing.googleapis.com/Challenge", "(google.api.resource).pattern": "projects/{project}/locations/{location}/challenges/{uuid}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "expireTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "used": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "tpmNonce": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "CreateChallengeRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "locations.googleapis.com/Location" } }, "challenge": { "type": "Challenge", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "VerifyAttestationRequest": { "oneofs": { "teeAttestation": { "oneof": [ "tdCcel", "sevSnpAttestation" ] }, "deviceAttestation": { "oneof": [ "nvidiaAttestation" ] } }, "fields": { "tdCcel": { "type": "TdxCcelAttestation", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "sevSnpAttestation": { "type": "SevSnpAttestation", "id": 7, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nvidiaAttestation": { "type": "NvidiaAttestation", "id": 9, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "challenge": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "confidentialcomputing.googleapis.com/Challenge" } }, "gcpCredentials": { "type": "GcpCredentials", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "tpmAttestation": { "type": "TpmAttestation", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "confidentialSpaceInfo": { "type": "ConfidentialSpaceInfo", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "tokenOptions": { "type": "TokenOptions", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "attester": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "NvidiaAttestation": { "oneofs": { "ccFeature": { "oneof": [ "spt", "ppcie", "mpt" ] } }, "fields": { "spt": { "type": "SinglePassthroughAttestation", "id": 1 }, "ppcie": { "type": "ProtectedPcieAttestation", "id": 2 }, "mpt": { "type": "MultiGpuSecurePassthroughAttestation", "id": 3 } }, "nested": { "GpuInfo": { "fields": { "uuid": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "driverVersion": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "vbiosVersion": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "gpuArchitectureType": { "type": "GpuArchitectureType", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "attestationCertificateChain": { "type": "bytes", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "attestationReport": { "type": "bytes", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SwitchInfo": { "fields": { "uuid": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "attestationCertificateChain": { "type": "bytes", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "attestationReport": { "type": "bytes", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SinglePassthroughAttestation": { "fields": { "gpuQuote": { "type": "GpuInfo", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ProtectedPcieAttestation": { "fields": { "gpuQuotes": { "rule": "repeated", "type": "GpuInfo", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "switchQuotes": { "rule": "repeated", "type": "SwitchInfo", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "MultiGpuSecurePassthroughAttestation": { "fields": { "gpuQuotes": { "rule": "repeated", "type": "GpuInfo", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "GpuArchitectureType": { "values": { "GPU_ARCHITECTURE_TYPE_UNSPECIFIED": 0, "GPU_ARCHITECTURE_TYPE_HOPPER": 8, "GPU_ARCHITECTURE_TYPE_BLACKWELL": 10 } } } }, "TdxCcelAttestation": { "fields": { "ccelAcpiTable": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "ccelData": { "type": "bytes", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "canonicalEventLog": { "type": "bytes", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "tdQuote": { "type": "bytes", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SevSnpAttestation": { "fields": { "report": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "auxBlob": { "type": "bytes", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "VerifyAttestationResponse": { "fields": { "oidcClaimsToken": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "partialErrors": { "rule": "repeated", "type": "google.rpc.Status", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "GcpCredentials": { "fields": { "serviceAccountIdTokens": { "rule": "repeated", "type": "string", "id": 2 } } }, "TokenOptions": { "oneofs": { "tokenTypeOptions": { "oneof": [ "awsPrincipalTagsOptions" ] } }, "fields": { "awsPrincipalTagsOptions": { "type": "AwsPrincipalTagsOptions", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "audience": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nonce": { "rule": "repeated", "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "tokenType": { "type": "TokenType", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "AwsPrincipalTagsOptions": { "fields": { "allowedPrincipalTags": { "type": "AllowedPrincipalTags", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "AllowedPrincipalTags": { "fields": { "containerImageSignatures": { "type": "ContainerImageSignatures", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "ContainerImageSignatures": { "fields": { "keyIds": { "rule": "repeated", "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } } } } } }, "TpmAttestation": { "fields": { "quotes": { "rule": "repeated", "type": "Quote", "id": 1 }, "tcgEventLog": { "type": "bytes", "id": 2 }, "canonicalEventLog": { "type": "bytes", "id": 3 }, "akCert": { "type": "bytes", "id": 4 }, "certChain": { "rule": "repeated", "type": "bytes", "id": 5 } }, "nested": { "Quote": { "fields": { "hashAlgo": { "type": "int32", "id": 1 }, "pcrValues": { "keyType": "int32", "type": "bytes", "id": 2 }, "rawQuote": { "type": "bytes", "id": 3 }, "rawSignature": { "type": "bytes", "id": 4 } } } } }, "ConfidentialSpaceInfo": { "fields": { "signedEntities": { "rule": "repeated", "type": "SignedEntity", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SignedEntity": { "fields": { "containerImageSignatures": { "rule": "repeated", "type": "ContainerImageSignature", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ContainerImageSignature": { "fields": { "payload": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "signature": { "type": "bytes", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "publicKey": { "type": "bytes", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "sigAlg": { "type": "SigningAlgorithm", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "VerifyConfidentialSpaceRequest": { "oneofs": { "teeAttestation": { "oneof": [ "tdCcel", "tpmAttestation" ] } }, "fields": { "tdCcel": { "type": "TdxCcelAttestation", "id": 3, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "tpmAttestation": { "type": "TpmAttestation", "id": 4, "options": { "(google.api.field_behavior)": "INPUT_ONLY" } }, "challenge": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "confidentialcomputing.googleapis.com/Challenge" } }, "gcpCredentials": { "type": "GcpCredentials", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "signedEntities": { "rule": "repeated", "type": "SignedEntity", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "gceShieldedIdentity": { "type": "GceShieldedIdentity", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "options": { "type": "ConfidentialSpaceOptions", "id": 7, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nvidiaAttestation": { "type": "NvidiaAttestation", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "ConfidentialSpaceOptions": { "oneofs": { "tokenProfileOptions": { "oneof": [ "awsPrincipalTagsOptions" ] } }, "fields": { "awsPrincipalTagsOptions": { "type": "AwsPrincipalTagsOptions", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "audience": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "tokenProfile": { "type": "TokenProfile", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nonce": { "rule": "repeated", "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "signatureType": { "type": "SignatureType", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } } } }, "GceShieldedIdentity": { "fields": { "akCert": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "akCertChain": { "rule": "repeated", "type": "bytes", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "VerifyConfidentialSpaceResponse": { "fields": { "attestationToken": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "partialErrors": { "rule": "repeated", "type": "google.rpc.Status", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "VerifyConfidentialGkeRequest": { "oneofs": { "teeAttestation": { "oneof": [ "tpmAttestation" ] } }, "fields": { "tpmAttestation": { "type": "TpmAttestation", "id": 2 }, "challenge": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "confidentialcomputing.googleapis.com/Challenge" } }, "options": { "type": "ConfidentialGkeOptions", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "ConfidentialGkeOptions": { "fields": { "audience": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nonce": { "rule": "repeated", "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "signatureType": { "type": "SignatureType", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } } } }, "VerifyConfidentialGkeResponse": { "fields": { "attestationToken": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } } } }, "v1alpha1": { "options": { "csharp_namespace": "Google.Cloud.ConfidentialComputing.V1Alpha1", "go_package": "cloud.google.com/go/confidentialcomputing/apiv1alpha1/confidentialcomputingpb;confidentialcomputingpb", "java_multiple_files": true, "java_outer_classname": "ServiceProto", "java_package": "com.google.cloud.confidentialcomputing.v1alpha1", "php_namespace": "Google\\Cloud\\ConfidentialComputing\\V1alpha1", "ruby_package": "Google::Cloud::ConfidentialComputing::V1alpha1" }, "nested": { "ConfidentialComputing": { "options": { "(google.api.default_host)": "confidentialcomputing.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "CreateChallenge": { "requestType": "CreateChallengeRequest", "responseType": "Challenge", "options": { "(google.api.http).post": "/v1alpha1/{parent=projects/*/locations/*}/challenges", "(google.api.http).body": "challenge", "(google.api.method_signature)": "parent,challenge" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1alpha1/{parent=projects/*/locations/*}/challenges", "body": "challenge" } }, { "(google.api.method_signature)": "parent,challenge" } ] }, "VerifyAttestation": { "requestType": "VerifyAttestationRequest", "responseType": "VerifyAttestationResponse", "options": { "(google.api.http).post": "/v1alpha1/{challenge=projects/*/locations/*/challenges/*}:verifyAttestation", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1alpha1/{challenge=projects/*/locations/*/challenges/*}:verifyAttestation", "body": "*" } } ] } } }, "Challenge": { "options": { "(google.api.resource).type": "confidentialcomputing.googleapis.com/Challenge", "(google.api.resource).pattern": "projects/{project}/locations/{location}/challenges/{uuid}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "expireTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "used": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "nonce": { "type": "bytes", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "CreateChallengeRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "locations.googleapis.com/Location" } }, "challenge": { "type": "Challenge", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "VerifyAttestationRequest": { "fields": { "challenge": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "confidentialcomputing.googleapis.com/Challenge" } }, "gcpCredentials": { "type": "GcpCredentials", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "tpmAttestation": { "type": "TpmAttestation", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "VerifyAttestationResponse": { "fields": { "claimsToken": { "type": "bytes", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "GcpCredentials": { "fields": { "idTokens": { "rule": "repeated", "type": "bytes", "id": 1 } } }, "TpmAttestation": { "fields": { "quotes": { "rule": "repeated", "type": "Quote", "id": 1 }, "tcgEventLog": { "type": "bytes", "id": 2 }, "canonicalEventLog": { "type": "bytes", "id": 3 }, "akCert": { "type": "bytes", "id": 4 }, "certChain": { "rule": "repeated", "type": "bytes", "id": 5 } }, "nested": { "Quote": { "fields": { "hashAlgo": { "type": "int32", "id": 1 }, "pcrValues": { "keyType": "int32", "type": "bytes", "id": 2 }, "rawQuote": { "type": "bytes", "id": 3 }, "rawSignature": { "type": "bytes", "id": 4 } } } } } } } } } } }, "api": { "options": { "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations", "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", "objc_class_prefix": "GAPI", "cc_enable_arenas": true }, "nested": { "http": { "type": "HttpRule", "id": 72295728, "extend": "google.protobuf.MethodOptions" }, "Http": { "fields": { "rules": { "rule": "repeated", "type": "HttpRule", "id": 1 }, "fullyDecodeReservedExpansion": { "type": "bool", "id": 2 } } }, "HttpRule": { "oneofs": { "pattern": { "oneof": [ "get", "put", "post", "delete", "patch", "custom" ] } }, "fields": { "selector": { "type": "string", "id": 1 }, "get": { "type": "string", "id": 2 }, "put": { "type": "string", "id": 3 }, "post": { "type": "string", "id": 4 }, "delete": { "type": "string", "id": 5 }, "patch": { "type": "string", "id": 6 }, "custom": { "type": "CustomHttpPattern", "id": 8 }, "body": { "type": "string", "id": 7 }, "responseBody": { "type": "string", "id": 12 }, "additionalBindings": { "rule": "repeated", "type": "HttpRule", "id": 11 } } }, "CustomHttpPattern": { "fields": { "kind": { "type": "string", "id": 1 }, "path": { "