Skip to content

Commit 680c7ec

Browse files
chore: Revert "feat: generate SDKs for Looker 23.18"
chore: Revert "feat: generate SDKs for Looker 23.18"
2 parents 926cab5 + 0a8c627 commit 680c7ec

File tree

25 files changed

+1731
-1399
lines changed

25 files changed

+1731
-1399
lines changed

.github/workflows/python-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
matrix:
6262
os:
6363
- ubuntu
64-
- macos
64+
# - macos # Temporary disable since runners down
6565
- windows
6666
python-version:
6767
- '3.10'

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

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

csharp/sdk/4.0/methods.cs

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

csharp/sdk/4.0/models.cs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2606,6 +2606,12 @@ public enum InvestigativeContentType
26062606
dashboard
26072607
}
26082608

2609+
public class JdbcInterface : SdkModel
2610+
{
2611+
/// <summary>JDBC Metadata to inflate Avatica response classes. (read-only)</summary>
2612+
public string? results { get; set; } = null;
2613+
}
2614+
26092615
public class LDAPConfig : SdkModel
26102616
{
26112617
/// <summary>Operations the current user is able to perform on this object (read-only)</summary>
@@ -3964,6 +3970,8 @@ public class Project : SdkModel
39643970
public bool? is_example { get; set; } = null;
39653971
/// <summary>Status of dependencies in your manifest & lockfile</summary>
39663972
public string? dependency_status { get; set; } = null;
3973+
/// <summary>Number of data tests within project (read-only)</summary>
3974+
public long? data_tests_count { get; set; } = null;
39673975
}
39683976

39693977
public class ProjectError : SdkModel
@@ -4872,12 +4880,6 @@ public class SqlInterfaceQueryCreate : SdkModel
48724880
public bool? jdbc_client { get; set; } = null;
48734881
}
48744882

4875-
public class SqlInterfaceQueryMetadata : SdkModel
4876-
{
4877-
/// <summary>JDBC Metadata to inflate Avatica response classes. (read-only)</summary>
4878-
public string? results { get; set; } = null;
4879-
}
4880-
48814883
public class SqlQuery : SdkModel
48824884
{
48834885
/// <summary>Operations the current user is able to perform on this object (read-only)</summary>
@@ -6498,7 +6500,7 @@ public class WritePrivatelabelConfiguration : SdkModel
64986500
}
64996501

65006502
/// Dynamic writeable type for Project removes:
6501-
/// can, id, uses_git, is_example
6503+
/// can, id, uses_git, is_example, data_tests_count
65026504
public class WriteProject : SdkModel
65036505
{
65046506
/// <summary>Project display name</summary>

go/sdk/v4/methods.go

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

go/sdk/v4/models.go

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

2727
/*
2828
29-
392 API models: 249 Spec, 60 Request, 61 Write, 22 Enum
29+
397 API models: 249 Spec, 66 Request, 60 Write, 22 Enum
3030
*/
3131

3232
// NOTE: Do not edit this file generated by Looker SDK Codegen for API v4
@@ -1467,6 +1467,10 @@ type InvestigativeContentType string
14671467

14681468
const InvestigativeContentType_Dashboard InvestigativeContentType = "dashboard"
14691469

1470+
type JdbcInterface struct {
1471+
Results *string `json:"results,omitempty"` // JDBC Metadata to inflate Avatica response classes.
1472+
}
1473+
14701474
type LDAPConfig struct {
14711475
Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object
14721476
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.
@@ -2211,6 +2215,7 @@ type Project struct {
22112215
AllowWarnings *bool `json:"allow_warnings,omitempty"` // Validation policy: If true, the project can be committed with warnings when `validation_required` is true. (`allow_warnings` does nothing if `validation_required` is false).
22122216
IsExample *bool `json:"is_example,omitempty"` // If true the project is an example project and cannot be modified
22132217
DependencyStatus *string `json:"dependency_status,omitempty"` // Status of dependencies in your manifest & lockfile
2218+
DataTestsCount *int64 `json:"data_tests_count,omitempty"` // Number of data tests within project
22142219
}
22152220

22162221
type ProjectError struct {
@@ -2420,6 +2425,13 @@ type RequestAllIntegrations struct {
24202425
IntegrationHubId *string `json:"integration_hub_id,omitempty"` // Filter to a specific provider
24212426
}
24222427

2428+
// Dynamically generated request type for all_lookml_models
2429+
type RequestAllLookmlModels struct {
2430+
Fields *string `json:"fields,omitempty"` // Requested fields.
2431+
Limit *int64 `json:"limit,omitempty"` // Number of results to return. (can be used with offset)
2432+
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any. (Defaults to 0 if not set when limit is used)
2433+
}
2434+
24232435
// Dynamically generated request type for all_roles
24242436
type RequestAllRoles struct {
24252437
Fields *string `json:"fields,omitempty"` // Requested fields.
@@ -2433,6 +2445,12 @@ type RequestAllScheduledPlans struct {
24332445
AllUsers *bool `json:"all_users,omitempty"` // Return scheduled plans belonging to all users (caller needs see_schedules permission)
24342446
}
24352447

2448+
// Dynamically generated request type for all_user_attributes
2449+
type RequestAllUserAttributes struct {
2450+
Fields *string `json:"fields,omitempty"` // Requested fields.
2451+
Sorts *string `json:"sorts,omitempty"` // Fields to order the results by. Sortable fields include: name, label
2452+
}
2453+
24362454
// Dynamically generated request type for all_users
24372455
type RequestAllUsers struct {
24382456
Fields *string `json:"fields,omitempty"` // Requested fields.
@@ -2876,6 +2894,34 @@ type RequestSearchGroups struct {
28762894
ExternallyOrphaned *bool `json:"externally_orphaned,omitempty"` // Match group externally_orphaned.
28772895
}
28782896

2897+
// Dynamically generated request type for search_groups_with_hierarchy
2898+
type RequestSearchGroupsWithHierarchy struct {
2899+
Fields *string `json:"fields,omitempty"` // Requested fields.
2900+
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
2901+
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
2902+
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
2903+
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression
2904+
Id *string `json:"id,omitempty"` // Match group id.
2905+
Name *string `json:"name,omitempty"` // Match group name.
2906+
ExternalGroupId *string `json:"external_group_id,omitempty"` // Match group external_group_id.
2907+
ExternallyManaged *bool `json:"externally_managed,omitempty"` // Match group externally_managed.
2908+
ExternallyOrphaned *bool `json:"externally_orphaned,omitempty"` // Match group externally_orphaned.
2909+
}
2910+
2911+
// Dynamically generated request type for search_groups_with_roles
2912+
type RequestSearchGroupsWithRoles struct {
2913+
Fields *string `json:"fields,omitempty"` // Requested fields.
2914+
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
2915+
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
2916+
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
2917+
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression
2918+
Id *string `json:"id,omitempty"` // Match group id.
2919+
Name *string `json:"name,omitempty"` // Match group name.
2920+
ExternalGroupId *string `json:"external_group_id,omitempty"` // Match group external_group_id.
2921+
ExternallyManaged *bool `json:"externally_managed,omitempty"` // Match group externally_managed.
2922+
ExternallyOrphaned *bool `json:"externally_orphaned,omitempty"` // Match group externally_orphaned.
2923+
}
2924+
28792925
// Dynamically generated request type for search_looks
28802926
type RequestSearchLooks struct {
28812927
Id *string `json:"id,omitempty"` // Match look id.
@@ -2911,6 +2957,19 @@ type RequestSearchModelSets struct {
29112957
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
29122958
}
29132959

2960+
// Dynamically generated request type for search_permission_sets
2961+
type RequestSearchPermissionSets struct {
2962+
Fields *string `json:"fields,omitempty"` // Requested fields.
2963+
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
2964+
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
2965+
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
2966+
Id *string `json:"id,omitempty"` // Match permission set id.
2967+
Name *string `json:"name,omitempty"` // Match permission set name.
2968+
AllAccess *bool `json:"all_access,omitempty"` // Match permission sets by all_access status.
2969+
BuiltIn *bool `json:"built_in,omitempty"` // Match permission sets by built_in status.
2970+
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
2971+
}
2972+
29142973
// Dynamically generated request type for search_roles
29152974
type RequestSearchRoles struct {
29162975
Fields *string `json:"fields,omitempty"` // Requested fields.
@@ -2923,6 +2982,18 @@ type RequestSearchRoles struct {
29232982
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
29242983
}
29252984

2985+
// Dynamically generated request type for search_roles_with_user_count
2986+
type RequestSearchRolesWithUserCount struct {
2987+
Fields *string `json:"fields,omitempty"` // Requested fields.
2988+
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
2989+
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
2990+
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
2991+
Id *string `json:"id,omitempty"` // Match role id.
2992+
Name *string `json:"name,omitempty"` // Match role name.
2993+
BuiltIn *bool `json:"built_in,omitempty"` // Match roles by built_in status.
2994+
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
2995+
}
2996+
29262997
// Dynamically generated request type for search_themes
29272998
type RequestSearchThemes struct {
29282999
Id *string `json:"id,omitempty"` // Match theme id.
@@ -3377,10 +3448,6 @@ type SqlInterfaceQueryCreate struct {
33773448
JdbcClient *bool `json:"jdbc_client,omitempty"` // Whether the query should be run for use in a JDBC Client. This changes the formatting of some datetime based values.
33783449
}
33793450

3380-
type SqlInterfaceQueryMetadata struct {
3381-
Results *string `json:"results,omitempty"` // JDBC Metadata to inflate Avatica response classes.
3382-
}
3383-
33843451
type SqlQuery struct {
33853452
Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object
33863453
Slug *string `json:"slug,omitempty"` // The identifier of the SQL query
@@ -4310,7 +4377,7 @@ type WritePrivatelabelConfiguration struct {
43104377
}
43114378

43124379
// Dynamic writeable type for Project removes:
4313-
// can, id, uses_git, is_example
4380+
// can, id, uses_git, is_example, data_tests_count
43144381
type WriteProject struct {
43154382
Name *string `json:"name,omitempty"` // Project display name
43164383
GitRemoteUrl *string `json:"git_remote_url,omitempty"` // Git remote repository url

0 commit comments

Comments
 (0)