# Package types (4.4.0)

4.4.0 (latest) 4.3.0 4.2.0 4.1.0 4.0.0 3.30.1 3.29.2 3.28.0 3.27.1 3.26.4 3.25.1 3.24.3 3.23.0 3.22.0 3.21.0 3.20.1 3.19.1 3.18.1 3.17.1 3.16.0 3.15.0 3.14.2 3.13.1 3.12.0 3.11.0 3.10.0 3.9.1 3.8.1 3.7.1 3.6.1 3.5.0 3.4.0 3.3.0 3.2.1 3.1.0 2.2.2 2.1.0 2.0.0 1.3.2 1.2.0 1.1.0 1.0.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 API documentation for `asset_v1.types` package.

## Classes

### [AnalyzeIamPolicyLongrunningMetadata](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeIamPolicyLongrunningMetadata)

Represents the metadata of the longrunning operation for the
AnalyzeIamPolicyLongrunning RPC.

### [AnalyzeIamPolicyLongrunningRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeIamPolicyLongrunningRequest)

A request message for
AssetService.AnalyzeIamPolicyLongrunning.

### [AnalyzeIamPolicyLongrunningResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeIamPolicyLongrunningResponse)

A response message for
AssetService.AnalyzeIamPolicyLongrunning.

### [AnalyzeIamPolicyRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeIamPolicyRequest)

A request message for
AssetService.AnalyzeIamPolicy.

### [AnalyzeIamPolicyResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeIamPolicyResponse)

A response message for
AssetService.AnalyzeIamPolicy.

### [AnalyzeMoveRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeMoveRequest)

The request message for performing resource move analysis.

### [AnalyzeMoveResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeMoveResponse)

The response message for resource move analysis.

### [AnalyzeOrgPoliciesRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeOrgPoliciesRequest)

A request message for
AssetService.AnalyzeOrgPolicies.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AnalyzeOrgPoliciesResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeOrgPoliciesResponse)

The response message for
AssetService.AnalyzeOrgPolicies.

### [AnalyzeOrgPolicyGovernedAssetsRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeOrgPolicyGovernedAssetsRequest)

A request message for
AssetService.AnalyzeOrgPolicyGovernedAssets.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AnalyzeOrgPolicyGovernedAssetsResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeOrgPolicyGovernedAssetsResponse)

The response message for
AssetService.AnalyzeOrgPolicyGovernedAssets.

### [AnalyzeOrgPolicyGovernedContainersRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeOrgPolicyGovernedContainersRequest)

A request message for
AssetService.AnalyzeOrgPolicyGovernedContainers.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AnalyzeOrgPolicyGovernedContainersResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzeOrgPolicyGovernedContainersResponse)

The response message for
AssetService.AnalyzeOrgPolicyGovernedContainers.

### [AnalyzerOrgPolicy](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzerOrgPolicy)

This organization policy message is a modified version of the
one defined in the Organization Policy system. This message
contains several fields defined in the original organization
policy with some new fields for analysis purpose.

### [AnalyzerOrgPolicyConstraint](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AnalyzerOrgPolicyConstraint)

The organization policy constraint definition.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [Asset](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.Asset)

An asset in Google Cloud. An asset can be any resource in the Google
Cloud `resource
hierarchy <https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy>`**,
a resource outside the Google Cloud resource hierarchy (such as
Google Kubernetes Engine clusters and objects), or a policy (e.g.
IAM policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP
relationship). See `Supported asset
types <https://cloud.google.com/asset-inventory/docs/supported-asset-types>`**
for more information.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AssetEnrichment](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AssetEnrichment)

The enhanced metadata information for a resource.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [AttachedResource](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.AttachedResource)

Attached resource representation, which is defined by the
corresponding service provider. It represents an attached
resource's payload.

### [BatchGetAssetsHistoryRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.BatchGetAssetsHistoryRequest)

Batch get assets history request.

### [BatchGetAssetsHistoryResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.BatchGetAssetsHistoryResponse)

Batch get assets history response.

### [BatchGetEffectiveIamPoliciesRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.BatchGetEffectiveIamPoliciesRequest)

A request message for
AssetService.BatchGetEffectiveIamPolicies.

### [BatchGetEffectiveIamPoliciesResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.BatchGetEffectiveIamPoliciesResponse)

A response message for
AssetService.BatchGetEffectiveIamPolicies.

### [BigQueryDestination](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.BigQueryDestination)

A BigQuery destination for exporting assets to.

### [ConditionEvaluation](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ConditionEvaluation)

The condition evaluation.

### [ContentType](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ContentType)

Asset content type.

### [CreateFeedRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.CreateFeedRequest)

Create asset feed request.

### [CreateSavedQueryRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.CreateSavedQueryRequest)

Request to create a saved query.

### [DeleteFeedRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.DeleteFeedRequest)

### [DeleteSavedQueryRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.DeleteSavedQueryRequest)

Request to delete a saved query.

### [EffectiveTagDetails](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.EffectiveTagDetails)

The effective tags and the ancestor resources from which they
were inherited.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [ExportAssetsRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ExportAssetsRequest)

Export asset request.

### [ExportAssetsResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ExportAssetsResponse)

The export asset response. This message is returned by the
`google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation]`
method in the returned
`google.longrunning.Operation.response][google.longrunning.Operation.response]`
field.

### [Feed](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.Feed)

An asset feed used to export asset updates to a destinations.
An asset feed filter controls what updates are exported. The
asset feed must be created within a project, organization, or
folder. Supported destinations are:

Pub/Sub topics.

### [FeedOutputConfig](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.FeedOutputConfig)

Output configuration for asset feed destination.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [GcsDestination](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.GcsDestination)

A Cloud Storage location.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [GcsOutputResult](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.GcsOutputResult)

A Cloud Storage output result.

### [GetFeedRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.GetFeedRequest)

Get asset feed request.

### [GetSavedQueryRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.GetSavedQueryRequest)

Request to get a saved query.

### [IamPolicyAnalysisOutputConfig](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.IamPolicyAnalysisOutputConfig)

Output configuration for export IAM policy analysis
destination.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [IamPolicyAnalysisQuery](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.IamPolicyAnalysisQuery)

IAM policy analysis query message.

### [IamPolicyAnalysisResult](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.IamPolicyAnalysisResult)

IAM Policy analysis result, consisting of one IAM policy
binding and derived access control lists.

### [IamPolicyAnalysisState](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.IamPolicyAnalysisState)

Represents the detailed state of an entity under analysis,
such as a resource, an identity or an access.

### [IamPolicySearchResult](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.IamPolicySearchResult)

A result of IAM Policy search, containing information of an
IAM policy.

### [ListAssetsRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ListAssetsRequest)

ListAssets request.

### [ListAssetsResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ListAssetsResponse)

ListAssets response.

### [ListFeedsRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ListFeedsRequest)

List asset feeds request.

### [ListFeedsResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ListFeedsResponse)

### [ListSavedQueriesRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ListSavedQueriesRequest)

Request to list saved queries.

### [ListSavedQueriesResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ListSavedQueriesResponse)

Response of listing saved queries.

### [MoveAnalysis](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.MoveAnalysis)

A message to group the analysis information.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [MoveAnalysisResult](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.MoveAnalysisResult)

An analysis result including blockers and warnings.

### [MoveImpact](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.MoveImpact)

A message to group impacts of moving the target resource.

### [OutputConfig](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.OutputConfig)

Output configuration for export assets destination.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [OutputResult](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.OutputResult)

Output result of export assets.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [PartitionSpec](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.PartitionSpec)

Specifications of BigQuery partitioned table as export
destination.

### [PubsubDestination](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.PubsubDestination)

A Pub/Sub destination.

### [QueryAssetsOutputConfig](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.QueryAssetsOutputConfig)

Output configuration query assets.

### [QueryAssetsRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.QueryAssetsRequest)

QueryAssets request.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [QueryAssetsResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.QueryAssetsResponse)

QueryAssets response.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [QueryResult](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.QueryResult)

Execution results of the query.

The result is formatted as rows represented by BigQuery compatible
\[schema\]. When pagination is necessary, it will contains the page
token to retrieve the results of following pages.

### [RelatedAsset](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.RelatedAsset)

An asset identifier in Google Cloud which contains its name, type
and ancestors. An asset can be any resource in the Google Cloud
`resource
hierarchy <https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy>`**,
a resource outside the Google Cloud resource hierarchy (such as
Google Kubernetes Engine clusters and objects), or a policy (e.g.
IAM policy). See `Supported asset
types <https://cloud.google.com/asset-inventory/docs/supported-asset-types>`**
for more information.

### [RelatedAssets](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.RelatedAssets)

DEPRECATED. This message only presents for the purpose of
backward-compatibility. The server will never populate this message
in responses. The detailed related assets with the
`relationship_type`.

### [RelatedResource](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.RelatedResource)

The detailed related resource.

### [RelatedResources](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.RelatedResources)

The related resources of the primary resource.

### [RelationshipAttributes](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.RelationshipAttributes)

DEPRECATED. This message only presents for the purpose of
backward-compatibility. The server will never populate this message
in responses. The relationship attributes which include `type`,
`source_resource_type`, `target_resource_type` and `action`.

### [Resource](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.Resource)

A representation of a Google Cloud resource.

### [ResourceOwners](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ResourceOwners)

The resource owners information.

### [ResourceSearchResult](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.ResourceSearchResult)

A result of Resource Search, containing information of a
cloud resource.

### [SavedQuery](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.SavedQuery)

A saved query which can be shared with others or used later.

### [SearchAllIamPoliciesRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.SearchAllIamPoliciesRequest)

Search all IAM policies request.

### [SearchAllIamPoliciesResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.SearchAllIamPoliciesResponse)

Search all IAM policies response.

### [SearchAllResourcesRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.SearchAllResourcesRequest)

Search all resources request.

### [SearchAllResourcesResponse](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.SearchAllResourcesResponse)

Search all resources response.

### [TableFieldSchema](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.TableFieldSchema)

A field in TableSchema.

### [TableSchema](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.TableSchema)

BigQuery Compatible table schema.

### [Tag](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.Tag)

The key and value for a
`tag <https://cloud.google.com/resource-manager/docs/tags/tags-overview>`__.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [TemporalAsset](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.TemporalAsset)

An asset in Google Cloud and its temporal metadata, including
the time window when it was observed and its status during that
window.

### [TimeWindow](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.TimeWindow)

A time window specified by its `start_time` and `end_time`.

### [UpdateFeedRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.UpdateFeedRequest)

Update asset feed request.

### [UpdateSavedQueryRequest](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.UpdateSavedQueryRequest)

Request to update a saved query.

### [VersionedResource](https://docs.cloud.google.com/python/docs/reference/cloudasset/latest/google.cloud.asset_v1.types.VersionedResource)

Resource representation as defined by the corresponding
service providing the resource for a given API version.