google-apis-monitoring_v1 0.3.0 → 0.8.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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/monitoring_v1.rb +1 -1
- data/lib/google/apis/monitoring_v1/classes.rb +34 -2
- data/lib/google/apis/monitoring_v1/gem_version.rb +3 -3
- data/lib/google/apis/monitoring_v1/representations.rb +15 -0
- data/lib/google/apis/monitoring_v1/service.rb +10 -2
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 332151aa9be44c5edf919d5105285d5e3f80a4b88b716095e85f1b1f77df3822
|
4
|
+
data.tar.gz: a79cfd53293a5fd94cbd2845e01dbe0fa8494d71308e0cdee1b63b20e01b88d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4c5a16d0148df8abb944ca8a6899571f5856ffb3cd6cfb72fd988daa5bcb2159292db3e5a16e6ce4cc83b237e5d3c7c0fc7b92de819df08678d6095e3ecb30c
|
7
|
+
data.tar.gz: 4bbd6acf492e7cb39e1550f95a0e337b4725ff06f63e8518ad5473f269ddef86e4f6438c21cee2d3fd0e449a95cc09636ab3c7f7e2083ff76d7050af31be7a64
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-monitoring_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.7.0 (2021-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210614
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.6.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.5.0 (2021-05-08)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210501
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-26)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210322
|
23
|
+
|
3
24
|
### v0.3.0 (2021-03-19)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210316
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
# This is NOT the gem version.
|
34
34
|
VERSION = 'V1'
|
35
35
|
|
36
|
-
#
|
36
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
37
37
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
38
38
|
|
39
39
|
# View and write monitoring data for all of your Google and third-party Cloud and API projects
|
@@ -552,6 +552,38 @@ module Google
|
|
552
552
|
end
|
553
553
|
end
|
554
554
|
|
555
|
+
# Contains metadata for longrunning operation for the edit Metrics Scope
|
556
|
+
# endpoints.
|
557
|
+
class OperationMetadata
|
558
|
+
include Google::Apis::Core::Hashable
|
559
|
+
|
560
|
+
# The time when the batch request was received.
|
561
|
+
# Corresponds to the JSON property `createTime`
|
562
|
+
# @return [String]
|
563
|
+
attr_accessor :create_time
|
564
|
+
|
565
|
+
# Current state of the batch operation.
|
566
|
+
# Corresponds to the JSON property `state`
|
567
|
+
# @return [String]
|
568
|
+
attr_accessor :state
|
569
|
+
|
570
|
+
# The time when the operation result was last updated.
|
571
|
+
# Corresponds to the JSON property `updateTime`
|
572
|
+
# @return [String]
|
573
|
+
attr_accessor :update_time
|
574
|
+
|
575
|
+
def initialize(**args)
|
576
|
+
update!(**args)
|
577
|
+
end
|
578
|
+
|
579
|
+
# Update properties of this object
|
580
|
+
def update!(**args)
|
581
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
582
|
+
@state = args[:state] if args.key?(:state)
|
583
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
584
|
+
end
|
585
|
+
end
|
586
|
+
|
555
587
|
# A protocol buffer option, which can be attached to a message, field,
|
556
588
|
# enumeration, etc.
|
557
589
|
class Option
|
@@ -794,8 +826,8 @@ module Google
|
|
794
826
|
end
|
795
827
|
end
|
796
828
|
|
797
|
-
# The context of a span
|
798
|
-
# aggregation.It contains the name of a span with format: projects/[
|
829
|
+
# The context of a span. This is attached to an Exemplar in Distribution values
|
830
|
+
# during aggregation.It contains the name of a span with format: projects/[
|
799
831
|
# PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
|
800
832
|
class SpanContext
|
801
833
|
include Google::Apis::Core::Hashable
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210614"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class OperationMetadata
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class Option
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -355,6 +361,15 @@ module Google
|
|
355
361
|
end
|
356
362
|
end
|
357
363
|
|
364
|
+
class OperationMetadata
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :create_time, as: 'createTime'
|
368
|
+
property :state, as: 'state'
|
369
|
+
property :update_time, as: 'updateTime'
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
358
373
|
class Option
|
359
374
|
# @private
|
360
375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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.8.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-06-28 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.3'
|
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.3'
|
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.8.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
|