google-cloud-channel-v1 0.21.0 → 0.22.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/channel/v1/billing_accounts_pb.rb +47 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +35 -1
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb +10 -1
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/client.rb +82 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/operations.rb +75 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest.rb +5 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service.rb +5 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +165 -15
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +10 -1
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb +1053 -14
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/operations.rb +75 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb +59 -0
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/offers_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/reports_service_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/reports_service_services_pb.rb +17 -0
- data/lib/google/cloud/channel/v1/repricing_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/service_pb.rb +7 -1
- data/lib/google/cloud/channel/v1/service_services_pb.rb +47 -12
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/channel/v1/billing_accounts.rb +48 -0
- data/proto_docs/google/cloud/channel/v1/customers.rb +3 -3
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +5 -1
- data/proto_docs/google/cloud/channel/v1/offers.rb +3 -0
- data/proto_docs/google/cloud/channel/v1/repricing.rb +22 -3
- data/proto_docs/google/cloud/channel/v1/service.rb +75 -0
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b80a4dcdca9f823d4e0b883c1763ac190fc1f13e1c7a703d362a11542eba207
|
4
|
+
data.tar.gz: 3bf12e8c63942f31368c226fd3d23b952f6f1a72096e0e3dd98b3ca02ca933db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6098f15c53368da8a68caa30efbc0c04bbb1b7cd1b4e03668fd4cf0bb4fed0180cc5eff56d635ff9ad9654ecabe64f2ea46d1f9331b924c47bed2b28665b2dc
|
7
|
+
data.tar.gz: 8e1dc2c27e8207c0584376399de949a9f4f6b4d8200c6bd771361fff0bb5b7995d285192281d007f59718b6806c7bc408d4ba231fc9515ac584af7d17293abcc
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/channel/v1/billing_accounts.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n.google/cloud/channel/v1/billing_accounts.proto\x12\x17google.cloud.channel.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8c\x02\n\x0e\x42illingAccount\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1a\n\rcurrency_code\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bregion_code\x18\x05 \x01(\tB\x03\xe0\x41\x03:e\xea\x41\x62\n*cloudchannel.googleapis.com/BillingAccount\x12\x34\x61\x63\x63ounts/{account}/billingAccounts/{billing_account}Bl\n\x1b\x63om.google.cloud.channel.v1B\x14\x42illingAccountsProtoP\x01Z5cloud.google.com/go/channel/apiv1/channelpb;channelpbb\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError => e
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
37
|
+
end
|
38
|
+
|
39
|
+
module Google
|
40
|
+
module Cloud
|
41
|
+
module Channel
|
42
|
+
module V1
|
43
|
+
BillingAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.channel.v1.BillingAccount").msgclass
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -31,6 +31,11 @@ module Google
|
|
31
31
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
32
32
|
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
33
33
|
#
|
34
|
+
# Deprecated: This service is being deprecated. Please use [Export Channel
|
35
|
+
# Services data to
|
36
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
37
|
+
# instead.
|
38
|
+
#
|
34
39
|
class Client
|
35
40
|
include Paths
|
36
41
|
|
@@ -43,6 +48,8 @@ module Google
|
|
43
48
|
# See {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client::Configuration}
|
44
49
|
# for a description of the configuration fields.
|
45
50
|
#
|
51
|
+
# @deprecated This service is deprecated and may be removed in the next major version update.
|
52
|
+
#
|
46
53
|
# @example
|
47
54
|
#
|
48
55
|
# # Modify the configuration for all CloudChannelReportsService clients
|
@@ -146,7 +153,8 @@ module Google
|
|
146
153
|
credentials: credentials,
|
147
154
|
endpoint: @config.endpoint,
|
148
155
|
channel_args: @config.channel_args,
|
149
|
-
interceptors: @config.interceptors
|
156
|
+
interceptors: @config.interceptors,
|
157
|
+
channel_pool_config: @config.channel_pool
|
150
158
|
)
|
151
159
|
end
|
152
160
|
|
@@ -186,6 +194,12 @@ module Google
|
|
186
194
|
# with the
|
187
195
|
# {::Google::Cloud::Channel::V1::RunReportJobResponse#report_job RunReportJobResponse.report_job}.
|
188
196
|
#
|
197
|
+
# Deprecated: Please use [Export Channel Services data to
|
198
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
199
|
+
# instead.
|
200
|
+
#
|
201
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
202
|
+
#
|
189
203
|
# @overload run_report_job(request, options = nil)
|
190
204
|
# Pass arguments to `run_report_job` via a request object, either of type
|
191
205
|
# {::Google::Cloud::Channel::V1::RunReportJobRequest} or an equivalent Hash.
|
@@ -302,6 +316,12 @@ module Google
|
|
302
316
|
# Retrieves data generated by
|
303
317
|
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#run_report_job CloudChannelReportsService.RunReportJob}.
|
304
318
|
#
|
319
|
+
# Deprecated: Please use [Export Channel Services data to
|
320
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
321
|
+
# instead.
|
322
|
+
#
|
323
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
324
|
+
#
|
305
325
|
# @overload fetch_report_results(request, options = nil)
|
306
326
|
# Pass arguments to `fetch_report_results` via a request object, either of type
|
307
327
|
# {::Google::Cloud::Channel::V1::FetchReportResultsRequest} or an equivalent Hash.
|
@@ -413,6 +433,12 @@ module Google
|
|
413
433
|
# Lists the reports that RunReportJob can run. These reports include an ID,
|
414
434
|
# a description, and the list of columns that will be in the result.
|
415
435
|
#
|
436
|
+
# Deprecated: Please use [Export Channel Services data to
|
437
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
438
|
+
# instead.
|
439
|
+
#
|
440
|
+
# @deprecated This method is deprecated and may be removed in the next major version update.
|
441
|
+
#
|
416
442
|
# @overload list_reports(request, options = nil)
|
417
443
|
# Pass arguments to `list_reports` via a request object, either of type
|
418
444
|
# {::Google::Cloud::Channel::V1::ListReportsRequest} or an equivalent Hash.
|
@@ -636,6 +662,14 @@ module Google
|
|
636
662
|
end
|
637
663
|
end
|
638
664
|
|
665
|
+
##
|
666
|
+
# Configuration for the channel pool
|
667
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
668
|
+
#
|
669
|
+
def channel_pool
|
670
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
671
|
+
end
|
672
|
+
|
639
673
|
##
|
640
674
|
# Configuration RPC class for the CloudChannelReportsService API.
|
641
675
|
#
|
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|
@@ -33,6 +33,11 @@ module Google
|
|
33
33
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
34
34
|
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
35
35
|
#
|
36
|
+
# Deprecated: This service is being deprecated. Please use [Export Channel
|
37
|
+
# Services data to
|
38
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
39
|
+
# instead.
|
40
|
+
#
|
36
41
|
class Client
|
37
42
|
include Paths
|
38
43
|
|
@@ -45,6 +50,8 @@ module Google
|
|
45
50
|
# See {::Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client::Configuration}
|
46
51
|
# for a description of the configuration fields.
|
47
52
|
#
|
53
|
+
# @deprecated This service is deprecated and may be removed in the next major version update.
|
54
|
+
#
|
48
55
|
# @example
|
49
56
|
#
|
50
57
|
# # Modify the configuration for all CloudChannelReportsService clients
|
@@ -177,6 +184,10 @@ module Google
|
|
177
184
|
# with the
|
178
185
|
# {::Google::Cloud::Channel::V1::RunReportJobResponse#report_job RunReportJobResponse.report_job}.
|
179
186
|
#
|
187
|
+
# Deprecated: Please use [Export Channel Services data to
|
188
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
189
|
+
# instead.
|
190
|
+
#
|
180
191
|
# @overload run_report_job(request, options = nil)
|
181
192
|
# Pass arguments to `run_report_job` via a request object, either of type
|
182
193
|
# {::Google::Cloud::Channel::V1::RunReportJobRequest} or an equivalent Hash.
|
@@ -223,6 +234,29 @@ module Google
|
|
223
234
|
# @return [::Gapic::Operation]
|
224
235
|
#
|
225
236
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
237
|
+
#
|
238
|
+
# @example Basic example
|
239
|
+
# require "google/cloud/channel/v1"
|
240
|
+
#
|
241
|
+
# # Create a client object. The client can be reused for multiple calls.
|
242
|
+
# client = Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client.new
|
243
|
+
#
|
244
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
245
|
+
# request = Google::Cloud::Channel::V1::RunReportJobRequest.new
|
246
|
+
#
|
247
|
+
# # Call the run_report_job method.
|
248
|
+
# result = client.run_report_job request
|
249
|
+
#
|
250
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
251
|
+
# # check the status of an operation, cancel it, or wait for results.
|
252
|
+
# # Here is how to wait for a response.
|
253
|
+
# result.wait_until_done! timeout: 60
|
254
|
+
# if result.response?
|
255
|
+
# p result.response
|
256
|
+
# else
|
257
|
+
# puts "No response received."
|
258
|
+
# end
|
259
|
+
#
|
226
260
|
def run_report_job request, options = nil
|
227
261
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
228
262
|
|
@@ -263,6 +297,10 @@ module Google
|
|
263
297
|
# Retrieves data generated by
|
264
298
|
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client#run_report_job CloudChannelReportsService.RunReportJob}.
|
265
299
|
#
|
300
|
+
# Deprecated: Please use [Export Channel Services data to
|
301
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
302
|
+
# instead.
|
303
|
+
#
|
266
304
|
# @overload fetch_report_results(request, options = nil)
|
267
305
|
# Pass arguments to `fetch_report_results` via a request object, either of type
|
268
306
|
# {::Google::Cloud::Channel::V1::FetchReportResultsRequest} or an equivalent Hash.
|
@@ -307,6 +345,26 @@ module Google
|
|
307
345
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Channel::V1::Row>]
|
308
346
|
#
|
309
347
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
348
|
+
#
|
349
|
+
# @example Basic example
|
350
|
+
# require "google/cloud/channel/v1"
|
351
|
+
#
|
352
|
+
# # Create a client object. The client can be reused for multiple calls.
|
353
|
+
# client = Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client.new
|
354
|
+
#
|
355
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
356
|
+
# request = Google::Cloud::Channel::V1::FetchReportResultsRequest.new
|
357
|
+
#
|
358
|
+
# # Call the fetch_report_results method.
|
359
|
+
# result = client.fetch_report_results request
|
360
|
+
#
|
361
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
362
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
363
|
+
# result.each do |item|
|
364
|
+
# # Each element is of type ::Google::Cloud::Channel::V1::Row.
|
365
|
+
# p item
|
366
|
+
# end
|
367
|
+
#
|
310
368
|
def fetch_report_results request, options = nil
|
311
369
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
312
370
|
|
@@ -347,6 +405,10 @@ module Google
|
|
347
405
|
# Lists the reports that RunReportJob can run. These reports include an ID,
|
348
406
|
# a description, and the list of columns that will be in the result.
|
349
407
|
#
|
408
|
+
# Deprecated: Please use [Export Channel Services data to
|
409
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
410
|
+
# instead.
|
411
|
+
#
|
350
412
|
# @overload list_reports(request, options = nil)
|
351
413
|
# Pass arguments to `list_reports` via a request object, either of type
|
352
414
|
# {::Google::Cloud::Channel::V1::ListReportsRequest} or an equivalent Hash.
|
@@ -388,6 +450,26 @@ module Google
|
|
388
450
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Channel::V1::Report>]
|
389
451
|
#
|
390
452
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
453
|
+
#
|
454
|
+
# @example Basic example
|
455
|
+
# require "google/cloud/channel/v1"
|
456
|
+
#
|
457
|
+
# # Create a client object. The client can be reused for multiple calls.
|
458
|
+
# client = Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client.new
|
459
|
+
#
|
460
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
461
|
+
# request = Google::Cloud::Channel::V1::ListReportsRequest.new
|
462
|
+
#
|
463
|
+
# # Call the list_reports method.
|
464
|
+
# result = client.list_reports request
|
465
|
+
#
|
466
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
467
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
468
|
+
# result.each do |item|
|
469
|
+
# # Each element is of type ::Google::Cloud::Channel::V1::Report.
|
470
|
+
# p item
|
471
|
+
# end
|
472
|
+
#
|
391
473
|
def list_reports request, options = nil
|
392
474
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
393
475
|
|
@@ -136,6 +136,26 @@ module Google
|
|
136
136
|
# @return [::Gapic::Operation]
|
137
137
|
#
|
138
138
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
139
|
+
#
|
140
|
+
# @example Basic example
|
141
|
+
# require "google/longrunning"
|
142
|
+
#
|
143
|
+
# # Create a client object. The client can be reused for multiple calls.
|
144
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
145
|
+
#
|
146
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
147
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
148
|
+
#
|
149
|
+
# # Call the list_operations method.
|
150
|
+
# result = client.list_operations request
|
151
|
+
#
|
152
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
153
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
154
|
+
# result.each do |item|
|
155
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
156
|
+
# p item
|
157
|
+
# end
|
158
|
+
#
|
139
159
|
def list_operations request, options = nil
|
140
160
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
141
161
|
|
@@ -201,6 +221,29 @@ module Google
|
|
201
221
|
# @return [::Gapic::Operation]
|
202
222
|
#
|
203
223
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
224
|
+
#
|
225
|
+
# @example Basic example
|
226
|
+
# require "google/longrunning"
|
227
|
+
#
|
228
|
+
# # Create a client object. The client can be reused for multiple calls.
|
229
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
230
|
+
#
|
231
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
232
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
233
|
+
#
|
234
|
+
# # Call the get_operation method.
|
235
|
+
# result = client.get_operation request
|
236
|
+
#
|
237
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
238
|
+
# # check the status of an operation, cancel it, or wait for results.
|
239
|
+
# # Here is how to wait for a response.
|
240
|
+
# result.wait_until_done! timeout: 60
|
241
|
+
# if result.response?
|
242
|
+
# p result.response
|
243
|
+
# else
|
244
|
+
# puts "No response received."
|
245
|
+
# end
|
246
|
+
#
|
204
247
|
def get_operation request, options = nil
|
205
248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
206
249
|
|
@@ -267,6 +310,22 @@ module Google
|
|
267
310
|
# @return [::Google::Protobuf::Empty]
|
268
311
|
#
|
269
312
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
313
|
+
#
|
314
|
+
# @example Basic example
|
315
|
+
# require "google/longrunning"
|
316
|
+
#
|
317
|
+
# # Create a client object. The client can be reused for multiple calls.
|
318
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
319
|
+
#
|
320
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
321
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
322
|
+
#
|
323
|
+
# # Call the delete_operation method.
|
324
|
+
# result = client.delete_operation request
|
325
|
+
#
|
326
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
327
|
+
# p result
|
328
|
+
#
|
270
329
|
def delete_operation request, options = nil
|
271
330
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
331
|
|
@@ -338,6 +397,22 @@ module Google
|
|
338
397
|
# @return [::Google::Protobuf::Empty]
|
339
398
|
#
|
340
399
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
#
|
401
|
+
# @example Basic example
|
402
|
+
# require "google/longrunning"
|
403
|
+
#
|
404
|
+
# # Create a client object. The client can be reused for multiple calls.
|
405
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
406
|
+
#
|
407
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
408
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
409
|
+
#
|
410
|
+
# # Call the cancel_operation method.
|
411
|
+
# result = client.cancel_operation request
|
412
|
+
#
|
413
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
414
|
+
# p result
|
415
|
+
#
|
341
416
|
def cancel_operation request, options = nil
|
342
417
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
343
418
|
|
@@ -36,6 +36,11 @@ module Google
|
|
36
36
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
37
37
|
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
38
38
|
#
|
39
|
+
# Deprecated: This service is being deprecated. Please use [Export Channel
|
40
|
+
# Services data to
|
41
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
42
|
+
# instead.
|
43
|
+
#
|
39
44
|
# To load this service and instantiate a REST client:
|
40
45
|
#
|
41
46
|
# require "google/cloud/channel/v1/cloud_channel_reports_service/rest"
|
@@ -37,6 +37,11 @@ module Google
|
|
37
37
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
38
38
|
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
39
39
|
#
|
40
|
+
# Deprecated: This service is being deprecated. Please use [Export Channel
|
41
|
+
# Services data to
|
42
|
+
# BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery)
|
43
|
+
# instead.
|
44
|
+
#
|
40
45
|
# @example Load this service and instantiate a gRPC client
|
41
46
|
#
|
42
47
|
# require "google/cloud/channel/v1/cloud_channel_reports_service"
|