Skip to content

Commit 6c5ea39

Browse files
feat: generate SDKs for Looker 24.8
Release-As: 24.8.0
1 parent 6781219 commit 6c5ea39

File tree

13 files changed

+425
-28
lines changed

13 files changed

+425
-28
lines changed

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 = "24.6";
64+
public const string LookerVersion = "24.8";
6565

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

csharp/sdk/4.0/models.cs

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

24-
/// 340 API models: 257 Spec, 0 Request, 61 Write, 22 Enum
24+
/// 341 API models: 258 Spec, 0 Request, 61 Write, 22 Enum
2525

2626
#nullable enable
2727
using System;
@@ -1689,6 +1689,8 @@ public class DBConnection : SdkModel
16891689
public bool? cost_estimate_enabled { get; set; } = null;
16901690
/// <summary>PDT builds on this connection can be kicked off and cancelled via API.</summary>
16911691
public bool? pdt_api_control_enabled { get; set; } = null;
1692+
/// <summary>Enable database connection pooling.</summary>
1693+
public bool? connection_pooling { get; set; } = null;
16921694
}
16931695

16941696
public class DBConnectionBase : SdkModel
@@ -1890,6 +1892,8 @@ public class DialectInfoOptions : SdkModel
18901892
public bool? username { get; set; } = null;
18911893
/// <summary>Username is required (read-only)</summary>
18921894
public bool? username_required { get; set; } = null;
1895+
/// <summary>Has support for connection pooling (read-only)</summary>
1896+
public bool? supports_connection_pooling { get; set; } = null;
18931897
}
18941898

18951899
public class DigestEmails : SdkModel
@@ -2657,6 +2661,8 @@ public class JsonBiFields : SdkModel
26572661
public JsonBiField[] measures { get; set; } = null;
26582662
/// <summary>Pivots (read-only)</summary>
26592663
public JsonBiField[] pivots { get; set; } = null;
2664+
/// <summary>Table Calculations (beta: May not be included) (read-only)</summary>
2665+
public JsonBiTableCalc[]? table_calculations { get; set; } = null;
26602666
}
26612667

26622668
public class JsonBiMetadata : SdkModel
@@ -2691,6 +2697,22 @@ public class JsonBiPivots : SdkModel
26912697
public bool is_total { get; set; }
26922698
}
26932699

2700+
public class JsonBiTableCalc : SdkModel
2701+
{
2702+
/// <summary>Table Calc Name (read-only)</summary>
2703+
public string name { get; set; } = "";
2704+
/// <summary>Table Calc Label (read-only)</summary>
2705+
public string label { get; set; } = "";
2706+
/// <summary>Alignment (read-only)</summary>
2707+
public string align { get; set; } = "";
2708+
/// <summary>Evaluated table calculation expression (read-only)</summary>
2709+
public string expression { get; set; } = "";
2710+
/// <summary>Value format (read-only)</summary>
2711+
public string value_format { get; set; } = "";
2712+
/// <summary>If table calculation is a measure (read-only)</summary>
2713+
public bool measure { get; set; }
2714+
}
2715+
26942716
public class LDAPConfig : SdkModel
26952717
{
26962718
/// <summary>Operations the current user is able to perform on this object (read-only)</summary>
@@ -6199,6 +6221,8 @@ public class WriteDBConnection : SdkModel
61996221
public bool? cost_estimate_enabled { get; set; } = null;
62006222
/// <summary>PDT builds on this connection can be kicked off and cancelled via API.</summary>
62016223
public bool? pdt_api_control_enabled { get; set; } = null;
6224+
/// <summary>Enable database connection pooling.</summary>
6225+
public bool? connection_pooling { get; set; } = null;
62026226
}
62036227

62046228
/// Dynamic writeable type for DBConnectionOverride removes:

go/sdk/v4/models.go

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ SOFTWARE.
2626

2727
/*
2828
29-
406 API models: 257 Spec, 67 Request, 60 Write, 22 Enum
29+
407 API models: 258 Spec, 67 Request, 60 Write, 22 Enum
3030
*/
3131

3232
// NOTE: Do not edit this file generated by Looker SDK Codegen for API v4
@@ -959,6 +959,7 @@ type DBConnection struct {
959959
AlwaysRetryFailedBuilds *bool `json:"always_retry_failed_builds,omitempty"` // When true, error PDTs will be retried every regenerator cycle
960960
CostEstimateEnabled *bool `json:"cost_estimate_enabled,omitempty"` // When true, query cost estimate will be displayed in explore.
961961
PdtApiControlEnabled *bool `json:"pdt_api_control_enabled,omitempty"` // PDT builds on this connection can be kicked off and cancelled via API.
962+
ConnectionPooling *bool `json:"connection_pooling,omitempty"` // Enable database connection pooling.
962963
}
963964

964965
type DBConnectionBase struct {
@@ -1070,6 +1071,7 @@ type DialectInfoOptions struct {
10701071
Tns *bool `json:"tns,omitempty"` // Has Oracle TNS support
10711072
Username *bool `json:"username,omitempty"` // Username can be specified
10721073
UsernameRequired *bool `json:"username_required,omitempty"` // Username is required
1074+
SupportsConnectionPooling *bool `json:"supports_connection_pooling,omitempty"` // Has support for connection pooling
10731075
}
10741076

10751077
type DigestEmails struct {
@@ -1493,9 +1495,10 @@ type JsonBiField struct {
14931495
}
14941496

14951497
type JsonBiFields struct {
1496-
Dimensions []JsonBiField `json:"dimensions"` // Dimensions represent a column in a table, or a computed value based on some sort of column manipulation or combination
1497-
Measures []JsonBiField `json:"measures"` // Measures are similar to aggregate functions in SQL (for example, COUNT, SUM, AVG) and represent information about multiple rows
1498-
Pivots []JsonBiField `json:"pivots"` // Pivots
1498+
Dimensions []JsonBiField `json:"dimensions"` // Dimensions represent a column in a table, or a computed value based on some sort of column manipulation or combination
1499+
Measures []JsonBiField `json:"measures"` // Measures are similar to aggregate functions in SQL (for example, COUNT, SUM, AVG) and represent information about multiple rows
1500+
Pivots []JsonBiField `json:"pivots"` // Pivots
1501+
TableCalculations *[]JsonBiTableCalc `json:"table_calculations,omitempty"` // Table Calculations (beta: May not be included)
14991502
}
15001503

15011504
type JsonBiMetadata struct {
@@ -1517,6 +1520,15 @@ type JsonBiPivots struct {
15171520
IsTotal bool `json:"is_total"` // If the value is a total
15181521
}
15191522

1523+
type JsonBiTableCalc struct {
1524+
Name string `json:"name"` // Table Calc Name
1525+
Label string `json:"label"` // Table Calc Label
1526+
Align string `json:"align"` // Alignment
1527+
Expression string `json:"expression"` // Evaluated table calculation expression
1528+
ValueFormat string `json:"value_format"` // Value format
1529+
Measure bool `json:"measure"` // If table calculation is a measure
1530+
}
1531+
15201532
type LDAPConfig struct {
15211533
Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object
15221534
AlternateEmailLoginAllowed *bool `json:"alternate_email_login_allowed,omitempty"` // Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled.
@@ -4196,6 +4208,7 @@ type WriteDBConnection struct {
41964208
AlwaysRetryFailedBuilds *bool `json:"always_retry_failed_builds,omitempty"` // When true, error PDTs will be retried every regenerator cycle
41974209
CostEstimateEnabled *bool `json:"cost_estimate_enabled,omitempty"` // When true, query cost estimate will be displayed in explore.
41984210
PdtApiControlEnabled *bool `json:"pdt_api_control_enabled,omitempty"` // PDT builds on this connection can be kicked off and cancelled via API.
4211+
ConnectionPooling *bool `json:"connection_pooling,omitempty"` // Enable database connection pooling.
41994212
}
42004213

42014214
// Dynamic writeable type for DBConnectionOverride removes:

kotlin/src/main/com/looker/sdk/4.0/models.kt

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626

2727
/**
28-
* 340 API models: 257 Spec, 0 Request, 61 Write, 22 Enum
28+
* 341 API models: 258 Spec, 0 Request, 61 Write, 22 Enum
2929
*/
3030

3131
// NOTE: Do not edit this file generated by Looker SDK Codegen for API 4.0
@@ -1738,6 +1738,7 @@ data class Datagroup(
17381738
* @property always_retry_failed_builds When true, error PDTs will be retried every regenerator cycle
17391739
* @property cost_estimate_enabled When true, query cost estimate will be displayed in explore.
17401740
* @property pdt_api_control_enabled PDT builds on this connection can be kicked off and cancelled via API.
1741+
* @property connection_pooling Enable database connection pooling.
17411742
*/
17421743
data class DBConnection(
17431744
var can: Map<String, Boolean>? = null,
@@ -1787,6 +1788,7 @@ data class DBConnection(
17871788
var always_retry_failed_builds: Boolean? = null,
17881789
var cost_estimate_enabled: Boolean? = null,
17891790
var pdt_api_control_enabled: Boolean? = null,
1791+
var connection_pooling: Boolean? = null,
17901792
) : Serializable
17911793

17921794
/**
@@ -1970,6 +1972,7 @@ data class DialectInfo(
19701972
* @property tns Has Oracle TNS support (read-only)
19711973
* @property username Username can be specified (read-only)
19721974
* @property username_required Username is required (read-only)
1975+
* @property supports_connection_pooling Has support for connection pooling (read-only)
19731976
*/
19741977
data class DialectInfoOptions(
19751978
var additional_params: Boolean? = null,
@@ -1993,6 +1996,7 @@ data class DialectInfoOptions(
19931996
var tns: Boolean? = null,
19941997
var username: Boolean? = null,
19951998
var username_required: Boolean? = null,
1999+
var supports_connection_pooling: Boolean? = null,
19962000
) : Serializable
19972001

19982002
/**
@@ -2795,11 +2799,13 @@ data class JsonBiField(
27952799
* @property dimensions Dimensions represent a column in a table, or a computed value based on some sort of column manipulation or combination (read-only)
27962800
* @property measures Measures are similar to aggregate functions in SQL (for example, COUNT, SUM, AVG) and represent information about multiple rows (read-only)
27972801
* @property pivots Pivots (read-only)
2802+
* @property table_calculations Table Calculations (beta: May not be included) (read-only)
27982803
*/
27992804
data class JsonBiFields(
28002805
var dimensions: Array<JsonBiField>,
28012806
var measures: Array<JsonBiField>,
28022807
var pivots: Array<JsonBiField>,
2808+
var table_calculations: Array<JsonBiTableCalc>? = null,
28032809
) : Serializable
28042810

28052811
/**
@@ -2838,6 +2844,23 @@ data class JsonBiPivots(
28382844
var is_total: Boolean,
28392845
) : Serializable
28402846

2847+
/**
2848+
* @property name Table Calc Name (read-only)
2849+
* @property label Table Calc Label (read-only)
2850+
* @property align Alignment (read-only)
2851+
* @property expression Evaluated table calculation expression (read-only)
2852+
* @property value_format Value format (read-only)
2853+
* @property measure If table calculation is a measure (read-only)
2854+
*/
2855+
data class JsonBiTableCalc(
2856+
var name: String,
2857+
var label: String,
2858+
var align: String,
2859+
var expression: String,
2860+
var value_format: String,
2861+
var measure: Boolean,
2862+
) : Serializable
2863+
28412864
/**
28422865
* @property can Operations the current user is able to perform on this object (read-only)
28432866
* @property alternate_email_login_allowed Allow alternate email-based login via '/login/email' for admins and for specified users with the 'login_special_email' permission. This option is useful as a fallback during ldap setup, if ldap config problems occur later, or if you need to support some users who are not in your ldap directory. Looker email/password logins are always disabled for regular users when ldap is enabled.
@@ -6436,6 +6459,7 @@ data class WriteDatagroup(
64366459
* @property always_retry_failed_builds When true, error PDTs will be retried every regenerator cycle
64376460
* @property cost_estimate_enabled When true, query cost estimate will be displayed in explore.
64386461
* @property pdt_api_control_enabled PDT builds on this connection can be kicked off and cancelled via API.
6462+
* @property connection_pooling Enable database connection pooling.
64396463
*/
64406464
data class WriteDBConnection(
64416465
var name: String? = null,
@@ -6473,6 +6497,7 @@ data class WriteDBConnection(
64736497
var always_retry_failed_builds: Boolean? = null,
64746498
var cost_estimate_enabled: Boolean? = null,
64756499
var pdt_api_control_enabled: Boolean? = null,
6500+
var connection_pooling: Boolean? = null,
64766501
) : Serializable
64776502

64786503
/**

kotlin/src/main/com/looker/sdk/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ package com.looker.sdk
2828

2929
const val ENVIRONMENT_PREFIX = "LOOKERSDK"
3030
const val SDK_TAG = "KT-SDK"
31-
const val LOOKER_VERSION = "24.6"
31+
const val LOOKER_VERSION = "24.8"
3232
const val API_VERSION = "4.0"
3333
const val AGENT_TAG = "$SDK_TAG $LOOKER_VERSION"
3434
const val LOOKER_APPID = "x-looker-appid"

packages/sdk/src/4.0/models.ts

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626

2727
/**
28-
* 407 API models: 257 Spec, 67 Request, 61 Write, 22 Enum
28+
* 408 API models: 258 Spec, 67 Request, 61 Write, 22 Enum
2929
*/
3030

3131
import type { DelimArray, IDictionary } from '@looker/sdk-rtl';
@@ -2845,6 +2845,10 @@ export interface IDBConnection {
28452845
* PDT builds on this connection can be kicked off and cancelled via API.
28462846
*/
28472847
pdt_api_control_enabled?: boolean | null;
2848+
/**
2849+
* Enable database connection pooling.
2850+
*/
2851+
connection_pooling?: boolean;
28482852
}
28492853

28502854
export interface IDBConnectionBase {
@@ -3169,6 +3173,10 @@ export interface IDialectInfoOptions {
31693173
* Username is required (read-only)
31703174
*/
31713175
username_required?: boolean;
3176+
/**
3177+
* Has support for connection pooling (read-only)
3178+
*/
3179+
supports_connection_pooling?: boolean;
31723180
}
31733181

31743182
export interface IDigestEmails {
@@ -4475,6 +4483,10 @@ export interface IJsonBiFields {
44754483
* Pivots (read-only)
44764484
*/
44774485
pivots: IJsonBiField[];
4486+
/**
4487+
* Table Calculations (beta: May not be included) (read-only)
4488+
*/
4489+
table_calculations?: IJsonBiTableCalc[];
44784490
}
44794491

44804492
export interface IJsonBiMetadata {
@@ -4529,6 +4541,33 @@ export interface IJsonBiPivots {
45294541
is_total: boolean;
45304542
}
45314543

4544+
export interface IJsonBiTableCalc {
4545+
/**
4546+
* Table Calc Name (read-only)
4547+
*/
4548+
name: string | null;
4549+
/**
4550+
* Table Calc Label (read-only)
4551+
*/
4552+
label: string | null;
4553+
/**
4554+
* Alignment (read-only)
4555+
*/
4556+
align: string | null;
4557+
/**
4558+
* Evaluated table calculation expression (read-only)
4559+
*/
4560+
expression: string | null;
4561+
/**
4562+
* Value format (read-only)
4563+
*/
4564+
value_format: string | null;
4565+
/**
4566+
* If table calculation is a measure (read-only)
4567+
*/
4568+
measure: boolean | null;
4569+
}
4570+
45324571
export interface ILDAPConfig {
45334572
/**
45344573
* Operations the current user is able to perform on this object (read-only)
@@ -12699,6 +12738,10 @@ export interface IWriteDBConnection {
1269912738
* PDT builds on this connection can be kicked off and cancelled via API.
1270012739
*/
1270112740
pdt_api_control_enabled?: boolean | null;
12741+
/**
12742+
* Enable database connection pooling.
12743+
*/
12744+
connection_pooling?: boolean;
1270212745
}
1270312746

1270412747
/**

packages/sdk/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
2525
*/
2626

27-
export const sdkVersion = '24.6';
27+
export const sdkVersion = '24.8';
2828
export const environmentPrefix = 'LOOKERSDK';

0 commit comments

Comments
 (0)