Class: Google::Apis::RedisV1::RemoteCluster
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::RemoteCluster
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb 
Overview
Details of the remote cluster associated with this cluster in a cross cluster replication setup.
Instance Attribute Summary collapse
- 
  
    
      #cluster  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The full resource path of the remote cluster in the format: projects// locations//clusters/ Corresponds to the JSON property
cluster. - 
  
    
      #uid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RemoteCluster 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RemoteCluster.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ RemoteCluster
Returns a new instance of RemoteCluster.
      2816 2817 2818  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2816 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#cluster ⇒ String
The full resource path of the remote cluster in the format: projects//
locations//clusters/
Corresponds to the JSON property cluster
      2809 2810 2811  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2809 def cluster @cluster end  | 
  
#uid ⇒ String
Output only. The unique identifier of the remote cluster.
Corresponds to the JSON property uid
      2814 2815 2816  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2814 def uid @uid end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2821 2822 2823 2824  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2821 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @uid = args[:uid] if args.key?(:uid) end  |