google-apis-cloudsupport_v2 0.5.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3aeb9e31593831b263678efcdd04f3a7cf21e354d9adadd6b71b9baf883e8b79
|
4
|
+
data.tar.gz: c2af4c5666c525df315144451915df1923d860098c5051405ba08ad6fddfbd4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '05521524870e9fb2f20d16adbfdd7dce3aac2a220ae8d1f96cdf383ec3c538a1afc6ba49d4e03fab78b609cae15e066017df797d0ac6c6d3dbec8d87ceb749a5'
|
7
|
+
data.tar.gz: e9185c0c7ed26d3156350cb8ddc02bfb2433b4e2edb48e5d6b7aa876f81d032cd4d1100590cd6ca4bda3478b33cc77bf8feeb70b15a946644eeb3a5879c8ad45
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2
|
2
2
|
|
3
|
+
### v0.7.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.13.0
|
6
|
+
|
7
|
+
### v0.6.0 (2023-12-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231217
|
10
|
+
|
3
11
|
### v0.5.0 (2023-10-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230926
|
@@ -22,8 +22,9 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudsupportV2
|
24
24
|
|
25
|
-
# An
|
26
|
-
#
|
25
|
+
# An Actor represents an entity that performed an action. For example, an actor
|
26
|
+
# could be a user who posted a comment on a support case, a user who uploaded an
|
27
|
+
# attachment, or a service account that created a support case.
|
27
28
|
class Actor
|
28
29
|
include Google::Apis::Core::Hashable
|
29
30
|
|
@@ -35,11 +36,10 @@ module Google
|
|
35
36
|
# @return [String]
|
36
37
|
attr_accessor :display_name
|
37
38
|
|
38
|
-
# The email address of the actor. If not provided, it is inferred from
|
39
|
-
# credentials supplied during case creation.
|
40
|
-
#
|
41
|
-
#
|
42
|
-
# Support agent.
|
39
|
+
# The email address of the actor. If not provided, it is inferred from the
|
40
|
+
# credentials supplied during case creation. When a name is provided, an email
|
41
|
+
# must also be provided. If the user is a Google Support agent, this is
|
42
|
+
# obfuscated. This field is deprecated. Use **username** field instead.
|
43
43
|
# Corresponds to the JSON property `email`
|
44
44
|
# @return [String]
|
45
45
|
attr_accessor :email
|
@@ -50,6 +50,14 @@ module Google
|
|
50
50
|
attr_accessor :google_support
|
51
51
|
alias_method :google_support?, :google_support
|
52
52
|
|
53
|
+
# Output only. The username of the actor. It may look like an email or other
|
54
|
+
# format provided by the identity provider. If not provided, it is inferred from
|
55
|
+
# the credentials supplied. When a name is provided, a username must also be
|
56
|
+
# provided. If the user is a Google Support agent, this will not be set.
|
57
|
+
# Corresponds to the JSON property `username`
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :username
|
60
|
+
|
53
61
|
def initialize(**args)
|
54
62
|
update!(**args)
|
55
63
|
end
|
@@ -59,10 +67,15 @@ module Google
|
|
59
67
|
@display_name = args[:display_name] if args.key?(:display_name)
|
60
68
|
@email = args[:email] if args.key?(:email)
|
61
69
|
@google_support = args[:google_support] if args.key?(:google_support)
|
70
|
+
@username = args[:username] if args.key?(:username)
|
62
71
|
end
|
63
72
|
end
|
64
73
|
|
65
|
-
#
|
74
|
+
# An Attachment contains metadata about a file that was uploaded to a case - it
|
75
|
+
# is NOT a file itself. That being said, the name of an Attachment object can be
|
76
|
+
# used to download its accompanying file through the `media.download` endpoint.
|
77
|
+
# While attachments can be uploaded in the console at the same time as a comment,
|
78
|
+
# they're associated on a "case" level, not a "comment" level.
|
66
79
|
class Attachment
|
67
80
|
include Google::Apis::Core::Hashable
|
68
81
|
|
@@ -71,8 +84,9 @@ module Google
|
|
71
84
|
# @return [String]
|
72
85
|
attr_accessor :create_time
|
73
86
|
|
74
|
-
# An
|
75
|
-
#
|
87
|
+
# An Actor represents an entity that performed an action. For example, an actor
|
88
|
+
# could be a user who posted a comment on a support case, a user who uploaded an
|
89
|
+
# attachment, or a service account that created a support case.
|
76
90
|
# Corresponds to the JSON property `creator`
|
77
91
|
# @return [Google::Apis::CloudsupportV2::Actor]
|
78
92
|
attr_accessor :creator
|
@@ -157,11 +171,23 @@ module Google
|
|
157
171
|
end
|
158
172
|
end
|
159
173
|
|
160
|
-
# A support case.
|
174
|
+
# A Case is an object that contains the details of a support case. It contains
|
175
|
+
# fields for the time it was created, its priority, its classification, and more.
|
176
|
+
# Cases can also have comments and attachments that get added over time. A case
|
177
|
+
# is parented by a Google Cloud organization or project. Organizations are
|
178
|
+
# identified by a number, so the name of a case parented by an organization
|
179
|
+
# would look like this: ``` organizations/123/cases/456 ``` Projects have two
|
180
|
+
# unique identifiers, an ID and a number, and they look like this: ``` projects/
|
181
|
+
# abc/cases/456 ``` ``` projects/123/cases/456 ``` You can use either of them
|
182
|
+
# when calling the API. To learn more about project identifiers, see [AIP-2510](
|
183
|
+
# https://google.aip.dev/cloud/2510).
|
161
184
|
class Case
|
162
185
|
include Google::Apis::Core::Hashable
|
163
186
|
|
164
|
-
# A
|
187
|
+
# A Case Classification represents the topic that a case is about. It's very
|
188
|
+
# important to use accurate classifications, because they're used to route your
|
189
|
+
# cases to specialists who can help you. A classification always has an ID that
|
190
|
+
# is its unique identifier. A valid ID is required when creating a case.
|
165
191
|
# Corresponds to the JSON property `classification`
|
166
192
|
# @return [Google::Apis::CloudsupportV2::CaseClassification]
|
167
193
|
attr_accessor :classification
|
@@ -178,8 +204,9 @@ module Google
|
|
178
204
|
# @return [String]
|
179
205
|
attr_accessor :create_time
|
180
206
|
|
181
|
-
# An
|
182
|
-
#
|
207
|
+
# An Actor represents an entity that performed an action. For example, an actor
|
208
|
+
# could be a user who posted a comment on a support case, a user who uploaded an
|
209
|
+
# attachment, or a service account that created a support case.
|
183
210
|
# Corresponds to the JSON property `creator`
|
184
211
|
# @return [Google::Apis::CloudsupportV2::Actor]
|
185
212
|
attr_accessor :creator
|
@@ -274,7 +301,10 @@ module Google
|
|
274
301
|
end
|
275
302
|
end
|
276
303
|
|
277
|
-
# A
|
304
|
+
# A Case Classification represents the topic that a case is about. It's very
|
305
|
+
# important to use accurate classifications, because they're used to route your
|
306
|
+
# cases to specialists who can help you. A classification always has an ID that
|
307
|
+
# is its unique identifier. A valid ID is required when creating a case.
|
278
308
|
class CaseClassification
|
279
309
|
include Google::Apis::Core::Hashable
|
280
310
|
|
@@ -319,7 +349,9 @@ module Google
|
|
319
349
|
end
|
320
350
|
end
|
321
351
|
|
322
|
-
#
|
352
|
+
# Case comments are the main way Google Support communicates with a user who has
|
353
|
+
# opened a case. When a user responds to Google Support, the user's responses
|
354
|
+
# also appear as comments.
|
323
355
|
class Comment
|
324
356
|
include Google::Apis::Core::Hashable
|
325
357
|
|
@@ -334,8 +366,9 @@ module Google
|
|
334
366
|
# @return [String]
|
335
367
|
attr_accessor :create_time
|
336
368
|
|
337
|
-
# An
|
338
|
-
#
|
369
|
+
# An Actor represents an entity that performed an action. For example, an actor
|
370
|
+
# could be a user who posted a comment on a support case, a user who uploaded an
|
371
|
+
# attachment, or a service account that created a support case.
|
339
372
|
# Corresponds to the JSON property `creator`
|
340
373
|
# @return [Google::Apis::CloudsupportV2::Actor]
|
341
374
|
attr_accessor :creator
|
@@ -496,7 +529,11 @@ module Google
|
|
496
529
|
class CreateAttachmentRequest
|
497
530
|
include Google::Apis::Core::Hashable
|
498
531
|
|
499
|
-
#
|
532
|
+
# An Attachment contains metadata about a file that was uploaded to a case - it
|
533
|
+
# is NOT a file itself. That being said, the name of an Attachment object can be
|
534
|
+
# used to download its accompanying file through the `media.download` endpoint.
|
535
|
+
# While attachments can be uploaded in the console at the same time as a comment,
|
536
|
+
# they're associated on a "case" level, not a "comment" level.
|
500
537
|
# Corresponds to the JSON property `attachment`
|
501
538
|
# @return [Google::Apis::CloudsupportV2::Attachment]
|
502
539
|
attr_accessor :attachment
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudsupportV2
|
18
18
|
# Version of the google-apis-cloudsupport_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231217"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -33,6 +33,8 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://cloud.google.com/support/docs/apis
|
35
35
|
class CloudSupportService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://cloudsupport.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-cloudsupport_v2',
|
49
51
|
client_version: Google::Apis::CloudsupportV2::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudsupport_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsupport_v2
|
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.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Cloud Support API V2
|