Class: Google::Apis::SpannerV1::CreateInstanceRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SpannerV1::CreateInstanceRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/spanner_v1/classes.rb,
generated/google/apis/spanner_v1/representations.rb,
generated/google/apis/spanner_v1/representations.rb 
Overview
The request for CreateInstance.
Instance Attribute Summary collapse
- 
  
    
      #instance  ⇒ Google::Apis::SpannerV1::Instance 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An isolated set of Cloud Spanner resources on which databases can be hosted.
 - 
  
    
      #instance_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreateInstanceRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CreateInstanceRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateInstanceRequest
Returns a new instance of CreateInstanceRequest
      633 634 635  | 
    
      # File 'generated/google/apis/spanner_v1/classes.rb', line 633 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#instance ⇒ Google::Apis::SpannerV1::Instance
An isolated set of Cloud Spanner resources on which databases can be hosted.
Corresponds to the JSON property instance
      624 625 626  | 
    
      # File 'generated/google/apis/spanner_v1/classes.rb', line 624 def instance @instance end  | 
  
#instance_id ⇒ String
Required. The ID of the instance to create.  Valid identifiers are of the
form a-z*[a-z0-9] and must be between 6 and 30 characters in
length.
Corresponds to the JSON property instanceId
      631 632 633  | 
    
      # File 'generated/google/apis/spanner_v1/classes.rb', line 631 def instance_id @instance_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      638 639 640 641  | 
    
      # File 'generated/google/apis/spanner_v1/classes.rb', line 638 def update!(**args) @instance = args[:instance] if args.key?(:instance) @instance_id = args[:instance_id] if args.key?(:instance_id) end  |