Class: Google::Apis::SqladminV1beta3::SslCert
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta3::SslCert
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta3/classes.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb
Overview
SslCerts Resource
Instance Attribute Summary collapse
-
#cert ⇒ String
PEM representation.
-
#cert_serial_number ⇒ String
Serial number, as extracted from the certificate.
-
#common_name ⇒ String
User supplied name.
-
#create_time ⇒ DateTime
Time when the certificate was created.
-
#expiration_time ⇒ DateTime
Time when the certificate expires.
-
#instance ⇒ String
Name of the database instance.
-
#kind ⇒ String
This is always sql#sslCert.
-
#sha1_fingerprint ⇒ String
Sha1 Fingerprint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SslCert
constructor
A new instance of SslCert.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SslCert
Returns a new instance of SslCert
1398 1399 1400 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cert ⇒ String
PEM representation.
Corresponds to the JSON property cert
1361 1362 1363 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1361 def cert @cert end |
#cert_serial_number ⇒ String
Serial number, as extracted from the certificate.
Corresponds to the JSON property certSerialNumber
1366 1367 1368 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1366 def cert_serial_number @cert_serial_number end |
#common_name ⇒ String
User supplied name. Constrained to [a-zA-Z.-_ ]+.
Corresponds to the JSON property commonName
1371 1372 1373 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1371 def common_name @common_name end |
#create_time ⇒ DateTime
Time when the certificate was created.
Corresponds to the JSON property createTime
1376 1377 1378 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1376 def create_time @create_time end |
#expiration_time ⇒ DateTime
Time when the certificate expires.
Corresponds to the JSON property expirationTime
1381 1382 1383 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1381 def expiration_time @expiration_time end |
#instance ⇒ String
Name of the database instance.
Corresponds to the JSON property instance
1386 1387 1388 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1386 def instance @instance end |
#kind ⇒ String
This is always sql#sslCert.
Corresponds to the JSON property kind
1391 1392 1393 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1391 def kind @kind end |
#sha1_fingerprint ⇒ String
Sha1 Fingerprint.
Corresponds to the JSON property sha1Fingerprint
1396 1397 1398 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1396 def sha1_fingerprint @sha1_fingerprint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 |
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1403 def update!(**args) @cert = args[:cert] if args.key?(:cert) @cert_serial_number = args[:cert_serial_number] if args.key?(:cert_serial_number) @common_name = args[:common_name] if args.key?(:common_name) @create_time = args[:create_time] if args.key?(:create_time) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @instance = args[:instance] if args.key?(:instance) @kind = args[:kind] if args.key?(:kind) @sha1_fingerprint = args[:sha1_fingerprint] if args.key?(:sha1_fingerprint) end |