Class: Google::Apis::ComputeAlpha::GrpcServiceConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Overview

gRPC config to access the SDS server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GrpcServiceConfig

Returns a new instance of GrpcServiceConfig.



8426
8427
8428
# File 'generated/google/apis/compute_alpha/classes.rb', line 8426

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#call_credentialsGoogle::Apis::ComputeAlpha::CallCredentials

gRPC call credentials to access the SDS server. Corresponds to the JSON property callCredentials



8414
8415
8416
# File 'generated/google/apis/compute_alpha/classes.rb', line 8414

def call_credentials
  @call_credentials
end

#channel_credentialsGoogle::Apis::ComputeAlpha::ChannelCredentials

gRPC channel credentials to access the SDS server. Corresponds to the JSON property channelCredentials



8419
8420
8421
# File 'generated/google/apis/compute_alpha/classes.rb', line 8419

def channel_credentials
  @channel_credentials
end

#target_uriString

The target URI of the SDS server. Corresponds to the JSON property targetUri

Returns:

  • (String)


8424
8425
8426
# File 'generated/google/apis/compute_alpha/classes.rb', line 8424

def target_uri
  @target_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8431
8432
8433
8434
8435
# File 'generated/google/apis/compute_alpha/classes.rb', line 8431

def update!(**args)
  @call_credentials = args[:call_credentials] if args.key?(:call_credentials)
  @channel_credentials = args[:channel_credentials] if args.key?(:channel_credentials)
  @target_uri = args[:target_uri] if args.key?(:target_uri)
end