public sealed class ListViolationsRequest : IMessage<ListViolationsRequest>, IEquatable<ListViolationsRequest>, IDeepCloneable<ListViolationsRequest>, IBufferMessage, IMessage, IPageRequest
Reference documentation and code samples for the Assured Workloads v1 API class ListViolationsRequest.
Request for fetching violations in an organization.
Implements
IMessage<ListViolationsRequest>, IEquatable<ListViolationsRequest>, IDeepCloneable<ListViolationsRequest>, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.AssuredWorkloads.V1Assembly
Google.Cloud.AssuredWorkloads.V1.dll
Constructors
ListViolationsRequest()
public ListViolationsRequest()
ListViolationsRequest(ListViolationsRequest)
public ListViolationsRequest(ListViolationsRequest other)
Parameter | |
---|---|
Name | Description |
other | ListViolationsRequest |
Properties
Filter
public string Filter { get; set; }
Optional. A custom filter for filtering by the Violations properties.
Property Value | |
---|---|
Type | Description |
String |
Interval
public TimeWindow Interval { get; set; }
Optional. Specifies the time window for retrieving active Violations. When specified, retrieves Violations that were active between start_time and end_time.
Property Value | |
---|---|
Type | Description |
TimeWindow |
PageSize
public int PageSize { get; set; }
Optional. Page size.
Property Value | |
---|---|
Type | Description |
Int32 |
PageToken
public string PageToken { get; set; }
Optional. Page token returned from previous request.
Property Value | |
---|---|
Type | Description |
String |
Parent
public string Parent { get; set; }
Required. The Workload name.
Format organizations/{org_id}/locations/{location}/workloads/{workload}
.
Property Value | |
---|---|
Type | Description |
String |
ParentAsWorkloadName
public WorkloadName ParentAsWorkloadName { get; set; }
WorkloadName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
WorkloadName |