Class: Google::Apis::ServicedirectoryV1beta1::ResolveServiceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServicedirectoryV1beta1::ResolveServiceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicedirectory_v1beta1/classes.rb,
lib/google/apis/servicedirectory_v1beta1/representations.rb,
lib/google/apis/servicedirectory_v1beta1/representations.rb
Overview
The request message for LookupService.ResolveService. Looks up a service by its name, returns the service and its endpoints.
Instance Attribute Summary collapse
-
#endpoint_filter ⇒ String
Optional.
-
#max_endpoints ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResolveServiceRequest
constructor
A new instance of ResolveServiceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResolveServiceRequest
Returns a new instance of ResolveServiceRequest.
555 556 557 |
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 555 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint_filter ⇒ String
Optional. The filter applied to the endpoints of the resolved service. General
filter string syntax: field operator value (logical connector) *field
- can be
nameormetadata.keyfor map field.operatorcan be\<,>,\<=,>=,!=,=,:. Of which:meansHASand is roughly the same as=.valuemust be the same data type as the field. `logical connectorcan beAND,OR,NOT. Examples of valid filters: *metadata. ownerreturns endpoints that have a label with the keyowner, this is the same asmetadata:owner*metadata.protocol=gRPCreturns endpoints that have key/valueprotocol=gRPC*metadata.owner!=sd AND metadata.foo=barreturns endpoints that haveownerfield in metadata with a value that is notsdand have the key/valuefoo=bar. Corresponds to the JSON propertyendpointFilter`
546 547 548 |
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 546 def endpoint_filter @endpoint_filter end |
#max_endpoints ⇒ Fixnum
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.
Corresponds to the JSON property maxEndpoints
553 554 555 |
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 553 def max_endpoints @max_endpoints end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
560 561 562 563 |
# File 'lib/google/apis/servicedirectory_v1beta1/classes.rb', line 560 def update!(**args) @endpoint_filter = args[:endpoint_filter] if args.key?(:endpoint_filter) @max_endpoints = args[:max_endpoints] if args.key?(:max_endpoints) end |