diff --git a/bin/sdk_gen b/bin/sdk_gen index abd087140..0277766af 100755 --- a/bin/sdk_gen +++ b/bin/sdk_gen @@ -8,6 +8,7 @@ * create pull request https://docs.github.com/en/rest/pulls/pulls#create-a-pull-request * */ +const fs = require('fs') const path = require('path') const proc = require('child_process') const looker = require('@looker/sdk-node') @@ -15,6 +16,7 @@ const utf8 = { encoding: 'utf-8' } const root = path.join(__dirname, '/../') const sdk = looker.LookerNodeSDK.init40() +const releaseConfig = path.join(root, 'release-please-config.json') async function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)) @@ -68,14 +70,50 @@ const run = (command) => { return result } +/** + * Updates release-please-config.json to stamp the correct CalVer for the SDKs + * + * if `release-as` is already set, CalVer patch will be bumped if the current + * version is the same as the requested release version. Otherwise, it will be + * set to CalVer.0 + * + * @param release Looker version + * @returns string describing CalVer action + */ +const releasePlease = (release) => { + const config = JSON.parse(fs.readFileSync(releaseConfig, utf8)) + let newVer = `${release}.0` + const calVer = config[`release-as`] + if (calVer === newVer) { + const patch = parseInt(calVer.split('.')[2]) + 1 + newVer = `${release}.${patch}` + } + config['release-as'] = newVer + fs.writeFileSync(releaseConfig, JSON.stringify(config, null, 2), utf8) + const result = `set release please calVer to ${newVer}` + console.info(result) + return result +} + /** * Run multiple commands one after another, returning on first failure - * @param commands + * + * Array can contain both strings (which will be run commands) or functions + * + * Commands should return a string for success and an Error object for failure + * + * @param commands list of commands to run in sequence + * @param release CalVer of release, like 22.14 */ -const batch = (commands) => { +const batch = (commands, release) => { let result = '' for (const command of commands) { - result = run(command) + if (command instanceof Function) { + console.info('running a function ...') + result = command(release) + } else if (typeof command === 'string') { + result = run(command) + } if (!ok(result)) { console.error(`${command} failed.`) return result @@ -175,6 +213,7 @@ const regen = async (release) => { const branch = branchActive() if (await pullci(release)) { return batch([ + (release) => releasePlease(release), 'yarn gen', 'bin/smoke typescript python kotlin', 'git add -A', @@ -182,7 +221,7 @@ const regen = async (release) => { `git push origin ${branch}`, /* create PR */ - ]) + ], release) } else { console.error(`timed out waiting for Looker ${release}`) } diff --git a/csharp/rtl/Constants.cs b/csharp/rtl/Constants.cs index f40b4d3c4..8fb0c3775 100644 --- a/csharp/rtl/Constants.cs +++ b/csharp/rtl/Constants.cs @@ -61,7 +61,7 @@ public struct Constants public const string DefaultApiVersion = "4.0"; public const string AgentPrefix = "CS-SDK"; - public const string LookerVersion = "22.14"; + public const string LookerVersion = "22.12"; public const string Bearer = "Bearer"; public const string LookerAppiId = "x-looker-appid"; diff --git a/csharp/sdk/3.1/models.cs b/csharp/sdk/3.1/models.cs index 0c9db0303..1aef5f4cd 100644 --- a/csharp/sdk/3.1/models.cs +++ b/csharp/sdk/3.1/models.cs @@ -1169,8 +1169,6 @@ public class DBConnection : SdkModel public long? pool_timeout { get; set; } = null; /// (Read/Write) SQL Dialect name public string? dialect_name { get; set; } = null; - /// Database connection has the ability to support open data studio from explore (read-only) - public bool? supports_data_studio_link { get; set; } = null; /// Creation date for this connection (read-only) public string? created_at { get; set; } = null; /// Id of user who last modified this connection configuration (read-only) @@ -4763,7 +4761,7 @@ public class WriteDatagroup : SdkModel } /// Dynamic writeable type for DBConnection removes: -/// can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed +/// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed public class WriteDBConnection : SdkModel { /// Name of the connection. Also used as the unique identifier diff --git a/csharp/sdk/4.0/methods.cs b/csharp/sdk/4.0/methods.cs index 89e470759..c21f6dd0f 100644 --- a/csharp/sdk/4.0/methods.cs +++ b/csharp/sdk/4.0/methods.cs @@ -1381,7 +1381,6 @@ public async Task> create_board( /// The number of items to skip before returning any. (used with limit and takes priority over page and per_page) /// The maximum number of items to return. (used with offset and takes priority over page and per_page) /// Combine given search criteria in a boolean OR expression - /// Filter results based on permission, either show (default) or update public async Task> search_boards( string? title = null, string? created_at = null, @@ -1396,7 +1395,6 @@ public async Task> search_boards( long? offset = null, long? limit = null, bool? filter_or = null, - string? permission = null, ITransportSettings? options = null) { return await AuthRequest(HttpMethod.Get, "/boards/search", new Values { @@ -1412,8 +1410,7 @@ public async Task> search_boards( { "per_page", per_page }, { "offset", offset }, { "limit", limit }, - { "filter_or", filter_or }, - { "permission", permission }},null,options); + { "filter_or", filter_or }},null,options); } /// ### Get information about a board. diff --git a/csharp/sdk/4.0/models.cs b/csharp/sdk/4.0/models.cs index 7f4295ec7..1b8d9151f 100644 --- a/csharp/sdk/4.0/models.cs +++ b/csharp/sdk/4.0/models.cs @@ -1554,8 +1554,6 @@ public class DBConnection : SdkModel public long? pool_timeout { get; set; } = null; /// (Read/Write) SQL Dialect name public string? dialect_name { get; set; } = null; - /// Database connection has the ability to support open data studio from explore (read-only) - public bool? supports_data_studio_link { get; set; } = null; /// Creation date for this connection (read-only) public string? created_at { get; set; } = null; /// Id of user who last modified this connection configuration (read-only) @@ -5605,7 +5603,7 @@ public class WriteDatagroup : SdkModel } /// Dynamic writeable type for DBConnection removes: -/// can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed +/// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed public class WriteDBConnection : SdkModel { /// Name of the connection. Also used as the unique identifier diff --git a/go/sdk/v4/methods.go b/go/sdk/v4/methods.go index c5a0b48e9..f35bed1f4 100644 --- a/go/sdk/v4/methods.go +++ b/go/sdk/v4/methods.go @@ -1190,7 +1190,7 @@ func (l *LookerSDK) CreateBoard( func (l *LookerSDK) SearchBoards(request RequestSearchBoards, options *rtl.ApiSettings) ([]Board, error) { var result []Board - err := l.session.Do(&result, "GET", "/4.0", "/boards/search", map[string]interface{}{"title": request.Title, "created_at": request.CreatedAt, "first_name": request.FirstName, "last_name": request.LastName, "fields": request.Fields, "favorited": request.Favorited, "creator_id": request.CreatorId, "sorts": request.Sorts, "page": request.Page, "per_page": request.PerPage, "offset": request.Offset, "limit": request.Limit, "filter_or": request.FilterOr, "permission": request.Permission}, nil, options) + err := l.session.Do(&result, "GET", "/4.0", "/boards/search", map[string]interface{}{"title": request.Title, "created_at": request.CreatedAt, "first_name": request.FirstName, "last_name": request.LastName, "fields": request.Fields, "favorited": request.Favorited, "creator_id": request.CreatorId, "sorts": request.Sorts, "page": request.Page, "per_page": request.PerPage, "offset": request.Offset, "limit": request.Limit, "filter_or": request.FilterOr}, nil, options) return result, err } diff --git a/go/sdk/v4/models.go b/go/sdk/v4/models.go index a77eb909d..0dec50a0b 100644 --- a/go/sdk/v4/models.go +++ b/go/sdk/v4/models.go @@ -887,7 +887,6 @@ type DBConnection struct { JdbcAdditionalParams *string `json:"jdbc_additional_params,omitempty"` // Additional params to add to JDBC connection string PoolTimeout *int64 `json:"pool_timeout,omitempty"` // Connection Pool Timeout, in seconds DialectName *string `json:"dialect_name,omitempty"` // (Read/Write) SQL Dialect name - SupportsDataStudioLink *bool `json:"supports_data_studio_link,omitempty"` // Database connection has the ability to support open data studio from explore CreatedAt *string `json:"created_at,omitempty"` // Creation date for this connection UserId *string `json:"user_id,omitempty"` // Id of user who last modified this connection configuration Example *bool `json:"example,omitempty"` // Is this an example connection? @@ -2595,20 +2594,19 @@ type RequestSearchAlerts struct { // Dynamically generated request type for search_boards type RequestSearchBoards struct { - Title *string `json:"title,omitempty"` // Matches board title. - CreatedAt *string `json:"created_at,omitempty"` // Matches the timestamp for when the board was created. - FirstName *string `json:"first_name,omitempty"` // The first name of the user who created this board. - LastName *string `json:"last_name,omitempty"` // The last name of the user who created this board. - Fields *string `json:"fields,omitempty"` // Requested fields. - Favorited *bool `json:"favorited,omitempty"` // Return favorited boards when true. - CreatorId *string `json:"creator_id,omitempty"` // Filter on boards created by a particular user. - Sorts *string `json:"sorts,omitempty"` // The fields to sort the results by - Page *int64 `json:"page,omitempty"` // The page to return. DEPRECATED. Use offset instead. - PerPage *int64 `json:"per_page,omitempty"` // The number of items in the returned page. DEPRECATED. Use limit instead. - Offset *int64 `json:"offset,omitempty"` // The number of items to skip before returning any. (used with limit and takes priority over page and per_page) - Limit *int64 `json:"limit,omitempty"` // The maximum number of items to return. (used with offset and takes priority over page and per_page) - FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression - Permission *string `json:"permission,omitempty"` // Filter results based on permission, either show (default) or update + Title *string `json:"title,omitempty"` // Matches board title. + CreatedAt *string `json:"created_at,omitempty"` // Matches the timestamp for when the board was created. + FirstName *string `json:"first_name,omitempty"` // The first name of the user who created this board. + LastName *string `json:"last_name,omitempty"` // The last name of the user who created this board. + Fields *string `json:"fields,omitempty"` // Requested fields. + Favorited *bool `json:"favorited,omitempty"` // Return favorited boards when true. + CreatorId *string `json:"creator_id,omitempty"` // Filter on boards created by a particular user. + Sorts *string `json:"sorts,omitempty"` // The fields to sort the results by + Page *int64 `json:"page,omitempty"` // The page to return. DEPRECATED. Use offset instead. + PerPage *int64 `json:"per_page,omitempty"` // The number of items in the returned page. DEPRECATED. Use limit instead. + Offset *int64 `json:"offset,omitempty"` // The number of items to skip before returning any. (used with limit and takes priority over page and per_page) + Limit *int64 `json:"limit,omitempty"` // The maximum number of items to return. (used with offset and takes priority over page and per_page) + FilterOr *bool `json:"filter_or,omitempty"` // Combine given search criteria in a boolean OR expression } // Dynamically generated request type for search_content_favorites @@ -3825,7 +3823,7 @@ type WriteDatagroup struct { } // Dynamic writeable type for DBConnection removes: -// can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed +// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed type WriteDBConnection struct { Name *string `json:"name,omitempty"` // Name of the connection. Also used as the unique identifier Host *string `json:"host,omitempty"` // Host name/address of server diff --git a/kotlin/src/main/com/looker/sdk/4.0/methods.kt b/kotlin/src/main/com/looker/sdk/4.0/methods.kt index 5739b67fb..914e576ca 100644 --- a/kotlin/src/main/com/looker/sdk/4.0/methods.kt +++ b/kotlin/src/main/com/looker/sdk/4.0/methods.kt @@ -1401,7 +1401,6 @@ class LookerSDK(authSession: AuthSession) : APIMethods(authSession) { * @param {Long} offset The number of items to skip before returning any. (used with limit and takes priority over page and per_page) * @param {Long} limit The maximum number of items to return. (used with offset and takes priority over page and per_page) * @param {Boolean} filter_or Combine given search criteria in a boolean OR expression - * @param {String} permission Filter results based on permission, either show (default) or update * * GET /boards/search -> Array */ @@ -1418,8 +1417,7 @@ class LookerSDK(authSession: AuthSession) : APIMethods(authSession) { per_page: Long? = null, offset: Long? = null, limit: Long? = null, - filter_or: Boolean? = null, - permission: String? = null + filter_or: Boolean? = null ) : SDKResponse { return this.get>("/boards/search", mapOf("title" to title, @@ -1434,8 +1432,7 @@ class LookerSDK(authSession: AuthSession) : APIMethods(authSession) { "per_page" to per_page, "offset" to offset, "limit" to limit, - "filter_or" to filter_or, - "permission" to permission)) + "filter_or" to filter_or)) } diff --git a/kotlin/src/main/com/looker/sdk/4.0/models.kt b/kotlin/src/main/com/looker/sdk/4.0/models.kt index ec843c81b..5e9e3891f 100644 --- a/kotlin/src/main/com/looker/sdk/4.0/models.kt +++ b/kotlin/src/main/com/looker/sdk/4.0/models.kt @@ -1622,7 +1622,6 @@ data class Datagroup ( * @property jdbc_additional_params Additional params to add to JDBC connection string * @property pool_timeout Connection Pool Timeout, in seconds * @property dialect_name (Read/Write) SQL Dialect name - * @property supports_data_studio_link Database connection has the ability to support open data studio from explore (read-only) * @property created_at Creation date for this connection (read-only) * @property user_id Id of user who last modified this connection configuration (read-only) * @property example Is this an example connection? (read-only) @@ -1669,7 +1668,6 @@ data class DBConnection ( var jdbc_additional_params: String? = null, var pool_timeout: Long? = null, var dialect_name: String? = null, - var supports_data_studio_link: Boolean? = null, var created_at: String? = null, var user_id: String? = null, var example: Boolean? = null, @@ -5858,7 +5856,7 @@ data class WriteDatagroup ( /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed * * @property name Name of the connection. Also used as the unique identifier * @property host Host name/address of server diff --git a/kotlin/src/main/com/looker/sdk/4.0/streams.kt b/kotlin/src/main/com/looker/sdk/4.0/streams.kt index e4738a17c..64353caf6 100644 --- a/kotlin/src/main/com/looker/sdk/4.0/streams.kt +++ b/kotlin/src/main/com/looker/sdk/4.0/streams.kt @@ -1400,7 +1400,6 @@ class LookerSDKStream(authSession: AuthSession) : APIMethods(authSession) { * @param {Long} offset The number of items to skip before returning any. (used with limit and takes priority over page and per_page) * @param {Long} limit The maximum number of items to return. (used with offset and takes priority over page and per_page) * @param {Boolean} filter_or Combine given search criteria in a boolean OR expression - * @param {String} permission Filter results based on permission, either show (default) or update * * GET /boards/search -> ByteArray */ @@ -1417,8 +1416,7 @@ class LookerSDKStream(authSession: AuthSession) : APIMethods(authSession) { per_page: Long? = null, offset: Long? = null, limit: Long? = null, - filter_or: Boolean? = null, - permission: String? = null + filter_or: Boolean? = null ) : SDKResponse { return this.get("/boards/search", mapOf("title" to title, @@ -1433,8 +1431,7 @@ class LookerSDKStream(authSession: AuthSession) : APIMethods(authSession) { "per_page" to per_page, "offset" to offset, "limit" to limit, - "filter_or" to filter_or, - "permission" to permission)) + "filter_or" to filter_or)) } diff --git a/kotlin/src/main/com/looker/sdk/Constants.kt b/kotlin/src/main/com/looker/sdk/Constants.kt index 6fdbc8b4f..e472e73d8 100644 --- a/kotlin/src/main/com/looker/sdk/Constants.kt +++ b/kotlin/src/main/com/looker/sdk/Constants.kt @@ -28,7 +28,7 @@ package com.looker.sdk const val ENVIRONMENT_PREFIX = "LOOKERSDK" const val SDK_TAG = "KT-SDK" -const val LOOKER_VERSION = "22.14" +const val LOOKER_VERSION = "22.12" const val API_VERSION = "4.0" const val AGENT_TAG = "$SDK_TAG $LOOKER_VERSION" const val LOOKER_APPID = "x-looker-appid" diff --git a/packages/sdk/src/3.1/models.ts b/packages/sdk/src/3.1/models.ts index e7175eb9c..29f430a61 100644 --- a/packages/sdk/src/3.1/models.ts +++ b/packages/sdk/src/3.1/models.ts @@ -1955,10 +1955,6 @@ export interface IDBConnection { * (Read/Write) SQL Dialect name */ dialect_name?: string | null - /** - * Database connection has the ability to support open data studio from explore (read-only) - */ - supports_data_studio_link?: boolean /** * Creation date for this connection (read-only) */ @@ -9792,7 +9788,7 @@ export interface IWriteDatagroup { /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed */ export interface IWriteDBConnection { /** diff --git a/packages/sdk/src/4.0/funcs.ts b/packages/sdk/src/4.0/funcs.ts index 3d9f8cf3b..7f699c81c 100644 --- a/packages/sdk/src/4.0/funcs.ts +++ b/packages/sdk/src/4.0/funcs.ts @@ -2164,7 +2164,6 @@ export const search_boards = async ( offset: request.offset, limit: request.limit, filter_or: request.filter_or, - permission: request.permission, }, null, options diff --git a/packages/sdk/src/4.0/methods.ts b/packages/sdk/src/4.0/methods.ts index 1575af27e..0edd70eba 100644 --- a/packages/sdk/src/4.0/methods.ts +++ b/packages/sdk/src/4.0/methods.ts @@ -2042,7 +2042,6 @@ export class Looker40SDK extends APIMethods implements ILooker40SDK { offset: request.offset, limit: request.limit, filter_or: request.filter_or, - permission: request.permission, }, null, options diff --git a/packages/sdk/src/4.0/models.ts b/packages/sdk/src/4.0/models.ts index 7950e5d7c..64e469e91 100644 --- a/packages/sdk/src/4.0/models.ts +++ b/packages/sdk/src/4.0/models.ts @@ -2596,10 +2596,6 @@ export interface IDBConnection { * (Read/Write) SQL Dialect name */ dialect_name?: string | null - /** - * Database connection has the ability to support open data studio from explore (read-only) - */ - supports_data_studio_link?: boolean /** * Creation date for this connection (read-only) */ @@ -7896,10 +7892,6 @@ export interface IRequestSearchBoards { * Combine given search criteria in a boolean OR expression */ filter_or?: boolean | null - /** - * Filter results based on permission, either show (default) or update - */ - permission?: string | null } /** @@ -11510,7 +11502,7 @@ export interface IWriteDatagroup { /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed */ export interface IWriteDBConnection { /** diff --git a/packages/sdk/src/4.0/streams.ts b/packages/sdk/src/4.0/streams.ts index 6defe5a7c..de8e2aee7 100644 --- a/packages/sdk/src/4.0/streams.ts +++ b/packages/sdk/src/4.0/streams.ts @@ -2330,7 +2330,6 @@ export class Looker40SDKStream extends APIMethods { offset: request.offset, limit: request.limit, filter_or: request.filter_or, - permission: request.permission, }, null, options diff --git a/packages/sdk/src/constants.ts b/packages/sdk/src/constants.ts index 54a7309a6..0512241d2 100644 --- a/packages/sdk/src/constants.ts +++ b/packages/sdk/src/constants.ts @@ -24,5 +24,5 @@ */ -export const sdkVersion = '22.14' +export const sdkVersion = '22.12' export const environmentPrefix = 'LOOKERSDK' diff --git a/python/looker_sdk/sdk/api31/models.py b/python/looker_sdk/sdk/api31/models.py index efea435a8..3f2806132 100644 --- a/python/looker_sdk/sdk/api31/models.py +++ b/python/looker_sdk/sdk/api31/models.py @@ -2532,7 +2532,6 @@ class DBConnection(model.Model): jdbc_additional_params: Additional params to add to JDBC connection string pool_timeout: Connection Pool Timeout, in seconds dialect_name: (Read/Write) SQL Dialect name - supports_data_studio_link: Database connection has the ability to support open data studio from explore created_at: Creation date for this connection user_id: Id of user who last modified this connection configuration example: Is this an example connection? @@ -2572,7 +2571,6 @@ class DBConnection(model.Model): jdbc_additional_params: Optional[str] = None pool_timeout: Optional[int] = None dialect_name: Optional[str] = None - supports_data_studio_link: Optional[bool] = None created_at: Optional[str] = None user_id: Optional[str] = None example: Optional[bool] = None @@ -2614,7 +2612,6 @@ def __init__( jdbc_additional_params: Optional[str] = None, pool_timeout: Optional[int] = None, dialect_name: Optional[str] = None, - supports_data_studio_link: Optional[bool] = None, created_at: Optional[str] = None, user_id: Optional[str] = None, example: Optional[bool] = None, @@ -2653,7 +2650,6 @@ def __init__( self.jdbc_additional_params = jdbc_additional_params self.pool_timeout = pool_timeout self.dialect_name = dialect_name - self.supports_data_studio_link = supports_data_studio_link self.created_at = created_at self.user_id = user_id self.example = example @@ -10304,7 +10300,7 @@ def __init__( class WriteDBConnection(model.Model): """ Dynamic writeable type for DBConnection removes: - can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed + can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed Attributes: name: Name of the connection. Also used as the unique identifier diff --git a/python/looker_sdk/sdk/api40/methods.py b/python/looker_sdk/sdk/api40/methods.py index 113a34fe5..9efc8f9b2 100644 --- a/python/looker_sdk/sdk/api40/methods.py +++ b/python/looker_sdk/sdk/api40/methods.py @@ -1793,8 +1793,6 @@ def search_boards( limit: Optional[int] = None, # Combine given search criteria in a boolean OR expression filter_or: Optional[bool] = None, - # Filter results based on permission, either show (default) or update - permission: Optional[str] = None, transport_options: Optional[transport.TransportOptions] = None, ) -> Sequence[mdls.Board]: """Search Boards""" @@ -1817,7 +1815,6 @@ def search_boards( "offset": offset, "limit": limit, "filter_or": filter_or, - "permission": permission, }, transport_options=transport_options, ), diff --git a/python/looker_sdk/sdk/api40/models.py b/python/looker_sdk/sdk/api40/models.py index 0a9fb4561..fa2403e54 100644 --- a/python/looker_sdk/sdk/api40/models.py +++ b/python/looker_sdk/sdk/api40/models.py @@ -3401,7 +3401,6 @@ class DBConnection(model.Model): jdbc_additional_params: Additional params to add to JDBC connection string pool_timeout: Connection Pool Timeout, in seconds dialect_name: (Read/Write) SQL Dialect name - supports_data_studio_link: Database connection has the ability to support open data studio from explore created_at: Creation date for this connection user_id: Id of user who last modified this connection configuration example: Is this an example connection? @@ -3448,7 +3447,6 @@ class DBConnection(model.Model): jdbc_additional_params: Optional[str] = None pool_timeout: Optional[int] = None dialect_name: Optional[str] = None - supports_data_studio_link: Optional[bool] = None created_at: Optional[str] = None user_id: Optional[str] = None example: Optional[bool] = None @@ -3497,7 +3495,6 @@ def __init__( jdbc_additional_params: Optional[str] = None, pool_timeout: Optional[int] = None, dialect_name: Optional[str] = None, - supports_data_studio_link: Optional[bool] = None, created_at: Optional[str] = None, user_id: Optional[str] = None, example: Optional[bool] = None, @@ -3543,7 +3540,6 @@ def __init__( self.jdbc_additional_params = jdbc_additional_params self.pool_timeout = pool_timeout self.dialect_name = dialect_name - self.supports_data_studio_link = supports_data_studio_link self.created_at = created_at self.user_id = user_id self.example = example @@ -12231,7 +12227,7 @@ def __init__( class WriteDBConnection(model.Model): """ Dynamic writeable type for DBConnection removes: - can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed + can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed Attributes: name: Name of the connection. Also used as the unique identifier diff --git a/python/looker_sdk/sdk/constants.py b/python/looker_sdk/sdk/constants.py index ea712aa2f..52d318bb7 100644 --- a/python/looker_sdk/sdk/constants.py +++ b/python/looker_sdk/sdk/constants.py @@ -20,5 +20,5 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -sdk_version = "22.14" +sdk_version = "22.12" environment_prefix = "LOOKERSDK" diff --git a/release-please-config.json b/release-please-config.json index f3424f3f0..abbd5be47 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,25 +1,50 @@ { - "plugins": ["node-workspace"], + "plugins": [ + "node-workspace" + ], "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": true, - "release-as": "22.14.0", + "release-as": "22.12.1", "packages": { - ".": { "release-as": "" }, - "packages/api-explorer": { "release-as": "" }, - "packages/code-editor": { "release-as": "" }, - "packages/extension-api-explorer": { }, - "packages/extension-sdk": { }, - "packages/extension-sdk-react": { }, - "packages/extension-utils": { "release-as": "" }, - "packages/hackathon": { }, - "packages/run-it": { "release-as": "" }, - "packages/sdk": { }, - "packages/sdk-codegen": { "release-as": "" }, - "packages/sdk-codegen-scripts": { "release-as": "" }, - "packages/sdk-codegen-utils": { "release-as": "" }, - "packages/sdk-node": { }, - "packages/sdk-rtl": { "release-as": "" }, - "packages/wholly-sheet": { "release-as": "" }, - "python": { "release-type": "python", "package-name": "looker_sdk" } + ".": { + "release-as": "" + }, + "packages/api-explorer": { + "release-as": "" + }, + "packages/code-editor": { + "release-as": "" + }, + "packages/extension-api-explorer": {}, + "packages/extension-sdk": {}, + "packages/extension-sdk-react": {}, + "packages/extension-utils": { + "release-as": "" + }, + "packages/hackathon": {}, + "packages/run-it": { + "release-as": "" + }, + "packages/sdk": {}, + "packages/sdk-codegen": { + "release-as": "" + }, + "packages/sdk-codegen-scripts": { + "release-as": "" + }, + "packages/sdk-codegen-utils": { + "release-as": "" + }, + "packages/sdk-node": {}, + "packages/sdk-rtl": { + "release-as": "" + }, + "packages/wholly-sheet": { + "release-as": "" + }, + "python": { + "release-type": "python", + "package-name": "looker_sdk" + } } -} +} \ No newline at end of file diff --git a/spec/Looker.3.1.json b/spec/Looker.3.1.json index 30dc88222..4878befd9 100644 --- a/spec/Looker.3.1.json +++ b/spec/Looker.3.1.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "version": "3.1.0", - "x-looker-release-version": "22.14.71", + "x-looker-release-version": "22.12.83", "title": "Looker API 3.1 Reference", "description": "### Authorization\n\nThe classic method of API authorization uses Looker **API3** credentials for authorization and access control.\nLooker admins can create API3 credentials on Looker's **Admin/Users** page.\n\nAPI 4.0 adds additional ways to authenticate API requests, including OAuth and CORS requests.\n\nFor details, see [Looker API Authorization](https://docs.looker.com/r/api/authorization).\n\n\n### API Explorer\n\nThe API Explorer is a Looker-provided utility with many new and unique features for learning and using the Looker API and SDKs.\n\nFor details, see the [API Explorer documentation](https://docs.looker.com/r/api/explorer).\n\n\n### Looker Language SDKs\n\nThe Looker API is a RESTful system that should be usable by any programming language capable of making\nHTTPS requests. SDKs for a variety of programming languages are also provided to streamline using the API. Looker\nhas an OpenSource [sdk-codegen project](https://github.com/looker-open-source/sdk-codegen) that provides several\nlanguage SDKs. Language SDKs generated by `sdk-codegen` have an Authentication manager that can automatically\nauthenticate API requests when needed.\n\nFor details on available Looker SDKs, see [Looker API Client SDKs](https://docs.looker.com/r/api/client_sdks).\n\n\n### API Versioning\n\nFuture releases of Looker expand the latest API version release-by-release to securely expose more and more of the core\npower of the Looker platform to API client applications. API endpoints marked as \"beta\" may receive breaking changes without\nwarning (but we will try to avoid doing that). Stable (non-beta) API endpoints should not receive breaking\nchanges in future releases.\n\nFor details, see [Looker API Versioning](https://docs.looker.com/r/api/versioning).\n\n\n### 3.1 Legacy API\n\nAPI 3.1 is now **deprecated**. API 4.0 should be used instead.\n\nThe text below is retained for reference purposes.\n\nThe following are a few examples of noteworthy items that have changed between API 3.0 and API 3.1.\nFor more comprehensive coverage of API changes, please see the release notes for your Looker release.\n\n### Examples of new things added in API 3.1 (compared to API 3.0):\n\n* [Dashboard construction](#!/3.1/Dashboard/) APIs\n* [Themes](#!/3.1/Theme/) and [custom color collections](#!/3.1/ColorCollection) APIs\n* Create and run [SQL Runner](#!/3.1/Query/run_sql_query) queries\n* Create and run [merged results](#!/3.1/Query/create_merge_query) queries\n* Create and modify [dashboard filters](#!/3.1/Dashboard/create_dashboard_filter)\n* Create and modify [password requirements](#!/3.1/Auth/password_config)\n\n### Deprecated in API 3.0\n\nThe following functions and properties have been deprecated in API 3.0. They continue to exist and work in API 3.0\nfor the next several Looker releases but they have not been carried forward to API 3.1:\n\n* Dashboard Prefetch functions\n* User access_filter functions\n* User API 1.0 credentials functions\n* Space.is_root and Space.is_user_root properties. Use Space.is_shared_root and Space.is_users_root instead.\n\n### Semantic changes in API 3.1:\n\n* [all_looks()](#!/3.1/Look/all_looks) no longer includes soft-deleted looks, matching [all_dashboards()](#!/3.1/Dashboard/all_dashboards) behavior.\nYou can find soft-deleted looks using [search_looks()](#!/3.1/Look/search_looks) with the `deleted` param set to True.\n* [all_spaces()](#!/3.1/Space/all_spaces) no longer includes duplicate items\n* [search_users()](#!/3.1/User/search_users) no longer accepts Y,y,1,0,N,n for Boolean params, only \"true\" and \"false\".\n* For greater client and network compatibility, [render_task_results](#!/3.1/RenderTask/render_task_results) now returns\nHTTP status **202 Accepted** instead of HTTP status **102 Processing**\n* [all_running_queries()](#!/3.1/Query/all_running_queries) and [kill_query](#!/3.1/Query/kill_query) functions have moved into the [Query](#!/3.1/Query/) function group.\n\nThe API Explorer can be used to [interactively compare](https://docs.looker.com/r/api/explorer#comparing_api_versions) the differences between API 3.1 and 4.0.\n\n\n### API and SDK Support Policies\n\nLooker API versions and language SDKs have varying support levels. Please read the API and SDK\n[support policies](https://docs.looker.com/r/api/support-policy) for more information.\n\n\n", "contact": { @@ -24391,12 +24391,6 @@ "description": "(Read/Write) SQL Dialect name", "x-looker-nullable": true }, - "supports_data_studio_link": { - "type": "boolean", - "readOnly": true, - "description": "Database connection has the ability to support open data studio from explore", - "x-looker-nullable": false - }, "created_at": { "type": "string", "readOnly": true, diff --git a/spec/Looker.3.1.oas.json b/spec/Looker.3.1.oas.json index e1f80a6b5..6e94020bf 100644 --- a/spec/Looker.3.1.oas.json +++ b/spec/Looker.3.1.oas.json @@ -2,7 +2,7 @@ "openapi": "3.0.0", "info": { "version": "3.1.0", - "x-looker-release-version": "22.14.71", + "x-looker-release-version": "22.12.83", "title": "Looker API 3.1 Reference", "description": "### Authorization\n\nThe classic method of API authorization uses Looker **API3** credentials for authorization and access control.\nLooker admins can create API3 credentials on Looker's **Admin/Users** page.\n\nAPI 4.0 adds additional ways to authenticate API requests, including OAuth and CORS requests.\n\nFor details, see [Looker API Authorization](https://docs.looker.com/r/api/authorization).\n\n\n### API Explorer\n\nThe API Explorer is a Looker-provided utility with many new and unique features for learning and using the Looker API and SDKs.\n\nFor details, see the [API Explorer documentation](https://docs.looker.com/r/api/explorer).\n\n\n### Looker Language SDKs\n\nThe Looker API is a RESTful system that should be usable by any programming language capable of making\nHTTPS requests. SDKs for a variety of programming languages are also provided to streamline using the API. Looker\nhas an OpenSource [sdk-codegen project](https://github.com/looker-open-source/sdk-codegen) that provides several\nlanguage SDKs. Language SDKs generated by `sdk-codegen` have an Authentication manager that can automatically\nauthenticate API requests when needed.\n\nFor details on available Looker SDKs, see [Looker API Client SDKs](https://docs.looker.com/r/api/client_sdks).\n\n\n### API Versioning\n\nFuture releases of Looker expand the latest API version release-by-release to securely expose more and more of the core\npower of the Looker platform to API client applications. API endpoints marked as \"beta\" may receive breaking changes without\nwarning (but we will try to avoid doing that). Stable (non-beta) API endpoints should not receive breaking\nchanges in future releases.\n\nFor details, see [Looker API Versioning](https://docs.looker.com/r/api/versioning).\n\n\n### 3.1 Legacy API\n\nAPI 3.1 is now **deprecated**. API 4.0 should be used instead.\n\nThe text below is retained for reference purposes.\n\nThe following are a few examples of noteworthy items that have changed between API 3.0 and API 3.1.\nFor more comprehensive coverage of API changes, please see the release notes for your Looker release.\n\n### Examples of new things added in API 3.1 (compared to API 3.0):\n\n* [Dashboard construction](#!/3.1/Dashboard/) APIs\n* [Themes](#!/3.1/Theme/) and [custom color collections](#!/3.1/ColorCollection) APIs\n* Create and run [SQL Runner](#!/3.1/Query/run_sql_query) queries\n* Create and run [merged results](#!/3.1/Query/create_merge_query) queries\n* Create and modify [dashboard filters](#!/3.1/Dashboard/create_dashboard_filter)\n* Create and modify [password requirements](#!/3.1/Auth/password_config)\n\n### Deprecated in API 3.0\n\nThe following functions and properties have been deprecated in API 3.0. They continue to exist and work in API 3.0\nfor the next several Looker releases but they have not been carried forward to API 3.1:\n\n* Dashboard Prefetch functions\n* User access_filter functions\n* User API 1.0 credentials functions\n* Space.is_root and Space.is_user_root properties. Use Space.is_shared_root and Space.is_users_root instead.\n\n### Semantic changes in API 3.1:\n\n* [all_looks()](#!/3.1/Look/all_looks) no longer includes soft-deleted looks, matching [all_dashboards()](#!/3.1/Dashboard/all_dashboards) behavior.\nYou can find soft-deleted looks using [search_looks()](#!/3.1/Look/search_looks) with the `deleted` param set to True.\n* [all_spaces()](#!/3.1/Space/all_spaces) no longer includes duplicate items\n* [search_users()](#!/3.1/User/search_users) no longer accepts Y,y,1,0,N,n for Boolean params, only \"true\" and \"false\".\n* For greater client and network compatibility, [render_task_results](#!/3.1/RenderTask/render_task_results) now returns\nHTTP status **202 Accepted** instead of HTTP status **102 Processing**\n* [all_running_queries()](#!/3.1/Query/all_running_queries) and [kill_query](#!/3.1/Query/kill_query) functions have moved into the [Query](#!/3.1/Query/) function group.\n\nThe API Explorer can be used to [interactively compare](https://docs.looker.com/r/api/explorer#comparing_api_versions) the differences between API 3.1 and 4.0.\n\n\n### API and SDK Support Policies\n\nLooker API versions and language SDKs have varying support levels. Please read the API and SDK\n[support policies](https://docs.looker.com/r/api/support-policy) for more information.\n\n\n", "contact": { @@ -31866,12 +31866,6 @@ "description": "(Read/Write) SQL Dialect name", "nullable": true }, - "supports_data_studio_link": { - "type": "boolean", - "readOnly": true, - "description": "Database connection has the ability to support open data studio from explore", - "nullable": false - }, "created_at": { "type": "string", "readOnly": true, diff --git a/spec/Looker.4.0.json b/spec/Looker.4.0.json index ffbbdde33..f0c389348 100644 --- a/spec/Looker.4.0.json +++ b/spec/Looker.4.0.json @@ -1,8 +1,8 @@ { "swagger": "2.0", "info": { - "version": "4.0.22.14", - "x-looker-release-version": "22.14.71", + "version": "4.0.22.12", + "x-looker-release-version": "22.12.83", "title": "Looker API 4.0 Reference", "description": "\nAPI 4.0 is the current release of the Looker API. API 3.1 is deprecated.\n\n### Authorization\n\nThe classic method of API authorization uses Looker **API3** credentials for authorization and access control.\nLooker admins can create API3 credentials on Looker's **Admin/Users** page.\n\nAPI 4.0 adds additional ways to authenticate API requests, including OAuth and CORS requests.\n\nFor details, see [Looker API Authorization](https://docs.looker.com/r/api/authorization).\n\n\n### API Explorer\n\nThe API Explorer is a Looker-provided utility with many new and unique features for learning and using the Looker API and SDKs.\n\nFor details, see the [API Explorer documentation](https://docs.looker.com/r/api/explorer).\n\n\n### Looker Language SDKs\n\nThe Looker API is a RESTful system that should be usable by any programming language capable of making\nHTTPS requests. SDKs for a variety of programming languages are also provided to streamline using the API. Looker\nhas an OpenSource [sdk-codegen project](https://github.com/looker-open-source/sdk-codegen) that provides several\nlanguage SDKs. Language SDKs generated by `sdk-codegen` have an Authentication manager that can automatically\nauthenticate API requests when needed.\n\nFor details on available Looker SDKs, see [Looker API Client SDKs](https://docs.looker.com/r/api/client_sdks).\n\n\n### API Versioning\n\nFuture releases of Looker expand the latest API version release-by-release to securely expose more and more of the core\npower of the Looker platform to API client applications. API endpoints marked as \"beta\" may receive breaking changes without\nwarning (but we will try to avoid doing that). Stable (non-beta) API endpoints should not receive breaking\nchanges in future releases.\n\nFor details, see [Looker API Versioning](https://docs.looker.com/r/api/versioning).\n\n\n### In This Release\n\nAPI 4.0 version was introduced to make adjustments to API functions, parameters, and response types to\nfix bugs and inconsistencies. These changes fall outside the bounds of non-breaking additive changes we can\nmake to the previous API 3.1.\n\nOne benefit of these type adjustments in API 4.0 is dramatically better support for strongly\ntyped languages like TypeScript, Kotlin, Swift, Go, C#, and more.\n\nSee the [API 4.0 GA announcement](https://developers.looker.com/api/advanced-usage/version-4-ga) for more information\nabout API 4.0.\n\nThe API Explorer can be used to [interactively compare](https://docs.looker.com/r/api/explorer#comparing_api_versions) the differences between API 3.1 and 4.0.\n\n\n### API and SDK Support Policies\n\nLooker API versions and language SDKs have varying support levels. Please read the API and SDK\n[support policies](https://docs.looker.com/r/api/support-policy) for more information.\n\n\n", "contact": { @@ -8800,13 +8800,6 @@ "description": "Combine given search criteria in a boolean OR expression", "required": false, "type": "boolean" - }, - { - "name": "permission", - "in": "query", - "description": "Filter results based on permission, either show (default) or update", - "required": false, - "type": "string" } ], "responses": { @@ -28539,12 +28532,6 @@ "description": "(Read/Write) SQL Dialect name", "x-looker-nullable": true }, - "supports_data_studio_link": { - "type": "boolean", - "readOnly": true, - "description": "Database connection has the ability to support open data studio from explore", - "x-looker-nullable": false - }, "created_at": { "type": "string", "readOnly": true, diff --git a/spec/Looker.4.0.oas.json b/spec/Looker.4.0.oas.json index f174af348..5d1cbcdf8 100644 --- a/spec/Looker.4.0.oas.json +++ b/spec/Looker.4.0.oas.json @@ -1,8 +1,8 @@ { "openapi": "3.0.0", "info": { - "version": "4.0.22.14", - "x-looker-release-version": "22.14.71", + "version": "4.0.22.12", + "x-looker-release-version": "22.12.83", "title": "Looker API 4.0 Reference", "description": "\nAPI 4.0 is the current release of the Looker API. API 3.1 is deprecated.\n\n### Authorization\n\nThe classic method of API authorization uses Looker **API3** credentials for authorization and access control.\nLooker admins can create API3 credentials on Looker's **Admin/Users** page.\n\nAPI 4.0 adds additional ways to authenticate API requests, including OAuth and CORS requests.\n\nFor details, see [Looker API Authorization](https://docs.looker.com/r/api/authorization).\n\n\n### API Explorer\n\nThe API Explorer is a Looker-provided utility with many new and unique features for learning and using the Looker API and SDKs.\n\nFor details, see the [API Explorer documentation](https://docs.looker.com/r/api/explorer).\n\n\n### Looker Language SDKs\n\nThe Looker API is a RESTful system that should be usable by any programming language capable of making\nHTTPS requests. SDKs for a variety of programming languages are also provided to streamline using the API. Looker\nhas an OpenSource [sdk-codegen project](https://github.com/looker-open-source/sdk-codegen) that provides several\nlanguage SDKs. Language SDKs generated by `sdk-codegen` have an Authentication manager that can automatically\nauthenticate API requests when needed.\n\nFor details on available Looker SDKs, see [Looker API Client SDKs](https://docs.looker.com/r/api/client_sdks).\n\n\n### API Versioning\n\nFuture releases of Looker expand the latest API version release-by-release to securely expose more and more of the core\npower of the Looker platform to API client applications. API endpoints marked as \"beta\" may receive breaking changes without\nwarning (but we will try to avoid doing that). Stable (non-beta) API endpoints should not receive breaking\nchanges in future releases.\n\nFor details, see [Looker API Versioning](https://docs.looker.com/r/api/versioning).\n\n\n### In This Release\n\nAPI 4.0 version was introduced to make adjustments to API functions, parameters, and response types to\nfix bugs and inconsistencies. These changes fall outside the bounds of non-breaking additive changes we can\nmake to the previous API 3.1.\n\nOne benefit of these type adjustments in API 4.0 is dramatically better support for strongly\ntyped languages like TypeScript, Kotlin, Swift, Go, C#, and more.\n\nSee the [API 4.0 GA announcement](https://developers.looker.com/api/advanced-usage/version-4-ga) for more information\nabout API 4.0.\n\nThe API Explorer can be used to [interactively compare](https://docs.looker.com/r/api/explorer#comparing_api_versions) the differences between API 3.1 and 4.0.\n\n\n### API and SDK Support Policies\n\nLooker API versions and language SDKs have varying support levels. Please read the API and SDK\n[support policies](https://docs.looker.com/r/api/support-policy) for more information.\n\n\n", "contact": { @@ -12082,15 +12082,6 @@ "schema": { "type": "boolean" } - }, - { - "name": "permission", - "in": "query", - "description": "Filter results based on permission, either show (default) or update", - "required": false, - "schema": { - "type": "string" - } } ], "responses": { @@ -37427,12 +37418,6 @@ "description": "(Read/Write) SQL Dialect name", "nullable": true }, - "supports_data_studio_link": { - "type": "boolean", - "readOnly": true, - "description": "Database connection has the ability to support open data studio from explore", - "nullable": false - }, "created_at": { "type": "string", "readOnly": true, diff --git a/swift/looker/rtl/constants.swift b/swift/looker/rtl/constants.swift index 8f03b1463..854db73b3 100644 --- a/swift/looker/rtl/constants.swift +++ b/swift/looker/rtl/constants.swift @@ -51,7 +51,7 @@ extension String { } public struct Constants { - public static let lookerVersion = "22.14" + public static let lookerVersion = "22.12" public static let apiVersion = "4.0" public static let defaultApiVersion = "4.0" // Swift requires API 4.0 public static let sdkVersion = #"\#(apiVersion).\#(lookerVersion)"# diff --git a/swift/looker/sdk/methods.swift b/swift/looker/sdk/methods.swift index d862feaab..5d04d4257 100644 --- a/swift/looker/sdk/methods.swift +++ b/swift/looker/sdk/methods.swift @@ -1598,14 +1598,10 @@ open class LookerSDK: APIMethods { * @param {Bool} filter_or Combine given search criteria in a boolean OR expression */ filter_or: Bool? = nil, - /** - * @param {String} permission Filter results based on permission, either show (default) or update - */ - permission: String? = nil, options: ITransportSettings? = nil ) -> SDKResponse<[Board], SDKError> { let result: SDKResponse<[Board], SDKError> = self.get("/boards/search", - ["title": title, "created_at": created_at, "first_name": first_name, "last_name": last_name, "fields": fields, "favorited": favorited as Any?, "creator_id": creator_id, "sorts": sorts, "page": page, "per_page": per_page, "offset": offset, "limit": limit, "filter_or": filter_or as Any?, "permission": permission], nil, options) + ["title": title, "created_at": created_at, "first_name": first_name, "last_name": last_name, "fields": fields, "favorited": favorited as Any?, "creator_id": creator_id, "sorts": sorts, "page": page, "per_page": per_page, "offset": offset, "limit": limit, "filter_or": filter_or as Any?], nil, options) return result } diff --git a/swift/looker/sdk/models.swift b/swift/looker/sdk/models.swift index 78f7751c1..2956cf946 100644 --- a/swift/looker/sdk/models.swift +++ b/swift/looker/sdk/models.swift @@ -6350,7 +6350,6 @@ public struct DBConnection: SDKModel { case _jdbc_additional_params = "jdbc_additional_params" case _pool_timeout = "pool_timeout" case _dialect_name = "dialect_name" - case supports_data_studio_link case _created_at = "created_at" case _user_id = "user_id" case example @@ -6557,11 +6556,6 @@ public struct DBConnection: SDKModel { set { _dialect_name = newValue.map(AnyString.init) } } - /** - * Database connection has the ability to support open data studio from explore (read-only) - */ - public var supports_data_studio_link: Bool? - private var _created_at: AnyString? /** * Creation date for this connection (read-only) @@ -6699,7 +6693,7 @@ public struct DBConnection: SDKModel { */ public var pdt_api_control_enabled: Bool? - public init(can: StringDictionary? = nil, name: String? = nil, dialect: Dialect? = nil, snippets: [Snippet]? = nil, pdts_enabled: Bool? = nil, host: String? = nil, port: String? = nil, username: String? = nil, password: String? = nil, uses_oauth: Bool? = nil, certificate: String? = nil, file_type: String? = nil, database: String? = nil, db_timezone: String? = nil, query_timezone: String? = nil, schema: String? = nil, max_connections: Int64? = nil, max_billing_gigabytes: String? = nil, ssl: Bool? = nil, verify_ssl: Bool? = nil, tmp_db_name: String? = nil, jdbc_additional_params: String? = nil, pool_timeout: Int64? = nil, dialect_name: String? = nil, supports_data_studio_link: Bool? = nil, created_at: String? = nil, user_id: String? = nil, example: Bool? = nil, user_db_credentials: Bool? = nil, user_attribute_fields: [String]? = nil, maintenance_cron: String? = nil, last_regen_at: String? = nil, last_reap_at: String? = nil, sql_runner_precache_tables: Bool? = nil, sql_writing_with_info_schema: Bool? = nil, after_connect_statements: String? = nil, pdt_context_override: DBConnectionOverride? = nil, managed: Bool? = nil, tunnel_id: String? = nil, pdt_concurrency: Int64? = nil, disable_context_comment: Bool? = nil, oauth_application_id: String? = nil, always_retry_failed_builds: Bool? = nil, cost_estimate_enabled: Bool? = nil, pdt_api_control_enabled: Bool? = nil) { + public init(can: StringDictionary? = nil, name: String? = nil, dialect: Dialect? = nil, snippets: [Snippet]? = nil, pdts_enabled: Bool? = nil, host: String? = nil, port: String? = nil, username: String? = nil, password: String? = nil, uses_oauth: Bool? = nil, certificate: String? = nil, file_type: String? = nil, database: String? = nil, db_timezone: String? = nil, query_timezone: String? = nil, schema: String? = nil, max_connections: Int64? = nil, max_billing_gigabytes: String? = nil, ssl: Bool? = nil, verify_ssl: Bool? = nil, tmp_db_name: String? = nil, jdbc_additional_params: String? = nil, pool_timeout: Int64? = nil, dialect_name: String? = nil, created_at: String? = nil, user_id: String? = nil, example: Bool? = nil, user_db_credentials: Bool? = nil, user_attribute_fields: [String]? = nil, maintenance_cron: String? = nil, last_regen_at: String? = nil, last_reap_at: String? = nil, sql_runner_precache_tables: Bool? = nil, sql_writing_with_info_schema: Bool? = nil, after_connect_statements: String? = nil, pdt_context_override: DBConnectionOverride? = nil, managed: Bool? = nil, tunnel_id: String? = nil, pdt_concurrency: Int64? = nil, disable_context_comment: Bool? = nil, oauth_application_id: String? = nil, always_retry_failed_builds: Bool? = nil, cost_estimate_enabled: Bool? = nil, pdt_api_control_enabled: Bool? = nil) { self.can = can self._name = name.map(AnyString.init) self.dialect = dialect @@ -6724,7 +6718,6 @@ public struct DBConnection: SDKModel { self._jdbc_additional_params = jdbc_additional_params.map(AnyString.init) self._pool_timeout = pool_timeout.map(AnyInt.init) self._dialect_name = dialect_name.map(AnyString.init) - self.supports_data_studio_link = supports_data_studio_link self._created_at = created_at.map(AnyString.init) self._user_id = user_id.map(AnyString.init) self.example = example @@ -22829,7 +22822,7 @@ public struct WriteDatagroup: SDKModel { /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed */ public struct WriteDBConnection: SDKModel { diff --git a/swift/looker/sdk/streams.swift b/swift/looker/sdk/streams.swift index fba00e439..c2e96fee4 100644 --- a/swift/looker/sdk/streams.swift +++ b/swift/looker/sdk/streams.swift @@ -1596,14 +1596,10 @@ open class LookerSDKStream: APIMethods { * @param {Bool} filter_or Combine given search criteria in a boolean OR expression */ filter_or: Bool? = nil, - /** - * @param {String} permission Filter results based on permission, either show (default) or update - */ - permission: String? = nil, options: ITransportSettings? = nil ) -> SDKResponse { let result: SDKResponse = self.get("/boards/search", - ["title": title, "created_at": created_at, "first_name": first_name, "last_name": last_name, "fields": fields, "favorited": favorited as Any?, "creator_id": creator_id, "sorts": sorts, "page": page, "per_page": per_page, "offset": offset, "limit": limit, "filter_or": filter_or as Any?, "permission": permission], nil, options) + ["title": title, "created_at": created_at, "first_name": first_name, "last_name": last_name, "fields": fields, "favorited": favorited as Any?, "creator_id": creator_id, "sorts": sorts, "page": page, "per_page": per_page, "offset": offset, "limit": limit, "filter_or": filter_or as Any?], nil, options) return result }