Class: Google::Apis::ApigatewayV1beta::ApigatewayApiConfigGrpcServiceDefinition

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

Instance Method Summary collapse

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

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