@maxim_mazurok/gapi.client.bigquery-v2 0.0.20240214 → 0.0.20240323
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.
- package/index.d.ts +152 -6
- package/package.json +1 -1
- package/readme.md +10 -0
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://bigquery.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240323
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -418,6 +418,8 @@ declare namespace gapi.client {
|
|
|
418
418
|
description?: string;
|
|
419
419
|
/** Output only. A hash of the resource. */
|
|
420
420
|
etag?: string;
|
|
421
|
+
/** Optional. Options defining open source compatible datasets living in the BigQuery catalog. Contains metadata of open source database, schema or namespace represented by the current dataset. */
|
|
422
|
+
externalCatalogDatasetOptions?: ExternalCatalogDatasetOptions;
|
|
421
423
|
/** Optional. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL. */
|
|
422
424
|
externalDatasetReference?: ExternalDatasetReference;
|
|
423
425
|
/** Optional. A descriptive name for the dataset. */
|
|
@@ -432,6 +434,8 @@ declare namespace gapi.client {
|
|
|
432
434
|
labels?: {[P in string]: string};
|
|
433
435
|
/** Output only. The date when this dataset was last modified, in milliseconds since the epoch. */
|
|
434
436
|
lastModifiedTime?: string;
|
|
437
|
+
/** Output only. Metadata about the LinkedDataset. Filled out when the dataset type is LINKED. */
|
|
438
|
+
linkedDatasetMetadata?: LinkedDatasetMetadata;
|
|
435
439
|
/** Optional. The source dataset reference when the dataset is of type LINKED. For all other dataset types it is not set. This field cannot be updated once it is set. Any attempt to update this field using Update and Patch API Operations will be ignored. */
|
|
436
440
|
linkedDatasetSource?: LinkedDatasetSource;
|
|
437
441
|
/** The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations. */
|
|
@@ -511,6 +515,20 @@ declare namespace gapi.client {
|
|
|
511
515
|
/** Optional. The labels associated with this table. You can use these to organize and group your tables. This will only be used if the destination table is newly created. If the table already exists and labels are different than the current labels are provided, the job will fail. */
|
|
512
516
|
labels?: {[P in string]: string};
|
|
513
517
|
}
|
|
518
|
+
interface DifferentialPrivacyPolicy {
|
|
519
|
+
/** Optional. The total delta budget for all queries against the privacy-protected view. Each subscriber query against this view charges the amount of delta that is pre-defined by the contributor through the privacy policy delta_per_query field. If there is sufficient budget, then the subscriber query attempts to complete. It might still fail due to other reasons, in which case the charge is refunded. If there is insufficient budget the query is rejected. There might be multiple charge attempts if a single query references multiple views. In this case there must be sufficient budget for all charges or the query is rejected and charges are refunded in best effort. The budget does not have a refresh policy and can only be updated via ALTER VIEW or circumvented by creating a new view that can be queried with a fresh budget. */
|
|
520
|
+
deltaBudget?: number;
|
|
521
|
+
/** Optional. The delta value that is used per query. Delta represents the probability that any row will fail to be epsilon differentially private. Indicates the risk associated with exposing aggregate rows in the result of a query. */
|
|
522
|
+
deltaPerQuery?: number;
|
|
523
|
+
/** Optional. The total epsilon budget for all queries against the privacy-protected view. Each subscriber query against this view charges the amount of epsilon they request in their query. If there is sufficient budget, then the subscriber query attempts to complete. It might still fail due to other reasons, in which case the charge is refunded. If there is insufficient budget the query is rejected. There might be multiple charge attempts if a single query references multiple views. In this case there must be sufficient budget for all charges or the query is rejected and charges are refunded in best effort. The budget does not have a refresh policy and can only be updated via ALTER VIEW or circumvented by creating a new view that can be queried with a fresh budget. */
|
|
524
|
+
epsilonBudget?: number;
|
|
525
|
+
/** Optional. The maximum epsilon value that a query can consume. If the subscriber specifies epsilon as a parameter in a SELECT query, it must be less than or equal to this value. The epsilon parameter controls the amount of noise that is added to the groups — a higher epsilon means less noise. */
|
|
526
|
+
maxEpsilonPerQuery?: number;
|
|
527
|
+
/** Optional. The maximum groups contributed value that is used per query. Represents the maximum number of groups to which each protected entity can contribute. Changing this value does not improve or worsen privacy. The best value for accuracy and utility depends on the query and data. */
|
|
528
|
+
maxGroupsContributed?: string;
|
|
529
|
+
/** Optional. The privacy unit column associated with this policy. Differential privacy policies can only have one privacy unit column per data source object (table, view). */
|
|
530
|
+
privacyUnitColumn?: string;
|
|
531
|
+
}
|
|
514
532
|
interface DimensionalityReductionMetrics {
|
|
515
533
|
/** Total percentage of variance explained by the selected principal components. */
|
|
516
534
|
totalExplainedVarianceRatio?: number;
|
|
@@ -667,6 +685,20 @@ declare namespace gapi.client {
|
|
|
667
685
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
668
686
|
title?: string;
|
|
669
687
|
}
|
|
688
|
+
interface ExternalCatalogDatasetOptions {
|
|
689
|
+
/** Optional. The storage location URI for all tables in the dataset. Equivalent to hive metastore's database locationUri. Maximum length of 1024 characters. */
|
|
690
|
+
defaultStorageLocationUri?: string;
|
|
691
|
+
/** Optional. A map of key value pairs defining the parameters and properties of the open source schema. Maximum size of 2Mib. */
|
|
692
|
+
parameters?: {[P in string]: string};
|
|
693
|
+
}
|
|
694
|
+
interface ExternalCatalogTableOptions {
|
|
695
|
+
/** Optional. The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The connection is needed to read the open source table from BigQuery Engine. The connection_id can have the form `..` or `projects//locations//connections/`. */
|
|
696
|
+
connectionId?: string;
|
|
697
|
+
/** Optional. A map of key value pairs defining the parameters and properties of the open source table. Corresponds with hive meta store table parameters. Maximum size of 4Mib. */
|
|
698
|
+
parameters?: {[P in string]: string};
|
|
699
|
+
/** Optional. A storage descriptor containing information about the physical storage of this table. */
|
|
700
|
+
storageDescriptor?: StorageDescriptor;
|
|
701
|
+
}
|
|
670
702
|
interface ExternalDataConfiguration {
|
|
671
703
|
/** Try to detect schema and format options automatically. Any option specified explicitly will be honored. */
|
|
672
704
|
autodetect?: boolean;
|
|
@@ -1376,6 +1408,12 @@ declare namespace gapi.client {
|
|
|
1376
1408
|
/** Output only. Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'. */
|
|
1377
1409
|
state?: string;
|
|
1378
1410
|
}
|
|
1411
|
+
interface JoinRestrictionPolicy {
|
|
1412
|
+
/** Optional. The only columns that joins are allowed on. This field is must be specified for join_conditions JOIN_ANY and JOIN_ALL and it cannot be set for JOIN_BLOCKED. */
|
|
1413
|
+
joinAllowedColumns?: string[];
|
|
1414
|
+
/** Optional. Specifies if a join is required or not on queries for the view. Default is JOIN_CONDITION_UNSPECIFIED. */
|
|
1415
|
+
joinCondition?: string;
|
|
1416
|
+
}
|
|
1379
1417
|
interface JsonObject {
|
|
1380
1418
|
[key: string]: any;
|
|
1381
1419
|
}
|
|
@@ -1384,6 +1422,10 @@ declare namespace gapi.client {
|
|
|
1384
1422
|
encoding?: string;
|
|
1385
1423
|
}
|
|
1386
1424
|
interface JsonValue {}
|
|
1425
|
+
interface LinkedDatasetMetadata {
|
|
1426
|
+
/** Output only. Specifies whether Linked Dataset is currently in a linked state or not. */
|
|
1427
|
+
linkState?: string;
|
|
1428
|
+
}
|
|
1387
1429
|
interface LinkedDatasetSource {
|
|
1388
1430
|
/** The source dataset reference contains project numbers and not project ids. */
|
|
1389
1431
|
sourceDataset?: DatasetReference;
|
|
@@ -1552,6 +1594,18 @@ declare namespace gapi.client {
|
|
|
1552
1594
|
/** Optional. Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default. */
|
|
1553
1595
|
enumAsString?: boolean;
|
|
1554
1596
|
}
|
|
1597
|
+
interface PartitionedColumn {
|
|
1598
|
+
/** Output only. The name of the partition column. */
|
|
1599
|
+
field?: string;
|
|
1600
|
+
}
|
|
1601
|
+
interface PartitioningDefinition {
|
|
1602
|
+
/** Output only. Details about each partitioning column. BigQuery native tables only support 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. */
|
|
1603
|
+
partitionedColumn?: PartitionedColumn[];
|
|
1604
|
+
}
|
|
1605
|
+
interface PartitionSkew {
|
|
1606
|
+
/** Output only. Source stages which produce skewed data. */
|
|
1607
|
+
skewSources?: SkewSource[];
|
|
1608
|
+
}
|
|
1555
1609
|
interface PerformanceInsights {
|
|
1556
1610
|
/** Output only. Average execution ms of previous runs. Indicates the job ran slow compared to previous executions. To find previous executions, use INFORMATION_SCHEMA tables and filter jobs with same query hash. */
|
|
1557
1611
|
avgPreviousExecutionMs?: string;
|
|
@@ -1583,6 +1637,10 @@ declare namespace gapi.client {
|
|
|
1583
1637
|
interface PrivacyPolicy {
|
|
1584
1638
|
/** Optional. Policy used for aggregation thresholds. */
|
|
1585
1639
|
aggregationThresholdPolicy?: AggregationThresholdPolicy;
|
|
1640
|
+
/** Optional. Policy used for differential privacy. */
|
|
1641
|
+
differentialPrivacyPolicy?: DifferentialPrivacyPolicy;
|
|
1642
|
+
/** Optional. Join restriction policy is outside of the one of policies, since this policy can be set along with other policies. This policy gives data providers the ability to enforce joins on the 'join_allowed_columns' when data is queried from a privacy protected view. */
|
|
1643
|
+
joinRestrictionPolicy?: JoinRestrictionPolicy;
|
|
1586
1644
|
}
|
|
1587
1645
|
interface ProjectList {
|
|
1588
1646
|
/** A hash of the page of results. */
|
|
@@ -1915,6 +1973,14 @@ declare namespace gapi.client {
|
|
|
1915
1973
|
/** Specifies the index usage mode for the query. */
|
|
1916
1974
|
indexUsageMode?: string;
|
|
1917
1975
|
}
|
|
1976
|
+
interface SerDeInfo {
|
|
1977
|
+
/** Optional. Name of the SerDe. The maximum length is 256 characters. */
|
|
1978
|
+
name?: string;
|
|
1979
|
+
/** Optional. Key-value pairs that define the initialization parameters for the serialization library. Maximum size 10 Kib. */
|
|
1980
|
+
parameters?: {[P in string]: string};
|
|
1981
|
+
/** Required. Specifies a fully-qualified class name of the serialization library that is responsible for the translation of data between table representation and the underlying low-level input and output format structures. The maximum length is 256 characters. */
|
|
1982
|
+
serializationLibrary?: string;
|
|
1983
|
+
}
|
|
1918
1984
|
interface SessionInfo {
|
|
1919
1985
|
/** Output only. The id of the session. */
|
|
1920
1986
|
sessionId?: string;
|
|
@@ -1925,6 +1991,10 @@ declare namespace gapi.client {
|
|
|
1925
1991
|
/** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` */
|
|
1926
1992
|
updateMask?: string;
|
|
1927
1993
|
}
|
|
1994
|
+
interface SkewSource {
|
|
1995
|
+
/** Output only. Stage id of the skew source stage. */
|
|
1996
|
+
stageId?: string;
|
|
1997
|
+
}
|
|
1928
1998
|
interface SnapshotDefinition {
|
|
1929
1999
|
/** Required. Reference describing the ID of the table that was snapshot. */
|
|
1930
2000
|
baseTableReference?: TableReference;
|
|
@@ -1962,9 +2032,9 @@ declare namespace gapi.client {
|
|
|
1962
2032
|
interface SparkStatistics {
|
|
1963
2033
|
/** Output only. Endpoints returned from Dataproc. Key list: - history_server_endpoint: A link to Spark job UI. */
|
|
1964
2034
|
endpoints?: {[P in string]: string};
|
|
1965
|
-
/** Output only. The Google Cloud Storage bucket that is used as the default
|
|
2035
|
+
/** Output only. The Google Cloud Storage bucket that is used as the default file system by the Spark application. This field is only filled when the Spark procedure uses the invoker security mode. The `gcsStagingBucket` bucket is inferred from the `@@spark_proc_properties.staging_bucket` system variable (if it is provided). Otherwise, BigQuery creates a default staging bucket for the job and returns the bucket name in this field. Example: * `gs://[bucket_name]` */
|
|
1966
2036
|
gcsStagingBucket?: string;
|
|
1967
|
-
/** Output only. The Cloud KMS encryption key that is used to protect the resources created by the Spark job. If the Spark procedure uses
|
|
2037
|
+
/** Output only. The Cloud KMS encryption key that is used to protect the resources created by the Spark job. If the Spark procedure uses the invoker security mode, the Cloud KMS encryption key is either inferred from the provided system variable, `@@spark_proc_properties.kms_key_name`, or the default key of the BigQuery job's project (if the CMEK organization policy is enforced). Otherwise, the Cloud KMS key is either inferred from the Spark connection associated with the procedure (if it is provided), or from the default key of the Spark connection's project if the CMEK organization policy is enforced. Example: * `projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key]` */
|
|
1968
2038
|
kmsKeyName?: string;
|
|
1969
2039
|
/** Output only. Logging info is used to generate a link to Cloud Logging. */
|
|
1970
2040
|
loggingInfo?: SparkLoggingInfo;
|
|
@@ -1986,6 +2056,8 @@ declare namespace gapi.client {
|
|
|
1986
2056
|
highCardinalityJoins?: HighCardinalityJoin[];
|
|
1987
2057
|
/** Output only. True if the stage has insufficient shuffle quota. */
|
|
1988
2058
|
insufficientShuffleQuota?: boolean;
|
|
2059
|
+
/** Output only. Partition skew in the stage. */
|
|
2060
|
+
partitionSkew?: PartitionSkew;
|
|
1989
2061
|
/** Output only. True if the stage has a slot contention issue. */
|
|
1990
2062
|
slotContention?: boolean;
|
|
1991
2063
|
/** Output only. The stage id that the insight mapped to. */
|
|
@@ -2015,6 +2087,16 @@ declare namespace gapi.client {
|
|
|
2015
2087
|
/** The columns in this table type */
|
|
2016
2088
|
columns?: StandardSqlField[];
|
|
2017
2089
|
}
|
|
2090
|
+
interface StorageDescriptor {
|
|
2091
|
+
/** Optional. Specifies the fully qualified class name of the InputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"). The maximum length is 128 characters. */
|
|
2092
|
+
inputFormat?: string;
|
|
2093
|
+
/** Optional. The physical location of the table (e.g. 'gs://spark-dataproc-data/pangea-data/case_sensitive/' or 'gs://spark-dataproc-data/pangea-data/*'). The maximum length is 2056 bytes. */
|
|
2094
|
+
locationUri?: string;
|
|
2095
|
+
/** Optional. Specifies the fully qualified class name of the OutputFormat (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"). The maximum length is 128 characters. */
|
|
2096
|
+
outputFormat?: string;
|
|
2097
|
+
/** Optional. Serializer and deserializer information. */
|
|
2098
|
+
serdeInfo?: SerDeInfo;
|
|
2099
|
+
}
|
|
2018
2100
|
interface Streamingbuffer {
|
|
2019
2101
|
/** Output only. A lower-bound estimate of the number of bytes currently in the streaming buffer. */
|
|
2020
2102
|
estimatedBytes?: string;
|
|
@@ -2054,6 +2136,8 @@ declare namespace gapi.client {
|
|
|
2054
2136
|
etag?: string;
|
|
2055
2137
|
/** Optional. The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. The defaultTableExpirationMs property of the encapsulating dataset can be used to set a default expirationTime on newly created tables. */
|
|
2056
2138
|
expirationTime?: string;
|
|
2139
|
+
/** Optional. Options defining open source compatible table. */
|
|
2140
|
+
externalCatalogTableOptions?: ExternalCatalogTableOptions;
|
|
2057
2141
|
/** Optional. Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. */
|
|
2058
2142
|
externalDataConfiguration?: ExternalDataConfiguration;
|
|
2059
2143
|
/** Optional. A descriptive name for this table. */
|
|
@@ -2100,6 +2184,8 @@ declare namespace gapi.client {
|
|
|
2100
2184
|
numTotalLogicalBytes?: string;
|
|
2101
2185
|
/** Output only. The physical size of this table in bytes. This also includes storage used for time travel. This data is not kept in real time, and might be delayed by a few seconds to a few minutes. */
|
|
2102
2186
|
numTotalPhysicalBytes?: string;
|
|
2187
|
+
/** Output only. The partition information for all table formats, including managed partitioned tables, hive partitioned tables, and iceberg partitioned tables. */
|
|
2188
|
+
partitionDefinition?: PartitioningDefinition;
|
|
2103
2189
|
/** If specified, configures range partitioning for this table. */
|
|
2104
2190
|
rangePartitioning?: RangePartitioning;
|
|
2105
2191
|
/** Optional. Output only. Table references of all replicas currently active on the table. */
|
|
@@ -2226,14 +2312,14 @@ declare namespace gapi.client {
|
|
|
2226
2312
|
precision?: string;
|
|
2227
2313
|
/** Represents the type of a field element. */
|
|
2228
2314
|
rangeElementType?: {
|
|
2229
|
-
/** Required. The type of a field element.
|
|
2315
|
+
/** Required. The type of a field element. For more information, see TableFieldSchema.type. */
|
|
2230
2316
|
type?: string;
|
|
2231
2317
|
};
|
|
2232
2318
|
/** Optional. Specifies the rounding mode to be used when storing values of NUMERIC and BIGNUMERIC type. */
|
|
2233
2319
|
roundingMode?: string;
|
|
2234
2320
|
/** Optional. See documentation for precision. */
|
|
2235
2321
|
scale?: string;
|
|
2236
|
-
/** Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) Use of RECORD/STRUCT indicates that the field contains a nested schema. */
|
|
2322
|
+
/** Required. The field data type. Possible values include: * STRING * BYTES * INTEGER (or INT64) * FLOAT (or FLOAT64) * BOOLEAN (or BOOL) * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY * NUMERIC * BIGNUMERIC * JSON * RECORD (or STRUCT) * RANGE ([Preview](/products/#product-launch-stages)) Use of RECORD/STRUCT indicates that the field contains a nested schema. */
|
|
2237
2323
|
type?: string;
|
|
2238
2324
|
}
|
|
2239
2325
|
interface TableList {
|
|
@@ -2545,7 +2631,7 @@ declare namespace gapi.client {
|
|
|
2545
2631
|
type?: StandardSqlDataType;
|
|
2546
2632
|
}
|
|
2547
2633
|
interface UndeleteDatasetRequest {
|
|
2548
|
-
/** Optional. The exact time when the dataset was deleted. If not specified,
|
|
2634
|
+
/** Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. */
|
|
2549
2635
|
deletionTime?: string;
|
|
2550
2636
|
}
|
|
2551
2637
|
interface UserDefinedFunctionResource {
|
|
@@ -3496,6 +3582,36 @@ declare namespace gapi.client {
|
|
|
3496
3582
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3497
3583
|
uploadType?: string;
|
|
3498
3584
|
}): Request<Routine>;
|
|
3585
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
3586
|
+
getIamPolicy(
|
|
3587
|
+
request: {
|
|
3588
|
+
/** V1 error format. */
|
|
3589
|
+
'$.xgafv'?: string;
|
|
3590
|
+
/** OAuth access token. */
|
|
3591
|
+
access_token?: string;
|
|
3592
|
+
/** Data format for response. */
|
|
3593
|
+
alt?: string;
|
|
3594
|
+
/** JSONP */
|
|
3595
|
+
callback?: string;
|
|
3596
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3597
|
+
fields?: string;
|
|
3598
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3599
|
+
key?: string;
|
|
3600
|
+
/** OAuth 2.0 token for the current user. */
|
|
3601
|
+
oauth_token?: string;
|
|
3602
|
+
/** Returns response with indentations and line breaks. */
|
|
3603
|
+
prettyPrint?: boolean;
|
|
3604
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3605
|
+
quotaUser?: string;
|
|
3606
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3607
|
+
resource: string;
|
|
3608
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3609
|
+
upload_protocol?: string;
|
|
3610
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3611
|
+
uploadType?: string;
|
|
3612
|
+
},
|
|
3613
|
+
body: GetIamPolicyRequest
|
|
3614
|
+
): Request<Policy>;
|
|
3499
3615
|
/** Creates a new routine in the dataset. */
|
|
3500
3616
|
insert(request: {
|
|
3501
3617
|
/** V1 error format. */
|
|
@@ -3595,6 +3711,36 @@ declare namespace gapi.client {
|
|
|
3595
3711
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3596
3712
|
uploadType?: string;
|
|
3597
3713
|
}): Request<ListRoutinesResponse>;
|
|
3714
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
3715
|
+
setIamPolicy(
|
|
3716
|
+
request: {
|
|
3717
|
+
/** V1 error format. */
|
|
3718
|
+
'$.xgafv'?: string;
|
|
3719
|
+
/** OAuth access token. */
|
|
3720
|
+
access_token?: string;
|
|
3721
|
+
/** Data format for response. */
|
|
3722
|
+
alt?: string;
|
|
3723
|
+
/** JSONP */
|
|
3724
|
+
callback?: string;
|
|
3725
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3726
|
+
fields?: string;
|
|
3727
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3728
|
+
key?: string;
|
|
3729
|
+
/** OAuth 2.0 token for the current user. */
|
|
3730
|
+
oauth_token?: string;
|
|
3731
|
+
/** Returns response with indentations and line breaks. */
|
|
3732
|
+
prettyPrint?: boolean;
|
|
3733
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3734
|
+
quotaUser?: string;
|
|
3735
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
3736
|
+
resource: string;
|
|
3737
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3738
|
+
upload_protocol?: string;
|
|
3739
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3740
|
+
uploadType?: string;
|
|
3741
|
+
},
|
|
3742
|
+
body: SetIamPolicyRequest
|
|
3743
|
+
): Request<Policy>;
|
|
3598
3744
|
/** Updates information in an existing routine. The update method replaces the entire Routine resource. */
|
|
3599
3745
|
update(request: {
|
|
3600
3746
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -244,6 +244,11 @@ await gapi.client.bigquery.routines.get({
|
|
|
244
244
|
routineId: 'routineId',
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
+
/*
|
|
248
|
+
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
|
|
249
|
+
*/
|
|
250
|
+
await gapi.client.bigquery.routines.getIamPolicy({resource: 'resource'});
|
|
251
|
+
|
|
247
252
|
/*
|
|
248
253
|
Creates a new routine in the dataset.
|
|
249
254
|
*/
|
|
@@ -260,6 +265,11 @@ await gapi.client.bigquery.routines.list({
|
|
|
260
265
|
projectId: 'projectId',
|
|
261
266
|
});
|
|
262
267
|
|
|
268
|
+
/*
|
|
269
|
+
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
|
270
|
+
*/
|
|
271
|
+
await gapi.client.bigquery.routines.setIamPolicy({resource: 'resource'});
|
|
272
|
+
|
|
263
273
|
/*
|
|
264
274
|
Updates information in an existing routine. The update method replaces the entire Routine resource.
|
|
265
275
|
*/
|