mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(api-update): to latest
Using `make update-json`, all json descriptions have been update. Quite interesting to see that there are plenty of new ones which are giving 404 when queried. An actual bug, or something I should look into ?
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/7EbyY-VAY04PT8kJyTAvwd_kJKM\"",
|
||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/232vNH0y0gf7PFZjf9ayIsMOF0M\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "cloudresourcemanager:v1beta1",
|
||||
"name": "cloudresourcemanager",
|
||||
"canonicalName": "Cloud Resource Manager",
|
||||
"version": "v1beta1",
|
||||
"revision": "20160316",
|
||||
"revision": "20160617",
|
||||
"title": "Google Cloud Resource Manager API",
|
||||
"description": "The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -140,7 +140,7 @@
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The user-assigned 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."
|
||||
"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."
|
||||
},
|
||||
"createTime": {
|
||||
"type": "string",
|
||||
@@ -166,7 +166,7 @@
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "Required field representing the resource type this id is for. At present, the only valid type is \"organization\"."
|
||||
"description": "Required field representing the resource type this id is for. At present, the valid types are \"project\" and \"organization\"."
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
@@ -202,6 +202,36 @@
|
||||
"type": "object",
|
||||
"description": "The request sent to the UndeleteProject method."
|
||||
},
|
||||
"GetAncestryRequest": {
|
||||
"id": "GetAncestryRequest",
|
||||
"type": "object",
|
||||
"description": "The request sent to the GetAncestry method."
|
||||
},
|
||||
"GetAncestryResponse": {
|
||||
"id": "GetAncestryResponse",
|
||||
"type": "object",
|
||||
"description": "Response from the GetAncestry method.",
|
||||
"properties": {
|
||||
"ancestor": {
|
||||
"type": "array",
|
||||
"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.",
|
||||
"items": {
|
||||
"$ref": "Ancestor"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Ancestor": {
|
||||
"id": "Ancestor",
|
||||
"type": "object",
|
||||
"description": "Identifying information for a single ancestor of a project.",
|
||||
"properties": {
|
||||
"resourceId": {
|
||||
"$ref": "ResourceId",
|
||||
"description": "Resource id of the ancestor."
|
||||
}
|
||||
}
|
||||
},
|
||||
"GetIamPolicyRequest": {
|
||||
"id": "GetIamPolicyRequest",
|
||||
"type": "object",
|
||||
@@ -311,9 +341,13 @@
|
||||
"type": "object",
|
||||
"description": "The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"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\"."
|
||||
},
|
||||
"organizationId": {
|
||||
"type": "string",
|
||||
"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."
|
||||
"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."
|
||||
},
|
||||
"displayName": {
|
||||
"type": "string",
|
||||
@@ -326,6 +360,15 @@
|
||||
"creationTime": {
|
||||
"type": "string",
|
||||
"description": "Timestamp when the Organization was created. Assigned by the server. @OutputOnly"
|
||||
},
|
||||
"lifecycleState": {
|
||||
"type": "string",
|
||||
"description": "The organization's current lifecycle state. Assigned by the server. @OutputOnly",
|
||||
"enum": [
|
||||
"LIFECYCLE_STATE_UNSPECIFIED",
|
||||
"ACTIVE",
|
||||
"DELETE_REQUESTED"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -444,7 +487,7 @@
|
||||
"id": "cloudresourcemanager.projects.delete",
|
||||
"path": "v1beta1/projects/{projectId}",
|
||||
"httpMethod": "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 lifecycle state changes to DELETE_IN_PROGRESS. 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.",
|
||||
"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.",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
@@ -467,7 +510,7 @@
|
||||
"id": "cloudresourcemanager.projects.undelete",
|
||||
"path": "v1beta1/projects/{projectId}:undelete",
|
||||
"httpMethod": "POST",
|
||||
"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, as indicated by a lifecycle state of DELETE_IN_PROGRESS, the Project cannot be restored. The caller must have modify permissions for this Project.",
|
||||
"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.",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
@@ -489,6 +532,33 @@
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"getAncestry": {
|
||||
"id": "cloudresourcemanager.projects.getAncestry",
|
||||
"path": "v1beta1/projects/{projectId}:getAncestry",
|
||||
"httpMethod": "POST",
|
||||
"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.",
|
||||
"parameters": {
|
||||
"projectId": {
|
||||
"type": "string",
|
||||
"description": "The Project ID (for example, `my-project-123`). Required.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"projectId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "GetAncestryRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GetAncestryResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform",
|
||||
"https://www.googleapis.com/auth/cloud-platform.read-only"
|
||||
]
|
||||
},
|
||||
"getIamPolicy": {
|
||||
"id": "cloudresourcemanager.projects.getIamPolicy",
|
||||
"path": "v1beta1/projects/{resource}:getIamPolicy",
|
||||
@@ -520,7 +590,7 @@
|
||||
"id": "cloudresourcemanager.projects.setIamPolicy",
|
||||
"path": "v1beta1/projects/{resource}:setIamPolicy",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sets the IAM access control policy for the specified Project. Replaces any existing policy. The following constraints apply when using `setIamPolicy()`: + Project currently supports only `user:{emailid}` and `serviceAccount:{emailid}` members in a `Binding` of a `Policy`. + To be added as an `owner`, a user must be invited via Cloud Platform console and must accept the invitation. + Members cannot be added to more than one role in the same policy. + 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. + 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.",
|
||||
"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. + Members cannot be added to more than one role in the same policy. + 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.",
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
@@ -606,19 +676,25 @@
|
||||
},
|
||||
"get": {
|
||||
"id": "cloudresourcemanager.organizations.get",
|
||||
"path": "v1beta1/organizations/{organizationId}",
|
||||
"path": "v1beta1/{+name}",
|
||||
"httpMethod": "GET",
|
||||
"description": "Fetches an Organization resource identified by the specified `organization_id`.",
|
||||
"description": "Fetches an Organization resource identified by the specified resource name.",
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The resource name of the Organization to fetch. Its format is \"organizations/[organization_id]\". For example, \"organizations/1234\".",
|
||||
"required": true,
|
||||
"pattern": "^organizations/[^/]*$",
|
||||
"location": "path"
|
||||
},
|
||||
"organizationId": {
|
||||
"type": "string",
|
||||
"description": "The id of the Organization resource to fetch.",
|
||||
"required": true,
|
||||
"location": "path"
|
||||
"description": "The id of the Organization resource to fetch. This field is deprecated and will be removed in v1. Use name instead.",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"organizationId"
|
||||
"name"
|
||||
],
|
||||
"response": {
|
||||
"$ref": "Organization"
|
||||
@@ -630,19 +706,20 @@
|
||||
},
|
||||
"update": {
|
||||
"id": "cloudresourcemanager.organizations.update",
|
||||
"path": "v1beta1/organizations/{organizationId}",
|
||||
"path": "v1beta1/{+name}",
|
||||
"httpMethod": "PUT",
|
||||
"description": "Updates an Organization resource identified by the specified `organization_id`.",
|
||||
"description": "Updates an Organization resource identified by the specified resource name.",
|
||||
"parameters": {
|
||||
"organizationId": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"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.",
|
||||
"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\".",
|
||||
"required": true,
|
||||
"pattern": "^organizations/[^/]*$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
"parameterOrder": [
|
||||
"organizationId"
|
||||
"name"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "Organization"
|
||||
@@ -656,14 +733,15 @@
|
||||
},
|
||||
"setIamPolicy": {
|
||||
"id": "cloudresourcemanager.organizations.setIamPolicy",
|
||||
"path": "v1beta1/organizations/{resource}:setIamPolicy",
|
||||
"path": "v1beta1/{+resource}:setIamPolicy",
|
||||
"httpMethod": "POST",
|
||||
"description": "Sets the access control policy on an Organization resource. Replaces any existing policy.",
|
||||
"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\". For backward compatibility, the resource provided may also be the organization_id. This will not be supported in v1.",
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `setIamPolicy` documentation.",
|
||||
"required": true,
|
||||
"pattern": "^organizations/[^/]*$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
@@ -682,14 +760,15 @@
|
||||
},
|
||||
"getIamPolicy": {
|
||||
"id": "cloudresourcemanager.organizations.getIamPolicy",
|
||||
"path": "v1beta1/organizations/{resource}:getIamPolicy",
|
||||
"path": "v1beta1/{+resource}:getIamPolicy",
|
||||
"httpMethod": "POST",
|
||||
"description": "Gets the access control policy for an Organization resource. May be empty if no such policy or resource exists.",
|
||||
"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\". For backward compatibility, the resource provided may also be the organization_id. This will not be supported in v1.",
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `getIamPolicy` documentation.",
|
||||
"required": true,
|
||||
"pattern": "^organizations/[^/]*$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
@@ -709,14 +788,15 @@
|
||||
},
|
||||
"testIamPermissions": {
|
||||
"id": "cloudresourcemanager.organizations.testIamPermissions",
|
||||
"path": "v1beta1/organizations/{resource}:testIamPermissions",
|
||||
"path": "v1beta1/{+resource}:testIamPermissions",
|
||||
"httpMethod": "POST",
|
||||
"description": "Returns permissions that a caller has on the specified Organization.",
|
||||
"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\". For backward compatibility, the resource provided may also be the organization_id. This will not be supported in v1.",
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `testIamPermissions` documentation.",
|
||||
"required": true,
|
||||
"pattern": "^organizations/[^/]*$",
|
||||
"location": "path"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user