Reference documentation and code samples for the Network Services V1BETA1 API class Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::To::Destination.
Describes properties of a single destination.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#header_set
def header_set() -> ::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::To::Destination::HeaderSet- (::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::To::Destination::HeaderSet) — Optional. A set of HTTP headers to match against. If not specified, requests with any headers are matched.
#header_set=
def header_set=(value) -> ::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::To::Destination::HeaderSet- value (::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::To::Destination::HeaderSet) — Optional. A set of HTTP headers to match against. If not specified, requests with any headers are matched.
- (::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::To::Destination::HeaderSet) — Optional. A set of HTTP headers to match against. If not specified, requests with any headers are matched.
#hosts
def hosts() -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>- (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.
#hosts=
def hosts=(value) -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>- value (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.
- (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of HTTP Hosts to match against. Limited to 10 hosts. If not specified, any host is allowed. If specified, a match occurs if any of the hosts matches the host value in the request.
#paths
def paths() -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>-
(::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of paths to match against. Limited to 10
paths. If not specified, any path is allowed.
Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
#paths=
def paths=(value) -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>-
value (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of paths to match against. Limited to 10
paths. If not specified, any path is allowed.
Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
-
(::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of paths to match against. Limited to 10
paths. If not specified, any path is allowed.
Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
#resources
def resources() -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>- (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.
#resources=
def resources=(value) -> ::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>- value (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.
- (::Array<::Google::Cloud::NetworkServices::V1beta1::ExtensionBinding::MatchCondition::StringMatch>) — Optional. A list of non-empty strings whose value is matched against the resource to which a request is sent (e.g., an Agent in AiApplication). If not specified, any resource is allowed. If specified, a match occurs if any of the resources matches the resource value in the request. Limited to 5 resources. When matching against resources in the AgentRegistry, use the URNs of the registry resources.