Skip to content

Commit 001ceee

Browse files
feat: run the generator (#1644)
1 parent 7517d35 commit 001ceee

File tree

23 files changed

+3470
-96
lines changed

23 files changed

+3470
-96
lines changed

src/apis/bigquery/v2.ts

Lines changed: 94 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,74 @@ export namespace bigquery_v2 {
221221
*/
222222
readRowkeyAsString?: boolean;
223223
}
224+
export interface Schema$BqmlIterationResult {
225+
/**
226+
* [Output-only, Beta] Time taken to run the training iteration in
227+
* milliseconds.
228+
*/
229+
durationMs?: string;
230+
/**
231+
* [Output-only, Beta] Eval loss computed on the eval data at the end of the
232+
* iteration. The eval loss is used for early stopping to avoid overfitting.
233+
* No eval loss if eval_split_method option is specified as no_split or
234+
* auto_split with input data size less than 500 rows.
235+
*/
236+
evalLoss?: number;
237+
/**
238+
* [Output-only, Beta] Index of the ML training iteration, starting from
239+
* zero for each training run.
240+
*/
241+
index?: number;
242+
/**
243+
* [Output-only, Beta] Learning rate used for this iteration, it varies for
244+
* different training iterations if learn_rate_strategy option is not
245+
* constant.
246+
*/
247+
learnRate?: number;
248+
/**
249+
* [Output-only, Beta] Training loss computed on the training data at the
250+
* end of the iteration. The training loss function is defined by model
251+
* type.
252+
*/
253+
trainingLoss?: number;
254+
}
255+
export interface Schema$BqmlTrainingRun {
256+
/**
257+
* [Output-only, Beta] List of each iteration results.
258+
*/
259+
iterationResults?: Schema$BqmlIterationResult[];
260+
/**
261+
* [Output-only, Beta] Training run start time in milliseconds since the
262+
* epoch.
263+
*/
264+
startTime?: string;
265+
/**
266+
* [Output-only, Beta] Different state applicable for a training run. IN
267+
* PROGRESS: Training run is in progress. FAILED: Training run ended due to
268+
* a non-retryable failure. SUCCEEDED: Training run successfully completed.
269+
* CANCELLED: Training run cancelled by the user.
270+
*/
271+
state?: string;
272+
/**
273+
* [Output-only, Beta] Training options used by this training run. These
274+
* options are mutable for subsequent training runs. Default values are
275+
* explicitly stored for options not specified in the input query of the
276+
* first training run. For subsequent training runs, any option not
277+
* explicitly specified in the input query will be copied from the previous
278+
* training run.
279+
*/
280+
trainingOptions?: {
281+
earlyStop?: boolean;
282+
l1Reg?: number;
283+
l2Reg?: number;
284+
learnRate?: number;
285+
learnRateStrategy?: string;
286+
lineSearchInitLearnRate?: number;
287+
maxIteration?: string;
288+
minRelProgress?: number;
289+
warmStart?: boolean;
290+
};
291+
}
224292
export interface Schema$Clustering {
225293
/**
226294
* [Repeated] One or more fields on which data should be clustered. Only
@@ -786,37 +854,6 @@ export namespace bigquery_v2 {
786854
*/
787855
skipLeadingRows?: string;
788856
}
789-
export interface Schema$IterationResult {
790-
/**
791-
* [Output-only, Beta] Time taken to run the training iteration in
792-
* milliseconds.
793-
*/
794-
durationMs?: string;
795-
/**
796-
* [Output-only, Beta] Eval loss computed on the eval data at the end of the
797-
* iteration. The eval loss is used for early stopping to avoid overfitting.
798-
* No eval loss if eval_split_method option is specified as no_split or
799-
* auto_split with input data size less than 500 rows.
800-
*/
801-
evalLoss?: number;
802-
/**
803-
* [Output-only, Beta] Index of the ML training iteration, starting from
804-
* zero for each training run.
805-
*/
806-
index?: number;
807-
/**
808-
* [Output-only, Beta] Learning rate used for this iteration, it varies for
809-
* different training iterations if learn_rate_strategy option is not
810-
* constant.
811-
*/
812-
learnRate?: number;
813-
/**
814-
* [Output-only, Beta] Training loss computed on the training data at the
815-
* end of the iteration. The training loss function is defined by model
816-
* type.
817-
*/
818-
trainingLoss?: number;
819-
}
820857
export interface Schema$Job {
821858
/**
822859
* [Required] Describes the job configuration.
@@ -1469,6 +1506,11 @@ export namespace bigquery_v2 {
14691506
* the DDL target.
14701507
*/
14711508
ddlOperationPerformed?: string;
1509+
/**
1510+
* The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE
1511+
* queries.
1512+
*/
1513+
ddlTargetRoutine?: Schema$RoutineReference;
14721514
/**
14731515
* The DDL target table. Present only for CREATE/DROP TABLE/VIEW queries.
14741516
*/
@@ -1527,8 +1569,10 @@ export namespace bigquery_v2 {
15271569
* "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS
15281570
* SELECT ... . "DROP_TABLE": DROP TABLE query.
15291571
* "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... .
1530-
* "DROP_VIEW": DROP VIEW query. "ALTER_TABLE": ALTER
1531-
* TABLE query. "ALTER_VIEW": ALTER VIEW query.
1572+
* "DROP_VIEW": DROP VIEW query. "CREATE_FUNCTION":
1573+
* CREATE FUNCTION query. "DROP_FUNCTION" : DROP FUNCTION query.
1574+
* "ALTER_TABLE": ALTER TABLE query. "ALTER_VIEW": ALTER
1575+
* VIEW query.
15321576
*/
15331577
statementType?: string;
15341578
/**
@@ -1653,7 +1697,7 @@ export namespace bigquery_v2 {
16531697
* for the model if warm start is used or if a user decides to continue a
16541698
* previously cancelled query.
16551699
*/
1656-
trainingRuns?: Schema$TrainingRun[];
1700+
trainingRuns?: Schema$BqmlTrainingRun[];
16571701
}
16581702
export interface Schema$ProjectList {
16591703
/**
@@ -1915,6 +1959,22 @@ export namespace bigquery_v2 {
19151959
*/
19161960
range?: {end?: string; interval?: string; start?: string;};
19171961
}
1962+
export interface Schema$RoutineReference {
1963+
/**
1964+
* [Required] The ID of the dataset containing this routine.
1965+
*/
1966+
datasetId?: string;
1967+
/**
1968+
* [Required] The ID of the project containing this routine.
1969+
*/
1970+
projectId?: string;
1971+
/**
1972+
* [Required] The ID of the routine. The ID must contain only letters (a-z,
1973+
* A-Z), numbers (0-9), or underscores (_). The maximum length is 256
1974+
* characters.
1975+
*/
1976+
routineId?: string;
1977+
}
19181978
export interface Schema$Streamingbuffer {
19191979
/**
19201980
* [Output-only] A lower-bound estimate of the number of bytes currently in
@@ -2272,43 +2332,6 @@ export namespace bigquery_v2 {
22722332
*/
22732333
type?: string;
22742334
}
2275-
export interface Schema$TrainingRun {
2276-
/**
2277-
* [Output-only, Beta] List of each iteration results.
2278-
*/
2279-
iterationResults?: Schema$IterationResult[];
2280-
/**
2281-
* [Output-only, Beta] Training run start time in milliseconds since the
2282-
* epoch.
2283-
*/
2284-
startTime?: string;
2285-
/**
2286-
* [Output-only, Beta] Different state applicable for a training run. IN
2287-
* PROGRESS: Training run is in progress. FAILED: Training run ended due to
2288-
* a non-retryable failure. SUCCEEDED: Training run successfully completed.
2289-
* CANCELLED: Training run cancelled by the user.
2290-
*/
2291-
state?: string;
2292-
/**
2293-
* [Output-only, Beta] Training options used by this training run. These
2294-
* options are mutable for subsequent training runs. Default values are
2295-
* explicitly stored for options not specified in the input query of the
2296-
* first training run. For subsequent training runs, any option not
2297-
* explicitly specified in the input query will be copied from the previous
2298-
* training run.
2299-
*/
2300-
trainingOptions?: {
2301-
earlyStop?: boolean;
2302-
l1Reg?: number;
2303-
l2Reg?: number;
2304-
learnRate?: number;
2305-
learnRateStrategy?: string;
2306-
lineSearchInitLearnRate?: number;
2307-
maxIteration?: string;
2308-
minRelProgress?: number;
2309-
warmStart?: boolean;
2310-
};
2311-
}
23122335
export interface Schema$UserDefinedFunctionResource {
23132336
/**
23142337
* [Pick one] An inline resource that contains code for a user-defined
@@ -3845,7 +3868,6 @@ export namespace bigquery_v2 {
38453868
* @param {integer=} params.maxResults Maximum number of results to return
38463869
* @param {string=} params.minCreationTime Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned
38473870
* @param {string=} params.pageToken Page token, returned by a previous call, to request the next page of results
3848-
* @param {string=} params.parentJobId If set, retrieves only jobs whose parent is this job. Otherwise, retrieves only jobs which have no parent.
38493871
* @param {string} params.projectId Project ID of the jobs to list
38503872
* @param {string=} params.projection Restrict information returned to a set of selected fields
38513873
* @param {string=} params.stateFilter Filter for job state
@@ -4172,11 +4194,6 @@ export namespace bigquery_v2 {
41724194
* results
41734195
*/
41744196
pageToken?: string;
4175-
/**
4176-
* If set, retrieves only jobs whose parent is this job. Otherwise,
4177-
* retrieves only jobs which have no parent.
4178-
*/
4179-
parentJobId?: string;
41804197
/**
41814198
* Project ID of the jobs to list
41824199
*/

src/apis/cloudbilling/v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ export namespace cloudbilling_v1 {
234234
* * `serviceAccount:{emailid}`: An email address that represents a service
235235
* account. For example, `[email protected]`. *
236236
* `group:{emailid}`: An email address that represents a Google group. For
237-
* example, `[email protected]`. * `domain:{domain}`: A Google Apps
238-
* domain name that represents all the users of that domain. For example,
237+
* example, `[email protected]`. * `domain:{domain}`: The G Suite domain
238+
* (primary) that represents all the users of that domain. For example,
239239
* `google.com` or `example.com`.
240240
*/
241241
members?: string[];

src/apis/cloudfunctions/v1.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,10 @@ export namespace cloudfunctions_v1 {
291291
*/
292292
network?: string;
293293
/**
294-
* The runtime in which the function is going to run. If empty, defaults to
295-
* Node.js 6.
294+
* The runtime in which the function is going to run. Example values
295+
* include: `go111`: for Go 1.11 `nodejs6`: for Node.js 6 `nodejs8`: for
296+
* Node.js 8 `nodejs10`: for Node.js 10 `python37`: for Python 3.7 `ruby25`:
297+
* for Ruby 2.5 If empty, defaults to `nodejs6`.
296298
*/
297299
runtime?: string;
298300
/**

src/apis/cloudsearch/v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,8 +1938,8 @@ export namespace cloudsearch_v1 {
19381938
objectDefinitions?: Schema$ObjectDefinition[];
19391939
/**
19401940
* IDs of the Long Running Operations (LROs) currently running for this
1941-
* schema. After modifying the schema, wait for opeations to complete before
1942-
* indexing additional content.
1941+
* schema. After modifying the schema, wait for operations to complete
1942+
* before indexing additional content.
19431943
*/
19441944
operationIds?: string[];
19451945
}

src/apis/composer/v1beta1.ts

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ export namespace composer_v1beta1 {
187187
* run this environment.
188188
*/
189189
nodeCount?: number;
190+
/**
191+
* The configuration used for the private Composer environment.
192+
*/
193+
privateEnvironmentConfig?: Schema$PrivateEnvironmentConfig;
190194
/**
191195
* The configuration settings for software inside the environment.
192196
*/
@@ -211,6 +215,55 @@ export namespace composer_v1beta1 {
211215
*/
212216
supportedPythonVersions?: string[];
213217
}
218+
/**
219+
* Configuration for controlling how IPs are allocated in the GKE cluster.
220+
*/
221+
export interface Schema$IPAllocationPolicy {
222+
/**
223+
* Optional. The IP address range used to allocate IP addresses to pods in
224+
* the cluster. This field is applicable only when `use_ip_aliases` is
225+
* true. Set to blank to have GKE choose a range with the default size. Set
226+
* to /netmask (e.g. `/14`) to have GKE choose a range with a specific
227+
* netmask. Set to a
228+
* [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
229+
* notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
230+
* `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
231+
* to use. Specify `cluster_secondary_range_name` or
232+
* `cluster_ipv4_cidr_block` but not both.
233+
*/
234+
clusterIpv4CidrBlock?: string;
235+
/**
236+
* Optional. The name of the cluster's secondary range used to allocate
237+
* IP addresses to pods. Specify either `cluster_secondary_range_name` or
238+
* `cluster_ipv4_cidr_block` but not both.
239+
*/
240+
clusterSecondaryRangeName?: string;
241+
/**
242+
* Optional. The IP address range of the services IP addresses in this
243+
* cluster. This field is applicable only when `use_ip_aliases` is true.
244+
* Set to blank to have GKE choose a range with the default size. Set to
245+
* /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask.
246+
* Set to a
247+
* [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
248+
* notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
249+
* `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
250+
* to use. Specify `services_secondary_range_name` or
251+
* `services_ipv4_cidr_block` but not both.
252+
*/
253+
servicesIpv4CidrBlock?: string;
254+
/**
255+
* Optional. The name of the services' secondary range used to allocate
256+
* IP addresses to the cluster. Specify either
257+
* `services_secondary_range_name` or `services_ipv4_cidr_block` but not
258+
* both.
259+
*/
260+
servicesSecondaryRangeName?: string;
261+
/**
262+
* Optional. Whether or not to enable Alias IPs in the GKE cluster. If true
263+
* or if left blank, a VPC-native cluster is created.
264+
*/
265+
useIpAliases?: boolean;
266+
}
214267
/**
215268
* The environments in a project and location.
216269
*/
@@ -260,6 +313,10 @@ export namespace composer_v1beta1 {
260313
* unspecified, defaults to 100GB. Cannot be updated.
261314
*/
262315
diskSizeGb?: number;
316+
/**
317+
* Optional. The IPAllocationPolicy fields for the GKE cluster.
318+
*/
319+
ipAllocationPolicy?: Schema$IPAllocationPolicy;
263320
/**
264321
* Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
265322
* to deploy the VMs used to run the Apache Airflow software, specified as a
@@ -408,6 +465,41 @@ export namespace composer_v1beta1 {
408465
*/
409466
state?: string;
410467
}
468+
/**
469+
* Configuration options for private cluster of Composer environment.
470+
*/
471+
export interface Schema$PrivateClusterConfig {
472+
/**
473+
* Optional. If true, access to public endpoint of gke cluster will be
474+
* denied. `IPAllocationPolicy.use_ip_aliases` must be true if this field is
475+
* set to true. Default value is false.
476+
*/
477+
enablePrivateEndpoint?: boolean;
478+
/**
479+
* The IP range in CIDR notation to use for the hosted master network. This
480+
* range will be used for assigning internal IP addresses to the cluster
481+
* master or set of masters, as well as the ILB VIP (Internal Load Balance
482+
* Virtual IP).This range must not overlap with any other ranges in use
483+
* within the cluster's network. If left blank, default value of
484+
* '172.16.0.0/28' will be used.
485+
*/
486+
masterIpv4CidrBlock?: string;
487+
}
488+
/**
489+
* The configuration information for configuring a private Composer
490+
* environment.
491+
*/
492+
export interface Schema$PrivateEnvironmentConfig {
493+
/**
494+
* Optional. If `true`, a private Composer environment is created.
495+
*/
496+
enablePrivateEnvironment?: boolean;
497+
/**
498+
* Optional. Configuration for private cluster for a private Composer
499+
* environment.
500+
*/
501+
privateClusterConfig?: Schema$PrivateClusterConfig;
502+
}
411503
/**
412504
* Specifies the selection and configuration of software inside the
413505
* environment.

0 commit comments

Comments
 (0)