Class: Google::Cloud::ApiGateway::V1::ApiConfig::GrpcServiceDefinition
- Inherits:
-
Object
- Object
- Google::Cloud::ApiGateway::V1::ApiConfig::GrpcServiceDefinition
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/apigateway/v1/apigateway.rb
Overview
A gRPC service definition.
Instance Attribute Summary collapse
-
#file_descriptor_set ⇒ ::Google::Cloud::ApiGateway::V1::ApiConfig::File
Input only.
-
#source ⇒ ::Array<::Google::Cloud::ApiGateway::V1::ApiConfig::File>
Optional.
Instance Attribute Details
#file_descriptor_set ⇒ ::Google::Cloud::ApiGateway::V1::ApiConfig::File
Returns 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.
187 188 189 190 |
# File 'proto_docs/google/cloud/apigateway/v1/apigateway.rb', line 187 class GrpcServiceDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#source ⇒ ::Array<::Google::Cloud::ApiGateway::V1::ApiConfig::File>
Returns 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.
187 188 189 190 |
# File 'proto_docs/google/cloud/apigateway/v1/apigateway.rb', line 187 class GrpcServiceDefinition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |