google-cloud-channel-v1 0.14.0 → 0.15.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +26 -20
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +297 -211
- data/lib/google/cloud/channel/v1/cloud_channel_service.rb +8 -7
- data/lib/google/cloud/channel/v1/reports_service_services_pb.rb +4 -2
- data/lib/google/cloud/channel/v1/repricing_pb.rb +17 -0
- data/lib/google/cloud/channel/v1/service_services_pb.rb +155 -102
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/channel/v1/channel_partner_links.rb +5 -3
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +21 -16
- data/proto_docs/google/cloud/channel/v1/offers.rb +2 -2
- data/proto_docs/google/cloud/channel/v1/operations.rb +2 -1
- data/proto_docs/google/cloud/channel/v1/reports_service.rb +49 -34
- data/proto_docs/google/cloud/channel/v1/repricing.rb +63 -14
- data/proto_docs/google/cloud/channel/v1/service.rb +241 -159
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61d3be747a93d7c0903fa6a646c480c22809b2f1889dfedb512ae0ab07b93b22
|
4
|
+
data.tar.gz: 4940c1f4fd1862ab910916a75dc00ea60cc224d9b8d27a8672a3e958ec8a20eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77720a01cb3b208c47a8b7585b4295d6403bd5515de4fec76b7db030e3d7269beb39a8735fa6cb7c45eb60b15afcf93fcbbb8c0ed05316438d03663345a038b2
|
7
|
+
data.tar.gz: 9bf5a370feca77de6d6d5131fafc0621c683878b69f8ae54781e85a722876d6d6f20b8021d4e46da3bd874eecb0c9ad393ee34377cc2eda32adfe0952073d4b6
|
data/README.md
CHANGED
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -183,7 +183,8 @@ module Google
|
|
183
183
|
# instance of {::Google::Cloud::Channel::V1::OperationMetadata OperationMetadata}.
|
184
184
|
#
|
185
185
|
# To get the results of report generation, call
|
186
|
-
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}
|
186
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}
|
187
|
+
# with the
|
187
188
|
# {::Google::Cloud::Channel::V1::RunReportJobResponse#report_job RunReportJobResponse.report_job}.
|
188
189
|
#
|
189
190
|
# @overload run_report_job(request, options = nil)
|
@@ -202,16 +203,16 @@ module Google
|
|
202
203
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
203
204
|
#
|
204
205
|
# @param name [::String]
|
205
|
-
# Required. The report's resource name. Specifies the account and report used
|
206
|
-
# generate report data. The report_id identifier is a UID (for example,
|
206
|
+
# Required. The report's resource name. Specifies the account and report used
|
207
|
+
# to generate report data. The report_id identifier is a UID (for example,
|
207
208
|
# `613bf59q`).
|
208
209
|
# Name uses the format:
|
209
210
|
# accounts/\\{account_id}/reports/\\{report_id}
|
210
211
|
# @param date_range [::Google::Cloud::Channel::V1::DateRange, ::Hash]
|
211
212
|
# Optional. The range of usage or invoice dates to include in the result.
|
212
213
|
# @param filter [::String]
|
213
|
-
# Optional. A structured string that defines conditions on dimension columns
|
214
|
-
# restrict the report output.
|
214
|
+
# Optional. A structured string that defines conditions on dimension columns
|
215
|
+
# to restrict the report output.
|
215
216
|
#
|
216
217
|
# Filters support logical operators (AND, OR, NOT) and conditional operators
|
217
218
|
# (=, !=, <, >, <=, and >=) using `column_id` as keys.
|
@@ -299,7 +300,8 @@ module Google
|
|
299
300
|
end
|
300
301
|
|
301
302
|
##
|
302
|
-
# Retrieves data generated by
|
303
|
+
# Retrieves data generated by
|
304
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#run_report_job CloudChannelReportsService.RunReportJob}.
|
303
305
|
#
|
304
306
|
# @overload fetch_report_results(request, options = nil)
|
305
307
|
# Pass arguments to `fetch_report_results` via a request object, either of type
|
@@ -317,21 +319,24 @@ module Google
|
|
317
319
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
318
320
|
#
|
319
321
|
# @param report_job [::String]
|
320
|
-
# Required. The report job created by
|
322
|
+
# Required. The report job created by
|
323
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#run_report_job CloudChannelReportsService.RunReportJob}.
|
321
324
|
# Report_job uses the format:
|
322
325
|
# accounts/\\{account_id}/reportJobs/\\{report_job_id}
|
323
326
|
# @param page_size [::Integer]
|
324
|
-
# Optional. Requested page size of the report. The server may return fewer
|
325
|
-
# requested. If you don't specify a page size, the server uses a
|
326
|
-
# default (may change over time).
|
327
|
+
# Optional. Requested page size of the report. The server may return fewer
|
328
|
+
# results than requested. If you don't specify a page size, the server uses a
|
329
|
+
# sensible default (may change over time).
|
327
330
|
#
|
328
331
|
# The maximum value is 30,000; the server will change larger values to
|
329
332
|
# 30,000.
|
330
333
|
# @param page_token [::String]
|
331
334
|
# Optional. A token that specifies a page of results beyond the first page.
|
332
335
|
# Obtained through
|
333
|
-
# {::Google::Cloud::Channel::V1::FetchReportResultsResponse#next_page_token FetchReportResultsResponse.next_page_token}
|
334
|
-
#
|
336
|
+
# {::Google::Cloud::Channel::V1::FetchReportResultsResponse#next_page_token FetchReportResultsResponse.next_page_token}
|
337
|
+
# of the previous
|
338
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}
|
339
|
+
# call.
|
335
340
|
#
|
336
341
|
# @yield [response, operation] Access the result along with the RPC operation
|
337
342
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Channel::V1::Row>]
|
@@ -424,18 +429,19 @@ module Google
|
|
424
429
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
425
430
|
#
|
426
431
|
# @param parent [::String]
|
427
|
-
# Required. The resource name of the partner account to list available
|
428
|
-
# Parent uses the format:
|
429
|
-
# accounts/\\{account_id}
|
432
|
+
# Required. The resource name of the partner account to list available
|
433
|
+
# reports for. Parent uses the format: accounts/\\{account_id}
|
430
434
|
# @param page_size [::Integer]
|
431
|
-
# Optional. Requested page size of the report. The server might return fewer
|
432
|
-
# than requested. If unspecified, returns 20 reports.
|
433
|
-
#
|
435
|
+
# Optional. Requested page size of the report. The server might return fewer
|
436
|
+
# results than requested. If unspecified, returns 20 reports. The maximum
|
437
|
+
# value is 100.
|
434
438
|
# @param page_token [::String]
|
435
439
|
# Optional. A token that specifies a page of results beyond the first page.
|
436
440
|
# Obtained through
|
437
|
-
# {::Google::Cloud::Channel::V1::ListReportsResponse#next_page_token ListReportsResponse.next_page_token}
|
438
|
-
#
|
441
|
+
# {::Google::Cloud::Channel::V1::ListReportsResponse#next_page_token ListReportsResponse.next_page_token}
|
442
|
+
# of the previous
|
443
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#list_reports CloudChannelReportsService.ListReports}
|
444
|
+
# call.
|
439
445
|
# @param language_code [::String]
|
440
446
|
# Optional. The BCP-47 language code, such as "en-US". If specified, the
|
441
447
|
# response is localized to the corresponding language code if the
|