Skip to content

Commit d7dce2d

Browse files
feat(bigquery): update the api
#### bigquery:v2 The following keys were added: - resources.datasets.methods.patch.parameters.updateMode (Total Keys: 2) - resources.datasets.methods.update.parameters.updateMode (Total Keys: 2) - schemas.QueryTimelineSample.properties.shuffleRamUsageRatio (Total Keys: 2)
1 parent caa1158 commit d7dce2d

File tree

3 files changed

+89
-23
lines changed

3 files changed

+89
-23
lines changed

docs/dyn/bigquery_v2.datasets.html

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ <h2>Instance Methods</h2>
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
9595
<p class="toc_element">
96-
<code><a href="#patch">patch(projectId, datasetId, accessPolicyVersion=None, body=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#patch">patch(projectId, datasetId, accessPolicyVersion=None, body=None, updateMode=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.</p>
9898
<p class="toc_element">
9999
<code><a href="#undelete">undelete(projectId, datasetId, body=None, x__xgafv=None)</a></code></p>
100100
<p class="firstline">Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.</p>
101101
<p class="toc_element">
102-
<code><a href="#update">update(projectId, datasetId, accessPolicyVersion=None, body=None, x__xgafv=None)</a></code></p>
102+
<code><a href="#update">update(projectId, datasetId, accessPolicyVersion=None, body=None, updateMode=None, x__xgafv=None)</a></code></p>
103103
<p class="firstline">Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.</p>
104104
<h3>Method Details</h3>
105105
<div class="method">
@@ -133,9 +133,9 @@ <h3>Method Details</h3>
133133
datasetView: string, Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned.
134134
Allowed values
135135
DATASET_VIEW_UNSPECIFIED - The default value. Default to the FULL view.
136-
METADATA - Includes metadata information for the dataset, such as location, etag, lastModifiedTime, etc.
137-
ACL - Includes ACL information for the dataset, which defines dataset access for one or more entities.
138-
FULL - Includes both dataset metadata and ACL information.
136+
METADATA - Updates metadata information for the dataset, such as friendlyName, description, labels, etc.
137+
ACL - Updates ACL information for the dataset, which defines dataset access for one or more entities.
138+
FULL - Updates both dataset metadata and ACL information.
139139
x__xgafv: string, V1 error format.
140140
Allowed values
141141
1 - v1 error format
@@ -516,7 +516,7 @@ <h3>Method Details</h3>
516516
</div>
517517

518518
<div class="method">
519-
<code class="details" id="patch">patch(projectId, datasetId, accessPolicyVersion=None, body=None, x__xgafv=None)</code>
519+
<code class="details" id="patch">patch(projectId, datasetId, accessPolicyVersion=None, body=None, updateMode=None, x__xgafv=None)</code>
520520
<pre>Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports RFC5789 patch semantics.
521521

522522
Args:
@@ -624,6 +624,12 @@ <h3>Method Details</h3>
624624
}
625625

626626
accessPolicyVersion: integer, Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field&#x27;s value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.
627+
updateMode: string, Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated.
628+
Allowed values
629+
UPDATE_MODE_UNSPECIFIED - The default value. Default to the UPDATE_FULL.
630+
UPDATE_METADATA - Includes metadata information for the dataset, such as friendlyName, description, labels, etc.
631+
UPDATE_ACL - Includes ACL information for the dataset, which defines dataset access for one or more entities.
632+
UPDATE_FULL - Includes both dataset metadata and ACL information.
627633
x__xgafv: string, V1 error format.
628634
Allowed values
629635
1 - v1 error format
@@ -853,7 +859,7 @@ <h3>Method Details</h3>
853859
</div>
854860

855861
<div class="method">
856-
<code class="details" id="update">update(projectId, datasetId, accessPolicyVersion=None, body=None, x__xgafv=None)</code>
862+
<code class="details" id="update">update(projectId, datasetId, accessPolicyVersion=None, body=None, updateMode=None, x__xgafv=None)</code>
857863
<pre>Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.
858864

859865
Args:
@@ -961,6 +967,12 @@ <h3>Method Details</h3>
961967
}
962968

963969
accessPolicyVersion: integer, Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field&#x27;s value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be mapped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.
970+
updateMode: string, Optional. Specifies the fields of dataset that update/patch operation is targeting By default, both metadata and ACL fields are updated.
971+
Allowed values
972+
UPDATE_MODE_UNSPECIFIED - The default value. Default to the UPDATE_FULL.
973+
UPDATE_METADATA - Includes metadata information for the dataset, such as friendlyName, description, labels, etc.
974+
UPDATE_ACL - Includes ACL information for the dataset, which defines dataset access for one or more entities.
975+
UPDATE_FULL - Includes both dataset metadata and ACL information.
964976
x__xgafv: string, V1 error format.
965977
Allowed values
966978
1 - v1 error format

0 commit comments

Comments
 (0)