google-apis-monitoring_v1 0.1.0 → 0.6.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: cd990252d4ef4afe5dea91551f1cd9cbcef5c6d896ace6304ced45ede6b6f0d8
4
- data.tar.gz: 00ed521cd18177655b13121a116e29ab160564fa5ed2c314d90bb226b939f7e3
3
+ metadata.gz: c0280d3cfd57de3f495ecf42bfb7b8d261826d3939970fa8ec1957c0d6be2eec
4
+ data.tar.gz: f0c84a1ff35b53f61b7c19166996eccfad43aa476b0fc13775be5c7166138d2a
5
5
  SHA512:
6
- metadata.gz: fd8ba8d60799608c4888b21b04a6078f6c758d6d5a54898457d94e67a8cac22294c82393e39569aa0afe177794152bac48a11d80f59f696aaee3e5d59bf4053e
7
- data.tar.gz: 8790ae49a8ba6dd5202c343a225ee3446df8b7baaf30a046da82b61feafc5eb4926861ab8cd26561f3fd6b558441394f29dedb5b99568b68fd97dcb2ca78788c
6
+ metadata.gz: 501c728c86d81c168f0f23fc17e0c0d0dd417c5b34721bc57a5b2dbf108d2b6d55d4318807a88c2ad8e18134e0e680b3b1a190e44bbcc767d836d8c40fb93495
7
+ data.tar.gz: 3b26f95361d99ba047d350185633f4224bbf1de2bbdef75125ae4e303ac08edb100277485a9bc3448a7d920c5a4360311d05a0e37ea5e63987d737a7050185d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-monitoring_v1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-05-08)
8
+
9
+ * Regenerated from discovery document revision 20210501
10
+
11
+ ### v0.4.0 (2021-03-26)
12
+
13
+ * Regenerated from discovery document revision 20210322
14
+
15
+ ### v0.3.0 (2021-03-19)
16
+
17
+ * Regenerated from discovery document revision 20210316
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.2.0 (2021-03-05)
21
+
22
+ * Regenerated from discovery document revision 20210227
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -33,7 +33,7 @@ module Google
33
33
  # This is NOT the gem version.
34
34
  VERSION = 'V1'
35
35
 
36
- # View and manage your data across Google Cloud Platform services
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
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20200915"
25
+ REVISION = "20210501"
26
26
  end
27
27
  end
28
28
  end
@@ -53,14 +53,18 @@ module Google
53
53
  @batch_path = 'batch'
54
54
  end
55
55
 
56
- # Creates a new custom dashboard.This method requires the monitoring.dashboards.
57
- # create permission on the specified project. For more information, see Google
58
- # Cloud IAM (https://cloud.google.com/iam).
56
+ # Creates a new custom dashboard. For examples on how you can use this API to
57
+ # create dashboards, see Managing dashboards by API. This method requires the
58
+ # monitoring.dashboards.create permission on the specified project. For more
59
+ # information about permissions, see Cloud Identity and Access Management.
59
60
  # @param [String] parent
60
61
  # Required. The project on which to execute the request. The format is: projects/
61
62
  # [PROJECT_ID_OR_NUMBER] The [PROJECT_ID_OR_NUMBER] must match the dashboard
62
63
  # resource name.
63
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.
64
68
  # @param [String] fields
65
69
  # Selector specifying which fields to include in a partial response.
66
70
  # @param [String] quota_user
@@ -78,13 +82,14 @@ module Google
78
82
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
83
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
84
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- 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)
82
86
  command = make_simple_command(:post, 'v1/{+parent}/dashboards', options)
83
87
  command.request_representation = Google::Apis::MonitoringV1::Dashboard::Representation
84
88
  command.request_object = dashboard_object
85
89
  command.response_representation = Google::Apis::MonitoringV1::Dashboard::Representation
86
90
  command.response_class = Google::Apis::MonitoringV1::Dashboard
87
91
  command.params['parent'] = parent unless parent.nil?
92
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
88
93
  command.query['fields'] = fields unless fields.nil?
89
94
  command.query['quotaUser'] = quota_user unless quota_user.nil?
90
95
  execute_or_queue_command(command, &block)
@@ -92,7 +97,7 @@ module Google
92
97
 
93
98
  # Deletes an existing custom dashboard.This method requires the monitoring.
94
99
  # dashboards.delete permission on the specified dashboard. For more information,
95
- # see Google Cloud IAM (https://cloud.google.com/iam).
100
+ # see Cloud Identity and Access Management (https://cloud.google.com/iam).
96
101
  # @param [String] name
97
102
  # Required. The resource name of the Dashboard. The format is: projects/[
98
103
  # PROJECT_ID_OR_NUMBER]/dashboards/[DASHBOARD_ID]
@@ -124,8 +129,8 @@ module Google
124
129
  end
125
130
 
126
131
  # Fetches a specific dashboard.This method requires the monitoring.dashboards.
127
- # get permission on the specified dashboard. For more information, see Google
128
- # Cloud IAM (https://cloud.google.com/iam).
132
+ # get permission on the specified dashboard. For more information, see Cloud
133
+ # Identity and Access Management (https://cloud.google.com/iam).
129
134
  # @param [String] name
130
135
  # Required. The resource name of the Dashboard. The format is one of: dashboards/
131
136
  # [DASHBOARD_ID] (for system dashboards) projects/[PROJECT_ID_OR_NUMBER]/
@@ -158,8 +163,8 @@ module Google
158
163
  end
159
164
 
160
165
  # Lists the existing dashboards.This method requires the monitoring.dashboards.
161
- # list permission on the specified project. For more information, see Google
162
- # Cloud IAM (https://cloud.google.com/iam).
166
+ # list permission on the specified project. For more information, see Cloud
167
+ # Identity and Access Management (https://cloud.google.com/iam).
163
168
  # @param [String] parent
164
169
  # Required. The scope of the dashboards to list. The format is: projects/[
165
170
  # PROJECT_ID_OR_NUMBER]
@@ -201,11 +206,14 @@ module Google
201
206
 
202
207
  # Replaces an existing custom dashboard with a new definition.This method
203
208
  # requires the monitoring.dashboards.update permission on the specified
204
- # dashboard. For more information, see Google Cloud IAM (https://cloud.google.
205
- # com/iam).
209
+ # dashboard. For more information, see Cloud Identity and Access Management (
210
+ # https://cloud.google.com/iam).
206
211
  # @param [String] name
207
212
  # Immutable. The resource name of the dashboard.
208
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.
209
217
  # @param [String] fields
210
218
  # Selector specifying which fields to include in a partial response.
211
219
  # @param [String] quota_user
@@ -223,13 +231,14 @@ module Google
223
231
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
224
232
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
225
233
  # @raise [Google::Apis::AuthorizationError] Authorization is required
226
- 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)
227
235
  command = make_simple_command(:patch, 'v1/{+name}', options)
228
236
  command.request_representation = Google::Apis::MonitoringV1::Dashboard::Representation
229
237
  command.request_object = dashboard_object
230
238
  command.response_representation = Google::Apis::MonitoringV1::Dashboard::Representation
231
239
  command.response_class = Google::Apis::MonitoringV1::Dashboard
232
240
  command.params['name'] = name unless name.nil?
241
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
233
242
  command.query['fields'] = fields unless fields.nil?
234
243
  command.query['quotaUser'] = quota_user unless quota_user.nil?
235
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.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-monitoring_v1/v0.6.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: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
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