Reference documentation and code samples for the Service Usage V1 API class Google::Protobuf::Method.
Method represents a method of an API interface.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — The simple name of this method.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The simple name of this method.
Returns
- (::String) — The simple name of this method.
#options
def options() -> ::Array<::Google::Protobuf::Option>
Returns
- (::Array<::Google::Protobuf::Option>) — Any metadata attached to the method.
#options=
def options=(value) -> ::Array<::Google::Protobuf::Option>
Parameter
- value (::Array<::Google::Protobuf::Option>) — Any metadata attached to the method.
Returns
- (::Array<::Google::Protobuf::Option>) — Any metadata attached to the method.
#request_streaming
def request_streaming() -> ::Boolean
Returns
- (::Boolean) — If true, the request is streamed.
#request_streaming=
def request_streaming=(value) -> ::Boolean
Parameter
- value (::Boolean) — If true, the request is streamed.
Returns
- (::Boolean) — If true, the request is streamed.
#request_type_url
def request_type_url() -> ::String
Returns
- (::String) — A URL of the input message type.
#request_type_url=
def request_type_url=(value) -> ::String
Parameter
- value (::String) — A URL of the input message type.
Returns
- (::String) — A URL of the input message type.
#response_streaming
def response_streaming() -> ::Boolean
Returns
- (::Boolean) — If true, the response is streamed.
#response_streaming=
def response_streaming=(value) -> ::Boolean
Parameter
- value (::Boolean) — If true, the response is streamed.
Returns
- (::Boolean) — If true, the response is streamed.
#response_type_url
def response_type_url() -> ::String
Returns
- (::String) — The URL of the output message type.
#response_type_url=
def response_type_url=(value) -> ::String
Parameter
- value (::String) — The URL of the output message type.
Returns
- (::String) — The URL of the output message type.
#syntax
def syntax() -> ::Google::Protobuf::Syntax
Returns
- (::Google::Protobuf::Syntax) — The source syntax of this method.
#syntax=
def syntax=(value) -> ::Google::Protobuf::Syntax
Parameter
- value (::Google::Protobuf::Syntax) — The source syntax of this method.
Returns
- (::Google::Protobuf::Syntax) — The source syntax of this method.