google-cloud-support-v2beta 0.1.0 → 0.2.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 (24) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/support/v2beta/attachment_pb.rb +1 -1
  3. data/lib/google/cloud/support/v2beta/attachment_service_pb.rb +2 -1
  4. data/lib/google/cloud/support/v2beta/attachment_service_services_pb.rb +2 -30
  5. data/lib/google/cloud/support/v2beta/case_attachment_service/client.rb +92 -30
  6. data/lib/google/cloud/support/v2beta/case_attachment_service/paths.rb +43 -0
  7. data/lib/google/cloud/support/v2beta/case_attachment_service/rest/client.rb +85 -30
  8. data/lib/google/cloud/support/v2beta/case_attachment_service/rest/service_stub.rb +61 -0
  9. data/lib/google/cloud/support/v2beta/case_pb.rb +1 -1
  10. data/lib/google/cloud/support/v2beta/case_service/client.rb +0 -274
  11. data/lib/google/cloud/support/v2beta/case_service/rest/client.rb +0 -274
  12. data/lib/google/cloud/support/v2beta/case_service_services_pb.rb +0 -274
  13. data/lib/google/cloud/support/v2beta/comment_service/client.rb +92 -68
  14. data/lib/google/cloud/support/v2beta/comment_service/rest/client.rb +85 -68
  15. data/lib/google/cloud/support/v2beta/comment_service/rest/service_stub.rb +61 -0
  16. data/lib/google/cloud/support/v2beta/comment_service_pb.rb +2 -1
  17. data/lib/google/cloud/support/v2beta/comment_service_services_pb.rb +2 -68
  18. data/lib/google/cloud/support/v2beta/version.rb +1 -1
  19. data/proto_docs/google/cloud/support/v2beta/actor.rb +1 -1
  20. data/proto_docs/google/cloud/support/v2beta/attachment.rb +1 -1
  21. data/proto_docs/google/cloud/support/v2beta/attachment_service.rb +9 -0
  22. data/proto_docs/google/cloud/support/v2beta/case.rb +1 -1
  23. data/proto_docs/google/cloud/support/v2beta/comment_service.rb +9 -0
  24. metadata +2 -2
@@ -186,36 +186,6 @@ module Google
186
186
  ##
187
187
  # List all the comments associated with a case.
188
188
  #
189
- # EXAMPLES:
190
- #
191
- # cURL:
192
- #
193
- # ```shell
194
- # case="projects/some-project/cases/43595344"
195
- # curl \
196
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
197
- # "https://cloudsupport.googleapis.com/v2/$case/comments"
198
- # ```
199
- #
200
- # Python:
201
- #
202
- # ```python
203
- # import googleapiclient.discovery
204
- #
205
- # api_version = "v2"
206
- # supportApiService = googleapiclient.discovery.build(
207
- # serviceName="cloudsupport",
208
- # version=api_version,
209
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
210
- # )
211
- # request = (
212
- # supportApiService.cases()
213
- # .comments()
214
- # .list(parent="projects/some-project/cases/43595344")
215
- # )
216
- # print(request.execute())
217
- # ```
218
- #
219
189
  # @overload list_comments(request, options = nil)
220
190
  # Pass arguments to `list_comments` via a request object, either of type
221
191
  # {::Google::Cloud::Support::V2beta::ListCommentsRequest} or an equivalent Hash.
@@ -307,44 +277,6 @@ module Google
307
277
  #
308
278
  # The comment must have the following fields set: `body`.
309
279
  #
310
- # EXAMPLES:
311
- #
312
- # cURL:
313
- #
314
- # ```shell
315
- # case="projects/some-project/cases/43591344"
316
- # curl \
317
- # --request POST \
318
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
319
- # --header 'Content-Type: application/json' \
320
- # --data '{
321
- # "body": "This is a test comment."
322
- # }' \
323
- # "https://cloudsupport.googleapis.com/v2/$case/comments"
324
- # ```
325
- #
326
- # Python:
327
- #
328
- # ```python
329
- # import googleapiclient.discovery
330
- #
331
- # api_version = "v2"
332
- # supportApiService = googleapiclient.discovery.build(
333
- # serviceName="cloudsupport",
334
- # version=api_version,
335
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
336
- # )
337
- # request = (
338
- # supportApiService.cases()
339
- # .comments()
340
- # .create(
341
- # parent="projects/some-project/cases/43595344",
342
- # body=\\{"body": "This is a test comment."},
343
- # )
344
- # )
345
- # print(request.execute())
346
- # ```
347
- #
348
280
  # @overload create_comment(request, options = nil)
349
281
  # Pass arguments to `create_comment` via a request object, either of type
350
282
  # {::Google::Cloud::Support::V2beta::CreateCommentRequest} or an equivalent Hash.
@@ -422,6 +354,84 @@ module Google
422
354
  raise ::Google::Cloud::Error.from_error(e)
423
355
  end
424
356
 
357
+ ##
358
+ # Retrieve a comment.
359
+ #
360
+ # @overload get_comment(request, options = nil)
361
+ # Pass arguments to `get_comment` via a request object, either of type
362
+ # {::Google::Cloud::Support::V2beta::GetCommentRequest} or an equivalent Hash.
363
+ #
364
+ # @param request [::Google::Cloud::Support::V2beta::GetCommentRequest, ::Hash]
365
+ # A request object representing the call parameters. Required. To specify no
366
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
367
+ # @param options [::Gapic::CallOptions, ::Hash]
368
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
369
+ #
370
+ # @overload get_comment(name: nil)
371
+ # Pass arguments to `get_comment` via keyword arguments. Note that at
372
+ # least one keyword argument is required. To specify no parameters, or to keep all
373
+ # the default parameter values, pass an empty Hash as a request object (see above).
374
+ #
375
+ # @param name [::String]
376
+ # Required. The name of the comment to retrieve.
377
+ # @yield [result, operation] Access the result along with the TransportOperation object
378
+ # @yieldparam result [::Google::Cloud::Support::V2beta::Comment]
379
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
380
+ #
381
+ # @return [::Google::Cloud::Support::V2beta::Comment]
382
+ #
383
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
384
+ #
385
+ # @example Basic example
386
+ # require "google/cloud/support/v2beta"
387
+ #
388
+ # # Create a client object. The client can be reused for multiple calls.
389
+ # client = Google::Cloud::Support::V2beta::CommentService::Rest::Client.new
390
+ #
391
+ # # Create a request. To set request fields, pass in keyword arguments.
392
+ # request = Google::Cloud::Support::V2beta::GetCommentRequest.new
393
+ #
394
+ # # Call the get_comment method.
395
+ # result = client.get_comment request
396
+ #
397
+ # # The returned object is of type Google::Cloud::Support::V2beta::Comment.
398
+ # p result
399
+ #
400
+ def get_comment request, options = nil
401
+ raise ::ArgumentError, "request must be provided" if request.nil?
402
+
403
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Support::V2beta::GetCommentRequest
404
+
405
+ # Converts hash and nil to an options object
406
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
407
+
408
+ # Customize the options with defaults
409
+ call_metadata = @config.rpcs.get_comment.metadata.to_h
410
+
411
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
412
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
413
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
414
+ gapic_version: ::Google::Cloud::Support::V2beta::VERSION,
415
+ transports_version_send: [:rest]
416
+
417
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
418
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
419
+
420
+ options.apply_defaults timeout: @config.rpcs.get_comment.timeout,
421
+ metadata: call_metadata,
422
+ retry_policy: @config.rpcs.get_comment.retry_policy
423
+
424
+ options.apply_defaults timeout: @config.timeout,
425
+ metadata: @config.metadata,
426
+ retry_policy: @config.retry_policy
427
+
428
+ @comment_service_stub.get_comment request, options do |result, operation|
429
+ yield result, operation if block_given?
430
+ end
431
+ rescue ::Gapic::Rest::Error => e
432
+ raise ::Google::Cloud::Error.from_error(e)
433
+ end
434
+
425
435
  ##
426
436
  # Configuration class for the CommentService REST API.
427
437
  #
@@ -578,6 +588,11 @@ module Google
578
588
  # @return [::Gapic::Config::Method]
579
589
  #
580
590
  attr_reader :create_comment
591
+ ##
592
+ # RPC-specific configuration for `get_comment`
593
+ # @return [::Gapic::Config::Method]
594
+ #
595
+ attr_reader :get_comment
581
596
 
582
597
  # @private
583
598
  def initialize parent_rpcs = nil
@@ -585,6 +600,8 @@ module Google
585
600
  @list_comments = ::Gapic::Config::Method.new list_comments_config
586
601
  create_comment_config = parent_rpcs.create_comment if parent_rpcs.respond_to? :create_comment
587
602
  @create_comment = ::Gapic::Config::Method.new create_comment_config
603
+ get_comment_config = parent_rpcs.get_comment if parent_rpcs.respond_to? :get_comment
604
+ @get_comment = ::Gapic::Config::Method.new get_comment_config
588
605
 
589
606
  yield self if block_given?
590
607
  end
@@ -153,6 +153,46 @@ module Google
153
153
  end
154
154
  end
155
155
 
156
+ ##
157
+ # Baseline implementation for the get_comment REST call
158
+ #
159
+ # @param request_pb [::Google::Cloud::Support::V2beta::GetCommentRequest]
160
+ # A request object representing the call parameters. Required.
161
+ # @param options [::Gapic::CallOptions]
162
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
163
+ #
164
+ # @yield [result, operation] Access the result along with the TransportOperation object
165
+ # @yieldparam result [::Google::Cloud::Support::V2beta::Comment]
166
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
167
+ #
168
+ # @return [::Google::Cloud::Support::V2beta::Comment]
169
+ # A result object deserialized from the server's reply
170
+ def get_comment request_pb, options = nil
171
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
172
+
173
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_comment_request request_pb
174
+ query_string_params = if query_string_params.any?
175
+ query_string_params.to_h { |p| p.split "=", 2 }
176
+ else
177
+ {}
178
+ end
179
+
180
+ response = @client_stub.make_http_request(
181
+ verb,
182
+ uri: uri,
183
+ body: body || "",
184
+ params: query_string_params,
185
+ method_name: "get_comment",
186
+ options: options
187
+ )
188
+ operation = ::Gapic::Rest::TransportOperation.new response
189
+ result = ::Google::Cloud::Support::V2beta::Comment.decode_json response.body, ignore_unknown_fields: true
190
+ catch :response do
191
+ yield result, operation if block_given?
192
+ result
193
+ end
194
+ end
195
+
156
196
  ##
157
197
  # @private
158
198
  #
@@ -210,6 +250,27 @@ module Google
210
250
  )
211
251
  transcoder.transcode request_pb
212
252
  end
253
+
254
+ ##
255
+ # @private
256
+ #
257
+ # GRPC transcoding helper method for the get_comment REST call
258
+ #
259
+ # @param request_pb [::Google::Cloud::Support::V2beta::GetCommentRequest]
260
+ # A request object representing the call parameters. Required.
261
+ # @return [Array(String, [String, nil], Hash{String => String})]
262
+ # Uri, Body, Query string parameters
263
+ def self.transcode_get_comment_request request_pb
264
+ transcoder = Gapic::Rest::GrpcTranscoder.new
265
+ .with_bindings(
266
+ uri_method: :get,
267
+ uri_template: "/v2beta/{name}",
268
+ matches: [
269
+ ["name", %r{^[^/]+/[^/]+/cases/[^/]+/comments/[^/]+/?$}, false]
270
+ ]
271
+ )
272
+ transcoder.transcode request_pb
273
+ end
213
274
  end
214
275
  end
215
276
  end
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
11
11
  require 'google/cloud/support/v2beta/comment_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n1google/cloud/support/v2beta/comment_service.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/support/v2beta/comment.proto\"v\n\x13ListCommentsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"g\n\x14ListCommentsResponse\x12\x36\n\x08\x63omments\x18\x01 \x03(\x0b\x32$.google.cloud.support.v2beta.Comment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8c\x01\n\x14\x43reateCommentRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\x12:\n\x07\x63omment\x18\x02 \x01(\x0b\x32$.google.cloud.support.v2beta.CommentB\x03\xe0\x41\x02\x32\xc5\x04\n\x0e\x43ommentService\x12\xe7\x01\n\x0cListComments\x12\x30.google.cloud.support.v2beta.ListCommentsRequest\x1a\x31.google.cloud.support.v2beta.ListCommentsResponse\"r\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x63\x12,/v2beta/{parent=projects/*/cases/*}/commentsZ3\x12\x31/v2beta/{parent=organizations/*/cases/*}/comments\x12\xf7\x01\n\rCreateComment\x12\x31.google.cloud.support.v2beta.CreateCommentRequest\x1a$.google.cloud.support.v2beta.Comment\"\x8c\x01\xda\x41\x0eparent,comment\x82\xd3\xe4\x93\x02u\",/v2beta/{parent=projects/*/cases/*}/comments:\x07\x63ommentZ<\"1/v2beta/{parent=organizations/*/cases/*}/comments:\x07\x63omment\x1aO\xca\x41\x1b\x63loudsupport.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x01\n\x1f\x63om.google.cloud.support.v2betaB\x13\x43ommentServiceProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\x06proto3"
14
+ descriptor_data = "\n1google/cloud/support/v2beta/comment_service.proto\x12\x1bgoogle.cloud.support.v2beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/support/v2beta/comment.proto\"v\n\x13ListCommentsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"g\n\x14ListCommentsResponse\x12\x36\n\x08\x63omments\x18\x01 \x03(\x0b\x32$.google.cloud.support.v2beta.Comment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8c\x01\n\x14\x43reateCommentRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n cloudsupport.googleapis.com/Case\x12:\n\x07\x63omment\x18\x02 \x01(\x0b\x32$.google.cloud.support.v2beta.CommentB\x03\xe0\x41\x02\"N\n\x11GetCommentRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#cloudsupport.googleapis.com/Comment2\xe0\x05\n\x0e\x43ommentService\x12\xe7\x01\n\x0cListComments\x12\x30.google.cloud.support.v2beta.ListCommentsRequest\x1a\x31.google.cloud.support.v2beta.ListCommentsResponse\"r\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x63\x12,/v2beta/{parent=projects/*/cases/*}/commentsZ3\x12\x31/v2beta/{parent=organizations/*/cases/*}/comments\x12\xf7\x01\n\rCreateComment\x12\x31.google.cloud.support.v2beta.CreateCommentRequest\x1a$.google.cloud.support.v2beta.Comment\"\x8c\x01\xda\x41\x0eparent,comment\x82\xd3\xe4\x93\x02u\",/v2beta/{parent=projects/*/cases/*}/comments:\x07\x63ommentZ<\"1/v2beta/{parent=organizations/*/cases/*}/comments:\x07\x63omment\x12\x98\x01\n\nGetComment\x12..google.cloud.support.v2beta.GetCommentRequest\x1a$.google.cloud.support.v2beta.Comment\"4\xda\x41\x04name\x82\xd3\xe4\x93\x02\'\x12%/v2beta/{name=*/*/cases/*/comments/*}\x1aO\xca\x41\x1b\x63loudsupport.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x01\n\x1f\x63om.google.cloud.support.v2betaB\x13\x43ommentServiceProtoP\x01Z9cloud.google.com/go/support/apiv2beta/supportpb;supportpb\xaa\x02\x1bGoogle.Cloud.Support.V2Beta\xca\x02\x1bGoogle\\Cloud\\Support\\V2beta\xea\x02\x1eGoogle::Cloud::Support::V2betab\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -45,6 +45,7 @@ module Google
45
45
  ListCommentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.ListCommentsRequest").msgclass
46
46
  ListCommentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.ListCommentsResponse").msgclass
47
47
  CreateCommentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.CreateCommentRequest").msgclass
48
+ GetCommentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.support.v2beta.GetCommentRequest").msgclass
48
49
  end
49
50
  end
50
51
  end
@@ -34,79 +34,13 @@ module Google
34
34
  self.service_name = 'google.cloud.support.v2beta.CommentService'
35
35
 
36
36
  # List all the comments associated with a case.
37
- #
38
- # EXAMPLES:
39
- #
40
- # cURL:
41
- #
42
- # ```shell
43
- # case="projects/some-project/cases/43595344"
44
- # curl \
45
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
46
- # "https://cloudsupport.googleapis.com/v2/$case/comments"
47
- # ```
48
- #
49
- # Python:
50
- #
51
- # ```python
52
- # import googleapiclient.discovery
53
- #
54
- # api_version = "v2"
55
- # supportApiService = googleapiclient.discovery.build(
56
- # serviceName="cloudsupport",
57
- # version=api_version,
58
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
59
- # )
60
- # request = (
61
- # supportApiService.cases()
62
- # .comments()
63
- # .list(parent="projects/some-project/cases/43595344")
64
- # )
65
- # print(request.execute())
66
- # ```
67
37
  rpc :ListComments, ::Google::Cloud::Support::V2beta::ListCommentsRequest, ::Google::Cloud::Support::V2beta::ListCommentsResponse
68
38
  # Add a new comment to a case.
69
39
  #
70
40
  # The comment must have the following fields set: `body`.
71
- #
72
- # EXAMPLES:
73
- #
74
- # cURL:
75
- #
76
- # ```shell
77
- # case="projects/some-project/cases/43591344"
78
- # curl \
79
- # --request POST \
80
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
81
- # --header 'Content-Type: application/json' \
82
- # --data '{
83
- # "body": "This is a test comment."
84
- # }' \
85
- # "https://cloudsupport.googleapis.com/v2/$case/comments"
86
- # ```
87
- #
88
- # Python:
89
- #
90
- # ```python
91
- # import googleapiclient.discovery
92
- #
93
- # api_version = "v2"
94
- # supportApiService = googleapiclient.discovery.build(
95
- # serviceName="cloudsupport",
96
- # version=api_version,
97
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
98
- # )
99
- # request = (
100
- # supportApiService.cases()
101
- # .comments()
102
- # .create(
103
- # parent="projects/some-project/cases/43595344",
104
- # body={"body": "This is a test comment."},
105
- # )
106
- # )
107
- # print(request.execute())
108
- # ```
109
41
  rpc :CreateComment, ::Google::Cloud::Support::V2beta::CreateCommentRequest, ::Google::Cloud::Support::V2beta::Comment
42
+ # Retrieve a comment.
43
+ rpc :GetComment, ::Google::Cloud::Support::V2beta::GetCommentRequest, ::Google::Cloud::Support::V2beta::Comment
110
44
  end
111
45
 
112
46
  Stub = Service.rpc_stub_class
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Support
23
23
  module V2beta
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -38,7 +38,7 @@ module Google
38
38
  # email must also be provided. If the user is a Google Support agent, this is
39
39
  # obfuscated.
40
40
  #
41
- # This field is deprecated. Use **username** field instead.
41
+ # This field is deprecated. Use `username` instead.
42
42
  # @!attribute [r] google_support
43
43
  # @return [::Boolean]
44
44
  # Output only. Whether the actor is a Google support actor.
@@ -31,7 +31,7 @@ module Google
31
31
  # "comment" level.
32
32
  # @!attribute [r] name
33
33
  # @return [::String]
34
- # Output only. The resource name of the attachment.
34
+ # Output only. Identifier. The resource name of the attachment.
35
35
  # @!attribute [r] create_time
36
36
  # @return [::Google::Protobuf::Timestamp]
37
37
  # Output only. The time at which the attachment was created.
@@ -44,6 +44,15 @@ module Google
44
44
  extend ::Google::Protobuf::MessageExts::ClassMethods
45
45
  end
46
46
 
47
+ # Request for getting an attachment.
48
+ # @!attribute [rw] name
49
+ # @return [::String]
50
+ # Required. The name of the attachment to get.
51
+ class GetAttachmentRequest
52
+ include ::Google::Protobuf::MessageExts
53
+ extend ::Google::Protobuf::MessageExts::ClassMethods
54
+ end
55
+
47
56
  # The response message for the ListAttachments endpoint.
48
57
  # @!attribute [rw] attachments
49
58
  # @return [::Array<::Google::Cloud::Support::V2beta::Attachment>]
@@ -50,7 +50,7 @@ module Google
50
50
  # about project identifiers, see [AIP-2510](https://google.aip.dev/cloud/2510).
51
51
  # @!attribute [rw] name
52
52
  # @return [::String]
53
- # The resource name for the case.
53
+ # Identifier. The resource name for the case.
54
54
  # @!attribute [rw] display_name
55
55
  # @return [::String]
56
56
  # The short summary of the issue reported in this case.
@@ -62,6 +62,15 @@ module Google
62
62
  include ::Google::Protobuf::MessageExts
63
63
  extend ::Google::Protobuf::MessageExts::ClassMethods
64
64
  end
65
+
66
+ # The request message for the GetComment endpoint.
67
+ # @!attribute [rw] name
68
+ # @return [::String]
69
+ # Required. The name of the comment to retrieve.
70
+ class GetCommentRequest
71
+ include ::Google::Protobuf::MessageExts
72
+ extend ::Google::Protobuf::MessageExts::ClassMethods
73
+ end
65
74
  end
66
75
  end
67
76
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-support-v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubygems_version: 3.6.8
139
+ rubygems_version: 3.6.9
140
140
  specification_version: 4
141
141
  summary: Manages Google Cloud technical support cases for Customer Care support offerings.
142
142
  test_files: []