Class HttpJsonAssetServiceStub
java.lang.Object
com.google.cloud.asset.v1p1beta1.stub.AssetServiceStub
com.google.cloud.asset.v1p1beta1.stub.HttpJsonAssetServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonAssetServiceStub
extends AssetServiceStub
REST stub implementation for the AssetService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonAssetServiceStub, using the given settings.protectedHttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonAssetServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonAssetServiceStubcreate(ClientContext clientContext) static final HttpJsonAssetServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonAssetServiceStubcreate(AssetServiceStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()void
-
Constructor Details
-
HttpJsonAssetServiceStub
protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonAssetServiceStub, 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
-
HttpJsonAssetServiceStub
protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonAssetServiceStub, 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 Details
-
create
public static final HttpJsonAssetServiceStub create(AssetServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonAssetServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
searchAllResourcesCallable
public UnaryCallable<SearchAllResourcesRequest,SearchAllResourcesResponse> searchAllResourcesCallable()- Overrides:
searchAllResourcesCallablein classAssetServiceStub
-
searchAllResourcesPagedCallable
public UnaryCallable<SearchAllResourcesRequest,AssetServiceClient.SearchAllResourcesPagedResponse> searchAllResourcesPagedCallable()- Overrides:
searchAllResourcesPagedCallablein classAssetServiceStub
-
searchAllIamPoliciesCallable
public UnaryCallable<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse> searchAllIamPoliciesCallable()- Overrides:
searchAllIamPoliciesCallablein classAssetServiceStub
-
searchAllIamPoliciesPagedCallable
public UnaryCallable<SearchAllIamPoliciesRequest,AssetServiceClient.SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesPagedCallable()- Overrides:
searchAllIamPoliciesPagedCallablein classAssetServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classAssetServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-