Class: Google::Apis::ApigatewayV1::ApigatewayApiConfigGrpcServiceDefinition
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1::ApigatewayApiConfigGrpcServiceDefinition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigateway_v1/classes.rb,
lib/google/apis/apigateway_v1/representations.rb,
lib/google/apis/apigateway_v1/representations.rb
Overview
A gRPC service definition.
Instance Attribute Summary collapse
-
#file_descriptor_set ⇒ Google::Apis::ApigatewayV1::ApigatewayApiConfigFile
A lightweight description of a file.
-
#source ⇒ Array<Google::Apis::ApigatewayV1::ApigatewayApiConfigFile>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApigatewayApiConfigGrpcServiceDefinition
constructor
A new instance of ApigatewayApiConfigGrpcServiceDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApigatewayApiConfigGrpcServiceDefinition
Returns a new instance of ApigatewayApiConfigGrpcServiceDefinition.
226 227 228 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 226 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_descriptor_set ⇒ Google::Apis::ApigatewayV1::ApigatewayApiConfigFile
A lightweight description of a file.
Corresponds to the JSON property fileDescriptorSet
217 218 219 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 217 def file_descriptor_set @file_descriptor_set end |
#source ⇒ Array<Google::Apis::ApigatewayV1::ApigatewayApiConfigFile>
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.
Corresponds to the JSON property source
224 225 226 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 224 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
231 232 233 234 |
# File 'lib/google/apis/apigateway_v1/classes.rb', line 231 def update!(**args) @file_descriptor_set = args[:file_descriptor_set] if args.key?(:file_descriptor_set) @source = args[:source] if args.key?(:source) end |