@@ -769,9 +769,10 @@ def storage_billing_model(self):
769769 """Union[str, None]: StorageBillingModel of the dataset as set by the user
770770 (defaults to :data:`None`).
771771
772- Set the value to one of ``'LOGICAL'`` or ``'PHYSICAL'``. This change
773- takes 24 hours to take effect and you must wait 14 days before you can
774- change the storage billing model again.
772+ Set the value to one of ``'LOGICAL'``, ``'PHYSICAL'``, or
773+ ``'STORAGE_BILLING_MODEL_UNSPECIFIED'``. This change takes 24 hours to
774+ take effect and you must wait 14 days before you can change the storage
775+ billing model again.
775776
776777 See `storage billing model
777778 <https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#Dataset.FIELDS.storage_billing_model>`_
@@ -788,13 +789,11 @@ def storage_billing_model(self):
788789 def storage_billing_model (self , value ):
789790 if not isinstance (value , str ) and value is not None :
790791 raise ValueError (
791- "storage_billing_model must be a string (e.g. 'LOGICAL', 'PHYSICAL'), or None. "
792- f"Got { repr (value )} ."
792+ "storage_billing_model must be a string (e.g. 'LOGICAL',"
793+ " 'PHYSICAL', 'STORAGE_BILLING_MODEL_UNSPECIFIED'), or None."
794+ f" Got { repr (value )} ."
793795 )
794- if value :
795- self ._properties ["storageBillingModel" ] = value
796- if value is None :
797- self ._properties ["storageBillingModel" ] = "LOGICAL"
796+ self ._properties ["storageBillingModel" ] = value
798797
799798 @classmethod
800799 def from_string (cls , full_dataset_id : str ) -> "Dataset" :
0 commit comments