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.
2204 2205 2206 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2204 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
2177 2178 2179 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2177 def bucket_name_node_certificates @bucket_name_node_certificates end |
#pacemaker_cluster ⇒ String
Required. pacemaker cluster name
Corresponds to the JSON property pacemakerCluster
2182 2183 2184 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2182 def pacemaker_cluster @pacemaker_cluster end |
#pacemaker_cluster_secret ⇒ String
Required. pacemaker cluster secret name
Corresponds to the JSON property pacemakerClusterSecret
2187 2188 2189 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2187 def pacemaker_cluster_secret @pacemaker_cluster_secret end |
#pacemaker_cluster_username ⇒ String
Required. pacemaker cluster username
Corresponds to the JSON property pacemakerClusterUsername
2192 2193 2194 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2192 def pacemaker_cluster_username @pacemaker_cluster_username end |
#sql_pacemaker_secret ⇒ String
Required. sql pacemaker secret name
Corresponds to the JSON property sqlPacemakerSecret
2197 2198 2199 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2197 def sql_pacemaker_secret @sql_pacemaker_secret end |
#sql_pacemaker_username ⇒ String
Required. sql pacemaker username
Corresponds to the JSON property sqlPacemakerUsername
2202 2203 2204 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2202 def sql_pacemaker_username @sql_pacemaker_username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2209 2210 2211 2212 2213 2214 2215 2216 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2209 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 |