looker-sdk 24.20.0__py3-none-any.whl → 25.0.1__py3-none-any.whl
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.
- looker_sdk/sdk/api40/methods.py +37 -14
- looker_sdk/sdk/api40/models.py +88 -7
- looker_sdk/sdk/constants.py +1 -1
- looker_sdk/version.py +1 -1
- {looker_sdk-24.20.0.dist-info → looker_sdk-25.0.1.dist-info}/METADATA +1 -1
- {looker_sdk-24.20.0.dist-info → looker_sdk-25.0.1.dist-info}/RECORD +9 -9
- {looker_sdk-24.20.0.dist-info → looker_sdk-25.0.1.dist-info}/WHEEL +1 -1
- {looker_sdk-24.20.0.dist-info → looker_sdk-25.0.1.dist-info}/LICENSE.txt +0 -0
- {looker_sdk-24.20.0.dist-info → looker_sdk-25.0.1.dist-info}/top_level.txt +0 -0
looker_sdk/sdk/api40/methods.py
CHANGED
|
@@ -751,7 +751,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
751
751
|
#
|
|
752
752
|
# The value of the `secret` field will be set by Looker and returned.
|
|
753
753
|
#
|
|
754
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
754
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
755
755
|
#
|
|
756
756
|
# POST /embed_config/secrets -> mdls.EmbedSecret
|
|
757
757
|
def create_embed_secret(
|
|
@@ -773,7 +773,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
773
773
|
|
|
774
774
|
# ### Delete an embed secret.
|
|
775
775
|
#
|
|
776
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
776
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
777
777
|
#
|
|
778
778
|
# DELETE /embed_config/secrets/{embed_secret_id} -> str
|
|
779
779
|
def delete_embed_secret(
|
|
@@ -837,7 +837,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
837
837
|
# encrypted transport.
|
|
838
838
|
#
|
|
839
839
|
#
|
|
840
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
840
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
841
841
|
#
|
|
842
842
|
# POST /embed/sso_url -> mdls.EmbedUrlResponse
|
|
843
843
|
def create_sso_embed_url(
|
|
@@ -884,7 +884,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
884
884
|
# encrypted transport.
|
|
885
885
|
#
|
|
886
886
|
#
|
|
887
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
887
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
888
888
|
#
|
|
889
889
|
# POST /embed/token_url/me -> mdls.EmbedUrlResponse
|
|
890
890
|
def create_embed_url_as_me(
|
|
@@ -956,7 +956,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
956
956
|
# - Navigation token - lives for 10 minutes. The Looker client will ask for this token once it is loaded into
|
|
957
957
|
# the iframe.
|
|
958
958
|
#
|
|
959
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
959
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
960
960
|
#
|
|
961
961
|
# POST /embed/cookieless_session/acquire -> mdls.EmbedCookielessSessionAcquireResponse
|
|
962
962
|
def acquire_embed_cookieless_session(
|
|
@@ -982,7 +982,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
982
982
|
# in the session and session reference data being cleared from the system. This endpoint can be used to log an embed
|
|
983
983
|
# user out of the Looker instance.
|
|
984
984
|
#
|
|
985
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
985
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
986
986
|
#
|
|
987
987
|
# DELETE /embed/cookieless_session/{session_reference_token} -> str
|
|
988
988
|
def delete_embed_cookieless_session(
|
|
@@ -1018,7 +1018,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
1018
1018
|
# the session time to live in the `session_reference_token_ttl` response property. If this property
|
|
1019
1019
|
# contains a zero, the embed session has expired.
|
|
1020
1020
|
#
|
|
1021
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
1021
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
1022
1022
|
#
|
|
1023
1023
|
# PUT /embed/cookieless_session/generate_tokens -> mdls.EmbedCookielessSessionGenerateTokensResponse
|
|
1024
1024
|
def generate_tokens_for_cookieless_session(
|
|
@@ -3242,6 +3242,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
3242
3242
|
# - extension_framework_enabled
|
|
3243
3243
|
# - extension_load_url_enabled
|
|
3244
3244
|
# - instance_config
|
|
3245
|
+
# - managed_certificate_uri
|
|
3245
3246
|
# - marketplace_auto_install_enabled
|
|
3246
3247
|
# - marketplace_automation
|
|
3247
3248
|
# - marketplace_terms_accepted
|
|
@@ -3286,6 +3287,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
3286
3287
|
# - extension_framework_enabled
|
|
3287
3288
|
# - extension_load_url_enabled
|
|
3288
3289
|
# - instance_config
|
|
3290
|
+
# - managed_certificate_uri
|
|
3289
3291
|
# - marketplace_auto_install_enabled
|
|
3290
3292
|
# - marketplace_automation
|
|
3291
3293
|
# - marketplace_terms_accepted
|
|
@@ -4522,6 +4524,10 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
4522
4524
|
self,
|
|
4523
4525
|
# Requested fields.
|
|
4524
4526
|
fields: Optional[str] = None,
|
|
4527
|
+
# Optional list of project names to filter by
|
|
4528
|
+
project_names: Optional[mdls.DelimSequence[str]] = None,
|
|
4529
|
+
# Optional list of space ids to filter by
|
|
4530
|
+
space_ids: Optional[mdls.DelimSequence[str]] = None,
|
|
4525
4531
|
transport_options: Optional[transport.TransportOptions] = None,
|
|
4526
4532
|
) -> mdls.ContentValidation:
|
|
4527
4533
|
"""Validate Content"""
|
|
@@ -4530,7 +4536,11 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
4530
4536
|
self.get(
|
|
4531
4537
|
path="/content_validation",
|
|
4532
4538
|
structure=mdls.ContentValidation,
|
|
4533
|
-
query_params={
|
|
4539
|
+
query_params={
|
|
4540
|
+
"fields": fields,
|
|
4541
|
+
"project_names": project_names,
|
|
4542
|
+
"space_ids": space_ids,
|
|
4543
|
+
},
|
|
4534
4544
|
transport_options=transport_options,
|
|
4535
4545
|
),
|
|
4536
4546
|
)
|
|
@@ -7516,6 +7526,12 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
7516
7526
|
limit: Optional[int] = None,
|
|
7517
7527
|
# Number of results to skip before returning any. (Defaults to 0 if not set when limit is used)
|
|
7518
7528
|
offset: Optional[int] = None,
|
|
7529
|
+
# Whether or not to exclude models with no explores from the response (Defaults to false)
|
|
7530
|
+
exclude_empty: Optional[bool] = None,
|
|
7531
|
+
# Whether or not to exclude hidden explores from the response (Defaults to false)
|
|
7532
|
+
exclude_hidden: Optional[bool] = None,
|
|
7533
|
+
# Whether or not to include built-in models such as System Activity (Defaults to false)
|
|
7534
|
+
include_internal: Optional[bool] = None,
|
|
7519
7535
|
transport_options: Optional[transport.TransportOptions] = None,
|
|
7520
7536
|
) -> Sequence[mdls.LookmlModel]:
|
|
7521
7537
|
"""Get All LookML Models"""
|
|
@@ -7524,7 +7540,14 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
7524
7540
|
self.get(
|
|
7525
7541
|
path="/lookml_models",
|
|
7526
7542
|
structure=Sequence[mdls.LookmlModel],
|
|
7527
|
-
query_params={
|
|
7543
|
+
query_params={
|
|
7544
|
+
"fields": fields,
|
|
7545
|
+
"limit": limit,
|
|
7546
|
+
"offset": offset,
|
|
7547
|
+
"exclude_empty": exclude_empty,
|
|
7548
|
+
"exclude_hidden": exclude_hidden,
|
|
7549
|
+
"include_internal": include_internal,
|
|
7550
|
+
},
|
|
7528
7551
|
transport_options=transport_options,
|
|
7529
7552
|
),
|
|
7530
7553
|
)
|
|
@@ -8974,7 +8997,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
8974
8997
|
#
|
|
8975
8998
|
# Returns the results of an async query task if the query has completed.
|
|
8976
8999
|
#
|
|
8977
|
-
# If the query task is still running or waiting to run, this function returns
|
|
9000
|
+
# If the query task is still running or waiting to run, this function returns 202 Accepted.
|
|
8978
9001
|
#
|
|
8979
9002
|
# If the query task ID is invalid or the cached results of the query task have expired, this function returns 404 Not Found.
|
|
8980
9003
|
#
|
|
@@ -12580,7 +12603,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
12580
12603
|
|
|
12581
12604
|
# ### Embed login information for the specified user.
|
|
12582
12605
|
#
|
|
12583
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
12606
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
12584
12607
|
#
|
|
12585
12608
|
# GET /users/{user_id}/credentials_embed/{credentials_embed_id} -> mdls.CredentialsEmbed
|
|
12586
12609
|
def user_credentials_embed(
|
|
@@ -12609,7 +12632,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
12609
12632
|
|
|
12610
12633
|
# ### Embed login information for the specified user.
|
|
12611
12634
|
#
|
|
12612
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
12635
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
12613
12636
|
#
|
|
12614
12637
|
# DELETE /users/{user_id}/credentials_embed/{credentials_embed_id} -> str
|
|
12615
12638
|
def delete_user_credentials_embed(
|
|
@@ -12635,7 +12658,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
12635
12658
|
|
|
12636
12659
|
# ### Embed login information for the specified user.
|
|
12637
12660
|
#
|
|
12638
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
12661
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
12639
12662
|
#
|
|
12640
12663
|
# GET /users/{user_id}/credentials_embed -> Sequence[mdls.CredentialsEmbed]
|
|
12641
12664
|
def all_user_credentials_embeds(
|
|
@@ -13055,7 +13078,7 @@ class Looker40SDK(api_methods.APIMethods):
|
|
|
13055
13078
|
|
|
13056
13079
|
# Create an embed user from an external user ID
|
|
13057
13080
|
#
|
|
13058
|
-
# Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled
|
|
13081
|
+
# **NOTE**: Calls to this endpoint require [Embedding](https://cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.
|
|
13059
13082
|
#
|
|
13060
13083
|
# POST /users/embed_user -> mdls.UserPublic
|
|
13061
13084
|
def create_embed_user(
|
looker_sdk/sdk/api40/models.py
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
#
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# 343 API models: 259 Spec, 0 Request, 62 Write, 22 Enum
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
# NOTE: Do not edit this file generated by Looker SDK Codegen for API 4.0
|
|
@@ -3704,6 +3704,7 @@ class DBConnection(model.Model):
|
|
|
3704
3704
|
ssl: Use SSL/TLS when connecting to server
|
|
3705
3705
|
verify_ssl: Verify the SSL
|
|
3706
3706
|
tmp_db_name: Name of temporary database (if used)
|
|
3707
|
+
tmp_db_host: Name of temporary host (if used)
|
|
3707
3708
|
jdbc_additional_params: Additional params to add to JDBC connection string
|
|
3708
3709
|
pool_timeout: Connection Pool Timeout, in seconds
|
|
3709
3710
|
dialect_name: (Read/Write) SQL Dialect name
|
|
@@ -3763,6 +3764,7 @@ class DBConnection(model.Model):
|
|
|
3763
3764
|
ssl: Optional[bool] = None
|
|
3764
3765
|
verify_ssl: Optional[bool] = None
|
|
3765
3766
|
tmp_db_name: Optional[str] = None
|
|
3767
|
+
tmp_db_host: Optional[str] = None
|
|
3766
3768
|
jdbc_additional_params: Optional[str] = None
|
|
3767
3769
|
pool_timeout: Optional[int] = None
|
|
3768
3770
|
dialect_name: Optional[str] = None
|
|
@@ -3824,6 +3826,7 @@ class DBConnection(model.Model):
|
|
|
3824
3826
|
ssl: Optional[bool] = None,
|
|
3825
3827
|
verify_ssl: Optional[bool] = None,
|
|
3826
3828
|
tmp_db_name: Optional[str] = None,
|
|
3829
|
+
tmp_db_host: Optional[str] = None,
|
|
3827
3830
|
jdbc_additional_params: Optional[str] = None,
|
|
3828
3831
|
pool_timeout: Optional[int] = None,
|
|
3829
3832
|
dialect_name: Optional[str] = None,
|
|
@@ -3882,6 +3885,7 @@ class DBConnection(model.Model):
|
|
|
3882
3885
|
self.ssl = ssl
|
|
3883
3886
|
self.verify_ssl = verify_ssl
|
|
3884
3887
|
self.tmp_db_name = tmp_db_name
|
|
3888
|
+
self.tmp_db_host = tmp_db_host
|
|
3885
3889
|
self.jdbc_additional_params = jdbc_additional_params
|
|
3886
3890
|
self.pool_timeout = pool_timeout
|
|
3887
3891
|
self.dialect_name = dialect_name
|
|
@@ -4437,6 +4441,7 @@ class EmbedConfig(model.Model):
|
|
|
4437
4441
|
strict_sameorigin_for_login: When true, prohibits the use of Looker login pages in non-Looker iframes. When false, Looker login pages may be used in non-Looker hosted iframes.
|
|
4438
4442
|
look_filters: When true, filters are enabled on embedded Looks
|
|
4439
4443
|
hide_look_navigation: When true, removes navigation to Looks from embedded dashboards and explores.
|
|
4444
|
+
embed_enabled: True if embedding is licensed for this Looker instance.
|
|
4440
4445
|
"""
|
|
4441
4446
|
|
|
4442
4447
|
domain_allowlist: Optional[Sequence[str]] = None
|
|
@@ -4450,6 +4455,7 @@ class EmbedConfig(model.Model):
|
|
|
4450
4455
|
strict_sameorigin_for_login: Optional[bool] = None
|
|
4451
4456
|
look_filters: Optional[bool] = None
|
|
4452
4457
|
hide_look_navigation: Optional[bool] = None
|
|
4458
|
+
embed_enabled: Optional[bool] = None
|
|
4453
4459
|
|
|
4454
4460
|
def __init__(
|
|
4455
4461
|
self,
|
|
@@ -4464,7 +4470,8 @@ class EmbedConfig(model.Model):
|
|
|
4464
4470
|
embed_content_management: Optional[bool] = None,
|
|
4465
4471
|
strict_sameorigin_for_login: Optional[bool] = None,
|
|
4466
4472
|
look_filters: Optional[bool] = None,
|
|
4467
|
-
hide_look_navigation: Optional[bool] = None
|
|
4473
|
+
hide_look_navigation: Optional[bool] = None,
|
|
4474
|
+
embed_enabled: Optional[bool] = None
|
|
4468
4475
|
):
|
|
4469
4476
|
self.domain_allowlist = domain_allowlist
|
|
4470
4477
|
self.alert_url_allowlist = alert_url_allowlist
|
|
@@ -4477,6 +4484,7 @@ class EmbedConfig(model.Model):
|
|
|
4477
4484
|
self.strict_sameorigin_for_login = strict_sameorigin_for_login
|
|
4478
4485
|
self.look_filters = look_filters
|
|
4479
4486
|
self.hide_look_navigation = hide_look_navigation
|
|
4487
|
+
self.embed_enabled = embed_enabled
|
|
4480
4488
|
|
|
4481
4489
|
|
|
4482
4490
|
@attr.s(auto_attribs=True, init=False)
|
|
@@ -10983,6 +10991,7 @@ class Setting(model.Model):
|
|
|
10983
10991
|
login_notification_text: Login notification text
|
|
10984
10992
|
dashboard_auto_refresh_restriction: Toggle Dashboard Auto Refresh restriction
|
|
10985
10993
|
dashboard_auto_refresh_minimum_interval: Minimum time interval for dashboard element automatic refresh. Examples: (30 seconds, 1 minute)
|
|
10994
|
+
managed_certificate_uri: URI pointing to the location of a private root certificate in Secret Manager
|
|
10986
10995
|
"""
|
|
10987
10996
|
|
|
10988
10997
|
instance_config: Optional["InstanceConfig"] = None
|
|
@@ -11009,6 +11018,7 @@ class Setting(model.Model):
|
|
|
11009
11018
|
login_notification_text: Optional[str] = None
|
|
11010
11019
|
dashboard_auto_refresh_restriction: Optional[bool] = None
|
|
11011
11020
|
dashboard_auto_refresh_minimum_interval: Optional[str] = None
|
|
11021
|
+
managed_certificate_uri: Optional[str] = None
|
|
11012
11022
|
|
|
11013
11023
|
def __init__(
|
|
11014
11024
|
self,
|
|
@@ -11036,7 +11046,8 @@ class Setting(model.Model):
|
|
|
11036
11046
|
login_notification_enabled: Optional[bool] = None,
|
|
11037
11047
|
login_notification_text: Optional[str] = None,
|
|
11038
11048
|
dashboard_auto_refresh_restriction: Optional[bool] = None,
|
|
11039
|
-
dashboard_auto_refresh_minimum_interval: Optional[str] = None
|
|
11049
|
+
dashboard_auto_refresh_minimum_interval: Optional[str] = None,
|
|
11050
|
+
managed_certificate_uri: Optional[str] = None
|
|
11040
11051
|
):
|
|
11041
11052
|
self.instance_config = instance_config
|
|
11042
11053
|
self.extension_framework_enabled = extension_framework_enabled
|
|
@@ -11064,6 +11075,7 @@ class Setting(model.Model):
|
|
|
11064
11075
|
self.dashboard_auto_refresh_minimum_interval = (
|
|
11065
11076
|
dashboard_auto_refresh_minimum_interval
|
|
11066
11077
|
)
|
|
11078
|
+
self.managed_certificate_uri = managed_certificate_uri
|
|
11067
11079
|
|
|
11068
11080
|
|
|
11069
11081
|
@attr.s(auto_attribs=True, init=False)
|
|
@@ -13592,6 +13604,7 @@ class WriteDBConnection(model.Model):
|
|
|
13592
13604
|
ssl: Use SSL/TLS when connecting to server
|
|
13593
13605
|
verify_ssl: Verify the SSL
|
|
13594
13606
|
tmp_db_name: Name of temporary database (if used)
|
|
13607
|
+
tmp_db_host: Name of temporary host (if used)
|
|
13595
13608
|
jdbc_additional_params: Additional params to add to JDBC connection string
|
|
13596
13609
|
pool_timeout: Connection Pool Timeout, in seconds
|
|
13597
13610
|
dialect_name: (Read/Write) SQL Dialect name
|
|
@@ -13637,6 +13650,7 @@ class WriteDBConnection(model.Model):
|
|
|
13637
13650
|
ssl: Optional[bool] = None
|
|
13638
13651
|
verify_ssl: Optional[bool] = None
|
|
13639
13652
|
tmp_db_name: Optional[str] = None
|
|
13653
|
+
tmp_db_host: Optional[str] = None
|
|
13640
13654
|
jdbc_additional_params: Optional[str] = None
|
|
13641
13655
|
pool_timeout: Optional[int] = None
|
|
13642
13656
|
dialect_name: Optional[str] = None
|
|
@@ -13683,6 +13697,7 @@ class WriteDBConnection(model.Model):
|
|
|
13683
13697
|
ssl: Optional[bool] = None,
|
|
13684
13698
|
verify_ssl: Optional[bool] = None,
|
|
13685
13699
|
tmp_db_name: Optional[str] = None,
|
|
13700
|
+
tmp_db_host: Optional[str] = None,
|
|
13686
13701
|
jdbc_additional_params: Optional[str] = None,
|
|
13687
13702
|
pool_timeout: Optional[int] = None,
|
|
13688
13703
|
dialect_name: Optional[str] = None,
|
|
@@ -13726,6 +13741,7 @@ class WriteDBConnection(model.Model):
|
|
|
13726
13741
|
self.ssl = ssl
|
|
13727
13742
|
self.verify_ssl = verify_ssl
|
|
13728
13743
|
self.tmp_db_name = tmp_db_name
|
|
13744
|
+
self.tmp_db_host = tmp_db_host
|
|
13729
13745
|
self.jdbc_additional_params = jdbc_additional_params
|
|
13730
13746
|
self.pool_timeout = pool_timeout
|
|
13731
13747
|
self.dialect_name = dialect_name
|
|
@@ -13812,6 +13828,66 @@ class WriteDBConnectionOverride(model.Model):
|
|
|
13812
13828
|
self.after_connect_statements = after_connect_statements
|
|
13813
13829
|
|
|
13814
13830
|
|
|
13831
|
+
@attr.s(auto_attribs=True, init=False)
|
|
13832
|
+
class WriteEmbedConfig(model.Model):
|
|
13833
|
+
"""
|
|
13834
|
+
Dynamic writeable type for EmbedConfig removes:
|
|
13835
|
+
embed_enabled
|
|
13836
|
+
|
|
13837
|
+
Attributes:
|
|
13838
|
+
domain_allowlist: List of domains to allow for embedding
|
|
13839
|
+
alert_url_allowlist: List of base urls to allow for alert/schedule
|
|
13840
|
+
alert_url_param_owner: Owner of who defines the alert/schedule params on the base url
|
|
13841
|
+
alert_url_label: Label for the alert/schedule url
|
|
13842
|
+
sso_auth_enabled: Is SSO embedding enabled for this Looker
|
|
13843
|
+
embed_cookieless_v2: Is Cookieless embedding enabled for this Looker
|
|
13844
|
+
embed_content_navigation: Is embed content navigation enabled for this looker
|
|
13845
|
+
embed_content_management: Is embed content management enabled for this Looker
|
|
13846
|
+
strict_sameorigin_for_login: When true, prohibits the use of Looker login pages in non-Looker iframes. When false, Looker login pages may be used in non-Looker hosted iframes.
|
|
13847
|
+
look_filters: When true, filters are enabled on embedded Looks
|
|
13848
|
+
hide_look_navigation: When true, removes navigation to Looks from embedded dashboards and explores.
|
|
13849
|
+
"""
|
|
13850
|
+
|
|
13851
|
+
domain_allowlist: Optional[Sequence[str]] = None
|
|
13852
|
+
alert_url_allowlist: Optional[Sequence[str]] = None
|
|
13853
|
+
alert_url_param_owner: Optional[str] = None
|
|
13854
|
+
alert_url_label: Optional[str] = None
|
|
13855
|
+
sso_auth_enabled: Optional[bool] = None
|
|
13856
|
+
embed_cookieless_v2: Optional[bool] = None
|
|
13857
|
+
embed_content_navigation: Optional[bool] = None
|
|
13858
|
+
embed_content_management: Optional[bool] = None
|
|
13859
|
+
strict_sameorigin_for_login: Optional[bool] = None
|
|
13860
|
+
look_filters: Optional[bool] = None
|
|
13861
|
+
hide_look_navigation: Optional[bool] = None
|
|
13862
|
+
|
|
13863
|
+
def __init__(
|
|
13864
|
+
self,
|
|
13865
|
+
*,
|
|
13866
|
+
domain_allowlist: Optional[Sequence[str]] = None,
|
|
13867
|
+
alert_url_allowlist: Optional[Sequence[str]] = None,
|
|
13868
|
+
alert_url_param_owner: Optional[str] = None,
|
|
13869
|
+
alert_url_label: Optional[str] = None,
|
|
13870
|
+
sso_auth_enabled: Optional[bool] = None,
|
|
13871
|
+
embed_cookieless_v2: Optional[bool] = None,
|
|
13872
|
+
embed_content_navigation: Optional[bool] = None,
|
|
13873
|
+
embed_content_management: Optional[bool] = None,
|
|
13874
|
+
strict_sameorigin_for_login: Optional[bool] = None,
|
|
13875
|
+
look_filters: Optional[bool] = None,
|
|
13876
|
+
hide_look_navigation: Optional[bool] = None
|
|
13877
|
+
):
|
|
13878
|
+
self.domain_allowlist = domain_allowlist
|
|
13879
|
+
self.alert_url_allowlist = alert_url_allowlist
|
|
13880
|
+
self.alert_url_param_owner = alert_url_param_owner
|
|
13881
|
+
self.alert_url_label = alert_url_label
|
|
13882
|
+
self.sso_auth_enabled = sso_auth_enabled
|
|
13883
|
+
self.embed_cookieless_v2 = embed_cookieless_v2
|
|
13884
|
+
self.embed_content_navigation = embed_content_navigation
|
|
13885
|
+
self.embed_content_management = embed_content_management
|
|
13886
|
+
self.strict_sameorigin_for_login = strict_sameorigin_for_login
|
|
13887
|
+
self.look_filters = look_filters
|
|
13888
|
+
self.hide_look_navigation = hide_look_navigation
|
|
13889
|
+
|
|
13890
|
+
|
|
13815
13891
|
@attr.s(auto_attribs=True, init=False)
|
|
13816
13892
|
class WriteEmbedSecret(model.Model):
|
|
13817
13893
|
"""
|
|
@@ -15228,9 +15304,11 @@ class WriteSetting(model.Model):
|
|
|
15228
15304
|
override_warnings: (Write-Only) If warnings are preventing a host URL change, this parameter allows for overriding warnings to force update the setting. Does not directly change any Looker settings.
|
|
15229
15305
|
email_domain_allowlist: An array of Email Domain Allowlist of type string for Scheduled Content
|
|
15230
15306
|
embed_cookieless_v2: (DEPRECATED) Use embed_config.embed_cookieless_v2 instead. If embed_config.embed_cookieless_v2 is specified, it overrides this value.
|
|
15231
|
-
embed_config:
|
|
15307
|
+
embed_config: Dynamic writeable type for EmbedConfig removes:
|
|
15308
|
+
embed_enabled
|
|
15232
15309
|
dashboard_auto_refresh_restriction: Toggle Dashboard Auto Refresh restriction
|
|
15233
15310
|
dashboard_auto_refresh_minimum_interval: Minimum time interval for dashboard element automatic refresh. Examples: (30 seconds, 1 minute)
|
|
15311
|
+
managed_certificate_uri: URI pointing to the location of a private root certificate in Secret Manager
|
|
15234
15312
|
"""
|
|
15235
15313
|
|
|
15236
15314
|
extension_framework_enabled: Optional[bool] = None
|
|
@@ -15249,9 +15327,10 @@ class WriteSetting(model.Model):
|
|
|
15249
15327
|
override_warnings: Optional[bool] = None
|
|
15250
15328
|
email_domain_allowlist: Optional[Sequence[str]] = None
|
|
15251
15329
|
embed_cookieless_v2: Optional[bool] = None
|
|
15252
|
-
embed_config: Optional["
|
|
15330
|
+
embed_config: Optional["WriteEmbedConfig"] = None
|
|
15253
15331
|
dashboard_auto_refresh_restriction: Optional[bool] = None
|
|
15254
15332
|
dashboard_auto_refresh_minimum_interval: Optional[str] = None
|
|
15333
|
+
managed_certificate_uri: Optional[str] = None
|
|
15255
15334
|
|
|
15256
15335
|
def __init__(
|
|
15257
15336
|
self,
|
|
@@ -15272,9 +15351,10 @@ class WriteSetting(model.Model):
|
|
|
15272
15351
|
override_warnings: Optional[bool] = None,
|
|
15273
15352
|
email_domain_allowlist: Optional[Sequence[str]] = None,
|
|
15274
15353
|
embed_cookieless_v2: Optional[bool] = None,
|
|
15275
|
-
embed_config: Optional["
|
|
15354
|
+
embed_config: Optional["WriteEmbedConfig"] = None,
|
|
15276
15355
|
dashboard_auto_refresh_restriction: Optional[bool] = None,
|
|
15277
|
-
dashboard_auto_refresh_minimum_interval: Optional[str] = None
|
|
15356
|
+
dashboard_auto_refresh_minimum_interval: Optional[str] = None,
|
|
15357
|
+
managed_certificate_uri: Optional[str] = None
|
|
15278
15358
|
):
|
|
15279
15359
|
self.extension_framework_enabled = extension_framework_enabled
|
|
15280
15360
|
self.extension_load_url_enabled = extension_load_url_enabled
|
|
@@ -15297,6 +15377,7 @@ class WriteSetting(model.Model):
|
|
|
15297
15377
|
self.dashboard_auto_refresh_minimum_interval = (
|
|
15298
15378
|
dashboard_auto_refresh_minimum_interval
|
|
15299
15379
|
)
|
|
15380
|
+
self.managed_certificate_uri = managed_certificate_uri
|
|
15300
15381
|
|
|
15301
15382
|
|
|
15302
15383
|
@attr.s(auto_attribs=True, init=False)
|
looker_sdk/sdk/constants.py
CHANGED
looker_sdk/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
looker_sdk/__init__.py,sha256=0UOw2v-BP1bNoBIIm-BnyKUpGQB3Zx-JZRmpYyLiIuY,2589
|
|
2
2
|
looker_sdk/error.py,sha256=XTKuy1zEyhSVd-VCWHKB2zVjj0X7VUzVwq9y9L22Bo0,4941
|
|
3
3
|
looker_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
looker_sdk/version.py,sha256
|
|
4
|
+
looker_sdk/version.py,sha256=-0zrTEAbMCV22RJp3J5pJDWv6iqW_1hMMqElhi9J8yY,1155
|
|
5
5
|
looker_sdk/rtl/__init__.py,sha256=hgj6CO_Du2XcJ4bRYbhaVS3dvLxjCqPQDR8KwD9IPTQ,1132
|
|
6
6
|
looker_sdk/rtl/api_methods.py,sha256=J-dm7UMyJajsJDCB0JMpGUmp80I8oPMs7cggdIaCWng,8862
|
|
7
7
|
looker_sdk/rtl/api_settings.py,sha256=0QbmNhfgjBJNnr1CNEMxCHoiu908jT8amAtSAha1xS8,6953
|
|
@@ -14,10 +14,10 @@ looker_sdk/rtl/requests_transport.py,sha256=2lckuJyjeySAuAn7v-RA_xTjjWe53uCCLSWg
|
|
|
14
14
|
looker_sdk/rtl/serialize.py,sha256=Arm26aGLOhW-uUW4qgV1tTna83A3gNMYcF9YwRvf0gQ,4418
|
|
15
15
|
looker_sdk/rtl/transport.py,sha256=zNCaGmmJBtF87iLS6xtSTwiyEXP0BDdMJafPn0_tIrk,3911
|
|
16
16
|
looker_sdk/sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
looker_sdk/sdk/constants.py,sha256=
|
|
17
|
+
looker_sdk/sdk/constants.py,sha256=pYtcc0UoyRO148wO5V_WRp2bxWnqC8e5byMP1kVUEnw,1186
|
|
18
18
|
looker_sdk/sdk/api40/__init__.py,sha256=Dvx1t9vDBvgEl-p1eeP7ebEC6Q6wb6rASPi7nx3z7dg,18
|
|
19
|
-
looker_sdk/sdk/api40/methods.py,sha256=
|
|
20
|
-
looker_sdk/sdk/api40/models.py,sha256=
|
|
19
|
+
looker_sdk/sdk/api40/methods.py,sha256=jbG4g9mMQPZRluD_IKBDW4gOJwlWJ-rFGJGG-IlkZZY,520686
|
|
20
|
+
looker_sdk/sdk/api40/models.py,sha256=DhSx60TYcR6dK3oRiXvgHUzHDfUketAhYCiovGAT794,639941
|
|
21
21
|
tests/integration/__init__.py,sha256=K4tvUu8CgFRwtDhDNixHKDDb8uubXgevQBq8JmZvf8Y,63
|
|
22
22
|
tests/integration/test_methods.py,sha256=GXeBAxKYLH45YsPDGduRxaoGKBNoxRX1Cxdo4a_2eW8,24977
|
|
23
23
|
tests/integration/test_netrc.py,sha256=XJAzCh853Q0P6ZY_Cq6CtRHAqlvjGkBItgvxJMQw4Sw,1595
|
|
@@ -29,8 +29,8 @@ tests/rtl/test_auth_token.py,sha256=Ep4u0ushHqKiIkGgw-XVn1lSzPeH6pVmDB2bw-MXNAo,
|
|
|
29
29
|
tests/rtl/test_requests_transport.py,sha256=mSsxudpAkKe-uSVOIzDrV0XCFlj_ACt6T1yzbUbuwG0,5442
|
|
30
30
|
tests/rtl/test_serialize.py,sha256=1SC8jigZFFL3mrU2oSTnc2nbDxXve224_r3GaxEeU90,25917
|
|
31
31
|
tests/rtl/test_transport.py,sha256=tI83LYOeuWEmkngXyRqMjW-pv-ipLPLj4t0hGD8zqL8,1555
|
|
32
|
-
looker_sdk-
|
|
33
|
-
looker_sdk-
|
|
34
|
-
looker_sdk-
|
|
35
|
-
looker_sdk-
|
|
36
|
-
looker_sdk-
|
|
32
|
+
looker_sdk-25.0.1.dist-info/LICENSE.txt,sha256=N4Rmmbuo5EryYSCXcvjuXL1ZXwyXanRzuGP-dJzwsoE,1094
|
|
33
|
+
looker_sdk-25.0.1.dist-info/METADATA,sha256=E4v78JfqDRmQ4y90CiIrmQrJroXYN6TnwSsGMtJM4IM,7021
|
|
34
|
+
looker_sdk-25.0.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
35
|
+
looker_sdk-25.0.1.dist-info/top_level.txt,sha256=tDPNJRQM_A_Oncxlgxwvnzq7hZDWZaadt_nR8DmORTI,17
|
|
36
|
+
looker_sdk-25.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|