BatchGetAssetsHistoryResponse

Batch get assets history response.

JSON representation
{
  "assets": [
    {
      object(TemporalAsset)
    }
  ]
}
Fields
assets[]

object(TemporalAsset)

A list of assets with valid time windows.

TemporalAsset

Temporal asset. In addition to the asset, the temporal asset includes the status of the asset and valid from and to time of it.

JSON representation
{
  "window": {
    object(TimeWindow)
  },
  "deleted": boolean,
  "asset": {
    object(Asset)
  }
}
Fields
window

object(TimeWindow)

The time window when the asset data and state was observed.

deleted

boolean

If the asset is deleted or not.

asset

object(Asset)

Asset.

Asset

Cloud asset. This includes all Google Cloud Platform resources, Cloud IAM policies, and other non-GCP assets.

JSON representation
{
  "name": string,
  "assetType": string,
  "resource": {
    object(Resource)
  },
  "iamPolicy": {
    object(Policy)
  }
}
Fields
name

string

The full name of the asset. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See Resource Names for more information.

assetType

string

type of the asset. Example: "google.compute.Disk".

resource

object(Resource)

Representation of the resource.

iamPolicy

object(Policy)

Representation of the actual Cloud IAM policy set on a cloud resource. For each resource, there must be at most one Cloud IAM policy set on it.

Resource

Representation of a cloud resource.

JSON representation
{
  "version": string,
  "discoveryDocumentUri": string,
  "discoveryName": string,
  "resourceUrl": string,
  "parent": string,
  "data": {
    object
  }
}
Fields
version

string

The API version. Example: "v1".

discoveryDocumentUri

string

The URL of the discovery document containing the resource's JSON schema. For example: "https://www.googleapis.com/discovery/v1/apis/compute/v1/rest". It will be left unspecified for resources without a discovery-based API, such as Cloud Bigtable.

discoveryName

string

The JSON schema name listed in the discovery document. Example: "Project". It will be left unspecified for resources (such as Cloud Bigtable) without a discovery-based API.

resourceUrl

string

The REST URL for accessing the resource. An HTTP GET operation using this URL returns the resource itself. Example: https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123. It will be left unspecified for resources without a REST API.

parent

string

The full name of the immediate parent of this resource. See Resource Names for more information.

For GCP assets, it is the parent resource defined in the Cloud IAM policy hierarchy. For example: "//cloudresourcemanager.googleapis.com/projects/my_project_123".

For third-party assets, it is up to the users to define.

data

object (Struct format)

The content of the resource, in which some sensitive fields are scrubbed away and may not be present.

Var denne siden nyttig? Si fra hva du synes:

Send tilbakemelding om ...