Index: discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
diff --git a/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json b/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
index 96b291218e00b0b3d1eb1f20f00d1b1fcdcfacec..547dafccf8fa9349bdac69147f574a018c06dcb6 100644 |
--- a/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
+++ b/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
@@ -18,7 +18,6 @@ |
"description": "The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.", |
"discoveryVersion": "v1", |
"documentationLink": "https://cloud.google.com/resource-manager", |
- "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/LEsmfjb1rYEGIEL137RcSgOD86w\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
@@ -34,9 +33,41 @@ |
"location": "query", |
"type": "string" |
}, |
+ "prettyPrint": { |
+ "default": "true", |
+ "description": "Returns response with indentations and line breaks.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "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" |
+ }, |
+ "quotaUser": { |
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
+ "enum": [ |
+ "json", |
+ "media", |
+ "proto" |
+ ], |
"enumDescriptions": [ |
"Responses with Content-Type of application/json", |
"Media download with context-dependent Content-Type", |
@@ -45,8 +76,16 @@ |
"location": "query", |
"type": "string" |
}, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
+ "$.xgafv": { |
+ "description": "V1 error format.", |
+ "enum": [ |
+ "1", |
+ "2" |
+ ], |
+ "enumDescriptions": [ |
+ "v1 error format", |
+ "v2 error format" |
+ ], |
"location": "query", |
"type": "string" |
}, |
@@ -55,35 +94,18 @@ |
"location": "query", |
"type": "string" |
}, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
"oauth_token": { |
"description": "OAuth 2.0 token for the current user.", |
"location": "query", |
"type": "string" |
}, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "prettyPrint": { |
- "default": "true", |
- "description": "Returns response with indentations and line breaks.", |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
- "type": "boolean" |
+ "type": "string" |
}, |
- "quotaUser": { |
- "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
"location": "query", |
"type": "string" |
}, |
@@ -91,66 +113,111 @@ |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
"type": "string" |
- }, |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
- "location": "query", |
- "type": "string" |
- }, |
- "$.xgafv": { |
- "description": "V1 error format.", |
- "enumDescriptions": [ |
- "v1 error format", |
- "v2 error format" |
- ], |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
"resources": { |
"projects": { |
"methods": { |
- "create": { |
- "description": "Creates a Project resource. Initially, the Project resource is owned by its creator exclusively. The creator can later grant permission to others to read or update the Project. Several APIs are activated automatically for the Project, including Google Cloud Storage.", |
+ "getAncestry": { |
+ "description": "Gets a list of ancestors in the resource hierarchy for the Project\nidentified by the specified `project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.", |
"httpMethod": "POST", |
- "id": "cloudresourcemanager.projects.create", |
+ "id": "cloudresourcemanager.projects.getAncestry", |
+ "parameterOrder": [ |
+ "projectId" |
+ ], |
"parameters": { |
- "useLegacyStack": { |
- "description": "A safety hatch to opt out of the new reliable project creation process.", |
- "location": "query", |
- "type": "boolean" |
+ "projectId": { |
+ "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
} |
}, |
- "path": "v1beta1/projects", |
+ "path": "v1beta1/projects/{projectId}:getAncestry", |
"request": { |
- "$ref": "Project" |
+ "$ref": "GetAncestryRequest" |
}, |
"response": { |
- "$ref": "Project" |
+ "$ref": "GetAncestryResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ ] |
+ }, |
+ "getIamPolicy": { |
+ "description": "Returns the IAM access control policy for the specified Project.\nPermission is denied if the policy or the resource does not exist.", |
+ "httpMethod": "POST", |
+ "id": "cloudresourcemanager.projects.getIamPolicy", |
+ "parameterOrder": [ |
+ "resource" |
+ ], |
+ "parameters": { |
+ "resource": { |
+ "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1beta1/projects/{resource}:getIamPolicy", |
+ "request": { |
+ "$ref": "GetIamPolicyRequest" |
+ }, |
+ "response": { |
+ "$ref": "Policy" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ ] |
+ }, |
+ "undelete": { |
+ "description": "Restores the Project identified by the specified\n`project_id` (for example, `my-project-123`).\nYou can only use this method for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissions for this Project.", |
+ "httpMethod": "POST", |
+ "id": "cloudresourcemanager.projects.undelete", |
+ "parameterOrder": [ |
+ "projectId" |
+ ], |
+ "parameters": { |
+ "projectId": { |
+ "description": "The project ID (for example, `foo-bar-123`).\n\nRequired.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1beta1/projects/{projectId}:undelete", |
+ "request": { |
+ "$ref": "UndeleteProjectRequest" |
+ }, |
+ "response": { |
+ "$ref": "Empty" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
"list": { |
- "description": "Lists Projects that are visible to the user and satisfy the specified filter. This method returns Projects in an unspecified order. New Projects do not necessarily appear at the end of the list.", |
+ "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecified order.\nNew Projects do not necessarily appear at the end of the list.", |
"httpMethod": "GET", |
"id": "cloudresourcemanager.projects.list", |
+ "parameterOrder": [], |
"parameters": { |
- "pageToken": { |
- "description": "A pagination token returned from a previous call to ListProjects that indicates from where listing should continue. Optional.", |
- "location": "query", |
- "type": "string" |
- }, |
"pageSize": { |
- "description": "The maximum number of Projects to return in the response. The server can return fewer Projects than requested. If unspecified, server picks an appropriate default. Optional.", |
+ "description": "The maximum number of Projects to return in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.", |
"format": "int32", |
"location": "query", |
"type": "integer" |
}, |
"filter": { |
- "description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: + `name` + `id` + labels.key where *key* is the name of a label Some examples of using labels as filters: |Filter|Description| |------|-----------| |name:*|The project has a name.| |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to above.| |NAME:howl|Equivalent to above.| |labels.color:*|The project has the label `color`.| |labels.color:red|The project's label `color` has the value `red`.| |labels.color:red label.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`. Optional.", |
+ "description": "An expression for filtering the results of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *key* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filter|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red label.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nOptional.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageToken": { |
+ "description": "A pagination token returned from a previous call to ListProjects\nthat indicates from where listing should continue.\n\nOptional.", |
"location": "query", |
"type": "string" |
} |
@@ -165,7 +232,7 @@ |
] |
}, |
"get": { |
- "description": "Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.", |
+ "description": "Retrieves the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have read permissions for this Project.", |
"httpMethod": "GET", |
"id": "cloudresourcemanager.projects.get", |
"parameterOrder": [ |
@@ -173,7 +240,7 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The Project ID (for example, `my-project-123`). Required.", |
+ "description": "The Project ID (for example, `my-project-123`).\n\nRequired.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -189,7 +256,7 @@ |
] |
}, |
"update": { |
- "description": "Updates the attributes of the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have modify permissions for this Project.", |
+ "description": "Updates the attributes of the Project identified by the specified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have modify permissions for this Project.", |
"httpMethod": "PUT", |
"id": "cloudresourcemanager.projects.update", |
"parameterOrder": [ |
@@ -197,7 +264,7 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The project ID (for example, `my-project-123`). Required.", |
+ "description": "The project ID (for example, `my-project-123`).\n\nRequired.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -214,184 +281,156 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "delete": { |
- "description": "Marks the Project identified by the specified `project_id` (for example, `my-project-123`) for deletion. This method will only affect the Project if the following criteria are met: + The Project does not have a billing account associated with it. + The Project has a lifecycle state of ACTIVE. This method changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified time, at which point the project is no longer accessible. Until the deletion completes, you can check the lifecycle state checked by retrieving the Project with GetProject, and the Project remains visible to ListProjects. However, you cannot update the project. After the deletion completes, the Project is not retrievable by the GetProject and ListProjects methods. The caller must have modify permissions for this Project.", |
- "httpMethod": "DELETE", |
- "id": "cloudresourcemanager.projects.delete", |
- "parameterOrder": [ |
- "projectId" |
- ], |
+ "create": { |
+ "description": "Creates a Project resource.\n\nInitially, the Project resource is owned by its creator exclusively.\nThe creator can later grant permission to others to read or update the\nProject.\n\nSeveral APIs are activated automatically for the Project, including\nGoogle Cloud Storage.", |
+ "httpMethod": "POST", |
+ "id": "cloudresourcemanager.projects.create", |
+ "parameterOrder": [], |
"parameters": { |
- "projectId": { |
- "description": "The Project ID (for example, `foo-bar-123`). Required.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
+ "useLegacyStack": { |
+ "description": "A safety hatch to opt out of the new reliable project creation process.", |
+ "location": "query", |
+ "type": "boolean" |
} |
}, |
- "path": "v1beta1/projects/{projectId}", |
+ "path": "v1beta1/projects", |
+ "request": { |
+ "$ref": "Project" |
+ }, |
"response": { |
- "$ref": "Empty" |
+ "$ref": "Project" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "undelete": { |
- "description": "Restores the Project identified by the specified `project_id` (for example, `my-project-123`). You can only use this method for a Project that has a lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot be restored. The caller must have modify permissions for this Project.", |
+ "setIamPolicy": { |
+ "description": "Sets the IAM access control policy for the specified Project. Replaces\nany existing policy.\n\nThe following constraints apply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `allAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and must accept the invitation.\n\n+ A user cannot be granted the owner role using `setIamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant the owner role cannot be sent using `setIamPolicy()`;\nthey must be sent only using the Cloud Platform Console.\n\n+ Membership changes that leave the project without any owners that have\naccepted the Terms of Service (ToS) will be rejected.\n\n+ There must be at least one owner who has accepted the Terms of\nService (ToS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last ToS-accepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render services completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its roles.", |
"httpMethod": "POST", |
- "id": "cloudresourcemanager.projects.undelete", |
+ "id": "cloudresourcemanager.projects.setIamPolicy", |
"parameterOrder": [ |
- "projectId" |
+ "resource" |
], |
"parameters": { |
- "projectId": { |
- "description": "The project ID (for example, `foo-bar-123`). Required.", |
+ "resource": { |
+ "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/projects/{projectId}:undelete", |
+ "path": "v1beta1/projects/{resource}:setIamPolicy", |
"request": { |
- "$ref": "UndeleteProjectRequest" |
+ "$ref": "SetIamPolicyRequest" |
}, |
"response": { |
- "$ref": "Empty" |
+ "$ref": "Policy" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "getAncestry": { |
- "description": "Gets a list of ancestors in the resource hierarchy for the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.", |
- "httpMethod": "POST", |
- "id": "cloudresourcemanager.projects.getAncestry", |
+ "delete": { |
+ "description": "Marks the Project identified by the specified\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will only affect the Project if the following criteria are met:\n\n+ The Project does not have a billing account associated with it.\n+ The Project has a lifecycle state of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTIVE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which point the project is\nno longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the Project with GetProject,\nand the Project remains visible to ListProjects.\nHowever, you cannot update the project.\n\nAfter the deletion completes, the Project is not retrievable by\nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permissions for this Project.", |
+ "httpMethod": "DELETE", |
+ "id": "cloudresourcemanager.projects.delete", |
"parameterOrder": [ |
"projectId" |
], |
"parameters": { |
"projectId": { |
- "description": "The Project ID (for example, `my-project-123`). Required.", |
+ "description": "The Project ID (for example, `foo-bar-123`).\n\nRequired.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/projects/{projectId}:getAncestry", |
- "request": { |
- "$ref": "GetAncestryRequest" |
- }, |
+ "path": "v1beta1/projects/{projectId}", |
"response": { |
- "$ref": "GetAncestryResponse" |
+ "$ref": "Empty" |
}, |
"scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ "https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "getIamPolicy": { |
- "description": "Returns the IAM access control policy for the specified Project. Permission is denied if the policy or the resource does not exist.", |
+ "testIamPermissions": { |
+ "description": "Returns permissions that a caller has on the specified Project.", |
"httpMethod": "POST", |
- "id": "cloudresourcemanager.projects.getIamPolicy", |
+ "id": "cloudresourcemanager.projects.testIamPermissions", |
"parameterOrder": [ |
"resource" |
], |
"parameters": { |
"resource": { |
- "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}`.", |
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/projects/{resource}:getIamPolicy", |
+ "path": "v1beta1/projects/{resource}:testIamPermissions", |
"request": { |
- "$ref": "GetIamPolicyRequest" |
+ "$ref": "TestIamPermissionsRequest" |
}, |
"response": { |
- "$ref": "Policy" |
+ "$ref": "TestIamPermissionsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
- }, |
- "setIamPolicy": { |
- "description": "Sets the IAM access control policy for the specified Project. Replaces any existing policy. The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted only to `user` and `serviceAccount`. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + Invitations to grant the owner role cannot be sent using `setIamPolicy()`; they must be sent only using the Cloud Platform Console. + Membership changes that leave the project without any owners that have accepted the Terms of Service (ToS) will be rejected. + There must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. + Calling this method requires enabling the App Engine Admin API. Note: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles.", |
+ } |
+ } |
+ }, |
+ "organizations": { |
+ "methods": { |
+ "getIamPolicy": { |
+ "description": "Gets the access control policy for an Organization resource. May be empty\nif no such policy or resource exists. The `resource` field should be the\norganization's resource name, e.g. \"organizations/123\".", |
"httpMethod": "POST", |
- "id": "cloudresourcemanager.projects.setIamPolicy", |
+ "id": "cloudresourcemanager.organizations.getIamPolicy", |
"parameterOrder": [ |
"resource" |
], |
"parameters": { |
"resource": { |
- "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}`.", |
+ "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", |
"location": "path", |
+ "pattern": "^organizations/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1beta1/projects/{resource}:setIamPolicy", |
+ "path": "v1beta1/{+resource}:getIamPolicy", |
"request": { |
- "$ref": "SetIamPolicyRequest" |
+ "$ref": "GetIamPolicyRequest" |
}, |
"response": { |
"$ref": "Policy" |
}, |
"scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
- "testIamPermissions": { |
- "description": "Returns permissions that a caller has on the specified Project.", |
- "httpMethod": "POST", |
- "id": "cloudresourcemanager.projects.testIamPermissions", |
- "parameterOrder": [ |
- "resource" |
- ], |
- "parameters": { |
- "resource": { |
- "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", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/projects/{resource}:testIamPermissions", |
- "request": { |
- "$ref": "TestIamPermissionsRequest" |
- }, |
- "response": { |
- "$ref": "TestIamPermissionsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
- ] |
- } |
- } |
- }, |
- "organizations": { |
- "methods": { |
- "list": { |
- "description": "Lists Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the list.", |
- "httpMethod": "GET", |
- "id": "cloudresourcemanager.organizations.list", |
+ "list": { |
+ "description": "Lists Organization resources that are visible to the user and satisfy\nthe specified filter. This method returns Organizations in an unspecified\norder. New Organizations do not necessarily appear at the end of the list.", |
+ "httpMethod": "GET", |
+ "id": "cloudresourcemanager.organizations.list", |
+ "parameterOrder": [], |
"parameters": { |
"pageSize": { |
- "description": "The maximum number of Organizations to return in the response. This field is optional.", |
+ "description": "The maximum number of Organizations to return in the response.\nThis field is optional.", |
"format": "int32", |
"location": "query", |
"type": "integer" |
}, |
- "pageToken": { |
- "description": "A pagination token returned from a previous call to `ListOrganizations` that indicates from where listing should continue. This field is optional.", |
+ "filter": { |
+ "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Description|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Organizations corresponding to the domain `google.com`.|\n\nThis field is optional.", |
"location": "query", |
"type": "string" |
}, |
- "filter": { |
- "description": "An optional query string used to filter the Organizations to return in the response. Filter rules are case-insensitive. Organizations may be filtered by `owner.directoryCustomerId` or by `domain`, where the domain is a Google for Work domain, for example: |Filter|Description| |------|-----------| |owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.| |domain:google.com|Organizations corresponding to the domain `google.com`.| This field is optional.", |
+ "pageToken": { |
+ "description": "A pagination token returned from a previous call to `ListOrganizations`\nthat indicates from where listing should continue.\nThis field is optional.", |
"location": "query", |
"type": "string" |
} |
@@ -416,12 +455,12 @@ |
"name": { |
"description": "The resource name of the Organization to fetch, e.g. \"organizations/1234\".", |
"location": "path", |
- "pattern": "^organizations/[^/]*$", |
+ "pattern": "^organizations/[^/]+$", |
"required": true, |
"type": "string" |
}, |
"organizationId": { |
- "description": "The id of the Organization resource to fetch. This field is deprecated and will be removed in v1. Use name instead.", |
+ "description": "The id of the Organization resource to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.", |
"location": "query", |
"type": "string" |
} |
@@ -444,9 +483,9 @@ |
], |
"parameters": { |
"name": { |
- "description": "Output Only. The resource name of the organization. This is the organization's relative path in the API. Its format is \"organizations/[organization_id]\". For example, \"organizations/1234\".", |
+ "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", |
"location": "path", |
- "pattern": "^organizations/[^/]*$", |
+ "pattern": "^organizations/[^/]+$", |
"required": true, |
"type": "string" |
} |
@@ -463,7 +502,7 @@ |
] |
}, |
"setIamPolicy": { |
- "description": "Sets the access control policy on an Organization resource. Replaces any existing policy. The `resource` field should be the organization's resource name, e.g. \"organizations/123\".", |
+ "description": "Sets the access control policy on an Organization resource. Replaces any\nexisting policy. The `resource` field should be the organization's resource\nname, e.g. \"organizations/123\".", |
"httpMethod": "POST", |
"id": "cloudresourcemanager.organizations.setIamPolicy", |
"parameterOrder": [ |
@@ -471,9 +510,9 @@ |
], |
"parameters": { |
"resource": { |
- "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}`.", |
+ "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", |
"location": "path", |
- "pattern": "^organizations/[^/]*$", |
+ "pattern": "^organizations/[^/]+$", |
"required": true, |
"type": "string" |
} |
@@ -489,36 +528,8 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "getIamPolicy": { |
- "description": "Gets the access control policy for an Organization resource. May be empty if no such policy or resource exists. The `resource` field should be the organization's resource name, e.g. \"organizations/123\".", |
- "httpMethod": "POST", |
- "id": "cloudresourcemanager.organizations.getIamPolicy", |
- "parameterOrder": [ |
- "resource" |
- ], |
- "parameters": { |
- "resource": { |
- "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": "^organizations/[^/]*$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1beta1/{+resource}:getIamPolicy", |
- "request": { |
- "$ref": "GetIamPolicyRequest" |
- }, |
- "response": { |
- "$ref": "Policy" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
- ] |
- }, |
"testIamPermissions": { |
- "description": "Returns permissions that a caller has on the specified Organization. The `resource` field should be the organization's resource name, e.g. \"organizations/123\".", |
+ "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's resource name,\ne.g. \"organizations/123\".", |
"httpMethod": "POST", |
"id": "cloudresourcemanager.organizations.testIamPermissions", |
"parameterOrder": [ |
@@ -526,9 +537,9 @@ |
], |
"parameters": { |
"resource": { |
- "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}`.", |
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", |
"location": "path", |
- "pattern": "^organizations/[^/]*$", |
+ "pattern": "^organizations/[^/]+$", |
"required": true, |
"type": "string" |
} |
@@ -548,181 +559,212 @@ |
} |
} |
}, |
- "revision": "20160927", |
+ "revision": "20161207", |
"rootUrl": "https://cloudresourcemanager.googleapis.com/", |
"schemas": { |
- "Project": { |
- "description": "A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources.", |
- "id": "Project", |
+ "FolderOperationError": { |
+ "description": "A classification of the Folder Operation error.", |
+ "id": "FolderOperationError", |
"properties": { |
- "projectNumber": { |
- "description": "The number uniquely identifying the project. Example: 415104041262 Read-only.", |
- "format": "int64", |
- "type": "string" |
- }, |
- "projectId": { |
- "description": "The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation.", |
- "type": "string" |
- }, |
- "lifecycleState": { |
- "description": "The Project lifecycle state. Read-only.", |
+ "errorMessageId": { |
+ "description": "The type of operation error experienced.", |
"enum": [ |
- "LIFECYCLE_STATE_UNSPECIFIED", |
- "ACTIVE", |
- "DELETE_REQUESTED", |
- "DELETE_IN_PROGRESS" |
+ "ERROR_TYPE_UNSPECIFIED", |
+ "FOLDER_HEIGHT_VIOLATION", |
+ "MAX_CHILD_FOLDERS_VIOLATION", |
+ "FOLDER_NAME_UNIQUENESS_VIOLATION", |
+ "RESOURCE_DELETED", |
+ "PARENT_DELETED", |
+ "CYCLE_INTRODUCED_ERROR", |
+ "FOLDER_ALREADY_BEING_MOVED", |
+ "FOLDER_TO_DELETE_NON_EMPTY" |
+ ], |
+ "enumDescriptions": [ |
+ "The error type was unrecognized or unspecified.", |
+ "The attempted action would violate the max folder depth constraint.", |
+ "The attempted action would violate the max child folders constraint.", |
+ "The attempted action would violate the locally-unique folder\ndisplay_name constraint.", |
+ "The resource being moved has been deleted.", |
+ "The resource a folder was being added to has been deleted.", |
+ "The attempted action would introduce cycle in resource path.", |
+ "The attempted action would move a folder that is already being moved.", |
+ "The folder the caller is trying to delete contains active resources." |
], |
- "type": "string" |
- }, |
- "name": { |
- "description": "The user-assigned display name of the Project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write.", |
- "type": "string" |
- }, |
- "createTime": { |
- "description": "Creation time. Read-only.", |
- "type": "string" |
- }, |
- "labels": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "The labels associated with this Project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: \"environment\" : \"dev\" Read-write.", |
- "type": "object" |
- }, |
- "parent": { |
- "$ref": "ResourceId", |
- "description": "An optional reference to a parent Resource. The only supported parent type is \"organization\". Once set, the parent cannot be modified. Read-write." |
- } |
- }, |
- "type": "object" |
- }, |
- "ResourceId": { |
- "description": "A container to reference an id for any resource type. A `resource` in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, a Cloud SQL database, and so on.", |
- "id": "ResourceId", |
- "properties": { |
- "type": { |
- "description": "Required field representing the resource type this id is for. At present, the valid types are \"project\" and \"organization\".", |
- "type": "string" |
- }, |
- "id": { |
- "description": "Required field for the type-specific id. This should correspond to the id used in the type-specific API's.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
"ListProjectsResponse": { |
- "description": "A page of the response received from the ListProjects method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.", |
+ "description": "A page of the response received from the\nListProjects\nmethod.\n\nA paginated response where more pages are available has\n`next_page_token` set. This token can be used in a subsequent request to\nretrieve the next request page.", |
"id": "ListProjectsResponse", |
"properties": { |
"projects": { |
- "description": "The list of Projects that matched the list filter. This list can be paginated.", |
+ "description": "The list of Projects that matched the list filter. This list can\nbe paginated.", |
"items": { |
"$ref": "Project" |
}, |
"type": "array" |
}, |
"nextPageToken": { |
- "description": "Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime.", |
+ "description": "Pagination token.\n\nIf the result set is too large to fit in a single response, this token\nis returned. It encodes the position of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `next_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "Empty": { |
- "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
- "id": "Empty", |
- "type": "object" |
- }, |
"UndeleteProjectRequest": { |
- "description": "The request sent to the UndeleteProject method.", |
+ "description": "The request sent to the UndeleteProject\nmethod.", |
"id": "UndeleteProjectRequest", |
+ "properties": {}, |
"type": "object" |
}, |
- "GetAncestryRequest": { |
- "description": "The request sent to the GetAncestry method.", |
- "id": "GetAncestryRequest", |
+ "FolderOperation": { |
+ "description": "Metadata describing a long running folder operation", |
+ "id": "FolderOperation", |
+ "properties": { |
+ "displayName": { |
+ "description": "The display name of the folder.", |
+ "type": "string" |
+ }, |
+ "sourceParent": { |
+ "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.", |
+ "type": "string" |
+ }, |
+ "destinationParent": { |
+ "description": "The resource name of the folder or organization we are either creating\nthe folder under or moving the folder to.", |
+ "type": "string" |
+ }, |
+ "operationType": { |
+ "description": "The type of this operation.", |
+ "enum": [ |
+ "OPERATION_TYPE_UNSPECIFIED", |
+ "CREATE", |
+ "MOVE" |
+ ], |
+ "enumDescriptions": [ |
+ "Operation type not specified.", |
+ "A create folder operation.", |
+ "A move folder operation." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
"type": "object" |
}, |
- "GetAncestryResponse": { |
- "description": "Response from the GetAncestry method.", |
- "id": "GetAncestryResponse", |
+ "GetIamPolicyRequest": { |
+ "description": "Request message for `GetIamPolicy` method.", |
+ "id": "GetIamPolicyRequest", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "SetIamPolicyRequest": { |
+ "description": "Request message for `SetIamPolicy` method.", |
+ "id": "SetIamPolicyRequest", |
"properties": { |
- "ancestor": { |
- "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The first ancestor is the project itself, followed by the project's parent, etc.", |
+ "policy": { |
+ "$ref": "Policy", |
+ "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 empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them." |
+ } |
+ }, |
+ "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": { |
- "$ref": "Ancestor" |
+ "type": "string" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
}, |
- "Ancestor": { |
- "description": "Identifying information for a single ancestor of a project.", |
- "id": "Ancestor", |
+ "Organization": { |
+ "description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.", |
+ "id": "Organization", |
"properties": { |
- "resourceId": { |
- "$ref": "ResourceId", |
- "description": "Resource id of the ancestor." |
+ "lifecycleState": { |
+ "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly", |
+ "enum": [ |
+ "LIFECYCLE_STATE_UNSPECIFIED", |
+ "ACTIVE", |
+ "DELETE_REQUESTED" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified state. This is only useful for distinguishing unset values.", |
+ "The normal and active state.", |
+ "The organization has been marked for deletion by the user." |
+ ], |
+ "type": "string" |
+ }, |
+ "displayName": { |
+ "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the firm name of the Google For Work\ncustomer that owns this organization.\n@OutputOnly", |
+ "type": "string" |
+ }, |
+ "organizationId": { |
+ "description": "An immutable id for the Organization that is assigned on creation. This\nshould be omitted when creating a new Organization.\nThis field is read-only.\nThis field is deprecated and will be removed in v1. Use name instead.", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "Output Only. The resource name of the organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", |
+ "type": "string" |
+ }, |
+ "creationTime": { |
+ "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "owner": { |
+ "$ref": "OrganizationOwner", |
+ "description": "The owner of this Organization. The owner should be specified on\ncreation. Once set, it cannot be changed.\nThis field is required." |
} |
}, |
"type": "object" |
}, |
- "GetIamPolicyRequest": { |
- "description": "Request message for `GetIamPolicy` method.", |
- "id": "GetIamPolicyRequest", |
- "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\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": { |
- "version": { |
- "description": "Version of the `Policy`. The default version is 0.", |
- "format": "int32", |
- "type": "integer" |
- }, |
"bindings": { |
- "description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.", |
+ "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 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.", |
+ "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", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "Binding": { |
- "description": "Associates `members` with a `role`.", |
- "id": "Binding", |
- "properties": { |
- "role": { |
- "description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required", |
- "type": "string" |
}, |
- "members": { |
- "description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "version": { |
+ "description": "Version of the `Policy`. The default version is 0.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
}, |
- "SetIamPolicyRequest": { |
- "description": "Request message for `SetIamPolicy` method.", |
- "id": "SetIamPolicyRequest", |
+ "ProjectCreationStatus": { |
+ "description": "A status object which is used as the `metadata` field for the Operation\nreturned by CreateProject. It provides insight for when significant phases of\nProject creation have completed.", |
+ "id": "ProjectCreationStatus", |
"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." |
+ "ready": { |
+ "description": "True if the project creation process is complete.", |
+ "type": "boolean" |
+ }, |
+ "gettable": { |
+ "description": "True if the project can be retrieved using GetProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.", |
+ "type": "boolean" |
+ }, |
+ "createTime": { |
+ "description": "Creation time of the project creation workflow.", |
+ "format": "google-datetime", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -732,21 +774,7 @@ |
"id": "TestIamPermissionsRequest", |
"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](https://cloud.google.com/iam/docs/overview#permissions).", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "TestIamPermissionsResponse": { |
- "description": "Response message for `TestIamPermissions` method.", |
- "id": "TestIamPermissionsResponse", |
- "properties": { |
- "permissions": { |
- "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", |
+ "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" |
}, |
@@ -767,123 +795,140 @@ |
"type": "array" |
}, |
"nextPageToken": { |
- "description": "A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.", |
+ "description": "A pagination token to be used to retrieve the next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that this response\ncontains the last page of results.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "Organization": { |
- "description": "The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.", |
- "id": "Organization", |
+ "GetAncestryRequest": { |
+ "description": "The request sent to the\nGetAncestry\nmethod.", |
+ "id": "GetAncestryRequest", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "GetAncestryResponse": { |
+ "description": "Response from the GetAncestry method.", |
+ "id": "GetAncestryResponse", |
"properties": { |
- "name": { |
- "description": "Output Only. The resource name of the organization. This is the organization's relative path in the API. Its format is \"organizations/[organization_id]\". For example, \"organizations/1234\".", |
- "type": "string" |
- }, |
- "organizationId": { |
- "description": "An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only. This field is deprecated and will be removed in v1. Use name instead.", |
- "type": "string" |
- }, |
- "displayName": { |
- "description": "A friendly string to be used to refer to the Organization in the UI. Assigned by the server, set to the firm name of the Google For Work customer that owns this organization. @OutputOnly", |
- "type": "string" |
- }, |
- "owner": { |
- "$ref": "OrganizationOwner", |
- "description": "The owner of this Organization. The owner should be specified on creation. Once set, it cannot be changed. This field is required." |
- }, |
- "creationTime": { |
- "description": "Timestamp when the Organization was created. Assigned by the server. @OutputOnly", |
- "type": "string" |
- }, |
- "lifecycleState": { |
- "description": "The organization's current lifecycle state. Assigned by the server. @OutputOnly", |
- "enum": [ |
- "LIFECYCLE_STATE_UNSPECIFIED", |
- "ACTIVE", |
- "DELETE_REQUESTED" |
- ], |
- "type": "string" |
+ "ancestor": { |
+ "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by the project's parent,\netc.", |
+ "items": { |
+ "$ref": "Ancestor" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
}, |
- "OrganizationOwner": { |
- "description": "The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the `OrganizationOwner`. If the `OrganizationOwner` is deleted, the Organization and all its descendants will be deleted.", |
- "id": "OrganizationOwner", |
+ "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" |
+ }, |
+ "Ancestor": { |
+ "description": "Identifying information for a single ancestor of a project.", |
+ "id": "Ancestor", |
"properties": { |
- "directoryCustomerId": { |
- "description": "The Google for Work customer id used in the Directory API.", |
- "type": "string" |
+ "resourceId": { |
+ "$ref": "ResourceId", |
+ "description": "Resource id of the ancestor." |
} |
}, |
"type": "object" |
}, |
- "ProjectCreationStatus": { |
- "description": "A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.", |
- "id": "ProjectCreationStatus", |
+ "ResourceId": { |
+ "description": "A container to reference an id for any resource type. A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples are an AppEngine app,\na Compute Engine instance, a Cloud SQL database, and so on.", |
+ "id": "ResourceId", |
"properties": { |
- "createTime": { |
- "description": "Creation time of the project creation workflow.", |
+ "type": { |
+ "description": "Required field representing the resource type this id is for.\nAt present, the valid types are \"project\" and \"organization\".", |
"type": "string" |
}, |
- "gettable": { |
- "description": "True if the project can be retrieved using GetProject. No other operations on the project are guaranteed to work until the project creation is complete.", |
- "type": "boolean" |
- }, |
- "ready": { |
- "description": "True if the project creation process is complete.", |
- "type": "boolean" |
+ "id": { |
+ "description": "Required field for the type-specific id. This should correspond to the id\nused in the type-specific API's.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "FolderOperation": { |
- "description": "Metadata describing a long running folder operation", |
- "id": "FolderOperation", |
+ "Project": { |
+ "description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, AppEngine Apps, VMs, and other\nGoogle Cloud Platform resources.", |
+ "id": "Project", |
"properties": { |
- "displayName": { |
- "description": "The display name of the folder.", |
- "type": "string" |
+ "parent": { |
+ "$ref": "ResourceId", |
+ "description": "An optional reference to a parent Resource.\n\nThe only supported parent type is \"organization\". Once set, the parent\ncannot be modified.\n\nRead-write." |
}, |
- "operationType": { |
- "description": "The type of this operation.", |
+ "labels": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "The labels associated with this Project.\n\nLabel keys must be between 1 and 63 characters long and must conform\nto the following regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel values must be between 0 and 63 characters long and must conform\nto the regular expression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels can be associated with a given resource.\n\nClients should store labels in a representation such as JSON that does not\ndepend on specific characters being disallowed.\n\nExample: <code>\"environment\" : \"dev\"</code>\n\nRead-write.", |
+ "type": "object" |
+ }, |
+ "lifecycleState": { |
+ "description": "The Project lifecycle state.\n\nRead-only.", |
"enum": [ |
- "OPERATION_TYPE_UNSPECIFIED", |
- "CREATE", |
- "MOVE" |
+ "LIFECYCLE_STATE_UNSPECIFIED", |
+ "ACTIVE", |
+ "DELETE_REQUESTED", |
+ "DELETE_IN_PROGRESS" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified state. This is only used/useful for distinguishing\nunset values.", |
+ "The normal and active state.", |
+ "The project has been marked for deletion by the user\n(by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.", |
+ "This lifecycle state is no longer used and is not returned by the API." |
], |
"type": "string" |
}, |
- "sourceParent": { |
- "description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.", |
+ "createTime": { |
+ "description": "Creation time.\n\nRead-only.", |
+ "format": "google-datetime", |
"type": "string" |
}, |
- "destinationParent": { |
- "description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.", |
+ "name": { |
+ "description": "The user-assigned display name of the Project.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and uppercase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamation point.\n\nExample: <code>My Project</code>\n\nRead-write.", |
+ "type": "string" |
+ }, |
+ "projectNumber": { |
+ "description": "The number uniquely identifying the project.\n\nExample: <code>415104041262</code>\n\nRead-only.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
+ "projectId": { |
+ "description": "The unique, user-assigned ID of the Project.\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</code>\n\nRead-only after creation.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "FolderOperationError": { |
- "description": "A classification of the Folder Operation error.", |
- "id": "FolderOperationError", |
+ "Binding": { |
+ "description": "Associates `members` with a `role`.", |
+ "id": "Binding", |
"properties": { |
- "errorMessageId": { |
- "description": "The type of operation error experienced.", |
- "enum": [ |
- "ERROR_TYPE_UNSPECIFIED", |
- "FOLDER_HEIGHT_VIOLATION", |
- "MAX_CHILD_FOLDERS_VIOLATION", |
- "FOLDER_NAME_UNIQUENESS_VIOLATION", |
- "RESOURCE_DELETED", |
- "PARENT_DELETED", |
- "CYCLE_INTRODUCED_ERROR", |
- "FOLDER_ALREADY_BEING_MOVED", |
- "FOLDER_TO_DELETE_NON_EMPTY" |
- ], |
+ "members": { |
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier 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 specific 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:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "role": { |
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "OrganizationOwner": { |
+ "description": "The entity that owns an Organization. The lifetime of the Organization and\nall of its descendants are bound to the `OrganizationOwner`. If the\n`OrganizationOwner` is deleted, the Organization and all its descendants will\nbe deleted.", |
+ "id": "OrganizationOwner", |
+ "properties": { |
+ "directoryCustomerId": { |
+ "description": "The Google for Work customer id used in the Directory API.", |
"type": "string" |
} |
}, |