API Gateway V1 API - Class Google::Cloud::ApiGateway::V1::ApiConfig::GrpcServiceDefinition (v0.7.0)

Reference documentation and code samples for the API Gateway V1 API class Google::Cloud::ApiGateway::V1::ApiConfig::GrpcServiceDefinition.

A gRPC service definition.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#file_descriptor_set

def file_descriptor_set() -> ::Google::Cloud::ApiGateway::V1::ApiConfig::File
Returns
  • (::Google::Cloud::ApiGateway::V1::ApiConfig::File) — Input only. File descriptor set, generated by protoc.

    To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.

    $ protoc --include_imports --include_source_info test.proto -o out.pb

#file_descriptor_set=

def file_descriptor_set=(value) -> ::Google::Cloud::ApiGateway::V1::ApiConfig::File
Parameter
  • value (::Google::Cloud::ApiGateway::V1::ApiConfig::File) — Input only. File descriptor set, generated by protoc.

    To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.

    $ protoc --include_imports --include_source_info test.proto -o out.pb

Returns
  • (::Google::Cloud::ApiGateway::V1::ApiConfig::File) — Input only. File descriptor set, generated by protoc.

    To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb.

    $ protoc --include_imports --include_source_info test.proto -o out.pb

#source

def source() -> ::Array<::Google::Cloud::ApiGateway::V1::ApiConfig::File>
Returns
  • (::Array<::Google::Cloud::ApiGateway::V1::ApiConfig::File>) — Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.

#source=

def source=(value) -> ::Array<::Google::Cloud::ApiGateway::V1::ApiConfig::File>
Parameter
  • value (::Array<::Google::Cloud::ApiGateway::V1::ApiConfig::File>) — Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
Returns
  • (::Array<::Google::Cloud::ApiGateway::V1::ApiConfig::File>) — Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.