Class: Google::Apis::DeploymentmanagerV2beta::Credential

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_authGoogle::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