Interface OrganizationsGrpc.AsyncService

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
      Gets the access control policy for an organization resource.
      default void getOrganization​(GetOrganizationRequest request, io.grpc.stub.StreamObserver<Organization> responseObserver)
      Fetches an organization resource identified by the specified resource name.
      default void searchOrganizations​(SearchOrganizationsRequest request, io.grpc.stub.StreamObserver<SearchOrganizationsResponse> responseObserver)
      Searches organization resources that are visible to the user and satisfy the specified filter.
      default void setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
      Sets the access control policy on an organization resource.
      default void testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
      Returns the permissions that a caller has on the specified organization.
    • Method Detail

      • getOrganization

        default void getOrganization​(GetOrganizationRequest request,
                                     io.grpc.stub.StreamObserver<Organization> responseObserver)
         Fetches an organization resource identified by the specified resource name.
         
      • searchOrganizations

        default void searchOrganizations​(SearchOrganizationsRequest request,
                                         io.grpc.stub.StreamObserver<SearchOrganizationsResponse> responseObserver)
         Searches organization resources that are visible to the user and satisfy
         the specified filter. This method returns organizations in an unspecified
         order. New organizations do not necessarily appear at the end of the
         results, and may take a small amount of time to appear.
         Search will only return organizations on which the user has the permission
         `resourcemanager.organizations.get`
         
      • getIamPolicy

        default void getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request,
                                  io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
         Gets the access control policy for an organization resource. The policy may
         be empty if no such policy or resource exists. The `resource` field should
         be the organization's resource name, for example: "organizations/123".
         Authorization requires the IAM permission
         `resourcemanager.organizations.getIamPolicy` on the specified organization.
         
      • setIamPolicy

        default void setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request,
                                  io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
         Sets the access control policy on an organization resource. Replaces any
         existing policy. The `resource` field should be the organization's resource
         name, for example: "organizations/123".
         Authorization requires the IAM permission
         `resourcemanager.organizations.setIamPolicy` on the specified organization.
         
      • testIamPermissions

        default void testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request,
                                        io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
         Returns the permissions that a caller has on the specified organization.
         The `resource` field should be the organization's resource name,
         for example: "organizations/123".
         There are no permissions required for making this API call.