Class: Google::Apis::ComposerV1::FetchDatabasePropertiesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::FetchDatabasePropertiesResponse
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
 lib/google/apis/composer_v1/representations.rb,
 lib/google/apis/composer_v1/representations.rb
Overview
Response for FetchDatabasePropertiesRequest.
Instance Attribute Summary collapse
- 
  
    
      #is_failover_replica_available  ⇒ Boolean 
    
    
      (also: #is_failover_replica_available?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    The availability status of the failover replica. 
- 
  
    
      #primary_gce_zone  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Compute Engine zone that the instance is currently serving from. 
- 
  
    
      #secondary_gce_zone  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FetchDatabasePropertiesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FetchDatabasePropertiesResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ FetchDatabasePropertiesResponse
Returns a new instance of FetchDatabasePropertiesResponse.
| 609 610 611 | # File 'lib/google/apis/composer_v1/classes.rb', line 609 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#is_failover_replica_available ⇒ Boolean Also known as: is_failover_replica_available?
The availability status of the failover replica. A false status indicates that
the failover replica is out of sync. The primary instance can only fail over
to the failover replica when the status is true.
Corresponds to the JSON property isFailoverReplicaAvailable
| 595 596 597 | # File 'lib/google/apis/composer_v1/classes.rb', line 595 def is_failover_replica_available @is_failover_replica_available end | 
#primary_gce_zone ⇒ String
The Compute Engine zone that the instance is currently serving from.
Corresponds to the JSON property primaryGceZone
| 601 602 603 | # File 'lib/google/apis/composer_v1/classes.rb', line 601 def primary_gce_zone @primary_gce_zone end | 
#secondary_gce_zone ⇒ String
The Compute Engine zone that the failover instance is currently serving from
for a regional Cloud SQL instance.
Corresponds to the JSON property secondaryGceZone
| 607 608 609 | # File 'lib/google/apis/composer_v1/classes.rb', line 607 def secondary_gce_zone @secondary_gce_zone end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 614 615 616 617 618 | # File 'lib/google/apis/composer_v1/classes.rb', line 614 def update!(**args) @is_failover_replica_available = args[:is_failover_replica_available] if args.key?(:is_failover_replica_available) @primary_gce_zone = args[:primary_gce_zone] if args.key?(:primary_gce_zone) @secondary_gce_zone = args[:secondary_gce_zone] if args.key?(:secondary_gce_zone) end |