google-cloud-channel-v1 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +7 -7
- data/README.md +3 -3
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +685 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/credentials.rb +51 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb +770 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/paths.rb +67 -0
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service.rb +53 -0
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +4 -3
- data/lib/google/cloud/channel/v1/reports_service_pb.rb +136 -0
- data/lib/google/cloud/channel/v1/reports_service_services_pb.rb +76 -0
- data/lib/google/cloud/channel/v1/service_services_pb.rb +2 -1
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/lib/google/cloud/channel/v1.rb +2 -1
- data/proto_docs/google/cloud/channel/v1/reports_service.rb +375 -0
- data/proto_docs/google/cloud/channel/v1/service.rb +2 -2
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/type/datetime.rb +99 -0
- metadata +13 -4
@@ -0,0 +1,375 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Channel
|
23
|
+
module V1
|
24
|
+
# Request message for {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#run_report_job CloudChannelReportsService.RunReportJob}.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The report's resource name. Specifies the account and report used to
|
28
|
+
# generate report data. The report_id identifier is a UID (for example,
|
29
|
+
# `613bf59q`).
|
30
|
+
# Name uses the format:
|
31
|
+
# accounts/\\{account_id}/reports/\\{report_id}
|
32
|
+
# @!attribute [rw] date_range
|
33
|
+
# @return [::Google::Cloud::Channel::V1::DateRange]
|
34
|
+
# Optional. The range of usage or invoice dates to include in the result.
|
35
|
+
# @!attribute [rw] filter
|
36
|
+
# @return [::String]
|
37
|
+
# Optional. A structured string that defines conditions on dimension columns to
|
38
|
+
# restrict the report output.
|
39
|
+
#
|
40
|
+
# Filters support logical operators (AND, OR, NOT) and conditional operators
|
41
|
+
# (=, !=, <, >, <=, and >=) using `column_id` as keys.
|
42
|
+
#
|
43
|
+
# For example:
|
44
|
+
# `(customer:"accounts/C123abc/customers/S456def" OR
|
45
|
+
# customer:"accounts/C123abc/customers/S789ghi") AND
|
46
|
+
# invoice_start_date.year >= 2022`
|
47
|
+
# @!attribute [rw] language_code
|
48
|
+
# @return [::String]
|
49
|
+
# Optional. The BCP-47 language code, such as "en-US". If specified, the
|
50
|
+
# response is localized to the corresponding language code if the
|
51
|
+
# original data sources support it.
|
52
|
+
# Default is "en-US".
|
53
|
+
class RunReportJobRequest
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
|
58
|
+
# Response message for {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#run_report_job CloudChannelReportsService.RunReportJob}.
|
59
|
+
# @!attribute [rw] report_job
|
60
|
+
# @return [::Google::Cloud::Channel::V1::ReportJob]
|
61
|
+
# Pass `report_job.name` to {::Google::Cloud::Channel::V1::FetchReportResultsRequest#report_job FetchReportResultsRequest.report_job}
|
62
|
+
# to retrieve the report's results.
|
63
|
+
# @!attribute [rw] report_metadata
|
64
|
+
# @return [::Google::Cloud::Channel::V1::ReportResultsMetadata]
|
65
|
+
# The metadata for the report's results (display name, columns, row count,
|
66
|
+
# and date range). If you view this before the operation finishes,
|
67
|
+
# you may see incomplete data.
|
68
|
+
class RunReportJobResponse
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
end
|
72
|
+
|
73
|
+
# Request message for {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}.
|
74
|
+
# @!attribute [rw] report_job
|
75
|
+
# @return [::String]
|
76
|
+
# Required. The report job created by {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#run_report_job CloudChannelReportsService.RunReportJob}.
|
77
|
+
# Report_job uses the format:
|
78
|
+
# accounts/\\{account_id}/reportJobs/\\{report_job_id}
|
79
|
+
# @!attribute [rw] page_size
|
80
|
+
# @return [::Integer]
|
81
|
+
# Optional. Requested page size of the report. The server may return fewer results than
|
82
|
+
# requested. If you don't specify a page size, the server uses a sensible
|
83
|
+
# default (may change over time).
|
84
|
+
#
|
85
|
+
# The maximum value is 30,000; the server will change larger values to
|
86
|
+
# 30,000.
|
87
|
+
# @!attribute [rw] page_token
|
88
|
+
# @return [::String]
|
89
|
+
# Optional. A token that specifies a page of results beyond the first page.
|
90
|
+
# Obtained through
|
91
|
+
# {::Google::Cloud::Channel::V1::FetchReportResultsResponse#next_page_token FetchReportResultsResponse.next_page_token} of the previous
|
92
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults} call.
|
93
|
+
class FetchReportResultsRequest
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
|
+
end
|
97
|
+
|
98
|
+
# Response message for {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}.
|
99
|
+
# Contains a tabular representation of the report results.
|
100
|
+
# @!attribute [rw] report_metadata
|
101
|
+
# @return [::Google::Cloud::Channel::V1::ReportResultsMetadata]
|
102
|
+
# The metadata for the report results (display name, columns, row count, and
|
103
|
+
# date ranges).
|
104
|
+
# @!attribute [rw] rows
|
105
|
+
# @return [::Array<::Google::Cloud::Channel::V1::Row>]
|
106
|
+
# The report's lists of values. Each row follows the settings and ordering
|
107
|
+
# of the columns from `report_metadata`.
|
108
|
+
# @!attribute [rw] next_page_token
|
109
|
+
# @return [::String]
|
110
|
+
# Pass this token to {::Google::Cloud::Channel::V1::FetchReportResultsRequest#page_token FetchReportResultsRequest.page_token} to retrieve
|
111
|
+
# the next page of results.
|
112
|
+
class FetchReportResultsResponse
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
end
|
116
|
+
|
117
|
+
# Request message for {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#list_reports CloudChannelReportsService.ListReports}.
|
118
|
+
# @!attribute [rw] parent
|
119
|
+
# @return [::String]
|
120
|
+
# Required. The resource name of the partner account to list available reports for.
|
121
|
+
# Parent uses the format:
|
122
|
+
# accounts/\\{account_id}
|
123
|
+
# @!attribute [rw] page_size
|
124
|
+
# @return [::Integer]
|
125
|
+
# Optional. Requested page size of the report. The server might return fewer results
|
126
|
+
# than requested. If unspecified, returns 20 reports.
|
127
|
+
# The maximum value is 100.
|
128
|
+
# @!attribute [rw] page_token
|
129
|
+
# @return [::String]
|
130
|
+
# Optional. A token that specifies a page of results beyond the first page.
|
131
|
+
# Obtained through
|
132
|
+
# {::Google::Cloud::Channel::V1::ListReportsResponse#next_page_token ListReportsResponse.next_page_token} of the previous
|
133
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#list_reports CloudChannelReportsService.ListReports} call.
|
134
|
+
# @!attribute [rw] language_code
|
135
|
+
# @return [::String]
|
136
|
+
# Optional. The BCP-47 language code, such as "en-US". If specified, the
|
137
|
+
# response is localized to the corresponding language code if the
|
138
|
+
# original data sources support it.
|
139
|
+
# Default is "en-US".
|
140
|
+
class ListReportsRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Response message for {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#list_reports CloudChannelReportsService.ListReports}.
|
146
|
+
# @!attribute [rw] reports
|
147
|
+
# @return [::Array<::Google::Cloud::Channel::V1::Report>]
|
148
|
+
# The reports available to the partner.
|
149
|
+
# @!attribute [rw] next_page_token
|
150
|
+
# @return [::String]
|
151
|
+
# Pass this token to {::Google::Cloud::Channel::V1::FetchReportResultsRequest#page_token FetchReportResultsRequest.page_token} to retrieve
|
152
|
+
# the next page of results.
|
153
|
+
class ListReportsResponse
|
154
|
+
include ::Google::Protobuf::MessageExts
|
155
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
156
|
+
end
|
157
|
+
|
158
|
+
# The result of a [RunReportJob][] operation. Contains the name to use in
|
159
|
+
# {::Google::Cloud::Channel::V1::FetchReportResultsRequest#report_job FetchReportResultsRequest.report_job} and the status of the operation.
|
160
|
+
# @!attribute [rw] name
|
161
|
+
# @return [::String]
|
162
|
+
# Required. The resource name of a report job.
|
163
|
+
# Name uses the format:
|
164
|
+
# `accounts/{account_id}/reportJobs/{report_job_id}`
|
165
|
+
# @!attribute [rw] report_status
|
166
|
+
# @return [::Google::Cloud::Channel::V1::ReportStatus]
|
167
|
+
# The current status of report generation.
|
168
|
+
class ReportJob
|
169
|
+
include ::Google::Protobuf::MessageExts
|
170
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
171
|
+
end
|
172
|
+
|
173
|
+
# The features describing the data. Returned by
|
174
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#run_report_job CloudChannelReportsService.RunReportJob} and
|
175
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#fetch_report_results CloudChannelReportsService.FetchReportResults}.
|
176
|
+
# @!attribute [rw] report
|
177
|
+
# @return [::Google::Cloud::Channel::V1::Report]
|
178
|
+
# Details of the completed report.
|
179
|
+
# @!attribute [rw] row_count
|
180
|
+
# @return [::Integer]
|
181
|
+
# The total number of rows of data in the final report.
|
182
|
+
# @!attribute [rw] date_range
|
183
|
+
# @return [::Google::Cloud::Channel::V1::DateRange]
|
184
|
+
# The date range of reported usage.
|
185
|
+
# @!attribute [rw] preceding_date_range
|
186
|
+
# @return [::Google::Cloud::Channel::V1::DateRange]
|
187
|
+
# The usage dates immediately preceding `date_range` with the same duration.
|
188
|
+
# Use this to calculate trending usage and costs. This is only populated if
|
189
|
+
# you request trending data.
|
190
|
+
#
|
191
|
+
# For example, if `date_range` is July 1-15, `preceding_date_range` will be
|
192
|
+
# June 16-30.
|
193
|
+
class ReportResultsMetadata
|
194
|
+
include ::Google::Protobuf::MessageExts
|
195
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
196
|
+
end
|
197
|
+
|
198
|
+
# The definition of a report column. Specifies the data properties
|
199
|
+
# in the corresponding position of the report rows.
|
200
|
+
# @!attribute [rw] column_id
|
201
|
+
# @return [::String]
|
202
|
+
# The unique name of the column (for example, customer_domain,
|
203
|
+
# channel_partner, customer_cost). You can use column IDs in
|
204
|
+
# {::Google::Cloud::Channel::V1::RunReportJobRequest#filter RunReportJobRequest.filter}.
|
205
|
+
# To see all reports and their columns, call
|
206
|
+
# {::Google::Cloud::Channel::V1::CloudChannelReportsService::Client#list_reports CloudChannelReportsService.ListReports}.
|
207
|
+
# @!attribute [rw] display_name
|
208
|
+
# @return [::String]
|
209
|
+
# The column's display name.
|
210
|
+
# @!attribute [rw] data_type
|
211
|
+
# @return [::Google::Cloud::Channel::V1::Column::DataType]
|
212
|
+
# The type of the values for this column.
|
213
|
+
class Column
|
214
|
+
include ::Google::Protobuf::MessageExts
|
215
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
216
|
+
|
217
|
+
# Available data types for columns. Corresponds to the fields in the
|
218
|
+
# ReportValue `oneof` field.
|
219
|
+
module DataType
|
220
|
+
# Not used.
|
221
|
+
DATA_TYPE_UNSPECIFIED = 0
|
222
|
+
|
223
|
+
# ReportValues for this column will use string_value.
|
224
|
+
STRING = 1
|
225
|
+
|
226
|
+
# ReportValues for this column will use int_value.
|
227
|
+
INT = 2
|
228
|
+
|
229
|
+
# ReportValues for this column will use decimal_value.
|
230
|
+
DECIMAL = 3
|
231
|
+
|
232
|
+
# ReportValues for this column will use money_value.
|
233
|
+
MONEY = 4
|
234
|
+
|
235
|
+
# ReportValues for this column will use date_value.
|
236
|
+
DATE = 5
|
237
|
+
|
238
|
+
# ReportValues for this column will use date_time_value.
|
239
|
+
DATE_TIME = 6
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# A representation of usage or invoice date ranges.
|
244
|
+
# @!attribute [rw] usage_start_date_time
|
245
|
+
# @return [::Google::Type::DateTime]
|
246
|
+
# The earliest usage date time (inclusive).
|
247
|
+
#
|
248
|
+
# If you use time groupings (daily, weekly, etc), each group uses
|
249
|
+
# midnight to midnight (Pacific time). The usage start date is
|
250
|
+
# rounded down to include all usage from the specified date. We recommend
|
251
|
+
# that clients pass `usage_start_date_time` in Pacific time.
|
252
|
+
# @!attribute [rw] usage_end_date_time
|
253
|
+
# @return [::Google::Type::DateTime]
|
254
|
+
# The latest usage date time (exclusive).
|
255
|
+
#
|
256
|
+
# If you use time groupings (daily, weekly, etc), each group uses
|
257
|
+
# midnight to midnight (Pacific time). The usage end date is
|
258
|
+
# rounded down to include all usage from the specified date. We recommend
|
259
|
+
# that clients pass `usage_start_date_time` in Pacific time.
|
260
|
+
# @!attribute [rw] invoice_start_date
|
261
|
+
# @return [::Google::Type::Date]
|
262
|
+
# The earliest invoice date (inclusive).
|
263
|
+
#
|
264
|
+
# If your product uses monthly invoices, and this value is not the beginning
|
265
|
+
# of a month, this will adjust the date to the first day of the given month.
|
266
|
+
# @!attribute [rw] invoice_end_date
|
267
|
+
# @return [::Google::Type::Date]
|
268
|
+
# The latest invoice date (exclusive).
|
269
|
+
#
|
270
|
+
# If your product uses monthly invoices, and this value is not the beginning
|
271
|
+
# of a month, this will adjust the date to the first day of the following
|
272
|
+
# month.
|
273
|
+
class DateRange
|
274
|
+
include ::Google::Protobuf::MessageExts
|
275
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
276
|
+
end
|
277
|
+
|
278
|
+
# A row of report values.
|
279
|
+
# @!attribute [rw] values
|
280
|
+
# @return [::Array<::Google::Cloud::Channel::V1::ReportValue>]
|
281
|
+
# The list of values in the row.
|
282
|
+
class Row
|
283
|
+
include ::Google::Protobuf::MessageExts
|
284
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
285
|
+
end
|
286
|
+
|
287
|
+
# A single report value.
|
288
|
+
# @!attribute [rw] string_value
|
289
|
+
# @return [::String]
|
290
|
+
# A value of type `string`.
|
291
|
+
# @!attribute [rw] int_value
|
292
|
+
# @return [::Integer]
|
293
|
+
# A value of type `int`.
|
294
|
+
# @!attribute [rw] decimal_value
|
295
|
+
# @return [::Google::Type::Decimal]
|
296
|
+
# A value of type `google.type.Decimal`, representing non-integer numeric
|
297
|
+
# values.
|
298
|
+
# @!attribute [rw] money_value
|
299
|
+
# @return [::Google::Type::Money]
|
300
|
+
# A value of type `google.type.Money` (currency code, whole units, decimal
|
301
|
+
# units).
|
302
|
+
# @!attribute [rw] date_value
|
303
|
+
# @return [::Google::Type::Date]
|
304
|
+
# A value of type `google.type.Date` (year, month, day).
|
305
|
+
# @!attribute [rw] date_time_value
|
306
|
+
# @return [::Google::Type::DateTime]
|
307
|
+
# A value of type `google.type.DateTime` (year, month, day, hour, minute,
|
308
|
+
# second, and UTC offset or timezone.)
|
309
|
+
class ReportValue
|
310
|
+
include ::Google::Protobuf::MessageExts
|
311
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
312
|
+
end
|
313
|
+
|
314
|
+
# Status of a report generation process.
|
315
|
+
# @!attribute [rw] state
|
316
|
+
# @return [::Google::Cloud::Channel::V1::ReportStatus::State]
|
317
|
+
# The current state of the report generation process.
|
318
|
+
# @!attribute [rw] start_time
|
319
|
+
# @return [::Google::Protobuf::Timestamp]
|
320
|
+
# The report generation's start time.
|
321
|
+
# @!attribute [rw] end_time
|
322
|
+
# @return [::Google::Protobuf::Timestamp]
|
323
|
+
# The report generation's completion time.
|
324
|
+
class ReportStatus
|
325
|
+
include ::Google::Protobuf::MessageExts
|
326
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
327
|
+
|
328
|
+
# Available states of report generation.
|
329
|
+
module State
|
330
|
+
# Not used.
|
331
|
+
STATE_UNSPECIFIED = 0
|
332
|
+
|
333
|
+
# Report processing started.
|
334
|
+
STARTED = 1
|
335
|
+
|
336
|
+
# Data generated from the report is being staged.
|
337
|
+
WRITING = 2
|
338
|
+
|
339
|
+
# Report data is available for access.
|
340
|
+
AVAILABLE = 3
|
341
|
+
|
342
|
+
# Report failed.
|
343
|
+
FAILED = 4
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# The ID and description of a report that was used to generate report data.
|
348
|
+
# For example, "GCP Daily Spend", "Google Workspace License Activity", etc.
|
349
|
+
# @!attribute [rw] name
|
350
|
+
# @return [::String]
|
351
|
+
# Required. The report's resource name. Specifies the account and report used to
|
352
|
+
# generate report data. The report_id identifier is a UID
|
353
|
+
# (for example, `613bf59q`).
|
354
|
+
#
|
355
|
+
# Name uses the format:
|
356
|
+
# accounts/\\{account_id}/reports/\\{report_id}
|
357
|
+
# @!attribute [rw] display_name
|
358
|
+
# @return [::String]
|
359
|
+
# A human-readable name for this report.
|
360
|
+
# @!attribute [rw] columns
|
361
|
+
# @return [::Array<::Google::Cloud::Channel::V1::Column>]
|
362
|
+
# The list of columns included in the report. This defines the schema of
|
363
|
+
# the report results.
|
364
|
+
# @!attribute [rw] description
|
365
|
+
# @return [::String]
|
366
|
+
# A description of other aspects of the report, such as the products
|
367
|
+
# it supports.
|
368
|
+
class Report
|
369
|
+
include ::Google::Protobuf::MessageExts
|
370
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
371
|
+
end
|
372
|
+
end
|
373
|
+
end
|
374
|
+
end
|
375
|
+
end
|
@@ -272,7 +272,7 @@ module Google
|
|
272
272
|
# Optional.
|
273
273
|
# @!attribute [rw] auth_token
|
274
274
|
# @return [::String]
|
275
|
-
# The super admin of the resold customer generates this token to
|
275
|
+
# Optional. The super admin of the resold customer generates this token to
|
276
276
|
# authorize a reseller to access their Cloud Identity and purchase
|
277
277
|
# entitlements on their behalf. You can omit this token after authorization.
|
278
278
|
# See https://support.google.com/a/answer/7643790 for more details.
|
@@ -328,7 +328,7 @@ module Google
|
|
328
328
|
# Required. The SKU to look up Offers for.
|
329
329
|
# @!attribute [rw] language_code
|
330
330
|
# @return [::String]
|
331
|
-
# The BCP-47 language code. For example, "en-US". The
|
331
|
+
# Optional. The BCP-47 language code. For example, "en-US". The
|
332
332
|
# response will localize in the corresponding language code, if specified.
|
333
333
|
# The default value is "en-US".
|
334
334
|
class ListTransferableOffersRequest
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents civil time (or occasionally physical time).
|
23
|
+
#
|
24
|
+
# This type can represent a civil time in one of a few possible ways:
|
25
|
+
#
|
26
|
+
# * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
27
|
+
# day with a particular offset from UTC.
|
28
|
+
# * When time_zone is set and utc_offset is unset: a civil time on a calendar
|
29
|
+
# day in a particular time zone.
|
30
|
+
# * When neither time_zone nor utc_offset is set: a civil time on a calendar
|
31
|
+
# day in local time.
|
32
|
+
#
|
33
|
+
# The date is relative to the Proleptic Gregorian Calendar.
|
34
|
+
#
|
35
|
+
# If year is 0, the DateTime is considered not to have a specific year. month
|
36
|
+
# and day must have valid, non-zero values.
|
37
|
+
#
|
38
|
+
# This type may also be used to represent a physical time if all the date and
|
39
|
+
# time fields are set and either case of the `time_offset` oneof is set.
|
40
|
+
# Consider using `Timestamp` message for physical time instead. If your use
|
41
|
+
# case also would like to store the user's timezone, that can be done in
|
42
|
+
# another field.
|
43
|
+
#
|
44
|
+
# This type is more flexible than some applications may want. Make sure to
|
45
|
+
# document and validate your application's limitations.
|
46
|
+
# @!attribute [rw] year
|
47
|
+
# @return [::Integer]
|
48
|
+
# Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
|
49
|
+
# datetime without a year.
|
50
|
+
# @!attribute [rw] month
|
51
|
+
# @return [::Integer]
|
52
|
+
# Required. Month of year. Must be from 1 to 12.
|
53
|
+
# @!attribute [rw] day
|
54
|
+
# @return [::Integer]
|
55
|
+
# Required. Day of month. Must be from 1 to 31 and valid for the year and
|
56
|
+
# month.
|
57
|
+
# @!attribute [rw] hours
|
58
|
+
# @return [::Integer]
|
59
|
+
# Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
|
60
|
+
# may choose to allow the value "24:00:00" for scenarios like business
|
61
|
+
# closing time.
|
62
|
+
# @!attribute [rw] minutes
|
63
|
+
# @return [::Integer]
|
64
|
+
# Required. Minutes of hour of day. Must be from 0 to 59.
|
65
|
+
# @!attribute [rw] seconds
|
66
|
+
# @return [::Integer]
|
67
|
+
# Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
|
68
|
+
# API may allow the value 60 if it allows leap-seconds.
|
69
|
+
# @!attribute [rw] nanos
|
70
|
+
# @return [::Integer]
|
71
|
+
# Required. Fractions of seconds in nanoseconds. Must be from 0 to
|
72
|
+
# 999,999,999.
|
73
|
+
# @!attribute [rw] utc_offset
|
74
|
+
# @return [::Google::Protobuf::Duration]
|
75
|
+
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
76
|
+
# For example, a UTC offset of -4:00 would be represented as
|
77
|
+
# { seconds: -14400 }.
|
78
|
+
# @!attribute [rw] time_zone
|
79
|
+
# @return [::Google::Type::TimeZone]
|
80
|
+
# Time zone.
|
81
|
+
class DateTime
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
end
|
85
|
+
|
86
|
+
# Represents a time zone from the
|
87
|
+
# [IANA Time Zone Database](https://www.iana.org/time-zones).
|
88
|
+
# @!attribute [rw] id
|
89
|
+
# @return [::String]
|
90
|
+
# IANA Time Zone Database time zone, e.g. "America/New_York".
|
91
|
+
# @!attribute [rw] version
|
92
|
+
# @return [::String]
|
93
|
+
# Optional. IANA Time Zone Database version number, e.g. "2019a".
|
94
|
+
class TimeZone
|
95
|
+
include ::Google::Protobuf::MessageExts
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
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.13.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: 2022-
|
11
|
+
date: 2022-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.12'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.12'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -174,6 +174,11 @@ files:
|
|
174
174
|
- lib/google-cloud-channel-v1.rb
|
175
175
|
- lib/google/cloud/channel/v1.rb
|
176
176
|
- lib/google/cloud/channel/v1/channel_partner_links_pb.rb
|
177
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service.rb
|
178
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb
|
179
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/credentials.rb
|
180
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb
|
181
|
+
- lib/google/cloud/channel/v1/cloud_channel_reports_service/paths.rb
|
177
182
|
- lib/google/cloud/channel/v1/cloud_channel_service.rb
|
178
183
|
- lib/google/cloud/channel/v1/cloud_channel_service/client.rb
|
179
184
|
- lib/google/cloud/channel/v1/cloud_channel_service/credentials.rb
|
@@ -185,6 +190,8 @@ files:
|
|
185
190
|
- lib/google/cloud/channel/v1/offers_pb.rb
|
186
191
|
- lib/google/cloud/channel/v1/operations_pb.rb
|
187
192
|
- lib/google/cloud/channel/v1/products_pb.rb
|
193
|
+
- lib/google/cloud/channel/v1/reports_service_pb.rb
|
194
|
+
- lib/google/cloud/channel/v1/reports_service_services_pb.rb
|
188
195
|
- lib/google/cloud/channel/v1/repricing_pb.rb
|
189
196
|
- lib/google/cloud/channel/v1/service_pb.rb
|
190
197
|
- lib/google/cloud/channel/v1/service_services_pb.rb
|
@@ -200,6 +207,7 @@ files:
|
|
200
207
|
- proto_docs/google/cloud/channel/v1/offers.rb
|
201
208
|
- proto_docs/google/cloud/channel/v1/operations.rb
|
202
209
|
- proto_docs/google/cloud/channel/v1/products.rb
|
210
|
+
- proto_docs/google/cloud/channel/v1/reports_service.rb
|
203
211
|
- proto_docs/google/cloud/channel/v1/repricing.rb
|
204
212
|
- proto_docs/google/cloud/channel/v1/service.rb
|
205
213
|
- proto_docs/google/cloud/channel/v1/subscriber_event.rb
|
@@ -211,6 +219,7 @@ files:
|
|
211
219
|
- proto_docs/google/protobuf/timestamp.rb
|
212
220
|
- proto_docs/google/rpc/status.rb
|
213
221
|
- proto_docs/google/type/date.rb
|
222
|
+
- proto_docs/google/type/datetime.rb
|
214
223
|
- proto_docs/google/type/decimal.rb
|
215
224
|
- proto_docs/google/type/money.rb
|
216
225
|
- proto_docs/google/type/postal_address.rb
|