Skip to content

Commit a963bc7

Browse files
feat(dataplex): update the api
#### dataplex:v1 The following keys were added: - resources.projects.resources.locations.resources.lakes.resources.environments.resources.sessions.methods.list.parameters.filter (Total Keys: 2)
1 parent 9adb1c6 commit a963bc7

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

docs/dyn/dataplex_v1.projects.locations.lakes.environments.sessions.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Lists session resources in an environment.</p>
8383
<p class="toc_element">
8484
<code><a href="#list_next">list_next()</a></code></p>
@@ -90,11 +90,12 @@ <h3>Method Details</h3>
9090
</div>
9191

9292
<div class="method">
93-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
93+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
9494
<pre>Lists session resources in an environment.
9595

9696
Args:
9797
parent: string, Required. The resource name of the parent environment: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id} (required)
98+
filter: string, Optional. Filter request. The following mode filter is supported to return only the sessions belonging to the requester when the mode is USER and return sessions of all the users when the mode is ADMIN. When no filter is sent default to USER mode. NOTE: When the mode is ADMIN, the requester should have dataplex.environments.listAllSessions permission to list all sessions, in absence of the permission, the request fails.mode = ADMIN | USER
9899
pageSize: integer, Optional. Maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 10 sessions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
99100
pageToken: string, Optional. Page token received from a previous ListSessions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListSessions must match the call that provided the page token.
100101
x__xgafv: string, V1 error format.

docs/dyn/dataplex_v1.projects.locations.lakes.tasks.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ <h3>Method Details</h3>
163163
],
164164
&quot;infrastructureSpec&quot;: { # Configuration for the underlying infrastructure used to run workloads. # Optional. Infrastructure specification for the execution.
165165
&quot;batch&quot;: { # Batch compute resources associated with the task. # Compute resources needed for a Task when using Dataproc Serverless.
166-
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors.
167-
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled.
166+
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2
167+
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. Default=1000
168168
},
169169
&quot;containerImage&quot;: { # Container Image Runtime Configuration used with Batch execution. # Container Image Runtime Configuration.
170170
&quot;javaJars&quot;: [ # Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
@@ -322,8 +322,8 @@ <h3>Method Details</h3>
322322
],
323323
&quot;infrastructureSpec&quot;: { # Configuration for the underlying infrastructure used to run workloads. # Optional. Infrastructure specification for the execution.
324324
&quot;batch&quot;: { # Batch compute resources associated with the task. # Compute resources needed for a Task when using Dataproc Serverless.
325-
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors.
326-
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled.
325+
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2
326+
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. Default=1000
327327
},
328328
&quot;containerImage&quot;: { # Container Image Runtime Configuration used with Batch execution. # Container Image Runtime Configuration.
329329
&quot;javaJars&quot;: [ # Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
@@ -471,8 +471,8 @@ <h3>Method Details</h3>
471471
],
472472
&quot;infrastructureSpec&quot;: { # Configuration for the underlying infrastructure used to run workloads. # Optional. Infrastructure specification for the execution.
473473
&quot;batch&quot;: { # Batch compute resources associated with the task. # Compute resources needed for a Task when using Dataproc Serverless.
474-
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors.
475-
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled.
474+
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2
475+
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. Default=1000
476476
},
477477
&quot;containerImage&quot;: { # Container Image Runtime Configuration used with Batch execution. # Container Image Runtime Configuration.
478478
&quot;javaJars&quot;: [ # Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
@@ -579,8 +579,8 @@ <h3>Method Details</h3>
579579
],
580580
&quot;infrastructureSpec&quot;: { # Configuration for the underlying infrastructure used to run workloads. # Optional. Infrastructure specification for the execution.
581581
&quot;batch&quot;: { # Batch compute resources associated with the task. # Compute resources needed for a Task when using Dataproc Serverless.
582-
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors.
583-
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled.
582+
&quot;executorsCount&quot;: 42, # Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2
583+
&quot;maxExecutorsCount&quot;: 42, # Optional. Max configurable executors. If max_executors_count &gt; executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. Default=1000
584584
},
585585
&quot;containerImage&quot;: { # Container Image Runtime Configuration used with Batch execution. # Container Image Runtime Configuration.
586586
&quot;javaJars&quot;: [ # Optional. A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar

googleapiclient/discovery_cache/documents/dataplex.v1.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,11 @@
10291029
"parent"
10301030
],
10311031
"parameters": {
1032+
"filter": {
1033+
"description": "Optional. Filter request. The following mode filter is supported to return only the sessions belonging to the requester when the mode is USER and return sessions of all the users when the mode is ADMIN. When no filter is sent default to USER mode. NOTE: When the mode is ADMIN, the requester should have dataplex.environments.listAllSessions permission to list all sessions, in absence of the permission, the request fails.mode = ADMIN | USER",
1034+
"location": "query",
1035+
"type": "string"
1036+
},
10321037
"pageSize": {
10331038
"description": "Optional. Maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 10 sessions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
10341039
"format": "int32",
@@ -2494,7 +2499,7 @@
24942499
}
24952500
}
24962501
},
2497-
"revision": "20220502",
2502+
"revision": "20220509",
24982503
"rootUrl": "https://dataplex.googleapis.com/",
24992504
"schemas": {
25002505
"Empty": {
@@ -4750,12 +4755,12 @@
47504755
"id": "GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources",
47514756
"properties": {
47524757
"executorsCount": {
4753-
"description": "Optional. Total number of job executors.",
4758+
"description": "Optional. Total number of job executors. Executor Count should be between 2 and 100. Default=2",
47544759
"format": "int32",
47554760
"type": "integer"
47564761
},
47574762
"maxExecutorsCount": {
4758-
"description": "Optional. Max configurable executors. If max_executors_count > executors_count, then auto-scaling is enabled.",
4763+
"description": "Optional. Max configurable executors. If max_executors_count > executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. Default=1000",
47594764
"format": "int32",
47604765
"type": "integer"
47614766
}

0 commit comments

Comments
 (0)