Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageIoStats

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotResourceUsageIoStats

Returns a new instance of GoogleDevtoolsRemotebuildbotResourceUsageIoStats.



1749
1750
1751
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1749

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

Instance Attribute Details

#read_bytes_countFixnum

Corresponds to the JSON property readBytesCount

Returns:

  • (Fixnum)


1722
1723
1724
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1722

def read_bytes_count
  @read_bytes_count
end

#read_countFixnum

Corresponds to the JSON property readCount

Returns:

  • (Fixnum)


1727
1728
1729
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1727

def read_count
  @read_count
end

#read_time_msFixnum

Corresponds to the JSON property readTimeMs

Returns:

  • (Fixnum)


1732
1733
1734
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1732

def read_time_ms
  @read_time_ms
end

#write_bytes_countFixnum

Corresponds to the JSON property writeBytesCount

Returns:

  • (Fixnum)


1737
1738
1739
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1737

def write_bytes_count
  @write_bytes_count
end

#write_countFixnum

Corresponds to the JSON property writeCount

Returns:

  • (Fixnum)


1742
1743
1744
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1742

def write_count
  @write_count
end

#write_time_msFixnum

Corresponds to the JSON property writeTimeMs

Returns:

  • (Fixnum)


1747
1748
1749
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1747

def write_time_ms
  @write_time_ms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1754
1755
1756
1757
1758
1759
1760
1761
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 1754

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