google-apis-cloudsupport_v2beta 0.18.0 → 0.20.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 +8 -0
- data/lib/google/apis/cloudsupport_v2beta/classes.rb +13 -5
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +1 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +0 -35
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c4da5958dcb64d4b9f2c99d0ed16de6033c710512422ac338168fd4f280efc2
|
4
|
+
data.tar.gz: 72b37dfaf8fb8ed25c0bcc60c3d4722544ac6c6914befe8ff446266d7d10997b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0252a3bae567ba0e29b4a7c21ce6f8b6d900f7613f930e503d591532f5ab5b6e3f5eccd55e296415785d67f3e60de8d97dae525a39f76e1e7aabd2e18a577c
|
7
|
+
data.tar.gz: 61cc4cf8b90f60618b111109ad8b95ea1433d785be27e842a6edc02e65badbb2bb17a142dd481a1d70481d32892122fef05467704597eea0dee8264189bc139a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
2
2
|
|
3
|
+
### v0.20.0 (2023-04-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230412
|
6
|
+
|
7
|
+
### v0.19.0 (2023-04-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230330
|
10
|
+
|
3
11
|
### v0.18.0 (2023-02-15)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -166,6 +166,13 @@ module Google
|
|
166
166
|
# @return [Google::Apis::CloudsupportV2beta::CaseClassification]
|
167
167
|
attr_accessor :classification
|
168
168
|
|
169
|
+
# A user-supplied email address to send case update notifications for. This
|
170
|
+
# should only be used in BYOID flows, where we cannot infer the user's email
|
171
|
+
# address directly from their EUCs.
|
172
|
+
# Corresponds to the JSON property `contactEmail`
|
173
|
+
# @return [String]
|
174
|
+
attr_accessor :contact_email
|
175
|
+
|
169
176
|
# Output only. The time this case was created.
|
170
177
|
# Corresponds to the JSON property `createTime`
|
171
178
|
# @return [String]
|
@@ -214,7 +221,7 @@ module Google
|
|
214
221
|
# @return [String]
|
215
222
|
attr_accessor :priority
|
216
223
|
|
217
|
-
# The severity of this case.
|
224
|
+
# REMOVED. The severity of this case. Use priority instead.
|
218
225
|
# Corresponds to the JSON property `severity`
|
219
226
|
# @return [String]
|
220
227
|
attr_accessor :severity
|
@@ -255,6 +262,7 @@ module Google
|
|
255
262
|
# Update properties of this object
|
256
263
|
def update!(**args)
|
257
264
|
@classification = args[:classification] if args.key?(:classification)
|
265
|
+
@contact_email = args[:contact_email] if args.key?(:contact_email)
|
258
266
|
@create_time = args[:create_time] if args.key?(:create_time)
|
259
267
|
@creator = args[:creator] if args.key?(:creator)
|
260
268
|
@description = args[:description] if args.key?(:description)
|
@@ -316,8 +324,8 @@ module Google
|
|
316
324
|
class Comment
|
317
325
|
include Google::Apis::Core::Hashable
|
318
326
|
|
319
|
-
# The full comment body. Maximum of
|
320
|
-
#
|
327
|
+
# The full comment body. Maximum of 12800 characters. This can contain rich text
|
328
|
+
# syntax.
|
321
329
|
# Corresponds to the JSON property `body`
|
322
330
|
# @return [String]
|
323
331
|
attr_accessor :body
|
@@ -338,8 +346,8 @@ module Google
|
|
338
346
|
# @return [String]
|
339
347
|
attr_accessor :name
|
340
348
|
|
341
|
-
# Output only. An automatically generated plain text version of body
|
342
|
-
# rich text syntax stripped.
|
349
|
+
# Output only. DEPRECATED. An automatically generated plain text version of body
|
350
|
+
# with all rich text syntax stripped.
|
343
351
|
# Corresponds to the JSON property `plainTextBody`
|
344
352
|
# @return [String]
|
345
353
|
attr_accessor :plain_text_body
|
@@ -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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230412"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -216,6 +216,7 @@ module Google
|
|
216
216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
217
217
|
property :classification, as: 'classification', class: Google::Apis::CloudsupportV2beta::CaseClassification, decorator: Google::Apis::CloudsupportV2beta::CaseClassification::Representation
|
218
218
|
|
219
|
+
property :contact_email, as: 'contactEmail'
|
219
220
|
property :create_time, as: 'createTime'
|
220
221
|
property :creator, as: 'creator', class: Google::Apis::CloudsupportV2beta::Actor, decorator: Google::Apis::CloudsupportV2beta::Actor::Representation
|
221
222
|
|
@@ -50,41 +50,6 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# Create a file attachment on a case or Cloud resource. The attachment object
|
54
|
-
# must have the following fields set: filename.
|
55
|
-
# @param [String] parent
|
56
|
-
# Required. The resource name of the case (or case parent) to which the
|
57
|
-
# attachment should be attached.
|
58
|
-
# @param [Google::Apis::CloudsupportV2beta::CreateAttachmentRequest] create_attachment_request_object
|
59
|
-
# @param [String] fields
|
60
|
-
# Selector specifying which fields to include in a partial response.
|
61
|
-
# @param [String] quota_user
|
62
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
-
# @param [Google::Apis::RequestOptions] options
|
65
|
-
# Request-specific options
|
66
|
-
#
|
67
|
-
# @yield [result, err] Result & error if block supplied
|
68
|
-
# @yieldparam result [Google::Apis::CloudsupportV2beta::Attachment] parsed result object
|
69
|
-
# @yieldparam err [StandardError] error object if request failed
|
70
|
-
#
|
71
|
-
# @return [Google::Apis::CloudsupportV2beta::Attachment]
|
72
|
-
#
|
73
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
-
def create_attachment(parent, create_attachment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
-
command = make_simple_command(:post, 'v2beta/{+parent}/attachments', options)
|
78
|
-
command.request_representation = Google::Apis::CloudsupportV2beta::CreateAttachmentRequest::Representation
|
79
|
-
command.request_object = create_attachment_request_object
|
80
|
-
command.response_representation = Google::Apis::CloudsupportV2beta::Attachment::Representation
|
81
|
-
command.response_class = Google::Apis::CloudsupportV2beta::Attachment
|
82
|
-
command.params['parent'] = parent unless parent.nil?
|
83
|
-
command.query['fields'] = fields unless fields.nil?
|
84
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
|
-
execute_or_queue_command(command, &block)
|
86
|
-
end
|
87
|
-
|
88
53
|
# Retrieve valid classifications to be used when creating a support case. The
|
89
54
|
# classications are hierarchical, with each classification containing all levels
|
90
55
|
# of the hierarchy, separated by " > ". For example "Technical Issue > Compute >
|
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.20.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: 2023-
|
11
|
+
date: 2023-04-16 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.20.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: []
|