Service Usage V1 API - Class Google::Protobuf::Method (v1.1.0)

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

#options=

def options=(value) -> ::Array<::Google::Protobuf::Option>
Parameter
Returns

#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

#syntax=

def syntax=(value) -> ::Google::Protobuf::Syntax
Parameter
Returns