Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageIoStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotResourceUsageIoStats

Returns a new instance of GoogleDevtoolsRemotebuildbotResourceUsageIoStats.



2414
2415
2416
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2414

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#read_bytes_countFixnum

Corresponds to the JSON property readBytesCount

Returns:

  • (Fixnum)


2387
2388
2389
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2387

def read_bytes_count
  @read_bytes_count
end

#read_countFixnum

Corresponds to the JSON property readCount

Returns:

  • (Fixnum)


2392
2393
2394
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2392

def read_count
  @read_count
end

#read_time_msFixnum

Corresponds to the JSON property readTimeMs

Returns:

  • (Fixnum)


2397
2398
2399
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2397

def read_time_ms
  @read_time_ms
end

#write_bytes_countFixnum

Corresponds to the JSON property writeBytesCount

Returns:

  • (Fixnum)


2402
2403
2404
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2402

def write_bytes_count
  @write_bytes_count
end

#write_countFixnum

Corresponds to the JSON property writeCount

Returns:

  • (Fixnum)


2407
2408
2409
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2407

def write_count
  @write_count
end

#write_time_msFixnum

Corresponds to the JSON property writeTimeMs

Returns:

  • (Fixnum)


2412
2413
2414
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2412

def write_time_ms
  @write_time_ms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2419
2420
2421
2422
2423
2424
2425
2426
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2419

def update!(**args)
  @read_bytes_count = args[:read_bytes_count] if args.key?(:read_bytes_count)
  @read_count = args[:read_count] if args.key?(:read_count)
  @read_time_ms = args[:read_time_ms] if args.key?(:read_time_ms)
  @write_bytes_count = args[:write_bytes_count] if args.key?(:write_bytes_count)
  @write_count = args[:write_count] if args.key?(:write_count)
  @write_time_ms = args[:write_time_ms] if args.key?(:write_time_ms)
end