Skip to content

Commit 9112808

Browse files
feat: generate SDKs for Looker 26.20 (#1747)
Release-As: 26.20.0
1 parent cbd7f4f commit 9112808

26 files changed

Lines changed: 9867 additions & 7285 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 = "26.18";
64+
public const string LookerVersion = "26.20";
6565

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

‎csharp/sdk/4.0/methods.cs‎

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

24-
/// 529 API methods
24+
/// 532 API methods
2525

2626
#nullable enable
2727
using System;
@@ -2180,6 +2180,18 @@ public async Task<SdkResponse<ColorCollection, Exception>> set_default_color_col
21802180
{ "collection_id", collection_id }},null,options);
21812181
}
21822182

2183+
/// Get active color collections including default, custom, and standard collections for visualization rendering and theming. Accessible to all authenticated users.
2184+
///
2185+
/// GET /color_collections/active -> ActiveColorCollections
2186+
///
2187+
/// <returns><c>ActiveColorCollections</c> Active Color Collections (application/json)</returns>
2188+
///
2189+
public async Task<SdkResponse<ActiveColorCollections, Exception>> color_collections_active(
2190+
ITransportSettings? options = null)
2191+
{
2192+
return await AuthRequest<ActiveColorCollections, Exception>(HttpMethod.Get, "/color_collections/active", null,null,options);
2193+
}
2194+
21832195
/// ### Get a Color Collection by ID
21842196
///
21852197
/// Use this to retrieve a specific Color Collection.
@@ -5182,6 +5194,27 @@ public async Task<SdkResponse<Datagroup, Exception>> update_datagroup(
51825194

51835195
#endregion Datagroup: Manage Datagroups
51845196

5197+
#region DataUpload: Data Upload
5198+
5199+
/// ### Upload data for self-service modeling
5200+
///
5201+
/// Uploads a CSV or Excel file to the specified connection and creates a self-service model.
5202+
///
5203+
/// POST /self_service_models/upload -> UploadedModel
5204+
///
5205+
/// <returns><c>UploadedModel</c> Created self-service model metadata. (application/json)</returns>
5206+
///
5207+
/// <param name="file">The CSV or Excel file to upload.</param>
5208+
/// <param name="connection_id">The connection ID to upload to. Defaults to the default upload connection.</param>
5209+
/// <param name="sheet_index">(Optional) The index of the sheet to upload (for Excel files).</param>
5210+
public async Task<SdkResponse<UploadedModel, Exception>> upload_data(
5211+
ITransportSettings? options = null)
5212+
{
5213+
return await AuthRequest<UploadedModel, Exception>(HttpMethod.Post, "/self_service_models/upload", null,null,options);
5214+
}
5215+
5216+
#endregion DataUpload: Data Upload
5217+
51855218
#region DerivedTable: View Derived Table graphs
51865219

51875220
/// ### Discover information about derived tables
@@ -10863,6 +10896,39 @@ public async Task<SdkResponse<string, Exception>> delete_user_credentials_looker
1086310896
return await AuthRequest<string, Exception>(HttpMethod.Delete, $"/users/{user_id}/credentials_looker_openid", null,null,options);
1086410897
}
1086510898

10899+
/// ### OpenID Connect (OIDC) authentication login information for the specified user.
10900+
///
10901+
/// GET /users/{user_id}/credentials_oidc -> CredentialsOIDC
10902+
///
10903+
/// <returns><c>CredentialsOIDC</c> OIDC Auth Credential (application/json)</returns>
10904+
///
10905+
/// <param name="user_id">Id of user</param>
10906+
/// <param name="fields">Requested fields.</param>
10907+
public async Task<SdkResponse<CredentialsOIDC, Exception>> user_credentials_oidc(
10908+
string user_id,
10909+
string? fields = null,
10910+
ITransportSettings? options = null)
10911+
{
10912+
user_id = SdkUtils.EncodeParam(user_id);
10913+
return await AuthRequest<CredentialsOIDC, Exception>(HttpMethod.Get, $"/users/{user_id}/credentials_oidc", new Values {
10914+
{ "fields", fields }},null,options);
10915+
}
10916+
10917+
/// ### Delete OpenID Connect (OIDC) authentication login information for the specified user.
10918+
///
10919+
/// DELETE /users/{user_id}/credentials_oidc -> string
10920+
///
10921+
/// <returns><c>string</c> Successfully deleted. (application/json)</returns>
10922+
///
10923+
/// <param name="user_id">Id of user</param>
10924+
public async Task<SdkResponse<string, Exception>> delete_user_credentials_oidc(
10925+
string user_id,
10926+
ITransportSettings? options = null)
10927+
{
10928+
user_id = SdkUtils.EncodeParam(user_id);
10929+
return await AuthRequest<string, Exception>(HttpMethod.Delete, $"/users/{user_id}/credentials_oidc", null,null,options);
10930+
}
10931+
1086610932
/// ### Saml authentication login information for the specified user.
1086710933
///
1086810934
/// GET /users/{user_id}/credentials_saml -> CredentialsSaml
@@ -11071,7 +11137,7 @@ public async Task<SdkResponse<User, Exception>> create_user(
1107111137
/// <param name="content_metadata_id">Search for users who have access to this content_metadata item</param>
1107211138
/// <param name="group_id">Search for users who are direct members of this group</param>
1107311139
/// <param name="can_manage_api3_creds">Search for users who can manage API3 credentials. Availability of this filter is limited to users with permission to view complete user details. This is an experimental feature and may not yet be available on your instance.</param>
11074-
/// <param name="is_service_account">Search for service account users. Send true to get only service accounts, or false to get all other types of users. Availability of this filter is limited to users with permission to view complete user details.</param>
11140+
/// <param name="is_service_account">Search for service account users. Send true to get only service accounts, or false to get all other types of users.</param>
1107511141
public async Task<SdkResponse<User[], Exception>> search_users(
1107611142
string? fields = null,
1107711143
long? page = null,
@@ -11375,39 +11441,6 @@ public async Task<SdkResponse<string, Exception>> delete_user_credentials_ldap(
1137511441
return await AuthRequest<string, Exception>(HttpMethod.Delete, $"/users/{user_id}/credentials_ldap", null,null,options);
1137611442
}
1137711443

11378-
/// ### OpenID Connect (OIDC) authentication login information for the specified user.
11379-
///
11380-
/// GET /users/{user_id}/credentials_oidc -> CredentialsOIDC
11381-
///
11382-
/// <returns><c>CredentialsOIDC</c> OIDC Auth Credential (application/json)</returns>
11383-
///
11384-
/// <param name="user_id">Id of user</param>
11385-
/// <param name="fields">Requested fields.</param>
11386-
public async Task<SdkResponse<CredentialsOIDC, Exception>> user_credentials_oidc(
11387-
string user_id,
11388-
string? fields = null,
11389-
ITransportSettings? options = null)
11390-
{
11391-
user_id = SdkUtils.EncodeParam(user_id);
11392-
return await AuthRequest<CredentialsOIDC, Exception>(HttpMethod.Get, $"/users/{user_id}/credentials_oidc", new Values {
11393-
{ "fields", fields }},null,options);
11394-
}
11395-
11396-
/// ### OpenID Connect (OIDC) authentication login information for the specified user.
11397-
///
11398-
/// DELETE /users/{user_id}/credentials_oidc -> string
11399-
///
11400-
/// <returns><c>string</c> Successfully deleted. (application/json)</returns>
11401-
///
11402-
/// <param name="user_id">Id of user</param>
11403-
public async Task<SdkResponse<string, Exception>> delete_user_credentials_oidc(
11404-
string user_id,
11405-
ITransportSettings? options = null)
11406-
{
11407-
user_id = SdkUtils.EncodeParam(user_id);
11408-
return await AuthRequest<string, Exception>(HttpMethod.Delete, $"/users/{user_id}/credentials_oidc", null,null,options);
11409-
}
11410-
1141111444
/// ### API login information for the specified user. This is for the newer API keys that can be added for any user.
1141211445
///
1141311446
/// GET /users/{user_id}/credentials_api3/{credentials_api3_id} -> CredentialsApi3

0 commit comments

Comments
 (0)