Class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::OnPremisesConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb
Overview
On-premises instance configuration.
Instance Attribute Summary collapse
-
#ca_certificate ⇒ String
PEM representation of the trusted CA's x509 certificate.
-
#client_certificate ⇒ String
PEM representation of the replica's x509 certificate.
-
#client_key ⇒ String
PEM representation of the replica's private key.
-
#dump_file_path ⇒ String
The dump file to create the Cloud SQL replica.
-
#host_port ⇒ String
The host and port of the on-premises instance in host:port format Corresponds to the JSON property
hostPort
. -
#kind ⇒ String
This is always sql#onPremisesConfiguration.
-
#password ⇒ String
The password for connecting to on-premises instance.
-
#username ⇒ String
The username for connecting to on-premises instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OnPremisesConfiguration
constructor
A new instance of OnPremisesConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OnPremisesConfiguration
Returns a new instance of OnPremisesConfiguration.
2008 2009 2010 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ca_certificate ⇒ String
PEM representation of the trusted CA's x509 certificate.
Corresponds to the JSON property caCertificate
1970 1971 1972 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1970 def ca_certificate @ca_certificate end |
#client_certificate ⇒ String
PEM representation of the replica's x509 certificate.
Corresponds to the JSON property clientCertificate
1975 1976 1977 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1975 def client_certificate @client_certificate end |
#client_key ⇒ String
PEM representation of the replica's private key. The corresponsing public key
is encoded in the client's certificate.
Corresponds to the JSON property clientKey
1981 1982 1983 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1981 def client_key @client_key end |
#dump_file_path ⇒ String
The dump file to create the Cloud SQL replica.
Corresponds to the JSON property dumpFilePath
1986 1987 1988 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1986 def dump_file_path @dump_file_path end |
#host_port ⇒ String
The host and port of the on-premises instance in host:port format
Corresponds to the JSON property hostPort
1991 1992 1993 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1991 def host_port @host_port end |
#kind ⇒ String
This is always sql#onPremisesConfiguration.
Corresponds to the JSON property kind
1996 1997 1998 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1996 def kind @kind end |
#password ⇒ String
The password for connecting to on-premises instance.
Corresponds to the JSON property password
2001 2002 2003 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2001 def password @password end |
#username ⇒ String
The username for connecting to on-premises instance.
Corresponds to the JSON property username
2006 2007 2008 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2006 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2013 def update!(**args) @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate) @client_certificate = args[:client_certificate] if args.key?(:client_certificate) @client_key = args[:client_key] if args.key?(:client_key) @dump_file_path = args[:dump_file_path] if args.key?(:dump_file_path) @host_port = args[:host_port] if args.key?(:host_port) @kind = args[:kind] if args.key?(:kind) @password = args[:password] if args.key?(:password) @username = args[:username] if args.key?(:username) end |