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 protected
HttpJsonFoldersStub(FoldersStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonFoldersStub, using the given settings.protected
HttpJsonFoldersStub(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 boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static HttpJsonFoldersStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonFoldersStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonFoldersStub
create(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.HttpJsonOperationsStub
getHttpJsonOperationsStub()
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()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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:
getHttpJsonOperationsStub
in classFoldersStub
-
getFolderCallable
public com.google.api.gax.rpc.UnaryCallable<GetFolderRequest,Folder> getFolderCallable()
- Overrides:
getFolderCallable
in classFoldersStub
-
listFoldersCallable
public com.google.api.gax.rpc.UnaryCallable<ListFoldersRequest,ListFoldersResponse> listFoldersCallable()
- Overrides:
listFoldersCallable
in classFoldersStub
-
listFoldersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListFoldersRequest,FoldersClient.ListFoldersPagedResponse> listFoldersPagedCallable()
- Overrides:
listFoldersPagedCallable
in classFoldersStub
-
searchFoldersCallable
public com.google.api.gax.rpc.UnaryCallable<SearchFoldersRequest,SearchFoldersResponse> searchFoldersCallable()
- Overrides:
searchFoldersCallable
in classFoldersStub
-
searchFoldersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchFoldersRequest,FoldersClient.SearchFoldersPagedResponse> searchFoldersPagedCallable()
- Overrides:
searchFoldersPagedCallable
in classFoldersStub
-
createFolderCallable
public com.google.api.gax.rpc.UnaryCallable<CreateFolderRequest,com.google.longrunning.Operation> createFolderCallable()
- Overrides:
createFolderCallable
in classFoldersStub
-
createFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationCallable()
- Overrides:
createFolderOperationCallable
in classFoldersStub
-
updateFolderCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateFolderRequest,com.google.longrunning.Operation> updateFolderCallable()
- Overrides:
updateFolderCallable
in classFoldersStub
-
updateFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationCallable()
- Overrides:
updateFolderOperationCallable
in classFoldersStub
-
moveFolderCallable
public com.google.api.gax.rpc.UnaryCallable<MoveFolderRequest,com.google.longrunning.Operation> moveFolderCallable()
- Overrides:
moveFolderCallable
in classFoldersStub
-
moveFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationCallable()
- Overrides:
moveFolderOperationCallable
in classFoldersStub
-
deleteFolderCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteFolderRequest,com.google.longrunning.Operation> deleteFolderCallable()
- Overrides:
deleteFolderCallable
in classFoldersStub
-
deleteFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationCallable()
- Overrides:
deleteFolderOperationCallable
in classFoldersStub
-
undeleteFolderCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteFolderRequest,com.google.longrunning.Operation> undeleteFolderCallable()
- Overrides:
undeleteFolderCallable
in classFoldersStub
-
undeleteFolderOperationCallable
public com.google.api.gax.rpc.OperationCallable<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationCallable()
- Overrides:
undeleteFolderOperationCallable
in classFoldersStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classFoldersStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classFoldersStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classFoldersStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-