Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Num Assign NameStore TupleLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Return ListLoad TupleLoad Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults Call NameLoad Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call NameLoad Expr Call NameLoad Num Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A Cloud Pub/Sub gRPC sample application. __future__ print_function N/A logging N/A sys google.pubsub.v1 pubsub_pb2 grpc.beta implementations grpc.framework.interfaces.face.face NetworkError oauth2client client N/A N/A N/A logging basicConfig level N/A logging INFO N/A log N/A N/A logging getLogger __name__ N/A N/A N/A log setLevel N/A logging INFO N/A PUBSUB_ENDPOINT pubsub.googleapis.com N/A SSL_PORT 443 N/A OAUTH_SCOPE N/A https://www.googleapis.com/auth/pubsub N/A GOOGLE_CREDS N/A N/A N/A client GoogleCredentials get_application_default N/A SCOPED_CREDS N/A N/A GOOGLE_CREDS create_scoped OAUTH_SCOPE N/A TIMEOUT 30 auth_func N/A N/A scoped_creds N/A SCOPED_CREDS N/A N/A Returns a token obtained from Google Creds. N/A authn N/A N/A N/A scoped_creds get_access_token access_token N/A N/A N/A authorization N/A Bearer %s authn N/A make_channel_creds N/A N/A ssl_creds auth_func N/A auth_func N/A N/A Returns a channel with credentials callback. N/A call_creds N/A N/A implementations metadata_call_credentials N/A N/A N/A ctx callback N/A N/A callback N/A auth_func None N/A N/A N/A implementations composite_channel_credentials ssl_creds call_creds N/A create_pubsub_stub N/A N/A host port N/A PUBSUB_ENDPOINT SSL_PORT N/A N/A Creates a secure pubsub channel. N/A ssl_creds N/A N/A implementations ssl_channel_credentials None None None N/A channel_creds N/A make_channel_creds ssl_creds auth_func N/A channel N/A N/A implementations secure_channel host port channel_creds N/A N/A N/A pubsub_pb2 beta_create_Publisher_stub channel N/A list_topics N/A N/A stub project N/A N/A N/A Lists topics in the given project. N/A req N/A N/A pubsub_pb2 ListTopicsRequest project project N/A N/A N/A resp N/A N/A stub ListTopics req TIMEOUT N/A t N/A resp topics N/A N/A N/A print N/A N/A Topic is: {} format N/A t name N/A N/A N/A NetworkError N/A e N/A N/A N/A N/A logging warning N/A N/A Failed to list topics: {} format e N/A N/A N/A sys exit 1 N/A usage N/A N/A N/A N/A N/A Prints usage to the stderr. N/A N/A print N/A N/A {} project_id format N/A N/A sys argv N/A 0 file N/A sys stderr N/A main N/A N/A N/A N/A N/A N/A N/A len N/A sys argv 2 N/A N/A N/A usage N/A N/A exit 1 N/A stub N/A create_pubsub_stub N/A N/A list_topics stub N/A N/A projects/{} format N/A N/A sys argv N/A 1 N/A N/A N/A __name__ __main__ N/A N/A N/A main