main
COL = PriceofLabor × AverageLifespan ÷ 12
9.50hour × 8hour × 6daysweeks × 4 weeks × 12months ÷ 65years
{
"fullyEncodeReservedExpansion": true,
"title": "Cloud Resource Manager API",
"ownerName": "Google",
"resources": {
"operations": {
"methods": {
"get": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"name"
],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
],
"parameters": {
"name": {
"location": "path",
"description": "The name of the operation resource.",
"required": true,
"type": "string",
"pattern": "^operations/.*$"
}
},
"flatPath": "v1/operations/{operationsId}",
"path": "v1/{+name}",
"id": "cloudresourcemanager.operations.get",
"description": "Gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the API\nservice."
}
}
},
"folders": {
"methods": {
"list": {
"response": {
"$ref": "ListFoldersResponse"
},
"parameterOrder": [],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
],
"parameters": {
"pageToken": {
"location": "query",
"description": "Optional. A pagination token returned from a previous call to ListFolders
\nthat indicates where this listing should continue from.",
"type": "string"
},
"pageSize": {
"type": "integer",
"location": "query",
"description": "Optional. The maximum number of Folders to return in the response.",
"format": "int32"
},
"parent": {
"location": "query",
"description": "Required. The resource name of the Organization or Folder whose Folders are\nbeing listed.\nMust be of the form folders/{folder_id}
or organizations/{org_id}
.\nAccess to this method is controlled by checking the\nresourcemanager.folders.list
permission on the parent
.",
"type": "string"
},
"showDeleted": {
"location": "query",
"description": "Optional. Controls whether Folders in the\nDELETE_REQUESTED\nstate should be returned. Defaults to false.",
"type": "boolean"
}
},
"flatPath": "v2/folders",
"path": "v2/folders",
"id": "cloudresourcemanager.folders.list",
"description": "Lists the Folders that are direct descendants of supplied parent resource.\nList provides a strongly consistent view of the Folders underneath\nthe specified parent resource.\nList returns Folders sorted based upon the (ascending) lexical ordering\nof their display_name.\nThe caller must have resourcemanager.folders.list
permission on the\nidentified parent."
},
"setIamPolicy": {
"description": "Sets the access control policy on a Folder, replacing any existing policy.\nThe resource
field should be the Folder's resource name, e.g.\n"folders/1234".\nThe caller must have resourcemanager.folders.setIamPolicy
permission\non the identified folder.",
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"parameterOrder": [
"resource"
],
"httpMethod": "POST",
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
"required": true,
"type": "string",
"pattern": "^folders/[^/]+$",
"location": "path"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v2/folders/{foldersId}:setIamPolicy",
"path": "v2/{+resource}:setIamPolicy",
"id": "cloudresourcemanager.folders.setIamPolicy"
},
"create": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [],
"httpMethod": "POST",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"parent": {
"type": "string",
"location": "query",
"description": "Required. The resource name of the new Folder's parent.\nMust be of the form folders/{folder_id}
or organizations/{org_id}
."
}
},
"flatPath": "v2/folders",
"path": "v2/folders",
"id": "cloudresourcemanager.folders.create",
"request": {
"$ref": "Folder"
},
"description": "Creates a Folder in the resource hierarchy.\nReturns an Operation which can be used to track the progress of the\nfolder creation workflow.\nUpon success the Operation.response field will be populated with the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder must not violate\nthe Folder naming, height or fanout constraints.\n\n+ The Folder's display_name must be distinct from all other Folder's that\nshare its parent.\n+ The addition of the Folder must not cause the active Folder hierarchy\nto exceed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders that contain deleted folders.\n+ The addition of the Folder must not cause the total number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation, some errors\nmay be returned by the CreateFolder request, with status code\nFAILED_PRECONDITION and an error description. Other folder constraint\nviolations will be communicated in the Operation, with the specific\nPreconditionFailure returned via the details list in the Operation.error\nfield.\n\nThe caller must have resourcemanager.folders.create
permission on the\nidentified parent."
},
"getIamPolicy": {
"flatPath": "v2/folders/{foldersId}:getIamPolicy",
"id": "cloudresourcemanager.folders.getIamPolicy",
"path": "v2/{+resource}:getIamPolicy",
"description": "Gets the access control policy for a Folder. The returned policy may be\nempty if no such policy or resource exists. The resource
field should\nbe the Folder's resource name, e.g. "folders/1234".\nThe caller must have resourcemanager.folders.getIamPolicy
permission\non the identified folder.",
"request": {
"$ref": "GetIamPolicyRequest"
},
"httpMethod": "POST",
"parameterOrder": [
"resource"
],
"response": {
"$ref": "Policy"
},
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
"required": true,
"type": "string",
"pattern": "^folders/[^/]+$",
"location": "path"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"search": {
"description": "Search for folders that match specific filter criteria.\nSearch provides an eventually consistent view of the folders a user has\naccess to which meet the specified filter criteria.\n\nThis will only return folders on which the caller has the\npermission resourcemanager.folders.get
.",
"request": {
"$ref": "SearchFoldersRequest"
},
"response": {
"$ref": "SearchFoldersResponse"
},
"parameterOrder": [],
"httpMethod": "POST",
"parameters": {},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
],
"flatPath": "v2/folders:search",
"path": "v2/folders:search",
"id": "cloudresourcemanager.folders.search"
},
"patch": {
"request": {
"$ref": "Folder"
},
"description": "Updates a Folder, changing its display_name.\nChanges to the folder display_name will be rejected if they violate either\nthe display_name formatting rules or naming constraints described in\nthe CreateFolder documentation.\n\nThe Folder's display name must start and end with a letter or digit,\nmay contain letters, digits, spaces, hyphens and underscores and can be\nno longer than 30 characters. This is captured by the regular expression:\n[\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?.\nThe caller must have resourcemanager.folders.update
permission on the\nidentified folder.\n\nIf the update fails due to the unique name constraint then a\nPreconditionFailure explaining this violation will be returned\nin the Status.details field.",
"response": {
"$ref": "Folder"
},
"parameterOrder": [
"name"
],
"httpMethod": "PATCH",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"location": "path",
"description": "Output o