Skip to content

Commit 3b36a3c

Browse files
feat: generate SDKs for Looker 26.0 (#1631)
Release-As: 26.0.0
1 parent d32df93 commit 3b36a3c

24 files changed

Lines changed: 2580 additions & 1024 deletions

File tree

csharp/rtl/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public struct Constants
6161

6262
public const string DefaultApiVersion = "4.0";
6363
public const string AgentPrefix = "CS-SDK";
64-
public const string LookerVersion = "25.20";
64+
public const string LookerVersion = "26.0";
6565

6666
public const string Bearer = "Bearer";
6767
public const string LookerAppiId = "x-looker-appid";

csharp/sdk/4.0/methods.cs

Lines changed: 85 additions & 56 deletions
Large diffs are not rendered by default.

csharp/sdk/4.0/models.cs

Lines changed: 68 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// SOFTWARE.
2222
///
2323

24-
/// 380 API models: 290 Spec, 0 Request, 65 Write, 25 Enum
24+
/// 381 API models: 291 Spec, 0 Request, 65 Write, 25 Enum
2525

2626
#nullable enable
2727
using System;
@@ -722,6 +722,10 @@ public class ContentSearch : SdkModel
722722
public string? preferred_viewer { get; set; } = null;
723723
/// <summary>Name of the model the explore belongs to (read-only)</summary>
724724
public string? model { get; set; } = null;
725+
/// <summary>Creator Id of the content (read-only)</summary>
726+
public long? created_by_id { get; set; } = null;
727+
/// <summary>Certification status of the content (read-only)</summary>
728+
public string? certification_status { get; set; } = null;
725729
}
726730

727731
public class ContentSummary : SdkModel
@@ -1545,6 +1549,8 @@ public class Dashboard : SdkModel
15451549
public DashboardAppearance? appearance { get; set; }
15461550
/// <summary>Relative URL of the dashboard (read-only)</summary>
15471551
public string? url { get; set; } = null;
1552+
/// <summary>The layout granularity to apply to this dashboard (ie: default or granular)</summary>
1553+
public string? layout_granularity { get; set; } = null;
15481554
}
15491555

15501556
public class DashboardAggregateTableLookml : SdkModel
@@ -1765,6 +1771,14 @@ public class DashboardLayoutComponent : SdkModel
17651771
public bool? element_title_hidden { get; set; } = null;
17661772
/// <summary>Visualization type, extracted from a query's vis_config (read-only)</summary>
17671773
public string? vis_type { get; set; } = null;
1774+
/// <summary>Row (granular layout)</summary>
1775+
public long? granular_row { get; set; } = null;
1776+
/// <summary>Column (granular layout)</summary>
1777+
public long? granular_column { get; set; } = null;
1778+
/// <summary>Width (granular layout)</summary>
1779+
public long? granular_width { get; set; } = null;
1780+
/// <summary>Height (granular layout)</summary>
1781+
public long? granular_height { get; set; } = null;
17681782
}
17691783

17701784
public class DashboardLookml : SdkModel
@@ -1890,6 +1904,8 @@ public class DBConnection : SdkModel
18901904
public string? username { get; set; } = null;
18911905
/// <summary>(Write-Only) Password for server authentication</summary>
18921906
public string? password { get; set; } = null;
1907+
/// <summary>Whether or not the password is present (read-only)</summary>
1908+
public bool? has_password { get; set; } = null;
18931909
/// <summary>Whether the connection uses OAuth for authentication. (read-only)</summary>
18941910
public bool? uses_oauth { get; set; } = null;
18951911
/// <summary>Whether the connection uses key-pair for authentication.</summary>
@@ -2206,6 +2222,8 @@ public class DialectInfoOptions : SdkModel
22062222
public bool? host { get; set; } = null;
22072223
/// <summary>Instance name is required (read-only)</summary>
22082224
public bool? instance_name { get; set; } = null;
2225+
/// <summary>Has support for key pair authentication (read-only)</summary>
2226+
public bool? key_pair_authentication { get; set; } = null;
22092227
/// <summary>Has max billing gigabytes support (read-only)</summary>
22102228
public bool? max_billing_gigabytes { get; set; } = null;
22112229
/// <summary>Has support for a service account (read-only)</summary>
@@ -4438,6 +4456,12 @@ public class PasswordConfig : SdkModel
44384456
public bool? require_upperlower { get; set; } = null;
44394457
/// <summary>Require at least one special character</summary>
44404458
public bool? require_special { get; set; } = null;
4459+
/// <summary>Enable/Disable password expiration policy.</summary>
4460+
public bool? expiration_enabled { get; set; } = null;
4461+
/// <summary>Number of days before passwords expire. Must be between 30 and 365.</summary>
4462+
public long? expiration_duration_days { get; set; } = null;
4463+
/// <summary>The timestamp of when the password expiration policy was last enabled. (read-only)</summary>
4464+
public DateTime? policy_enabled_at { get; set; } = null;
44414465
}
44424466

44434467
/// Specifies the time frame for the comparison. Valid values are: "year", "fiscal_year", "quarter", "fiscal_quarter", "month", "week", "date". (Enum defined in LookmlModelExploreFieldPeriodOverPeriodParams)
@@ -4576,6 +4600,8 @@ public class Project : SdkModel
45764600
public bool? allow_warnings { get; set; } = null;
45774601
/// <summary>If true the project is an example project and cannot be modified (read-only)</summary>
45784602
public bool? is_example { get; set; } = null;
4603+
/// <summary>If true the project has been pushed to production. (read-only)</summary>
4604+
public bool? has_production_counterpart { get; set; } = null;
45794605
/// <summary>Status of dependencies in your manifest & lockfile</summary>
45804606
public string? dependency_status { get; set; } = null;
45814607
}
@@ -4983,6 +5009,8 @@ public class Role : SdkModel
49835009
public ModelSet? model_set { get; set; }
49845010
/// <summary>(Write-Only) Id of model set</summary>
49855011
public string? model_set_id { get; set; } = null;
5012+
/// <summary>Is this a Looker internal role (read-only)</summary>
5013+
public bool? @internal { get; set; } = null;
49865014
/// <summary>Link to get this item (read-only)</summary>
49875015
public string? url { get; set; } = null;
49885016
/// <summary>Link to get list of users with this role (read-only)</summary>
@@ -5003,6 +5031,8 @@ public class RoleSearch : SdkModel
50035031
public ModelSet? model_set { get; set; }
50045032
/// <summary>(Write-Only) Id of model set</summary>
50055033
public string? model_set_id { get; set; } = null;
5034+
/// <summary>Is this a Looker internal role (read-only)</summary>
5035+
public bool? @internal { get; set; } = null;
50065036
/// <summary>Count of users with this role (read-only)</summary>
50075037
public long? user_count { get; set; } = null;
50085038
/// <summary>Link to get this item (read-only)</summary>
@@ -5108,6 +5138,9 @@ public class SamlConfig : SdkModel
51085138
public bool? enabled { get; set; } = null;
51095139
/// <summary>Identity Provider Certificate (provided by IdP)</summary>
51105140
public string? idp_cert { get; set; } = null;
5141+
public SamlIdpCertMulti? idp_cert_multi { get; set; }
5142+
/// <summary>Indicates whether this SAML configuration is set up to use multiple Identity Provider certificates (idp_cert_multi) or a single certificate (idp_cert). When true, idp_cert_multi is used; otherwise, idp_cert is used.</summary>
5143+
public bool? multi_certs_supported { get; set; } = null;
51115144
/// <summary>Identity Provider Url (provided by IdP)</summary>
51125145
public string? idp_url { get; set; } = null;
51135146
/// <summary>Identity Provider Issuer (provided by IdP)</summary>
@@ -5202,6 +5235,12 @@ public class SamlGroupWrite : SdkModel
52025235
public string? url { get; set; } = null;
52035236
}
52045237

5238+
public class SamlIdpCertMulti : SdkModel
5239+
{
5240+
/// <summary>List of signing certificates. Values should be without pre-encapsulation and post-encapsulation boundaries</summary>
5241+
public string[]? signing { get; set; } = null;
5242+
}
5243+
52055244
public class SamlMetadataParseResult : SdkModel
52065245
{
52075246
/// <summary>Operations the current user is able to perform on this object (read-only)</summary>
@@ -5212,6 +5251,7 @@ public class SamlMetadataParseResult : SdkModel
52125251
public string? idp_url { get; set; } = null;
52135252
/// <summary>Identify Provider Certificate (read-only)</summary>
52145253
public string? idp_cert { get; set; } = null;
5254+
public SamlIdpCertMulti? idp_cert_multi { get; set; }
52155255
}
52165256

52175257
public class SamlUserAttributeRead : SdkModel
@@ -5543,6 +5583,8 @@ public class Setting : SdkModel
55435583
public string? dashboard_auto_refresh_minimum_interval { get; set; } = null;
55445584
/// <summary>Array of URIs pointing to the location of a root certificate in Secret Manager</summary>
55455585
public string[]? managed_certificate_uri { get; set; } = null;
5586+
/// <summary>Link to content certification documentation.</summary>
5587+
public string? content_certification_documentation_link { get; set; } = null;
55465588
}
55475589

55485590
public class SmtpNodeStatus : SdkModel
@@ -6120,9 +6162,9 @@ public class User : SdkModel
61206162
public bool? is_iam_admin { get; set; } = null;
61216163
/// <summary>Indicates if the user can manage API3 credentials. This field may only be applicable for [Looker (Google Cloud core)](https://cloud.google.com/looker/docs/r/looker-core/overview). This is an experimental feature and may not yet be available on your instance.</summary>
61226164
public bool? can_manage_api3_creds { get; set; } = null;
6123-
/// <summary>Indicates if this user is a service account. This field may only be applicable for [Looker (Google Cloud core)](https://cloud.google.com/looker/docs/r/looker-core/overview). This is an experimental feature and may not yet be available on your instance. (read-only)</summary>
6165+
/// <summary>Indicates if this user is a service account. (read-only)</summary>
61246166
public bool? is_service_account { get; set; } = null;
6125-
/// <summary>The display name of the service account. This field is omitted for non service account users. This field may only be applicable for [Looker (Google Cloud core)](https://cloud.google.com/looker/docs/r/looker-core/overview). This is an experimental feature and may not yet be available on your instance. (read-only)</summary>
6167+
/// <summary>The display name of the service account. This field is omitted for non service account users. (read-only)</summary>
61266168
public string? service_account_name { get; set; } = null;
61276169
/// <summary>Link to get this item (read-only)</summary>
61286170
public string? url { get; set; } = null;
@@ -6693,6 +6735,8 @@ public class WriteDashboard : SdkModel
66936735
/// <summary>Title color</summary>
66946736
public string? title_color { get; set; } = null;
66956737
public DashboardAppearance? appearance { get; set; }
6738+
/// <summary>The layout granularity to apply to this dashboard (ie: default or granular)</summary>
6739+
public string? layout_granularity { get; set; } = null;
66966740
}
66976741

66986742
/// Dynamic writeable type for DashboardBase removes:
@@ -6838,6 +6882,14 @@ public class WriteDashboardLayoutComponent : SdkModel
68386882
public long? width { get; set; } = null;
68396883
/// <summary>Height</summary>
68406884
public long? height { get; set; } = null;
6885+
/// <summary>Row (granular layout)</summary>
6886+
public long? granular_row { get; set; } = null;
6887+
/// <summary>Column (granular layout)</summary>
6888+
public long? granular_column { get; set; } = null;
6889+
/// <summary>Width (granular layout)</summary>
6890+
public long? granular_width { get; set; } = null;
6891+
/// <summary>Height (granular layout)</summary>
6892+
public long? granular_height { get; set; } = null;
68416893
}
68426894

68436895
/// Dynamic writeable type for DashboardLookml removes:
@@ -6861,7 +6913,7 @@ public class WriteDatagroup : SdkModel
68616913
}
68626914

68636915
/// Dynamic writeable type for DBConnection removes:
6864-
/// can, dialect, snippets, pdts_enabled, named_driver_version_actual, uses_oauth, uses_instance_oauth, uses_service_auth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed, default_bq_connection, p4sa_name
6916+
/// can, dialect, snippets, pdts_enabled, named_driver_version_actual, has_password, uses_oauth, uses_instance_oauth, uses_service_auth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed, default_bq_connection, p4sa_name
68656917
public class WriteDBConnection : SdkModel
68666918
{
68676919
/// <summary>Name of the connection. Also used as the unique identifier</summary>
@@ -7395,7 +7447,7 @@ public class WriteOIDCConfig : SdkModel
73957447
}
73967448

73977449
/// Dynamic writeable type for PasswordConfig removes:
7398-
/// can
7450+
/// can, policy_enabled_at
73997451
public class WritePasswordConfig : SdkModel
74007452
{
74017453
/// <summary>Minimum number of characters required for a new password. Must be between 7 and 100</summary>
@@ -7406,6 +7458,10 @@ public class WritePasswordConfig : SdkModel
74067458
public bool? require_upperlower { get; set; } = null;
74077459
/// <summary>Require at least one special character</summary>
74087460
public bool? require_special { get; set; } = null;
7461+
/// <summary>Enable/Disable password expiration policy.</summary>
7462+
public bool? expiration_enabled { get; set; } = null;
7463+
/// <summary>Number of days before passwords expire. Must be between 30 and 365.</summary>
7464+
public long? expiration_duration_days { get; set; } = null;
74097465
}
74107466

74117467
/// Dynamic writeable type for PermissionSet removes:
@@ -7450,7 +7506,7 @@ public class WritePrivatelabelConfiguration : SdkModel
74507506
}
74517507

74527508
/// Dynamic writeable type for Project removes:
7453-
/// can, id, uses_git, is_example
7509+
/// can, id, uses_git, is_example, has_production_counterpart
74547510
public class WriteProject : SdkModel
74557511
{
74567512
/// <summary>Project display name</summary>
@@ -7574,7 +7630,7 @@ public class WriteResultMakerWithIdVisConfigAndDynamicFields : SdkModel
75747630
}
75757631

75767632
/// Dynamic writeable type for Role removes:
7577-
/// can, id, url, users_url
7633+
/// can, id, internal, url, users_url
75787634
public class WriteRole : SdkModel
75797635
{
75807636
/// <summary>Name of Role</summary>
@@ -7603,6 +7659,9 @@ public class WriteSamlConfig : SdkModel
76037659
public bool? enabled { get; set; } = null;
76047660
/// <summary>Identity Provider Certificate (provided by IdP)</summary>
76057661
public string? idp_cert { get; set; } = null;
7662+
public SamlIdpCertMulti? idp_cert_multi { get; set; }
7663+
/// <summary>Indicates whether this SAML configuration is set up to use multiple Identity Provider certificates (idp_cert_multi) or a single certificate (idp_cert). When true, idp_cert_multi is used; otherwise, idp_cert is used.</summary>
7664+
public bool? multi_certs_supported { get; set; } = null;
76067665
/// <summary>Identity Provider Url (provided by IdP)</summary>
76077666
public string? idp_url { get; set; } = null;
76087667
/// <summary>Identity Provider Issuer (provided by IdP)</summary>
@@ -7789,6 +7848,8 @@ public class WriteSetting : SdkModel
77897848
public string? dashboard_auto_refresh_minimum_interval { get; set; } = null;
77907849
/// <summary>Array of URIs pointing to the location of a root certificate in Secret Manager</summary>
77917850
public string[]? managed_certificate_uri { get; set; } = null;
7851+
/// <summary>Link to content certification documentation.</summary>
7852+
public string? content_certification_documentation_link { get; set; } = null;
77927853
}
77937854

77947855
/// Dynamic writeable type for SqlInterfaceQueryCreate removes:

0 commit comments

Comments
 (0)