class Google::Apis::DeploymentmanagerV2beta::BasicAuth
Basic Auth used as a credential.
Attributes
password[RW]
Corresponds to the JSON property `password` @return [String]
user[RW]
Corresponds to the JSON property `user` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/deploymentmanager_v2beta/classes.rb, line 175 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_v2beta/classes.rb, line 180 def update!(**args) @password = args[:password] if args.key?(:password) @user = args[:user] if args.key?(:user) end