google-cloud-channel-v1 0.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60136f93039bfca45387f078d5b69fb88bbd6a81ad3211ecdf13ee0e364db505
4
- data.tar.gz: 47063e16eab671bdea343a5986d4d67162289387ef278f22e5009cf24e9539ba
3
+ metadata.gz: c6aa651be95327373ebe3d57c8dab14c2f5e3efcccf0ffe46b7c5fda85a2facc
4
+ data.tar.gz: 3d91f0f7a31ead787fb693a969e129bd6159b7cc150b74282aaca02907d2ac91
5
5
  SHA512:
6
- metadata.gz: 7e10b8cee62bbad634847afd61625dc927ada9b70c3572e214e8681a8f5e15b84e3415cb567303b6ed17fc75a615bd998e01dfa980bdf1fe0e710a9188f4f78c
7
- data.tar.gz: 809ebef155747869e0af83361f67e5a49324c3240521d13e9d9a8ee16e5f0e5eb7ddc120711fc55877132f6a00acd26c176758dbdfb403bb8c5c06e89f0b0ae5
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 Platform (GCP), Google Voice, and
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 Platform (GCP), Google Voice, and
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 Platform (GCP), Google Voice, and
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 Platform (GCP), Google Voice, and
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
  #
@@ -3471,7 +3471,8 @@ module Google
3471
3471
  # {::Google::Cloud::Channel::V1::CustomerRepricingConfig CustomerRepricingConfig}
3472
3472
  # resources. The data for each resource is displayed in the ascending order
3473
3473
  # of:
3474
- # * customer ID
3474
+ #
3475
+ # * Customer ID
3475
3476
  # * {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity#entitlement RepricingConfig.EntitlementGranularity.entitlement}
3476
3477
  # * {::Google::Cloud::Channel::V1::RepricingConfig#effective_invoice_month RepricingConfig.effective_invoice_month}
3477
3478
  # * {::Google::Cloud::Channel::V1::CustomerRepricingConfig#update_time CustomerRepricingConfig.update_time}
@@ -4058,7 +4059,8 @@ module Google
4058
4059
  # {::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig ChannelPartnerRepricingConfig}
4059
4060
  # resources. The data for each resource is displayed in the ascending order
4060
4061
  # of:
4061
- # * channel partner ID
4062
+ #
4063
+ # * Channel Partner ID
4062
4064
  # * {::Google::Cloud::Channel::V1::RepricingConfig#effective_invoice_month RepricingConfig.effective_invoice_month}
4063
4065
  # * {::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig#update_time ChannelPartnerRepricingConfig.update_time}
4064
4066
  #
@@ -2744,7 +2744,8 @@ module Google
2744
2744
  # {::Google::Cloud::Channel::V1::CustomerRepricingConfig CustomerRepricingConfig}
2745
2745
  # resources. The data for each resource is displayed in the ascending order
2746
2746
  # of:
2747
- # * customer ID
2747
+ #
2748
+ # * Customer ID
2748
2749
  # * {::Google::Cloud::Channel::V1::RepricingConfig::EntitlementGranularity#entitlement RepricingConfig.EntitlementGranularity.entitlement}
2749
2750
  # * {::Google::Cloud::Channel::V1::RepricingConfig#effective_invoice_month RepricingConfig.effective_invoice_month}
2750
2751
  # * {::Google::Cloud::Channel::V1::CustomerRepricingConfig#update_time CustomerRepricingConfig.update_time}
@@ -3212,7 +3213,8 @@ module Google
3212
3213
  # {::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig ChannelPartnerRepricingConfig}
3213
3214
  # resources. The data for each resource is displayed in the ascending order
3214
3215
  # of:
3215
- # * channel partner ID
3216
+ #
3217
+ # * Channel Partner ID
3216
3218
  # * {::Google::Cloud::Channel::V1::RepricingConfig#effective_invoice_month RepricingConfig.effective_invoice_month}
3217
3219
  # * {::Google::Cloud::Channel::V1::ChannelPartnerRepricingConfig#update_time ChannelPartnerRepricingConfig.update_time}
3218
3220
  #
@@ -25,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
25
  optional :trial_settings, :message, 21, "google.cloud.channel.v1.TrialSettings"
26
26
  optional :association_info, :message, 23, "google.cloud.channel.v1.AssociationInfo"
27
27
  repeated :parameters, :message, 26, "google.cloud.channel.v1.Parameter"
28
+ optional :billing_account, :string, 28
28
29
  end
29
30
  add_enum "google.cloud.channel.v1.Entitlement.ProvisioningState" do
30
31
  value :PROVISIONING_STATE_UNSPECIFIED, 0
@@ -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 Platform (GCP), Google Voice, and
30
- # Google Workspace.)
29
+ # multiple products (Google Cloud, Google Voice, and Google Workspace.)
31
30
  class Service
32
31
 
33
32
  include ::GRPC::GenericService
@@ -623,7 +623,8 @@ module Google
623
623
  # [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig]
624
624
  # resources. The data for each resource is displayed in the ascending order
625
625
  # of:
626
- # * customer ID
626
+ #
627
+ # * Customer ID
627
628
  # * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]
628
629
  # * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
629
630
  # * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time]
@@ -760,7 +761,8 @@ module Google
760
761
  # [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]
761
762
  # resources. The data for each resource is displayed in the ascending order
762
763
  # of:
763
- # * channel partner ID
764
+ #
765
+ # * Channel Partner ID
764
766
  # * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]
765
767
  # * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time]
766
768
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Channel
23
23
  module V1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.19.0"
25
25
  end
26
26
  end
27
27
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -81,10 +81,14 @@ module Google
81
81
  #
82
82
  # - assigned_units: The number of licenses assigned to users.
83
83
  #
84
- # For GCP billing subaccounts, the following Parameter may be accepted as
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
+ # @!attribute [rw] billing_account
89
+ # @return [::String]
90
+ # Optional. The billing account resource name that is used to pay for this
91
+ # entitlement.
88
92
  class Entitlement
89
93
  include ::Google::Protobuf::MessageExts
90
94
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -156,8 +160,8 @@ module Google
156
160
  # @!attribute [r] provisioning_id
157
161
  # @return [::String]
158
162
  # Output only. Provisioning ID of the entitlement. For Google Workspace, this
159
- # is the underlying Subscription ID. For Google Cloud Platform, this is the
160
- # Billing Account ID of the billing subaccount."
163
+ # is the underlying Subscription ID. For Google Cloud, this is the Billing
164
+ # Account ID of the billing subaccount."
161
165
  # @!attribute [r] product_id
162
166
  # @return [::String]
163
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 Platform offers.
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 Platform, monetization is based on usage
324
- # accrued on your billing account irrespective of the type of monetizable
325
- # resource. This enum represents an aggregated resource/container for all
326
- # usage SKUs on a billing account. Currently, only applicable to Google Cloud
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 Platform subscriptions like Anthos or SAP.
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 your product uses monthly invoices, and this value is not the beginning
280
- # of a month, this will adjust the date to the first day of the given month.
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 (exclusive).
287
+ # The latest invoice date (inclusive).
284
288
  #
285
- # If your product uses monthly invoices, and this value is not the beginning
286
- # of a month, this will adjust the date to the first day of the following
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, "GCP Daily Spend", "Google Workspace License Activity", etc.
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.17.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-03-16 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common