class Google::Apis::DeploymentmanagerAlpha::Credential
The credential used by Deployment
Manager and TypeProvider
. Only one of the options is permitted.
Attributes
basic_auth[RW]
Basic Auth used as a credential. Corresponds to the JSON property `basicAuth` @return [Google::Apis::DeploymentmanagerAlpha::BasicAuth]
service_account[RW]
Service Account used as a credential. Corresponds to the JSON property `serviceAccount` @return [Google::Apis::DeploymentmanagerAlpha::ServiceAccount]
use_project_default[RW]
Specify to use the project default credential, only supported by Deployment
. Corresponds to the JSON property `useProjectDefault` @return [Boolean]
use_project_default?[RW]
Specify to use the project default credential, only supported by Deployment
. Corresponds to the JSON property `useProjectDefault` @return [Boolean]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 463 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/deploymentmanager_alpha/classes.rb, line 468 def update!(**args) @basic_auth = args[:basic_auth] if args.key?(:basic_auth) @service_account = args[:service_account] if args.key?(:service_account) @use_project_default = args[:use_project_default] if args.key?(:use_project_default) end