Class: Google::Apis::WorkloadmanagerV1::Pacemaker

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_certificatesString

Required. bucket location for node certificates Corresponds to the JSON property bucketNameNodeCertificates

Returns:

  • (String)


2177
2178
2179
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2177

def bucket_name_node_certificates
  @bucket_name_node_certificates
end

#pacemaker_clusterString

Required. pacemaker cluster name Corresponds to the JSON property pacemakerCluster

Returns:

  • (String)


2182
2183
2184
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2182

def pacemaker_cluster
  @pacemaker_cluster
end

#pacemaker_cluster_secretString

Required. pacemaker cluster secret name Corresponds to the JSON property pacemakerClusterSecret

Returns:

  • (String)


2187
2188
2189
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2187

def pacemaker_cluster_secret
  @pacemaker_cluster_secret
end

#pacemaker_cluster_usernameString

Required. pacemaker cluster username Corresponds to the JSON property pacemakerClusterUsername

Returns:

  • (String)


2192
2193
2194
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2192

def pacemaker_cluster_username
  @pacemaker_cluster_username
end

#sql_pacemaker_secretString

Required. sql pacemaker secret name Corresponds to the JSON property sqlPacemakerSecret

Returns:

  • (String)


2197
2198
2199
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2197

def sql_pacemaker_secret
  @sql_pacemaker_secret
end

#sql_pacemaker_usernameString

Required. sql pacemaker username Corresponds to the JSON property sqlPacemakerUsername

Returns:

  • (String)


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