Class OrganizationsGrpc.OrganizationsFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<OrganizationsGrpc.OrganizationsFutureStub>
com.google.cloud.resourcemanager.v3.OrganizationsGrpc.OrganizationsFutureStub
- Enclosing class:
- OrganizationsGrpc
public static final class OrganizationsGrpc.OrganizationsFutureStub
extends io.grpc.stub.AbstractFutureStub<OrganizationsGrpc.OrganizationsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Organizations.
Allows users to manage their organization resources.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Policy>getIamPolicy(GetIamPolicyRequest request) Gets the access control policy for an organization resource.com.google.common.util.concurrent.ListenableFuture<Organization>getOrganization(GetOrganizationRequest request) Fetches an organization resource identified by the specified resource name.com.google.common.util.concurrent.ListenableFuture<SearchOrganizationsResponse>Searches organization resources that are visible to the user and satisfy the specified filter.com.google.common.util.concurrent.ListenableFuture<Policy>setIamPolicy(SetIamPolicyRequest request) Sets the access control policy on an organization resource.com.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse>Returns the permissions that a caller has on the specified organization.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected OrganizationsGrpc.OrganizationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<OrganizationsGrpc.OrganizationsFutureStub>
-
getOrganization
public com.google.common.util.concurrent.ListenableFuture<Organization> getOrganization(GetOrganizationRequest request) Fetches an organization resource identified by the specified resource name.
-
searchOrganizations
public com.google.common.util.concurrent.ListenableFuture<SearchOrganizationsResponse> searchOrganizations(SearchOrganizationsRequest request) 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
public com.google.common.util.concurrent.ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request) 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
public com.google.common.util.concurrent.ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request) 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
public com.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request) 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.
-