diff --git a/csharp/rtl/Constants.cs b/csharp/rtl/Constants.cs index 8fb0c3775..f40b4d3c4 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.12"; + public const string LookerVersion = "22.14"; 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 1aef5f4cd..0c9db0303 100644 --- a/csharp/sdk/3.1/models.cs +++ b/csharp/sdk/3.1/models.cs @@ -1169,6 +1169,8 @@ 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) @@ -4761,7 +4763,7 @@ public class WriteDatagroup : SdkModel } /// Dynamic writeable type for DBConnection removes: -/// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed +/// can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 c21f6dd0f..89e470759 100644 --- a/csharp/sdk/4.0/methods.cs +++ b/csharp/sdk/4.0/methods.cs @@ -1381,6 +1381,7 @@ 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, @@ -1395,6 +1396,7 @@ 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 { @@ -1410,7 +1412,8 @@ public async Task> search_boards( { "per_page", per_page }, { "offset", offset }, { "limit", limit }, - { "filter_or", filter_or }},null,options); + { "filter_or", filter_or }, + { "permission", permission }},null,options); } /// ### Get information about a board. diff --git a/csharp/sdk/4.0/models.cs b/csharp/sdk/4.0/models.cs index 1b8d9151f..7f4295ec7 100644 --- a/csharp/sdk/4.0/models.cs +++ b/csharp/sdk/4.0/models.cs @@ -1554,6 +1554,8 @@ 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) @@ -5603,7 +5605,7 @@ public class WriteDatagroup : SdkModel } /// Dynamic writeable type for DBConnection removes: -/// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed +/// can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 f35bed1f4..c5a0b48e9 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}, 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, "permission": request.Permission}, nil, options) return result, err } diff --git a/go/sdk/v4/models.go b/go/sdk/v4/models.go index 0dec50a0b..a77eb909d 100644 --- a/go/sdk/v4/models.go +++ b/go/sdk/v4/models.go @@ -887,6 +887,7 @@ 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? @@ -2594,19 +2595,20 @@ 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 + 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 } // Dynamically generated request type for search_content_favorites @@ -3823,7 +3825,7 @@ type WriteDatagroup struct { } // Dynamic writeable type for DBConnection removes: -// can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed +// can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 914e576ca..5739b67fb 100644 --- a/kotlin/src/main/com/looker/sdk/4.0/methods.kt +++ b/kotlin/src/main/com/looker/sdk/4.0/methods.kt @@ -1401,6 +1401,7 @@ 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 */ @@ -1417,7 +1418,8 @@ class LookerSDK(authSession: AuthSession) : APIMethods(authSession) { per_page: Long? = null, offset: Long? = null, limit: Long? = null, - filter_or: Boolean? = null + filter_or: Boolean? = null, + permission: String? = null ) : SDKResponse { return this.get>("/boards/search", mapOf("title" to title, @@ -1432,7 +1434,8 @@ class LookerSDK(authSession: AuthSession) : APIMethods(authSession) { "per_page" to per_page, "offset" to offset, "limit" to limit, - "filter_or" to filter_or)) + "filter_or" to filter_or, + "permission" to permission)) } 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 5e9e3891f..ec843c81b 100644 --- a/kotlin/src/main/com/looker/sdk/4.0/models.kt +++ b/kotlin/src/main/com/looker/sdk/4.0/models.kt @@ -1622,6 +1622,7 @@ 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) @@ -1668,6 +1669,7 @@ 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, @@ -5856,7 +5858,7 @@ data class WriteDatagroup ( /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 64353caf6..e4738a17c 100644 --- a/kotlin/src/main/com/looker/sdk/4.0/streams.kt +++ b/kotlin/src/main/com/looker/sdk/4.0/streams.kt @@ -1400,6 +1400,7 @@ 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 */ @@ -1416,7 +1417,8 @@ class LookerSDKStream(authSession: AuthSession) : APIMethods(authSession) { per_page: Long? = null, offset: Long? = null, limit: Long? = null, - filter_or: Boolean? = null + filter_or: Boolean? = null, + permission: String? = null ) : SDKResponse { return this.get("/boards/search", mapOf("title" to title, @@ -1431,7 +1433,8 @@ class LookerSDKStream(authSession: AuthSession) : APIMethods(authSession) { "per_page" to per_page, "offset" to offset, "limit" to limit, - "filter_or" to filter_or)) + "filter_or" to filter_or, + "permission" to permission)) } diff --git a/kotlin/src/main/com/looker/sdk/Constants.kt b/kotlin/src/main/com/looker/sdk/Constants.kt index e472e73d8..6fdbc8b4f 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.12" +const val LOOKER_VERSION = "22.14" 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 29f430a61..e7175eb9c 100644 --- a/packages/sdk/src/3.1/models.ts +++ b/packages/sdk/src/3.1/models.ts @@ -1955,6 +1955,10 @@ 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) */ @@ -9788,7 +9792,7 @@ export interface IWriteDatagroup { /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 7f699c81c..3d9f8cf3b 100644 --- a/packages/sdk/src/4.0/funcs.ts +++ b/packages/sdk/src/4.0/funcs.ts @@ -2164,6 +2164,7 @@ 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 0edd70eba..1575af27e 100644 --- a/packages/sdk/src/4.0/methods.ts +++ b/packages/sdk/src/4.0/methods.ts @@ -2042,6 +2042,7 @@ 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 64e469e91..7950e5d7c 100644 --- a/packages/sdk/src/4.0/models.ts +++ b/packages/sdk/src/4.0/models.ts @@ -2596,6 +2596,10 @@ 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) */ @@ -7892,6 +7896,10 @@ 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 } /** @@ -11502,7 +11510,7 @@ export interface IWriteDatagroup { /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 de8e2aee7..6defe5a7c 100644 --- a/packages/sdk/src/4.0/streams.ts +++ b/packages/sdk/src/4.0/streams.ts @@ -2330,6 +2330,7 @@ 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 0512241d2..54a7309a6 100644 --- a/packages/sdk/src/constants.ts +++ b/packages/sdk/src/constants.ts @@ -24,5 +24,5 @@ */ -export const sdkVersion = '22.12' +export const sdkVersion = '22.14' export const environmentPrefix = 'LOOKERSDK' diff --git a/python/looker_sdk/sdk/api31/models.py b/python/looker_sdk/sdk/api31/models.py index 3f2806132..efea435a8 100644 --- a/python/looker_sdk/sdk/api31/models.py +++ b/python/looker_sdk/sdk/api31/models.py @@ -2532,6 +2532,7 @@ 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? @@ -2571,6 +2572,7 @@ 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 @@ -2612,6 +2614,7 @@ 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, @@ -2650,6 +2653,7 @@ 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 @@ -10300,7 +10304,7 @@ def __init__( class WriteDBConnection(model.Model): """ Dynamic writeable type for DBConnection removes: - can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed + can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 9efc8f9b2..113a34fe5 100644 --- a/python/looker_sdk/sdk/api40/methods.py +++ b/python/looker_sdk/sdk/api40/methods.py @@ -1793,6 +1793,8 @@ 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""" @@ -1815,6 +1817,7 @@ 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 fa2403e54..0a9fb4561 100644 --- a/python/looker_sdk/sdk/api40/models.py +++ b/python/looker_sdk/sdk/api40/models.py @@ -3401,6 +3401,7 @@ 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? @@ -3447,6 +3448,7 @@ 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 @@ -3495,6 +3497,7 @@ 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, @@ -3540,6 +3543,7 @@ 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 @@ -12227,7 +12231,7 @@ def __init__( class WriteDBConnection(model.Model): """ Dynamic writeable type for DBConnection removes: - can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed + can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 52d318bb7..ea712aa2f 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.12" +sdk_version = "22.14" environment_prefix = "LOOKERSDK" diff --git a/release-please-config.json b/release-please-config.json index abbd5be47..4e9d28c32 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -4,7 +4,7 @@ ], "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": true, - "release-as": "22.12.1", + "release-as": "22.14.0", "packages": { ".": { "release-as": "" diff --git a/spec/Looker.3.1.json b/spec/Looker.3.1.json index 4878befd9..30dc88222 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.12.83", + "x-looker-release-version": "22.14.71", "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,6 +24391,12 @@ "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 6e94020bf..e1f80a6b5 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.12.83", + "x-looker-release-version": "22.14.71", "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,6 +31866,12 @@ "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 f0c389348..ffbbdde33 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.12", - "x-looker-release-version": "22.12.83", + "version": "4.0.22.14", + "x-looker-release-version": "22.14.71", "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,6 +8800,13 @@ "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": { @@ -28532,6 +28539,12 @@ "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 5d1cbcdf8..f174af348 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.12", - "x-looker-release-version": "22.12.83", + "version": "4.0.22.14", + "x-looker-release-version": "22.14.71", "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,6 +12082,15 @@ "schema": { "type": "boolean" } + }, + { + "name": "permission", + "in": "query", + "description": "Filter results based on permission, either show (default) or update", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -37418,6 +37427,12 @@ "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 854db73b3..8f03b1463 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.12" + public static let lookerVersion = "22.14" 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 5d04d4257..d862feaab 100644 --- a/swift/looker/sdk/methods.swift +++ b/swift/looker/sdk/methods.swift @@ -1598,10 +1598,14 @@ 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?], 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?, "permission": permission], nil, options) return result } diff --git a/swift/looker/sdk/models.swift b/swift/looker/sdk/models.swift index 2956cf946..78f7751c1 100644 --- a/swift/looker/sdk/models.swift +++ b/swift/looker/sdk/models.swift @@ -6350,6 +6350,7 @@ 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 @@ -6556,6 +6557,11 @@ 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) @@ -6693,7 +6699,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, 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, 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) { self.can = can self._name = name.map(AnyString.init) self.dialect = dialect @@ -6718,6 +6724,7 @@ 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 @@ -22822,7 +22829,7 @@ public struct WriteDatagroup: SDKModel { /** * Dynamic writeable type for DBConnection removes: - * can, dialect, snippets, pdts_enabled, uses_oauth, created_at, user_id, example, last_regen_at, last_reap_at, managed + * can, dialect, snippets, pdts_enabled, uses_oauth, supports_data_studio_link, 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 c2e96fee4..fba00e439 100644 --- a/swift/looker/sdk/streams.swift +++ b/swift/looker/sdk/streams.swift @@ -1596,10 +1596,14 @@ 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?], 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?, "permission": permission], nil, options) return result }