Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1 | { |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 2 | "auth": { |
| 3 | "oauth2": { |
| 4 | "scopes": { |
| 5 | "https://www.googleapis.com/auth/cloud-platform": { |
| 6 | "description": "See, edit, configure, and delete your Google Cloud Platform data" |
| 7 | } |
| 8 | } |
| 9 | } |
| 10 | }, |
| 11 | "basePath": "", |
| 12 | "baseUrl": "https://iap.googleapis.com/", |
| 13 | "batchPath": "batch", |
| 14 | "canonicalName": "Cloud IAP", |
| 15 | "description": "Controls access to cloud applications running on Google Cloud Platform.", |
| 16 | "discoveryVersion": "v1", |
| 17 | "documentationLink": "https://cloud.google.com/iap", |
| 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": "iap:v1beta1", |
| 24 | "kind": "discovery#restDescription", |
| 25 | "mtlsRootUrl": "https://iap.mtls.googleapis.com/", |
| 26 | "name": "iap", |
| 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 | "v1beta1": { |
| 109 | "methods": { |
| 110 | "getIamPolicy": { |
| 111 | "description": "Gets the access control policy for an Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", |
| 112 | "flatPath": "v1beta1/{v1beta1Id}:getIamPolicy", |
| 113 | "httpMethod": "POST", |
| 114 | "id": "iap.getIamPolicy", |
| 115 | "parameterOrder": [ |
| 116 | "resource" |
| 117 | ], |
| 118 | "parameters": { |
| 119 | "resource": { |
| 120 | "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.", |
| 121 | "location": "path", |
| 122 | "pattern": "^.*$", |
| 123 | "required": true, |
| 124 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 125 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 126 | }, |
| 127 | "path": "v1beta1/{+resource}:getIamPolicy", |
| 128 | "request": { |
| 129 | "$ref": "GetIamPolicyRequest" |
| 130 | }, |
| 131 | "response": { |
| 132 | "$ref": "Policy" |
| 133 | }, |
| 134 | "scopes": [ |
| 135 | "https://www.googleapis.com/auth/cloud-platform" |
| 136 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 137 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 138 | "setIamPolicy": { |
| 139 | "description": "Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", |
| 140 | "flatPath": "v1beta1/{v1beta1Id}:setIamPolicy", |
| 141 | "httpMethod": "POST", |
| 142 | "id": "iap.setIamPolicy", |
| 143 | "parameterOrder": [ |
| 144 | "resource" |
| 145 | ], |
| 146 | "parameters": { |
| 147 | "resource": { |
| 148 | "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.", |
| 149 | "location": "path", |
| 150 | "pattern": "^.*$", |
| 151 | "required": true, |
| 152 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 153 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 154 | }, |
| 155 | "path": "v1beta1/{+resource}:setIamPolicy", |
| 156 | "request": { |
| 157 | "$ref": "SetIamPolicyRequest" |
| 158 | }, |
| 159 | "response": { |
| 160 | "$ref": "Policy" |
| 161 | }, |
| 162 | "scopes": [ |
| 163 | "https://www.googleapis.com/auth/cloud-platform" |
| 164 | ] |
| 165 | }, |
| 166 | "testIamPermissions": { |
| 167 | "description": "Returns permissions that a caller has on the Identity-Aware Proxy protected resource. If the resource does not exist or the caller does not have Identity-Aware Proxy permissions a [google.rpc.Code.PERMISSION_DENIED] will be returned. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api", |
| 168 | "flatPath": "v1beta1/{v1beta1Id}:testIamPermissions", |
| 169 | "httpMethod": "POST", |
| 170 | "id": "iap.testIamPermissions", |
| 171 | "parameterOrder": [ |
| 172 | "resource" |
| 173 | ], |
| 174 | "parameters": { |
| 175 | "resource": { |
| 176 | "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.", |
| 177 | "location": "path", |
| 178 | "pattern": "^.*$", |
| 179 | "required": true, |
| 180 | "type": "string" |
| 181 | } |
| 182 | }, |
| 183 | "path": "v1beta1/{+resource}:testIamPermissions", |
| 184 | "request": { |
| 185 | "$ref": "TestIamPermissionsRequest" |
| 186 | }, |
| 187 | "response": { |
| 188 | "$ref": "TestIamPermissionsResponse" |
| 189 | }, |
| 190 | "scopes": [ |
| 191 | "https://www.googleapis.com/auth/cloud-platform" |
| 192 | ] |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 193 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 194 | } |
| 195 | } |
| 196 | }, |
yoshi-code-bot | b539cc4 | 2021-08-03 00:20:27 -0700 | [diff] [blame] | 197 | "revision": "20210723", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 198 | "rootUrl": "https://iap.googleapis.com/", |
| 199 | "schemas": { |
| 200 | "Binding": { |
| 201 | "description": "Associates `members` with a `role`.", |
| 202 | "id": "Binding", |
| 203 | "properties": { |
| 204 | "condition": { |
| 205 | "$ref": "Expr", |
| 206 | "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 207 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 208 | "members": { |
| 209 | "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", |
| 210 | "items": { |
| 211 | "type": "string" |
| 212 | }, |
| 213 | "type": "array" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 214 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 215 | "role": { |
| 216 | "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", |
| 217 | "type": "string" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 218 | } |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 219 | }, |
| 220 | "type": "object" |
Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 221 | }, |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 222 | "Expr": { |
| 223 | "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", |
| 224 | "id": "Expr", |
| 225 | "properties": { |
| 226 | "description": { |
| 227 | "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", |
| 228 | "type": "string" |
| 229 | }, |
| 230 | "expression": { |
| 231 | "description": "Textual representation of an expression in Common Expression Language syntax.", |
| 232 | "type": "string" |
| 233 | }, |
| 234 | "location": { |
| 235 | "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", |
| 236 | "type": "string" |
| 237 | }, |
| 238 | "title": { |
| 239 | "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", |
| 240 | "type": "string" |
| 241 | } |
| 242 | }, |
| 243 | "type": "object" |
| 244 | }, |
| 245 | "GetIamPolicyRequest": { |
| 246 | "description": "Request message for `GetIamPolicy` method.", |
| 247 | "id": "GetIamPolicyRequest", |
| 248 | "properties": { |
| 249 | "options": { |
| 250 | "$ref": "GetPolicyOptions", |
| 251 | "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." |
| 252 | } |
| 253 | }, |
| 254 | "type": "object" |
| 255 | }, |
| 256 | "GetPolicyOptions": { |
| 257 | "description": "Encapsulates settings provided to GetIamPolicy.", |
| 258 | "id": "GetPolicyOptions", |
| 259 | "properties": { |
| 260 | "requestedPolicyVersion": { |
| 261 | "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", |
| 262 | "format": "int32", |
| 263 | "type": "integer" |
| 264 | } |
| 265 | }, |
| 266 | "type": "object" |
| 267 | }, |
| 268 | "Policy": { |
| 269 | "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members` to a single `role`. Members can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", |
| 270 | "id": "Policy", |
| 271 | "properties": { |
| 272 | "bindings": { |
| 273 | "description": "Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member.", |
| 274 | "items": { |
| 275 | "$ref": "Binding" |
| 276 | }, |
| 277 | "type": "array" |
| 278 | }, |
| 279 | "etag": { |
| 280 | "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", |
| 281 | "format": "byte", |
| 282 | "type": "string" |
| 283 | }, |
| 284 | "version": { |
| 285 | "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", |
| 286 | "format": "int32", |
| 287 | "type": "integer" |
| 288 | } |
| 289 | }, |
| 290 | "type": "object" |
| 291 | }, |
| 292 | "SetIamPolicyRequest": { |
| 293 | "description": "Request message for `SetIamPolicy` method.", |
| 294 | "id": "SetIamPolicyRequest", |
| 295 | "properties": { |
| 296 | "policy": { |
| 297 | "$ref": "Policy", |
| 298 | "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them." |
| 299 | } |
| 300 | }, |
| 301 | "type": "object" |
| 302 | }, |
| 303 | "TestIamPermissionsRequest": { |
| 304 | "description": "Request message for `TestIamPermissions` method.", |
| 305 | "id": "TestIamPermissionsRequest", |
| 306 | "properties": { |
| 307 | "permissions": { |
| 308 | "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
| 309 | "items": { |
| 310 | "type": "string" |
| 311 | }, |
| 312 | "type": "array" |
| 313 | } |
| 314 | }, |
| 315 | "type": "object" |
| 316 | }, |
| 317 | "TestIamPermissionsResponse": { |
| 318 | "description": "Response message for `TestIamPermissions` method.", |
| 319 | "id": "TestIamPermissionsResponse", |
| 320 | "properties": { |
| 321 | "permissions": { |
| 322 | "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", |
| 323 | "items": { |
| 324 | "type": "string" |
| 325 | }, |
| 326 | "type": "array" |
| 327 | } |
| 328 | }, |
| 329 | "type": "object" |
| 330 | } |
| 331 | }, |
| 332 | "servicePath": "", |
| 333 | "title": "Cloud Identity-Aware Proxy API", |
| 334 | "version": "v1beta1", |
| 335 | "version_module": true |
yoshi-code-bot | b6dc1b9 | 2021-03-02 11:49:08 -0800 | [diff] [blame] | 336 | } |