Skip to content

Commit c39c529

Browse files
feat: generate SDKs for Looker 26.8 (#1710)
Release-As: 26.8.0
1 parent d3b2990 commit c39c529

24 files changed

Lines changed: 1712 additions & 528 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.6";
64+
public const string LookerVersion = "26.8";
6565

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

‎csharp/sdk/4.0/methods.cs‎

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -355,15 +355,12 @@ public async Task<SdkResponse<AccessToken, Exception>> login(
355355
/// <returns><c>AccessToken</c> Access token with metadata. (application/json)</returns>
356356
///
357357
/// <param name="user_id">Id of user.</param>
358-
/// <param name="associative">When true (default), API calls using the returned access_token are attributed to the admin user who created the access_token. When false, API activity is attributed to the user the access_token runs as. False requires a looker license.</param>
359358
public async Task<SdkResponse<AccessToken, Exception>> login_user(
360359
string user_id,
361-
bool? associative = null,
362360
ITransportSettings? options = null)
363361
{
364362
user_id = SdkUtils.EncodeParam(user_id);
365-
return await AuthRequest<AccessToken, Exception>(HttpMethod.Post, $"/login/{user_id}", new Values {
366-
{ "associative", associative }},null,options);
363+
return await AuthRequest<AccessToken, Exception>(HttpMethod.Post, $"/login/{user_id}", null,null,options);
367364
}
368365

369366
/// ### Logout of the API and invalidate the current access token.
@@ -7888,8 +7885,6 @@ public async Task<SdkResponse<Query, Exception>> create_query(
78887885
/// <param name="path_prefix">Prefix to use for drill links (url encoded).</param>
78897886
/// <param name="rebuild_pdts">Rebuild PDTS used in query.</param>
78907887
/// <param name="server_table_calcs">Perform table calculations on query results</param>
7891-
/// <param name="source">Specifies the source of this call.</param>
7892-
/// <param name="enable_oauth_error_response">Return a specialized OAuth error response if a database OAuth error occurs.</param>
78937888
public async Task<SdkResponse<TSuccess, Exception>> run_query<TSuccess>(
78947889
string query_id,
78957890
string result_format,
@@ -7905,8 +7900,6 @@ public async Task<SdkResponse<TSuccess, Exception>> run_query<TSuccess>(
79057900
string? path_prefix = null,
79067901
bool? rebuild_pdts = null,
79077902
bool? server_table_calcs = null,
7908-
string? source = null,
7909-
bool? enable_oauth_error_response = null,
79107903
ITransportSettings? options = null) where TSuccess : class
79117904
{
79127905
query_id = SdkUtils.EncodeParam(query_id);
@@ -7923,9 +7916,7 @@ public async Task<SdkResponse<TSuccess, Exception>> run_query<TSuccess>(
79237916
{ "cache_only", cache_only },
79247917
{ "path_prefix", path_prefix },
79257918
{ "rebuild_pdts", rebuild_pdts },
7926-
{ "server_table_calcs", server_table_calcs },
7927-
{ "source", source },
7928-
{ "enable_oauth_error_response", enable_oauth_error_response }},null,options);
7919+
{ "server_table_calcs", server_table_calcs }},null,options);
79297920
}
79307921

79317922
/// ### Run the query that is specified inline in the posted body.
@@ -8004,7 +7995,6 @@ public async Task<SdkResponse<TSuccess, Exception>> run_query<TSuccess>(
80047995
/// <param name="path_prefix">Prefix to use for drill links (url encoded).</param>
80057996
/// <param name="rebuild_pdts">Rebuild PDTS used in query.</param>
80067997
/// <param name="server_table_calcs">Perform table calculations on query results</param>
8007-
/// <param name="enable_oauth_error_response">Return a specialized OAuth error response if a database OAuth error occurs.</param>
80087998
public async Task<SdkResponse<TSuccess, Exception>> run_inline_query<TSuccess>(
80097999
string result_format,
80108000
WriteQuery body,
@@ -8020,7 +8010,6 @@ public async Task<SdkResponse<TSuccess, Exception>> run_inline_query<TSuccess>(
80208010
string? path_prefix = null,
80218011
bool? rebuild_pdts = null,
80228012
bool? server_table_calcs = null,
8023-
bool? enable_oauth_error_response = null,
80248013
ITransportSettings? options = null) where TSuccess : class
80258014
{
80268015
result_format = SdkUtils.EncodeParam(result_format);
@@ -8036,8 +8025,7 @@ public async Task<SdkResponse<TSuccess, Exception>> run_inline_query<TSuccess>(
80368025
{ "cache_only", cache_only },
80378026
{ "path_prefix", path_prefix },
80388027
{ "rebuild_pdts", rebuild_pdts },
8039-
{ "server_table_calcs", server_table_calcs },
8040-
{ "enable_oauth_error_response", enable_oauth_error_response }},body,options);
8028+
{ "server_table_calcs", server_table_calcs }},body,options);
80418029
}
80428030

80438031
/// ### Run an URL encoded query.
@@ -10231,7 +10219,7 @@ public async Task<SdkResponse<User, Exception>> create_user(
1023110219
/// <param name="filter_or">Combine given search criteria in a boolean OR expression</param>
1023210220
/// <param name="content_metadata_id">Search for users who have access to this content_metadata item</param>
1023310221
/// <param name="group_id">Search for users who are direct members of this group</param>
10234-
/// <param name="can_manage_api3_creds">Search for users who can manage API3 credentials. This field may only be applicable for [Looker (Google Cloud core)](https://docs.cloud.google.com/looker/docs/r/looker-core/overview). 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>
10222+
/// <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>
1023510223
/// <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>
1023610224
public async Task<SdkResponse<User[], Exception>> search_users(
1023710225
string? fields = null,

0 commit comments

Comments
 (0)