Package com.google.cloud.asset.v1.stub
Class HttpJsonAssetServiceStub
- java.lang.Object
-
- com.google.cloud.asset.v1.stub.AssetServiceStub
-
- com.google.cloud.asset.v1.stub.HttpJsonAssetServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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
Constructors Modifier Constructor Description protectedHttpJsonAssetServiceStub(AssetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonAssetServiceStub, using the given settings.protectedHttpJsonAssetServiceStub(AssetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonAssetServiceStub, using the given settings.
-
Method Summary
-
Methods inherited from class com.google.cloud.asset.v1.stub.AssetServiceStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonAssetServiceStub
protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.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 Detail
-
create
public static final HttpJsonAssetServiceStub create(AssetServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAssetServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAssetServiceStub 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 classAssetServiceStub
-
exportAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<ExportAssetsRequest,com.google.longrunning.Operation> exportAssetsCallable()
- Overrides:
exportAssetsCallablein classAssetServiceStub
-
exportAssetsOperationCallable
public com.google.api.gax.rpc.OperationCallable<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> exportAssetsOperationCallable()
- Overrides:
exportAssetsOperationCallablein classAssetServiceStub
-
listAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
- Overrides:
listAssetsCallablein classAssetServiceStub
-
listAssetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,AssetServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()
- Overrides:
listAssetsPagedCallablein classAssetServiceStub
-
batchGetAssetsHistoryCallable
public com.google.api.gax.rpc.UnaryCallable<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> batchGetAssetsHistoryCallable()
- Overrides:
batchGetAssetsHistoryCallablein classAssetServiceStub
-
createFeedCallable
public com.google.api.gax.rpc.UnaryCallable<CreateFeedRequest,Feed> createFeedCallable()
- Overrides:
createFeedCallablein classAssetServiceStub
-
getFeedCallable
public com.google.api.gax.rpc.UnaryCallable<GetFeedRequest,Feed> getFeedCallable()
- Overrides:
getFeedCallablein classAssetServiceStub
-
listFeedsCallable
public com.google.api.gax.rpc.UnaryCallable<ListFeedsRequest,ListFeedsResponse> listFeedsCallable()
- Overrides:
listFeedsCallablein classAssetServiceStub
-
updateFeedCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateFeedRequest,Feed> updateFeedCallable()
- Overrides:
updateFeedCallablein classAssetServiceStub
-
deleteFeedCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteFeedRequest,com.google.protobuf.Empty> deleteFeedCallable()
- Overrides:
deleteFeedCallablein classAssetServiceStub
-
searchAllResourcesCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllResourcesRequest,SearchAllResourcesResponse> searchAllResourcesCallable()
- Overrides:
searchAllResourcesCallablein classAssetServiceStub
-
searchAllResourcesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllResourcesRequest,AssetServiceClient.SearchAllResourcesPagedResponse> searchAllResourcesPagedCallable()
- Overrides:
searchAllResourcesPagedCallablein classAssetServiceStub
-
searchAllIamPoliciesCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse> searchAllIamPoliciesCallable()
- Overrides:
searchAllIamPoliciesCallablein classAssetServiceStub
-
searchAllIamPoliciesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllIamPoliciesRequest,AssetServiceClient.SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesPagedCallable()
- Overrides:
searchAllIamPoliciesPagedCallablein classAssetServiceStub
-
analyzeIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse> analyzeIamPolicyCallable()
- Overrides:
analyzeIamPolicyCallablein classAssetServiceStub
-
analyzeIamPolicyLongrunningCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeIamPolicyLongrunningRequest,com.google.longrunning.Operation> analyzeIamPolicyLongrunningCallable()
- Overrides:
analyzeIamPolicyLongrunningCallablein classAssetServiceStub
-
analyzeIamPolicyLongrunningOperationCallable
public com.google.api.gax.rpc.OperationCallable<AnalyzeIamPolicyLongrunningRequest,AnalyzeIamPolicyLongrunningResponse,AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable()
- Overrides:
analyzeIamPolicyLongrunningOperationCallablein classAssetServiceStub
-
analyzeMoveCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeMoveRequest,AnalyzeMoveResponse> analyzeMoveCallable()
- Overrides:
analyzeMoveCallablein classAssetServiceStub
-
queryAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<QueryAssetsRequest,QueryAssetsResponse> queryAssetsCallable()
- Overrides:
queryAssetsCallablein classAssetServiceStub
-
createSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSavedQueryRequest,SavedQuery> createSavedQueryCallable()
- Overrides:
createSavedQueryCallablein classAssetServiceStub
-
getSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<GetSavedQueryRequest,SavedQuery> getSavedQueryCallable()
- Overrides:
getSavedQueryCallablein classAssetServiceStub
-
listSavedQueriesCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse> listSavedQueriesCallable()
- Overrides:
listSavedQueriesCallablein classAssetServiceStub
-
listSavedQueriesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,AssetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()
- Overrides:
listSavedQueriesPagedCallablein classAssetServiceStub
-
updateSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSavedQueryRequest,SavedQuery> updateSavedQueryCallable()
- Overrides:
updateSavedQueryCallablein classAssetServiceStub
-
deleteSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSavedQueryRequest,com.google.protobuf.Empty> deleteSavedQueryCallable()
- Overrides:
deleteSavedQueryCallablein classAssetServiceStub
-
batchGetEffectiveIamPoliciesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchGetEffectiveIamPoliciesRequest,BatchGetEffectiveIamPoliciesResponse> batchGetEffectiveIamPoliciesCallable()
- Overrides:
batchGetEffectiveIamPoliciesCallablein classAssetServiceStub
-
analyzeOrgPoliciesCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPoliciesRequest,AnalyzeOrgPoliciesResponse> analyzeOrgPoliciesCallable()
- Overrides:
analyzeOrgPoliciesCallablein classAssetServiceStub
-
analyzeOrgPoliciesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPoliciesRequest,AssetServiceClient.AnalyzeOrgPoliciesPagedResponse> analyzeOrgPoliciesPagedCallable()
- Overrides:
analyzeOrgPoliciesPagedCallablein classAssetServiceStub
-
analyzeOrgPolicyGovernedContainersCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedContainersRequest,AnalyzeOrgPolicyGovernedContainersResponse> analyzeOrgPolicyGovernedContainersCallable()
- Overrides:
analyzeOrgPolicyGovernedContainersCallablein classAssetServiceStub
-
analyzeOrgPolicyGovernedContainersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedContainersRequest,AssetServiceClient.AnalyzeOrgPolicyGovernedContainersPagedResponse> analyzeOrgPolicyGovernedContainersPagedCallable()
- Overrides:
analyzeOrgPolicyGovernedContainersPagedCallablein classAssetServiceStub
-
analyzeOrgPolicyGovernedAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedAssetsRequest,AnalyzeOrgPolicyGovernedAssetsResponse> analyzeOrgPolicyGovernedAssetsCallable()
- Overrides:
analyzeOrgPolicyGovernedAssetsCallablein classAssetServiceStub
-
analyzeOrgPolicyGovernedAssetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedAssetsRequest,AssetServiceClient.AnalyzeOrgPolicyGovernedAssetsPagedResponse> analyzeOrgPolicyGovernedAssetsPagedCallable()
- Overrides:
analyzeOrgPolicyGovernedAssetsPagedCallablein 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
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-