Class ResourceFilter
Resource filter for an evaluation defining the scope of resources to be evaluated.
Implements
Inherited Members
Namespace: Google.Apis.WorkloadManager.v1.Data
Assembly: Google.Apis.WorkloadManager.v1.dll
Syntax
public class ResourceFilter : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GceInstanceFilter
Filter compute engine resources.
Declaration
[JsonProperty("gceInstanceFilter")]
public virtual GceInstanceFilter GceInstanceFilter { get; set; }
Property Value
| Type | Description |
|---|---|
| GceInstanceFilter |
InclusionLabels
Labels to filter resources by. Each key-value pair in the map must exist on the resource for it to be
included (e.g. VM instance labels). For example, specifying { "env": "prod", "database": "nosql" } will
only include resources that have labels env=prod and database=nosql.
Declaration
[JsonProperty("inclusionLabels")]
public virtual IDictionary<string, string> InclusionLabels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
ResourceIdPatterns
The pattern to filter resources by their id For example, a pattern of ".prod-cluster." will match all resources that contain "prod-cluster" in their ID.
Declaration
[JsonProperty("resourceIdPatterns")]
public virtual IList<string> ResourceIdPatterns { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Scopes
The scopes of evaluation resource. Format: * projects/{project_id} * folders/{folder_id} *
organizations/{organization_id}
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |