google-apis-cloudsupport_v2beta 0.2.0 → 0.5.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 +13 -0
- data/lib/google/apis/cloudsupport_v2beta/classes.rb +7 -1
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +3 -3
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +1 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +3 -9
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30a380259101ab99176a0840365b7cf4783a9cfafbef7ed4974a864d2ba063e7
|
|
4
|
+
data.tar.gz: 21fd58b6300331b1302189f71fd5d65b0cc3c4c478cf39af604eeb8bb7d1bca6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 718e30c5d565866ceb5f87cc022bfe1d3b8527dacb7757694f94c3d89d60bdddeae5d8109c5cdbcfd2e298b9bae41d70e9198d1d8c2aefa5f2eae61bec79904e
|
|
7
|
+
data.tar.gz: b39510a8f6a8b81310d24ced84166a05eef9817375010235424de572f89c0873816b84a81e074266b072351ff0a6d4d9eac57fb3251c75634052f3e046e80e0f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.5.0 (2022-02-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20220221
|
|
6
|
+
|
|
7
|
+
### v0.4.0 (2022-02-01)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20220129
|
|
10
|
+
|
|
11
|
+
### v0.3.0 (2022-01-27)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20220125
|
|
14
|
+
* Regenerated using generator version 0.4.1
|
|
15
|
+
|
|
3
16
|
### v0.2.0 (2021-12-16)
|
|
4
17
|
|
|
5
18
|
* Unspecified changes
|
|
@@ -207,7 +207,12 @@ module Google
|
|
|
207
207
|
# @return [String]
|
|
208
208
|
attr_accessor :name
|
|
209
209
|
|
|
210
|
-
# The
|
|
210
|
+
# The priority of this case. If this is set, do not set severity.
|
|
211
|
+
# Corresponds to the JSON property `priority`
|
|
212
|
+
# @return [String]
|
|
213
|
+
attr_accessor :priority
|
|
214
|
+
|
|
215
|
+
# The severity of this case. Deprecated. Use priority instead.
|
|
211
216
|
# Corresponds to the JSON property `severity`
|
|
212
217
|
# @return [String]
|
|
213
218
|
attr_accessor :severity
|
|
@@ -254,6 +259,7 @@ module Google
|
|
|
254
259
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
255
260
|
@escalated = args[:escalated] if args.key?(:escalated)
|
|
256
261
|
@name = args[:name] if args.key?(:name)
|
|
262
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
257
263
|
@severity = args[:severity] if args.key?(:severity)
|
|
258
264
|
@state = args[:state] if args.key?(:state)
|
|
259
265
|
@subscriber_email_addresses = args[:subscriber_email_addresses] if args.key?(:subscriber_email_addresses)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module CloudsupportV2beta
|
|
18
18
|
# Version of the google-apis-cloudsupport_v2beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.5.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.4.
|
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220221"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -224,6 +224,7 @@ module Google
|
|
|
224
224
|
property :display_name, as: 'displayName'
|
|
225
225
|
property :escalated, as: 'escalated'
|
|
226
226
|
property :name, as: 'name'
|
|
227
|
+
property :priority, as: 'priority'
|
|
227
228
|
property :severity, as: 'severity'
|
|
228
229
|
property :state, as: 'state'
|
|
229
230
|
collection :subscriber_email_addresses, as: 'subscriberEmailAddresses'
|
|
@@ -265,16 +265,11 @@ module Google
|
|
|
265
265
|
# @param [String] filter
|
|
266
266
|
# An expression written in the Cloud filter language. If non-empty, then only
|
|
267
267
|
# cases whose fields match the filter are returned. If empty, then no messages
|
|
268
|
-
# are filtered out. Filter strings can use the following fields: -
|
|
268
|
+
# are filtered out. Filter strings can use the following fields: - state (
|
|
269
269
|
# Accepted values: OPEN or CLOSED) - severity (Accepted values: S0, S1, S2, S3,
|
|
270
270
|
# or S4) - creator.email with the operators equals (=) and AND. Additionally, a
|
|
271
271
|
# global restriction (with no operator) can be used to search across displayName,
|
|
272
272
|
# description, and comments (e.g. "my search").
|
|
273
|
-
# @param [String] order_by
|
|
274
|
-
# A comma separated list of fields to order by, followed by `asc` or `desc`
|
|
275
|
-
# postfix. This list is case-insensitive, default sorting order is ascending,
|
|
276
|
-
# redundant space characters are insignificant. Example: `name asc,update_time,
|
|
277
|
-
# create_time desc`
|
|
278
273
|
# @param [Fixnum] page_size
|
|
279
274
|
# The maximum number of cases fetched with each request. Defaults to 10.
|
|
280
275
|
# @param [String] page_token
|
|
@@ -297,13 +292,12 @@ module Google
|
|
|
297
292
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
298
293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
299
294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
300
|
-
def list_cases(parent, filter: nil,
|
|
295
|
+
def list_cases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
301
296
|
command = make_simple_command(:get, 'v2beta/{+parent}/cases', options)
|
|
302
297
|
command.response_representation = Google::Apis::CloudsupportV2beta::ListCasesResponse::Representation
|
|
303
298
|
command.response_class = Google::Apis::CloudsupportV2beta::ListCasesResponse
|
|
304
299
|
command.params['parent'] = parent unless parent.nil?
|
|
305
300
|
command.query['filter'] = filter unless filter.nil?
|
|
306
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
307
301
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
308
302
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
309
303
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -312,7 +306,7 @@ module Google
|
|
|
312
306
|
end
|
|
313
307
|
|
|
314
308
|
# Update the specified case. Only a subset of fields (display_name, description,
|
|
315
|
-
# time_zone, subscriber_email_addresses, related_resources, severity,
|
|
309
|
+
# time_zone, subscriber_email_addresses, related_resources, severity, priority,
|
|
316
310
|
# primary_contact, and labels) can be updated.
|
|
317
311
|
# @param [String] name
|
|
318
312
|
# The resource name for the case.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-cloudsupport_v2beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 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: 2022-
|
|
11
|
+
date: 2022-02-28 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-cloudsupport_v2beta/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2beta/v0.5.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2beta
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: '0'
|
|
77
77
|
requirements: []
|
|
78
|
-
rubygems_version: 3.3.
|
|
78
|
+
rubygems_version: 3.3.5
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Simple REST client for Google Cloud Support API V2beta
|