@Generated("by gapic-generator-java")
Package com.google.cloud.asset.v1
A client to Cloud Asset API
The interfaces provided are listed below, along with usage samples.
======================= AssetServiceClient =======================
Service Description: Asset service definition.
Sample for AssetServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AssetServiceClient assetServiceClient = AssetServiceClient.create()) {
BatchGetAssetsHistoryRequest request =
BatchGetAssetsHistoryRequest.newBuilder()
.setParent(BillingAccountName.of("[BILLING_ACCOUNT]").toString())
.addAllAssetNames(new ArrayList<String>())
.setContentType(ContentType.forNumber(0))
.setReadTimeWindow(TimeWindow.newBuilder().build())
.addAllRelationshipTypes(new ArrayList<String>())
.build();
BatchGetAssetsHistoryResponse response = assetServiceClient.batchGetAssetsHistory(request);
}
-
Class Summary Class Description AnalyzeIamPolicyLongrunningMetadata Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.AnalyzeIamPolicyLongrunningMetadata.Builder Represents the metadata of the longrunning operation for the AnalyzeIamPolicyLongrunning RPC.AnalyzeIamPolicyLongrunningRequest A request message for [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].AnalyzeIamPolicyLongrunningRequest.Builder A request message for [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].AnalyzeIamPolicyLongrunningResponse A response message for [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].AnalyzeIamPolicyLongrunningResponse.Builder A response message for [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning].AnalyzeIamPolicyRequest A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].AnalyzeIamPolicyRequest.Builder A request message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].AnalyzeIamPolicyResponse A response message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].AnalyzeIamPolicyResponse.Builder A response message for [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy].AnalyzeIamPolicyResponse.IamPolicyAnalysis An analysis message to group the query and results.AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder An analysis message to group the query and results.AnalyzeMoveRequest The request message for performing resource move analysis.AnalyzeMoveRequest.Builder The request message for performing resource move analysis.AnalyzeMoveResponse The response message for resource move analysis.AnalyzeMoveResponse.Builder The response message for resource move analysis.AnalyzeOrgPoliciesRequest A request message for [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].AnalyzeOrgPoliciesRequest.Builder A request message for [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].AnalyzeOrgPoliciesResponse The response message for [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].AnalyzeOrgPoliciesResponse.Builder The response message for [AssetService.AnalyzeOrgPolicies][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicies].AnalyzeOrgPoliciesResponse.OrgPolicyResult The organization policy result to the query.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder The organization policy result to the query.AnalyzeOrgPolicyGovernedAssetsRequest A request message for [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].AnalyzeOrgPolicyGovernedAssetsRequest.Builder A request message for [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].AnalyzeOrgPolicyGovernedAssetsResponse The response message for [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].AnalyzeOrgPolicyGovernedAssetsResponse.Builder The response message for [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset Represents a Google Cloud asset(resource or IAM policy) governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder Represents a Google Cloud asset(resource or IAM policy) governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy The IAM policies governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder The IAM policies governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource The Google Cloud resources governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder The Google Cloud resources governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].AnalyzeOrgPolicyGovernedContainersRequest A request message for [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].AnalyzeOrgPolicyGovernedContainersRequest.Builder A request message for [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].AnalyzeOrgPolicyGovernedContainersResponse The response message for [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].AnalyzeOrgPolicyGovernedContainersResponse.Builder The response message for [AssetService.AnalyzeOrgPolicyGovernedContainers][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers].AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer The organization/folder/project resource governed by organization policies of [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder The organization/folder/project resource governed by organization policies of [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].AnalyzerOrgPolicy This organization policy message is a modified version of the one defined in the Organization Policy system.AnalyzerOrgPolicy.Builder This organization policy message is a modified version of the one defined in the Organization Policy system.AnalyzerOrgPolicy.Rule Represents a rule defined in an organization policyAnalyzerOrgPolicy.Rule.Builder Represents a rule defined in an organization policyAnalyzerOrgPolicy.Rule.StringValues The string values for the list constraints.AnalyzerOrgPolicy.Rule.StringValues.Builder The string values for the list constraints.AnalyzerOrgPolicyConstraint The organization policy constraint definition.AnalyzerOrgPolicyConstraint.Builder The organization policy constraint definition.AnalyzerOrgPolicyConstraint.Constraint The definition of a constraint.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint A `Constraint` that is either enforced or not.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder A `Constraint` that is either enforced or not.AnalyzerOrgPolicyConstraint.Constraint.Builder The definition of a constraint.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint A `Constraint` that allows or disallows a list of string values, which are configured by an organization's policy administrator with a `Policy`.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder A `Constraint` that allows or disallows a list of string values, which are configured by an organization's policy administrator with a `Policy`.AnalyzerOrgPolicyConstraint.CustomConstraint The definition of a custom constraint.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder The definition of a custom constraint.Asset An asset in Google Cloud.Asset.Builder An asset in Google Cloud.AssetProto AssetServiceClient Service Description: Asset service definition.AssetServiceClient.AnalyzeOrgPoliciesFixedSizeCollection AssetServiceClient.AnalyzeOrgPoliciesPage AssetServiceClient.AnalyzeOrgPoliciesPagedResponse AssetServiceClient.AnalyzeOrgPolicyGovernedAssetsFixedSizeCollection AssetServiceClient.AnalyzeOrgPolicyGovernedAssetsPage AssetServiceClient.AnalyzeOrgPolicyGovernedAssetsPagedResponse AssetServiceClient.AnalyzeOrgPolicyGovernedContainersFixedSizeCollection AssetServiceClient.AnalyzeOrgPolicyGovernedContainersPage AssetServiceClient.AnalyzeOrgPolicyGovernedContainersPagedResponse AssetServiceClient.ListAssetsFixedSizeCollection AssetServiceClient.ListAssetsPage AssetServiceClient.ListAssetsPagedResponse AssetServiceClient.ListSavedQueriesFixedSizeCollection AssetServiceClient.ListSavedQueriesPage AssetServiceClient.ListSavedQueriesPagedResponse AssetServiceClient.SearchAllIamPoliciesFixedSizeCollection AssetServiceClient.SearchAllIamPoliciesPage AssetServiceClient.SearchAllIamPoliciesPagedResponse AssetServiceClient.SearchAllResourcesFixedSizeCollection AssetServiceClient.SearchAllResourcesPage AssetServiceClient.SearchAllResourcesPagedResponse AssetServiceGrpc Asset service definition.AssetServiceGrpc.AssetServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service AssetService.AssetServiceGrpc.AssetServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService.AssetServiceGrpc.AssetServiceImplBase Base class for the server implementation of the service AssetService.AssetServiceGrpc.AssetServiceStub A stub to allow clients to do asynchronous rpc calls to service AssetService.AssetServiceProto AssetServiceSettings Settings class to configure an instance ofAssetServiceClient
.AssetServiceSettings.Builder Builder for AssetServiceSettings.AttachedResource Attached resource representation, which is defined by the corresponding service provider.AttachedResource.Builder Attached resource representation, which is defined by the corresponding service provider.BatchGetAssetsHistoryRequest Batch get assets history request.BatchGetAssetsHistoryRequest.Builder Batch get assets history request.BatchGetAssetsHistoryResponse Batch get assets history response.BatchGetAssetsHistoryResponse.Builder Batch get assets history response.BatchGetEffectiveIamPoliciesRequest A request message for [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].BatchGetEffectiveIamPoliciesRequest.Builder A request message for [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].BatchGetEffectiveIamPoliciesResponse A response message for [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].BatchGetEffectiveIamPoliciesResponse.Builder A response message for [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy The effective IAM policies on one resource.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder The effective IAM policies on one resource.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo The IAM policy and its attached resource.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder The IAM policy and its attached resource.BigQueryDestination A BigQuery destination for exporting assets to.BigQueryDestination.Builder A BigQuery destination for exporting assets to.ConditionEvaluation The Condition evaluation.ConditionEvaluation.Builder The Condition evaluation.CreateFeedRequest Create asset feed request.CreateFeedRequest.Builder Create asset feed request.CreateSavedQueryRequest Request to create a saved query.CreateSavedQueryRequest.Builder Request to create a saved query.DeleteFeedRequest Protobuf typegoogle.cloud.asset.v1.DeleteFeedRequest
DeleteFeedRequest.Builder Protobuf typegoogle.cloud.asset.v1.DeleteFeedRequest
DeleteSavedQueryRequest Request to delete a saved query.DeleteSavedQueryRequest.Builder Request to delete a saved query.ExportAssetsRequest Export asset request.ExportAssetsRequest.Builder Export asset request.ExportAssetsResponse The export asset response.ExportAssetsResponse.Builder The export asset response.Feed An asset feed used to export asset updates to a destinations.Feed.Builder An asset feed used to export asset updates to a destinations.FeedName FeedName.Builder Builder for projects/{project}/feeds/{feed}.FeedName.FolderFeedBuilder Builder for folders/{folder}/feeds/{feed}.FeedName.OrganizationFeedBuilder Builder for organizations/{organization}/feeds/{feed}.FeedOutputConfig Output configuration for asset feed destination.FeedOutputConfig.Builder Output configuration for asset feed destination.FolderName FolderName.Builder Builder for folders/{folder}.GcsDestination A Cloud Storage location.GcsDestination.Builder A Cloud Storage location.GcsOutputResult A Cloud Storage output result.GcsOutputResult.Builder A Cloud Storage output result.GetFeedRequest Get asset feed request.GetFeedRequest.Builder Get asset feed request.GetSavedQueryRequest Request to get a saved query.GetSavedQueryRequest.Builder Request to get a saved query.IamPolicyAnalysisOutputConfig Output configuration for export IAM policy analysis destination.IamPolicyAnalysisOutputConfig.BigQueryDestination A BigQuery destination.IamPolicyAnalysisOutputConfig.BigQueryDestination.Builder A BigQuery destination.IamPolicyAnalysisOutputConfig.Builder Output configuration for export IAM policy analysis destination.IamPolicyAnalysisOutputConfig.GcsDestination A Cloud Storage location.IamPolicyAnalysisOutputConfig.GcsDestination.Builder A Cloud Storage location.IamPolicyAnalysisQuery IAM policy analysis query message.IamPolicyAnalysisQuery.AccessSelector Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control.IamPolicyAnalysisQuery.AccessSelector.Builder Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control.IamPolicyAnalysisQuery.Builder IAM policy analysis query message.IamPolicyAnalysisQuery.ConditionContext The IAM conditions context.IamPolicyAnalysisQuery.ConditionContext.Builder The IAM conditions context.IamPolicyAnalysisQuery.IdentitySelector Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.IamPolicyAnalysisQuery.IdentitySelector.Builder Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.IamPolicyAnalysisQuery.Options Contains query options.IamPolicyAnalysisQuery.Options.Builder Contains query options.IamPolicyAnalysisQuery.ResourceSelector Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.IamPolicyAnalysisQuery.ResourceSelector.Builder Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.IamPolicyAnalysisResult IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.IamPolicyAnalysisResult.Access An IAM role or permission under analysis.IamPolicyAnalysisResult.Access.Builder An IAM role or permission under analysis.IamPolicyAnalysisResult.AccessControlList An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses.IamPolicyAnalysisResult.AccessControlList.Builder An access control list, derived from the above IAM policy binding, which contains a set of resources and accesses.IamPolicyAnalysisResult.Builder IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.IamPolicyAnalysisResult.Edge A directional edge.IamPolicyAnalysisResult.Edge.Builder A directional edge.IamPolicyAnalysisResult.Identity An identity under analysis.IamPolicyAnalysisResult.Identity.Builder An identity under analysis.IamPolicyAnalysisResult.IdentityList The identities and group edges.IamPolicyAnalysisResult.IdentityList.Builder The identities and group edges.IamPolicyAnalysisResult.Resource A Google Cloud resource under analysis.IamPolicyAnalysisResult.Resource.Builder A Google Cloud resource under analysis.IamPolicyAnalysisState Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.IamPolicyAnalysisState.Builder Represents the detailed state of an entity under analysis, such as a resource, an identity or an access.IamPolicySearchResult A result of IAM Policy search, containing information of an IAM policy.IamPolicySearchResult.Builder A result of IAM Policy search, containing information of an IAM policy.IamPolicySearchResult.Explanation Explanation about the IAM policy search result.IamPolicySearchResult.Explanation.Builder Explanation about the IAM policy search result.IamPolicySearchResult.Explanation.Permissions IAM permissionsIamPolicySearchResult.Explanation.Permissions.Builder IAM permissionsListAssetsRequest ListAssets request.ListAssetsRequest.Builder ListAssets request.ListAssetsResponse ListAssets response.ListAssetsResponse.Builder ListAssets response.ListFeedsRequest List asset feeds request.ListFeedsRequest.Builder List asset feeds request.ListFeedsResponse Protobuf typegoogle.cloud.asset.v1.ListFeedsResponse
ListFeedsResponse.Builder Protobuf typegoogle.cloud.asset.v1.ListFeedsResponse
ListSavedQueriesRequest Request to list saved queries.ListSavedQueriesRequest.Builder Request to list saved queries.ListSavedQueriesResponse Response of listing saved queries.ListSavedQueriesResponse.Builder Response of listing saved queries.MoveAnalysis A message to group the analysis information.MoveAnalysis.Builder A message to group the analysis information.MoveAnalysisResult An analysis result including blockers and warnings.MoveAnalysisResult.Builder An analysis result including blockers and warnings.MoveImpact A message to group impacts of moving the target resource.MoveImpact.Builder A message to group impacts of moving the target resource.OrganizationName OrganizationName.Builder Builder for organizations/{organization}.OutputConfig Output configuration for export assets destination.OutputConfig.Builder Output configuration for export assets destination.OutputResult Output result of export assets.OutputResult.Builder Output result of export assets.PartitionSpec Specifications of BigQuery partitioned table as export destination.PartitionSpec.Builder Specifications of BigQuery partitioned table as export destination.ProjectName ProjectName.Builder Builder for projects/{project}.PubsubDestination A Pub/Sub destination.PubsubDestination.Builder A Pub/Sub destination.QueryAssetsOutputConfig Output configuration query assets.QueryAssetsOutputConfig.BigQueryDestination BigQuery destination.QueryAssetsOutputConfig.BigQueryDestination.Builder BigQuery destination.QueryAssetsOutputConfig.Builder Output configuration query assets.QueryAssetsRequest QueryAssets request.QueryAssetsRequest.Builder QueryAssets request.QueryAssetsResponse QueryAssets response.QueryAssetsResponse.Builder QueryAssets response.QueryResult Execution results of the query.QueryResult.Builder Execution results of the query.RelatedAsset An asset identifier in Google Cloud which contains its name, type and ancestors.RelatedAsset.Builder An asset identifier in Google Cloud which contains its name, type and ancestors.RelatedAssets Deprecated. RelatedAssets.Builder DEPRECATED.RelatedResource The detailed related resource.RelatedResource.Builder The detailed related resource.RelatedResources The related resources of the primary resource.RelatedResources.Builder The related resources of the primary resource.RelationshipAttributes Deprecated. RelationshipAttributes.Builder DEPRECATED.Resource A representation of a Google Cloud resource.Resource.Builder A representation of a Google Cloud resource.ResourceSearchResult A result of Resource Search, containing information of a cloud resource.ResourceSearchResult.Builder A result of Resource Search, containing information of a cloud resource.SavedQuery A saved query which can be shared with others or used later.SavedQuery.Builder A saved query which can be shared with others or used later.SavedQuery.QueryContent The query content.SavedQuery.QueryContent.Builder The query content.SavedQueryName SavedQueryName.Builder Builder for projects/{project}/savedQueries/{saved_query}.SavedQueryName.FolderSavedQueryBuilder Builder for folders/{folder}/savedQueries/{saved_query}.SavedQueryName.OrganizationSavedQueryBuilder Builder for organizations/{organization}/savedQueries/{saved_query}.SearchAllIamPoliciesRequest Search all IAM policies request.SearchAllIamPoliciesRequest.Builder Search all IAM policies request.SearchAllIamPoliciesResponse Search all IAM policies response.SearchAllIamPoliciesResponse.Builder Search all IAM policies response.SearchAllResourcesRequest Search all resources request.SearchAllResourcesRequest.Builder Search all resources request.SearchAllResourcesResponse Search all resources response.SearchAllResourcesResponse.Builder Search all resources response.TableFieldSchema A field in TableSchema.TableFieldSchema.Builder A field in TableSchema.TableSchema BigQuery Compatible table schema.TableSchema.Builder BigQuery Compatible table schema.TemporalAsset An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.TemporalAsset.Builder An asset in Google Cloud and its temporal metadata, including the time window when it was observed and its status during that window.TimeWindow A time window specified by its `start_time` and `end_time`.TimeWindow.Builder A time window specified by its `start_time` and `end_time`.UpdateFeedRequest Update asset feed request.UpdateFeedRequest.Builder Update asset feed request.UpdateSavedQueryRequest Request to update a saved query.UpdateSavedQueryRequest.Builder Request to update a saved query.VersionedResource Resource representation as defined by the corresponding service providing the resource for a given API version.VersionedResource.Builder Resource representation as defined by the corresponding service providing the resource for a given API version.