IPWorks Cloud 2020 Python Edition

Questions / Feedback?

on_bucket_list Event

Fires once for each bucket returned when listing buckets.

Syntax

class BackblazeB2BucketListEventParams(object):
  @property
  def id() -> str: ...
  @property
  def name() -> str: ...
  @property
  def kind() -> str: ...
  @property
  def revision() -> int: ...

# In class BackblazeB2:
@property
def on_bucket_list() -> Callable[[BackblazeB2BucketListEventParams], None]: ...
@on_bucket_list.setter
def on_bucket_list(event_hook: Callable[[BackblazeB2BucketListEventParams], None]) -> None: ...

Remarks

This event fires once for each bucket returned when list_buckets is called.

Id reflects the unique Id of the bucket.

Name reflects the name of the bucket.

Kind reflects the bucket's kind. Possible values are allPublic, allPrivate, or snapshot.

Revision reflects the bucket's revision number. A bucket's revision number is updated every time the bucket is modified.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Python Edition - Version 20.0 [Build 8265]