google-cloud-channel-v1 0.18.0 → 0.19.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/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +5 -3
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/client.rb +5 -3
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest.rb +1 -2
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service.rb +1 -2
- data/lib/google/cloud/channel/v1/reports_service_pb.rb +2 -0
- data/lib/google/cloud/channel/v1/reports_service_services_pb.rb +1 -2
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +4 -4
- data/proto_docs/google/cloud/channel/v1/offers.rb +6 -7
- data/proto_docs/google/cloud/channel/v1/reports_service.rb +15 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6aa651be95327373ebe3d57c8dab14c2f5e3efcccf0ffe46b7c5fda85a2facc
|
4
|
+
data.tar.gz: 3d91f0f7a31ead787fb693a969e129bd6159b7cc150b74282aaca02907d2ac91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc95ed0c91635e9e9eceba856cb7fefe0d19405f50ab2a615441148f5adc135ff1cd0c84b23335d2e758ca3454447e39441291c9e9c4ba23d14258504df906f3
|
7
|
+
data.tar.gz: 8fd88f7b27c25896fc3004439bcafc1d55338d43cfe8a7d57b14631658cd545eacd5e71a5c3d8b18484e3cfbcf5c73f25c40e7d414bea90b9df068160224c3f3
|
@@ -29,8 +29,7 @@ module Google
|
|
29
29
|
#
|
30
30
|
# CloudChannelReportsService lets Google Cloud resellers and
|
31
31
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
32
|
-
# multiple products (Google Cloud
|
33
|
-
# Google Workspace.)
|
32
|
+
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
34
33
|
#
|
35
34
|
class Client
|
36
35
|
include Paths
|
@@ -313,7 +312,7 @@ module Google
|
|
313
312
|
# @param options [::Gapic::CallOptions, ::Hash]
|
314
313
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
315
314
|
#
|
316
|
-
# @overload fetch_report_results(report_job: nil, page_size: nil, page_token: nil)
|
315
|
+
# @overload fetch_report_results(report_job: nil, page_size: nil, page_token: nil, partition_keys: nil)
|
317
316
|
# Pass arguments to `fetch_report_results` via keyword arguments. Note that at
|
318
317
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
319
318
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -337,6 +336,9 @@ module Google
|
|
337
336
|
# of the previous
|
338
337
|
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}
|
339
338
|
# call.
|
339
|
+
# @param partition_keys [::Array<::String>]
|
340
|
+
# Optional. List of keys specifying which report partitions to return.
|
341
|
+
# If empty, returns all partitions.
|
340
342
|
#
|
341
343
|
# @yield [response, operation] Access the result along with the RPC operation
|
342
344
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Channel::V1::Row>]
|
@@ -31,8 +31,7 @@ module Google
|
|
31
31
|
#
|
32
32
|
# CloudChannelReportsService lets Google Cloud resellers and
|
33
33
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
34
|
-
# multiple products (Google Cloud
|
35
|
-
# Google Workspace.)
|
34
|
+
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
36
35
|
#
|
37
36
|
class Client
|
38
37
|
include Paths
|
@@ -274,7 +273,7 @@ module Google
|
|
274
273
|
# @param options [::Gapic::CallOptions, ::Hash]
|
275
274
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
276
275
|
#
|
277
|
-
# @overload fetch_report_results(report_job: nil, page_size: nil, page_token: nil)
|
276
|
+
# @overload fetch_report_results(report_job: nil, page_size: nil, page_token: nil, partition_keys: nil)
|
278
277
|
# Pass arguments to `fetch_report_results` via keyword arguments. Note that at
|
279
278
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
280
279
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -298,6 +297,9 @@ module Google
|
|
298
297
|
# of the previous
|
299
298
|
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Rest::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}
|
300
299
|
# call.
|
300
|
+
# @param partition_keys [::Array<::String>]
|
301
|
+
# Optional. List of keys specifying which report partitions to return.
|
302
|
+
# If empty, returns all partitions.
|
301
303
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
302
304
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Channel::V1::Row>]
|
303
305
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -34,8 +34,7 @@ module Google
|
|
34
34
|
##
|
35
35
|
# CloudChannelReportsService lets Google Cloud resellers and
|
36
36
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
37
|
-
# multiple products (Google Cloud
|
38
|
-
# Google Workspace.)
|
37
|
+
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
39
38
|
#
|
40
39
|
# To load this service and instantiate a REST client:
|
41
40
|
#
|
@@ -35,8 +35,7 @@ module Google
|
|
35
35
|
##
|
36
36
|
# CloudChannelReportsService lets Google Cloud resellers and
|
37
37
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
38
|
-
# multiple products (Google Cloud
|
39
|
-
# Google Workspace.)
|
38
|
+
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
40
39
|
#
|
41
40
|
# @example Load this service and instantiate a gRPC client
|
42
41
|
#
|
@@ -31,6 +31,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
31
|
optional :report_job, :string, 1
|
32
32
|
optional :page_size, :int32, 2
|
33
33
|
optional :page_token, :string, 3
|
34
|
+
repeated :partition_keys, :string, 4
|
34
35
|
end
|
35
36
|
add_message "google.cloud.channel.v1.FetchReportResultsResponse" do
|
36
37
|
optional :report_metadata, :message, 1, "google.cloud.channel.v1.ReportResultsMetadata"
|
@@ -79,6 +80,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
79
80
|
end
|
80
81
|
add_message "google.cloud.channel.v1.Row" do
|
81
82
|
repeated :values, :message, 1, "google.cloud.channel.v1.ReportValue"
|
83
|
+
optional :partition_key, :string, 2
|
82
84
|
end
|
83
85
|
add_message "google.cloud.channel.v1.ReportValue" do
|
84
86
|
oneof :value do
|
@@ -26,8 +26,7 @@ module Google
|
|
26
26
|
module CloudChannelReportsService
|
27
27
|
# CloudChannelReportsService lets Google Cloud resellers and
|
28
28
|
# distributors retrieve and combine a variety of data in Cloud Channel for
|
29
|
-
# multiple products (Google Cloud
|
30
|
-
# Google Workspace.)
|
29
|
+
# multiple products (Google Cloud, Google Voice, and Google Workspace.)
|
31
30
|
class Service
|
32
31
|
|
33
32
|
include ::GRPC::GenericService
|
@@ -81,8 +81,8 @@ module Google
|
|
81
81
|
#
|
82
82
|
# - assigned_units: The number of licenses assigned to users.
|
83
83
|
#
|
84
|
-
# For
|
85
|
-
# input:
|
84
|
+
# For Google Cloud billing subaccounts, the following Parameter may be
|
85
|
+
# accepted as input:
|
86
86
|
#
|
87
87
|
# - display_name: The display name of the billing subaccount.
|
88
88
|
# @!attribute [rw] billing_account
|
@@ -160,8 +160,8 @@ module Google
|
|
160
160
|
# @!attribute [r] provisioning_id
|
161
161
|
# @return [::String]
|
162
162
|
# Output only. Provisioning ID of the entitlement. For Google Workspace, this
|
163
|
-
# is the underlying Subscription ID. For Google Cloud
|
164
|
-
#
|
163
|
+
# is the underlying Subscription ID. For Google Cloud, this is the Billing
|
164
|
+
# Account ID of the billing subaccount."
|
165
165
|
# @!attribute [r] product_id
|
166
166
|
# @return [::String]
|
167
167
|
# Output only. The product pertaining to the provisioning resource as
|
@@ -153,7 +153,7 @@ module Google
|
|
153
153
|
# @!attribute [rw] billing_account
|
154
154
|
# @return [::String]
|
155
155
|
# Reseller Billing account to charge after an offer transaction.
|
156
|
-
# Only present for Google Cloud
|
156
|
+
# Only present for Google Cloud offers.
|
157
157
|
class Plan
|
158
158
|
include ::Google::Protobuf::MessageExts
|
159
159
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -320,14 +320,13 @@ module Google
|
|
320
320
|
# Voice usage.
|
321
321
|
MINUTES = 5
|
322
322
|
|
323
|
-
# For IaaS SKUs like Google Cloud
|
324
|
-
#
|
325
|
-
#
|
326
|
-
#
|
327
|
-
# Platform.
|
323
|
+
# For IaaS SKUs like Google Cloud, monetization is based on usage accrued on
|
324
|
+
# your billing account irrespective of the type of monetizable resource. This
|
325
|
+
# enum represents an aggregated resource/container for all usage SKUs on a
|
326
|
+
# billing account. Currently, only applicable to Google Cloud.
|
328
327
|
IAAS_USAGE = 6
|
329
328
|
|
330
|
-
# For Google Cloud
|
329
|
+
# For Google Cloud subscriptions like Anthos or SAP.
|
331
330
|
SUBSCRIPTION = 7
|
332
331
|
end
|
333
332
|
|
@@ -97,6 +97,10 @@ module Google
|
|
97
97
|
# of the previous
|
98
98
|
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}
|
99
99
|
# call.
|
100
|
+
# @!attribute [rw] partition_keys
|
101
|
+
# @return [::Array<::String>]
|
102
|
+
# Optional. List of keys specifying which report partitions to return.
|
103
|
+
# If empty, returns all partitions.
|
100
104
|
class FetchReportResultsRequest
|
101
105
|
include ::Google::Protobuf::MessageExts
|
102
106
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -276,15 +280,14 @@ module Google
|
|
276
280
|
# @return [::Google::Type::Date]
|
277
281
|
# The earliest invoice date (inclusive).
|
278
282
|
#
|
279
|
-
# If
|
280
|
-
#
|
283
|
+
# If this value is not the first day of a month, this will move it back to
|
284
|
+
# the first day of the given month.
|
281
285
|
# @!attribute [rw] invoice_end_date
|
282
286
|
# @return [::Google::Type::Date]
|
283
|
-
# The latest invoice date (
|
287
|
+
# The latest invoice date (inclusive).
|
284
288
|
#
|
285
|
-
# If
|
286
|
-
#
|
287
|
-
# month.
|
289
|
+
# If this value is not the last day of a month, this will move it forward to
|
290
|
+
# the last day of the given month.
|
288
291
|
class DateRange
|
289
292
|
include ::Google::Protobuf::MessageExts
|
290
293
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -294,6 +297,10 @@ module Google
|
|
294
297
|
# @!attribute [rw] values
|
295
298
|
# @return [::Array<::Google::Cloud::Channel::V1::ReportValue>]
|
296
299
|
# The list of values in the row.
|
300
|
+
# @!attribute [rw] partition_key
|
301
|
+
# @return [::String]
|
302
|
+
# The key for the partition this row belongs to. This field is empty
|
303
|
+
# if the report is not partitioned.
|
297
304
|
class Row
|
298
305
|
include ::Google::Protobuf::MessageExts
|
299
306
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -360,7 +367,8 @@ module Google
|
|
360
367
|
end
|
361
368
|
|
362
369
|
# The ID and description of a report that was used to generate report data.
|
363
|
-
# For example, "
|
370
|
+
# For example, "Google Cloud Daily Spend", "Google Workspace License Activity",
|
371
|
+
# etc.
|
364
372
|
# @!attribute [rw] name
|
365
373
|
# @return [::String]
|
366
374
|
# Required. The report's resource name. Specifies the account and report used
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-channel-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|