Class OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource.ListRequest
Lists Violations for a workload Callers may also choose to read across multiple Customers or
for a single customer as per AIP-159 by using '-' (the hyphen
or dash character) as a wildcard character instead of {customer} & {workload}.
Format:
organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
Inheritance
Inherited Members
Namespace: Google.Apis.CloudControlsPartnerService.v1beta
Assembly: Google.Apis.CloudControlsPartnerService.v1beta.dll
Syntax
public class OrganizationsResource.LocationsResource.CustomersResource.WorkloadsResource.ViolationsResource.ListRequest : CloudControlsPartnerServiceBaseServiceRequest<ListViolationsResponse>, IClientServiceRequest<ListViolationsResponse>, 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. Filtering results
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
OrderBy
Optional. Hint for how to order the results
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. The maximum number of customers row to return. The service may return fewer than this value. If unspecified, at most 10 customers will be returned.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A page token, received from a previous ListViolations
call. Provide this to
retrieve the subsequent page.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Parent resource Format
organizations/{organization}/locations/{location}/customers/{customer}/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()