Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2156)

Unified Diff: discovery/googleapis/iam__v1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/identitytoolkit__v3.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/iam__v1.json
diff --git a/discovery/googleapis/iam__v1.json b/discovery/googleapis/iam__v1.json
index 5ac756397b9be97502111a81b44ecb2b91b759a6..b5faaf9f9f4198542fff6d5f5059020928a01abe 100644
--- a/discovery/googleapis/iam__v1.json
+++ b/discovery/googleapis/iam__v1.json
@@ -11,10 +11,11 @@
"basePath": "",
"baseUrl": "https://iam.googleapis.com/",
"batchPath": "batch",
+ "canonicalName": "iam",
"description": "Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/iam/",
- "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/KGIJuBPLol6TqL9arf5YOmp-wQ0\"",
+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/bQX0iw41CX8vYvVm7WSKLdyxMvI\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -110,7 +111,7 @@
"serviceAccounts": {
"methods": {
"list": {
- "description": "Lists service accounts for a project.",
+ "description": "Lists ServiceAccounts for a project.",
"httpMethod": "GET",
"id": "iam.projects.serviceAccounts.list",
"parameterOrder": [
@@ -118,20 +119,20 @@
],
"parameters": {
"name": {
- "description": "Required. The resource name of the project associated with the service accounts, such as \"projects/123\"",
+ "description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-project-123`.",
"location": "path",
"pattern": "^projects/[^/]*$",
"required": true,
"type": "string"
},
"pageSize": {
- "description": "Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the [ListServiceAccountsResponse.next_page_token] in a subsequent request.",
+ "description": "Optional limit on the number of service accounts to include in the response. Further accounts can subsequently be obtained by including the ListServiceAccountsResponse.next_page_token in a subsequent request.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "Optional pagination token returned in an earlier [ListServiceAccountsResponse.next_page_token].",
+ "description": "Optional pagination token returned in an earlier ListServiceAccountsResponse.next_page_token.",
"location": "query",
"type": "string"
}
@@ -145,7 +146,7 @@
]
},
"get": {
- "description": "Gets a ServiceAccount",
+ "description": "Gets a ServiceAccount.",
"httpMethod": "GET",
"id": "iam.projects.serviceAccounts.get",
"parameterOrder": [
@@ -153,7 +154,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -169,7 +170,7 @@
]
},
"create": {
- "description": "Creates a service account and returns it.",
+ "description": "Creates a ServiceAccount and returns it.",
"httpMethod": "POST",
"id": "iam.projects.serviceAccounts.create",
"parameterOrder": [
@@ -177,7 +178,7 @@
],
"parameters": {
"name": {
- "description": "Required. The resource name of the project associated with the service accounts, such as \"projects/123\"",
+ "description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-project-123`.",
"location": "path",
"pattern": "^projects/[^/]*$",
"required": true,
@@ -196,7 +197,7 @@
]
},
"update": {
- "description": "Updates a service account. Currently, only the following fields are updatable: 'display_name' . The 'etag' is mandatory.",
+ "description": "Updates a ServiceAccount. Currently, only the following fields are updatable: `display_name` . The `etag` is mandatory.",
"httpMethod": "PUT",
"id": "iam.projects.serviceAccounts.update",
"parameterOrder": [
@@ -204,7 +205,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". In requests using '-' as a wildcard for the project, will infer the project from the account and the account value can be the email address or the unique_id of the service account. In responses the resource name will always be in the format \"projects/{project}/serviceAccounts/{email}\".",
+ "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Requests using `-` as a wildcard for the project will infer the project from the `account` and the `account` value can be the `email` address or the `unique_id` of the service account. In responses the resource name will always be in the format `projects/{project}/serviceAccounts/{email}`.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -223,7 +224,7 @@
]
},
"delete": {
- "description": "Deletes a service acount.",
+ "description": "Deletes a ServiceAccount.",
"httpMethod": "DELETE",
"id": "iam.projects.serviceAccounts.delete",
"parameterOrder": [
@@ -231,7 +232,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -247,7 +248,7 @@
]
},
"signBlob": {
- "description": "Signs a blob using a service account.",
+ "description": "Signs a blob using a service account's system-managed private key.",
"httpMethod": "POST",
"id": "iam.projects.serviceAccounts.signBlob",
"parameterOrder": [
@@ -255,7 +256,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -274,7 +275,7 @@
]
},
"getIamPolicy": {
- "description": "Returns the IAM access control policy for specified IAM resource.",
+ "description": "Returns the IAM access control policy for a ServiceAccount.",
"httpMethod": "POST",
"id": "iam.projects.serviceAccounts.getIamPolicy",
"parameterOrder": [
@@ -282,7 +283,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `getIamPolicy` documentation.",
+ "description": "REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -298,7 +299,7 @@
]
},
"setIamPolicy": {
- "description": "Sets the IAM access control policy for the specified IAM resource.",
+ "description": "Sets the IAM access control policy for a ServiceAccount.",
"httpMethod": "POST",
"id": "iam.projects.serviceAccounts.setIamPolicy",
"parameterOrder": [
@@ -306,7 +307,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `setIamPolicy` documentation.",
+ "description": "REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -325,7 +326,7 @@
]
},
"testIamPermissions": {
- "description": "Tests the specified permissions against the IAM access control policy for the specified IAM resource.",
+ "description": "Tests the specified permissions against the IAM access control policy for a ServiceAccount.",
"httpMethod": "POST",
"id": "iam.projects.serviceAccounts.testIamPermissions",
"parameterOrder": [
@@ -333,7 +334,7 @@
],
"parameters": {
"resource": {
- "description": "REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `testIamPermissions` documentation.",
+ "description": "REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -356,7 +357,7 @@
"keys": {
"methods": {
"list": {
- "description": "Lists service account keys",
+ "description": "Lists ServiceAccountKeys.",
"httpMethod": "GET",
"id": "iam.projects.serviceAccounts.keys.list",
"parameterOrder": [
@@ -364,14 +365,14 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project, will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
"type": "string"
},
"keyTypes": {
- "description": "The type of keys the user wants to list. If empty, all key types are included in the response. Duplicate key types are not allowed.",
+ "description": "Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.",
"enum": [
"KEY_TYPE_UNSPECIFIED",
"USER_MANAGED",
@@ -399,11 +400,21 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{account}/keys/{key}\". Using '-' as a wildcard for the project will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "The resource name of the service account key in the following format: `projects/{project}/serviceAccounts/{account}/keys/{key}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*/keys/[^/]*$",
"required": true,
"type": "string"
+ },
+ "publicKeyType": {
+ "description": "The output format of the public key requested. X509_PEM is the default output format.",
+ "enum": [
+ "TYPE_NONE",
+ "TYPE_X509_PEM_FILE",
+ "TYPE_RAW_PUBLIC_KEY"
+ ],
+ "location": "query",
+ "type": "string"
}
},
"path": "v1/{+name}",
@@ -415,7 +426,7 @@
]
},
"create": {
- "description": "Creates a service account key and returns it.",
+ "description": "Creates a ServiceAccountKey and returns it.",
"httpMethod": "POST",
"id": "iam.projects.serviceAccounts.keys.create",
"parameterOrder": [
@@ -423,7 +434,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*$",
"required": true,
@@ -442,7 +453,7 @@
]
},
"delete": {
- "description": "Deletes a service account key.",
+ "description": "Deletes a ServiceAccountKey.",
"httpMethod": "DELETE",
"id": "iam.projects.serviceAccounts.keys.delete",
"parameterOrder": [
@@ -450,7 +461,7 @@
],
"parameters": {
"name": {
- "description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{account}/keys/{key}\". Using '-' as a wildcard for the project will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "The resource name of the service account key in the following format: `projects/{project}/serviceAccounts/{account}/keys/{key}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"location": "path",
"pattern": "^projects/[^/]*/serviceAccounts/[^/]*/keys/[^/]*$",
"required": true,
@@ -470,9 +481,28 @@
}
}
}
+ },
+ "roles": {
+ "methods": {
+ "queryGrantableRoles": {
+ "description": "Queries roles that can be granted on a particular resource. A role is grantable if it can be used as the role in a binding for a policy for that resource.",
+ "httpMethod": "POST",
+ "id": "iam.roles.queryGrantableRoles",
+ "path": "v1/roles:queryGrantableRoles",
+ "request": {
+ "$ref": "QueryGrantableRolesRequest"
+ },
+ "response": {
+ "$ref": "QueryGrantableRolesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ }
+ }
}
},
- "revision": "20160129",
+ "revision": "20160915",
"rootUrl": "https://iam.googleapis.com/",
"schemas": {
"ListServiceAccountsResponse": {
@@ -487,18 +517,18 @@
"type": "array"
},
"nextPageToken": {
- "description": "To retrieve the next page of results, set [ListServiceAccountsRequest.page_token] to this value.",
+ "description": "To retrieve the next page of results, set ListServiceAccountsRequest.page_token to this value.",
"type": "string"
}
},
"type": "object"
},
"ServiceAccount": {
- "description": "A service account in the Identity and Access Management API. To create a service account, you specify the project_id and account_id for the account. The account_id is unique within the project, and used to generate the service account email address and a stable unique id. All other methods can identify accounts using the format \"projects/{project}/serviceAccounts/{account}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the service account.",
+ "description": "A service account in the Identity and Access Management API. To create a service account, specify the `project_id` and the `account_id` for the account. The `account_id` is unique within the project, and is used to generate the service account email address and a stable `unique_id`. If the account already exists, the account's resource name is returned in util::Status's ResourceInfo.resource_name in the format of projects/{project}/serviceAccounts/{email}. The caller can use the name in other methods to access the account. All other methods can identify the service account using the format `projects/{project}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
"id": "ServiceAccount",
"properties": {
"name": {
- "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". In requests using '-' as a wildcard for the project, will infer the project from the account and the account value can be the email address or the unique_id of the service account. In responses the resource name will always be in the format \"projects/{project}/serviceAccounts/{email}\".",
+ "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Requests using `-` as a wildcard for the project will infer the project from the `account` and the `account` value can be the `email` address or the `unique_id` of the service account. In responses the resource name will always be in the format `projects/{project}/serviceAccounts/{email}`.",
"type": "string"
},
"projectId": {
@@ -506,11 +536,11 @@
"type": "string"
},
"uniqueId": {
- "description": "@OutputOnly unique and stable id of the service account.",
+ "description": "@OutputOnly The unique and stable id of the service account.",
"type": "string"
},
"email": {
- "description": "@OutputOnly Email address of the service account.",
+ "description": "@OutputOnly The email address of the service account.",
"type": "string"
},
"displayName": {
@@ -534,12 +564,12 @@
"id": "CreateServiceAccountRequest",
"properties": {
"accountId": {
- "description": "Required. The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 1-63 characters long, and match the regular expression [a-z]([-a-z0-9]*[a-z0-9]) to comply with RFC1035.",
+ "description": "Required. The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.",
"type": "string"
},
"serviceAccount": {
"$ref": "ServiceAccount",
- "description": "The ServiceAccount resource to create. Currently, only the following values are user assignable: display_name ."
+ "description": "The ServiceAccount resource to create. Currently, only the following values are user assignable: `display_name` ."
}
},
"type": "object"
@@ -564,15 +594,15 @@
"type": "object"
},
"ServiceAccountKey": {
- "description": "Represents a service account key. A service account can have 0 or more key pairs. The private keys for these are not stored by Google. ServiceAccountKeys are immutable.",
+ "description": "Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pairs can be created and deleted by users. Users are responsible for rotating these keys periodically to ensure security of their service accounts. Users retain the private key of these key-pairs, and Google retains ONLY the public key. System-managed key-pairs are managed automatically by Google, and rotated daily without user intervention. The private key never leaves Google's servers to maximize security. Public keys for all service accounts are also published at the OAuth2 Service Account API.",
"id": "ServiceAccountKey",
"properties": {
"name": {
- "description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{email}/keys/{key}\".",
+ "description": "The resource name of the service account key in the following format `projects/{project}/serviceAccounts/{account}/keys/{key}`.",
"type": "string"
},
"privateKeyType": {
- "description": "The type of the private key.",
+ "description": "The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` or `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.",
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PKCS12_FILE",
@@ -580,8 +610,22 @@
],
"type": "string"
},
+ "keyAlgorithm": {
+ "description": "Specifies the algorithm (and possibly key size) for the key.",
+ "enum": [
+ "KEY_ALG_UNSPECIFIED",
+ "KEY_ALG_RSA_1024",
+ "KEY_ALG_RSA_2048"
+ ],
+ "type": "string"
+ },
"privateKeyData": {
- "description": "The key data.",
+ "description": "The private key data. Only provided in `CreateServiceAccountKey` responses.",
+ "format": "byte",
+ "type": "string"
+ },
+ "publicKeyData": {
+ "description": "The public key data. Only provided in `GetServiceAccountKey` responses.",
"format": "byte",
"type": "string"
},
@@ -601,13 +645,22 @@
"id": "CreateServiceAccountKeyRequest",
"properties": {
"privateKeyType": {
- "description": "The type of the key requested. GOOGLE_CREDENTIALS is the default key type.",
+ "description": "The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the default output format.",
"enum": [
"TYPE_UNSPECIFIED",
"TYPE_PKCS12_FILE",
"TYPE_GOOGLE_CREDENTIALS_FILE"
],
"type": "string"
+ },
+ "keyAlgorithm": {
+ "description": "Which type of key and algorithm to use for the key. The default is currently a 4K RSA key. However this may change in the future.",
+ "enum": [
+ "KEY_ALG_UNSPECIFIED",
+ "KEY_ALG_RSA_1024",
+ "KEY_ALG_RSA_2048"
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -617,7 +670,7 @@
"id": "SignBlobRequest",
"properties": {
"bytesToSign": {
- "description": "The bytes to sign",
+ "description": "The bytes to sign.",
"format": "byte",
"type": "string"
}
@@ -641,7 +694,7 @@
"type": "object"
},
"Policy": {
- "description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
+ "description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"id": "Policy",
"properties": {
"version": {
@@ -656,12 +709,6 @@
},
"type": "array"
},
- "rules": {
- "items": {
- "$ref": "Rule"
- },
- "type": "array"
- },
"etag": {
"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. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
"format": "byte",
@@ -688,203 +735,140 @@
},
"type": "object"
},
- "Rule": {
- "description": "A rule to be applied in a Policy.",
- "id": "Rule",
+ "SetIamPolicyRequest": {
+ "description": "Request message for `SetIamPolicy` method.",
+ "id": "SetIamPolicyRequest",
+ "properties": {
+ "policy": {
+ "$ref": "Policy",
+ "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."
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsRequest": {
+ "description": "Request message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsRequest",
"properties": {
- "description": {
- "description": "Human-readable description of the rule.",
- "type": "string"
- },
"permissions": {
- "description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
+ "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).",
"items": {
"type": "string"
},
"type": "array"
- },
- "action": {
- "description": "Required",
- "enum": [
- "NO_ACTION",
- "ALLOW",
- "ALLOW_WITH_LOG",
- "DENY",
- "DENY_WITH_LOG",
- "LOG"
- ],
- "type": "string"
- },
- "in": {
- "description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "notIn": {
- "description": "The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries. The format for in and not_in entries is the same as for members in a Binding (see google/iam/v1/policy.proto).",
+ }
+ },
+ "type": "object"
+ },
+ "TestIamPermissionsResponse": {
+ "description": "Response message for `TestIamPermissions` method.",
+ "id": "TestIamPermissionsResponse",
+ "properties": {
+ "permissions": {
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
},
"type": "array"
- },
- "conditions": {
- "description": "Additional restrictions that must be met",
- "items": {
- "$ref": "Condition"
- },
- "type": "array"
- },
- "logConfig": {
- "description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
- "items": {
- "$ref": "LogConfig"
- },
- "type": "array"
}
},
"type": "object"
},
- "Condition": {
- "description": "A condition to be met.",
- "id": "Condition",
+ "QueryGrantableRolesRequest": {
+ "description": "The grantable role query request.",
+ "id": "QueryGrantableRolesRequest",
"properties": {
- "iam": {
- "description": "Trusted attributes supplied by the IAM system.",
- "enum": [
- "NO_ATTR",
- "AUTHORITY",
- "ATTRIBUTION"
- ],
+ "fullResourceName": {
+ "description": "Required. The full resource name to query from the list of grantable roles. The name follows the Google Cloud Platform resource format. For example, a Cloud Platform project with id `my-project` will be named `//cloudresourcemanager.googleapis.com/projects/my-project`.",
"type": "string"
- },
- "sys": {
- "description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.",
- "enum": [
- "NO_ATTR",
- "REGION",
- "SERVICE",
- "NAME",
- "IP"
- ],
- "type": "string"
- },
- "svc": {
- "description": "Trusted attributes discharged by the service.",
- "type": "string"
- },
- "op": {
- "description": "An operator to apply the subject with.",
- "enum": [
- "NO_OP",
- "EQUALS",
- "NOT_EQUALS",
- "IN",
- "NOT_IN",
- "DISCHARGED"
- ],
- "type": "string"
- },
- "value": {
- "description": "The object of the condition. Exactly one of these must be set.",
- "type": "string"
- },
- "values": {
- "description": "The objects of the condition. This is mutually exclusive with 'value'.",
- "items": {
- "type": "string"
- },
- "type": "array"
}
},
"type": "object"
},
- "LogConfig": {
- "description": "Specifies what kind of log the caller must write Increment a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in \"_count\". Field names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended. Field names correspond to IAM request parameters and field values are their respective values. At present only \"iam_principal\", corresponding to IAMContext.principal, is supported. Examples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.principal]} At this time we do not support: * multiple field names (though this may be supported in the future) * decrementing the counter * incrementing it by anything other than 1",
- "id": "LogConfig",
+ "QueryGrantableRolesResponse": {
+ "description": "The grantable role query response.",
+ "id": "QueryGrantableRolesResponse",
"properties": {
- "counter": {
- "$ref": "CounterOptions",
- "description": "Counter options."
- },
- "dataAccess": {
- "$ref": "DataAccessOptions",
- "description": "Data access options."
- },
- "cloudAudit": {
- "$ref": "CloudAuditOptions",
- "description": "Cloud audit options."
+ "roles": {
+ "description": "The list of matching roles.",
+ "items": {
+ "$ref": "Role"
+ },
+ "type": "array"
}
},
"type": "object"
},
- "CounterOptions": {
- "description": "Options for counters",
- "id": "CounterOptions",
+ "Role": {
+ "description": "A role in the Identity and Access Management API.",
+ "id": "Role",
"properties": {
- "metric": {
- "description": "The metric to update.",
+ "name": {
+ "description": "The name of the role. When Role is used in CreateRole, the role name must not be set. When Role is used in output and other input such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer for curated roles and organizations/{organization-id}/roles/logging.viewer for custom roles.",
"type": "string"
},
- "field": {
- "description": "The field value to attribute.",
+ "title": {
+ "description": "Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Optional. A human-readable description for the role.",
"type": "string"
}
},
"type": "object"
},
- "DataAccessOptions": {
- "description": "Write a Data Access (Gin) log",
- "id": "DataAccessOptions",
- "type": "object"
- },
- "CloudAuditOptions": {
- "description": "Write a Cloud Audit log",
- "id": "CloudAuditOptions",
- "type": "object"
- },
- "SetIamPolicyRequest": {
- "description": "Request message for `SetIamPolicy` method.",
- "id": "SetIamPolicyRequest",
+ "AuditData": {
+ "description": "Audit log information specific to Cloud IAM. This message is serialized as an `Any` type in the `ServiceData` message of an `AuditLog` message.",
+ "id": "AuditData",
"properties": {
- "policy": {
- "$ref": "Policy",
- "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."
+ "policyDelta": {
+ "$ref": "PolicyDelta",
+ "description": "Policy delta between the original policy and the newly set policy."
}
},
"type": "object"
},
- "TestIamPermissionsRequest": {
- "description": "Request message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsRequest",
+ "PolicyDelta": {
+ "description": "The difference delta between two policies.",
+ "id": "PolicyDelta",
"properties": {
- "permissions": {
- "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.",
+ "bindingDeltas": {
+ "description": "The delta for Bindings between two policies.",
"items": {
- "type": "string"
+ "$ref": "BindingDelta"
},
"type": "array"
}
},
"type": "object"
},
- "TestIamPermissionsResponse": {
- "description": "Response message for `TestIamPermissions` method.",
- "id": "TestIamPermissionsResponse",
+ "BindingDelta": {
+ "description": "One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.",
+ "id": "BindingDelta",
"properties": {
- "permissions": {
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
- "items": {
- "type": "string"
- },
- "type": "array"
+ "action": {
+ "description": "The action that was performed on a Binding. Required",
+ "enum": [
+ "ACTION_UNSPECIFIED",
+ "ADD",
+ "REMOVE"
+ ],
+ "type": "string"
+ },
+ "role": {
+ "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required",
+ "type": "string"
+ },
+ "member": {
+ "description": "A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required",
+ "type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
- "title": "Google Identity and Access Management API",
+ "title": "Google Identity and Access Management (IAM) API",
"version": "v1"
}
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/identitytoolkit__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698