Class: Google::Apis::ServicemanagementV1::Http
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServicemanagementV1::Http
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/servicemanagement_v1/classes.rb,
lib/google/apis/servicemanagement_v1/representations.rb,
lib/google/apis/servicemanagement_v1/representations.rb 
Overview
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.
Instance Attribute Summary collapse
- 
  
    
      #fully_decode_reserved_expansion  ⇒ Boolean 
    
    
      (also: #fully_decode_reserved_expansion?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
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.
 - 
  
    
      #rules  ⇒ Array<Google::Apis::ServicemanagementV1::HttpRule> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of HTTP configuration rules that apply to individual API methods.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Http 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Http.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ Http
Returns a new instance of Http.
      1904 1905 1906  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1904 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#fully_decode_reserved_expansion ⇒ Boolean Also known as: fully_decode_reserved_expansion?
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
      1895 1896 1897  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1895 def fully_decode_reserved_expansion @fully_decode_reserved_expansion end  | 
  
#rules ⇒ Array<Google::Apis::ServicemanagementV1::HttpRule>
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
      1902 1903 1904  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1902 def rules @rules end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1909 1910 1911 1912  | 
    
      # File 'lib/google/apis/servicemanagement_v1/classes.rb', line 1909 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  |