Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
google-cloud-sdk /
lib /
surface /
run /
jobs /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
executions
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
logs
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
__init__.py
1.62
KB
-rw-r--r--
1980-01-01 08:00
add_iam_policy_binding.yaml
1.28
KB
-rw-r--r--
1980-01-01 08:00
create.py
9.62
KB
-rw-r--r--
1980-01-01 08:00
delete.py
3.58
KB
-rw-r--r--
1980-01-01 08:00
deploy.py
14.15
KB
-rw-r--r--
1980-01-01 08:00
describe.py
3.04
KB
-rw-r--r--
1980-01-01 08:00
execute.py
7.4
KB
-rw-r--r--
1980-01-01 08:00
get_iam_policy.yaml
1.2
KB
-rw-r--r--
1980-01-01 08:00
list.py
3.89
KB
-rw-r--r--
1980-01-01 08:00
remove_iam_policy_binding.yaml
1.29
KB
-rw-r--r--
1980-01-01 08:00
replace.py
8.01
KB
-rw-r--r--
1980-01-01 08:00
set_iam_policy.yaml
1.57
KB
-rw-r--r--
1980-01-01 08:00
ssh.py
1.68
KB
-rw-r--r--
1980-01-01 08:00
update.py
8.67
KB
-rw-r--r--
1980-01-01 08:00
Save
Rename
# -*- coding: utf-8 -*- # # Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Command for listing Jobs.""" import copy from googlecloudsdk.api_lib.run import global_methods from googlecloudsdk.calliope import base from googlecloudsdk.command_lib.run import commands from googlecloudsdk.command_lib.run import connection_context from googlecloudsdk.command_lib.run import exceptions from googlecloudsdk.command_lib.run import flags from googlecloudsdk.command_lib.run import pretty_print from googlecloudsdk.command_lib.run import resource_args from googlecloudsdk.command_lib.run import serverless_operations from googlecloudsdk.command_lib.util.concepts import concept_parsers from googlecloudsdk.command_lib.util.concepts import presentation_specs from googlecloudsdk.core import properties @base.UniverseCompatible @base.ReleaseTracks(base.ReleaseTrack.GA) class List(commands.List): """List jobs.""" detailed_help = { 'DESCRIPTION': ( """ {description} """ ), 'EXAMPLES': ( """ To list all jobs in all regions: $ {command} """ ), } @classmethod def CommonArgs(cls, parser): namespace_presentation = presentation_specs.ResourcePresentationSpec( '--namespace', resource_args.GetNamespaceResourceSpec(), 'Namespace to list jobs in.', required=True, prefixes=False, hidden=True, ) concept_parsers.ConceptParser([namespace_presentation]).AddToParser(parser) parser.display_info.AddFormat( 'table(' '{ready_column},' 'name:label=JOB,' 'region:label=REGION,' 'status.latestCreatedExecution.creationTimestamp' '.date("%Y-%m-%d %H:%M:%S %Z"):label="LAST RUN AT",' 'creation_timestamp.date("%Y-%m-%d %H:%M:%S %Z"):label=CREATED,' 'author:label="CREATED BY"):({alias})'.format( ready_column=pretty_print.READY_COLUMN, alias=commands.SATISFIES_PZS_ALIAS, ) ) parser.display_info.AddUriFunc(cls._GetResourceUri) @classmethod def Args(cls, parser): cls.CommonArgs(parser) def Run(self, args): """List jobs.""" # Use the mixer for global request if there's no --region flag. namespace_ref = args.CONCEPTS.namespace.Parse() if not args.IsSpecified('region'): endpoint_mode = properties.VALUES.regional.endpoint_mode.Get() if endpoint_mode == properties.VALUES.regional.REGIONAL: raise exceptions.ArgumentError( 'You must specify a region using the `--region` flag when ' 'regional endpoints are enabled.' ) client = global_methods.GetServerlessClientInstance(api_version='v1') self.SetPartialApiEndpoint(client.url) # Don't consider region property here, we'll default to all regions return commands.SortByName(global_methods.ListJobs(client, namespace_ref)) conn_context = connection_context.GetConnectionContext( args, flags.Product.RUN, self.ReleaseTrack() ) with serverless_operations.Connect(conn_context) as client: self.SetCompleteApiEndpoint(conn_context.endpoint) return commands.SortByName(client.ListJobs(namespace_ref)) @base.ReleaseTracks(base.ReleaseTrack.BETA, base.ReleaseTrack.ALPHA) @base.RegionalEndpointsSupported class BetaList(List): """List jobs.""" detailed_help = copy.deepcopy(List.detailed_help)