google-apis-monitoring_v1 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71b39383f073327941b3db9e177dd6b99673e1875cf6e911f184c56c974526af
|
4
|
+
data.tar.gz: 71f3d92f8abf7a5843806460fb9cb13de6171aaca614550949a2270eb21c2706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5405b03e7516cc208615053ee74e416b5b73d21ba1376b01251b25d56aa33075fccfc68fed87bc15c5d07ede56fa9d9606ae57d9ef604b3a7b11767227008ba3
|
7
|
+
data.tar.gz: 5a266026372beb60fe0e2ac9e6cffc40b2a5d3fa9ccf36bc88b3dd5674b5d6a24ca724f6bbad28973ad98b33d27a126743a9109e7b631680c75e53d374036074
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
@@ -2002,6 +2072,11 @@ module Google
|
|
2002
2072
|
# @return [Google::Apis::MonitoringV1::CollapsibleGroup]
|
2003
2073
|
attr_accessor :collapsible_group
|
2004
2074
|
|
2075
|
+
# A widget that displays a list of incidents
|
2076
|
+
# Corresponds to the JSON property `incidentList`
|
2077
|
+
# @return [Google::Apis::MonitoringV1::IncidentList]
|
2078
|
+
attr_accessor :incident_list
|
2079
|
+
|
2005
2080
|
# A widget that displays a stream of log.
|
2006
2081
|
# Corresponds to the JSON property `logsPanel`
|
2007
2082
|
# @return [Google::Apis::MonitoringV1::LogsPanel]
|
@@ -2042,6 +2117,7 @@ module Google
|
|
2042
2117
|
@alert_chart = args[:alert_chart] if args.key?(:alert_chart)
|
2043
2118
|
@blank = args[:blank] if args.key?(:blank)
|
2044
2119
|
@collapsible_group = args[:collapsible_group] if args.key?(:collapsible_group)
|
2120
|
+
@incident_list = args[:incident_list] if args.key?(:incident_list)
|
2045
2121
|
@logs_panel = args[:logs_panel] if args.key?(:logs_panel)
|
2046
2122
|
@scorecard = args[:scorecard] if args.key?(:scorecard)
|
2047
2123
|
@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.
|
19
|
+
GEM_VERSION = "0.35.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 = "
|
25
|
+
REVISION = "20230220"
|
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
|
@@ -847,6 +876,8 @@ module Google
|
|
847
876
|
|
848
877
|
property :collapsible_group, as: 'collapsibleGroup', class: Google::Apis::MonitoringV1::CollapsibleGroup, decorator: Google::Apis::MonitoringV1::CollapsibleGroup::Representation
|
849
878
|
|
879
|
+
property :incident_list, as: 'incidentList', class: Google::Apis::MonitoringV1::IncidentList, decorator: Google::Apis::MonitoringV1::IncidentList::Representation
|
880
|
+
|
850
881
|
property :logs_panel, as: 'logsPanel', class: Google::Apis::MonitoringV1::LogsPanel, decorator: Google::Apis::MonitoringV1::LogsPanel::Representation
|
851
882
|
|
852
883
|
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.
|
4
|
+
version: 0.35.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-
|
11
|
+
date: 2023-03-05 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.35.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: []
|