Class: Google::Apis::DatamigrationV1::SequenceEntity
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::SequenceEntity
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
 lib/google/apis/datamigration_v1/representations.rb,
 lib/google/apis/datamigration_v1/representations.rb
Overview
Sequence's parent is a schema.
Instance Attribute Summary collapse
- 
  
    
      #cache  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates number of entries to cache / precreate. 
- 
  
    
      #custom_features  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Custom engine specific features. 
- 
  
    
      #cycle  ⇒ Boolean 
    
    
      (also: #cycle?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates whether the sequence value should cycle through. 
- 
  
    
      #increment  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Increment value for the sequence. 
- 
  
    
      #max_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Maximum number for the sequence represented as bytes to accommodate large. 
- 
  
    
      #min_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Minimum number for the sequence represented as bytes to accommodate large. 
- 
  
    
      #start_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Start number for the sequence represented as bytes to accommodate large. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SequenceEntity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SequenceEntity. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ SequenceEntity
Returns a new instance of SequenceEntity.
| 4019 4020 4021 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4019 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#cache ⇒ Fixnum
Indicates number of entries to cache / precreate.
Corresponds to the JSON property cache
| 3980 3981 3982 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3980 def cache @cache end | 
#custom_features ⇒ Hash<String,Object>
Custom engine specific features.
Corresponds to the JSON property customFeatures
| 3985 3986 3987 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3985 def custom_features @custom_features end | 
#cycle ⇒ Boolean Also known as: cycle?
Indicates whether the sequence value should cycle through.
Corresponds to the JSON property cycle
| 3990 3991 3992 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3990 def cycle @cycle end | 
#increment ⇒ Fixnum
Increment value for the sequence.
Corresponds to the JSON property increment
| 3996 3997 3998 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 3996 def increment @increment end | 
#max_value ⇒ String
Maximum number for the sequence represented as bytes to accommodate large.
numbers
Corresponds to the JSON property maxValue
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 4003 4004 4005 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4003 def max_value @max_value end | 
#min_value ⇒ String
Minimum number for the sequence represented as bytes to accommodate large.
numbers
Corresponds to the JSON property minValue
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 4010 4011 4012 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4010 def min_value @min_value end | 
#start_value ⇒ String
Start number for the sequence represented as bytes to accommodate large.
numbers
Corresponds to the JSON property startValue
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 4017 4018 4019 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4017 def start_value @start_value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4024 4025 4026 4027 4028 4029 4030 4031 4032 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4024 def update!(**args) @cache = args[:cache] if args.key?(:cache) @custom_features = args[:custom_features] if args.key?(:custom_features) @cycle = args[:cycle] if args.key?(:cycle) @increment = args[:increment] if args.key?(:increment) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) @start_value = args[:start_value] if args.key?(:start_value) end |