Skip to content

Commit

Permalink
feat: generate SDKs for Looker 23.18
Browse files Browse the repository at this point in the history
Release-As: 23.18.0
  • Loading branch information
drstrangelooker committed Oct 12, 2023
1 parent f778389 commit 3f13822
Show file tree
Hide file tree
Showing 24 changed files with 1,398 additions and 1,730 deletions.
2 changes: 1 addition & 1 deletion csharp/rtl/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public struct Constants

public const string DefaultApiVersion = "4.0";
public const string AgentPrefix = "CS-SDK";
public const string LookerVersion = "23.17";
public const string LookerVersion = "23.18";

public const string Bearer = "Bearer";
public const string LookerAppiId = "x-looker-appid";
Expand Down
186 changes: 93 additions & 93 deletions csharp/sdk/4.0/methods.cs

Large diffs are not rendered by default.

16 changes: 7 additions & 9 deletions csharp/sdk/4.0/models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2606,12 +2606,6 @@ public enum InvestigativeContentType
dashboard
}

public class JdbcInterface : SdkModel
{
/// <summary>JDBC Metadata to inflate Avatica response classes. (read-only)</summary>
public string? results { get; set; } = null;
}

public class LDAPConfig : SdkModel
{
/// <summary>Operations the current user is able to perform on this object (read-only)</summary>
Expand Down Expand Up @@ -3970,8 +3964,6 @@ public class Project : SdkModel
public bool? is_example { get; set; } = null;
/// <summary>Status of dependencies in your manifest & lockfile</summary>
public string? dependency_status { get; set; } = null;
/// <summary>Number of data tests within project (read-only)</summary>
public long? data_tests_count { get; set; } = null;
}

public class ProjectError : SdkModel
Expand Down Expand Up @@ -4880,6 +4872,12 @@ public class SqlInterfaceQueryCreate : SdkModel
public bool? jdbc_client { get; set; } = null;
}

public class SqlInterfaceQueryMetadata : SdkModel
{
/// <summary>JDBC Metadata to inflate Avatica response classes. (read-only)</summary>
public string? results { get; set; } = null;
}

public class SqlQuery : SdkModel
{
/// <summary>Operations the current user is able to perform on this object (read-only)</summary>
Expand Down Expand Up @@ -6500,7 +6498,7 @@ public class WritePrivatelabelConfiguration : SdkModel
}

/// Dynamic writeable type for Project removes:
/// can, id, uses_git, is_example, data_tests_count
/// can, id, uses_git, is_example
public class WriteProject : SdkModel
{
/// <summary>Project display name</summary>
Expand Down
174 changes: 87 additions & 87 deletions go/sdk/v4/methods.go

Large diffs are not rendered by default.

79 changes: 6 additions & 73 deletions go/sdk/v4/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SOFTWARE.

/*
397 API models: 249 Spec, 66 Request, 60 Write, 22 Enum
392 API models: 249 Spec, 60 Request, 61 Write, 22 Enum
*/

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

const InvestigativeContentType_Dashboard InvestigativeContentType = "dashboard"

type JdbcInterface struct {
Results *string `json:"results,omitempty"` // JDBC Metadata to inflate Avatica response classes.
}

type LDAPConfig struct {
Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object
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.
Expand Down Expand Up @@ -2215,7 +2211,6 @@ type Project struct {
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).
IsExample *bool `json:"is_example,omitempty"` // If true the project is an example project and cannot be modified
DependencyStatus *string `json:"dependency_status,omitempty"` // Status of dependencies in your manifest & lockfile
DataTestsCount *int64 `json:"data_tests_count,omitempty"` // Number of data tests within project
}

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

// Dynamically generated request type for all_lookml_models
type RequestAllLookmlModels struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Limit *int64 `json:"limit,omitempty"` // Number of results to return. (can be used with offset)
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any. (Defaults to 0 if not set when limit is used)
}

// Dynamically generated request type for all_roles
type RequestAllRoles struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Expand All @@ -2445,12 +2433,6 @@ type RequestAllScheduledPlans struct {
AllUsers *bool `json:"all_users,omitempty"` // Return scheduled plans belonging to all users (caller needs see_schedules permission)
}

// Dynamically generated request type for all_user_attributes
type RequestAllUserAttributes struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Sorts *string `json:"sorts,omitempty"` // Fields to order the results by. Sortable fields include: name, label
}

// Dynamically generated request type for all_users
type RequestAllUsers struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Expand Down Expand Up @@ -2894,34 +2876,6 @@ type RequestSearchGroups struct {
ExternallyOrphaned *bool `json:"externally_orphaned,omitempty"` // Match group externally_orphaned.
}

// Dynamically generated request type for search_groups_with_hierarchy
type RequestSearchGroupsWithHierarchy struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression
Id *string `json:"id,omitempty"` // Match group id.
Name *string `json:"name,omitempty"` // Match group name.
ExternalGroupId *string `json:"external_group_id,omitempty"` // Match group external_group_id.
ExternallyManaged *bool `json:"externally_managed,omitempty"` // Match group externally_managed.
ExternallyOrphaned *bool `json:"externally_orphaned,omitempty"` // Match group externally_orphaned.
}

// Dynamically generated request type for search_groups_with_roles
type RequestSearchGroupsWithRoles struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression
Id *string `json:"id,omitempty"` // Match group id.
Name *string `json:"name,omitempty"` // Match group name.
ExternalGroupId *string `json:"external_group_id,omitempty"` // Match group external_group_id.
ExternallyManaged *bool `json:"externally_managed,omitempty"` // Match group externally_managed.
ExternallyOrphaned *bool `json:"externally_orphaned,omitempty"` // Match group externally_orphaned.
}

// Dynamically generated request type for search_looks
type RequestSearchLooks struct {
Id *string `json:"id,omitempty"` // Match look id.
Expand Down Expand Up @@ -2957,19 +2911,6 @@ type RequestSearchModelSets struct {
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
}

// Dynamically generated request type for search_permission_sets
type RequestSearchPermissionSets struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
Id *string `json:"id,omitempty"` // Match permission set id.
Name *string `json:"name,omitempty"` // Match permission set name.
AllAccess *bool `json:"all_access,omitempty"` // Match permission sets by all_access status.
BuiltIn *bool `json:"built_in,omitempty"` // Match permission sets by built_in status.
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
}

// Dynamically generated request type for search_roles
type RequestSearchRoles struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Expand All @@ -2982,18 +2923,6 @@ type RequestSearchRoles struct {
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
}

// Dynamically generated request type for search_roles_with_user_count
type RequestSearchRolesWithUserCount struct {
Fields *string `json:"fields,omitempty"` // Requested fields.
Limit *int64 `json:"limit,omitempty"` // Number of results to return (used with `offset`).
Offset *int64 `json:"offset,omitempty"` // Number of results to skip before returning any (used with `limit`).
Sorts *string `json:"sorts,omitempty"` // Fields to sort by.
Id *string `json:"id,omitempty"` // Match role id.
Name *string `json:"name,omitempty"` // Match role name.
BuiltIn *bool `json:"built_in,omitempty"` // Match roles by built_in status.
FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression.
}

// Dynamically generated request type for search_themes
type RequestSearchThemes struct {
Id *string `json:"id,omitempty"` // Match theme id.
Expand Down Expand Up @@ -3448,6 +3377,10 @@ type SqlInterfaceQueryCreate struct {
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.
}

type SqlInterfaceQueryMetadata struct {
Results *string `json:"results,omitempty"` // JDBC Metadata to inflate Avatica response classes.
}

type SqlQuery struct {
Can *map[string]bool `json:"can,omitempty"` // Operations the current user is able to perform on this object
Slug *string `json:"slug,omitempty"` // The identifier of the SQL query
Expand Down Expand Up @@ -4377,7 +4310,7 @@ type WritePrivatelabelConfiguration struct {
}

// Dynamic writeable type for Project removes:
// can, id, uses_git, is_example, data_tests_count
// can, id, uses_git, is_example
type WriteProject struct {
Name *string `json:"name,omitempty"` // Project display name
GitRemoteUrl *string `json:"git_remote_url,omitempty"` // Git remote repository url
Expand Down
Loading

0 comments on commit 3f13822

Please sign in to comment.