Class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition
- Inherits:
-
Object
- Object
- Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigateway_v1beta/classes.rb,
generated/google/apis/apigateway_v1beta/representations.rb,
generated/google/apis/apigateway_v1beta/representations.rb
Overview
A gRPC service definition.
Instance Attribute Summary collapse
-
#file_descriptor_set ⇒ Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile
A lightweight description of a file.
-
#source ⇒ Array<Google::Apis::ApigatewayV1beta::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.
232 233 234 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_descriptor_set ⇒ Google::Apis::ApigatewayV1beta::ApigatewayApiConfigFile
A lightweight description of a file.
Corresponds to the JSON property fileDescriptorSet
223 224 225 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 223 def file_descriptor_set @file_descriptor_set end |
#source ⇒ Array<Google::Apis::ApigatewayV1beta::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
230 231 232 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 230 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
237 238 239 240 |
# File 'generated/google/apis/apigateway_v1beta/classes.rb', line 237 def update!(**args) @file_descriptor_set = args[:file_descriptor_set] if args.key?(:file_descriptor_set) @source = args[:source] if args.key?(:source) end |