Skip to content

Commit 40eaf35

Browse files
feat: Automated regeneration of dataplex v1 client (#9430)
Auto-created at 2022-05-15 11:13:20 +0000 using the toys pull request generator.
1 parent d368e56 commit 40eaf35

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86572,6 +86572,7 @@
8657286572
"/dataplex:v1/dataplex.projects.locations.lakes.environments.patch/updateMask": update_mask
8657386573
"/dataplex:v1/dataplex.projects.locations.lakes.environments.patch/validateOnly": validate_only
8657486574
"/dataplex:v1/dataplex.projects.locations.lakes.environments.sessions.list": list_project_location_lake_environment_sessions
86575+
"/dataplex:v1/dataplex.projects.locations.lakes.environments.sessions.list/filter": filter
8657586576
"/dataplex:v1/dataplex.projects.locations.lakes.environments.sessions.list/pageSize": page_size
8657686577
"/dataplex:v1/dataplex.projects.locations.lakes.environments.sessions.list/pageToken": page_token
8657786578
"/dataplex:v1/dataplex.projects.locations.lakes.environments.sessions.list/parent": parent

generated/google-apis-dataplex_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dataplex_v1
22

3+
### v0.5.0 (2022-05-15)
4+
5+
* Regenerated from discovery document revision 20220509
6+
37
### v0.4.0 (2022-05-08)
48

59
* Regenerated from discovery document revision 20220502

generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/classes.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2766,13 +2766,15 @@ def update!(**args)
27662766
class GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources
27672767
include Google::Apis::Core::Hashable
27682768

2769-
# Optional. Total number of job executors.
2769+
# Optional. Total number of job executors. Executor Count should be between 2
2770+
# and 100. Default=2
27702771
# Corresponds to the JSON property `executorsCount`
27712772
# @return [Fixnum]
27722773
attr_accessor :executors_count
27732774

27742775
# Optional. Max configurable executors. If max_executors_count > executors_count,
2775-
# then auto-scaling is enabled.
2776+
# then auto-scaling is enabled. Max Executor Count should be between 2 and 1000.
2777+
# Default=1000
27762778
# Corresponds to the JSON property `maxExecutorsCount`
27772779
# @return [Fixnum]
27782780
attr_accessor :max_executors_count

generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DataplexV1
1818
# Version of the google-apis-dataplex_v1 gem
19-
GEM_VERSION = "0.4.0"
19+
GEM_VERSION = "0.5.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.4.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20220502"
25+
REVISION = "20220509"
2626
end
2727
end
2828
end

generated/google-apis-dataplex_v1/lib/google/apis/dataplex_v1/service.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,13 @@ def test_project_location_lake_environment_iam_permissions(resource, google_iam_
11161116
# Required. The resource name of the parent environment: projects/`
11171117
# project_number`/locations/`location_id`/lakes/`lake_id`/environment/`
11181118
# environment_id`
1119+
# @param [String] filter
1120+
# Optional. Filter request. The following mode filter is supported to return
1121+
# only the sessions belonging to the requester when the mode is USER and return
1122+
# sessions of all the users when the mode is ADMIN. When no filter is sent
1123+
# default to USER mode. NOTE: When the mode is ADMIN, the requester should have
1124+
# dataplex.environments.listAllSessions permission to list all sessions, in
1125+
# absence of the permission, the request fails.mode = ADMIN | USER
11191126
# @param [Fixnum] page_size
11201127
# Optional. Maximum number of sessions to return. The service may return fewer
11211128
# than this value. If unspecified, at most 10 sessions will be returned. The
@@ -1141,11 +1148,12 @@ def test_project_location_lake_environment_iam_permissions(resource, google_iam_
11411148
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11421149
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11431150
# @raise [Google::Apis::AuthorizationError] Authorization is required
1144-
def list_project_location_lake_environment_sessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1151+
def list_project_location_lake_environment_sessions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
11451152
command = make_simple_command(:get, 'v1/{+parent}/sessions', options)
11461153
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListSessionsResponse::Representation
11471154
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListSessionsResponse
11481155
command.params['parent'] = parent unless parent.nil?
1156+
command.query['filter'] = filter unless filter.nil?
11491157
command.query['pageSize'] = page_size unless page_size.nil?
11501158
command.query['pageToken'] = page_token unless page_token.nil?
11511159
command.query['fields'] = fields unless fields.nil?

0 commit comments

Comments
 (0)