Class: Google::Apis::ComputeAlpha::CallCredentials
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CallCredentials
- 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 call credentials to access the SDS server. gRPC call credentials to access the SDS server.
Instance Attribute Summary collapse
-
#call_credential_type ⇒ String
The type of call credentials to use for GRPC requests to the SDS server.
-
#from_plugin ⇒ Google::Apis::ComputeAlpha::MetadataCredentialsFromPlugin
[Deprecated] Custom authenticator credentials.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CallCredentials
constructor
A new instance of CallCredentials.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CallCredentials
Returns a new instance of CallCredentials.
5054 5055 5056 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5054 def initialize(**args) update!(**args) end |
Instance Attribute Details
#call_credential_type ⇒ String
The type of call credentials to use for GRPC requests to the SDS server. This
field can be set to one of the following: - GCE_VM: The local GCE VM service
account credentials are used to access the SDS server. - FROM_PLUGIN: Custom
authenticator credentials are used to access the SDS server.
Corresponds to the JSON property callCredentialType
5046 5047 5048 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5046 def call_credential_type @call_credential_type end |
#from_plugin ⇒ Google::Apis::ComputeAlpha::MetadataCredentialsFromPlugin
[Deprecated] Custom authenticator credentials. Custom authenticator
credentials.
Corresponds to the JSON property fromPlugin
5052 5053 5054 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5052 def from_plugin @from_plugin end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5059 5060 5061 5062 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5059 def update!(**args) @call_credential_type = args[:call_credential_type] if args.key?(:call_credential_type) @from_plugin = args[:from_plugin] if args.key?(:from_plugin) end |