google-cloud-support-v2beta 0.a → 0.1.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.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/support/v2beta/actor_pb.rb +44 -0
  6. data/lib/google/cloud/support/v2beta/attachment_pb.rb +49 -0
  7. data/lib/google/cloud/support/v2beta/attachment_service_pb.rb +50 -0
  8. data/lib/google/cloud/support/v2beta/attachment_service_services_pb.rb +75 -0
  9. data/lib/google/cloud/support/v2beta/case_attachment_service/client.rb +510 -0
  10. data/lib/google/cloud/support/v2beta/case_attachment_service/credentials.rb +47 -0
  11. data/lib/google/cloud/support/v2beta/case_attachment_service/paths.rb +72 -0
  12. data/lib/google/cloud/support/v2beta/case_attachment_service/rest/client.rb +477 -0
  13. data/lib/google/cloud/support/v2beta/case_attachment_service/rest/service_stub.rb +149 -0
  14. data/lib/google/cloud/support/v2beta/case_attachment_service/rest.rb +52 -0
  15. data/lib/google/cloud/support/v2beta/case_attachment_service.rb +55 -0
  16. data/lib/google/cloud/support/v2beta/case_pb.rb +54 -0
  17. data/lib/google/cloud/support/v2beta/case_service/client.rb +1526 -0
  18. data/lib/google/cloud/support/v2beta/case_service/credentials.rb +47 -0
  19. data/lib/google/cloud/support/v2beta/case_service/paths.rb +100 -0
  20. data/lib/google/cloud/support/v2beta/case_service/rest/client.rb +1452 -0
  21. data/lib/google/cloud/support/v2beta/case_service/rest/service_stub.rb +624 -0
  22. data/lib/google/cloud/support/v2beta/case_service/rest.rb +52 -0
  23. data/lib/google/cloud/support/v2beta/case_service.rb +55 -0
  24. data/lib/google/cloud/support/v2beta/case_service_pb.rb +63 -0
  25. data/lib/google/cloud/support/v2beta/case_service_services_pb.rb +356 -0
  26. data/lib/google/cloud/support/v2beta/comment_pb.rb +49 -0
  27. data/lib/google/cloud/support/v2beta/comment_service/client.rb +639 -0
  28. data/lib/google/cloud/support/v2beta/comment_service/credentials.rb +47 -0
  29. data/lib/google/cloud/support/v2beta/comment_service/paths.rb +115 -0
  30. data/lib/google/cloud/support/v2beta/comment_service/rest/client.rb +599 -0
  31. data/lib/google/cloud/support/v2beta/comment_service/rest/service_stub.rb +219 -0
  32. data/lib/google/cloud/support/v2beta/comment_service/rest.rb +52 -0
  33. data/lib/google/cloud/support/v2beta/comment_service.rb +55 -0
  34. data/lib/google/cloud/support/v2beta/comment_service_pb.rb +51 -0
  35. data/lib/google/cloud/support/v2beta/comment_service_services_pb.rb +117 -0
  36. data/lib/google/cloud/support/v2beta/content_pb.rb +42 -0
  37. data/lib/google/cloud/support/v2beta/email_message_pb.rb +51 -0
  38. data/lib/google/cloud/support/v2beta/escalation_pb.rb +45 -0
  39. data/lib/google/cloud/support/v2beta/feed_item_pb.rb +52 -0
  40. data/lib/google/cloud/support/v2beta/feed_service/client.rb +482 -0
  41. data/lib/google/cloud/support/v2beta/feed_service/credentials.rb +47 -0
  42. data/lib/google/cloud/support/v2beta/feed_service/paths.rb +72 -0
  43. data/lib/google/cloud/support/v2beta/feed_service/rest/client.rb +449 -0
  44. data/lib/google/cloud/support/v2beta/feed_service/rest/service_stub.rb +149 -0
  45. data/lib/google/cloud/support/v2beta/feed_service/rest.rb +52 -0
  46. data/lib/google/cloud/support/v2beta/feed_service.rb +55 -0
  47. data/lib/google/cloud/support/v2beta/feed_service_pb.rb +50 -0
  48. data/lib/google/cloud/support/v2beta/feed_service_services_pb.rb +46 -0
  49. data/lib/google/cloud/support/v2beta/rest.rb +40 -0
  50. data/lib/google/cloud/support/v2beta/version.rb +7 -2
  51. data/lib/google/cloud/support/v2beta.rb +48 -0
  52. data/lib/google-cloud-support-v2beta.rb +21 -0
  53. data/proto_docs/README.md +4 -0
  54. data/proto_docs/google/api/client.rb +473 -0
  55. data/proto_docs/google/api/field_behavior.rb +85 -0
  56. data/proto_docs/google/api/launch_stage.rb +71 -0
  57. data/proto_docs/google/api/resource.rb +227 -0
  58. data/proto_docs/google/cloud/support/v2beta/actor.rb +59 -0
  59. data/proto_docs/google/cloud/support/v2beta/attachment.rb +58 -0
  60. data/proto_docs/google/cloud/support/v2beta/attachment_service.rb +63 -0
  61. data/proto_docs/google/cloud/support/v2beta/case.rb +215 -0
  62. data/proto_docs/google/cloud/support/v2beta/case_service.rb +245 -0
  63. data/proto_docs/google/cloud/support/v2beta/comment.rb +58 -0
  64. data/proto_docs/google/cloud/support/v2beta/comment_service.rb +68 -0
  65. data/proto_docs/google/cloud/support/v2beta/content.rb +35 -0
  66. data/proto_docs/google/cloud/support/v2beta/email_message.rb +55 -0
  67. data/proto_docs/google/cloud/support/v2beta/escalation.rb +55 -0
  68. data/proto_docs/google/cloud/support/v2beta/feed_item.rb +56 -0
  69. data/proto_docs/google/cloud/support/v2beta/feed_service.rb +65 -0
  70. data/proto_docs/google/protobuf/duration.rb +98 -0
  71. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  72. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  73. metadata +105 -9
@@ -0,0 +1,245 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # The request message for the GetCase endpoint.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Required. The full name of a case to be retrieved.
28
+ class GetCaseRequest
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # The request message for the CreateCase endpoint.
34
+ # @!attribute [rw] parent
35
+ # @return [::String]
36
+ # Required. The name of the parent under which the case should be created.
37
+ # @!attribute [rw] case
38
+ # @return [::Google::Cloud::Support::V2beta::Case]
39
+ # Required. The case to be created.
40
+ class CreateCaseRequest
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+
45
+ # The request message for the ListCases endpoint.
46
+ # @!attribute [rw] parent
47
+ # @return [::String]
48
+ # Required. The name of a parent to list cases under.
49
+ # @!attribute [rw] filter
50
+ # @return [::String]
51
+ # An expression used to filter cases.
52
+ #
53
+ # If it's an empty string, then no filtering happens. Otherwise, the endpoint
54
+ # returns the cases that match the filter.
55
+ #
56
+ # Expressions use the following fields separated by `AND` and specified with
57
+ # `=`:
58
+ #
59
+ # - `state`: Can be `OPEN` or `CLOSED`.
60
+ # - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
61
+ # can specify multiple values for priority using the `OR` operator. For
62
+ # example, `priority=P1 OR priority=P2`.
63
+ # - `creator.email`: The email address of the case creator.
64
+ #
65
+ # EXAMPLES:
66
+ #
67
+ # - `state=CLOSED`
68
+ # - `state=OPEN AND creator.email="tester@example.com"`
69
+ # - `state=OPEN AND (priority=P0 OR priority=P1)`
70
+ # @!attribute [rw] page_size
71
+ # @return [::Integer]
72
+ # The maximum number of cases fetched with each request. Defaults to 10.
73
+ # @!attribute [rw] page_token
74
+ # @return [::String]
75
+ # A token identifying the page of results to return. If unspecified, the
76
+ # first page is retrieved.
77
+ # @!attribute [rw] product_line
78
+ # @return [::Google::Cloud::Support::V2beta::ProductLine]
79
+ # The product line to request cases for. If unspecified, only
80
+ # Google Cloud cases will be returned.
81
+ class ListCasesRequest
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # The response message for the ListCases endpoint.
87
+ # @!attribute [rw] cases
88
+ # @return [::Array<::Google::Cloud::Support::V2beta::Case>]
89
+ # The list of cases associated with the parent after any
90
+ # filters have been applied.
91
+ # @!attribute [rw] next_page_token
92
+ # @return [::String]
93
+ # A token to retrieve the next page of results. Set this in the `page_token`
94
+ # field of subsequent `cases.list` requests. If unspecified, there are no
95
+ # more results to retrieve.
96
+ class ListCasesResponse
97
+ include ::Google::Protobuf::MessageExts
98
+ extend ::Google::Protobuf::MessageExts::ClassMethods
99
+ end
100
+
101
+ # The request message for the SearchCases endpoint.
102
+ # @!attribute [rw] parent
103
+ # @return [::String]
104
+ # The name of the parent resource to search for cases under.
105
+ # @!attribute [rw] query
106
+ # @return [::String]
107
+ # An expression used to filter cases.
108
+ #
109
+ # Expressions use the following fields separated by `AND` and specified with
110
+ # `=`:
111
+ #
112
+ # - `organization`: An organization name in the form
113
+ # `organizations/<organization_id>`.
114
+ # - `project`: A project name in the form `projects/<project_id>`.
115
+ # - `state`: Can be `OPEN` or `CLOSED`.
116
+ # - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
117
+ # can specify multiple values for priority using the `OR` operator. For
118
+ # example, `priority=P1 OR priority=P2`.
119
+ # - `creator.email`: The email address of the case creator.
120
+ #
121
+ # You must specify either `organization` or `project`.
122
+ #
123
+ # To search across `displayName`, `description`, and comments, use a global
124
+ # restriction with no keyword or operator. For example, `"my search"`.
125
+ #
126
+ # To search only cases updated after a certain date, use `update_time`
127
+ # restricted with that particular date, time, and timezone in ISO datetime
128
+ # format. For example, `update_time>"2020-01-01T00:00:00-05:00"`.
129
+ # `update_time` only supports the greater than operator (`>`).
130
+ #
131
+ # Examples:
132
+ #
133
+ # - `organization="organizations/123456789"`
134
+ # - `project="projects/my-project-id"`
135
+ # - `project="projects/123456789"`
136
+ # - `organization="organizations/123456789" AND state=CLOSED`
137
+ # - `project="projects/my-project-id" AND creator.email="tester@example.com"`
138
+ # - `project="projects/my-project-id" AND (priority=P0 OR priority=P1)`
139
+ # @!attribute [rw] page_size
140
+ # @return [::Integer]
141
+ # The maximum number of cases fetched with each request. The default page
142
+ # size is 10.
143
+ # @!attribute [rw] page_token
144
+ # @return [::String]
145
+ # A token identifying the page of results to return. If unspecified, the
146
+ # first page is retrieved.
147
+ class SearchCasesRequest
148
+ include ::Google::Protobuf::MessageExts
149
+ extend ::Google::Protobuf::MessageExts::ClassMethods
150
+ end
151
+
152
+ # The response message for the SearchCases endpoint.
153
+ # @!attribute [rw] cases
154
+ # @return [::Array<::Google::Cloud::Support::V2beta::Case>]
155
+ # The list of cases associated with the parent after any
156
+ # filters have been applied.
157
+ # @!attribute [rw] next_page_token
158
+ # @return [::String]
159
+ # A token to retrieve the next page of results. Set this in the
160
+ # `page_token` field of subsequent `cases.search` requests. If unspecified,
161
+ # there are no more results to retrieve.
162
+ class SearchCasesResponse
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # The request message for the EscalateCase endpoint.
168
+ # @!attribute [rw] name
169
+ # @return [::String]
170
+ # Required. The name of the case to be escalated.
171
+ # @!attribute [rw] escalation
172
+ # @return [::Google::Cloud::Support::V2beta::Escalation]
173
+ # The escalation information to be sent with the escalation request.
174
+ class EscalateCaseRequest
175
+ include ::Google::Protobuf::MessageExts
176
+ extend ::Google::Protobuf::MessageExts::ClassMethods
177
+ end
178
+
179
+ # The request message for the UpdateCase endpoint
180
+ # @!attribute [rw] case
181
+ # @return [::Google::Cloud::Support::V2beta::Case]
182
+ # Required. The case to update.
183
+ # @!attribute [rw] update_mask
184
+ # @return [::Google::Protobuf::FieldMask]
185
+ # A list of attributes of the case that should be updated. Supported values
186
+ # are `priority`, `display_name`, and `subscriber_email_addresses`. If no
187
+ # fields are specified, all supported fields are updated.
188
+ #
189
+ # Be careful - if you do not provide a field mask, then you might
190
+ # accidentally clear some fields. For example, if you leave the field mask
191
+ # empty and do not provide a value for `subscriber_email_addresses`, then
192
+ # `subscriber_email_addresses` is updated to empty.
193
+ class UpdateCaseRequest
194
+ include ::Google::Protobuf::MessageExts
195
+ extend ::Google::Protobuf::MessageExts::ClassMethods
196
+ end
197
+
198
+ # The request message for the CloseCase endpoint.
199
+ # @!attribute [rw] name
200
+ # @return [::String]
201
+ # Required. The name of the case to close.
202
+ class CloseCaseRequest
203
+ include ::Google::Protobuf::MessageExts
204
+ extend ::Google::Protobuf::MessageExts::ClassMethods
205
+ end
206
+
207
+ # The request message for the SearchCaseClassifications endpoint.
208
+ # @!attribute [rw] query
209
+ # @return [::String]
210
+ # An expression used to filter case classifications.
211
+ #
212
+ # If it's an empty string, then no filtering happens. Otherwise, case
213
+ # classifications will be returned that match the filter.
214
+ # @!attribute [rw] page_size
215
+ # @return [::Integer]
216
+ # The maximum number of classifications fetched with each request.
217
+ # @!attribute [rw] page_token
218
+ # @return [::String]
219
+ # A token identifying the page of results to return. If unspecified, the
220
+ # first page is retrieved.
221
+ # @!attribute [rw] product
222
+ # @return [::Google::Cloud::Support::V2beta::Product]
223
+ # Optional. The product to return case classifications for.
224
+ class SearchCaseClassificationsRequest
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+
229
+ # The response message for SearchCaseClassifications endpoint.
230
+ # @!attribute [rw] case_classifications
231
+ # @return [::Array<::Google::Cloud::Support::V2beta::CaseClassification>]
232
+ # The classifications retrieved.
233
+ # @!attribute [rw] next_page_token
234
+ # @return [::String]
235
+ # A token to retrieve the next page of results. Set this in the `page_token`
236
+ # field of subsequent `caseClassifications.list` requests. If unspecified,
237
+ # there are no more results to retrieve.
238
+ class SearchCaseClassificationsResponse
239
+ include ::Google::Protobuf::MessageExts
240
+ extend ::Google::Protobuf::MessageExts::ClassMethods
241
+ end
242
+ end
243
+ end
244
+ end
245
+ end
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # A comment associated with a support case.
25
+ #
26
+ # Case comments are the primary way for Google Support to communicate with a
27
+ # user who has opened a case. When a user responds to Google Support, the
28
+ # user's responses also appear as comments.
29
+ # @!attribute [r] name
30
+ # @return [::String]
31
+ # Output only. Identifier. The resource name of the comment.
32
+ # @!attribute [r] create_time
33
+ # @return [::Google::Protobuf::Timestamp]
34
+ # Output only. The time when the comment was created.
35
+ # @!attribute [r] creator
36
+ # @return [::Google::Cloud::Support::V2beta::Actor]
37
+ # Output only. The user or Google Support agent who created the comment.
38
+ # @!attribute [rw] body
39
+ # @return [::String]
40
+ # The full comment body.
41
+ #
42
+ # Maximum of 12800 characters.
43
+ # @!attribute [r] plain_text_body
44
+ # @deprecated This field is deprecated and may be removed in the next major version update.
45
+ # @return [::String]
46
+ # Output only. DEPRECATED. DO NOT USE.
47
+ #
48
+ # A duplicate of the `body` field.
49
+ #
50
+ # This field is only present for legacy reasons.
51
+ class Comment
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,68 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # The request message for the ListComments endpoint.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The name of the case for which to list comments.
28
+ # @!attribute [rw] page_size
29
+ # @return [::Integer]
30
+ # The maximum number of comments to fetch. Defaults to 10.
31
+ # @!attribute [rw] page_token
32
+ # @return [::String]
33
+ # A token identifying the page of results to return. If unspecified, the
34
+ # first page is returned.
35
+ class ListCommentsRequest
36
+ include ::Google::Protobuf::MessageExts
37
+ extend ::Google::Protobuf::MessageExts::ClassMethods
38
+ end
39
+
40
+ # The response message for the ListComments endpoint.
41
+ # @!attribute [rw] comments
42
+ # @return [::Array<::Google::Cloud::Support::V2beta::Comment>]
43
+ # List of the comments associated with the case.
44
+ # @!attribute [rw] next_page_token
45
+ # @return [::String]
46
+ # A token to retrieve the next page of results. Set this in the `page_token`
47
+ # field of subsequent `cases.comments.list` requests. If unspecified, there
48
+ # are no more results to retrieve.
49
+ class ListCommentsResponse
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+
54
+ # The request message for the CreateComment endpoint.
55
+ # @!attribute [rw] parent
56
+ # @return [::String]
57
+ # Required. The name of the case to which the comment should be added.
58
+ # @!attribute [rw] comment
59
+ # @return [::Google::Cloud::Support::V2beta::Comment]
60
+ # Required. The comment to be added.
61
+ class CreateCommentRequest
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # Stores text attached to a support object.
25
+ # @!attribute [rw] plain_text
26
+ # @return [::String]
27
+ # Content in this field should be rendered and interpreted as-is.
28
+ class TextContent
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # An email associated with a support case.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. Resource name for the email message.
28
+ # @!attribute [r] create_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Output only. Time when this email message object was created.
31
+ # @!attribute [r] actor
32
+ # @return [::Google::Cloud::Support::V2beta::Actor]
33
+ # Output only. The user or Google Support agent that created this email
34
+ # message. This is inferred from the headers on the email message.
35
+ # @!attribute [r] subject
36
+ # @return [::String]
37
+ # Output only. Subject of the email.
38
+ # @!attribute [r] recipient_email_addresses
39
+ # @return [::Array<::String>]
40
+ # Output only. Email addresses the email was sent to.
41
+ # @!attribute [r] cc_email_addresses
42
+ # @return [::Array<::String>]
43
+ # Output only. Email addresses CCed on the email.
44
+ # @!attribute [r] body_content
45
+ # @return [::Google::Cloud::Support::V2beta::TextContent]
46
+ # Output only. The full email message body. A best-effort attempt is made to
47
+ # remove extraneous reply threads.
48
+ class EmailMessage
49
+ include ::Google::Protobuf::MessageExts
50
+ extend ::Google::Protobuf::MessageExts::ClassMethods
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # An escalation of a support case.
25
+ # @!attribute [rw] reason
26
+ # @return [::Google::Cloud::Support::V2beta::Escalation::Reason]
27
+ # Required. The reason why the Case is being escalated.
28
+ # @!attribute [rw] justification
29
+ # @return [::String]
30
+ # Required. A free text description to accompany the `reason` field above.
31
+ # Provides additional context on why the case is being escalated.
32
+ class Escalation
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+
36
+ # An enum detailing the possible reasons a case may be escalated.
37
+ module Reason
38
+ # The escalation reason is in an unknown state or has not been specified.
39
+ REASON_UNSPECIFIED = 0
40
+
41
+ # The case is taking too long to resolve.
42
+ RESOLUTION_TIME = 1
43
+
44
+ # The support agent does not have the expertise required to successfully
45
+ # resolve the issue.
46
+ TECHNICAL_EXPERTISE = 2
47
+
48
+ # The issue is having a significant business impact.
49
+ BUSINESS_IMPACT = 3
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # A feed item associated with a support case.
25
+ # @!attribute [r] comment
26
+ # @return [::Google::Cloud::Support::V2beta::Comment]
27
+ # Output only. A comment added to the case.
28
+ #
29
+ # Note: The following fields are mutually exclusive: `comment`, `attachment`, `email_message`, `deleted_attachment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
30
+ # @!attribute [r] attachment
31
+ # @return [::Google::Cloud::Support::V2beta::Attachment]
32
+ # Output only. An attachment attached to the case.
33
+ #
34
+ # Note: The following fields are mutually exclusive: `attachment`, `comment`, `email_message`, `deleted_attachment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
35
+ # @!attribute [r] email_message
36
+ # @return [::Google::Cloud::Support::V2beta::EmailMessage]
37
+ # Output only. An email message received in reply to the case.
38
+ #
39
+ # Note: The following fields are mutually exclusive: `email_message`, `comment`, `attachment`, `deleted_attachment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
+ # @!attribute [r] deleted_attachment
41
+ # @return [::Google::Cloud::Support::V2beta::Attachment]
42
+ # Output only. A deleted attachment that used to be associated with the
43
+ # support case.
44
+ #
45
+ # Note: The following fields are mutually exclusive: `deleted_attachment`, `comment`, `attachment`, `email_message`. If a field in that set is populated, all other fields in the set will automatically be cleared.
46
+ # @!attribute [r] event_time
47
+ # @return [::Google::Protobuf::Timestamp]
48
+ # Output only. Time corresponding to the event of this item.
49
+ class FeedItem
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Support
23
+ module V2beta
24
+ # The request message for the ShowFeed endpoint.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The resource name of the case for which feed items should be
28
+ # listed.
29
+ # @!attribute [rw] order_by
30
+ # @return [::String]
31
+ # Optional. Field to order feed items by, followed by `asc` or `desc`
32
+ # postfix. The only valid field is
33
+ # `creation_time`. This list is case-insensitive, default sorting order is
34
+ # ascending, and the redundant space characters are insignificant.
35
+ #
36
+ # Example: `creation_time desc`
37
+ # @!attribute [rw] page_size
38
+ # @return [::Integer]
39
+ # Optional. The maximum number of feed items fetched with each request.
40
+ # @!attribute [rw] page_token
41
+ # @return [::String]
42
+ # Optional. A token identifying the page of results to return. If
43
+ # unspecified, it retrieves the first page.
44
+ class ShowFeedRequest
45
+ include ::Google::Protobuf::MessageExts
46
+ extend ::Google::Protobuf::MessageExts::ClassMethods
47
+ end
48
+
49
+ # The response message for the ShowFeed endpoint.
50
+ # @!attribute [rw] feed_items
51
+ # @return [::Array<::Google::Cloud::Support::V2beta::FeedItem>]
52
+ # The list of feed items associated with the given Case.
53
+ # @!attribute [rw] next_page_token
54
+ # @return [::String]
55
+ # A token to retrieve the next page of results. This should be set in the
56
+ # `page_token` field of subsequent `ShowFeedRequests`.
57
+ # If unspecified, there are no more results to retrieve.
58
+ class ShowFeedResponse
59
+ include ::Google::Protobuf::MessageExts
60
+ extend ::Google::Protobuf::MessageExts::ClassMethods
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end