@maxim_mazurok/gapi.client.bigquerydatatransfer-v1 0.0.20240908 → 0.0.20240922

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.
Files changed (2) hide show
  1. package/index.d.ts +26 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240908
12
+ // Revision: 20240922
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -118,6 +118,10 @@ declare namespace gapi.client {
118
118
  /** Data sources that are enrolled. It is required to provide at least one data source id. */
119
119
  dataSourceIds?: string[];
120
120
  }
121
+ interface EventDrivenSchedule {
122
+ /** Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription} */
123
+ pubsubSubscription?: string;
124
+ }
121
125
  interface ListDataSourcesResponse {
122
126
  /** List of supported data sources and their transfer settings. */
123
127
  dataSources?: DataSource[];
@@ -160,6 +164,7 @@ declare namespace gapi.client {
160
164
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
161
165
  name?: string;
162
166
  }
167
+ interface ManualSchedule {}
163
168
  interface ScheduleOptions {
164
169
  /** If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored. */
165
170
  disableAutoScheduling?: boolean;
@@ -168,6 +173,14 @@ declare namespace gapi.client {
168
173
  /** Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option. */
169
174
  startTime?: string;
170
175
  }
176
+ interface ScheduleOptionsV2 {
177
+ /** Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial. */
178
+ eventDrivenSchedule?: EventDrivenSchedule;
179
+ /** Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable_auto_scheduling = true. */
180
+ manualSchedule?: any;
181
+ /** Time based transfer schedule options. This is the default schedule option. */
182
+ timeBasedSchedule?: TimeBasedSchedule;
183
+ }
171
184
  interface ScheduleTransferRunsRequest {
172
185
  /** Required. End time of the range of transfer runs. For example, `"2017-05-30T00:00:00+00:00"`. */
173
186
  endTime?: string;
@@ -196,6 +209,14 @@ declare namespace gapi.client {
196
209
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
197
210
  message?: string;
198
211
  }
212
+ interface TimeBasedSchedule {
213
+ /** Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment. */
214
+ endTime?: string;
215
+ /** Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source. */
216
+ schedule?: string;
217
+ /** Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. */
218
+ startTime?: string;
219
+ }
199
220
  interface TimeRange {
200
221
  /** End time of the range of transfer runs. For example, `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive). */
201
222
  endTime?: string;
@@ -219,6 +240,8 @@ declare namespace gapi.client {
219
240
  emailPreferences?: EmailPreferences;
220
241
  /** The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent. */
221
242
  encryptionConfiguration?: EncryptionConfiguration;
243
+ /** Output only. Error code with detailed information about reason of the latest config failure. */
244
+ error?: Status;
222
245
  /** Identifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config. */
223
246
  name?: string;
224
247
  /** Output only. Next time when data transfer will run. */
@@ -233,6 +256,8 @@ declare namespace gapi.client {
233
256
  schedule?: string;
234
257
  /** Options customizing the data transfer schedule. */
235
258
  scheduleOptions?: ScheduleOptions;
259
+ /** Options customizing different types of data transfer schedule. This field replaces "schedule" and "schedule_options" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule. */
260
+ scheduleOptionsV2?: ScheduleOptionsV2;
236
261
  /** Output only. State of the most recently updated transfer run. */
237
262
  state?: string;
238
263
  /** Output only. Data transfer modification time. Ignored by server on input. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.bigquerydatatransfer-v1",
3
- "version": "0.0.20240908",
3
+ "version": "0.0.20240922",
4
4
  "description": "TypeScript typings for BigQuery Data Transfer API v1",
5
5
  "repository": {
6
6
  "type": "git",