public class CloudResourceManager.Folders extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudResourceManager.Folders.Create |
class |
CloudResourceManager.Folders.Delete |
class |
CloudResourceManager.Folders.Get |
class |
CloudResourceManager.Folders.GetIamPolicy |
class |
CloudResourceManager.Folders.List |
class |
CloudResourceManager.Folders.Move |
class |
CloudResourceManager.Folders.Patch |
class |
CloudResourceManager.Folders.Search |
class |
CloudResourceManager.Folders.SetIamPolicy |
class |
CloudResourceManager.Folders.TestIamPermissions |
class |
CloudResourceManager.Folders.Undelete |
Constructor and Description |
---|
Folders() |
Modifier and Type | Method and Description |
---|---|
CloudResourceManager.Folders.Create |
create(Folder content)
Creates a folder in the resource hierarchy.
|
CloudResourceManager.Folders.Delete |
delete(String name)
Requests deletion of a folder.
|
CloudResourceManager.Folders.Get |
get(String name)
Retrieves a folder identified by the supplied resource name.
|
CloudResourceManager.Folders.GetIamPolicy |
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for a folder.
|
CloudResourceManager.Folders.List |
list()
Lists the folders that are direct descendants of supplied parent resource.
|
CloudResourceManager.Folders.Move |
move(String name,
MoveFolderRequest content)
Moves a folder under a new resource parent.
|
CloudResourceManager.Folders.Patch |
patch(String name,
Folder content)
Updates a folder, changing its `display_name`.
|
CloudResourceManager.Folders.Search |
search()
Search for folders that match specific filter criteria.
|
CloudResourceManager.Folders.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on a folder, replacing any existing policy.
|
CloudResourceManager.Folders.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified folder.
|
CloudResourceManager.Folders.Undelete |
undelete(String name,
UndeleteFolderRequest content)
Cancels the deletion request for a folder.
|
public CloudResourceManager.Folders.Create create(Folder content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the Folder
IOException
public CloudResourceManager.Folders.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the folder to be deleted. Must be of the form `folders/{folder_id}`.IOException
public CloudResourceManager.Folders.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the folder to retrieve. Must be of the form `folders/{folder_id}`.IOException
public CloudResourceManager.Folders.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the GetIamPolicyRequest
IOException
public CloudResourceManager.Folders.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public CloudResourceManager.Folders.Move move(String name, MoveFolderRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the Folder to move. Must be of the form folders/{folder_id}content
- the MoveFolderRequest
IOException
public CloudResourceManager.Folders.Patch patch(String name, Folder content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Output only. The resource name of the folder. Its format is `folders/{folder_id}`, for example:
"folders/1234".content
- the Folder
IOException
public CloudResourceManager.Folders.Search search() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public CloudResourceManager.Folders.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the SetIamPolicyRequest
IOException
public CloudResourceManager.Folders.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the TestIamPermissionsRequest
IOException
public CloudResourceManager.Folders.Undelete undelete(String name, UndeleteFolderRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the folder to undelete. Must be of the form `folders/{folder_id}`.content
- the UndeleteFolderRequest
IOException
Copyright © 2011–2024 Google. All rights reserved.