Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageIoStats

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildbotResourceUsageIoStats

Returns a new instance of GoogleDevtoolsRemotebuildbotResourceUsageIoStats.



1730
1731
1732
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1730

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

Instance Attribute Details

#read_bytes_countFixnum

Corresponds to the JSON property readBytesCount

Returns:

  • (Fixnum)


1703
1704
1705
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1703

def read_bytes_count
  @read_bytes_count
end

#read_countFixnum

Corresponds to the JSON property readCount

Returns:

  • (Fixnum)


1708
1709
1710
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1708

def read_count
  @read_count
end

#read_time_msFixnum

Corresponds to the JSON property readTimeMs

Returns:

  • (Fixnum)


1713
1714
1715
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1713

def read_time_ms
  @read_time_ms
end

#write_bytes_countFixnum

Corresponds to the JSON property writeBytesCount

Returns:

  • (Fixnum)


1718
1719
1720
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1718

def write_bytes_count
  @write_bytes_count
end

#write_countFixnum

Corresponds to the JSON property writeCount

Returns:

  • (Fixnum)


1723
1724
1725
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1723

def write_count
  @write_count
end

#write_time_msFixnum

Corresponds to the JSON property writeTimeMs

Returns:

  • (Fixnum)


1728
1729
1730
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1728

def write_time_ms
  @write_time_ms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1735
1736
1737
1738
1739
1740
1741
1742
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1735

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