Class Http
Defines the HTTP configuration for an API service. It contains a list of
[HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
to one or more HTTP REST API methods.
Inheritance
System.Object
Http
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class Http : IMessage<Http>, IMessage, IEquatable<Http>, IDeepCloneable<Http>
Constructors
Http()
Declaration
Http(Http)
Declaration
Parameters
Type |
Name |
Description |
Http |
other |
|
Fields
FullyDecodeReservedExpansionFieldNumber
Field number for the "fully_decode_reserved_expansion" field.
Declaration
public const int FullyDecodeReservedExpansionFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
RulesFieldNumber
Field number for the "rules" field.
Declaration
public const int RulesFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
FullyDecodeReservedExpansion
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.
Declaration
public bool FullyDecodeReservedExpansion { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Parser
Declaration
public static MessageParser<Http> Parser { get; }
Property Value
Rules
A list of HTTP configuration rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
Declaration
public RepeatedField<HttpRule> Rules { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
Returns
Implements
Equals(Http)
Declaration
public bool Equals(Http other)
Parameters
Type |
Name |
Description |
Http |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
MergeFrom(Http)
Declaration
public void MergeFrom(Http other)
Parameters
Type |
Name |
Description |
Http |
other |
|
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements