Class: Google::Apis::OracledatabaseV1::GenerateAutonomousDatabaseWalletRequest

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

Overview

The request for AutonomousDatabase.GenerateWallet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateAutonomousDatabaseWalletRequest

Returns a new instance of GenerateAutonomousDatabaseWalletRequest.



2078
2079
2080
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2078

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

Instance Attribute Details

#is_regionalBoolean Also known as: is_regional?

Optional. True when requesting regional connection strings in PDB connect info, applicable to cross-region Data Guard only. Corresponds to the JSON property isRegional

Returns:

  • (Boolean)


2063
2064
2065
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2063

def is_regional
  @is_regional
end

#passwordString

Required. The password used to encrypt the keys inside the wallet. The password must be a minimum of 8 characters. Corresponds to the JSON property password

Returns:

  • (String)


2070
2071
2072
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2070

def password
  @password
end

#typeString

Optional. The type of wallet generation for the Autonomous Database. The default value is SINGLE. Corresponds to the JSON property type

Returns:

  • (String)


2076
2077
2078
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2076

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2083
2084
2085
2086
2087
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2083

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