Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::GenerateEphemeralCertRequest.
Ephemeral certificate creation request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_token
def access_token() -> ::String
Returns
- (::String) — Optional. Access token to include in the signed certificate.
#access_token=
def access_token=(value) -> ::String
Parameter
- value (::String) — Optional. Access token to include in the signed certificate.
Returns
- (::String) — Optional. Access token to include in the signed certificate.
#instance
def instance() -> ::String
Returns
- (::String) — Cloud SQL instance ID. This does not include the project ID.
#instance=
def instance=(value) -> ::String
Parameter
- value (::String) — Cloud SQL instance ID. This does not include the project ID.
Returns
- (::String) — Cloud SQL instance ID. This does not include the project ID.
#project
def project() -> ::String
Returns
- (::String) — Project ID of the project that contains the instance.
#project=
def project=(value) -> ::String
Parameter
- value (::String) — Project ID of the project that contains the instance.
Returns
- (::String) — Project ID of the project that contains the instance.
#public_key
def public_key() -> ::String
Returns
- (::String) — PEM encoded public key to include in the signed certificate.
#public_key=
def public_key=(value) -> ::String
Parameter
- value (::String) — PEM encoded public key to include in the signed certificate.
Returns
- (::String) — PEM encoded public key to include in the signed certificate.
#read_time
def read_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. Optional snapshot read timestamp to trade freshness for performance.
#read_time=
def read_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. Optional snapshot read timestamp to trade freshness for performance.
Returns
- (::Google::Protobuf::Timestamp) — Optional. Optional snapshot read timestamp to trade freshness for performance.
#valid_duration
def valid_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. If set, it will contain the cert valid duration.
#valid_duration=
def valid_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. If set, it will contain the cert valid duration.
Returns
- (::Google::Protobuf::Duration) — Optional. If set, it will contain the cert valid duration.