google-apis-monitoring_v1 0.4.0 → 0.9.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: f126b0e68dd7f9cefb19fd10a7cb599a8f0494c8d1b092a4e4c870081eb70cf2
|
4
|
+
data.tar.gz: 80128f9c69e802aae4d2dd24ef2682f505330f1ef703c2ba251bc75cd5f8f63f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa19f1d8bf353cd2f3d9faf337da2ea22b49320158207d67a07543563a453eaf134656d5a409a5cd3607a917dcdd250479425032c574d4169f393c57c99375dc
|
7
|
+
data.tar.gz: ce68065eebcf5c1944faf8c7fdd596c5a8a37159cf23ec19db381b76dfe7e12722ca7afff16725bccee5ec70a9515e9e26f25f67b366b79939619548e1e00d3e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-07-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210625
|
6
|
+
* Regenerated using generator version 0.4.0
|
7
|
+
|
8
|
+
### v0.8.0 (2021-06-24)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.7.0 (2021-06-18)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210614
|
15
|
+
* Regenerated using generator version 0.3.0
|
16
|
+
|
17
|
+
### v0.6.0 (2021-05-19)
|
18
|
+
|
19
|
+
* Unspecified changes
|
20
|
+
|
21
|
+
### v0.5.0 (2021-05-08)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210501
|
24
|
+
|
3
25
|
### v0.4.0 (2021-03-26)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210322
|
@@ -116,6 +116,26 @@ module Google
|
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
+
# A chart that displays alert policy data.
|
120
|
+
class AlertChart
|
121
|
+
include Google::Apis::Core::Hashable
|
122
|
+
|
123
|
+
# Required. The resource name of the alert policy. The format is: projects/[
|
124
|
+
# PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
|
125
|
+
# Corresponds to the JSON property `name`
|
126
|
+
# @return [String]
|
127
|
+
attr_accessor :name
|
128
|
+
|
129
|
+
def initialize(**args)
|
130
|
+
update!(**args)
|
131
|
+
end
|
132
|
+
|
133
|
+
# Update properties of this object
|
134
|
+
def update!(**args)
|
135
|
+
@name = args[:name] if args.key?(:name)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
119
139
|
# A chart axis.
|
120
140
|
class Axis
|
121
141
|
include Google::Apis::Core::Hashable
|
@@ -552,6 +572,38 @@ module Google
|
|
552
572
|
end
|
553
573
|
end
|
554
574
|
|
575
|
+
# Contains metadata for longrunning operation for the edit Metrics Scope
|
576
|
+
# endpoints.
|
577
|
+
class OperationMetadata
|
578
|
+
include Google::Apis::Core::Hashable
|
579
|
+
|
580
|
+
# The time when the batch request was received.
|
581
|
+
# Corresponds to the JSON property `createTime`
|
582
|
+
# @return [String]
|
583
|
+
attr_accessor :create_time
|
584
|
+
|
585
|
+
# Current state of the batch operation.
|
586
|
+
# Corresponds to the JSON property `state`
|
587
|
+
# @return [String]
|
588
|
+
attr_accessor :state
|
589
|
+
|
590
|
+
# The time when the operation result was last updated.
|
591
|
+
# Corresponds to the JSON property `updateTime`
|
592
|
+
# @return [String]
|
593
|
+
attr_accessor :update_time
|
594
|
+
|
595
|
+
def initialize(**args)
|
596
|
+
update!(**args)
|
597
|
+
end
|
598
|
+
|
599
|
+
# Update properties of this object
|
600
|
+
def update!(**args)
|
601
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
602
|
+
@state = args[:state] if args.key?(:state)
|
603
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
604
|
+
end
|
605
|
+
end
|
606
|
+
|
555
607
|
# A protocol buffer option, which can be attached to a message, field,
|
556
608
|
# enumeration, etc.
|
557
609
|
class Option
|
@@ -794,8 +846,8 @@ module Google
|
|
794
846
|
end
|
795
847
|
end
|
796
848
|
|
797
|
-
# The context of a span
|
798
|
-
# aggregation.It contains the name of a span with format: projects/[
|
849
|
+
# The context of a span. This is attached to an Exemplar in Distribution values
|
850
|
+
# during aggregation.It contains the name of a span with format: projects/[
|
799
851
|
# PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
|
800
852
|
class SpanContext
|
801
853
|
include Google::Apis::Core::Hashable
|
@@ -1260,6 +1312,11 @@ module Google
|
|
1260
1312
|
class Widget
|
1261
1313
|
include Google::Apis::Core::Hashable
|
1262
1314
|
|
1315
|
+
# A chart that displays alert policy data.
|
1316
|
+
# Corresponds to the JSON property `alertChart`
|
1317
|
+
# @return [Google::Apis::MonitoringV1::AlertChart]
|
1318
|
+
attr_accessor :alert_chart
|
1319
|
+
|
1263
1320
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1264
1321
|
# messages in your APIs. A typical example is to use it as the request or the
|
1265
1322
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1296,6 +1353,7 @@ module Google
|
|
1296
1353
|
|
1297
1354
|
# Update properties of this object
|
1298
1355
|
def update!(**args)
|
1356
|
+
@alert_chart = args[:alert_chart] if args.key?(:alert_chart)
|
1299
1357
|
@blank = args[:blank] if args.key?(:blank)
|
1300
1358
|
@scorecard = args[:scorecard] if args.key?(:scorecard)
|
1301
1359
|
@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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210625"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AlertChart
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Axis
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class OperationMetadata
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class Option
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -230,6 +242,13 @@ module Google
|
|
230
242
|
end
|
231
243
|
end
|
232
244
|
|
245
|
+
class AlertChart
|
246
|
+
# @private
|
247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
248
|
+
property :name, as: 'name'
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
233
252
|
class Axis
|
234
253
|
# @private
|
235
254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -355,6 +374,15 @@ module Google
|
|
355
374
|
end
|
356
375
|
end
|
357
376
|
|
377
|
+
class OperationMetadata
|
378
|
+
# @private
|
379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
380
|
+
property :create_time, as: 'createTime'
|
381
|
+
property :state, as: 'state'
|
382
|
+
property :update_time, as: 'updateTime'
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
358
386
|
class Option
|
359
387
|
# @private
|
360
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -533,6 +561,8 @@ module Google
|
|
533
561
|
class Widget
|
534
562
|
# @private
|
535
563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
+
property :alert_chart, as: 'alertChart', class: Google::Apis::MonitoringV1::AlertChart, decorator: Google::Apis::MonitoringV1::AlertChart::Representation
|
565
|
+
|
536
566
|
property :blank, as: 'blank', class: Google::Apis::MonitoringV1::Empty, decorator: Google::Apis::MonitoringV1::Empty::Representation
|
537
567
|
|
538
568
|
property :scorecard, as: 'scorecard', class: Google::Apis::MonitoringV1::Scorecard, decorator: Google::Apis::MonitoringV1::Scorecard::Representation
|
@@ -62,6 +62,9 @@ module Google
|
|
62
62
|
# [PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard
|
63
63
|
# resource name.
|
64
64
|
# @param [Google::Apis::MonitoringV1::Dashboard] dashboard_object
|
65
|
+
# @param [Boolean] validate_only
|
66
|
+
# If set, validate the request and preview the review, but do not actually save
|
67
|
+
# it.
|
65
68
|
# @param [String] fields
|
66
69
|
# Selector specifying which fields to include in a partial response.
|
67
70
|
# @param [String] quota_user
|
@@ -79,13 +82,14 @@ module Google
|
|
79
82
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
83
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
84
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
-
def create_project_dashboard(parent, dashboard_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
85
|
+
def create_project_dashboard(parent, dashboard_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
86
|
command = make_simple_command(:post, 'v1/{+parent}/dashboards', options)
|
84
87
|
command.request_representation = Google::Apis::MonitoringV1::Dashboard::Representation
|
85
88
|
command.request_object = dashboard_object
|
86
89
|
command.response_representation = Google::Apis::MonitoringV1::Dashboard::Representation
|
87
90
|
command.response_class = Google::Apis::MonitoringV1::Dashboard
|
88
91
|
command.params['parent'] = parent unless parent.nil?
|
92
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
89
93
|
command.query['fields'] = fields unless fields.nil?
|
90
94
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
95
|
execute_or_queue_command(command, &block)
|
@@ -207,6 +211,9 @@ module Google
|
|
207
211
|
# @param [String] name
|
208
212
|
# Immutable. The resource name of the dashboard.
|
209
213
|
# @param [Google::Apis::MonitoringV1::Dashboard] dashboard_object
|
214
|
+
# @param [Boolean] validate_only
|
215
|
+
# If set, validate the request and preview the review, but do not actually save
|
216
|
+
# it.
|
210
217
|
# @param [String] fields
|
211
218
|
# Selector specifying which fields to include in a partial response.
|
212
219
|
# @param [String] quota_user
|
@@ -224,13 +231,14 @@ module Google
|
|
224
231
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
225
232
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
226
233
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
227
|
-
def patch_project_dashboard(name, dashboard_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
234
|
+
def patch_project_dashboard(name, dashboard_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
228
235
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
229
236
|
command.request_representation = Google::Apis::MonitoringV1::Dashboard::Representation
|
230
237
|
command.request_object = dashboard_object
|
231
238
|
command.response_representation = Google::Apis::MonitoringV1::Dashboard::Representation
|
232
239
|
command.response_class = Google::Apis::MonitoringV1::Dashboard
|
233
240
|
command.params['name'] = name unless name.nil?
|
241
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
234
242
|
command.query['fields'] = fields unless fields.nil?
|
235
243
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
236
244
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.9.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: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Monitoring API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.9.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Monitoring API V1
|