Show / Hide Table of Contents

Class Method

Method represents a method of an API interface. New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.

Inheritance
object
Method
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceUsage.v1.Data
Assembly: Google.Apis.ServiceUsage.v1.dll
Syntax
public class Method : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Edition

The source edition string, only valid when syntax is SYNTAX_EDITIONS. This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.

Declaration
[JsonProperty("edition")]
public virtual string Edition { get; set; }
Property Value
Type Description
string

Name

The simple name of this method.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Options

Any metadata attached to the method.

Declaration
[JsonProperty("options")]
public virtual IList<Option> Options { get; set; }
Property Value
Type Description
IList<Option>

RequestStreaming

If true, the request is streamed.

Declaration
[JsonProperty("requestStreaming")]
public virtual bool? RequestStreaming { get; set; }
Property Value
Type Description
bool?

RequestTypeUrl

A URL of the input message type.

Declaration
[JsonProperty("requestTypeUrl")]
public virtual string RequestTypeUrl { get; set; }
Property Value
Type Description
string

ResponseStreaming

If true, the response is streamed.

Declaration
[JsonProperty("responseStreaming")]
public virtual bool? ResponseStreaming { get; set; }
Property Value
Type Description
bool?

ResponseTypeUrl

The URL of the output message type.

Declaration
[JsonProperty("responseTypeUrl")]
public virtual string ResponseTypeUrl { get; set; }
Property Value
Type Description
string

Syntax

The source syntax of this method. This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.

Declaration
[JsonProperty("syntax")]
public virtual string Syntax { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX