public sealed class ListServicesRequest : IPageRequest, IMessage<ListServicesRequest>, IEquatable<ListServicesRequest>, IDeepCloneable<ListServicesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Monitoring v3 API class ListServicesRequest.
The ListServices
request.
Implements
IPageRequest, IMessageListServicesRequest, IEquatableListServicesRequest, IDeepCloneableListServicesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
ListServicesRequest()
public ListServicesRequest()
ListServicesRequest(ListServicesRequest)
public ListServicesRequest(ListServicesRequest other)
Parameter | |
---|---|
Name | Description |
other | ListServicesRequest |
Properties
Filter
public string Filter { get; set; }
A filter specifying what Service
s to return. The filter supports
filtering on a particular service-identifier type or one of its attributes.
To filter on a particular service-identifier type, the identifier_case
refers to which option in the identifier
field is populated. For example,
the filter identifier_case = "CUSTOM"
would match all services with a
value for the custom
field. Valid options include "CUSTOM", "APP_ENGINE",
"MESH_ISTIO", and the other options listed at
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
To filter on an attribute of a service-identifier type, apply the filter
name by using the snake case of the service-identifier type and the
attribute of that service-identifier type, and join the two with a period.
For example, to filter by the meshUid
field of the MeshIstio
service-identifier type, you must filter on mesh_istio.mesh_uid =
"123"
to match all services with mesh UID "123". Service-identifier types
and their attributes are described at
https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services#Service
Property Value | |
---|---|
Type | Description |
string |
PageSize
public int PageSize { get; set; }
A non-negative number that is the maximum number of results to return. When 0, use default page size.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
If this field is not empty then it must contain the nextPageToken
value
returned by a previous call to this method. Using this field causes the
method to return additional results from the previous method call.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. Resource name of the parent containing the listed services, either a project or a Monitoring Metrics Scope. The formats are:
projects/[PROJECT_ID_OR_NUMBER]
workspaces/[HOST_PROJECT_ID_OR_NUMBER]
Property Value | |
---|---|
Type | Description |
string |
ParentAsFolderName
public FolderName ParentAsFolderName { get; set; }
FolderName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
FolderName |
ParentAsOrganizationName
public OrganizationName ParentAsOrganizationName { get; set; }
OrganizationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationName |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |