google-apis-monitoring_v1 0.34.0 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbd82e08f32f5205ca09becb92c4594e769d46baa946b18a53c2d4c227177ea5
4
- data.tar.gz: 3ec4f45b5b7187e53b83d1b691b26acd06e98c72255b7e8df0d36d924ded6c2f
3
+ metadata.gz: 5ae0bb770aac242b033db51eff7609e744da61f90c91581ffa2d200a0cbc1c5d
4
+ data.tar.gz: 173975270960c34298fb4ee81fea6c5026d1ac09d1ed79532d3cfd6c1ebbf980
5
5
  SHA512:
6
- metadata.gz: e4b35319a3bb897341b1ae9774628090f89fcdb1d3352bdbd60cecc47834712847a92c6352606385273511d13454607f350abd15358575998edaba3e0098914e
7
- data.tar.gz: abdc43fd108e840137f7dfb68339a31d11eea6f608e32a337ef569c8984bb0fe6efca89c81f6620cb79fdfc89fb9d1db779f133d0b50301a1c5f67e55783bd64
6
+ metadata.gz: 011c909740f5daad3bbe7968b18fb5d7caa5d92a56c173acbca00729b13fe846303f45b9a902503b88a05254e92586189a4c105fb2d580b0fefb907f1aa79a03
7
+ data.tar.gz: 03e1c8027f181256b8ee5a5b6c6082d7f4d1a0e4e00f8a899d09b4fa0c15421dc911d5409cc66e59255496253734db938e75c89a73b847f86c15b24f4a530928
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.36.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230320
6
+
7
+ ### v0.35.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230220
10
+
3
11
  ### v0.34.0 (2023-02-19)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -668,6 +668,36 @@ module Google
668
668
  end
669
669
  end
670
670
 
671
+ # A widget that displays a list of incidents
672
+ class IncidentList
673
+ include Google::Apis::Core::Hashable
674
+
675
+ # Optional. The monitored resource for which incidents are listed. The resource
676
+ # doesn't need to be fully specified. That is, you can specify the resource type
677
+ # but not the values of the resource labels. The resource type and labels are
678
+ # used for filtering.
679
+ # Corresponds to the JSON property `monitoredResources`
680
+ # @return [Array<Google::Apis::MonitoringV1::MonitoredResource>]
681
+ attr_accessor :monitored_resources
682
+
683
+ # Optional. A list of alert policy names to filter the incident list by. Don't
684
+ # include the project ID prefix in the policy name. For example, use
685
+ # alertPolicies/utilization.
686
+ # Corresponds to the JSON property `policyNames`
687
+ # @return [Array<String>]
688
+ attr_accessor :policy_names
689
+
690
+ def initialize(**args)
691
+ update!(**args)
692
+ end
693
+
694
+ # Update properties of this object
695
+ def update!(**args)
696
+ @monitored_resources = args[:monitored_resources] if args.key?(:monitored_resources)
697
+ @policy_names = args[:policy_names] if args.key?(:policy_names)
698
+ end
699
+ end
700
+
671
701
  # The ListDashboards request.
672
702
  class ListDashboardsResponse
673
703
  include Google::Apis::Core::Hashable
@@ -850,6 +880,46 @@ module Google
850
880
  end
851
881
  end
852
882
 
883
+ # An object representing a resource that can be used for monitoring, logging,
884
+ # billing, or other purposes. Examples include virtual machine instances,
885
+ # databases, and storage devices such as disks. The type field identifies a
886
+ # MonitoredResourceDescriptor object that describes the resource's schema.
887
+ # Information in the labels field identifies the actual resource and its
888
+ # attributes according to the schema. For example, a particular Compute Engine
889
+ # VM instance could be represented by the following object, because the
890
+ # MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "
891
+ # instance_id" and "zone": ` "type": "gce_instance", "labels": ` "project_id": "
892
+ # my-project", "instance_id": "12345678901234", "zone": "us-central1-a" ``
893
+ class MonitoredResource
894
+ include Google::Apis::Core::Hashable
895
+
896
+ # Required. Values for all of the labels listed in the associated monitored
897
+ # resource descriptor. For example, Compute Engine VM instances use the labels "
898
+ # project_id", "instance_id", and "zone".
899
+ # Corresponds to the JSON property `labels`
900
+ # @return [Hash<String,String>]
901
+ attr_accessor :labels
902
+
903
+ # Required. The monitored resource type. This field must match the type field of
904
+ # a MonitoredResourceDescriptor object. For example, the type of a Compute
905
+ # Engine VM instance is gce_instance. For a list of types, see Monitoring
906
+ # resource types (https://cloud.google.com/monitoring/api/resources) and Logging
907
+ # resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
908
+ # Corresponds to the JSON property `type`
909
+ # @return [String]
910
+ attr_accessor :type
911
+
912
+ def initialize(**args)
913
+ update!(**args)
914
+ end
915
+
916
+ # Update properties of this object
917
+ def update!(**args)
918
+ @labels = args[:labels] if args.key?(:labels)
919
+ @type = args[:type] if args.key?(:type)
920
+ end
921
+ end
922
+
853
923
  # A mosaic layout divides the available space into a grid of blocks, and
854
924
  # overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid
855
925
  # blocks and can be placed at arbitrary locations in the grid.
@@ -1932,6 +2002,11 @@ module Google
1932
2002
  class Type
1933
2003
  include Google::Apis::Core::Hashable
1934
2004
 
2005
+ # The source edition string, only valid when syntax is SYNTAX_EDITIONS.
2006
+ # Corresponds to the JSON property `edition`
2007
+ # @return [String]
2008
+ attr_accessor :edition
2009
+
1935
2010
  # The list of fields.
1936
2011
  # Corresponds to the JSON property `fields`
1937
2012
  # @return [Array<Google::Apis::MonitoringV1::Field>]
@@ -1969,6 +2044,7 @@ module Google
1969
2044
 
1970
2045
  # Update properties of this object
1971
2046
  def update!(**args)
2047
+ @edition = args[:edition] if args.key?(:edition)
1972
2048
  @fields = args[:fields] if args.key?(:fields)
1973
2049
  @name = args[:name] if args.key?(:name)
1974
2050
  @oneofs = args[:oneofs] if args.key?(:oneofs)
@@ -2002,6 +2078,11 @@ module Google
2002
2078
  # @return [Google::Apis::MonitoringV1::CollapsibleGroup]
2003
2079
  attr_accessor :collapsible_group
2004
2080
 
2081
+ # A widget that displays a list of incidents
2082
+ # Corresponds to the JSON property `incidentList`
2083
+ # @return [Google::Apis::MonitoringV1::IncidentList]
2084
+ attr_accessor :incident_list
2085
+
2005
2086
  # A widget that displays a stream of log.
2006
2087
  # Corresponds to the JSON property `logsPanel`
2007
2088
  # @return [Google::Apis::MonitoringV1::LogsPanel]
@@ -2042,6 +2123,7 @@ module Google
2042
2123
  @alert_chart = args[:alert_chart] if args.key?(:alert_chart)
2043
2124
  @blank = args[:blank] if args.key?(:blank)
2044
2125
  @collapsible_group = args[:collapsible_group] if args.key?(:collapsible_group)
2126
+ @incident_list = args[:incident_list] if args.key?(:incident_list)
2045
2127
  @logs_panel = args[:logs_panel] if args.key?(:logs_panel)
2046
2128
  @scorecard = args[:scorecard] if args.key?(:scorecard)
2047
2129
  @text = args[:text] if args.key?(:text)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MonitoringV1
18
18
  # Version of the google-apis-monitoring_v1 gem
19
- GEM_VERSION = "0.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230130"
25
+ REVISION = "20230320"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class IncidentList
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class ListDashboardsResponse
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -160,6 +166,12 @@ module Google
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
169
+ class MonitoredResource
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
163
175
  class MosaicLayout
164
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
177
 
@@ -502,6 +514,15 @@ module Google
502
514
  end
503
515
  end
504
516
 
517
+ class IncidentList
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::MonitoringV1::MonitoredResource, decorator: Google::Apis::MonitoringV1::MonitoredResource::Representation
521
+
522
+ collection :policy_names, as: 'policyNames'
523
+ end
524
+ end
525
+
505
526
  class ListDashboardsResponse
506
527
  # @private
507
528
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -555,6 +576,14 @@ module Google
555
576
  end
556
577
  end
557
578
 
579
+ class MonitoredResource
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ hash :labels, as: 'labels'
583
+ property :type, as: 'type'
584
+ end
585
+ end
586
+
558
587
  class MosaicLayout
559
588
  # @private
560
589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -826,6 +855,7 @@ module Google
826
855
  class Type
827
856
  # @private
828
857
  class Representation < Google::Apis::Core::JsonRepresentation
858
+ property :edition, as: 'edition'
829
859
  collection :fields, as: 'fields', class: Google::Apis::MonitoringV1::Field, decorator: Google::Apis::MonitoringV1::Field::Representation
830
860
 
831
861
  property :name, as: 'name'
@@ -847,6 +877,8 @@ module Google
847
877
 
848
878
  property :collapsible_group, as: 'collapsibleGroup', class: Google::Apis::MonitoringV1::CollapsibleGroup, decorator: Google::Apis::MonitoringV1::CollapsibleGroup::Representation
849
879
 
880
+ property :incident_list, as: 'incidentList', class: Google::Apis::MonitoringV1::IncidentList, decorator: Google::Apis::MonitoringV1::IncidentList::Representation
881
+
850
882
  property :logs_panel, as: 'logsPanel', class: Google::Apis::MonitoringV1::LogsPanel, decorator: Google::Apis::MonitoringV1::LogsPanel::Representation
851
883
 
852
884
  property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-monitoring_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-monitoring_v1
63
63
  post_install_message:
64
64
  rdoc_options: []