Class OrganizationsResource.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
Inherited Members
Namespace: Google.Apis.CloudAsset.v1beta1
Assembly: Google.Apis.CloudAsset.v1beta1.dll
Syntax
public class OrganizationsResource.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. For example:
//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1
. See Resource
Names for more info. 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 OrganizationsResource.BatchGetAssetsHistoryRequest.ContentTypeEnum? ContentType { get; set; }
Property Value
Type | Description |
---|---|
OrganizationsResource.BatchGetAssetsHistoryRequest.ContentTypeEnum? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes BatchGetAssetsHistory parameter list.
Declaration
protected override void InitParameters()