Class ListWorkloadsRequest

public sealed class ListWorkloadsRequest : IPageRequest, IMessage<ListWorkloadsRequest>, IEquatable<ListWorkloadsRequest>, IDeepCloneable<ListWorkloadsRequest>, IBufferMessage, IMessage

Request for fetching workloads in an organization.

Inheritance

Object > ListWorkloadsRequest

Namespace

Google.Cloud.AssuredWorkloads.V1Beta1

Assembly

Google.Cloud.AssuredWorkloads.V1Beta1.dll

Constructors

ListWorkloadsRequest()

public ListWorkloadsRequest()

ListWorkloadsRequest(ListWorkloadsRequest)

public ListWorkloadsRequest(ListWorkloadsRequest other)
Parameter
TypeNameDescription
ListWorkloadsRequestother

Properties

Filter

public string Filter { get; set; }

A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported.

Property Value
TypeDescription
String

PageSize

public int PageSize { get; set; }

Page size.

Property Value
TypeDescription
Int32

PageToken

public string PageToken { get; set; }

Page token returned from previous request. Page token contains context from previous request. Page token needs to be passed in the second and following requests.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. Parent Resource to list workloads from. Must be of the form organizations/{org_id}/locations/{location}.

Property Value
TypeDescription
String

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName