
target.apidocs.com.google.api.services.accessapproval.v1.AccessApproval.Folders.html Maven / Gradle / Ivy
AccessApproval.Folders (Access Approval API v1-rev20240424-2.0.0)
com.google.api.services.accessapproval.v1
Class AccessApproval.Folders
- java.lang.Object
-
- com.google.api.services.accessapproval.v1.AccessApproval.Folders
-
- Enclosing class:
- AccessApproval
public class AccessApproval.Folders
extends Object
The "folders" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AccessApproval.Folders.ApprovalRequests
The "approvalRequests" collection of methods.
class
AccessApproval.Folders.DeleteAccessApprovalSettings
class
AccessApproval.Folders.GetAccessApprovalSettings
class
AccessApproval.Folders.GetServiceAccount
class
AccessApproval.Folders.UpdateAccessApprovalSettings
-
Constructor Summary
Constructors
Constructor and Description
Folders()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AccessApproval.Folders.ApprovalRequests
approvalRequests()
An accessor for creating requests from the ApprovalRequests collection.
AccessApproval.Folders.DeleteAccessApprovalSettings
deleteAccessApprovalSettings(String name)
Deletes the settings associated with a project, folder, or organization.
AccessApproval.Folders.GetAccessApprovalSettings
getAccessApprovalSettings(String name)
Gets the settings associated with a project, folder, or organization.
AccessApproval.Folders.GetServiceAccount
getServiceAccount(String name)
Retrieves the service account that is used by Access Approval to access KMS keys for signing
approved approval requests.
AccessApproval.Folders.UpdateAccessApprovalSettings
updateAccessApprovalSettings(String name,
AccessApprovalSettings content)
Updates the settings associated with a project, folder, or organization.
-
-
Method Detail
-
deleteAccessApprovalSettings
public AccessApproval.Folders.DeleteAccessApprovalSettings deleteAccessApprovalSettings(String name)
throws IOException
Deletes the settings associated with a project, folder, or organization. This will have the
effect of disabling Access Approval for the project, folder, or organization, but only if all
ancestors also have Access Approval disabled. If Access Approval is enabled at a higher level of
the hierarchy, then Access Approval will still be enabled at this level as the settings are
inherited.
Create a request for the method "folders.deleteAccessApprovalSettings".
This request holds the parameters needed by the accessapproval server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.
- Parameters:
name
- Name of the AccessApprovalSettings to delete.
- Returns:
- the request
- Throws:
IOException
-
getAccessApprovalSettings
public AccessApproval.Folders.GetAccessApprovalSettings getAccessApprovalSettings(String name)
throws IOException
Gets the settings associated with a project, folder, or organization.
Create a request for the method "folders.getAccessApprovalSettings".
This request holds the parameters needed by the accessapproval server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.
- Parameters:
name
- The name of the AccessApprovalSettings to retrieve. Format:
"{projects|folders|organizations}/{id}/accessApprovalSettings"
- Returns:
- the request
- Throws:
IOException
-
getServiceAccount
public AccessApproval.Folders.GetServiceAccount getServiceAccount(String name)
throws IOException
Retrieves the service account that is used by Access Approval to access KMS keys for signing
approved approval requests.
Create a request for the method "folders.getServiceAccount".
This request holds the parameters needed by the accessapproval server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- Name of the AccessApprovalServiceAccount to retrieve.
- Returns:
- the request
- Throws:
IOException
-
updateAccessApprovalSettings
public AccessApproval.Folders.UpdateAccessApprovalSettings updateAccessApprovalSettings(String name,
AccessApprovalSettings content)
throws IOException
Updates the settings associated with a project, folder, or organization. Settings to update are
determined by the value of field_mask.
Create a request for the method "folders.updateAccessApprovalSettings".
This request holds the parameters needed by the accessapproval server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.
- Parameters:
name
- The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" *
"folders/{folder}/accessApprovalSettings" *
"organizations/{organization}/accessApprovalSettings"
content
- the AccessApprovalSettings
- Returns:
- the request
- Throws:
IOException
-
approvalRequests
public AccessApproval.Folders.ApprovalRequests approvalRequests()
An accessor for creating requests from the ApprovalRequests collection.
The typical use is:
AccessApproval accessapproval = new AccessApproval(...);
AccessApproval.ApprovalRequests.List request = accessapproval.approvalRequests().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy