| 1 |
{ |
| 2 |
"auth": { |
| 3 |
"oauth2": { |
| 4 |
"scopes": { |
| 5 |
"https://www.googleapis.com/auth/cloud-platform": { |
| 6 |
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." |
| 7 |
} |
| 8 |
} |
| 9 |
} |
| 10 |
}, |
| 11 |
"basePath": "", |
| 12 |
"baseUrl": "https://publicca.googleapis.com/", |
| 13 |
"batchPath": "batch", |
| 14 |
"canonicalName": "Public Certificate Authority", |
| 15 |
"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. ", |
| 16 |
"discoveryVersion": "v1", |
| 17 |
"documentationLink": "https://cloud.google.com/public-certificate-authority/docs", |
| 18 |
"fullyEncodeReservedExpansion": true, |
| 19 |
"icons": { |
| 20 |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 21 |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 22 |
}, |
| 23 |
"id": "publicca:v1beta1", |
| 24 |
"kind": "discovery#restDescription", |
| 25 |
"mtlsRootUrl": "https://publicca.mtls.googleapis.com/", |
| 26 |
"name": "publicca", |
| 27 |
"ownerDomain": "google.com", |
| 28 |
"ownerName": "Google", |
| 29 |
"parameters": { |
| 30 |
"$.xgafv": { |
| 31 |
"description": "V1 error format.", |
| 32 |
"enum": [ |
| 33 |
"1", |
| 34 |
"2" |
| 35 |
], |
| 36 |
"enumDescriptions": [ |
| 37 |
"v1 error format", |
| 38 |
"v2 error format" |
| 39 |
], |
| 40 |
"location": "query", |
| 41 |
"type": "string" |
| 42 |
}, |
| 43 |
"access_token": { |
| 44 |
"description": "OAuth access token.", |
| 45 |
"location": "query", |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"alt": { |
| 49 |
"default": "json", |
| 50 |
"description": "Data format for response.", |
| 51 |
"enum": [ |
| 52 |
"json", |
| 53 |
"media", |
| 54 |
"proto" |
| 55 |
], |
| 56 |
"enumDescriptions": [ |
| 57 |
"Responses with Content-Type of application/json", |
| 58 |
"Media download with context-dependent Content-Type", |
| 59 |
"Responses with Content-Type of application/x-protobuf" |
| 60 |
], |
| 61 |
"location": "query", |
| 62 |
"type": "string" |
| 63 |
}, |
| 64 |
"callback": { |
| 65 |
"description": "JSONP", |
| 66 |
"location": "query", |
| 67 |
"type": "string" |
| 68 |
}, |
| 69 |
"fields": { |
| 70 |
"description": "Selector specifying which fields to include in a partial response.", |
| 71 |
"location": "query", |
| 72 |
"type": "string" |
| 73 |
}, |
| 74 |
"key": { |
| 75 |
"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.", |
| 76 |
"location": "query", |
| 77 |
"type": "string" |
| 78 |
}, |
| 79 |
"oauth_token": { |
| 80 |
"description": "OAuth 2.0 token for the current user.", |
| 81 |
"location": "query", |
| 82 |
"type": "string" |
| 83 |
}, |
| 84 |
"prettyPrint": { |
| 85 |
"default": "true", |
| 86 |
"description": "Returns response with indentations and line breaks.", |
| 87 |
"location": "query", |
| 88 |
"type": "boolean" |
| 89 |
}, |
| 90 |
"quotaUser": { |
| 91 |
"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.", |
| 92 |
"location": "query", |
| 93 |
"type": "string" |
| 94 |
}, |
| 95 |
"uploadType": { |
| 96 |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 97 |
"location": "query", |
| 98 |
"type": "string" |
| 99 |
}, |
| 100 |
"upload_protocol": { |
| 101 |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 102 |
"location": "query", |
| 103 |
"type": "string" |
| 104 |
} |
| 105 |
}, |
| 106 |
"protocol": "rest", |
| 107 |
"resources": { |
| 108 |
"projects": { |
| 109 |
"resources": { |
| 110 |
"locations": { |
| 111 |
"resources": { |
| 112 |
"externalAccountKeys": { |
| 113 |
"methods": { |
| 114 |
"create": { |
| 115 |
"description": "Creates a new ExternalAccountKey bound to the project.", |
| 116 |
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/externalAccountKeys", |
| 117 |
"httpMethod": "POST", |
| 118 |
"id": "publicca.projects.locations.externalAccountKeys.create", |
| 119 |
"parameterOrder": [ |
| 120 |
"parent" |
| 121 |
], |
| 122 |
"parameters": { |
| 123 |
"parent": { |
| 124 |
"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.", |
| 125 |
"location": "path", |
| 126 |
"pattern": "^projects/[^/]+/locations/[^/]+$", |
| 127 |
"required": true, |
| 128 |
"type": "string" |
| 129 |
} |
| 130 |
}, |
| 131 |
"path": "v1beta1/{+parent}/externalAccountKeys", |
| 132 |
"request": { |
| 133 |
"$ref": "ExternalAccountKey" |
| 134 |
}, |
| 135 |
"response": { |
| 136 |
"$ref": "ExternalAccountKey" |
| 137 |
}, |
| 138 |
"scopes": [ |
| 139 |
"https://www.googleapis.com/auth/cloud-platform" |
| 140 |
] |
| 141 |
} |
| 142 |
} |
| 143 |
} |
| 144 |
} |
| 145 |
} |
| 146 |
} |
| 147 |
} |
| 148 |
}, |
| 149 |
"revision": "20240702", |
| 150 |
"rootUrl": "https://publicca.googleapis.com/", |
| 151 |
"schemas": { |
| 152 |
"ExternalAccountKey": { |
| 153 |
"description": "A representation of an ExternalAccountKey used for [external account binding](https://tools.ietf.org/html/rfc8555#section-7.3.4) within ACME.", |
| 154 |
"id": "ExternalAccountKey", |
| 155 |
"properties": { |
| 156 |
"b64MacKey": { |
| 157 |
"description": "Output only. Base64-URL-encoded HS256 key. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created", |
| 158 |
"format": "byte", |
| 159 |
"readOnly": true, |
| 160 |
"type": "string" |
| 161 |
}, |
| 162 |
"keyId": { |
| 163 |
"description": "Output only. Key ID. It is generated by the PublicCertificateAuthorityService when the ExternalAccountKey is created", |
| 164 |
"readOnly": true, |
| 165 |
"type": "string" |
| 166 |
}, |
| 167 |
"name": { |
| 168 |
"description": "Output only. Resource name. projects/{project}/locations/{location}/externalAccountKeys/{key_id}", |
| 169 |
"readOnly": true, |
| 170 |
"type": "string" |
| 171 |
} |
| 172 |
}, |
| 173 |
"type": "object" |
| 174 |
} |
| 175 |
}, |
| 176 |
"servicePath": "", |
| 177 |
"title": "Public Certificate Authority API", |
| 178 |
"version": "v1beta1", |
| 179 |
"version_module": true |
| 180 |
} |