OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://iam.googleapis.com/", | 12 "baseUrl": "https://iam.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "iam", | 14 "canonicalName": "iam", |
15 "description": "Manages identity and access control for Google Cloud Platfor
m resources, including the creation of service accounts, which you can use to au
thenticate to Google and make API calls.", | 15 "description": "Manages identity and access control for Google Cloud Platfor
m resources, including the creation of service accounts, which you can use to au
thenticate to Google and make API calls.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://cloud.google.com/iam/", | 17 "documentationLink": "https://cloud.google.com/iam/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "iam:v1", | 22 "id": "iam:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "iam", | 24 "name": "iam", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
28 "quotaUser": { | |
29 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
30 "location": "query", | |
31 "type": "string" | |
32 }, | |
33 "pp": { | |
34 "default": "true", | |
35 "description": "Pretty-print response.", | |
36 "location": "query", | |
37 "type": "boolean" | |
38 }, | |
39 "bearer_token": { | |
40 "description": "OAuth bearer token.", | |
41 "location": "query", | |
42 "type": "string" | |
43 }, | |
44 "oauth_token": { | |
45 "description": "OAuth 2.0 token for the current user.", | |
46 "location": "query", | |
47 "type": "string" | |
48 }, | |
49 "upload_protocol": { | |
50 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
51 "location": "query", | |
52 "type": "string" | |
53 }, | |
54 "prettyPrint": { | 28 "prettyPrint": { |
55 "default": "true", | 29 "default": "true", |
56 "description": "Returns response with indentations and line breaks."
, | 30 "description": "Returns response with indentations and line breaks."
, |
57 "location": "query", | 31 "location": "query", |
58 "type": "boolean" | 32 "type": "boolean" |
59 }, | 33 }, |
| 34 "fields": { |
| 35 "description": "Selector specifying which fields to include in a par
tial response.", |
| 36 "location": "query", |
| 37 "type": "string" |
| 38 }, |
60 "uploadType": { | 39 "uploadType": { |
61 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 40 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
62 "location": "query", | 41 "location": "query", |
63 "type": "string" | 42 "type": "string" |
64 }, | 43 }, |
65 "fields": { | |
66 "description": "Selector specifying which fields to include in a par
tial response.", | |
67 "location": "query", | |
68 "type": "string" | |
69 }, | |
70 "callback": { | |
71 "description": "JSONP", | |
72 "location": "query", | |
73 "type": "string" | |
74 }, | |
75 "$.xgafv": { | 44 "$.xgafv": { |
76 "description": "V1 error format.", | 45 "description": "V1 error format.", |
77 "enum": [ | 46 "enum": [ |
78 "1", | 47 "1", |
79 "2" | 48 "2" |
80 ], | 49 ], |
81 "enumDescriptions": [ | 50 "enumDescriptions": [ |
82 "v1 error format", | 51 "v1 error format", |
83 "v2 error format" | 52 "v2 error format" |
84 ], | 53 ], |
85 "location": "query", | 54 "location": "query", |
86 "type": "string" | 55 "type": "string" |
87 }, | 56 }, |
| 57 "callback": { |
| 58 "description": "JSONP", |
| 59 "location": "query", |
| 60 "type": "string" |
| 61 }, |
88 "alt": { | 62 "alt": { |
89 "default": "json", | 63 "default": "json", |
90 "description": "Data format for response.", | 64 "description": "Data format for response.", |
91 "enum": [ | 65 "enum": [ |
92 "json", | 66 "json", |
93 "media", | 67 "media", |
94 "proto" | 68 "proto" |
95 ], | 69 ], |
96 "enumDescriptions": [ | 70 "enumDescriptions": [ |
97 "Responses with Content-Type of application/json", | 71 "Responses with Content-Type of application/json", |
98 "Media download with context-dependent Content-Type", | 72 "Media download with context-dependent Content-Type", |
99 "Responses with Content-Type of application/x-protobuf" | 73 "Responses with Content-Type of application/x-protobuf" |
100 ], | 74 ], |
101 "location": "query", | 75 "location": "query", |
102 "type": "string" | 76 "type": "string" |
103 }, | 77 }, |
| 78 "access_token": { |
| 79 "description": "OAuth access token.", |
| 80 "location": "query", |
| 81 "type": "string" |
| 82 }, |
104 "key": { | 83 "key": { |
105 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 84 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
106 "location": "query", | 85 "location": "query", |
107 "type": "string" | 86 "type": "string" |
108 }, | 87 }, |
109 "access_token": { | 88 "quotaUser": { |
110 "description": "OAuth access token.", | 89 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 90 "location": "query", |
| 91 "type": "string" |
| 92 }, |
| 93 "pp": { |
| 94 "default": "true", |
| 95 "description": "Pretty-print response.", |
| 96 "location": "query", |
| 97 "type": "boolean" |
| 98 }, |
| 99 "oauth_token": { |
| 100 "description": "OAuth 2.0 token for the current user.", |
| 101 "location": "query", |
| 102 "type": "string" |
| 103 }, |
| 104 "bearer_token": { |
| 105 "description": "OAuth bearer token.", |
| 106 "location": "query", |
| 107 "type": "string" |
| 108 }, |
| 109 "upload_protocol": { |
| 110 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
111 "location": "query", | 111 "location": "query", |
112 "type": "string" | 112 "type": "string" |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "projects": { | 117 "projects": { |
118 "resources": { | 118 "resources": { |
119 "serviceAccounts": { | 119 "serviceAccounts": { |
120 "methods": { | 120 "methods": { |
121 "setIamPolicy": { | 121 "create": { |
122 "description": "Sets the IAM access control policy f
or a\nServiceAccount.", | 122 "description": "Creates a ServiceAccount\nand return
s it.", |
123 "httpMethod": "POST", | 123 "httpMethod": "POST", |
124 "id": "iam.projects.serviceAccounts.setIamPolicy", | 124 "id": "iam.projects.serviceAccounts.create", |
125 "parameterOrder": [ | 125 "parameterOrder": [ |
126 "resource" | 126 "name" |
127 ], | 127 ], |
128 "parameters": { | 128 "parameters": { |
129 "resource": { | 129 "name": { |
130 "description": "REQUIRED: The resource for w
hich the policy is being specified.\nSee the operation documentation for the app
ropriate value for this field.", | 130 "description": "Required. The resource name
of the project associated with the service\naccounts, such as `projects/my-proje
ct-123`.", |
131 "location": "path", | 131 "location": "path", |
132 "pattern": "^projects/[^/]+/serviceAccounts/
[^/]+$", | 132 "pattern": "^projects/[^/]+$", |
133 "required": true, | 133 "required": true, |
134 "type": "string" | 134 "type": "string" |
135 } | 135 } |
136 }, | 136 }, |
137 "path": "v1/{+resource}:setIamPolicy", | 137 "path": "v1/{+name}/serviceAccounts", |
138 "request": { | 138 "request": { |
139 "$ref": "SetIamPolicyRequest" | 139 "$ref": "CreateServiceAccountRequest" |
140 }, | 140 }, |
141 "response": { | 141 "response": { |
142 "$ref": "Policy" | 142 "$ref": "ServiceAccount" |
143 }, | 143 }, |
144 "scopes": [ | 144 "scopes": [ |
145 "https://www.googleapis.com/auth/cloud-platform" | 145 "https://www.googleapis.com/auth/cloud-platform" |
146 ] | 146 ] |
147 }, | 147 }, |
148 "signJwt": { | 148 "signJwt": { |
149 "description": "Signs a JWT using a service account'
s system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `S
ignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you reque
st an expiry time of\nmore than one hour, the request will fail.", | 149 "description": "Signs a JWT using a service account'
s system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `S
ignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you reque
st an expiry time of\nmore than one hour, the request will fail.", |
150 "httpMethod": "POST", | 150 "httpMethod": "POST", |
151 "id": "iam.projects.serviceAccounts.signJwt", | 151 "id": "iam.projects.serviceAccounts.signJwt", |
152 "parameterOrder": [ | 152 "parameterOrder": [ |
(...skipping 12 matching lines...) Expand all Loading... |
165 "request": { | 165 "request": { |
166 "$ref": "SignJwtRequest" | 166 "$ref": "SignJwtRequest" |
167 }, | 167 }, |
168 "response": { | 168 "response": { |
169 "$ref": "SignJwtResponse" | 169 "$ref": "SignJwtResponse" |
170 }, | 170 }, |
171 "scopes": [ | 171 "scopes": [ |
172 "https://www.googleapis.com/auth/cloud-platform" | 172 "https://www.googleapis.com/auth/cloud-platform" |
173 ] | 173 ] |
174 }, | 174 }, |
175 "create": { | 175 "setIamPolicy": { |
176 "description": "Creates a ServiceAccount\nand return
s it.", | 176 "description": "Sets the IAM access control policy f
or a\nServiceAccount.", |
177 "httpMethod": "POST", | 177 "httpMethod": "POST", |
178 "id": "iam.projects.serviceAccounts.create", | 178 "id": "iam.projects.serviceAccounts.setIamPolicy", |
179 "parameterOrder": [ | 179 "parameterOrder": [ |
180 "name" | 180 "resource" |
181 ], | 181 ], |
182 "parameters": { | 182 "parameters": { |
183 "name": { | 183 "resource": { |
184 "description": "Required. The resource name
of the project associated with the service\naccounts, such as `projects/my-proje
ct-123`.", | 184 "description": "REQUIRED: The resource for w
hich the policy is being specified.\nSee the operation documentation for the app
ropriate value for this field.", |
185 "location": "path", | 185 "location": "path", |
186 "pattern": "^projects/[^/]+$", | 186 "pattern": "^projects/[^/]+/serviceAccounts/
[^/]+$", |
187 "required": true, | 187 "required": true, |
188 "type": "string" | 188 "type": "string" |
189 } | 189 } |
190 }, | 190 }, |
191 "path": "v1/{+name}/serviceAccounts", | 191 "path": "v1/{+resource}:setIamPolicy", |
192 "request": { | 192 "request": { |
193 "$ref": "CreateServiceAccountRequest" | 193 "$ref": "SetIamPolicyRequest" |
194 }, | 194 }, |
195 "response": { | 195 "response": { |
196 "$ref": "ServiceAccount" | 196 "$ref": "Policy" |
197 }, | 197 }, |
198 "scopes": [ | 198 "scopes": [ |
199 "https://www.googleapis.com/auth/cloud-platform" | 199 "https://www.googleapis.com/auth/cloud-platform" |
200 ] | 200 ] |
201 }, | 201 }, |
202 "getIamPolicy": { | 202 "getIamPolicy": { |
203 "description": "Returns the IAM access control polic
y for a\nServiceAccount.", | 203 "description": "Returns the IAM access control polic
y for a\nServiceAccount.", |
204 "httpMethod": "POST", | 204 "httpMethod": "POST", |
205 "id": "iam.projects.serviceAccounts.getIamPolicy", | 205 "id": "iam.projects.serviceAccounts.getIamPolicy", |
206 "parameterOrder": [ | 206 "parameterOrder": [ |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 ] | 451 ] |
452 }, | 452 }, |
453 "get": { | 453 "get": { |
454 "description": "Gets the ServiceAccountKey\n
by key id.", | 454 "description": "Gets the ServiceAccountKey\n
by key id.", |
455 "httpMethod": "GET", | 455 "httpMethod": "GET", |
456 "id": "iam.projects.serviceAccounts.keys.get
", | 456 "id": "iam.projects.serviceAccounts.keys.get
", |
457 "parameterOrder": [ | 457 "parameterOrder": [ |
458 "name" | 458 "name" |
459 ], | 459 ], |
460 "parameters": { | 460 "parameters": { |
461 "name": { | |
462 "description": "The resource name of
the service account key in the following format:\n`projects/{PROJECT_ID}/servic
eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for th
e project will infer the project from\nthe account. The `account` value can be t
he `email` address or the\n`unique_id` of the service account.", | |
463 "location": "path", | |
464 "pattern": "^projects/[^/]+/serviceA
ccounts/[^/]+/keys/[^/]+$", | |
465 "required": true, | |
466 "type": "string" | |
467 }, | |
468 "publicKeyType": { | 461 "publicKeyType": { |
469 "description": "The output format of
the public key requested.\nX509_PEM is the default output format.", | 462 "description": "The output format of
the public key requested.\nX509_PEM is the default output format.", |
470 "enum": [ | 463 "enum": [ |
471 "TYPE_NONE", | 464 "TYPE_NONE", |
472 "TYPE_X509_PEM_FILE", | 465 "TYPE_X509_PEM_FILE", |
473 "TYPE_RAW_PUBLIC_KEY" | 466 "TYPE_RAW_PUBLIC_KEY" |
474 ], | 467 ], |
475 "location": "query", | 468 "location": "query", |
476 "type": "string" | 469 "type": "string" |
| 470 }, |
| 471 "name": { |
| 472 "description": "The resource name of
the service account key in the following format:\n`projects/{PROJECT_ID}/servic
eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for th
e project will infer the project from\nthe account. The `account` value can be t
he `email` address or the\n`unique_id` of the service account.", |
| 473 "location": "path", |
| 474 "pattern": "^projects/[^/]+/serviceA
ccounts/[^/]+/keys/[^/]+$", |
| 475 "required": true, |
| 476 "type": "string" |
477 } | 477 } |
478 }, | 478 }, |
479 "path": "v1/{+name}", | 479 "path": "v1/{+name}", |
480 "response": { | 480 "response": { |
481 "$ref": "ServiceAccountKey" | 481 "$ref": "ServiceAccountKey" |
482 }, | 482 }, |
483 "scopes": [ | 483 "scopes": [ |
484 "https://www.googleapis.com/auth/cloud-p
latform" | 484 "https://www.googleapis.com/auth/cloud-p
latform" |
485 ] | 485 ] |
486 }, | 486 }, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 "response": { | 532 "response": { |
533 "$ref": "QueryGrantableRolesResponse" | 533 "$ref": "QueryGrantableRolesResponse" |
534 }, | 534 }, |
535 "scopes": [ | 535 "scopes": [ |
536 "https://www.googleapis.com/auth/cloud-platform" | 536 "https://www.googleapis.com/auth/cloud-platform" |
537 ] | 537 ] |
538 } | 538 } |
539 } | 539 } |
540 } | 540 } |
541 }, | 541 }, |
542 "revision": "20170317", | 542 "revision": "20170407", |
543 "rootUrl": "https://iam.googleapis.com/", | 543 "rootUrl": "https://iam.googleapis.com/", |
544 "schemas": { | 544 "schemas": { |
545 "CreateServiceAccountRequest": { | 545 "TestIamPermissionsResponse": { |
546 "description": "The service account create request.", | 546 "description": "Response message for `TestIamPermissions` method.", |
547 "id": "CreateServiceAccountRequest", | 547 "id": "TestIamPermissionsResponse", |
548 "properties": { | 548 "properties": { |
549 "accountId": { | 549 "permissions": { |
550 "description": "Required. The account id that is used to gen
erate the service account\nemail address and a stable unique id. It is unique wi
thin 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.", | 550 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
551 "type": "string" | |
552 }, | |
553 "serviceAccount": { | |
554 "$ref": "ServiceAccount", | |
555 "description": "The ServiceAccount resource to create.\nCurr
ently, only the following values are user assignable:\n`display_name` ." | |
556 } | |
557 }, | |
558 "type": "object" | |
559 }, | |
560 "ListServiceAccountsResponse": { | |
561 "description": "The service account list response.", | |
562 "id": "ListServiceAccountsResponse", | |
563 "properties": { | |
564 "accounts": { | |
565 "description": "The list of matching service accounts.", | |
566 "items": { | 551 "items": { |
567 "$ref": "ServiceAccount" | 552 "type": "string" |
568 }, | |
569 "type": "array" | |
570 }, | |
571 "nextPageToken": { | |
572 "description": "To retrieve the next page of results, set\nL
istServiceAccountsRequest.page_token\nto this value.", | |
573 "type": "string" | |
574 } | |
575 }, | |
576 "type": "object" | |
577 }, | |
578 "QueryGrantableRolesResponse": { | |
579 "description": "The grantable role query response.", | |
580 "id": "QueryGrantableRolesResponse", | |
581 "properties": { | |
582 "roles": { | |
583 "description": "The list of matching roles.", | |
584 "items": { | |
585 "$ref": "Role" | |
586 }, | 553 }, |
587 "type": "array" | 554 "type": "array" |
588 } | 555 } |
589 }, | 556 }, |
590 "type": "object" | 557 "type": "object" |
591 }, | |
592 "SignBlobRequest": { | |
593 "description": "The service account sign blob request.", | |
594 "id": "SignBlobRequest", | |
595 "properties": { | |
596 "bytesToSign": { | |
597 "description": "The bytes to sign.", | |
598 "format": "byte", | |
599 "type": "string" | |
600 } | |
601 }, | |
602 "type": "object" | |
603 }, | |
604 "Role": { | |
605 "description": "A role in the Identity and Access Management API.", | |
606 "id": "Role", | |
607 "properties": { | |
608 "title": { | |
609 "description": "Optional. A human-readable title for the ro
le. Typically this\nis limited to 100 UTF-8 bytes.", | |
610 "type": "string" | |
611 }, | |
612 "name": { | |
613 "description": "The name of the role.\n\nWhen Role is used i
n 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/log
ging.viewer for custom roles.", | |
614 "type": "string" | |
615 }, | |
616 "description": { | |
617 "description": "Optional. A human-readable description for
the role.", | |
618 "type": "string" | |
619 } | |
620 }, | |
621 "type": "object" | |
622 }, | |
623 "SetIamPolicyRequest": { | |
624 "description": "Request message for `SetIamPolicy` method.", | |
625 "id": "SetIamPolicyRequest", | |
626 "properties": { | |
627 "policy": { | |
628 "$ref": "Policy", | |
629 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." | |
630 } | |
631 }, | |
632 "type": "object" | |
633 }, | |
634 "Binding": { | |
635 "description": "Associates `members` with a `role`.", | |
636 "id": "Binding", | |
637 "properties": { | |
638 "members": { | |
639 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", | |
640 "items": { | |
641 "type": "string" | |
642 }, | |
643 "type": "array" | |
644 }, | |
645 "role": { | |
646 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | |
647 "type": "string" | |
648 } | |
649 }, | |
650 "type": "object" | |
651 }, | |
652 "QueryGrantableRolesRequest": { | |
653 "description": "The grantable role query request.", | |
654 "id": "QueryGrantableRolesRequest", | |
655 "properties": { | |
656 "fullResourceName": { | |
657 "description": "Required. The full resource name to query fr
om the list of grantable roles.\n\nThe name follows the Google Cloud Platform re
source format.\nFor example, a Cloud Platform project with id `my-project` will
be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.", | |
658 "type": "string" | |
659 } | |
660 }, | |
661 "type": "object" | |
662 }, | |
663 "Empty": { | |
664 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | |
665 "id": "Empty", | |
666 "properties": {}, | |
667 "type": "object" | |
668 }, | |
669 "ServiceAccount": { | |
670 "description": "A service account in the Identity and Access Managem
ent API.\n\nTo create a service account, specify the `project_id` and the `accou
nt_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 uti
l::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/s
erviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other me
thods to access the account.\n\nAll other methods can identify the service accou
nt using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMA
IL}`.\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 t
he service account.", | |
671 "id": "ServiceAccount", | |
672 "properties": { | |
673 "email": { | |
674 "description": "@OutputOnly The email address of the service
account.", | |
675 "type": "string" | |
676 }, | |
677 "name": { | |
678 "description": "The resource name of the service account in
the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_E
MAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the proje
ct\nfrom the `account` and the `account` value can be the `email` address or\nth
e `unique_id` of the service account.\n\nIn responses the resource name will alw
ays be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EM
AIL}`.", | |
679 "type": "string" | |
680 }, | |
681 "projectId": { | |
682 "description": "@OutputOnly The id of the project that owns
the service account.", | |
683 "type": "string" | |
684 }, | |
685 "uniqueId": { | |
686 "description": "@OutputOnly The unique and stable id of the
service account.", | |
687 "type": "string" | |
688 }, | |
689 "oauth2ClientId": { | |
690 "description": "@OutputOnly. The OAuth2 client id for the se
rvice 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.", | |
691 "type": "string" | |
692 }, | |
693 "displayName": { | |
694 "description": "Optional. A user-specified description of th
e service account. Must be\nfewer than 100 UTF-8 bytes.", | |
695 "type": "string" | |
696 }, | |
697 "etag": { | |
698 "description": "Used to perform a consistent read-modify-wri
te.", | |
699 "format": "byte", | |
700 "type": "string" | |
701 } | |
702 }, | |
703 "type": "object" | |
704 }, | 558 }, |
705 "ListServiceAccountKeysResponse": { | 559 "ListServiceAccountKeysResponse": { |
706 "description": "The service account keys list response.", | 560 "description": "The service account keys list response.", |
707 "id": "ListServiceAccountKeysResponse", | 561 "id": "ListServiceAccountKeysResponse", |
708 "properties": { | 562 "properties": { |
709 "keys": { | 563 "keys": { |
710 "description": "The public keys for the service account.", | 564 "description": "The public keys for the service account.", |
711 "items": { | 565 "items": { |
712 "$ref": "ServiceAccountKey" | 566 "$ref": "ServiceAccountKey" |
713 }, | 567 }, |
714 "type": "array" | 568 "type": "array" |
715 } | 569 } |
716 }, | 570 }, |
717 "type": "object" | 571 "type": "object" |
718 }, | 572 }, |
719 "TestIamPermissionsResponse": { | |
720 "description": "Response message for `TestIamPermissions` method.", | |
721 "id": "TestIamPermissionsResponse", | |
722 "properties": { | |
723 "permissions": { | |
724 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | |
725 "items": { | |
726 "type": "string" | |
727 }, | |
728 "type": "array" | |
729 } | |
730 }, | |
731 "type": "object" | |
732 }, | |
733 "ServiceAccountKey": { | 573 "ServiceAccountKey": { |
734 "description": "Represents a service account key.\n\nA service accou
nt 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 rota
ting these keys periodically to ensure security of\ntheir service accounts. Use
rs retain the private key of these key-pairs,\nand Google retains ONLY the publi
c key.\n\nSystem-managed key-pairs are managed automatically by Google, and rota
ted\ndaily without user intervention. The private key never leaves Google's\nse
rvers to maximize security.\n\nPublic keys for all service accounts are also pub
lished at the OAuth2\nService Account API.", | 574 "description": "Represents a service account key.\n\nA service accou
nt 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 rota
ting these keys periodically to ensure security of\ntheir service accounts. Use
rs retain the private key of these key-pairs,\nand Google retains ONLY the publi
c key.\n\nSystem-managed key-pairs are managed automatically by Google, and rota
ted\ndaily without user intervention. The private key never leaves Google's\nse
rvers to maximize security.\n\nPublic keys for all service accounts are also pub
lished at the OAuth2\nService Account API.", |
735 "id": "ServiceAccountKey", | 575 "id": "ServiceAccountKey", |
736 "properties": { | 576 "properties": { |
737 "privateKeyData": { | 577 "privateKeyData": { |
738 "description": "The private key data. Only provided in `Crea
teServiceAccountKey`\nresponses.", | 578 "description": "The private key data. Only provided in `Crea
teServiceAccountKey`\nresponses.", |
739 "format": "byte", | 579 "format": "byte", |
740 "type": "string" | 580 "type": "string" |
741 }, | 581 }, |
742 "publicKeyData": { | 582 "publicKeyData": { |
(...skipping 17 matching lines...) Expand all Loading... |
760 "KEY_ALG_RSA_1024", | 600 "KEY_ALG_RSA_1024", |
761 "KEY_ALG_RSA_2048" | 601 "KEY_ALG_RSA_2048" |
762 ], | 602 ], |
763 "enumDescriptions": [ | 603 "enumDescriptions": [ |
764 "An unspecified key algorithm.", | 604 "An unspecified key algorithm.", |
765 "1k RSA Key.", | 605 "1k RSA Key.", |
766 "2k RSA Key." | 606 "2k RSA Key." |
767 ], | 607 ], |
768 "type": "string" | 608 "type": "string" |
769 }, | 609 }, |
| 610 "validAfterTime": { |
| 611 "description": "The key can be used after this timestamp.", |
| 612 "format": "google-datetime", |
| 613 "type": "string" |
| 614 }, |
770 "privateKeyType": { | 615 "privateKeyType": { |
771 "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 pr
ivate keys, and never retains\nuser-managed private keys.", | 616 "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 pr
ivate keys, and never retains\nuser-managed private keys.", |
772 "enum": [ | 617 "enum": [ |
773 "TYPE_UNSPECIFIED", | 618 "TYPE_UNSPECIFIED", |
774 "TYPE_PKCS12_FILE", | 619 "TYPE_PKCS12_FILE", |
775 "TYPE_GOOGLE_CREDENTIALS_FILE" | 620 "TYPE_GOOGLE_CREDENTIALS_FILE" |
776 ], | 621 ], |
777 "enumDescriptions": [ | 622 "enumDescriptions": [ |
778 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL
E`.", | 623 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL
E`.", |
779 "PKCS12 format.\nThe password for the PKCS12 file is `no
tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", | 624 "PKCS12 format.\nThe password for the PKCS12 file is `no
tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", |
780 "Google Credentials File format." | 625 "Google Credentials File format." |
781 ], | 626 ], |
782 "type": "string" | 627 "type": "string" |
783 }, | |
784 "validAfterTime": { | |
785 "description": "The key can be used after this timestamp.", | |
786 "format": "google-datetime", | |
787 "type": "string" | |
788 } | 628 } |
789 }, | 629 }, |
790 "type": "object" | 630 "type": "object" |
791 }, | 631 }, |
792 "CreateServiceAccountKeyRequest": { | 632 "CreateServiceAccountKeyRequest": { |
793 "description": "The service account key create request.", | 633 "description": "The service account key create request.", |
794 "id": "CreateServiceAccountKeyRequest", | 634 "id": "CreateServiceAccountKeyRequest", |
795 "properties": { | 635 "properties": { |
796 "keyAlgorithm": { | 636 "keyAlgorithm": { |
797 "description": "Which type of key and algorithm to use for t
he key.\nThe default is currently a 2K RSA key. However this may change in the\
nfuture.", | 637 "description": "Which type of key and algorithm to use for t
he key.\nThe default is currently a 2K RSA key. However this may change in the\
nfuture.", |
(...skipping 19 matching lines...) Expand all Loading... |
817 "enumDescriptions": [ | 657 "enumDescriptions": [ |
818 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL
E`.", | 658 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL
E`.", |
819 "PKCS12 format.\nThe password for the PKCS12 file is `no
tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", | 659 "PKCS12 format.\nThe password for the PKCS12 file is `no
tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", |
820 "Google Credentials File format." | 660 "Google Credentials File format." |
821 ], | 661 ], |
822 "type": "string" | 662 "type": "string" |
823 } | 663 } |
824 }, | 664 }, |
825 "type": "object" | 665 "type": "object" |
826 }, | 666 }, |
827 "TestIamPermissionsRequest": { | 667 "SignJwtResponse": { |
828 "description": "Request message for `TestIamPermissions` method.", | 668 "description": "The service account sign JWT response.", |
829 "id": "TestIamPermissionsRequest", | 669 "id": "SignJwtResponse", |
830 "properties": { | 670 "properties": { |
831 "permissions": { | 671 "keyId": { |
832 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", | 672 "description": "The id of the key used to sign the JWT.", |
833 "items": { | 673 "type": "string" |
834 "type": "string" | 674 }, |
835 }, | 675 "signedJwt": { |
836 "type": "array" | 676 "description": "The signed JWT.", |
| 677 "type": "string" |
837 } | 678 } |
838 }, | 679 }, |
839 "type": "object" | 680 "type": "object" |
840 }, | 681 }, |
841 "SignBlobResponse": { | 682 "SignBlobResponse": { |
842 "description": "The service account sign blob response.", | 683 "description": "The service account sign blob response.", |
843 "id": "SignBlobResponse", | 684 "id": "SignBlobResponse", |
844 "properties": { | 685 "properties": { |
845 "signature": { | 686 "signature": { |
846 "description": "The signed blob.", | 687 "description": "The signed blob.", |
847 "format": "byte", | 688 "format": "byte", |
848 "type": "string" | 689 "type": "string" |
849 }, | 690 }, |
850 "keyId": { | 691 "keyId": { |
851 "description": "The id of the key used to sign the blob.", | 692 "description": "The id of the key used to sign the blob.", |
852 "type": "string" | 693 "type": "string" |
853 } | 694 } |
854 }, | 695 }, |
855 "type": "object" | 696 "type": "object" |
856 }, | 697 }, |
857 "SignJwtResponse": { | 698 "TestIamPermissionsRequest": { |
858 "description": "The service account sign JWT response.", | 699 "description": "Request message for `TestIamPermissions` method.", |
859 "id": "SignJwtResponse", | 700 "id": "TestIamPermissionsRequest", |
860 "properties": { | 701 "properties": { |
861 "keyId": { | 702 "permissions": { |
862 "description": "The id of the key used to sign the JWT.", | 703 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", |
863 "type": "string" | 704 "items": { |
864 }, | 705 "type": "string" |
865 "signedJwt": { | 706 }, |
866 "description": "The signed JWT.", | 707 "type": "array" |
867 "type": "string" | |
868 } | 708 } |
869 }, | 709 }, |
870 "type": "object" | 710 "type": "object" |
871 }, | 711 }, |
872 "Policy": { | 712 "Policy": { |
873 "description": "Defines an Identity and Access Management (IAM) poli
cy. 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,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined 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.gserviceaccoun
t.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).", | 713 "description": "Defines an Identity and Access Management (IAM) poli
cy. 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,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined 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.gserviceaccoun
t.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).", |
874 "id": "Policy", | 714 "id": "Policy", |
875 "properties": { | 715 "properties": { |
876 "etag": { | 716 "etag": { |
877 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: 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 t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", | 717 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: 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 t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 "properties": { | 790 "properties": { |
951 "bindingDeltas": { | 791 "bindingDeltas": { |
952 "description": "The delta for Bindings between two policies.
", | 792 "description": "The delta for Bindings between two policies.
", |
953 "items": { | 793 "items": { |
954 "$ref": "BindingDelta" | 794 "$ref": "BindingDelta" |
955 }, | 795 }, |
956 "type": "array" | 796 "type": "array" |
957 } | 797 } |
958 }, | 798 }, |
959 "type": "object" | 799 "type": "object" |
| 800 }, |
| 801 "CreateServiceAccountRequest": { |
| 802 "description": "The service account create request.", |
| 803 "id": "CreateServiceAccountRequest", |
| 804 "properties": { |
| 805 "accountId": { |
| 806 "description": "Required. The account id that is used to gen
erate the service account\nemail address and a stable unique id. It is unique wi
thin 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.", |
| 807 "type": "string" |
| 808 }, |
| 809 "serviceAccount": { |
| 810 "$ref": "ServiceAccount", |
| 811 "description": "The ServiceAccount resource to create.\nCurr
ently, only the following values are user assignable:\n`display_name` ." |
| 812 } |
| 813 }, |
| 814 "type": "object" |
| 815 }, |
| 816 "ListServiceAccountsResponse": { |
| 817 "description": "The service account list response.", |
| 818 "id": "ListServiceAccountsResponse", |
| 819 "properties": { |
| 820 "nextPageToken": { |
| 821 "description": "To retrieve the next page of results, set\nL
istServiceAccountsRequest.page_token\nto this value.", |
| 822 "type": "string" |
| 823 }, |
| 824 "accounts": { |
| 825 "description": "The list of matching service accounts.", |
| 826 "items": { |
| 827 "$ref": "ServiceAccount" |
| 828 }, |
| 829 "type": "array" |
| 830 } |
| 831 }, |
| 832 "type": "object" |
| 833 }, |
| 834 "QueryGrantableRolesResponse": { |
| 835 "description": "The grantable role query response.", |
| 836 "id": "QueryGrantableRolesResponse", |
| 837 "properties": { |
| 838 "roles": { |
| 839 "description": "The list of matching roles.", |
| 840 "items": { |
| 841 "$ref": "Role" |
| 842 }, |
| 843 "type": "array" |
| 844 }, |
| 845 "nextPageToken": { |
| 846 "description": "To retrieve the next page of results, set\n`
QueryGrantableRolesRequest.page_token` to this value.", |
| 847 "type": "string" |
| 848 } |
| 849 }, |
| 850 "type": "object" |
| 851 }, |
| 852 "SignBlobRequest": { |
| 853 "description": "The service account sign blob request.", |
| 854 "id": "SignBlobRequest", |
| 855 "properties": { |
| 856 "bytesToSign": { |
| 857 "description": "The bytes to sign.", |
| 858 "format": "byte", |
| 859 "type": "string" |
| 860 } |
| 861 }, |
| 862 "type": "object" |
| 863 }, |
| 864 "Role": { |
| 865 "description": "A role in the Identity and Access Management API.", |
| 866 "id": "Role", |
| 867 "properties": { |
| 868 "name": { |
| 869 "description": "The name of the role.\n\nWhen Role is used i
n 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/log
ging.viewer for custom roles.", |
| 870 "type": "string" |
| 871 }, |
| 872 "description": { |
| 873 "description": "Optional. A human-readable description for
the role.", |
| 874 "type": "string" |
| 875 }, |
| 876 "title": { |
| 877 "description": "Optional. A human-readable title for the ro
le. Typically this\nis limited to 100 UTF-8 bytes.", |
| 878 "type": "string" |
| 879 } |
| 880 }, |
| 881 "type": "object" |
| 882 }, |
| 883 "SetIamPolicyRequest": { |
| 884 "description": "Request message for `SetIamPolicy` method.", |
| 885 "id": "SetIamPolicyRequest", |
| 886 "properties": { |
| 887 "policy": { |
| 888 "$ref": "Policy", |
| 889 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." |
| 890 } |
| 891 }, |
| 892 "type": "object" |
| 893 }, |
| 894 "Binding": { |
| 895 "description": "Associates `members` with a `role`.", |
| 896 "id": "Binding", |
| 897 "properties": { |
| 898 "members": { |
| 899 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", |
| 900 "items": { |
| 901 "type": "string" |
| 902 }, |
| 903 "type": "array" |
| 904 }, |
| 905 "role": { |
| 906 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
| 907 "type": "string" |
| 908 } |
| 909 }, |
| 910 "type": "object" |
| 911 }, |
| 912 "ServiceAccount": { |
| 913 "description": "A service account in the Identity and Access Managem
ent API.\n\nTo create a service account, specify the `project_id` and the `accou
nt_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 uti
l::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/s
erviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other me
thods to access the account.\n\nAll other methods can identify the service accou
nt using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMA
IL}`.\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 t
he service account.", |
| 914 "id": "ServiceAccount", |
| 915 "properties": { |
| 916 "email": { |
| 917 "description": "@OutputOnly The email address of the service
account.", |
| 918 "type": "string" |
| 919 }, |
| 920 "name": { |
| 921 "description": "The resource name of the service account in
the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_E
MAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the proje
ct\nfrom the `account` and the `account` value can be the `email` address or\nth
e `unique_id` of the service account.\n\nIn responses the resource name will alw
ays be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EM
AIL}`.", |
| 922 "type": "string" |
| 923 }, |
| 924 "projectId": { |
| 925 "description": "@OutputOnly The id of the project that owns
the service account.", |
| 926 "type": "string" |
| 927 }, |
| 928 "oauth2ClientId": { |
| 929 "description": "@OutputOnly. The OAuth2 client id for the se
rvice 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.", |
| 930 "type": "string" |
| 931 }, |
| 932 "uniqueId": { |
| 933 "description": "@OutputOnly The unique and stable id of the
service account.", |
| 934 "type": "string" |
| 935 }, |
| 936 "displayName": { |
| 937 "description": "Optional. A user-specified description of th
e service account. Must be\nfewer than 100 UTF-8 bytes.", |
| 938 "type": "string" |
| 939 }, |
| 940 "etag": { |
| 941 "description": "Used to perform a consistent read-modify-wri
te.", |
| 942 "format": "byte", |
| 943 "type": "string" |
| 944 } |
| 945 }, |
| 946 "type": "object" |
| 947 }, |
| 948 "Empty": { |
| 949 "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 i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 950 "id": "Empty", |
| 951 "properties": {}, |
| 952 "type": "object" |
| 953 }, |
| 954 "QueryGrantableRolesRequest": { |
| 955 "description": "The grantable role query request.", |
| 956 "id": "QueryGrantableRolesRequest", |
| 957 "properties": { |
| 958 "fullResourceName": { |
| 959 "description": "Required. The full resource name to query fr
om the list of grantable roles.\n\nThe name follows the Google Cloud Platform re
source format.\nFor example, a Cloud Platform project with id `my-project` will
be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.", |
| 960 "type": "string" |
| 961 }, |
| 962 "pageToken": { |
| 963 "description": "Optional pagination token returned in an ear
lier\nQueryGrantableRolesResponse.", |
| 964 "type": "string" |
| 965 }, |
| 966 "pageSize": { |
| 967 "description": "Optional limit on the number of roles to inc
lude in the response.", |
| 968 "format": "int32", |
| 969 "type": "integer" |
| 970 } |
| 971 }, |
| 972 "type": "object" |
960 } | 973 } |
961 }, | 974 }, |
962 "servicePath": "", | 975 "servicePath": "", |
963 "title": "Google Identity and Access Management (IAM) API", | 976 "title": "Google Identity and Access Management (IAM) API", |
964 "version": "v1" | 977 "version": "v1" |
965 } | 978 } |
OLD | NEW |