google-apis-cloudsupport_v2beta 0.37.0 → 0.39.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 +181 -0
- data/lib/google/apis/cloudsupport_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/cloudsupport_v2beta/representations.rb +85 -0
- data/lib/google/apis/cloudsupport_v2beta/service.rb +53 -2
- 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: b935b3c51087287ba2abfe748885c04b81b7125527075739d5c91d10d19ea5ea
|
4
|
+
data.tar.gz: 6326c2bd2d1577a6c4d342fc9c6a2f2fdf114a0933ee5e1499e11a9d8ef77474
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abbc9853303645d0630f2fb75fb995b08a350f02be4900e896dfe0451725833a888ceb45b7a14017734b85872d948e30cd221c6c4e614ee3690719136ab68516
|
7
|
+
data.tar.gz: e910f8ba8dcc94d85a256530029aafbefc9bbdb12806e17e48b863a9cef8f5811293f5ffa7c9eadd8f9fea5fe8531ea172aa45356c35b0e43ed0a54cf247055a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudsupport_v2beta
|
2
2
|
|
3
|
+
### v0.39.0 (2024-05-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240429
|
6
|
+
|
7
|
+
### v0.38.0 (2024-04-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240424
|
10
|
+
|
3
11
|
### v0.37.0 (2024-04-07)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240403
|
@@ -331,6 +331,11 @@ module Google
|
|
331
331
|
# @return [String]
|
332
332
|
attr_accessor :id
|
333
333
|
|
334
|
+
# The product a case may be associated with.
|
335
|
+
# Corresponds to the JSON property `product`
|
336
|
+
# @return [Google::Apis::CloudsupportV2beta::Product]
|
337
|
+
attr_accessor :product
|
338
|
+
|
334
339
|
def initialize(**args)
|
335
340
|
update!(**args)
|
336
341
|
end
|
@@ -339,6 +344,7 @@ module Google
|
|
339
344
|
def update!(**args)
|
340
345
|
@display_name = args[:display_name] if args.key?(:display_name)
|
341
346
|
@id = args[:id] if args.key?(:id)
|
347
|
+
@product = args[:product] if args.key?(:product)
|
342
348
|
end
|
343
349
|
end
|
344
350
|
|
@@ -723,6 +729,63 @@ module Google
|
|
723
729
|
end
|
724
730
|
end
|
725
731
|
|
732
|
+
# An email associated with a support case.
|
733
|
+
class EmailMessage
|
734
|
+
include Google::Apis::Core::Hashable
|
735
|
+
|
736
|
+
# An Actor represents an entity that performed an action. For example, an actor
|
737
|
+
# could be a user who posted a comment on a support case, a user who uploaded an
|
738
|
+
# attachment, or a service account that created a support case.
|
739
|
+
# Corresponds to the JSON property `actor`
|
740
|
+
# @return [Google::Apis::CloudsupportV2beta::Actor]
|
741
|
+
attr_accessor :actor
|
742
|
+
|
743
|
+
# Stores text attached to a support object.
|
744
|
+
# Corresponds to the JSON property `bodyContent`
|
745
|
+
# @return [Google::Apis::CloudsupportV2beta::TextContent]
|
746
|
+
attr_accessor :body_content
|
747
|
+
|
748
|
+
# Output only. Email addresses CCed on the email.
|
749
|
+
# Corresponds to the JSON property `ccEmailAddresses`
|
750
|
+
# @return [Array<String>]
|
751
|
+
attr_accessor :cc_email_addresses
|
752
|
+
|
753
|
+
# Output only. Time when this email message object was created.
|
754
|
+
# Corresponds to the JSON property `createTime`
|
755
|
+
# @return [String]
|
756
|
+
attr_accessor :create_time
|
757
|
+
|
758
|
+
# Identifier. Resource name for the email message.
|
759
|
+
# Corresponds to the JSON property `name`
|
760
|
+
# @return [String]
|
761
|
+
attr_accessor :name
|
762
|
+
|
763
|
+
# Output only. Email addresses the email was sent to.
|
764
|
+
# Corresponds to the JSON property `recipientEmailAddresses`
|
765
|
+
# @return [Array<String>]
|
766
|
+
attr_accessor :recipient_email_addresses
|
767
|
+
|
768
|
+
# Output only. Subject of the email.
|
769
|
+
# Corresponds to the JSON property `subject`
|
770
|
+
# @return [String]
|
771
|
+
attr_accessor :subject
|
772
|
+
|
773
|
+
def initialize(**args)
|
774
|
+
update!(**args)
|
775
|
+
end
|
776
|
+
|
777
|
+
# Update properties of this object
|
778
|
+
def update!(**args)
|
779
|
+
@actor = args[:actor] if args.key?(:actor)
|
780
|
+
@body_content = args[:body_content] if args.key?(:body_content)
|
781
|
+
@cc_email_addresses = args[:cc_email_addresses] if args.key?(:cc_email_addresses)
|
782
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
783
|
+
@name = args[:name] if args.key?(:name)
|
784
|
+
@recipient_email_addresses = args[:recipient_email_addresses] if args.key?(:recipient_email_addresses)
|
785
|
+
@subject = args[:subject] if args.key?(:subject)
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
726
789
|
# The request message for the EscalateCase endpoint.
|
727
790
|
class EscalateCaseRequest
|
728
791
|
include Google::Apis::Core::Hashable
|
@@ -768,6 +831,59 @@ module Google
|
|
768
831
|
end
|
769
832
|
end
|
770
833
|
|
834
|
+
# A feed item associated with a support case.
|
835
|
+
class FeedItem
|
836
|
+
include Google::Apis::Core::Hashable
|
837
|
+
|
838
|
+
# An Attachment contains metadata about a file that was uploaded to a case - it
|
839
|
+
# is NOT a file itself. That being said, the name of an Attachment object can be
|
840
|
+
# used to download its accompanying file through the `media.download` endpoint.
|
841
|
+
# While attachments can be uploaded in the console at the same time as a comment,
|
842
|
+
# they're associated on a "case" level, not a "comment" level.
|
843
|
+
# Corresponds to the JSON property `attachment`
|
844
|
+
# @return [Google::Apis::CloudsupportV2beta::Attachment]
|
845
|
+
attr_accessor :attachment
|
846
|
+
|
847
|
+
# A comment associated with a support case. Case comments are the primary way
|
848
|
+
# for Google Support to communicate with a user who has opened a case. When a
|
849
|
+
# user responds to Google Support, the user's responses also appear as comments.
|
850
|
+
# Corresponds to the JSON property `comment`
|
851
|
+
# @return [Google::Apis::CloudsupportV2beta::Comment]
|
852
|
+
attr_accessor :comment
|
853
|
+
|
854
|
+
# An Attachment contains metadata about a file that was uploaded to a case - it
|
855
|
+
# is NOT a file itself. That being said, the name of an Attachment object can be
|
856
|
+
# used to download its accompanying file through the `media.download` endpoint.
|
857
|
+
# While attachments can be uploaded in the console at the same time as a comment,
|
858
|
+
# they're associated on a "case" level, not a "comment" level.
|
859
|
+
# Corresponds to the JSON property `deletedAttachment`
|
860
|
+
# @return [Google::Apis::CloudsupportV2beta::Attachment]
|
861
|
+
attr_accessor :deleted_attachment
|
862
|
+
|
863
|
+
# An email associated with a support case.
|
864
|
+
# Corresponds to the JSON property `emailMessage`
|
865
|
+
# @return [Google::Apis::CloudsupportV2beta::EmailMessage]
|
866
|
+
attr_accessor :email_message
|
867
|
+
|
868
|
+
# Output only. Time corresponding to the event of this item.
|
869
|
+
# Corresponds to the JSON property `eventTime`
|
870
|
+
# @return [String]
|
871
|
+
attr_accessor :event_time
|
872
|
+
|
873
|
+
def initialize(**args)
|
874
|
+
update!(**args)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Update properties of this object
|
878
|
+
def update!(**args)
|
879
|
+
@attachment = args[:attachment] if args.key?(:attachment)
|
880
|
+
@comment = args[:comment] if args.key?(:comment)
|
881
|
+
@deleted_attachment = args[:deleted_attachment] if args.key?(:deleted_attachment)
|
882
|
+
@email_message = args[:email_message] if args.key?(:email_message)
|
883
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
771
887
|
# The response message for the ListAttachments endpoint.
|
772
888
|
class ListAttachmentsResponse
|
773
889
|
include Google::Apis::Core::Hashable
|
@@ -1084,6 +1200,25 @@ module Google
|
|
1084
1200
|
end
|
1085
1201
|
end
|
1086
1202
|
|
1203
|
+
# The product a case may be associated with.
|
1204
|
+
class Product
|
1205
|
+
include Google::Apis::Core::Hashable
|
1206
|
+
|
1207
|
+
# The product line of the Product.
|
1208
|
+
# Corresponds to the JSON property `productLine`
|
1209
|
+
# @return [String]
|
1210
|
+
attr_accessor :product_line
|
1211
|
+
|
1212
|
+
def initialize(**args)
|
1213
|
+
update!(**args)
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
# Update properties of this object
|
1217
|
+
def update!(**args)
|
1218
|
+
@product_line = args[:product_line] if args.key?(:product_line)
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
1087
1222
|
# The response message for SearchCaseClassifications endpoint.
|
1088
1223
|
class SearchCaseClassificationsResponse
|
1089
1224
|
include Google::Apis::Core::Hashable
|
@@ -1139,6 +1274,52 @@ module Google
|
|
1139
1274
|
end
|
1140
1275
|
end
|
1141
1276
|
|
1277
|
+
# The response message for the ShowFeed endpoint.
|
1278
|
+
class ShowFeedResponse
|
1279
|
+
include Google::Apis::Core::Hashable
|
1280
|
+
|
1281
|
+
# The list of feed items associated with the given Case.
|
1282
|
+
# Corresponds to the JSON property `feedItems`
|
1283
|
+
# @return [Array<Google::Apis::CloudsupportV2beta::FeedItem>]
|
1284
|
+
attr_accessor :feed_items
|
1285
|
+
|
1286
|
+
# A token to retrieve the next page of results. This should be set in the `
|
1287
|
+
# page_token` field of subsequent `ShowFeedRequests`. If unspecified, there are
|
1288
|
+
# no more results to retrieve.
|
1289
|
+
# Corresponds to the JSON property `nextPageToken`
|
1290
|
+
# @return [String]
|
1291
|
+
attr_accessor :next_page_token
|
1292
|
+
|
1293
|
+
def initialize(**args)
|
1294
|
+
update!(**args)
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
# Update properties of this object
|
1298
|
+
def update!(**args)
|
1299
|
+
@feed_items = args[:feed_items] if args.key?(:feed_items)
|
1300
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1301
|
+
end
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# Stores text attached to a support object.
|
1305
|
+
class TextContent
|
1306
|
+
include Google::Apis::Core::Hashable
|
1307
|
+
|
1308
|
+
# Content in this field should be rendered and interpreted as-is.
|
1309
|
+
# Corresponds to the JSON property `plainText`
|
1310
|
+
# @return [String]
|
1311
|
+
attr_accessor :plain_text
|
1312
|
+
|
1313
|
+
def initialize(**args)
|
1314
|
+
update!(**args)
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
# Update properties of this object
|
1318
|
+
def update!(**args)
|
1319
|
+
@plain_text = args[:plain_text] if args.key?(:plain_text)
|
1320
|
+
end
|
1321
|
+
end
|
1322
|
+
|
1142
1323
|
# Metadata about the operation. Used to lookup the current status.
|
1143
1324
|
class WorkflowOperationMetadata
|
1144
1325
|
include Google::Apis::Core::Hashable
|
@@ -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.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240429"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class EmailMessage
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class EscalateCaseRequest
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -130,6 +136,12 @@ module Google
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
131
137
|
end
|
132
138
|
|
139
|
+
class FeedItem
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
133
145
|
class ListAttachmentsResponse
|
134
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
147
|
|
@@ -160,6 +172,12 @@ module Google
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
161
173
|
end
|
162
174
|
|
175
|
+
class Product
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
163
181
|
class SearchCaseClassificationsResponse
|
164
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
183
|
|
@@ -172,6 +190,18 @@ module Google
|
|
172
190
|
include Google::Apis::Core::JsonObjectSupport
|
173
191
|
end
|
174
192
|
|
193
|
+
class ShowFeedResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class TextContent
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
175
205
|
class WorkflowOperationMetadata
|
176
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
207
|
|
@@ -241,6 +271,8 @@ module Google
|
|
241
271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
242
272
|
property :display_name, as: 'displayName'
|
243
273
|
property :id, as: 'id'
|
274
|
+
property :product, as: 'product', class: Google::Apis::CloudsupportV2beta::Product, decorator: Google::Apis::CloudsupportV2beta::Product::Representation
|
275
|
+
|
244
276
|
end
|
245
277
|
end
|
246
278
|
|
@@ -357,6 +389,21 @@ module Google
|
|
357
389
|
end
|
358
390
|
end
|
359
391
|
|
392
|
+
class EmailMessage
|
393
|
+
# @private
|
394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
+
property :actor, as: 'actor', class: Google::Apis::CloudsupportV2beta::Actor, decorator: Google::Apis::CloudsupportV2beta::Actor::Representation
|
396
|
+
|
397
|
+
property :body_content, as: 'bodyContent', class: Google::Apis::CloudsupportV2beta::TextContent, decorator: Google::Apis::CloudsupportV2beta::TextContent::Representation
|
398
|
+
|
399
|
+
collection :cc_email_addresses, as: 'ccEmailAddresses'
|
400
|
+
property :create_time, as: 'createTime'
|
401
|
+
property :name, as: 'name'
|
402
|
+
collection :recipient_email_addresses, as: 'recipientEmailAddresses'
|
403
|
+
property :subject, as: 'subject'
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
360
407
|
class EscalateCaseRequest
|
361
408
|
# @private
|
362
409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -373,6 +420,21 @@ module Google
|
|
373
420
|
end
|
374
421
|
end
|
375
422
|
|
423
|
+
class FeedItem
|
424
|
+
# @private
|
425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
426
|
+
property :attachment, as: 'attachment', class: Google::Apis::CloudsupportV2beta::Attachment, decorator: Google::Apis::CloudsupportV2beta::Attachment::Representation
|
427
|
+
|
428
|
+
property :comment, as: 'comment', class: Google::Apis::CloudsupportV2beta::Comment, decorator: Google::Apis::CloudsupportV2beta::Comment::Representation
|
429
|
+
|
430
|
+
property :deleted_attachment, as: 'deletedAttachment', class: Google::Apis::CloudsupportV2beta::Attachment, decorator: Google::Apis::CloudsupportV2beta::Attachment::Representation
|
431
|
+
|
432
|
+
property :email_message, as: 'emailMessage', class: Google::Apis::CloudsupportV2beta::EmailMessage, decorator: Google::Apis::CloudsupportV2beta::EmailMessage::Representation
|
433
|
+
|
434
|
+
property :event_time, as: 'eventTime'
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
376
438
|
class ListAttachmentsResponse
|
377
439
|
# @private
|
378
440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -455,6 +517,13 @@ module Google
|
|
455
517
|
end
|
456
518
|
end
|
457
519
|
|
520
|
+
class Product
|
521
|
+
# @private
|
522
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
523
|
+
property :product_line, as: 'productLine'
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
458
527
|
class SearchCaseClassificationsResponse
|
459
528
|
# @private
|
460
529
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -473,6 +542,22 @@ module Google
|
|
473
542
|
end
|
474
543
|
end
|
475
544
|
|
545
|
+
class ShowFeedResponse
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
collection :feed_items, as: 'feedItems', class: Google::Apis::CloudsupportV2beta::FeedItem, decorator: Google::Apis::CloudsupportV2beta::FeedItem::Representation
|
549
|
+
|
550
|
+
property :next_page_token, as: 'nextPageToken'
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
554
|
+
class TextContent
|
555
|
+
# @private
|
556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
557
|
+
property :plain_text, as: 'plainText'
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
476
561
|
class WorkflowOperationMetadata
|
477
562
|
# @private
|
478
563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -72,6 +72,8 @@ module Google
|
|
72
72
|
# @param [String] page_token
|
73
73
|
# A token identifying the page of results to return. If unspecified, the first
|
74
74
|
# page is retrieved.
|
75
|
+
# @param [String] product_product_line
|
76
|
+
# The product line of the Product.
|
75
77
|
# @param [String] query
|
76
78
|
# An expression used to filter case classifications. If it's an empty string,
|
77
79
|
# then no filtering happens. Otherwise, case classifications will be returned
|
@@ -93,12 +95,13 @@ module Google
|
|
93
95
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
94
96
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
95
97
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
96
|
-
def search_case_classifications(page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
98
|
+
def search_case_classifications(page_size: nil, page_token: nil, product_product_line: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
97
99
|
command = make_simple_command(:get, 'v2beta/caseClassifications:search', options)
|
98
100
|
command.response_representation = Google::Apis::CloudsupportV2beta::SearchCaseClassificationsResponse::Representation
|
99
101
|
command.response_class = Google::Apis::CloudsupportV2beta::SearchCaseClassificationsResponse
|
100
102
|
command.query['pageSize'] = page_size unless page_size.nil?
|
101
103
|
command.query['pageToken'] = page_token unless page_token.nil?
|
104
|
+
command.query['product.productLine'] = product_product_line unless product_product_line.nil?
|
102
105
|
command.query['query'] = query unless query.nil?
|
103
106
|
command.query['fields'] = fields unless fields.nil?
|
104
107
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -313,6 +316,9 @@ module Google
|
|
313
316
|
# @param [String] page_token
|
314
317
|
# A token identifying the page of results to return. If unspecified, the first
|
315
318
|
# page is retrieved.
|
319
|
+
# @param [String] product_line
|
320
|
+
# The product line to request cases for. If unspecified, only Google Cloud cases
|
321
|
+
# will be returned.
|
316
322
|
# @param [String] fields
|
317
323
|
# Selector specifying which fields to include in a partial response.
|
318
324
|
# @param [String] quota_user
|
@@ -330,7 +336,7 @@ module Google
|
|
330
336
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
331
337
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
332
338
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
333
|
-
def list_cases(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
339
|
+
def list_cases(parent, filter: nil, page_size: nil, page_token: nil, product_line: nil, fields: nil, quota_user: nil, options: nil, &block)
|
334
340
|
command = make_simple_command(:get, 'v2beta/{+parent}/cases', options)
|
335
341
|
command.response_representation = Google::Apis::CloudsupportV2beta::ListCasesResponse::Representation
|
336
342
|
command.response_class = Google::Apis::CloudsupportV2beta::ListCasesResponse
|
@@ -338,6 +344,7 @@ module Google
|
|
338
344
|
command.query['filter'] = filter unless filter.nil?
|
339
345
|
command.query['pageSize'] = page_size unless page_size.nil?
|
340
346
|
command.query['pageToken'] = page_token unless page_token.nil?
|
347
|
+
command.query['productLine'] = product_line unless product_line.nil?
|
341
348
|
command.query['fields'] = fields unless fields.nil?
|
342
349
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
343
350
|
execute_or_queue_command(command, &block)
|
@@ -460,6 +467,50 @@ module Google
|
|
460
467
|
execute_or_queue_command(command, &block)
|
461
468
|
end
|
462
469
|
|
470
|
+
# Show items in the feed of this case, including case emails, attachments, and
|
471
|
+
# comments.
|
472
|
+
# @param [String] parent
|
473
|
+
# Required. The resource name of the case for which feed items should be listed.
|
474
|
+
# @param [String] order_by
|
475
|
+
# Optional. Field to order feed items by, followed by `asc` or `desc` postfix.
|
476
|
+
# The only valid field is `creation_time`. This list is case-insensitive,
|
477
|
+
# default sorting order is ascending, and the redundant space characters are
|
478
|
+
# insignificant. Example: `creation_time desc`
|
479
|
+
# @param [Fixnum] page_size
|
480
|
+
# Optional. The maximum number of feed items fetched with each request.
|
481
|
+
# @param [String] page_token
|
482
|
+
# Optional. A token identifying the page of results to return. If unspecified,
|
483
|
+
# it retrieves the first page.
|
484
|
+
# @param [String] fields
|
485
|
+
# Selector specifying which fields to include in a partial response.
|
486
|
+
# @param [String] quota_user
|
487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
489
|
+
# @param [Google::Apis::RequestOptions] options
|
490
|
+
# Request-specific options
|
491
|
+
#
|
492
|
+
# @yield [result, err] Result & error if block supplied
|
493
|
+
# @yieldparam result [Google::Apis::CloudsupportV2beta::ShowFeedResponse] parsed result object
|
494
|
+
# @yieldparam err [StandardError] error object if request failed
|
495
|
+
#
|
496
|
+
# @return [Google::Apis::CloudsupportV2beta::ShowFeedResponse]
|
497
|
+
#
|
498
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
499
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
500
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
501
|
+
def show_case_feed(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
502
|
+
command = make_simple_command(:get, 'v2beta/{+parent}:showFeed', options)
|
503
|
+
command.response_representation = Google::Apis::CloudsupportV2beta::ShowFeedResponse::Representation
|
504
|
+
command.response_class = Google::Apis::CloudsupportV2beta::ShowFeedResponse
|
505
|
+
command.params['parent'] = parent unless parent.nil?
|
506
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
507
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
508
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
509
|
+
command.query['fields'] = fields unless fields.nil?
|
510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
511
|
+
execute_or_queue_command(command, &block)
|
512
|
+
end
|
513
|
+
|
463
514
|
# List all the attachments associated with a support case. EXAMPLES: cURL: ```
|
464
515
|
# shell case="projects/some-project/cases/23598314" curl \ --header "
|
465
516
|
# Authorization: Bearer $(gcloud auth print-access-token)" \ "https://
|
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.39.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: 2024-
|
11
|
+
date: 2024-05-05 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.39.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: []
|