class Google::Apis::ServiceconsumermanagementV1::Http
Defines the HTTP configuration for an API service. It contains a list of HttpRule
, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
Attributes
When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where “%2F” will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. Corresponds to the JSON property `fullyDecodeReservedExpansion` @return [Boolean]
When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where “%2F” will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. Corresponds to the JSON property `fullyDecodeReservedExpansion` @return [Boolean]
A list of HTTP configuration rules that apply to individual API methods. ** NOTE:** All service configuration rules follow “last one wins” order. Corresponds to the JSON property `rules` @return [Array<Google::Apis::ServiceconsumermanagementV1::HttpRule>]
Public Class Methods
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 1181 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 1186 def update!(**args) @fully_decode_reserved_expansion = args[:fully_decode_reserved_expansion] if args.key?(:fully_decode_reserved_expansion) @rules = args[:rules] if args.key?(:rules) end