Show / Hide Table of Contents

Class V1Resource.BatchGetAssetsHistoryRequest

Batch gets the update history of assets that overlap a time window. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. Otherwise, this API outputs history with asset in both non-delete or deleted status. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<BatchGetAssetsHistoryResponse>
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>
V1Resource.BatchGetAssetsHistoryRequest
Implements
IClientServiceRequest<BatchGetAssetsHistoryResponse>
IClientServiceRequest
Inherited Members
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.Xgafv
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.AccessToken
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.Alt
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.Callback
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.Fields
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.Key
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.OauthToken
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.PrettyPrint
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.QuotaUser
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.UploadType
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.UploadProtocol
ClientServiceRequest<BatchGetAssetsHistoryResponse>.Execute()
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ExecuteAsStream()
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ExecuteAsync()
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BatchGetAssetsHistoryResponse>.CreateRequest(bool?)
ClientServiceRequest<BatchGetAssetsHistoryResponse>.GenerateRequestUri()
ClientServiceRequest<BatchGetAssetsHistoryResponse>.GetBody()
ClientServiceRequest<BatchGetAssetsHistoryResponse>.GetDefaultETagAction(string)
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ETagAction
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ModifyRequest
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ValidateParameters
ClientServiceRequest<BatchGetAssetsHistoryResponse>.ApiVersion
ClientServiceRequest<BatchGetAssetsHistoryResponse>.RequestParameters
ClientServiceRequest<BatchGetAssetsHistoryResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudAsset.v1
Assembly: Google.Apis.CloudAsset.v1.dll
Syntax
public class V1Resource.BatchGetAssetsHistoryRequest : CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>, IClientServiceRequest<BatchGetAssetsHistoryResponse>, IClientServiceRequest

Constructors

BatchGetAssetsHistoryRequest(IClientService, string)

Constructs a new BatchGetAssetsHistory request.

Declaration
public BatchGetAssetsHistoryRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

AssetNames

A list of the full names of the assets. See: https://cloud.google.com/asset-inventory/docs/resource-name-format Example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.

Declaration
[RequestParameter("assetNames", RequestParameterType.Query)]
public virtual Repeatable<string> AssetNames { get; set; }
Property Value
Type Description
Repeatable<string>

ContentType

Optional. The content type.

Declaration
[RequestParameter("contentType", RequestParameterType.Query)]
public virtual V1Resource.BatchGetAssetsHistoryRequest.ContentTypeEnum? ContentType { get; set; }
Property Value
Type Description
V1Resource.BatchGetAssetsHistoryRequest.ContentTypeEnum?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<BatchGetAssetsHistoryResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<BatchGetAssetsHistoryResponse>.MethodName

Parent

Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

ReadTimeWindowEndTime

object representation of ReadTimeWindowEndTimeRaw.

Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReadTimeWindowEndTimeDateTimeOffset instead.")]
public virtual object ReadTimeWindowEndTime { get; set; }
Property Value
Type Description
object

ReadTimeWindowEndTimeDateTimeOffset

Declaration
public virtual DateTimeOffset? ReadTimeWindowEndTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ReadTimeWindowEndTimeRaw

String representation of ReadTimeWindowEndTimeDateTimeOffset, formatted for inclusion in the HTTP request.

Declaration
[RequestParameter("readTimeWindow.endTime", RequestParameterType.Query)]
public virtual string ReadTimeWindowEndTimeRaw { get; }
Property Value
Type Description
string

ReadTimeWindowStartTime

object representation of ReadTimeWindowStartTimeRaw.

Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReadTimeWindowStartTimeDateTimeOffset instead.")]
public virtual object ReadTimeWindowStartTime { get; set; }
Property Value
Type Description
object

ReadTimeWindowStartTimeDateTimeOffset

Declaration
public virtual DateTimeOffset? ReadTimeWindowStartTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ReadTimeWindowStartTimeRaw

String representation of ReadTimeWindowStartTimeDateTimeOffset, formatted for inclusion in the HTTP request.

Declaration
[RequestParameter("readTimeWindow.startTime", RequestParameterType.Query)]
public virtual string ReadTimeWindowStartTimeRaw { get; }
Property Value
Type Description
string

RelationshipTypes

Optional. A list of relationship types to output, for example: INSTANCE_TO_INSTANCEGROUP. This field should only be specified if content_type=RELATIONSHIP. * If specified: it outputs specified relationships' history on the [asset_names]. It returns an error if any of the [relationship_types] doesn't belong to the supported relationship types of the [asset_names] or if any of the [asset_names]'s types doesn't belong to the source types of the [relationship_types]. * Otherwise: it outputs the supported relationships' history on the [asset_names] or returns an error if any of the [asset_names]'s types has no relationship support. See Introduction to Cloud Asset Inventory for all supported asset types and relationship types.

Declaration
[RequestParameter("relationshipTypes", RequestParameterType.Query)]
public virtual Repeatable<string> RelationshipTypes { get; set; }
Property Value
Type Description
Repeatable<string>

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<BatchGetAssetsHistoryResponse>.RestPath

Methods

InitParameters()

Initializes BatchGetAssetsHistory parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudAssetBaseServiceRequest<BatchGetAssetsHistoryResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX