Index: discovery/googleapis/iam__v1.json |
diff --git a/discovery/googleapis/iam__v1.json b/discovery/googleapis/iam__v1.json |
index 4856fe766fe39259ffd576185f08f05686144f4a..f24b02656868610ca352b1dbcfbe0c4b6172acb3 100644 |
--- a/discovery/googleapis/iam__v1.json |
+++ b/discovery/googleapis/iam__v1.json |
@@ -80,13 +80,13 @@ |
"location": "query", |
"type": "string" |
}, |
- "access_token": { |
- "description": "OAuth access token.", |
+ "key": { |
+ "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.", |
"location": "query", |
"type": "string" |
}, |
- "key": { |
- "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.", |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
@@ -101,13 +101,13 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
"location": "query", |
"type": "string" |
}, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
"location": "query", |
"type": "string" |
} |
@@ -118,30 +118,6 @@ |
"resources": { |
"serviceAccounts": { |
"methods": { |
- "getIamPolicy": { |
- "description": "Returns the IAM access control policy for a\nServiceAccount.", |
- "httpMethod": "POST", |
- "id": "iam.projects.serviceAccounts.getIamPolicy", |
- "parameterOrder": [ |
- "resource" |
- ], |
- "parameters": { |
- "resource": { |
- "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
- "location": "path", |
- "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/{+resource}:getIamPolicy", |
- "response": { |
- "$ref": "Policy" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
"get": { |
"description": "Gets a ServiceAccount.", |
"httpMethod": "GET", |
@@ -279,6 +255,11 @@ |
"name" |
], |
"parameters": { |
+ "pageToken": { |
+ "description": "Optional pagination token returned in an earlier\nListServiceAccountsResponse.next_page_token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"name": { |
"description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-project-123`.", |
"location": "path", |
@@ -286,11 +267,6 @@ |
"required": true, |
"type": "string" |
}, |
- "pageToken": { |
- "description": "Optional pagination token returned in an earlier\nListServiceAccountsResponse.next_page_token.", |
- "location": "query", |
- "type": "string" |
- }, |
"pageSize": { |
"description": "Optional limit on the number of service accounts to include in the\nresponse. Further accounts can subsequently be obtained by including the\nListServiceAccountsResponse.next_page_token\nin a subsequent request.", |
"format": "int32", |
@@ -306,6 +282,33 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
+ "signJwt": { |
+ "description": "Signs a JWT using a service account's system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you request an expiry time of\nmore than one hour, the request will fail.", |
+ "httpMethod": "POST", |
+ "id": "iam.projects.serviceAccounts.signJwt", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/{+name}:signJwt", |
+ "request": { |
+ "$ref": "SignJwtRequest" |
+ }, |
+ "response": { |
+ "$ref": "SignJwtResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
"setIamPolicy": { |
"description": "Sets the IAM access control policy for a\nServiceAccount.", |
"httpMethod": "POST", |
@@ -360,28 +363,25 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "signJwt": { |
- "description": "Signs a JWT using a service account's system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you request an expiry time of\nmore than one hour, the request will fail.", |
+ "getIamPolicy": { |
+ "description": "Returns the IAM access control policy for a\nServiceAccount.", |
"httpMethod": "POST", |
- "id": "iam.projects.serviceAccounts.signJwt", |
+ "id": "iam.projects.serviceAccounts.getIamPolicy", |
"parameterOrder": [ |
- "name" |
+ "resource" |
], |
"parameters": { |
- "name": { |
- "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
+ "resource": { |
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
"location": "path", |
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}:signJwt", |
- "request": { |
- "$ref": "SignJwtRequest" |
- }, |
+ "path": "v1/{+resource}:getIamPolicy", |
"response": { |
- "$ref": "SignJwtResponse" |
+ "$ref": "Policy" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -391,43 +391,50 @@ |
"resources": { |
"keys": { |
"methods": { |
- "create": { |
- "description": "Creates a ServiceAccountKey\nand returns it.", |
- "httpMethod": "POST", |
- "id": "iam.projects.serviceAccounts.keys.create", |
+ "delete": { |
+ "description": "Deletes a ServiceAccountKey.", |
+ "httpMethod": "DELETE", |
+ "id": "iam.projects.serviceAccounts.keys.delete", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
+ "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
"location": "path", |
- "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", |
+ "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}/keys", |
- "request": { |
- "$ref": "CreateServiceAccountKeyRequest" |
- }, |
+ "path": "v1/{+name}", |
"response": { |
- "$ref": "ServiceAccountKey" |
+ "$ref": "Empty" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "delete": { |
- "description": "Deletes a ServiceAccountKey.", |
- "httpMethod": "DELETE", |
- "id": "iam.projects.serviceAccounts.keys.delete", |
+ "get": { |
+ "description": "Gets the ServiceAccountKey\nby key id.", |
+ "httpMethod": "GET", |
+ "id": "iam.projects.serviceAccounts.keys.get", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
+ "publicKeyType": { |
+ "description": "The output format of the public key requested.\nX509_PEM is the default output format.", |
+ "enum": [ |
+ "TYPE_NONE", |
+ "TYPE_X509_PEM_FILE", |
+ "TYPE_RAW_PUBLIC_KEY" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
"name": { |
- "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
+ "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
"location": "path", |
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", |
"required": true, |
@@ -436,7 +443,7 @@ |
}, |
"path": "v1/{+name}", |
"response": { |
- "$ref": "Empty" |
+ "$ref": "ServiceAccountKey" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -477,33 +484,26 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "get": { |
- "description": "Gets the ServiceAccountKey\nby key id.", |
- "httpMethod": "GET", |
- "id": "iam.projects.serviceAccounts.keys.get", |
+ "create": { |
+ "description": "Creates a ServiceAccountKey\nand returns it.", |
+ "httpMethod": "POST", |
+ "id": "iam.projects.serviceAccounts.keys.create", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
- "publicKeyType": { |
- "description": "The output format of the public key requested.\nX509_PEM is the default output format.", |
- "enum": [ |
- "TYPE_NONE", |
- "TYPE_X509_PEM_FILE", |
- "TYPE_RAW_PUBLIC_KEY" |
- ], |
- "location": "query", |
- "type": "string" |
- }, |
"name": { |
- "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
+ "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
"location": "path", |
- "pattern": "^projects/[^/]+/serviceAccounts/[^/]+/keys/[^/]+$", |
+ "pattern": "^projects/[^/]+/serviceAccounts/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}", |
+ "path": "v1/{+name}/keys", |
+ "request": { |
+ "$ref": "CreateServiceAccountKeyRequest" |
+ }, |
"response": { |
"$ref": "ServiceAccountKey" |
}, |
@@ -539,35 +539,70 @@ |
} |
} |
}, |
- "revision": "20170526", |
+ "revision": "20170622", |
"rootUrl": "https://iam.googleapis.com/", |
"schemas": { |
- "QueryGrantableRolesResponse": { |
- "description": "The grantable role query response.", |
- "id": "QueryGrantableRolesResponse", |
+ "PolicyDelta": { |
+ "description": "The difference delta between two policies.", |
+ "id": "PolicyDelta", |
"properties": { |
- "roles": { |
- "description": "The list of matching roles.", |
+ "bindingDeltas": { |
+ "description": "The delta for Bindings between two policies.", |
"items": { |
- "$ref": "Role" |
+ "$ref": "BindingDelta" |
}, |
"type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CreateServiceAccountRequest": { |
+ "description": "The service account create request.", |
+ "id": "CreateServiceAccountRequest", |
+ "properties": { |
+ "serviceAccount": { |
+ "$ref": "ServiceAccount", |
+ "description": "The ServiceAccount resource to create.\nCurrently, only the following values are user assignable:\n`display_name` ." |
}, |
+ "accountId": { |
+ "description": "Required. The account id that is used to generate the service account\nemail address and a stable unique id. It is unique within a project,\nmust be 6-30 characters long, and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListServiceAccountsResponse": { |
+ "description": "The service account list response.", |
+ "id": "ListServiceAccountsResponse", |
+ "properties": { |
"nextPageToken": { |
- "description": "To retrieve the next page of results, set\n`QueryGrantableRolesRequest.page_token` to this value.", |
+ "description": "To retrieve the next page of results, set\nListServiceAccountsRequest.page_token\nto this value.", |
"type": "string" |
+ }, |
+ "accounts": { |
+ "description": "The list of matching service accounts.", |
+ "items": { |
+ "$ref": "ServiceAccount" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
}, |
- "SignBlobRequest": { |
- "description": "The service account sign blob request.", |
- "id": "SignBlobRequest", |
+ "QueryGrantableRolesResponse": { |
+ "description": "The grantable role query response.", |
+ "id": "QueryGrantableRolesResponse", |
"properties": { |
- "bytesToSign": { |
- "description": "The bytes to sign.", |
- "format": "byte", |
+ "nextPageToken": { |
+ "description": "To retrieve the next page of results, set\n`QueryGrantableRolesRequest.page_token` to this value.", |
"type": "string" |
+ }, |
+ "roles": { |
+ "description": "The list of matching roles.", |
+ "items": { |
+ "$ref": "Role" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -576,6 +611,10 @@ |
"description": "A role in the Identity and Access Management API.", |
"id": "Role", |
"properties": { |
+ "description": { |
+ "description": "Optional. A human-readable description for the role.", |
+ "type": "string" |
+ }, |
"title": { |
"description": "Optional. A human-readable title for the role. Typically this\nis limited to 100 UTF-8 bytes.", |
"type": "string" |
@@ -583,9 +622,17 @@ |
"name": { |
"description": "The name of the role.\n\nWhen Role is used in CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles/logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.", |
"type": "string" |
- }, |
- "description": { |
- "description": "Optional. A human-readable description for the role.", |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "SignBlobRequest": { |
+ "description": "The service account sign blob request.", |
+ "id": "SignBlobRequest", |
+ "properties": { |
+ "bytesToSign": { |
+ "description": "The bytes to sign.", |
+ "format": "byte", |
"type": "string" |
} |
}, |
@@ -620,36 +667,14 @@ |
}, |
"type": "object" |
}, |
- "QueryGrantableRolesRequest": { |
- "description": "The grantable role query request.", |
- "id": "QueryGrantableRolesRequest", |
- "properties": { |
- "fullResourceName": { |
- "description": "Required. The full resource name to query from the list of grantable roles.\n\nThe name follows the Google Cloud Platform resource format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.", |
- "type": "string" |
- }, |
- "pageToken": { |
- "description": "Optional pagination token returned in an earlier\nQueryGrantableRolesResponse.", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "Optional limit on the number of roles to include in the response.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
- "Empty": { |
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
- "id": "Empty", |
- "properties": {}, |
- "type": "object" |
- }, |
"ServiceAccount": { |
"description": "A service account in the Identity and Access Management API.\n\nTo create a service account, specify the `project_id` and the `account_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n\nIf the account already exists, the account's resource name is returned\nin util::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other methods to access the account.\n\nAll other methods can identify the service account using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", |
"id": "ServiceAccount", |
"properties": { |
+ "displayName": { |
+ "description": "Optional. A user-specified description of the service account. Must be\nfewer than 100 UTF-8 bytes.", |
+ "type": "string" |
+ }, |
"etag": { |
"description": "Used to perform a consistent read-modify-write.", |
"format": "byte", |
@@ -667,31 +692,39 @@ |
"description": "@OutputOnly The id of the project that owns the service account.", |
"type": "string" |
}, |
- "oauth2ClientId": { |
- "description": "@OutputOnly. The OAuth2 client id for the service account.\nThis is used in conjunction with the OAuth2 clientconfig API to make\nthree legged OAuth2 (3LO) flows to access the data of Google users.", |
- "type": "string" |
- }, |
"uniqueId": { |
"description": "@OutputOnly The unique and stable id of the service account.", |
"type": "string" |
}, |
- "displayName": { |
- "description": "Optional. A user-specified description of the service account. Must be\nfewer than 100 UTF-8 bytes.", |
+ "oauth2ClientId": { |
+ "description": "@OutputOnly. The OAuth2 client id for the service account.\nThis is used in conjunction with the OAuth2 clientconfig API to make\nthree legged OAuth2 (3LO) flows to access the data of Google users.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "TestIamPermissionsResponse": { |
- "description": "Response message for `TestIamPermissions` method.", |
- "id": "TestIamPermissionsResponse", |
+ "Empty": { |
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
+ "id": "Empty", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "QueryGrantableRolesRequest": { |
+ "description": "The grantable role query request.", |
+ "id": "QueryGrantableRolesRequest", |
"properties": { |
- "permissions": { |
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "pageSize": { |
+ "description": "Optional limit on the number of roles to include in the response.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "fullResourceName": { |
+ "description": "Required. The full resource name to query from the list of grantable roles.\n\nThe name follows the Google Cloud Platform resource format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.", |
+ "type": "string" |
+ }, |
+ "pageToken": { |
+ "description": "Optional pagination token returned in an earlier\nQueryGrantableRolesResponse.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -710,10 +743,34 @@ |
}, |
"type": "object" |
}, |
+ "TestIamPermissionsResponse": { |
+ "description": "Response message for `TestIamPermissions` method.", |
+ "id": "TestIamPermissionsResponse", |
+ "properties": { |
+ "permissions": { |
+ "description": "A subset of `TestPermissionsRequest.permissions` that the caller is\nallowed.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"ServiceAccountKey": { |
"description": "Represents a service account key.\n\nA service account has two sets of key-pairs: user-managed, and\nsystem-managed.\n\nUser-managed key-pairs can be created and deleted by users. Users are\nresponsible for rotating these keys periodically to ensure security of\ntheir service accounts. Users retain the private key of these key-pairs,\nand Google retains ONLY the public key.\n\nSystem-managed key-pairs are managed automatically by Google, and rotated\ndaily without user intervention. The private key never leaves Google's\nservers to maximize security.\n\nPublic keys for all service accounts are also published at the OAuth2\nService Account API.", |
"id": "ServiceAccountKey", |
"properties": { |
+ "privateKeyData": { |
+ "description": "The private key data. Only provided in `CreateServiceAccountKey`\nresponses. Make sure to keep the private key data secure because it\nallows for the assertion of the service account identity.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
+ "publicKeyData": { |
+ "description": "The public key data. Only provided in `GetServiceAccountKey` responses.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
"name": { |
"description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.", |
"type": "string" |
@@ -737,6 +794,11 @@ |
], |
"type": "string" |
}, |
+ "validAfterTime": { |
+ "description": "The key can be used after this timestamp.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
"privateKeyType": { |
"description": "The output format for the private key.\nOnly provided in `CreateServiceAccountKey` responses, not\nin `GetServiceAccountKey` or `ListServiceAccountKey` responses.\n\nGoogle never exposes system-managed private keys, and never retains\nuser-managed private keys.", |
"enum": [ |
@@ -750,21 +812,6 @@ |
"Google Credentials File format." |
], |
"type": "string" |
- }, |
- "validAfterTime": { |
- "description": "The key can be used after this timestamp.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "privateKeyData": { |
- "description": "The private key data. Only provided in `CreateServiceAccountKey`\nresponses.", |
- "format": "byte", |
- "type": "string" |
- }, |
- "publicKeyData": { |
- "description": "The public key data. Only provided in `GetServiceAccountKey` responses.", |
- "format": "byte", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -807,17 +854,16 @@ |
}, |
"type": "object" |
}, |
- "SignJwtResponse": { |
- "description": "The service account sign JWT response.", |
- "id": "SignJwtResponse", |
+ "TestIamPermissionsRequest": { |
+ "description": "Request message for `TestIamPermissions` method.", |
+ "id": "TestIamPermissionsRequest", |
"properties": { |
- "keyId": { |
- "description": "The id of the key used to sign the JWT.", |
- "type": "string" |
- }, |
- "signedJwt": { |
- "description": "The signed JWT.", |
- "type": "string" |
+ "permissions": { |
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -838,16 +884,17 @@ |
}, |
"type": "object" |
}, |
- "TestIamPermissionsRequest": { |
- "description": "Request message for `TestIamPermissions` method.", |
- "id": "TestIamPermissionsRequest", |
+ "SignJwtResponse": { |
+ "description": "The service account sign JWT response.", |
+ "id": "SignJwtResponse", |
"properties": { |
- "permissions": { |
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "signedJwt": { |
+ "description": "The signed JWT.", |
+ "type": "string" |
+ }, |
+ "keyId": { |
+ "description": "The id of the key used to sign the JWT.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -867,13 +914,6 @@ |
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", |
"id": "Policy", |
"properties": { |
- "bindings": { |
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", |
- "items": { |
- "$ref": "Binding" |
- }, |
- "type": "array" |
- }, |
"etag": { |
"description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", |
"format": "byte", |
@@ -883,6 +923,13 @@ |
"description": "Version of the `Policy`. The default version is 0.", |
"format": "int32", |
"type": "integer" |
+ }, |
+ "bindings": { |
+ "description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.", |
+ "items": { |
+ "$ref": "Binding" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -926,53 +973,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "PolicyDelta": { |
- "description": "The difference delta between two policies.", |
- "id": "PolicyDelta", |
- "properties": { |
- "bindingDeltas": { |
- "description": "The delta for Bindings between two policies.", |
- "items": { |
- "$ref": "BindingDelta" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "CreateServiceAccountRequest": { |
- "description": "The service account create request.", |
- "id": "CreateServiceAccountRequest", |
- "properties": { |
- "serviceAccount": { |
- "$ref": "ServiceAccount", |
- "description": "The ServiceAccount resource to create.\nCurrently, only the following values are user assignable:\n`display_name` ." |
- }, |
- "accountId": { |
- "description": "Required. The account id that is used to generate the service account\nemail address and a stable unique id. It is unique within a project,\nmust be 6-30 characters long, and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListServiceAccountsResponse": { |
- "description": "The service account list response.", |
- "id": "ListServiceAccountsResponse", |
- "properties": { |
- "accounts": { |
- "description": "The list of matching service accounts.", |
- "items": { |
- "$ref": "ServiceAccount" |
- }, |
- "type": "array" |
- }, |
- "nextPageToken": { |
- "description": "To retrieve the next page of results, set\nListServiceAccountsRequest.page_token\nto this value.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |