google-cloud-support-v2beta 0.1.0 → 0.1.1

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.
@@ -193,36 +193,6 @@ module Google
193
193
  ##
194
194
  # List all the comments associated with a case.
195
195
  #
196
- # EXAMPLES:
197
- #
198
- # cURL:
199
- #
200
- # ```shell
201
- # case="projects/some-project/cases/43595344"
202
- # curl \
203
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
204
- # "https://cloudsupport.googleapis.com/v2/$case/comments"
205
- # ```
206
- #
207
- # Python:
208
- #
209
- # ```python
210
- # import googleapiclient.discovery
211
- #
212
- # api_version = "v2"
213
- # supportApiService = googleapiclient.discovery.build(
214
- # serviceName="cloudsupport",
215
- # version=api_version,
216
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
217
- # )
218
- # request = (
219
- # supportApiService.cases()
220
- # .comments()
221
- # .list(parent="projects/some-project/cases/43595344")
222
- # )
223
- # print(request.execute())
224
- # ```
225
- #
226
196
  # @overload list_comments(request, options = nil)
227
197
  # Pass arguments to `list_comments` via a request object, either of type
228
198
  # {::Google::Cloud::Support::V2beta::ListCommentsRequest} or an equivalent Hash.
@@ -321,44 +291,6 @@ module Google
321
291
  #
322
292
  # The comment must have the following fields set: `body`.
323
293
  #
324
- # EXAMPLES:
325
- #
326
- # cURL:
327
- #
328
- # ```shell
329
- # case="projects/some-project/cases/43591344"
330
- # curl \
331
- # --request POST \
332
- # --header "Authorization: Bearer $(gcloud auth print-access-token)" \
333
- # --header 'Content-Type: application/json' \
334
- # --data '{
335
- # "body": "This is a test comment."
336
- # }' \
337
- # "https://cloudsupport.googleapis.com/v2/$case/comments"
338
- # ```
339
- #
340
- # Python:
341
- #
342
- # ```python
343
- # import googleapiclient.discovery
344
- #
345
- # api_version = "v2"
346
- # supportApiService = googleapiclient.discovery.build(
347
- # serviceName="cloudsupport",
348
- # version=api_version,
349
- # discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version=\\{api_version}",
350
- # )
351
- # request = (
352
- # supportApiService.cases()
353
- # .comments()
354
- # .create(
355
- # parent="projects/some-project/cases/43595344",
356
- # body=\\{"body": "This is a test comment."},
357
- # )
358
- # )
359
- # print(request.execute())
360
- # ```
361
- #
362
294
  # @overload create_comment(request, options = nil)
363
295
  # Pass arguments to `create_comment` via a request object, either of type
364
296
  # {::Google::Cloud::Support::V2beta::CreateCommentRequest} or an equivalent Hash.
@@ -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.
@@ -34,78 +34,10 @@ 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
110
42
  end
111
43
 
@@ -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.1.1"
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.
@@ -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.
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.1.1
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: []