Package types (3.3.0)

API documentation for asset_v1p1beta1.types package.

Classes

IamPolicySearchResult

The result for a IAM Policy search. .. attribute:: resource

The full resource name <https://cloud.google.com/apis/design/resource_names#full_resource_name>__ of the resource associated with this IAM policy.

:type: str

Permissions

IAM permissions .. attribute:: permissions

A list of permissions. A sample permission string: "compute.disk.get".

:type: Sequence[str]

SearchAllIamPoliciesRequest

Search all IAM policies request. .. attribute:: scope

Required. The relative name of an asset. The search is limited to the resources within the scope. The allowed value must be:

  • Organization number (such as "organizations/123")
  • Folder number(such as "folders/1234")
  • Project number (such as "projects/12345")
  • Project id (such as "projects/abc")

    :type: str

SearchAllIamPoliciesResponse

Search all IAM policies response. .. attribute:: results

A list of IamPolicy that match the search query. Related information such as the associated resource is returned along with the policy.

:type: Sequence[google.cloud.asset_v1p1beta1.types.IamPolicySearchResult]

SearchAllResourcesRequest

Search all resources request. .. attribute:: scope

Required. The relative name of an asset. The search is limited to the resources within the scope. The allowed value must be:

  • Organization number (such as "organizations/123")
  • Folder number(such as "folders/1234")
  • Project number (such as "projects/12345")
  • Project id (such as "projects/abc")

    :type: str

SearchAllResourcesResponse

Search all resources response. .. attribute:: results

A list of resource that match the search query.

:type: Sequence[google.cloud.asset_v1p1beta1.types.StandardResourceMetadata]

StandardResourceMetadata

The standard metadata of a cloud resource. .. attribute:: name

The full resource name. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See Resource Names <https://cloud.google.com/apis/design/resource_names#full_resource_name>__ for more information.

:type: str