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 protected
HttpJsonAssetServiceStub(AssetServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonAssetServiceStub, using the given settings.protected
HttpJsonAssetServiceStub(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:
getHttpJsonOperationsStub
in classAssetServiceStub
-
exportAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<ExportAssetsRequest,com.google.longrunning.Operation> exportAssetsCallable()
- Overrides:
exportAssetsCallable
in classAssetServiceStub
-
exportAssetsOperationCallable
public com.google.api.gax.rpc.OperationCallable<ExportAssetsRequest,ExportAssetsResponse,ExportAssetsRequest> exportAssetsOperationCallable()
- Overrides:
exportAssetsOperationCallable
in classAssetServiceStub
-
listAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,ListAssetsResponse> listAssetsCallable()
- Overrides:
listAssetsCallable
in classAssetServiceStub
-
listAssetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListAssetsRequest,AssetServiceClient.ListAssetsPagedResponse> listAssetsPagedCallable()
- Overrides:
listAssetsPagedCallable
in classAssetServiceStub
-
batchGetAssetsHistoryCallable
public com.google.api.gax.rpc.UnaryCallable<BatchGetAssetsHistoryRequest,BatchGetAssetsHistoryResponse> batchGetAssetsHistoryCallable()
- Overrides:
batchGetAssetsHistoryCallable
in classAssetServiceStub
-
createFeedCallable
public com.google.api.gax.rpc.UnaryCallable<CreateFeedRequest,Feed> createFeedCallable()
- Overrides:
createFeedCallable
in classAssetServiceStub
-
getFeedCallable
public com.google.api.gax.rpc.UnaryCallable<GetFeedRequest,Feed> getFeedCallable()
- Overrides:
getFeedCallable
in classAssetServiceStub
-
listFeedsCallable
public com.google.api.gax.rpc.UnaryCallable<ListFeedsRequest,ListFeedsResponse> listFeedsCallable()
- Overrides:
listFeedsCallable
in classAssetServiceStub
-
updateFeedCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateFeedRequest,Feed> updateFeedCallable()
- Overrides:
updateFeedCallable
in classAssetServiceStub
-
deleteFeedCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteFeedRequest,com.google.protobuf.Empty> deleteFeedCallable()
- Overrides:
deleteFeedCallable
in classAssetServiceStub
-
searchAllResourcesCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllResourcesRequest,SearchAllResourcesResponse> searchAllResourcesCallable()
- Overrides:
searchAllResourcesCallable
in classAssetServiceStub
-
searchAllResourcesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllResourcesRequest,AssetServiceClient.SearchAllResourcesPagedResponse> searchAllResourcesPagedCallable()
- Overrides:
searchAllResourcesPagedCallable
in classAssetServiceStub
-
searchAllIamPoliciesCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllIamPoliciesRequest,SearchAllIamPoliciesResponse> searchAllIamPoliciesCallable()
- Overrides:
searchAllIamPoliciesCallable
in classAssetServiceStub
-
searchAllIamPoliciesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchAllIamPoliciesRequest,AssetServiceClient.SearchAllIamPoliciesPagedResponse> searchAllIamPoliciesPagedCallable()
- Overrides:
searchAllIamPoliciesPagedCallable
in classAssetServiceStub
-
analyzeIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse> analyzeIamPolicyCallable()
- Overrides:
analyzeIamPolicyCallable
in classAssetServiceStub
-
analyzeIamPolicyLongrunningCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeIamPolicyLongrunningRequest,com.google.longrunning.Operation> analyzeIamPolicyLongrunningCallable()
- Overrides:
analyzeIamPolicyLongrunningCallable
in classAssetServiceStub
-
analyzeIamPolicyLongrunningOperationCallable
public com.google.api.gax.rpc.OperationCallable<AnalyzeIamPolicyLongrunningRequest,AnalyzeIamPolicyLongrunningResponse,AnalyzeIamPolicyLongrunningMetadata> analyzeIamPolicyLongrunningOperationCallable()
- Overrides:
analyzeIamPolicyLongrunningOperationCallable
in classAssetServiceStub
-
analyzeMoveCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeMoveRequest,AnalyzeMoveResponse> analyzeMoveCallable()
- Overrides:
analyzeMoveCallable
in classAssetServiceStub
-
queryAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<QueryAssetsRequest,QueryAssetsResponse> queryAssetsCallable()
- Overrides:
queryAssetsCallable
in classAssetServiceStub
-
createSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<CreateSavedQueryRequest,SavedQuery> createSavedQueryCallable()
- Overrides:
createSavedQueryCallable
in classAssetServiceStub
-
getSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<GetSavedQueryRequest,SavedQuery> getSavedQueryCallable()
- Overrides:
getSavedQueryCallable
in classAssetServiceStub
-
listSavedQueriesCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,ListSavedQueriesResponse> listSavedQueriesCallable()
- Overrides:
listSavedQueriesCallable
in classAssetServiceStub
-
listSavedQueriesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSavedQueriesRequest,AssetServiceClient.ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()
- Overrides:
listSavedQueriesPagedCallable
in classAssetServiceStub
-
updateSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateSavedQueryRequest,SavedQuery> updateSavedQueryCallable()
- Overrides:
updateSavedQueryCallable
in classAssetServiceStub
-
deleteSavedQueryCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSavedQueryRequest,com.google.protobuf.Empty> deleteSavedQueryCallable()
- Overrides:
deleteSavedQueryCallable
in classAssetServiceStub
-
batchGetEffectiveIamPoliciesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchGetEffectiveIamPoliciesRequest,BatchGetEffectiveIamPoliciesResponse> batchGetEffectiveIamPoliciesCallable()
- Overrides:
batchGetEffectiveIamPoliciesCallable
in classAssetServiceStub
-
analyzeOrgPoliciesCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPoliciesRequest,AnalyzeOrgPoliciesResponse> analyzeOrgPoliciesCallable()
- Overrides:
analyzeOrgPoliciesCallable
in classAssetServiceStub
-
analyzeOrgPoliciesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPoliciesRequest,AssetServiceClient.AnalyzeOrgPoliciesPagedResponse> analyzeOrgPoliciesPagedCallable()
- Overrides:
analyzeOrgPoliciesPagedCallable
in classAssetServiceStub
-
analyzeOrgPolicyGovernedContainersCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedContainersRequest,AnalyzeOrgPolicyGovernedContainersResponse> analyzeOrgPolicyGovernedContainersCallable()
- Overrides:
analyzeOrgPolicyGovernedContainersCallable
in classAssetServiceStub
-
analyzeOrgPolicyGovernedContainersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedContainersRequest,AssetServiceClient.AnalyzeOrgPolicyGovernedContainersPagedResponse> analyzeOrgPolicyGovernedContainersPagedCallable()
- Overrides:
analyzeOrgPolicyGovernedContainersPagedCallable
in classAssetServiceStub
-
analyzeOrgPolicyGovernedAssetsCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedAssetsRequest,AnalyzeOrgPolicyGovernedAssetsResponse> analyzeOrgPolicyGovernedAssetsCallable()
- Overrides:
analyzeOrgPolicyGovernedAssetsCallable
in classAssetServiceStub
-
analyzeOrgPolicyGovernedAssetsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AnalyzeOrgPolicyGovernedAssetsRequest,AssetServiceClient.AnalyzeOrgPolicyGovernedAssetsPagedResponse> analyzeOrgPolicyGovernedAssetsPagedCallable()
- Overrides:
analyzeOrgPolicyGovernedAssetsPagedCallable
in classAssetServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-