Class: Google::Apis::ApigatewayV1::ApigatewayApiConfigGrpcServiceDefinition

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_setGoogle::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

#sourceArray<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