google-apis-monitoring_v1 0.4.0 → 0.5.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: 19dde09347691b10ccbfa714efa2e348ee0840eeceed4e1534519d46b3e8d803
4
- data.tar.gz: 9c06a8e2c6d4aaef47f4eb4a6d2662cbe0d428e60e3de0fd88a45980b57a3e4d
3
+ metadata.gz: '018dd178b3e6741da6f894114a7473ffd853c69033ece30b88dfb84c77bca25b'
4
+ data.tar.gz: 0bf327ef40cd7710708efbacf23f55fd5583ab646810bdb216d72a77db1702c3
5
5
  SHA512:
6
- metadata.gz: 4c2e7be40fc70bcbbcd4337cbe4b3fef2a115ff15e0a052f258766d7efde61c38e8330ab11d246bcfdc97026f9c4eefa6c45a42dc9032345a374388e295d2a59
7
- data.tar.gz: af07d001683b04dfd122223973f65e52efc4c1f4eba6c82aef5ee13eae7caae312e29a4da3617964556ae2a1afe3b545ead0cb4e4a0990507bba070a5cc62291
6
+ metadata.gz: faa1a174c1a44244141053adbd17f5a647b0b21bf2b691114500470f8434e4c15a4dd4b62cdb86c9d524b38f0fb5c578bfe5465b27dc09a1e8c4810e3357648b
7
+ data.tar.gz: 7e7b6b15e9ac66c41071900f1e2b22d7524954092fb605dd89d1b1f117bbbe28b3193c8126e861ecbf4cf7a92d7010efd7ad92490a8f3c7ba4b5dacff34771c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.5.0 (2021-05-08)
4
+
5
+ * Regenerated from discovery document revision 20210501
6
+
3
7
  ### v0.4.0 (2021-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20210322
@@ -794,8 +794,8 @@ module Google
794
794
  end
795
795
  end
796
796
 
797
- # The context of a span, attached to Exemplars in Distribution values during
798
- # aggregation.It contains the name of a span with format: projects/[
797
+ # The context of a span. This is attached to an Exemplar in Distribution values
798
+ # during aggregation.It contains the name of a span with format: projects/[
799
799
  # PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
800
800
  class SpanContext
801
801
  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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210322"
25
+ REVISION = "20210501"
26
26
  end
27
27
  end
28
28
  end
@@ -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,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.0
4
+ version: 0.5.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-03-29 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-monitoring_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Monitoring API V1