Class: Google::Apis::DeploymentmanagerV2beta::Credential
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerV2beta::Credential
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/deploymentmanager_v2beta/classes.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb,
generated/google/apis/deploymentmanager_v2beta/representations.rb
Overview
Credential used by ConfigurableResourceTypes.
Instance Attribute Summary collapse
-
#basic_auth ⇒ Google::Apis::DeploymentmanagerV2beta::BasicAuth
Basic Auth used as a credential.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Credential
constructor
A new instance of Credential.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Credential
Returns a new instance of Credential
460 461 462 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#basic_auth ⇒ Google::Apis::DeploymentmanagerV2beta::BasicAuth
Basic Auth used as a credential.
Corresponds to the JSON property basicAuth
458 459 460 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 458 def basic_auth @basic_auth end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
465 466 467 |
# File 'generated/google/apis/deploymentmanager_v2beta/classes.rb', line 465 def update!(**args) @basic_auth = args[:basic_auth] if args.key?(:basic_auth) end |