{
  "rootUrl": "https://publicca.googleapis.com/",
  "canonicalName": "Public Certificate Authority",
  "version": "v1",
  "basePath": "",
  "baseUrl": "https://publicca.googleapis.com/",
  "documentationLink": "https://cloud.google.com/public-certificate-authority/docs",
  "id": "publicca:v1",
  "title": "Public Certificate Authority API",
  "batchPath": "batch",
  "mtlsRootUrl": "https://publicca.mtls.googleapis.com/",
  "description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority. ",
  "servicePath": "",
  "revision": "20260503",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/cloud-platform": {
          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
        }
      }
    }
  },
  "version_module": true,
  "fullyEncodeReservedExpansion": true,
  "ownerDomain": "google.com",
  "parameters": {
    "$.xgafv": {
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "location": "query",
      "type": "string",
      "description": "V1 error format.",
      "enum": [
        "1",
        "2"
      ]
    },
    "prettyPrint": {
      "default": "true",
      "location": "query",
      "type": "boolean",
      "description": "Returns response with indentations and line breaks."
    },
    "upload_protocol": {
      "location": "query",
      "type": "string",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
    },
    "callback": {
      "location": "query",
      "type": "string",
      "description": "JSONP"
    },
    "alt": {
      "type": "string",
      "description": "Data format for response.",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "default": "json",
      "location": "query",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ]
    },
    "key": {
      "location": "query",
      "type": "string",
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token."
    },
    "uploadType": {
      "location": "query",
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "access_token": {
      "location": "query",
      "type": "string",
      "description": "OAuth access token."
    },
    "oauth_token": {
      "type": "string",
      "description": "OAuth 2.0 token for the current user.",
      "location": "query"
    },
    "fields": {
      "location": "query",
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response."
    },
    "quotaUser": {
      "type": "string",
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
      "location": "query"
    }
  },
  "ownerName": "Google",
  "kind": "discovery#restDescription",
  "name": "publicca",
  "resources": {
    "projects": {
      "resources": {
        "locations": {
          "resources": {
            "externalAccountKeys": {
              "methods": {
                "create": {
                  "httpMethod": "POST",
                  "path": "v1/{+parent}/externalAccountKeys",
                  "request": {
                    "$ref": "ExternalAccountKey"
                  },
                  "response": {
                    "$ref": "ExternalAccountKey"
                  },
                  "scopes": [
                    "https://www.googleapis.com/auth/cloud-platform"
                  ],
                  "parameters": {
                    "parent": {
                      "description": "Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the \"global\" location is supported.",
                      "type": "string",
                      "pattern": "^projects/[^/]+/locations/[^/]+$",
                      "location": "path",
                      "required": true
                    }
                  },
                  "description": "Creates a new ExternalAccountKey bound to the project.",
                  "parameterOrder": [
                    "parent"
                  ],
                  "id": "publicca.projects.locations.externalAccountKeys.create",
                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/externalAccountKeys"
                }
              }
            }
          }
        }
      }
    }
  },
  "discoveryVersion": "v1",
  "schemas": {
    "ExternalAccountKey": {
      "description": "A representation of an ExternalAccountKey used for [external account binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) within ACME.",
      "type": "object",
      "id": "ExternalAccountKey",
      "properties": {
        "b64MacKey": {
          "readOnly": true,
          "description": "Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created",
          "type": "string",
          "format": "byte"
        },
        "keyId": {
          "readOnly": true,
          "description": "Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created",
          "type": "string"
        },
        "name": {
          "description": "Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}",
          "type": "string",
          "readOnly": true
        }
      }
    }
  },
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "protocol": "rest"
}
