Index: discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
diff --git a/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json b/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
index 67fbc333a31458a25859350c2ea820859755a772..47c989cc4a0d0594c836263032647d192056bdbc 100644 |
--- a/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
+++ b/discovery/googleapis_beta/cloudresourcemanager__v1beta1.json |
@@ -28,6 +28,37 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "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" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -39,13 +70,18 @@ |
"location": "query", |
"type": "boolean" |
}, |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"fields": { |
"description": "Selector specifying which fields to include in a partial response.", |
"location": "query", |
"type": "string" |
}, |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "callback": { |
+ "description": "JSONP", |
"location": "query", |
"type": "string" |
}, |
@@ -62,11 +98,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -82,71 +113,12 @@ |
], |
"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" |
- }, |
- "access_token": { |
- "description": "OAuth access 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" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
"resources": { |
"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.organizations.getIamPolicy", |
- "parameterOrder": [ |
- "resource" |
- ], |
- "parameters": { |
- "resource": { |
- "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
- "location": "path", |
- "pattern": "^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" |
- ] |
- }, |
"get": { |
"description": "Fetches an Organization resource identified by the specified resource name.", |
"httpMethod": "GET", |
@@ -155,17 +127,17 @@ |
"name" |
], |
"parameters": { |
- "organizationId": { |
- "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" |
- }, |
"name": { |
"description": "The resource name of the Organization to fetch, e.g. \"organizations/1234\".", |
"location": "path", |
"pattern": "^organizations/[^/]+$", |
"required": true, |
"type": "string" |
+ }, |
+ "organizationId": { |
+ "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" |
} |
}, |
"path": "v1beta1/{+name}", |
@@ -290,6 +262,34 @@ |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
+ }, |
+ "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.organizations.getIamPolicy", |
+ "parameterOrder": [ |
+ "resource" |
+ ], |
+ "parameters": { |
+ "resource": { |
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
+ "location": "path", |
+ "pattern": "^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" |
+ ] |
} |
} |
}, |
@@ -351,6 +351,11 @@ |
"id": "cloudresourcemanager.projects.list", |
"parameterOrder": [], |
"parameters": { |
+ "filter": { |
+ "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:how*|The project's name starts with \"how\".|\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 labels.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nIf you specify a filter that has both `parent.type` and `parent.id`, then\nthe `resourcemanager.projects.list` permission is checked on the parent.\nIf the user has this permission, all projects under the parent will be\nreturned after remaining filters have been applied. If the user lacks this\npermission, then all projects for which the user has the\n`resourcemanager.projects.get` permission will be returned after remaining\nfilters have been applied. If no filter is specified, the call will return\nprojects for which the user has `resourcemanager.projects.get` permissions.\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", |
@@ -361,11 +366,6 @@ |
"format": "int32", |
"location": "query", |
"type": "integer" |
- }, |
- "filter": { |
- "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:how*|The project's name starts with \"how\".|\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 labels.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`.\n\nIf you specify a filter that has both `parent.type` and `parent.id`, then\nthe `resourcemanager.projects.list` permission is checked on the parent.\nIf the user has this permission, all projects under the parent will be\nreturned after remaining filters have been applied. If the user lacks this\npermission, then all projects for which the user has the\n`resourcemanager.projects.get` permission will be returned after remaining\nfilters have been applied. If no filter is specified, the call will return\nprojects for which the user has `resourcemanager.projects.get` permissions.\n\nOptional.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v1beta1/projects", |
@@ -559,9 +559,63 @@ |
} |
} |
}, |
- "revision": "20170705", |
+ "revision": "20170726", |
"rootUrl": "https://cloudresourcemanager.googleapis.com/", |
"schemas": { |
+ "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" |
+ }, |
+ "Organization": { |
+ "description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.", |
+ "id": "Organization", |
+ "properties": { |
+ "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." |
+ }, |
+ "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" |
+ }, |
+ "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" |
+ }, |
+ "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 primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly", |
+ "type": "string" |
+ }, |
+ "creationTime": { |
+ "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "UndeleteProjectRequest": { |
+ "description": "The request sent to the UndeleteProject\nmethod.", |
+ "id": "UndeleteProjectRequest", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
"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", |
@@ -582,12 +636,6 @@ |
}, |
"type": "object" |
}, |
- "GetIamPolicyRequest": { |
- "description": "Request message for `GetIamPolicy` method.", |
- "id": "GetIamPolicyRequest", |
- "properties": {}, |
- "type": "object" |
- }, |
"TestIamPermissionsResponse": { |
"description": "Response message for `TestIamPermissions` method.", |
"id": "TestIamPermissionsResponse", |
@@ -602,6 +650,12 @@ |
}, |
"type": "object" |
}, |
+ "GetIamPolicyRequest": { |
+ "description": "Request message for `GetIamPolicy` method.", |
+ "id": "GetIamPolicyRequest", |
+ "properties": {}, |
+ "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", |
@@ -661,16 +715,16 @@ |
"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": { |
- "nextPageToken": { |
- "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" |
- }, |
"projects": { |
"description": "The list of Projects that matched the list filter. This list can\nbe paginated.", |
"items": { |
"$ref": "Project" |
}, |
"type": "array" |
+ }, |
+ "nextPageToken": { |
+ "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" |
@@ -685,22 +739,6 @@ |
"description": "A Project is a high-level Google Cloud Platform entity. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.", |
"id": "Project", |
"properties": { |
- "lifecycleState": { |
- "description": "The Project lifecycle state.\n\nRead-only.", |
- "enum": [ |
- "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" |
- }, |
"projectNumber": { |
"description": "The number uniquely identifying the project.\n\nExample: <code>415104041262</code>\nRead-only.", |
"format": "int64", |
@@ -710,6 +748,11 @@ |
"$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. The `parent` can be set on creation or using the\n`UpdateProject` method; the end user must have the\n`resourcemanager.projects.create` permission on the parent.\n\nRead-write." |
}, |
+ "createTime": { |
+ "description": "Creation time.\n\nRead-only.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
"labels": { |
"additionalProperties": { |
"type": "string" |
@@ -717,11 +760,6 @@ |
"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>\nRead-write.", |
"type": "object" |
}, |
- "createTime": { |
- "description": "Creation time.\n\nRead-only.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
"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>\nRead-write.", |
"type": "string" |
@@ -729,6 +767,22 @@ |
"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>\nRead-only after creation.", |
"type": "string" |
+ }, |
+ "lifecycleState": { |
+ "description": "The Project lifecycle state.\n\nRead-only.", |
+ "enum": [ |
+ "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" |
} |
}, |
"type": "object" |
@@ -747,45 +801,22 @@ |
}, |
"type": "object" |
}, |
- "FolderOperationError": { |
- "description": "A classification of the Folder Operation error.", |
- "id": "FolderOperationError", |
- "properties": { |
- "errorMessageId": { |
- "description": "The type of operation error experienced.", |
- "enum": [ |
- "ERROR_TYPE_UNSPECIFIED", |
- "ACTIVE_FOLDER_HEIGHT_VIOLATION", |
- "MAX_CHILD_FOLDERS_VIOLATION", |
- "FOLDER_NAME_UNIQUENESS_VIOLATION", |
- "RESOURCE_DELETED_VIOLATION", |
- "PARENT_DELETED_VIOLATION", |
- "CYCLE_INTRODUCED_VIOLATION", |
- "FOLDER_BEING_MOVED_VIOLATION", |
- "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", |
- "DELETED_FOLDER_HEIGHT_VIOLATION" |
- ], |
- "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.", |
- "The attempted action would violate the max deleted folder depth\nconstraint." |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"FolderOperation": { |
"description": "Metadata describing a long running folder operation", |
"id": "FolderOperation", |
"properties": { |
+ "sourceParent": { |
+ "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.", |
+ "type": "string" |
+ }, |
+ "displayName": { |
+ "description": "The display name of the folder.", |
+ "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": [ |
@@ -799,18 +830,6 @@ |
"A move folder operation." |
], |
"type": "string" |
- }, |
- "sourceParent": { |
- "description": "The resource name of the folder's parent.\nOnly applicable when the operation_type is MOVE.", |
- "type": "string" |
- }, |
- "displayName": { |
- "description": "The display name of the folder.", |
- "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" |
} |
}, |
"type": "object" |
@@ -819,6 +838,13 @@ |
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", |
"id": "Policy", |
"properties": { |
+ "bindings": { |
+ "description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.", |
+ "items": { |
+ "$ref": "Binding" |
+ }, |
+ "type": "array" |
+ }, |
"etag": { |
"description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that their change will be applied to the same version of the policy.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing\npolicy is overwritten blindly.", |
"format": "byte", |
@@ -835,13 +861,41 @@ |
"$ref": "AuditConfig" |
}, |
"type": "array" |
- }, |
- "bindings": { |
- "description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.", |
- "items": { |
- "$ref": "Binding" |
- }, |
- "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "FolderOperationError": { |
+ "description": "A classification of the Folder Operation error.", |
+ "id": "FolderOperationError", |
+ "properties": { |
+ "errorMessageId": { |
+ "description": "The type of operation error experienced.", |
+ "enum": [ |
+ "ERROR_TYPE_UNSPECIFIED", |
+ "ACTIVE_FOLDER_HEIGHT_VIOLATION", |
+ "MAX_CHILD_FOLDERS_VIOLATION", |
+ "FOLDER_NAME_UNIQUENESS_VIOLATION", |
+ "RESOURCE_DELETED_VIOLATION", |
+ "PARENT_DELETED_VIOLATION", |
+ "CYCLE_INTRODUCED_VIOLATION", |
+ "FOLDER_BEING_MOVED_VIOLATION", |
+ "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", |
+ "DELETED_FOLDER_HEIGHT_VIOLATION" |
+ ], |
+ "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.", |
+ "The attempted action would violate the max deleted folder depth\nconstraint." |
+ ], |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -850,13 +904,13 @@ |
"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 App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on.", |
"id": "ResourceId", |
"properties": { |
- "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": { |
"description": "Required field representing the resource type this id is for.\nAt 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\nused in the type-specific API's.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -890,22 +944,6 @@ |
}, |
"type": "object" |
}, |
- "SetIamPolicyRequest": { |
- "description": "Request message for `SetIamPolicy` method.", |
- "id": "SetIamPolicyRequest", |
- "properties": { |
- "policy": { |
- "$ref": "Policy", |
- "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\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." |
- }, |
- "updateMask": { |
- "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", |
- "format": "google-fieldmask", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"ListOrganizationsResponse": { |
"description": "The response returned from the `ListOrganizations` method.", |
"id": "ListOrganizationsResponse", |
@@ -924,6 +962,22 @@ |
}, |
"type": "object" |
}, |
+ "SetIamPolicyRequest": { |
+ "description": "Request message for `SetIamPolicy` method.", |
+ "id": "SetIamPolicyRequest", |
+ "properties": { |
+ "policy": { |
+ "$ref": "Policy", |
+ "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\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." |
+ }, |
+ "updateMask": { |
+ "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.", |
+ "format": "google-fieldmask", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Binding": { |
"description": "Associates `members` with a `role`.", |
"id": "Binding", |
@@ -941,60 +995,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "Empty": { |
- "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
- "id": "Empty", |
- "properties": {}, |
- "type": "object" |
- }, |
- "UndeleteProjectRequest": { |
- "description": "The request sent to the UndeleteProject\nmethod.", |
- "id": "UndeleteProjectRequest", |
- "properties": {}, |
- "type": "object" |
- }, |
- "Organization": { |
- "description": "The root node in the resource hierarchy to which a particular entity's\n(e.g., company) resources belong.", |
- "id": "Organization", |
- "properties": { |
- "displayName": { |
- "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of the G Suite\ncustomer that owns the organization.\n@OutputOnly", |
- "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." |
- }, |
- "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" |
- }, |
- "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" |
- }, |
- "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" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |