def make_get_default_gcs_bucket_name_call(rpc):
 request = app_identity_service_pb.GetDefaultGcsBucketNameRequest()
 response = app_identity_service_pb.GetDefaultGcsBucketNameResponse()
 if (rpc.deadline is not None):
  request.set_deadline(rpc.deadline)
 def get_default_gcs_bucket_name_result(rpc):
  "Check success, handle exceptions, and return converted RPC result.\n\n    This method waits for the RPC if it has not yet finished, and calls the\n    post-call hooks on the first invocation.\n\n    Args:\n      rpc: A UserRPC object.\n\n    Returns:\n      A string which is the name of the app's default google storage bucket.\n    "
  assert (rpc.service == _APP_IDENTITY_SERVICE_NAME), repr(rpc.service)
  assert (rpc.method == _GET_DEFAULT_GCS_BUCKET_NAME_METHOD_NAME), repr(rpc.method)
  try:
   rpc.check_success()
  except apiproxy_errors.ApplicationError as err:
   raise _to_app_identity_error(err)
  return (response.default_gcs_bucket_name() or None)
 rpc.make_call(_GET_DEFAULT_GCS_BUCKET_NAME_METHOD_NAME, request, response, get_default_gcs_bucket_name_result)

def make_get_default_gcs_bucket_name_call ( rpc ) : request = app_identity_service_pb . GetDefaultGcsBucketNameRequest ( ) response = app_identity_service_pb . GetDefaultGcsBucketNameResponse ( ) if ( rpc . deadline is not None ) : request . set_deadline ( rpc . deadline ) def get_default_gcs_bucket_name_result ( rpc ) : assert ( rpc . service == _APP_IDENTITY_SERVICE_NAME ) , repr ( rpc . service ) assert ( rpc . method == _GET_DEFAULT_GCS_BUCKET_NAME_METHOD_NAME ) , repr ( rpc . method ) try : rpc . check_success ( ) except apiproxy_errors . ApplicationError as err : raise _to_app_identity_error ( err ) return ( response . default_gcs_bucket_name ( ) or None ) rpc . make_call ( _GET_DEFAULT_GCS_BUCKET_NAME_METHOD_NAME , request , response , get_default_gcs_bucket_name_result )
get default google storage bucket name for the app .