You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/dyn/bigquery_v2.routines.html
+13-13
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ <h3>Method Details</h3>
150
150
"importedLibraries": [ # Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
151
151
"A String",
152
152
],
153
-
"language": "A String", # Optional. Defaults to "SQL".
153
+
"language": "A String", # Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
154
154
"lastModifiedTime": "A String", # Output only. The time when this routine was last modified, in milliseconds since the epoch.
155
155
"remoteFunctionOptions": { # Options for a remote user-defined function. # Optional. Remote function specific options.
156
156
"connection": "A String", # Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"```
@@ -160,7 +160,7 @@ <h3>Method Details</h3>
160
160
"a_key": "A String",
161
161
},
162
162
},
163
-
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time.
163
+
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
164
164
"columns": [ # The columns in this table type
165
165
{ # A field or a column.
166
166
"name": "A String", # Optional. The name of this field. Can be absent for struct fields.
@@ -251,7 +251,7 @@ <h3>Method Details</h3>
251
251
"importedLibraries": [ # Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
252
252
"A String",
253
253
],
254
-
"language": "A String", # Optional. Defaults to "SQL".
254
+
"language": "A String", # Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
255
255
"lastModifiedTime": "A String", # Output only. The time when this routine was last modified, in milliseconds since the epoch.
256
256
"remoteFunctionOptions": { # Options for a remote user-defined function. # Optional. Remote function specific options.
257
257
"connection": "A String", # Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"```
@@ -261,7 +261,7 @@ <h3>Method Details</h3>
261
261
"a_key": "A String",
262
262
},
263
263
},
264
-
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time.
264
+
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
265
265
"columns": [ # The columns in this table type
266
266
{ # A field or a column.
267
267
"name": "A String", # Optional. The name of this field. Can be absent for struct fields.
@@ -345,7 +345,7 @@ <h3>Method Details</h3>
345
345
"importedLibraries": [ # Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
346
346
"A String",
347
347
],
348
-
"language": "A String", # Optional. Defaults to "SQL".
348
+
"language": "A String", # Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
349
349
"lastModifiedTime": "A String", # Output only. The time when this routine was last modified, in milliseconds since the epoch.
350
350
"remoteFunctionOptions": { # Options for a remote user-defined function. # Optional. Remote function specific options.
351
351
"connection": "A String", # Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"```
@@ -355,7 +355,7 @@ <h3>Method Details</h3>
355
355
"a_key": "A String",
356
356
},
357
357
},
358
-
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time.
358
+
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
359
359
"columns": [ # The columns in this table type
360
360
{ # A field or a column.
361
361
"name": "A String", # Optional. The name of this field. Can be absent for struct fields.
@@ -428,7 +428,7 @@ <h3>Method Details</h3>
428
428
429
429
{
430
430
"nextPageToken": "A String", # A token to request the next page of results.
431
-
"routines": [ # Routines in the requested dataset. Unless read_mask is set in the request, only the following fields are populated: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, and language.
431
+
"routines": [ # Routines in the requested dataset. Unless read_mask is set in the request, only the following fields are populated: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, language, and remote_function_options.
432
432
{ # A user-defined function or a stored procedure.
433
433
"arguments": [ # Optional.
434
434
{ # Input/output argument of a function or a stored procedure.
@@ -454,7 +454,7 @@ <h3>Method Details</h3>
454
454
"importedLibraries": [ # Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
455
455
"A String",
456
456
],
457
-
"language": "A String", # Optional. Defaults to "SQL".
457
+
"language": "A String", # Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
458
458
"lastModifiedTime": "A String", # Output only. The time when this routine was last modified, in milliseconds since the epoch.
459
459
"remoteFunctionOptions": { # Options for a remote user-defined function. # Optional. Remote function specific options.
460
460
"connection": "A String", # Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"```
@@ -464,7 +464,7 @@ <h3>Method Details</h3>
464
464
"a_key": "A String",
465
465
},
466
466
},
467
-
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time.
467
+
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
468
468
"columns": [ # The columns in this table type
469
469
{ # A field or a column.
470
470
"name": "A String", # Optional. The name of this field. Can be absent for struct fields.
@@ -572,7 +572,7 @@ <h3>Method Details</h3>
572
572
"importedLibraries": [ # Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
573
573
"A String",
574
574
],
575
-
"language": "A String", # Optional. Defaults to "SQL".
575
+
"language": "A String", # Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
576
576
"lastModifiedTime": "A String", # Output only. The time when this routine was last modified, in milliseconds since the epoch.
577
577
"remoteFunctionOptions": { # Options for a remote user-defined function. # Optional. Remote function specific options.
578
578
"connection": "A String", # Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"```
@@ -582,7 +582,7 @@ <h3>Method Details</h3>
582
582
"a_key": "A String",
583
583
},
584
584
},
585
-
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time.
585
+
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
586
586
"columns": [ # The columns in this table type
587
587
{ # A field or a column.
588
588
"name": "A String", # Optional. The name of this field. Can be absent for struct fields.
@@ -666,7 +666,7 @@ <h3>Method Details</h3>
666
666
"importedLibraries": [ # Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.
667
667
"A String",
668
668
],
669
-
"language": "A String", # Optional. Defaults to "SQL".
669
+
"language": "A String", # Optional. Defaults to "SQL" if remote_function_options field is absent, not set otherwise.
670
670
"lastModifiedTime": "A String", # Output only. The time when this routine was last modified, in milliseconds since the epoch.
671
671
"remoteFunctionOptions": { # Options for a remote user-defined function. # Optional. Remote function specific options.
672
672
"connection": "A String", # Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"```
@@ -676,7 +676,7 @@ <h3>Method Details</h3>
676
676
"a_key": "A String",
677
677
},
678
678
},
679
-
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time.
679
+
"returnTableType": { # A table type # Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time.
680
680
"columns": [ # The columns in this table type
681
681
{ # A field or a column.
682
682
"name": "A String", # Optional. The name of this field. Can be absent for struct fields.
"allow_non_incremental_definition": True or False, # [Optional] Allow non incremental materialized view definition. The default value is "false".
270
271
"enableRefresh": True or False, # [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
271
272
"lastRefreshTime": "A String", # [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
272
273
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -584,6 +585,7 @@ <h3>Method Details</h3>
584
585
"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.
585
586
"location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset.
"allow_non_incremental_definition": True or False, # [Optional] Allow non incremental materialized view definition. The default value is "false".
587
589
"enableRefresh": True or False, # [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
588
590
"lastRefreshTime": "A String", # [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
589
591
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -842,6 +844,7 @@ <h3>Method Details</h3>
842
844
"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.
843
845
"location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset.
"allow_non_incremental_definition": True or False, # [Optional] Allow non incremental materialized view definition. The default value is "false".
845
848
"enableRefresh": True or False, # [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
846
849
"lastRefreshTime": "A String", # [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
847
850
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -1183,6 +1186,7 @@ <h3>Method Details</h3>
1183
1186
"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.
1184
1187
"location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset.
"allow_non_incremental_definition": True or False, # [Optional] Allow non incremental materialized view definition. The default value is "false".
1186
1190
"enableRefresh": True or False, # [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
1187
1191
"lastRefreshTime": "A String", # [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
1188
1192
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -1442,6 +1446,7 @@ <h3>Method Details</h3>
1442
1446
"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.
1443
1447
"location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset.
"allow_non_incremental_definition": True or False, # [Optional] Allow non incremental materialized view definition. The default value is "false".
1445
1450
"enableRefresh": True or False, # [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
1446
1451
"lastRefreshTime": "A String", # [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
1447
1452
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -1815,6 +1820,7 @@ <h3>Method Details</h3>
1815
1820
"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.
1816
1821
"location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset.
"allow_non_incremental_definition": True or False, # [Optional] Allow non incremental materialized view definition. The default value is "false".
1818
1824
"enableRefresh": True or False, # [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
1819
1825
"lastRefreshTime": "A String", # [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
1820
1826
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -2074,6 +2080,7 @@ <h3>Method Details</h3>
2074
2080
"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch.
2075
2081
"location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset.
"allow_non_incremental_definition": True or False, # [Optional] Allow non incremental materialized view definition. The default value is "false".
2077
2084
"enableRefresh": True or False, # [Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
2078
2085
"lastRefreshTime": "A String", # [Output-only] [TrustedTester] The time when this materialized view was last modified, in milliseconds since the epoch.
2079
2086
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/bigquery.v2.json
+8-4
Original file line number
Diff line number
Diff line change
@@ -1710,7 +1710,7 @@
1710
1710
}
1711
1711
}
1712
1712
},
1713
-
"revision": "20221112",
1713
+
"revision": "20221203",
1714
1714
"rootUrl": "https://bigquery.googleapis.com/",
1715
1715
"schemas": {
1716
1716
"AggregateClassificationMetrics": {
@@ -4922,7 +4922,7 @@
4922
4922
"type": "string"
4923
4923
},
4924
4924
"routines": {
4925
-
"description": "Routines in the requested dataset. Unless read_mask is set in the request, only the following fields are populated: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, and language.",
4925
+
"description": "Routines in the requested dataset. Unless read_mask is set in the request, only the following fields are populated: etag, project_id, dataset_id, routine_id, routine_type, creation_time, last_modified_time, language, and remote_function_options.",
4926
4926
"items": {
4927
4927
"$ref": "Routine"
4928
4928
},
@@ -4963,6 +4963,10 @@
4963
4963
"MaterializedViewDefinition": {
4964
4964
"id": "MaterializedViewDefinition",
4965
4965
"properties": {
4966
+
"allow_non_incremental_definition": {
4967
+
"description": "[Optional] Allow non incremental materialized view definition. The default value is \"false\".",
4968
+
"type": "boolean"
4969
+
},
4966
4970
"enableRefresh": {
4967
4971
"description": "[Optional] [TrustedTester] Enable automatic refresh of the materialized view when the base table is updated. The default value is \"true\".",
4968
4972
"type": "boolean"
@@ -5816,7 +5820,7 @@
5816
5820
"type": "array"
5817
5821
},
5818
5822
"language": {
5819
-
"description": "Optional. Defaults to \"SQL\".",
5823
+
"description": "Optional. Defaults to \"SQL\" if remote_function_options field is absent, not set otherwise.",
5820
5824
"enum": [
5821
5825
"LANGUAGE_UNSPECIFIED",
5822
5826
"SQL",
@@ -5843,7 +5847,7 @@
5843
5847
},
5844
5848
"returnTableType": {
5845
5849
"$ref": "StandardSqlTableType",
5846
-
"description": "Optional. Can be set only if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time."
5850
+
"description": "Optional. Can be set only if routine_type = \"TABLE_VALUED_FUNCTION\". If absent, the return table type is inferred from definition_body at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specified in return table type, at query time."
0 commit comments