Class OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.ListRequest
Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across
multiple Workloads as per AIP-159 by using '-' (the hyphen or dash
character) as a wildcard character instead of workload-id in the parent. Format
organizations/{org_id}/locations/{location}/workloads/-
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1beta1
Assembly: Google.Apis.Assuredworkloads.v1beta1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.ViolationsResource.ListRequest : AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse>, IClientServiceRequest<GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
Optional. A custom filter for filtering by the Violations properties.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
IntervalEndTime
object representation of IntervalEndTimeRaw.
Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use IntervalEndTimeDateTimeOffset instead.")]
public virtual object IntervalEndTime { get; set; }
Property Value
Type | Description |
---|---|
object |
IntervalEndTimeDateTimeOffset
Declaration
public virtual DateTimeOffset? IntervalEndTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
IntervalEndTimeRaw
String representation of IntervalEndTimeDateTimeOffset, formatted for inclusion in the HTTP request.
Declaration
[RequestParameter("interval.endTime", RequestParameterType.Query)]
public virtual string IntervalEndTimeRaw { get; }
Property Value
Type | Description |
---|---|
string |
IntervalStartTime
object representation of IntervalStartTimeRaw.
Declaration
[Obsolete("This property is obsolete and may behave unexpectedly; please use IntervalStartTimeDateTimeOffset instead.")]
public virtual object IntervalStartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
IntervalStartTimeDateTimeOffset
Declaration
public virtual DateTimeOffset? IntervalStartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
IntervalStartTimeRaw
String representation of IntervalStartTimeDateTimeOffset, formatted for inclusion in the HTTP request.
Declaration
[RequestParameter("interval.startTime", RequestParameterType.Query)]
public virtual string IntervalStartTimeRaw { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Optional. Page size.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. Page token returned from previous request.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The Workload name. Format
organizations/{org_id}/locations/{location}/workloads/{workload}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 List parameter list.
Declaration
protected override void InitParameters()