Class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1beta4::OnPremisesConfiguration
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/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.
 - 
  
    
      #source_instance  ⇒ Google::Apis::SqladminV1beta4::InstanceReference 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Reference to another Cloud SQL 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.
      2970 2971 2972  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2970 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
      2927 2928 2929  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2927 def ca_certificate @ca_certificate end  | 
  
#client_certificate ⇒ String
PEM representation of the replica's x509 certificate.
Corresponds to the JSON property clientCertificate
      2932 2933 2934  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2932 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
      2938 2939 2940  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2938 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
      2943 2944 2945  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2943 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
      2948 2949 2950  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2948 def host_port @host_port end  | 
  
#kind ⇒ String
This is always sql#onPremisesConfiguration.
Corresponds to the JSON property kind
      2953 2954 2955  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2953 def kind @kind end  | 
  
#password ⇒ String
The password for connecting to on-premises instance.
Corresponds to the JSON property password
      2958 2959 2960  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2958 def password @password end  | 
  
#source_instance ⇒ Google::Apis::SqladminV1beta4::InstanceReference
Reference to another Cloud SQL instance.
Corresponds to the JSON property sourceInstance
      2963 2964 2965  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2963 def source_instance @source_instance end  | 
  
#username ⇒ String
The username for connecting to on-premises instance.
Corresponds to the JSON property username
      2968 2969 2970  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2968 def username @username end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2975 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) @source_instance = args[:source_instance] if args.key?(:source_instance) @username = args[:username] if args.key?(:username) end  |