@Generated(value="by gapic-generator-java") public class GrpcOrganizationsStub extends OrganizationsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcOrganizationsStub(OrganizationsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcOrganizationsStub, using the given settings.
|
protected |
GrpcOrganizationsStub(OrganizationsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcOrganizationsStub, using the given settings.
|
protected GrpcOrganizationsStub(OrganizationsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcOrganizationsStub(OrganizationsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcOrganizationsStub create(OrganizationsStubSettings settings) throws IOException
IOException
public static final GrpcOrganizationsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcOrganizationsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<GetOrganizationRequest,Organization> getOrganizationCallable()
getOrganizationCallable
in class OrganizationsStub
public UnaryCallable<SearchOrganizationsRequest,SearchOrganizationsResponse> searchOrganizationsCallable()
searchOrganizationsCallable
in class OrganizationsStub
public UnaryCallable<SearchOrganizationsRequest,OrganizationsClient.SearchOrganizationsPagedResponse> searchOrganizationsPagedCallable()
searchOrganizationsPagedCallable
in class OrganizationsStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class OrganizationsStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class OrganizationsStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class OrganizationsStub
public final void close()
close
in interface AutoCloseable
close
in class OrganizationsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.