google-apis-cloudsupport_v2 0.5.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: 890fce46d41bf2e587b6bbe9f5b3f1b30bc7c6b78b0fb4341aa68593d5787a3a
4
- data.tar.gz: ce17286d25f9af0d9ff9f32f6c264dde414410166ea527e77113a1bc85297d7a
3
+ metadata.gz: 9855bd223eb33fd972bbce63cf9eb6dad8aaae4d1993efb78c87ca039469775c
4
+ data.tar.gz: 5ea09b7507768bf1d12766f4edb33b7dd40080df369a4551a51b421262d2860f
5
5
  SHA512:
6
- metadata.gz: 37a77ef56cc1cbaa4dfc378d5e5b4ef2166247a86007ee3e181ea7047873a3ba9ba5102e408d033323e74025f65cd23059de6863f496f6ce421ee6c2011bf68d
7
- data.tar.gz: 42e0b9bd8313ac03d75a91d4765c2539fc02acaf75b4d4e1adb99fa04cfbe8abf2696dbe3a900a279a238ade211b19c775e022c294e836564d8a085eab561ddd
6
+ metadata.gz: 898ff4f6b1c44cb0ef5783815461cff738fd1ffb297b0beb26843cf3f5cbabaff75849b306f05440cf18cb03eee6117c9d89f51a7cd6c7309611c604d7017e64
7
+ data.tar.gz: 6119c7f3666be20c0364842685360e442e7bd34040c0590b9ea3c3900831bbe13386c709e511773bf47868bfcb96de439270a357dc24fd21b6ff2a30bfc77fec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsupport_v2
2
2
 
3
+ ### v0.6.0 (2023-12-24)
4
+
5
+ * Regenerated from discovery document revision 20231217
6
+
3
7
  ### v0.5.0 (2023-10-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20230926
@@ -22,8 +22,9 @@ module Google
22
22
  module Apis
23
23
  module CloudsupportV2
24
24
 
25
- # An object containing information about the effective user and authenticated
26
- # principal responsible for an action.
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. If the authenticated principal does
40
- # not have an email address, one must be provided. When a name is provided, an
41
- # email must also be provided. This will be obfuscated if the user is a Google
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
- # Represents a file attached to a support case.
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 object containing information about the effective user and authenticated
75
- # principal responsible for an action.
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 classification object with a product type and value.
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 object containing information about the effective user and authenticated
182
- # principal responsible for an action.
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 classification object with a product type and value.
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
- # A comment associated with a support case.
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 object containing information about the effective user and authenticated
338
- # principal responsible for an action.
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
- # Represents a file attached to a support case.
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.5.0"
19
+ GEM_VERSION = "0.6.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 = "20230926"
25
+ REVISION = "20231217"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,7 @@ module Google
184
184
  property :display_name, as: 'displayName'
185
185
  property :email, as: 'email'
186
186
  property :google_support, as: 'googleSupport'
187
+ property :username, as: 'username'
187
188
  end
188
189
  end
189
190
 
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.5.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: 2023-10-01 00:00:00.000000000 Z
11
+ date: 2023-12-24 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsupport_v2/v0.6.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: []