Class: Google::Apis::WorkloadmanagerV1::Pacemaker
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::Pacemaker
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
Pacemaker configuration.
Instance Attribute Summary collapse
-
#bucket_name_node_certificates ⇒ String
Required.
-
#pacemaker_cluster ⇒ String
Required.
-
#pacemaker_cluster_secret ⇒ String
Required.
-
#pacemaker_cluster_username ⇒ String
Required.
-
#sql_pacemaker_secret ⇒ String
Required.
-
#sql_pacemaker_username ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pacemaker
constructor
A new instance of Pacemaker.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pacemaker
Returns a new instance of Pacemaker.
2206 2207 2208 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2206 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bucket_name_node_certificates ⇒ String
Required. Bucket location for node certificates.
Corresponds to the JSON property bucketNameNodeCertificates
2179 2180 2181 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2179 def bucket_name_node_certificates @bucket_name_node_certificates end |
#pacemaker_cluster ⇒ String
Required. Pacemaker cluster name.
Corresponds to the JSON property pacemakerCluster
2184 2185 2186 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2184 def pacemaker_cluster @pacemaker_cluster end |
#pacemaker_cluster_secret ⇒ String
Required. Pacemaker cluster secret name.
Corresponds to the JSON property pacemakerClusterSecret
2189 2190 2191 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2189 def pacemaker_cluster_secret @pacemaker_cluster_secret end |
#pacemaker_cluster_username ⇒ String
Required. Pacemaker cluster username.
Corresponds to the JSON property pacemakerClusterUsername
2194 2195 2196 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2194 def pacemaker_cluster_username @pacemaker_cluster_username end |
#sql_pacemaker_secret ⇒ String
Required. SQL Pacemaker secret name.
Corresponds to the JSON property sqlPacemakerSecret
2199 2200 2201 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2199 def sql_pacemaker_secret @sql_pacemaker_secret end |
#sql_pacemaker_username ⇒ String
Required. SQL Pacemaker username.
Corresponds to the JSON property sqlPacemakerUsername
2204 2205 2206 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2204 def sql_pacemaker_username @sql_pacemaker_username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2211 2212 2213 2214 2215 2216 2217 2218 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2211 def update!(**args) @bucket_name_node_certificates = args[:bucket_name_node_certificates] if args.key?(:bucket_name_node_certificates) @pacemaker_cluster = args[:pacemaker_cluster] if args.key?(:pacemaker_cluster) @pacemaker_cluster_secret = args[:pacemaker_cluster_secret] if args.key?(:pacemaker_cluster_secret) @pacemaker_cluster_username = args[:pacemaker_cluster_username] if args.key?(:pacemaker_cluster_username) @sql_pacemaker_secret = args[:sql_pacemaker_secret] if args.key?(:sql_pacemaker_secret) @sql_pacemaker_username = args[:sql_pacemaker_username] if args.key?(:sql_pacemaker_username) end |