class Google::Apis::TestingV1::Shard
Output only. Details about the shard.
Attributes
num_shards[RW]
Output only. The total number of shards. Corresponds to the JSON property `numShards` @return [Fixnum]
shard_index[RW]
Output only. The index of the shard among all the shards. Corresponds to the JSON property `shardIndex` @return [Fixnum]
test_targets_for_shard[RW]
Test targets for a shard. Corresponds to the JSON property `testTargetsForShard` @return [Google::Apis::TestingV1::TestTargetsForShard]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 1923 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/testing_v1/classes.rb, line 1928 def update!(**args) @num_shards = args[:num_shards] if args.key?(:num_shards) @shard_index = args[:shard_index] if args.key?(:shard_index) @test_targets_for_shard = args[:test_targets_for_shard] if args.key?(:test_targets_for_shard) end