Class: Google::Apis::SpannerV1::AddSplitPointsRequest
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::AddSplitPointsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb
Overview
The request for AddSplitPoints.
Instance Attribute Summary collapse
-
#initiator ⇒ String
Optional.
-
#split_points ⇒ Array<Google::Apis::SpannerV1::SplitPoints>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddSplitPointsRequest
constructor
A new instance of AddSplitPointsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddSplitPointsRequest
Returns a new instance of AddSplitPointsRequest.
163 164 165 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#initiator ⇒ String
Optional. A user-supplied tag associated with the split points. For example, "
initial_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if
not specified. The length of the tag must not exceed 50 characters, or else it
is trimmed. Only valid UTF8 characters are allowed.
Corresponds to the JSON property initiator
156 157 158 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 156 def initiator @initiator end |
#split_points ⇒ Array<Google::Apis::SpannerV1::SplitPoints>
Required. The split points to add.
Corresponds to the JSON property splitPoints
161 162 163 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 161 def split_points @split_points end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
168 169 170 171 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 168 def update!(**args) @initiator = args[:initiator] if args.key?(:initiator) @split_points = args[:split_points] if args.key?(:split_points) end |