Class: Google::Apis::ComputeAlpha::ChannelCredentials
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ChannelCredentials
- 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 channel credentials to access the SDS server.
Instance Attribute Summary collapse
-
#certificates ⇒ Google::Apis::ComputeAlpha::TlsCertificatePaths
The paths to the mounted TLS Certificates and private key.
-
#channel_credential_type ⇒ String
The channel credentials to access the SDS server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelCredentials
constructor
A new instance of ChannelCredentials.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChannelCredentials
Returns a new instance of ChannelCredentials
4138 4139 4140 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificates ⇒ Google::Apis::ComputeAlpha::TlsCertificatePaths
The paths to the mounted TLS Certificates and private key.
Corresponds to the JSON property certificates
4129 4130 4131 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4129 def certificates @certificates end |
#channel_credential_type ⇒ String
The channel credentials to access the SDS server. This field can be set to one
of the following: CERTIFICATES: Use TLS certificates to access the SDS server.
GCE_VM: Use local GCE VM credentials to access the SDS server.
Corresponds to the JSON property channelCredentialType
4136 4137 4138 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4136 def channel_credential_type @channel_credential_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4143 4144 4145 4146 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4143 def update!(**args) @certificates = args[:certificates] if args.key?(:certificates) @channel_credential_type = args[:channel_credential_type] if args.key?(:channel_credential_type) end |