public sealed class ResolveServiceRequest : IMessage<ResolveServiceRequest>, IEquatable<ResolveServiceRequest>, IDeepCloneable<ResolveServiceRequest>, IBufferMessage, IMessage
The request message for
[LookupService.ResolveService][google.cloud.servicedirectory.v1.LookupService.ResolveService].
Looks up a service by its name, returns the service and its endpoints.
Optional. The filter applied to the endpoints of the resolved service.
General filter string syntax:
<field> <operator> <value> (<logical connector>)
<field> can be "name" or "metadata.<key>" for map field.
<operator> can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS and is
roughly the same as "=".
<value> must be the same data type as the field.
<logical connector> can be "AND, OR, NOT".
Examples of valid filters:
"metadata.owner" returns Endpoints that have a label with the
key "owner", this is the same as "metadata:owner"
"metadata.protocol=gRPC" returns Endpoints that have key/value
"protocol=gRPC"
"metadata.owner!=sd AND metadata.foo=bar" returns
Endpoints that have "owner" field in metadata with a value that is not
"sd" AND have the key/value foo=bar.
Optional. The maximum number of endpoints to return. Defaults to 25.
Maximum is 100. If a value less than one is specified, the Default is used.
If a value greater than the Maximum is specified, the Maximum is used.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eResolveServiceRequest\u003c/code\u003e class is used to request the resolution of a service by its name, including the service details and its endpoints, for the \u003ccode\u003eLookupService.ResolveService\u003c/code\u003e functionality.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports multiple versions, from 1.0.0 up to the latest version 2.6.0, and it is part of the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1\u003c/code\u003e namespace, contained within the Google.Cloud.ServiceDirectory.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResolveServiceRequest\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage<ResolveServiceRequest>\u003c/code\u003e, \u003ccode\u003eIEquatable<ResolveServiceRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<ResolveServiceRequest>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResolveServiceRequest\u003c/code\u003e class allows for optional filtering of the returned endpoints through the \u003ccode\u003eEndpointFilter\u003c/code\u003e property and for limiting the number of endpoints returned via the \u003ccode\u003eMaxEndpoints\u003c/code\u003e property, where the name of the service to resolve is a required parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceName\u003c/code\u003e property provides a typed view over the service's resource name, and there are two constructors available, one default and one to copy from another \u003ccode\u003eResolveServiceRequest\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]