Class: Google::Apis::ManagedidentitiesV1alpha1::ResetAdminPasswordResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/managedidentities_v1alpha1/classes.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResetAdminPasswordResponse

Returns a new instance of ResetAdminPasswordResponse.



2086
2087
2088
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 2086

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#password ⇒ String

A random password. See admin for more information. Corresponds to the JSON property password

Returns:

  • (String)


2084
2085
2086
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 2084

def password
  @password
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2091
2092
2093
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 2091

def update!(**args)
  @password = args[:password] if args.key?(:password)
end