Class HttpJsonFoldersStub
- java.lang.Object
-
- com.google.cloud.resourcemanager.v3.stub.FoldersStub
-
- com.google.cloud.resourcemanager.v3.stub.HttpJsonFoldersStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonFoldersStub extends FoldersStub
REST stub implementation for the Folders service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonFoldersStub(FoldersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonFoldersStub, using the given settings.protectedHttpJsonFoldersStub(FoldersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonFoldersStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static HttpJsonFoldersStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonFoldersStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonFoldersStubcreate(FoldersStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateFolderRequest,com.google.longrunning.Operation>createFolderCallable()com.google.api.gax.rpc.OperationCallable<CreateFolderRequest,Folder,CreateFolderMetadata>createFolderOperationCallable()com.google.api.gax.rpc.UnaryCallable<DeleteFolderRequest,com.google.longrunning.Operation>deleteFolderCallable()com.google.api.gax.rpc.OperationCallable<DeleteFolderRequest,Folder,DeleteFolderMetadata>deleteFolderOperationCallable()com.google.api.gax.rpc.UnaryCallable<GetFolderRequest,Folder>getFolderCallable()com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStubgetHttpJsonOperationsStub()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>getIamPolicyCallable()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListFoldersRequest,ListFoldersResponse>listFoldersCallable()com.google.api.gax.rpc.UnaryCallable<ListFoldersRequest,FoldersClient.ListFoldersPagedResponse>listFoldersPagedCallable()com.google.api.gax.rpc.UnaryCallable<MoveFolderRequest,com.google.longrunning.Operation>moveFolderCallable()com.google.api.gax.rpc.OperationCallable<MoveFolderRequest,Folder,MoveFolderMetadata>moveFolderOperationCallable()com.google.api.gax.rpc.UnaryCallable<SearchFoldersRequest,SearchFoldersResponse>searchFoldersCallable()com.google.api.gax.rpc.UnaryCallable<SearchFoldersRequest,FoldersClient.SearchFoldersPagedResponse>searchFoldersPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>setIamPolicyCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()com.google.api.gax.rpc.UnaryCallable<UndeleteFolderRequest,com.google.longrunning.Operation>undeleteFolderCallable()com.google.api.gax.rpc.OperationCallable<UndeleteFolderRequest,Folder,UndeleteFolderMetadata>undeleteFolderOperationCallable()com.google.api.gax.rpc.UnaryCallable<UpdateFolderRequest,com.google.longrunning.Operation>updateFolderCallable()com.google.api.gax.rpc.OperationCallable<UpdateFolderRequest,Folder,UpdateFolderMetadata>updateFolderOperationCallable()-
Methods inherited from class com.google.cloud.resourcemanager.v3.stub.FoldersStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonFoldersStub
protected HttpJsonFoldersStub(FoldersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonFoldersStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
HttpJsonFoldersStub
protected HttpJsonFoldersStub(FoldersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonFoldersStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonFoldersStub create(FoldersStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonFoldersStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonFoldersStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStubin classFoldersStub
-
getFolderCallable
public com.google.api.gax.rpc.UnaryCallable<GetFolderRequest,Folder> getFolderCallable()
- Overrides:
getFolderCallablein classFoldersStub
-
listFoldersCallable
public com.google.api.gax.rpc.UnaryCallable<ListFoldersRequest,ListFoldersResponse> listFoldersCallable()
- Overrides:
listFoldersCallablein classFoldersStub
-
listFoldersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListFoldersRequest,FoldersClient.ListFoldersPagedResponse> listFoldersPagedCallable()
- Overrides:
listFoldersPagedCallablein classFoldersStub
-
searchFoldersCallable
public com.google.api.gax.rpc.UnaryCallable<SearchFoldersRequest,SearchFoldersResponse> searchFoldersCallable()
- Overrides:
searchFoldersCallablein classFoldersStub
-
searchFoldersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchFoldersRequest,FoldersClient.SearchFoldersPagedResponse> searchFoldersPagedCallable()
- Overrides:
searchFoldersPagedCallablein classFoldersStub
-
createFolderCallable
public com.google.api.gax.rpc.UnaryCallable<CreateFolderRequest,com.google.longrunning.Operation> createFolderCallable()
- Overrides:
createFolderCallablein classFoldersStub
-
createFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationCallable()
- Overrides:
createFolderOperationCallablein classFoldersStub
-
updateFolderCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateFolderRequest,com.google.longrunning.Operation> updateFolderCallable()
- Overrides:
updateFolderCallablein classFoldersStub
-
updateFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationCallable()
- Overrides:
updateFolderOperationCallablein classFoldersStub
-
moveFolderCallable
public com.google.api.gax.rpc.UnaryCallable<MoveFolderRequest,com.google.longrunning.Operation> moveFolderCallable()
- Overrides:
moveFolderCallablein classFoldersStub
-
moveFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationCallable()
- Overrides:
moveFolderOperationCallablein classFoldersStub
-
deleteFolderCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteFolderRequest,com.google.longrunning.Operation> deleteFolderCallable()
- Overrides:
deleteFolderCallablein classFoldersStub
-
deleteFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationCallable()
- Overrides:
deleteFolderOperationCallablein classFoldersStub
-
undeleteFolderCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteFolderRequest,com.google.longrunning.Operation> undeleteFolderCallable()
- Overrides:
undeleteFolderCallablein classFoldersStub
-
undeleteFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationCallable()
- Overrides:
undeleteFolderOperationCallablein classFoldersStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classFoldersStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classFoldersStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein classFoldersStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classFoldersStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-