@@ -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