looker-sdk 24.12.0__tar.gz → 24.14.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/PKG-INFO +1 -1
  2. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/error.py +1 -1
  3. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/sdk/api40/methods.py +30 -1
  4. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/sdk/api40/models.py +101 -9
  5. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/sdk/constants.py +1 -1
  6. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/version.py +1 -1
  7. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk.egg-info/PKG-INFO +1 -1
  8. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/LICENSE.txt +0 -0
  9. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/MANIFEST.in +0 -0
  10. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/README.rst +0 -0
  11. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/__init__.py +0 -0
  12. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/py.typed +0 -0
  13. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/__init__.py +0 -0
  14. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/api_methods.py +0 -0
  15. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/api_settings.py +0 -0
  16. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/auth_session.py +0 -0
  17. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/auth_token.py +0 -0
  18. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/constants.py +0 -0
  19. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/hooks.py +0 -0
  20. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/model.py +0 -0
  21. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/requests_transport.py +0 -0
  22. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/serialize.py +0 -0
  23. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/rtl/transport.py +0 -0
  24. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/sdk/__init__.py +0 -0
  25. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk/sdk/api40/__init__.py +0 -0
  26. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk.egg-info/SOURCES.txt +0 -0
  27. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk.egg-info/dependency_links.txt +0 -0
  28. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk.egg-info/requires.txt +0 -0
  29. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/looker_sdk.egg-info/top_level.txt +0 -0
  30. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/setup.cfg +0 -0
  31. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/setup.py +0 -0
  32. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/__init__.py +0 -0
  33. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/conftest.py +0 -0
  34. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/integration/__init__.py +0 -0
  35. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/integration/test_methods.py +0 -0
  36. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/integration/test_netrc.py +0 -0
  37. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/__init__.py +0 -0
  38. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/test_api_methods.py +0 -0
  39. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/test_api_settings.py +0 -0
  40. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/test_auth_session.py +0 -0
  41. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/test_auth_token.py +0 -0
  42. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/test_requests_transport.py +0 -0
  43. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/test_serialize.py +0 -0
  44. {looker_sdk-24.12.0 → looker_sdk-24.14.0}/tests/rtl/test_transport.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: looker_sdk
3
- Version: 24.12.0
3
+ Version: 24.14.0
4
4
  Summary: Looker REST API
5
5
  Home-page: https://pypi.python.org/pypi/looker_sdk
6
6
  Author: Looker Data Sciences, Inc.
@@ -82,7 +82,7 @@ class SDKError(Exception):
82
82
  documentation_url: {self.documentation_url}
83
83
  error_doc_url: {self.error_doc_url}
84
84
  error details:
85
- {sep.join(self.errors)}
85
+ {sep.join(str(error) for error in self.errors)}
86
86
  """
87
87
 
88
88
 
@@ -21,7 +21,7 @@
21
21
  # SOFTWARE.
22
22
  #
23
23
 
24
- # 464 API methods
24
+ # 465 API methods
25
25
 
26
26
 
27
27
  # NOTE: Do not edit this file generated by Looker SDK Codegen for API 4.0
@@ -3237,6 +3237,8 @@ class Looker40SDK(api_methods.APIMethods):
3237
3237
  # - allow_user_timezones
3238
3238
  # - custom_welcome_email
3239
3239
  # - data_connector_default_enabled
3240
+ # - dashboard_auto_refresh_restriction
3241
+ # - dashboard_auto_refresh_minimum_interval
3240
3242
  # - extension_framework_enabled
3241
3243
  # - extension_load_url_enabled
3242
3244
  # - instance_config
@@ -3279,6 +3281,8 @@ class Looker40SDK(api_methods.APIMethods):
3279
3281
  # - allow_user_timezones
3280
3282
  # - custom_welcome_email
3281
3283
  # - data_connector_default_enabled
3284
+ # - dashboard_auto_refresh_restriction
3285
+ # - dashboard_auto_refresh_minimum_interval
3282
3286
  # - extension_framework_enabled
3283
3287
  # - extension_load_url_enabled
3284
3288
  # - instance_config
@@ -3742,6 +3746,31 @@ class Looker40SDK(api_methods.APIMethods):
3742
3746
  )
3743
3747
  return response
3744
3748
 
3749
+ # ### Update an OAuth Application's client secret.
3750
+ #
3751
+ # This is an OAuth Application which Looker uses to access external systems.
3752
+ #
3753
+ # PATCH /external_oauth_applications/{client_id} -> mdls.ExternalOauthApplication
3754
+ def update_external_oauth_application(
3755
+ self,
3756
+ # The client ID of the OAuth App to update
3757
+ client_id: str,
3758
+ body: mdls.WriteExternalOauthApplication,
3759
+ transport_options: Optional[transport.TransportOptions] = None,
3760
+ ) -> mdls.ExternalOauthApplication:
3761
+ """Update External OAuth Application"""
3762
+ client_id = self.encode_path_param(client_id)
3763
+ response = cast(
3764
+ mdls.ExternalOauthApplication,
3765
+ self.patch(
3766
+ path=f"/external_oauth_applications/{client_id}",
3767
+ structure=mdls.ExternalOauthApplication,
3768
+ body=body,
3769
+ transport_options=transport_options,
3770
+ ),
3771
+ )
3772
+ return response
3773
+
3745
3774
  # ### Create OAuth User state.
3746
3775
  #
3747
3776
  # POST /external_oauth_applications/user_state -> mdls.CreateOAuthApplicationUserStateResponse
@@ -2192,6 +2192,8 @@ class CredentialsEmail(model.Model):
2192
2192
  logged_in_at: Timestamp for most recent login using credential
2193
2193
  password_reset_url: Url with one-time use secret token that the user can use to reset password
2194
2194
  account_setup_url: Url with one-time use secret token that the user can use to setup account
2195
+ password_reset_url_expired: Is password_reset_url expired or not present?
2196
+ account_setup_url_expired: Is account_setup_url expired or not present?
2195
2197
  type: Short name for the type of this kind of credential
2196
2198
  url: Link to get this item
2197
2199
  user_url: Link to get this user
@@ -2206,6 +2208,8 @@ class CredentialsEmail(model.Model):
2206
2208
  logged_in_at: Optional[str] = None
2207
2209
  password_reset_url: Optional[str] = None
2208
2210
  account_setup_url: Optional[str] = None
2211
+ password_reset_url_expired: Optional[bool] = None
2212
+ account_setup_url_expired: Optional[bool] = None
2209
2213
  type: Optional[str] = None
2210
2214
  url: Optional[str] = None
2211
2215
  user_url: Optional[str] = None
@@ -2222,6 +2226,8 @@ class CredentialsEmail(model.Model):
2222
2226
  logged_in_at: Optional[str] = None,
2223
2227
  password_reset_url: Optional[str] = None,
2224
2228
  account_setup_url: Optional[str] = None,
2229
+ password_reset_url_expired: Optional[bool] = None,
2230
+ account_setup_url_expired: Optional[bool] = None,
2225
2231
  type: Optional[str] = None,
2226
2232
  url: Optional[str] = None,
2227
2233
  user_url: Optional[str] = None
@@ -2235,6 +2241,8 @@ class CredentialsEmail(model.Model):
2235
2241
  self.logged_in_at = logged_in_at
2236
2242
  self.password_reset_url = password_reset_url
2237
2243
  self.account_setup_url = account_setup_url
2244
+ self.password_reset_url_expired = password_reset_url_expired
2245
+ self.account_setup_url_expired = account_setup_url_expired
2238
2246
  self.type = type
2239
2247
  self.url = url
2240
2248
  self.user_url = user_url
@@ -2253,6 +2261,8 @@ class CredentialsEmailSearch(model.Model):
2253
2261
  logged_in_at: Timestamp for most recent login using credential
2254
2262
  password_reset_url: Url with one-time use secret token that the user can use to reset password
2255
2263
  account_setup_url: Url with one-time use secret token that the user can use to setup account
2264
+ password_reset_url_expired: Is password_reset_url expired or not present?
2265
+ account_setup_url_expired: Is account_setup_url expired or not present?
2256
2266
  type: Short name for the type of this kind of credential
2257
2267
  url: Link to get this item
2258
2268
  user_url: Link to get this user
@@ -2267,6 +2277,8 @@ class CredentialsEmailSearch(model.Model):
2267
2277
  logged_in_at: Optional[str] = None
2268
2278
  password_reset_url: Optional[str] = None
2269
2279
  account_setup_url: Optional[str] = None
2280
+ password_reset_url_expired: Optional[bool] = None
2281
+ account_setup_url_expired: Optional[bool] = None
2270
2282
  type: Optional[str] = None
2271
2283
  url: Optional[str] = None
2272
2284
  user_url: Optional[str] = None
@@ -2283,6 +2295,8 @@ class CredentialsEmailSearch(model.Model):
2283
2295
  logged_in_at: Optional[str] = None,
2284
2296
  password_reset_url: Optional[str] = None,
2285
2297
  account_setup_url: Optional[str] = None,
2298
+ password_reset_url_expired: Optional[bool] = None,
2299
+ account_setup_url_expired: Optional[bool] = None,
2286
2300
  type: Optional[str] = None,
2287
2301
  url: Optional[str] = None,
2288
2302
  user_url: Optional[str] = None
@@ -2296,6 +2310,8 @@ class CredentialsEmailSearch(model.Model):
2296
2310
  self.logged_in_at = logged_in_at
2297
2311
  self.password_reset_url = password_reset_url
2298
2312
  self.account_setup_url = account_setup_url
2313
+ self.password_reset_url_expired = password_reset_url_expired
2314
+ self.account_setup_url_expired = account_setup_url_expired
2299
2315
  self.type = type
2300
2316
  self.url = url
2301
2317
  self.user_url = user_url
@@ -3581,6 +3597,7 @@ class DBConnection(model.Model):
3581
3597
  username: Username for server authentication
3582
3598
  password: (Write-Only) Password for server authentication
3583
3599
  uses_oauth: Whether the connection uses OAuth for authentication.
3600
+ uses_instance_oauth: Whether the integration uses the oauth instance account.
3584
3601
  certificate: (Write-Only) Base64 encoded Certificate body for server authentication (when appropriate for dialect).
3585
3602
  file_type: (Write-Only) Certificate keyfile type - .json or .p12
3586
3603
  database: Database name
@@ -3588,6 +3605,8 @@ class DBConnection(model.Model):
3588
3605
  query_timezone: Timezone to use in queries
3589
3606
  schema: Schema name
3590
3607
  max_connections: Maximum number of concurrent connection to use
3608
+ max_queries: Maximum number of concurrent queries to begin on this connection
3609
+ max_queries_per_user: Maximum number of concurrent queries per user to begin on this connection
3591
3610
  max_billing_gigabytes: Maximum size of query in GBs (BigQuery only, can be a user_attribute name)
3592
3611
  ssl: Use SSL/TLS when connecting to server
3593
3612
  verify_ssl: Verify the SSL
@@ -3616,9 +3635,14 @@ class DBConnection(model.Model):
3616
3635
  disable_context_comment: When disable_context_comment is true comment will not be added to SQL
3617
3636
  oauth_application_id: An External OAuth Application to use for authenticating to the database
3618
3637
  always_retry_failed_builds: When true, error PDTs will be retried every regenerator cycle
3638
+ uses_application_default_credentials: Whether the connection should authenticate with the Application Default Credentials of the host environment (limited to GCP and certain dialects).
3639
+ impersonated_service_account: An alternative Service Account to use for querying datasets (used primarily with `uses_application_default_credentials`) (limited to GCP and certain dialects).
3619
3640
  cost_estimate_enabled: When true, query cost estimate will be displayed in explore.
3620
3641
  pdt_api_control_enabled: PDT builds on this connection can be kicked off and cancelled via API.
3621
3642
  connection_pooling: Enable database connection pooling.
3643
+ default_bq_connection: When true, represents that this connection is the default BQ connection.
3644
+ bq_storage_project_id: The project id of the default BigQuery storage project.
3645
+ bq_roles_verified: When true, represents that all project roles have been verified.
3622
3646
  """
3623
3647
 
3624
3648
  can: Optional[MutableMapping[str, bool]] = None
@@ -3631,6 +3655,7 @@ class DBConnection(model.Model):
3631
3655
  username: Optional[str] = None
3632
3656
  password: Optional[str] = None
3633
3657
  uses_oauth: Optional[bool] = None
3658
+ uses_instance_oauth: Optional[bool] = None
3634
3659
  certificate: Optional[str] = None
3635
3660
  file_type: Optional[str] = None
3636
3661
  database: Optional[str] = None
@@ -3638,6 +3663,8 @@ class DBConnection(model.Model):
3638
3663
  query_timezone: Optional[str] = None
3639
3664
  schema: Optional[str] = None
3640
3665
  max_connections: Optional[int] = None
3666
+ max_queries: Optional[int] = None
3667
+ max_queries_per_user: Optional[int] = None
3641
3668
  max_billing_gigabytes: Optional[str] = None
3642
3669
  ssl: Optional[bool] = None
3643
3670
  verify_ssl: Optional[bool] = None
@@ -3666,9 +3693,14 @@ class DBConnection(model.Model):
3666
3693
  disable_context_comment: Optional[bool] = None
3667
3694
  oauth_application_id: Optional[str] = None
3668
3695
  always_retry_failed_builds: Optional[bool] = None
3696
+ uses_application_default_credentials: Optional[bool] = None
3697
+ impersonated_service_account: Optional[str] = None
3669
3698
  cost_estimate_enabled: Optional[bool] = None
3670
3699
  pdt_api_control_enabled: Optional[bool] = None
3671
3700
  connection_pooling: Optional[bool] = None
3701
+ default_bq_connection: Optional[bool] = None
3702
+ bq_storage_project_id: Optional[str] = None
3703
+ bq_roles_verified: Optional[bool] = None
3672
3704
 
3673
3705
  def __init__(
3674
3706
  self,
@@ -3683,6 +3715,7 @@ class DBConnection(model.Model):
3683
3715
  username: Optional[str] = None,
3684
3716
  password: Optional[str] = None,
3685
3717
  uses_oauth: Optional[bool] = None,
3718
+ uses_instance_oauth: Optional[bool] = None,
3686
3719
  certificate: Optional[str] = None,
3687
3720
  file_type: Optional[str] = None,
3688
3721
  database: Optional[str] = None,
@@ -3690,6 +3723,8 @@ class DBConnection(model.Model):
3690
3723
  query_timezone: Optional[str] = None,
3691
3724
  schema: Optional[str] = None,
3692
3725
  max_connections: Optional[int] = None,
3726
+ max_queries: Optional[int] = None,
3727
+ max_queries_per_user: Optional[int] = None,
3693
3728
  max_billing_gigabytes: Optional[str] = None,
3694
3729
  ssl: Optional[bool] = None,
3695
3730
  verify_ssl: Optional[bool] = None,
@@ -3718,9 +3753,14 @@ class DBConnection(model.Model):
3718
3753
  disable_context_comment: Optional[bool] = None,
3719
3754
  oauth_application_id: Optional[str] = None,
3720
3755
  always_retry_failed_builds: Optional[bool] = None,
3756
+ uses_application_default_credentials: Optional[bool] = None,
3757
+ impersonated_service_account: Optional[str] = None,
3721
3758
  cost_estimate_enabled: Optional[bool] = None,
3722
3759
  pdt_api_control_enabled: Optional[bool] = None,
3723
- connection_pooling: Optional[bool] = None
3760
+ connection_pooling: Optional[bool] = None,
3761
+ default_bq_connection: Optional[bool] = None,
3762
+ bq_storage_project_id: Optional[str] = None,
3763
+ bq_roles_verified: Optional[bool] = None
3724
3764
  ):
3725
3765
  self.can = can
3726
3766
  self.name = name
@@ -3732,6 +3772,7 @@ class DBConnection(model.Model):
3732
3772
  self.username = username
3733
3773
  self.password = password
3734
3774
  self.uses_oauth = uses_oauth
3775
+ self.uses_instance_oauth = uses_instance_oauth
3735
3776
  self.certificate = certificate
3736
3777
  self.file_type = file_type
3737
3778
  self.database = database
@@ -3739,6 +3780,8 @@ class DBConnection(model.Model):
3739
3780
  self.query_timezone = query_timezone
3740
3781
  self.schema = schema
3741
3782
  self.max_connections = max_connections
3783
+ self.max_queries = max_queries
3784
+ self.max_queries_per_user = max_queries_per_user
3742
3785
  self.max_billing_gigabytes = max_billing_gigabytes
3743
3786
  self.ssl = ssl
3744
3787
  self.verify_ssl = verify_ssl
@@ -3767,9 +3810,14 @@ class DBConnection(model.Model):
3767
3810
  self.disable_context_comment = disable_context_comment
3768
3811
  self.oauth_application_id = oauth_application_id
3769
3812
  self.always_retry_failed_builds = always_retry_failed_builds
3813
+ self.uses_application_default_credentials = uses_application_default_credentials
3814
+ self.impersonated_service_account = impersonated_service_account
3770
3815
  self.cost_estimate_enabled = cost_estimate_enabled
3771
3816
  self.pdt_api_control_enabled = pdt_api_control_enabled
3772
3817
  self.connection_pooling = connection_pooling
3818
+ self.default_bq_connection = default_bq_connection
3819
+ self.bq_storage_project_id = bq_storage_project_id
3820
+ self.bq_roles_verified = bq_roles_verified
3773
3821
 
3774
3822
 
3775
3823
  @attr.s(auto_attribs=True, init=False)
@@ -9954,6 +10002,7 @@ class RunningQueries(model.Model):
9954
10002
  status: Status description
9955
10003
  runtime: Number of seconds elapsed running the Query
9956
10004
  sql: SQL text of the query as run
10005
+ sql_interface_sql: SQL text of the SQL Interface query as run
9957
10006
  """
9958
10007
 
9959
10008
  can: Optional[MutableMapping[str, bool]] = None
@@ -9977,6 +10026,7 @@ class RunningQueries(model.Model):
9977
10026
  status: Optional[str] = None
9978
10027
  runtime: Optional[float] = None
9979
10028
  sql: Optional[str] = None
10029
+ sql_interface_sql: Optional[str] = None
9980
10030
 
9981
10031
  def __init__(
9982
10032
  self,
@@ -10001,7 +10051,8 @@ class RunningQueries(model.Model):
10001
10051
  message: Optional[str] = None,
10002
10052
  status: Optional[str] = None,
10003
10053
  runtime: Optional[float] = None,
10004
- sql: Optional[str] = None
10054
+ sql: Optional[str] = None,
10055
+ sql_interface_sql: Optional[str] = None
10005
10056
  ):
10006
10057
  self.can = can
10007
10058
  self.id = id
@@ -10024,6 +10075,7 @@ class RunningQueries(model.Model):
10024
10075
  self.status = status
10025
10076
  self.runtime = runtime
10026
10077
  self.sql = sql
10078
+ self.sql_interface_sql = sql_interface_sql
10027
10079
 
10028
10080
 
10029
10081
  @attr.s(auto_attribs=True, init=False)
@@ -10869,6 +10921,8 @@ class Setting(model.Model):
10869
10921
  embed_config:
10870
10922
  login_notification_enabled: Login notification enabled
10871
10923
  login_notification_text: Login notification text
10924
+ dashboard_auto_refresh_restriction: Toggle Dashboard Auto Refresh restriction
10925
+ dashboard_auto_refresh_minimum_interval: Minimum time interval for dashboard element automatic refresh. Examples: (30 seconds, 1 minute)
10872
10926
  """
10873
10927
 
10874
10928
  instance_config: Optional["InstanceConfig"] = None
@@ -10893,6 +10947,8 @@ class Setting(model.Model):
10893
10947
  embed_config: Optional["EmbedConfig"] = None
10894
10948
  login_notification_enabled: Optional[bool] = None
10895
10949
  login_notification_text: Optional[str] = None
10950
+ dashboard_auto_refresh_restriction: Optional[bool] = None
10951
+ dashboard_auto_refresh_minimum_interval: Optional[str] = None
10896
10952
 
10897
10953
  def __init__(
10898
10954
  self,
@@ -10918,7 +10974,9 @@ class Setting(model.Model):
10918
10974
  embed_enabled: Optional[bool] = None,
10919
10975
  embed_config: Optional["EmbedConfig"] = None,
10920
10976
  login_notification_enabled: Optional[bool] = None,
10921
- login_notification_text: Optional[str] = None
10977
+ login_notification_text: Optional[str] = None,
10978
+ dashboard_auto_refresh_restriction: Optional[bool] = None,
10979
+ dashboard_auto_refresh_minimum_interval: Optional[str] = None
10922
10980
  ):
10923
10981
  self.instance_config = instance_config
10924
10982
  self.extension_framework_enabled = extension_framework_enabled
@@ -10942,6 +11000,10 @@ class Setting(model.Model):
10942
11000
  self.embed_config = embed_config
10943
11001
  self.login_notification_enabled = login_notification_enabled
10944
11002
  self.login_notification_text = login_notification_text
11003
+ self.dashboard_auto_refresh_restriction = dashboard_auto_refresh_restriction
11004
+ self.dashboard_auto_refresh_minimum_interval = (
11005
+ dashboard_auto_refresh_minimum_interval
11006
+ )
10945
11007
 
10946
11008
 
10947
11009
  @attr.s(auto_attribs=True, init=False)
@@ -11867,7 +11929,7 @@ class User(model.Model):
11867
11929
  looker_versions: Array of strings representing the Looker versions that this user has used (this only goes back as far as '3.54.0')
11868
11930
  models_dir_validated: User's dev workspace has been checked for presence of applicable production projects
11869
11931
  personal_folder_id: ID of user's personal folder
11870
- presumed_looker_employee: User is identified as an employee of Looker
11932
+ presumed_looker_employee: (DEPRECATED) User is identified as an employee of Looker
11871
11933
  role_ids: Array of ids of the roles for this user
11872
11934
  sessions: Active sessions
11873
11935
  ui_state: Per user dictionary of undocumented state information owned by the Looker UI.
@@ -13010,7 +13072,7 @@ class WriteCreateQueryTask(model.Model):
13010
13072
  class WriteCredentialsEmail(model.Model):
13011
13073
  """
13012
13074
  Dynamic writeable type for CredentialsEmail removes:
13013
- can, created_at, user_id, is_disabled, logged_in_at, password_reset_url, account_setup_url, type, url, user_url
13075
+ can, created_at, user_id, is_disabled, logged_in_at, password_reset_url, account_setup_url, password_reset_url_expired, account_setup_url_expired, type, url, user_url
13014
13076
 
13015
13077
  Attributes:
13016
13078
  email: EMail address used for user login
@@ -13453,7 +13515,7 @@ class WriteDatagroup(model.Model):
13453
13515
  class WriteDBConnection(model.Model):
13454
13516
  """
13455
13517
  Dynamic writeable type for DBConnection removes:
13456
- can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed
13518
+ can, dialect, snippets, pdts_enabled, uses_oauth, uses_instance_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed, default_bq_connection, bq_roles_verified
13457
13519
 
13458
13520
  Attributes:
13459
13521
  name: Name of the connection. Also used as the unique identifier
@@ -13468,6 +13530,8 @@ class WriteDBConnection(model.Model):
13468
13530
  query_timezone: Timezone to use in queries
13469
13531
  schema: Schema name
13470
13532
  max_connections: Maximum number of concurrent connection to use
13533
+ max_queries: Maximum number of concurrent queries to begin on this connection
13534
+ max_queries_per_user: Maximum number of concurrent queries per user to begin on this connection
13471
13535
  max_billing_gigabytes: Maximum size of query in GBs (BigQuery only, can be a user_attribute name)
13472
13536
  ssl: Use SSL/TLS when connecting to server
13473
13537
  verify_ssl: Verify the SSL
@@ -13490,9 +13554,12 @@ class WriteDBConnection(model.Model):
13490
13554
  disable_context_comment: When disable_context_comment is true comment will not be added to SQL
13491
13555
  oauth_application_id: An External OAuth Application to use for authenticating to the database
13492
13556
  always_retry_failed_builds: When true, error PDTs will be retried every regenerator cycle
13557
+ uses_application_default_credentials: Whether the connection should authenticate with the Application Default Credentials of the host environment (limited to GCP and certain dialects).
13558
+ impersonated_service_account: An alternative Service Account to use for querying datasets (used primarily with `uses_application_default_credentials`) (limited to GCP and certain dialects).
13493
13559
  cost_estimate_enabled: When true, query cost estimate will be displayed in explore.
13494
13560
  pdt_api_control_enabled: PDT builds on this connection can be kicked off and cancelled via API.
13495
13561
  connection_pooling: Enable database connection pooling.
13562
+ bq_storage_project_id: The project id of the default BigQuery storage project.
13496
13563
  """
13497
13564
 
13498
13565
  name: Optional[str] = None
@@ -13507,6 +13574,8 @@ class WriteDBConnection(model.Model):
13507
13574
  query_timezone: Optional[str] = None
13508
13575
  schema: Optional[str] = None
13509
13576
  max_connections: Optional[int] = None
13577
+ max_queries: Optional[int] = None
13578
+ max_queries_per_user: Optional[int] = None
13510
13579
  max_billing_gigabytes: Optional[str] = None
13511
13580
  ssl: Optional[bool] = None
13512
13581
  verify_ssl: Optional[bool] = None
@@ -13528,9 +13597,12 @@ class WriteDBConnection(model.Model):
13528
13597
  disable_context_comment: Optional[bool] = None
13529
13598
  oauth_application_id: Optional[str] = None
13530
13599
  always_retry_failed_builds: Optional[bool] = None
13600
+ uses_application_default_credentials: Optional[bool] = None
13601
+ impersonated_service_account: Optional[str] = None
13531
13602
  cost_estimate_enabled: Optional[bool] = None
13532
13603
  pdt_api_control_enabled: Optional[bool] = None
13533
13604
  connection_pooling: Optional[bool] = None
13605
+ bq_storage_project_id: Optional[str] = None
13534
13606
 
13535
13607
  def __init__(
13536
13608
  self,
@@ -13547,6 +13619,8 @@ class WriteDBConnection(model.Model):
13547
13619
  query_timezone: Optional[str] = None,
13548
13620
  schema: Optional[str] = None,
13549
13621
  max_connections: Optional[int] = None,
13622
+ max_queries: Optional[int] = None,
13623
+ max_queries_per_user: Optional[int] = None,
13550
13624
  max_billing_gigabytes: Optional[str] = None,
13551
13625
  ssl: Optional[bool] = None,
13552
13626
  verify_ssl: Optional[bool] = None,
@@ -13568,9 +13642,12 @@ class WriteDBConnection(model.Model):
13568
13642
  disable_context_comment: Optional[bool] = None,
13569
13643
  oauth_application_id: Optional[str] = None,
13570
13644
  always_retry_failed_builds: Optional[bool] = None,
13645
+ uses_application_default_credentials: Optional[bool] = None,
13646
+ impersonated_service_account: Optional[str] = None,
13571
13647
  cost_estimate_enabled: Optional[bool] = None,
13572
13648
  pdt_api_control_enabled: Optional[bool] = None,
13573
- connection_pooling: Optional[bool] = None
13649
+ connection_pooling: Optional[bool] = None,
13650
+ bq_storage_project_id: Optional[str] = None
13574
13651
  ):
13575
13652
  self.name = name
13576
13653
  self.host = host
@@ -13584,6 +13661,8 @@ class WriteDBConnection(model.Model):
13584
13661
  self.query_timezone = query_timezone
13585
13662
  self.schema = schema
13586
13663
  self.max_connections = max_connections
13664
+ self.max_queries = max_queries
13665
+ self.max_queries_per_user = max_queries_per_user
13587
13666
  self.max_billing_gigabytes = max_billing_gigabytes
13588
13667
  self.ssl = ssl
13589
13668
  self.verify_ssl = verify_ssl
@@ -13605,9 +13684,12 @@ class WriteDBConnection(model.Model):
13605
13684
  self.disable_context_comment = disable_context_comment
13606
13685
  self.oauth_application_id = oauth_application_id
13607
13686
  self.always_retry_failed_builds = always_retry_failed_builds
13687
+ self.uses_application_default_credentials = uses_application_default_credentials
13688
+ self.impersonated_service_account = impersonated_service_account
13608
13689
  self.cost_estimate_enabled = cost_estimate_enabled
13609
13690
  self.pdt_api_control_enabled = pdt_api_control_enabled
13610
13691
  self.connection_pooling = connection_pooling
13692
+ self.bq_storage_project_id = bq_storage_project_id
13611
13693
 
13612
13694
 
13613
13695
  @attr.s(auto_attribs=True, init=False)
@@ -15087,6 +15169,8 @@ class WriteSetting(model.Model):
15087
15169
  email_domain_allowlist: An array of Email Domain Allowlist of type string for Scheduled Content
15088
15170
  embed_cookieless_v2: (DEPRECATED) Use embed_config.embed_cookieless_v2 instead. If embed_config.embed_cookieless_v2 is specified, it overrides this value.
15089
15171
  embed_config:
15172
+ dashboard_auto_refresh_restriction: Toggle Dashboard Auto Refresh restriction
15173
+ dashboard_auto_refresh_minimum_interval: Minimum time interval for dashboard element automatic refresh. Examples: (30 seconds, 1 minute)
15090
15174
  """
15091
15175
 
15092
15176
  extension_framework_enabled: Optional[bool] = None
@@ -15106,6 +15190,8 @@ class WriteSetting(model.Model):
15106
15190
  email_domain_allowlist: Optional[Sequence[str]] = None
15107
15191
  embed_cookieless_v2: Optional[bool] = None
15108
15192
  embed_config: Optional["EmbedConfig"] = None
15193
+ dashboard_auto_refresh_restriction: Optional[bool] = None
15194
+ dashboard_auto_refresh_minimum_interval: Optional[str] = None
15109
15195
 
15110
15196
  def __init__(
15111
15197
  self,
@@ -15126,7 +15212,9 @@ class WriteSetting(model.Model):
15126
15212
  override_warnings: Optional[bool] = None,
15127
15213
  email_domain_allowlist: Optional[Sequence[str]] = None,
15128
15214
  embed_cookieless_v2: Optional[bool] = None,
15129
- embed_config: Optional["EmbedConfig"] = None
15215
+ embed_config: Optional["EmbedConfig"] = None,
15216
+ dashboard_auto_refresh_restriction: Optional[bool] = None,
15217
+ dashboard_auto_refresh_minimum_interval: Optional[str] = None
15130
15218
  ):
15131
15219
  self.extension_framework_enabled = extension_framework_enabled
15132
15220
  self.extension_load_url_enabled = extension_load_url_enabled
@@ -15145,6 +15233,10 @@ class WriteSetting(model.Model):
15145
15233
  self.email_domain_allowlist = email_domain_allowlist
15146
15234
  self.embed_cookieless_v2 = embed_cookieless_v2
15147
15235
  self.embed_config = embed_config
15236
+ self.dashboard_auto_refresh_restriction = dashboard_auto_refresh_restriction
15237
+ self.dashboard_auto_refresh_minimum_interval = (
15238
+ dashboard_auto_refresh_minimum_interval
15239
+ )
15148
15240
 
15149
15241
 
15150
15242
  @attr.s(auto_attribs=True, init=False)
@@ -15270,7 +15362,7 @@ class WriteUser(model.Model):
15270
15362
 
15271
15363
  Attributes:
15272
15364
  credentials_email: Dynamic writeable type for CredentialsEmail removes:
15273
- can, created_at, user_id, is_disabled, logged_in_at, password_reset_url, account_setup_url, type, url, user_url
15365
+ can, created_at, user_id, is_disabled, logged_in_at, password_reset_url, account_setup_url, password_reset_url_expired, account_setup_url_expired, type, url, user_url
15274
15366
  first_name: First name
15275
15367
  home_folder_id: ID string for user's home folder
15276
15368
  is_disabled: Account has been disabled
@@ -20,5 +20,5 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  # THE SOFTWARE.
22
22
 
23
- sdk_version = "24.12"
23
+ sdk_version = "24.14"
24
24
  environment_prefix = "LOOKERSDK"
@@ -20,4 +20,4 @@
20
20
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  # THE SOFTWARE.
22
22
 
23
- __version__ = "24.12.0"
23
+ __version__ = "24.14.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: looker-sdk
3
- Version: 24.12.0
3
+ Version: 24.14.0
4
4
  Summary: Looker REST API
5
5
  Home-page: https://pypi.python.org/pypi/looker_sdk
6
6
  Author: Looker Data Sciences, Inc.
File without changes
File without changes
File without changes
File without changes
File without changes