Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Disable validation warnings
Instance Attribute Summary collapse
-
#automatic_failover_routing_configured ⇒ Boolean
(also: #automatic_failover_routing_configured?)
Disable validation warnings Corresponds to the JSON property
automaticFailoverRoutingConfigured. -
#availability_type ⇒ String
Disable validation warnings Corresponds to the JSON property
availabilityType. -
#cross_region_replica_configured ⇒ Boolean
(also: #cross_region_replica_configured?)
Disable validation warnings Corresponds to the JSON property
crossRegionReplicaConfigured. -
#external_replica_configured ⇒ Boolean
(also: #external_replica_configured?)
Disable validation warnings Corresponds to the JSON property
externalReplicaConfigured. -
#promotable_replica_configured ⇒ Boolean
(also: #promotable_replica_configured?)
Disable validation warnings Corresponds to the JSON property
promotableReplicaConfigured.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
Returns a new instance of StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration.
3993 3994 3995 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automatic_failover_routing_configured ⇒ Boolean Also known as: automatic_failover_routing_configured?
Disable validation warnings
Corresponds to the JSON property automaticFailoverRoutingConfigured
3967 3968 3969 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3967 def automatic_failover_routing_configured @automatic_failover_routing_configured end |
#availability_type ⇒ String
Disable validation warnings
Corresponds to the JSON property availabilityType
3973 3974 3975 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3973 def availability_type @availability_type end |
#cross_region_replica_configured ⇒ Boolean Also known as: cross_region_replica_configured?
Disable validation warnings
Corresponds to the JSON property crossRegionReplicaConfigured
3978 3979 3980 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3978 def cross_region_replica_configured @cross_region_replica_configured end |
#external_replica_configured ⇒ Boolean Also known as: external_replica_configured?
Disable validation warnings
Corresponds to the JSON property externalReplicaConfigured
3984 3985 3986 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3984 def external_replica_configured @external_replica_configured end |
#promotable_replica_configured ⇒ Boolean Also known as: promotable_replica_configured?
Disable validation warnings
Corresponds to the JSON property promotableReplicaConfigured
3990 3991 3992 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3990 def promotable_replica_configured @promotable_replica_configured end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3998 3999 4000 4001 4002 4003 4004 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3998 def update!(**args) @automatic_failover_routing_configured = args[:automatic_failover_routing_configured] if args.key?(:automatic_failover_routing_configured) @availability_type = args[:availability_type] if args.key?(:availability_type) @cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured) @external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured) @promotable_replica_configured = args[:promotable_replica_configured] if args.key?(:promotable_replica_configured) end |