Class: Google::Apis::ComputeAlpha::CallCredentials
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CallCredentials
- 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 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
Custom authenticator credentials.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CallCredentials
constructor
A new instance of CallCredentials.
-
#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) ⇒ CallCredentials
Returns a new instance of CallCredentials
4056 4057 4058 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4056 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: ACCESS_TOKEN: An access token is
used as call credentials for the SDS server. GCE_VM: The local GCE VM service
account credentials are used to access the SDS server. JWT_SERVICE_TOKEN: The
user provisioned 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
4049 4050 4051 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4049 def call_credential_type @call_credential_type end |
#from_plugin ⇒ Google::Apis::ComputeAlpha::MetadataCredentialsFromPlugin
Custom authenticator credentials.
Corresponds to the JSON property fromPlugin
4054 4055 4056 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4054 def from_plugin @from_plugin end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4061 4062 4063 4064 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 4061 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 |