Class: Google::Apis::CloudmonitoringV2beta2::WriteTimeseriesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudmonitoring_v2beta2/classes.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb

Overview

The response of cloudmonitoring.timeseries.write

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WriteTimeseriesResponse

Returns a new instance of WriteTimeseriesResponse.



668
669
670
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 668

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " cloudmonitoring#writeTimeseriesResponse". Corresponds to the JSON property kind

Returns:

  • (String)


666
667
668
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 666

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



673
674
675
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 673

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
end