google-cloud-channel-v1 0.15.0 → 0.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61d3be747a93d7c0903fa6a646c480c22809b2f1889dfedb512ae0ab07b93b22
4
- data.tar.gz: 4940c1f4fd1862ab910916a75dc00ea60cc224d9b8d27a8672a3e958ec8a20eb
3
+ metadata.gz: cdf3c3ad2fbdba2747db533d2b1799aa193890699bee88076ad04fd752169561
4
+ data.tar.gz: 6c491505cced7628a330142bdafaa10486aafe6400c0cba132c4ba42090f4704
5
5
  SHA512:
6
- metadata.gz: 77720a01cb3b208c47a8b7585b4295d6403bd5515de4fec76b7db030e3d7269beb39a8735fa6cb7c45eb60b15afcf93fcbbb8c0ed05316438d03663345a038b2
7
- data.tar.gz: 9bf5a370feca77de6d6d5131fafc0621c683878b69f8ae54781e85a722876d6d6f20b8021d4e46da3bd874eecb0c9ad393ee34377cc2eda32adfe0952073d4b6
6
+ metadata.gz: 6225e99f7fed79535a4d1c24ce37d447cb539602a29c704c70624ec0ca6cc85239d15003cd3c1e7e9d57cd3f0482fa916823d420e1131de8a0d581f5e3932195
7
+ data.tar.gz: 431ea70d5f3b5eaeaa79be21bea9623f804372d5c923f66d0eb7828561d9fb5fff83dc757b72ba3f175926fa0b6323c63539357a4718699a46ae6cf17bf13f67
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Channel V1 API
2
2
 
3
- API Client library for the Cloud Channel V1 API
3
+ The Cloud Channel API enables Google Cloud partners to have a single unified resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps and Chrome.
4
4
 
5
5
  You can use Channel Services to manage your relationships with your partners and your customers. Channel Services include a console and APIs to view and provision links between distributors and resellers, customers and entitlements.
6
6
 
@@ -247,14 +247,14 @@ module Google
247
247
  # # Call the run_report_job method.
248
248
  # result = client.run_report_job request
249
249
  #
250
- # # The returned object is of type Gapic::Operation. You can use this
251
- # # object to check the status of an operation, cancel it, or wait
252
- # # for results. Here is how to block until completion:
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
253
  # result.wait_until_done! timeout: 60
254
254
  # if result.response?
255
255
  # p result.response
256
256
  # else
257
- # puts "Error!"
257
+ # puts "No response received."
258
258
  # end
259
259
  #
260
260
  def run_report_job request, options = nil
@@ -358,13 +358,11 @@ module Google
358
358
  # # Call the fetch_report_results method.
359
359
  # result = client.fetch_report_results request
360
360
  #
361
- # # The returned object is of type Gapic::PagedEnumerable. You can
362
- # # iterate over all elements by calling #each, and the enumerable
363
- # # will lazily make API calls to fetch subsequent pages. Other
364
- # # methods are also available for managing paging directly.
365
- # result.each do |response|
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|
366
364
  # # Each element is of type ::Google::Cloud::Channel::V1::Row.
367
- # p response
365
+ # p item
368
366
  # end
369
367
  #
370
368
  def fetch_report_results request, options = nil
@@ -468,13 +466,11 @@ module Google
468
466
  # # Call the list_reports method.
469
467
  # result = client.list_reports request
470
468
  #
471
- # # The returned object is of type Gapic::PagedEnumerable. You can
472
- # # iterate over all elements by calling #each, and the enumerable
473
- # # will lazily make API calls to fetch subsequent pages. Other
474
- # # methods are also available for managing paging directly.
475
- # result.each do |response|
469
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
470
+ # # over elements, and API calls will be issued to fetch pages as needed.
471
+ # result.each do |item|
476
472
  # # Each element is of type ::Google::Cloud::Channel::V1::Report.
477
- # p response
473
+ # p item
478
474
  # end
479
475
  #
480
476
  def list_reports request, options = nil
@@ -158,13 +158,11 @@ module Google
158
158
  # # Call the list_operations method.
159
159
  # result = client.list_operations request
160
160
  #
161
- # # The returned object is of type Gapic::PagedEnumerable. You can
162
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
164
- # # methods are also available for managing paging directly.
165
- # result.each do |response|
161
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
162
+ # # over elements, and API calls will be issued to fetch pages as needed.
163
+ # result.each do |item|
166
164
  # # Each element is of type ::Google::Longrunning::Operation.
167
- # p response
165
+ # p item
168
166
  # end
169
167
  #
170
168
  def list_operations request, options = nil
@@ -253,14 +251,14 @@ module Google
253
251
  # # Call the get_operation method.
254
252
  # result = client.get_operation request
255
253
  #
256
- # # The returned object is of type Gapic::Operation. You can use this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
254
+ # # The returned object is of type Gapic::Operation. You can use it to
255
+ # # check the status of an operation, cancel it, or wait for results.
256
+ # # Here is how to wait for a response.
259
257
  # result.wait_until_done! timeout: 60
260
258
  # if result.response?
261
259
  # p result.response
262
260
  # else
263
- # puts "Error!"
261
+ # puts "No response received."
264
262
  # end
265
263
  #
266
264
  def get_operation request, options = nil
@@ -540,14 +538,14 @@ module Google
540
538
  # # Call the wait_operation method.
541
539
  # result = client.wait_operation request
542
540
  #
543
- # # The returned object is of type Gapic::Operation. You can use this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
541
+ # # The returned object is of type Gapic::Operation. You can use it to
542
+ # # check the status of an operation, cancel it, or wait for results.
543
+ # # Here is how to wait for a response.
546
544
  # result.wait_until_done! timeout: 60
547
545
  # if result.response?
548
546
  # p result.response
549
547
  # else
550
- # puts "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil