All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.accessapproval.v1.AccessApproval.Organizations.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240820-2.0.0
Show newest version






AccessApproval.Organizations (Access Approval API v1-rev20240424-2.0.0)












com.google.api.services.accessapproval.v1

Class AccessApproval.Organizations

  • java.lang.Object
    • com.google.api.services.accessapproval.v1.AccessApproval.Organizations
  • Enclosing class:
    AccessApproval


    public class AccessApproval.Organizations
    extends Object
    The "organizations" collection of methods.
    • Constructor Detail

      • Organizations

        public Organizations()
    • Method Detail

      • deleteAccessApprovalSettings

        public AccessApproval.Organizations.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 "organizations.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.Organizations.GetAccessApprovalSettings getAccessApprovalSettings(String name)
                                                                                         throws IOException
        Gets the settings associated with a project, folder, or organization. Create a request for the method "organizations.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.Organizations.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 "organizations.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.Organizations.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 "organizations.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.Organizations.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