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

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

Overview

[Deprecated] gRPC config to access the SDS server. gRPC config to access the SDS server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GrpcServiceConfig

Returns a new instance of GrpcServiceConfig.



10497
10498
10499
# File 'lib/google/apis/compute_alpha/classes.rb', line 10497

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

Instance Attribute Details

#call_credentialsGoogle::Apis::ComputeAlpha::CallCredentials

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



10484
10485
10486
# File 'lib/google/apis/compute_alpha/classes.rb', line 10484

def call_credentials
  @call_credentials
end

#channel_credentialsGoogle::Apis::ComputeAlpha::ChannelCredentials

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



10490
10491
10492
# File 'lib/google/apis/compute_alpha/classes.rb', line 10490

def channel_credentials
  @channel_credentials
end

#target_uriString

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

Returns:

  • (String)


10495
10496
10497
# File 'lib/google/apis/compute_alpha/classes.rb', line 10495

def target_uri
  @target_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10502
10503
10504
10505
10506
# File 'lib/google/apis/compute_alpha/classes.rb', line 10502

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