Infrastructure Manager v1 API - Class ListResourcesRequest (1.0.0)

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

Reference documentation and code samples for the Infrastructure Manager v1 API class ListResourcesRequest.

A request to list Resources passed to a 'ListResources' call.

Inheritance

object > ListResourcesRequest

Namespace

Google.Cloud.Config.V1

Assembly

Google.Cloud.Config.V1.dll

Constructors

ListResourcesRequest()

public ListResourcesRequest()

ListResourcesRequest(ListResourcesRequest)

public ListResourcesRequest(ListResourcesRequest other)
Parameter
NameDescription
otherListResourcesRequest

Properties

Filter

public string Filter { get; set; }

Lists the Resources that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form '{field} {operator} {value}' where operators: '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case.

Examples:

  • Filter by name: name = "projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz
Property Value
TypeDescription
string

OrderBy

public string OrderBy { get; set; }

Field to use to sort the list.

Property Value
TypeDescription
string

PageSize

public int PageSize { get; set; }

When requesting a page of resources, 'page_size' specifies number of resources to return. If unspecified or set to 0, all resources will be returned.

Property Value
TypeDescription
int

PageToken

public string PageToken { get; set; }

Token returned by previous call to 'ListResources' which specifies the position in the list from where to continue listing the resources.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The parent in whose context the Resources are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'.

Property Value
TypeDescription
string

ParentAsRevisionName

public RevisionName ParentAsRevisionName { get; set; }

RevisionName-typed view over the Parent resource name property.

Property Value
TypeDescription
RevisionName