|
21 | 21 | /// SOFTWARE. |
22 | 22 | /// |
23 | 23 |
|
24 | | -/// 437 API methods |
| 24 | +/// 443 API methods |
25 | 25 |
|
26 | 26 | #nullable enable |
27 | 27 | using System; |
@@ -1872,6 +1872,20 @@ public async Task<SdkResponse<DigestEmailSend, Exception>> create_digest_email_s |
1872 | 1872 | return await AuthRequest<DigestEmailSend, Exception>(HttpMethod.Post, "/digest_email_send", null,null,options); |
1873 | 1873 | } |
1874 | 1874 |
|
| 1875 | + /// ### Get Egress IP Addresses |
| 1876 | + /// |
| 1877 | + /// Returns the list of public egress IP Addresses for a hosted customer's instance |
| 1878 | + /// |
| 1879 | + /// GET /public_egress_ip_addresses -> EgressIpAddresses |
| 1880 | + /// |
| 1881 | + /// <returns><c>EgressIpAddresses</c> Public Egress IP Addresses (application/json)</returns> |
| 1882 | + /// |
| 1883 | + public async Task<SdkResponse<EgressIpAddresses, Exception>> public_egress_ip_addresses( |
| 1884 | + ITransportSettings? options = null) |
| 1885 | +{ |
| 1886 | + return await AuthRequest<EgressIpAddresses, Exception>(HttpMethod.Get, "/public_egress_ip_addresses", null,null,options); |
| 1887 | + } |
| 1888 | + |
1875 | 1889 | /// ### Set the menu item name and content for internal help resources |
1876 | 1890 | /// |
1877 | 1891 | /// GET /internal_help_resources_content -> InternalHelpResourcesContent |
@@ -2038,6 +2052,21 @@ public async Task<SdkResponse<Setting, Exception>> set_setting( |
2038 | 2052 | { "fields", fields }},body,options); |
2039 | 2053 | } |
2040 | 2054 |
|
| 2055 | + /// ### Configure SMTP Settings |
| 2056 | + /// This API allows users to configure the SMTP settings on the Looker instance. |
| 2057 | + /// This API is only supported in the OEM jar. Additionally, only admin users are authorised to call this API. |
| 2058 | + /// |
| 2059 | + /// POST /smtp_settings -> void |
| 2060 | + /// |
| 2061 | + /// <returns><c>void</c> Successfully updated SMTP settings ()</returns> |
| 2062 | + /// |
| 2063 | + public async Task<SdkResponse<string, Exception>> set_smtp_settings( |
| 2064 | + SmtpSettings body, |
| 2065 | + ITransportSettings? options = null) |
| 2066 | +{ |
| 2067 | + return await AuthRequest<string, Exception>(HttpMethod.Post, "/smtp_settings", null,body,options); |
| 2068 | + } |
| 2069 | + |
2041 | 2070 | /// ### Get current SMTP status. |
2042 | 2071 | /// |
2043 | 2072 | /// GET /smtp_status -> SmtpStatus |
@@ -3248,6 +3277,28 @@ public async Task<SdkResponse<Dashboard, Exception>> move_dashboard( |
3248 | 3277 | { "folder_id", folder_id }},null,options); |
3249 | 3278 | } |
3250 | 3279 |
|
| 3280 | + /// ### Creates a new dashboard object based on LookML Dashboard YAML, and returns the details of the newly created dashboard. |
| 3281 | + /// |
| 3282 | + /// This is equivalent to creating a LookML Dashboard and converting to a User-defined dashboard. |
| 3283 | + /// |
| 3284 | + /// LookML must contain valid LookML YAML code. It's recommended to use the LookML format returned |
| 3285 | + /// from [dashboard_lookml()](#!/Dashboard/dashboard_lookml) as the input LookML (newlines replaced with |
| 3286 | + /// ). |
| 3287 | + /// |
| 3288 | + /// Note that the created dashboard is not linked to any LookML Dashboard, |
| 3289 | + /// i.e. [sync_lookml_dashboard()](#!/Dashboard/sync_lookml_dashboard) will not update dashboards created by this method. |
| 3290 | + /// |
| 3291 | + /// POST /dashboards/from_lookml -> DashboardLookml |
| 3292 | + /// |
| 3293 | + /// <returns><c>DashboardLookml</c> DashboardLookML (application/json)</returns> |
| 3294 | + /// |
| 3295 | + public async Task<SdkResponse<DashboardLookml, Exception>> create_dashboard_from_lookml( |
| 3296 | + WriteDashboardLookml body, |
| 3297 | + ITransportSettings? options = null) |
| 3298 | +{ |
| 3299 | + return await AuthRequest<DashboardLookml, Exception>(HttpMethod.Post, "/dashboards/from_lookml", null,body,options); |
| 3300 | + } |
| 3301 | + |
3251 | 3302 | /// ### Copy an existing dashboard |
3252 | 3303 | /// |
3253 | 3304 | /// Creates a copy of an existing dashboard, in a specified folder, and returns the copied dashboard. |
@@ -3764,6 +3815,69 @@ public async Task<SdkResponse<DependencyGraph, Exception>> graph_derived_tables_ |
3764 | 3815 | { "workspace", workspace }},null,options); |
3765 | 3816 | } |
3766 | 3817 |
|
| 3818 | + /// Enqueue materialization for a PDT with the given model name and view name |
| 3819 | + /// |
| 3820 | + /// GET /derived_table/{model_name}/{view_name}/start -> MaterializePDT |
| 3821 | + /// |
| 3822 | + /// <returns><c>MaterializePDT</c> Derived Table (application/json)</returns> |
| 3823 | + /// |
| 3824 | + /// <param name="model_name">The model of the PDT to start building.</param> |
| 3825 | + /// <param name="view_name">The view name of the PDT to start building.</param> |
| 3826 | + /// <param name="force_rebuild">Force rebuild of required dependent PDTs, even if they are already materialized.</param> |
| 3827 | + /// <param name="force_full_incremental">Force involved incremental PDTs to fully re-materialize.</param> |
| 3828 | + /// <param name="workspace">Workspace in which to materialize selected PDT ('dev' or default 'production').</param> |
| 3829 | + /// <param name="source">The source of this request.</param> |
| 3830 | + public async Task<SdkResponse<MaterializePDT, Exception>> start_pdt_build( |
| 3831 | + string model_name, |
| 3832 | + string view_name, |
| 3833 | + string? force_rebuild = null, |
| 3834 | + string? force_full_incremental = null, |
| 3835 | + string? workspace = null, |
| 3836 | + string? source = null, |
| 3837 | + ITransportSettings? options = null) |
| 3838 | +{ |
| 3839 | + model_name = SdkUtils.EncodeParam(model_name); |
| 3840 | + view_name = SdkUtils.EncodeParam(view_name); |
| 3841 | + return await AuthRequest<MaterializePDT, Exception>(HttpMethod.Get, $"/derived_table/{model_name}/{view_name}/start", new Values { |
| 3842 | + { "force_rebuild", force_rebuild }, |
| 3843 | + { "force_full_incremental", force_full_incremental }, |
| 3844 | + { "workspace", workspace }, |
| 3845 | + { "source", source }},null,options); |
| 3846 | + } |
| 3847 | + |
| 3848 | + /// Check status of PDT materialization |
| 3849 | + /// |
| 3850 | + /// GET /derived_table/{materialization_id}/status -> MaterializePDT |
| 3851 | + /// |
| 3852 | + /// <returns><c>MaterializePDT</c> Derived Table (application/json)</returns> |
| 3853 | + /// |
| 3854 | + /// <param name="materialization_id">The materialization id to check status for.</param> |
| 3855 | + public async Task<SdkResponse<MaterializePDT, Exception>> check_pdt_build( |
| 3856 | + string materialization_id, |
| 3857 | + ITransportSettings? options = null) |
| 3858 | +{ |
| 3859 | + materialization_id = SdkUtils.EncodeParam(materialization_id); |
| 3860 | + return await AuthRequest<MaterializePDT, Exception>(HttpMethod.Get, $"/derived_table/{materialization_id}/status", null,null,options); |
| 3861 | + } |
| 3862 | + |
| 3863 | + /// Stop a PDT materialization |
| 3864 | + /// |
| 3865 | + /// GET /derived_table/{materialization_id}/stop -> MaterializePDT |
| 3866 | + /// |
| 3867 | + /// <returns><c>MaterializePDT</c> Derived Table (application/json)</returns> |
| 3868 | + /// |
| 3869 | + /// <param name="materialization_id">The materialization id to stop.</param> |
| 3870 | + /// <param name="source">The source of this request.</param> |
| 3871 | + public async Task<SdkResponse<MaterializePDT, Exception>> stop_pdt_build( |
| 3872 | + string materialization_id, |
| 3873 | + string? source = null, |
| 3874 | + ITransportSettings? options = null) |
| 3875 | +{ |
| 3876 | + materialization_id = SdkUtils.EncodeParam(materialization_id); |
| 3877 | + return await AuthRequest<MaterializePDT, Exception>(HttpMethod.Get, $"/derived_table/{materialization_id}/stop", new Values { |
| 3878 | + { "source", source }},null,options); |
| 3879 | + } |
| 3880 | + |
3767 | 3881 | #endregion DerivedTable: View Derived Table graphs |
3768 | 3882 |
|
3769 | 3883 | #region Folder: Manage Folders |
|
0 commit comments