code: def notification(
          self,
          topic_name,
          topic_project=None,
          custom_attributes=None,
          event_types=None,
          blob_name_prefix=None,
          payload_format=NONE_PAYLOAD_FORMAT,
      ):
          
          return BucketNotification(
              self,
              topic_name,
              topic_project=topic_project,
              custom_attributes=custom_attributes,
              event_types=event_types,
              blob_name_prefix=blob_name_prefix,
              payload_format=payload_format,
          )
docs: Factory:  create a notification resource for the bucket.
  
          See: :class:`.BucketNotification` for parameters.
  
          :rtype: :class:`.BucketNotification`