public abstract class NativeDashboardServiceClientReference documentation and code samples for the Chronicle v1 API class NativeDashboardServiceClient.
NativeDashboardService client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Chronicle.V1Assembly
Google.Cloud.Chronicle.V1.dll
Remarks
A service providing functionality for managing native dashboards.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the NativeDashboardService service, which is a host of "chronicle.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default NativeDashboardService scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default NativeDashboardService scopes are:
GrpcClient
public virtual NativeDashboardService.NativeDashboardServiceClient GrpcClient { get; }The underlying gRPC NativeDashboardService client
| Property Value | |
|---|---|
| Type | Description |
NativeDashboardServiceNativeDashboardServiceClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
Methods
AddChart(AddChartRequest, CallSettings)
public virtual AddChartResponse AddChart(AddChartRequest request, CallSettings callSettings = null)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
AddChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AddChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
AddChartRequest request = new AddChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardQuery = new DashboardQuery(),
DashboardChart = new DashboardChart(),
ChartLayout = new DashboardDefinition.Types.ChartConfig.Types.ChartLayout(),
};
// Make the request
AddChartResponse response = nativeDashboardServiceClient.AddChart(request);
AddChart(NativeDashboardName, DashboardQuery, DashboardChart, CallSettings)
public virtual AddChartResponse AddChart(NativeDashboardName name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, CallSettings callSettings = null)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query used to create the chart. |
dashboardChart |
DashboardChartRequired. Chart to be added to the dashboard. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AddChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
// Make the request
AddChartResponse response = nativeDashboardServiceClient.AddChart(name, dashboardQuery, dashboardChart);
AddChart(string, DashboardQuery, DashboardChart, CallSettings)
public virtual AddChartResponse AddChart(string name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, CallSettings callSettings = null)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query used to create the chart. |
dashboardChart |
DashboardChartRequired. Chart to be added to the dashboard. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AddChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
// Make the request
AddChartResponse response = nativeDashboardServiceClient.AddChart(name, dashboardQuery, dashboardChart);
AddChartAsync(AddChartRequest, CallSettings)
public virtual Task<AddChartResponse> AddChartAsync(AddChartRequest request, CallSettings callSettings = null)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
AddChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAddChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
AddChartRequest request = new AddChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardQuery = new DashboardQuery(),
DashboardChart = new DashboardChart(),
ChartLayout = new DashboardDefinition.Types.ChartConfig.Types.ChartLayout(),
};
// Make the request
AddChartResponse response = await nativeDashboardServiceClient.AddChartAsync(request);
AddChartAsync(AddChartRequest, CancellationToken)
public virtual Task<AddChartResponse> AddChartAsync(AddChartRequest request, CancellationToken cancellationToken)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
AddChartRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAddChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
AddChartRequest request = new AddChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardQuery = new DashboardQuery(),
DashboardChart = new DashboardChart(),
ChartLayout = new DashboardDefinition.Types.ChartConfig.Types.ChartLayout(),
};
// Make the request
AddChartResponse response = await nativeDashboardServiceClient.AddChartAsync(request);
AddChartAsync(NativeDashboardName, DashboardQuery, DashboardChart, CallSettings)
public virtual Task<AddChartResponse> AddChartAsync(NativeDashboardName name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, CallSettings callSettings = null)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query used to create the chart. |
dashboardChart |
DashboardChartRequired. Chart to be added to the dashboard. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAddChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
// Make the request
AddChartResponse response = await nativeDashboardServiceClient.AddChartAsync(name, dashboardQuery, dashboardChart);
AddChartAsync(NativeDashboardName, DashboardQuery, DashboardChart, CancellationToken)
public virtual Task<AddChartResponse> AddChartAsync(NativeDashboardName name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, CancellationToken cancellationToken)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query used to create the chart. |
dashboardChart |
DashboardChartRequired. Chart to be added to the dashboard. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAddChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
// Make the request
AddChartResponse response = await nativeDashboardServiceClient.AddChartAsync(name, dashboardQuery, dashboardChart);
AddChartAsync(string, DashboardQuery, DashboardChart, CallSettings)
public virtual Task<AddChartResponse> AddChartAsync(string name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, CallSettings callSettings = null)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query used to create the chart. |
dashboardChart |
DashboardChartRequired. Chart to be added to the dashboard. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAddChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
// Make the request
AddChartResponse response = await nativeDashboardServiceClient.AddChartAsync(name, dashboardQuery, dashboardChart);
AddChartAsync(string, DashboardQuery, DashboardChart, CancellationToken)
public virtual Task<AddChartResponse> AddChartAsync(string name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, CancellationToken cancellationToken)Add chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to add chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query used to create the chart. |
dashboardChart |
DashboardChartRequired. Chart to be added to the dashboard. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAddChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
// Make the request
AddChartResponse response = await nativeDashboardServiceClient.AddChartAsync(name, dashboardQuery, dashboardChart);
Create()
public static NativeDashboardServiceClient Create()Synchronously creates a NativeDashboardServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use NativeDashboardServiceClientBuilder.
| Returns | |
|---|---|
| Type | Description |
NativeDashboardServiceClient |
The created NativeDashboardServiceClient. |
CreateAsync(CancellationToken)
public static Task<NativeDashboardServiceClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a NativeDashboardServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use NativeDashboardServiceClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboardServiceClient |
The task representing the created NativeDashboardServiceClient. |
CreateNativeDashboard(CreateNativeDashboardRequest, CallSettings)
public virtual NativeDashboard CreateNativeDashboard(CreateNativeDashboardRequest request, CallSettings callSettings = null)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
CreateNativeDashboardRequest request = new CreateNativeDashboardRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
NativeDashboard = new NativeDashboard(),
};
// Make the request
NativeDashboard response = nativeDashboardServiceClient.CreateNativeDashboard(request);
CreateNativeDashboard(InstanceName, NativeDashboard, CallSettings)
public virtual NativeDashboard CreateNativeDashboard(InstanceName parent, NativeDashboard nativeDashboard, CallSettings callSettings = null)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
nativeDashboard |
NativeDashboardRequired. The dashboard to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = nativeDashboardServiceClient.CreateNativeDashboard(parent, nativeDashboard);
CreateNativeDashboard(string, NativeDashboard, CallSettings)
public virtual NativeDashboard CreateNativeDashboard(string parent, NativeDashboard nativeDashboard, CallSettings callSettings = null)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
nativeDashboard |
NativeDashboardRequired. The dashboard to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = nativeDashboardServiceClient.CreateNativeDashboard(parent, nativeDashboard);
CreateNativeDashboardAsync(CreateNativeDashboardRequest, CallSettings)
public virtual Task<NativeDashboard> CreateNativeDashboardAsync(CreateNativeDashboardRequest request, CallSettings callSettings = null)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
CreateNativeDashboardRequest request = new CreateNativeDashboardRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
NativeDashboard = new NativeDashboard(),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.CreateNativeDashboardAsync(request);
CreateNativeDashboardAsync(CreateNativeDashboardRequest, CancellationToken)
public virtual Task<NativeDashboard> CreateNativeDashboardAsync(CreateNativeDashboardRequest request, CancellationToken cancellationToken)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
CreateNativeDashboardRequest request = new CreateNativeDashboardRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
NativeDashboard = new NativeDashboard(),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.CreateNativeDashboardAsync(request);
CreateNativeDashboardAsync(InstanceName, NativeDashboard, CallSettings)
public virtual Task<NativeDashboard> CreateNativeDashboardAsync(InstanceName parent, NativeDashboard nativeDashboard, CallSettings callSettings = null)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
nativeDashboard |
NativeDashboardRequired. The dashboard to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.CreateNativeDashboardAsync(parent, nativeDashboard);
CreateNativeDashboardAsync(InstanceName, NativeDashboard, CancellationToken)
public virtual Task<NativeDashboard> CreateNativeDashboardAsync(InstanceName parent, NativeDashboard nativeDashboard, CancellationToken cancellationToken)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
nativeDashboard |
NativeDashboardRequired. The dashboard to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.CreateNativeDashboardAsync(parent, nativeDashboard);
CreateNativeDashboardAsync(string, NativeDashboard, CallSettings)
public virtual Task<NativeDashboard> CreateNativeDashboardAsync(string parent, NativeDashboard nativeDashboard, CallSettings callSettings = null)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
nativeDashboard |
NativeDashboardRequired. The dashboard to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.CreateNativeDashboardAsync(parent, nativeDashboard);
CreateNativeDashboardAsync(string, NativeDashboard, CancellationToken)
public virtual Task<NativeDashboard> CreateNativeDashboardAsync(string parent, NativeDashboard nativeDashboard, CancellationToken cancellationToken)Create a dashboard.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
nativeDashboard |
NativeDashboardRequired. The dashboard to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.CreateNativeDashboardAsync(parent, nativeDashboard);
DeleteNativeDashboard(DeleteNativeDashboardRequest, CallSettings)
public virtual void DeleteNativeDashboard(DeleteNativeDashboardRequest request, CallSettings callSettings = null)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
DeleteNativeDashboardRequest request = new DeleteNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
};
// Make the request
nativeDashboardServiceClient.DeleteNativeDashboard(request);
DeleteNativeDashboard(NativeDashboardName, CallSettings)
public virtual void DeleteNativeDashboard(NativeDashboardName name, CallSettings callSettings = null)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to delete. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
nativeDashboardServiceClient.DeleteNativeDashboard(name);
DeleteNativeDashboard(string, CallSettings)
public virtual void DeleteNativeDashboard(string name, CallSettings callSettings = null)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to delete. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
nativeDashboardServiceClient.DeleteNativeDashboard(name);
DeleteNativeDashboardAsync(DeleteNativeDashboardRequest, CallSettings)
public virtual Task DeleteNativeDashboardAsync(DeleteNativeDashboardRequest request, CallSettings callSettings = null)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteNativeDashboardRequest request = new DeleteNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
};
// Make the request
await nativeDashboardServiceClient.DeleteNativeDashboardAsync(request);
DeleteNativeDashboardAsync(DeleteNativeDashboardRequest, CancellationToken)
public virtual Task DeleteNativeDashboardAsync(DeleteNativeDashboardRequest request, CancellationToken cancellationToken)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteNativeDashboardRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteNativeDashboardRequest request = new DeleteNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
};
// Make the request
await nativeDashboardServiceClient.DeleteNativeDashboardAsync(request);
DeleteNativeDashboardAsync(NativeDashboardName, CallSettings)
public virtual Task DeleteNativeDashboardAsync(NativeDashboardName name, CallSettings callSettings = null)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to delete. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
await nativeDashboardServiceClient.DeleteNativeDashboardAsync(name);
DeleteNativeDashboardAsync(NativeDashboardName, CancellationToken)
public virtual Task DeleteNativeDashboardAsync(NativeDashboardName name, CancellationToken cancellationToken)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to delete. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
await nativeDashboardServiceClient.DeleteNativeDashboardAsync(name);
DeleteNativeDashboardAsync(string, CallSettings)
public virtual Task DeleteNativeDashboardAsync(string name, CallSettings callSettings = null)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to delete. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
await nativeDashboardServiceClient.DeleteNativeDashboardAsync(name);
DeleteNativeDashboardAsync(string, CancellationToken)
public virtual Task DeleteNativeDashboardAsync(string name, CancellationToken cancellationToken)Delete a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to delete. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
await nativeDashboardServiceClient.DeleteNativeDashboardAsync(name);
DuplicateChart(DuplicateChartRequest, CallSettings)
public virtual DuplicateChartResponse DuplicateChart(DuplicateChartRequest request, CallSettings callSettings = null)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DuplicateChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
DuplicateChartRequest request = new DuplicateChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardChartAsDashboardChartName = DashboardChartName.FromProjectLocationInstanceChart("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[CHART]"),
};
// Make the request
DuplicateChartResponse response = nativeDashboardServiceClient.DuplicateChart(request);
DuplicateChart(NativeDashboardName, CallSettings)
public virtual DuplicateChartResponse DuplicateChart(NativeDashboardName name, CallSettings callSettings = null)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
DuplicateChartResponse response = nativeDashboardServiceClient.DuplicateChart(name);
DuplicateChart(string, CallSettings)
public virtual DuplicateChartResponse DuplicateChart(string name, CallSettings callSettings = null)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DuplicateChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
DuplicateChartResponse response = nativeDashboardServiceClient.DuplicateChart(name);
DuplicateChartAsync(DuplicateChartRequest, CallSettings)
public virtual Task<DuplicateChartResponse> DuplicateChartAsync(DuplicateChartRequest request, CallSettings callSettings = null)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DuplicateChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDuplicateChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
DuplicateChartRequest request = new DuplicateChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardChartAsDashboardChartName = DashboardChartName.FromProjectLocationInstanceChart("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[CHART]"),
};
// Make the request
DuplicateChartResponse response = await nativeDashboardServiceClient.DuplicateChartAsync(request);
DuplicateChartAsync(DuplicateChartRequest, CancellationToken)
public virtual Task<DuplicateChartResponse> DuplicateChartAsync(DuplicateChartRequest request, CancellationToken cancellationToken)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DuplicateChartRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDuplicateChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
DuplicateChartRequest request = new DuplicateChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardChartAsDashboardChartName = DashboardChartName.FromProjectLocationInstanceChart("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[CHART]"),
};
// Make the request
DuplicateChartResponse response = await nativeDashboardServiceClient.DuplicateChartAsync(request);
DuplicateChartAsync(NativeDashboardName, CallSettings)
public virtual Task<DuplicateChartResponse> DuplicateChartAsync(NativeDashboardName name, CallSettings callSettings = null)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDuplicateChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
DuplicateChartResponse response = await nativeDashboardServiceClient.DuplicateChartAsync(name);
DuplicateChartAsync(NativeDashboardName, CancellationToken)
public virtual Task<DuplicateChartResponse> DuplicateChartAsync(NativeDashboardName name, CancellationToken cancellationToken)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDuplicateChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
DuplicateChartResponse response = await nativeDashboardServiceClient.DuplicateChartAsync(name);
DuplicateChartAsync(string, CallSettings)
public virtual Task<DuplicateChartResponse> DuplicateChartAsync(string name, CallSettings callSettings = null)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDuplicateChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
DuplicateChartResponse response = await nativeDashboardServiceClient.DuplicateChartAsync(name);
DuplicateChartAsync(string, CancellationToken)
public virtual Task<DuplicateChartResponse> DuplicateChartAsync(string name, CancellationToken cancellationToken)Duplicate chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name that involves chart duplication. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskDuplicateChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
DuplicateChartResponse response = await nativeDashboardServiceClient.DuplicateChartAsync(name);
DuplicateNativeDashboard(DuplicateNativeDashboardRequest, CallSettings)
public virtual NativeDashboard DuplicateNativeDashboard(DuplicateNativeDashboardRequest request, CallSettings callSettings = null)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DuplicateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
DuplicateNativeDashboardRequest request = new DuplicateNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
NativeDashboard = new NativeDashboard(),
};
// Make the request
NativeDashboard response = nativeDashboardServiceClient.DuplicateNativeDashboard(request);
DuplicateNativeDashboard(NativeDashboardName, NativeDashboard, CallSettings)
public virtual NativeDashboard DuplicateNativeDashboard(NativeDashboardName name, NativeDashboard nativeDashboard, CallSettings callSettings = null)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
nativeDashboard |
NativeDashboardRequired. Any fields that need modification can be passed through this like name, description etc. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = nativeDashboardServiceClient.DuplicateNativeDashboard(name, nativeDashboard);
DuplicateNativeDashboard(string, NativeDashboard, CallSettings)
public virtual NativeDashboard DuplicateNativeDashboard(string name, NativeDashboard nativeDashboard, CallSettings callSettings = null)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
nativeDashboard |
NativeDashboardRequired. Any fields that need modification can be passed through this like name, description etc. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = nativeDashboardServiceClient.DuplicateNativeDashboard(name, nativeDashboard);
DuplicateNativeDashboardAsync(DuplicateNativeDashboardRequest, CallSettings)
public virtual Task<NativeDashboard> DuplicateNativeDashboardAsync(DuplicateNativeDashboardRequest request, CallSettings callSettings = null)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DuplicateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
DuplicateNativeDashboardRequest request = new DuplicateNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
NativeDashboard = new NativeDashboard(),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.DuplicateNativeDashboardAsync(request);
DuplicateNativeDashboardAsync(DuplicateNativeDashboardRequest, CancellationToken)
public virtual Task<NativeDashboard> DuplicateNativeDashboardAsync(DuplicateNativeDashboardRequest request, CancellationToken cancellationToken)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
DuplicateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
DuplicateNativeDashboardRequest request = new DuplicateNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
NativeDashboard = new NativeDashboard(),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.DuplicateNativeDashboardAsync(request);
DuplicateNativeDashboardAsync(NativeDashboardName, NativeDashboard, CallSettings)
public virtual Task<NativeDashboard> DuplicateNativeDashboardAsync(NativeDashboardName name, NativeDashboard nativeDashboard, CallSettings callSettings = null)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
nativeDashboard |
NativeDashboardRequired. Any fields that need modification can be passed through this like name, description etc. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.DuplicateNativeDashboardAsync(name, nativeDashboard);
DuplicateNativeDashboardAsync(NativeDashboardName, NativeDashboard, CancellationToken)
public virtual Task<NativeDashboard> DuplicateNativeDashboardAsync(NativeDashboardName name, NativeDashboard nativeDashboard, CancellationToken cancellationToken)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
nativeDashboard |
NativeDashboardRequired. Any fields that need modification can be passed through this like name, description etc. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.DuplicateNativeDashboardAsync(name, nativeDashboard);
DuplicateNativeDashboardAsync(string, NativeDashboard, CallSettings)
public virtual Task<NativeDashboard> DuplicateNativeDashboardAsync(string name, NativeDashboard nativeDashboard, CallSettings callSettings = null)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
nativeDashboard |
NativeDashboardRequired. Any fields that need modification can be passed through this like name, description etc. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.DuplicateNativeDashboardAsync(name, nativeDashboard);
DuplicateNativeDashboardAsync(string, NativeDashboard, CancellationToken)
public virtual Task<NativeDashboard> DuplicateNativeDashboardAsync(string name, NativeDashboard nativeDashboard, CancellationToken cancellationToken)Duplicate a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
nativeDashboard |
NativeDashboardRequired. Any fields that need modification can be passed through this like name, description etc. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
NativeDashboard nativeDashboard = new NativeDashboard();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.DuplicateNativeDashboardAsync(name, nativeDashboard);
EditChart(EditChartRequest, CallSettings)
public virtual EditChartResponse EditChart(EditChartRequest request, CallSettings callSettings = null)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
EditChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EditChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
EditChartRequest request = new EditChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardQuery = new DashboardQuery(),
DashboardChart = new DashboardChart(),
EditMask = new FieldMask(),
LanguageFeatures =
{
LanguageFeature.Unspecified,
},
};
// Make the request
EditChartResponse response = nativeDashboardServiceClient.EditChart(request);
EditChart(NativeDashboardName, DashboardQuery, DashboardChart, FieldMask, CallSettings)
public virtual EditChartResponse EditChart(NativeDashboardName name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, FieldMask editMask, CallSettings callSettings = null)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to edit chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query for the edited chart. |
dashboardChart |
DashboardChartOptional. Edited chart. |
editMask |
FieldMaskRequired. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EditChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
FieldMask editMask = new FieldMask();
// Make the request
EditChartResponse response = nativeDashboardServiceClient.EditChart(name, dashboardQuery, dashboardChart, editMask);
EditChart(string, DashboardQuery, DashboardChart, FieldMask, CallSettings)
public virtual EditChartResponse EditChart(string name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, FieldMask editMask, CallSettings callSettings = null)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to edit chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query for the edited chart. |
dashboardChart |
DashboardChartOptional. Edited chart. |
editMask |
FieldMaskRequired. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
EditChartResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
FieldMask editMask = new FieldMask();
// Make the request
EditChartResponse response = nativeDashboardServiceClient.EditChart(name, dashboardQuery, dashboardChart, editMask);
EditChartAsync(EditChartRequest, CallSettings)
public virtual Task<EditChartResponse> EditChartAsync(EditChartRequest request, CallSettings callSettings = null)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
EditChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEditChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
EditChartRequest request = new EditChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardQuery = new DashboardQuery(),
DashboardChart = new DashboardChart(),
EditMask = new FieldMask(),
LanguageFeatures =
{
LanguageFeature.Unspecified,
},
};
// Make the request
EditChartResponse response = await nativeDashboardServiceClient.EditChartAsync(request);
EditChartAsync(EditChartRequest, CancellationToken)
public virtual Task<EditChartResponse> EditChartAsync(EditChartRequest request, CancellationToken cancellationToken)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
EditChartRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEditChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
EditChartRequest request = new EditChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardQuery = new DashboardQuery(),
DashboardChart = new DashboardChart(),
EditMask = new FieldMask(),
LanguageFeatures =
{
LanguageFeature.Unspecified,
},
};
// Make the request
EditChartResponse response = await nativeDashboardServiceClient.EditChartAsync(request);
EditChartAsync(NativeDashboardName, DashboardQuery, DashboardChart, FieldMask, CallSettings)
public virtual Task<EditChartResponse> EditChartAsync(NativeDashboardName name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, FieldMask editMask, CallSettings callSettings = null)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to edit chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query for the edited chart. |
dashboardChart |
DashboardChartOptional. Edited chart. |
editMask |
FieldMaskRequired. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEditChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
FieldMask editMask = new FieldMask();
// Make the request
EditChartResponse response = await nativeDashboardServiceClient.EditChartAsync(name, dashboardQuery, dashboardChart, editMask);
EditChartAsync(NativeDashboardName, DashboardQuery, DashboardChart, FieldMask, CancellationToken)
public virtual Task<EditChartResponse> EditChartAsync(NativeDashboardName name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, FieldMask editMask, CancellationToken cancellationToken)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to edit chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query for the edited chart. |
dashboardChart |
DashboardChartOptional. Edited chart. |
editMask |
FieldMaskRequired. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEditChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
FieldMask editMask = new FieldMask();
// Make the request
EditChartResponse response = await nativeDashboardServiceClient.EditChartAsync(name, dashboardQuery, dashboardChart, editMask);
EditChartAsync(string, DashboardQuery, DashboardChart, FieldMask, CallSettings)
public virtual Task<EditChartResponse> EditChartAsync(string name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, FieldMask editMask, CallSettings callSettings = null)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to edit chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query for the edited chart. |
dashboardChart |
DashboardChartOptional. Edited chart. |
editMask |
FieldMaskRequired. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEditChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
FieldMask editMask = new FieldMask();
// Make the request
EditChartResponse response = await nativeDashboardServiceClient.EditChartAsync(name, dashboardQuery, dashboardChart, editMask);
EditChartAsync(string, DashboardQuery, DashboardChart, FieldMask, CancellationToken)
public virtual Task<EditChartResponse> EditChartAsync(string name, DashboardQuery dashboardQuery, DashboardChart dashboardChart, FieldMask editMask, CancellationToken cancellationToken)Edit chart in a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to edit chart in. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
dashboardQuery |
DashboardQueryOptional. Query for the edited chart. |
dashboardChart |
DashboardChartOptional. Edited chart. |
editMask |
FieldMaskRequired. The list of fields to edit for chart and query. Supported paths in chart are - dashboard_chart.display_name dashboard_chart.description dashboard_chart.chart_datasource.data_sources dashboard_chart.visualization dashboard_chart.visualization.button dashboard_chart.visualization.markdown dashboard_chart.drill_down_config Supported paths in query are - dashboard_query.query dashboard_query.input |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskEditChartResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
DashboardQuery dashboardQuery = new DashboardQuery();
DashboardChart dashboardChart = new DashboardChart();
FieldMask editMask = new FieldMask();
// Make the request
EditChartResponse response = await nativeDashboardServiceClient.EditChartAsync(name, dashboardQuery, dashboardChart, editMask);
ExportNativeDashboards(ExportNativeDashboardsRequest, CallSettings)
public virtual ExportNativeDashboardsResponse ExportNativeDashboards(ExportNativeDashboardsRequest request, CallSettings callSettings = null)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExportNativeDashboardsResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
ExportNativeDashboardsRequest request = new ExportNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Names = { "", },
};
// Make the request
ExportNativeDashboardsResponse response = nativeDashboardServiceClient.ExportNativeDashboards(request);
ExportNativeDashboards(InstanceName, IEnumerable<string>, CallSettings)
public virtual ExportNativeDashboardsResponse ExportNativeDashboards(InstanceName parent, IEnumerable<string> names, CallSettings callSettings = null)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource that the dashboards to be exported belong to. Format: projects/{project}/locations/{location}/instances/{instance} |
names |
IEnumerablestringRequired. The resource names of the dashboards to export. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExportNativeDashboardsResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
IEnumerable<string> names = new string[] { "", };
// Make the request
ExportNativeDashboardsResponse response = nativeDashboardServiceClient.ExportNativeDashboards(parent, names);
ExportNativeDashboards(string, IEnumerable<string>, CallSettings)
public virtual ExportNativeDashboardsResponse ExportNativeDashboards(string parent, IEnumerable<string> names, CallSettings callSettings = null)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource that the dashboards to be exported belong to. Format: projects/{project}/locations/{location}/instances/{instance} |
names |
IEnumerablestringRequired. The resource names of the dashboards to export. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExportNativeDashboardsResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
IEnumerable<string> names = new string[] { "", };
// Make the request
ExportNativeDashboardsResponse response = nativeDashboardServiceClient.ExportNativeDashboards(parent, names);
ExportNativeDashboardsAsync(ExportNativeDashboardsRequest, CallSettings)
public virtual Task<ExportNativeDashboardsResponse> ExportNativeDashboardsAsync(ExportNativeDashboardsRequest request, CallSettings callSettings = null)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
ExportNativeDashboardsRequest request = new ExportNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Names = { "", },
};
// Make the request
ExportNativeDashboardsResponse response = await nativeDashboardServiceClient.ExportNativeDashboardsAsync(request);
ExportNativeDashboardsAsync(ExportNativeDashboardsRequest, CancellationToken)
public virtual Task<ExportNativeDashboardsResponse> ExportNativeDashboardsAsync(ExportNativeDashboardsRequest request, CancellationToken cancellationToken)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
ExportNativeDashboardsRequest request = new ExportNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Names = { "", },
};
// Make the request
ExportNativeDashboardsResponse response = await nativeDashboardServiceClient.ExportNativeDashboardsAsync(request);
ExportNativeDashboardsAsync(InstanceName, IEnumerable<string>, CallSettings)
public virtual Task<ExportNativeDashboardsResponse> ExportNativeDashboardsAsync(InstanceName parent, IEnumerable<string> names, CallSettings callSettings = null)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource that the dashboards to be exported belong to. Format: projects/{project}/locations/{location}/instances/{instance} |
names |
IEnumerablestringRequired. The resource names of the dashboards to export. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
IEnumerable<string> names = new string[] { "", };
// Make the request
ExportNativeDashboardsResponse response = await nativeDashboardServiceClient.ExportNativeDashboardsAsync(parent, names);
ExportNativeDashboardsAsync(InstanceName, IEnumerable<string>, CancellationToken)
public virtual Task<ExportNativeDashboardsResponse> ExportNativeDashboardsAsync(InstanceName parent, IEnumerable<string> names, CancellationToken cancellationToken)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource that the dashboards to be exported belong to. Format: projects/{project}/locations/{location}/instances/{instance} |
names |
IEnumerablestringRequired. The resource names of the dashboards to export. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
IEnumerable<string> names = new string[] { "", };
// Make the request
ExportNativeDashboardsResponse response = await nativeDashboardServiceClient.ExportNativeDashboardsAsync(parent, names);
ExportNativeDashboardsAsync(string, IEnumerable<string>, CallSettings)
public virtual Task<ExportNativeDashboardsResponse> ExportNativeDashboardsAsync(string parent, IEnumerable<string> names, CallSettings callSettings = null)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource that the dashboards to be exported belong to. Format: projects/{project}/locations/{location}/instances/{instance} |
names |
IEnumerablestringRequired. The resource names of the dashboards to export. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
IEnumerable<string> names = new string[] { "", };
// Make the request
ExportNativeDashboardsResponse response = await nativeDashboardServiceClient.ExportNativeDashboardsAsync(parent, names);
ExportNativeDashboardsAsync(string, IEnumerable<string>, CancellationToken)
public virtual Task<ExportNativeDashboardsResponse> ExportNativeDashboardsAsync(string parent, IEnumerable<string> names, CancellationToken cancellationToken)Exports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource that the dashboards to be exported belong to. Format: projects/{project}/locations/{location}/instances/{instance} |
names |
IEnumerablestringRequired. The resource names of the dashboards to export. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskExportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
IEnumerable<string> names = new string[] { "", };
// Make the request
ExportNativeDashboardsResponse response = await nativeDashboardServiceClient.ExportNativeDashboardsAsync(parent, names);
GetNativeDashboard(GetNativeDashboardRequest, CallSettings)
public virtual NativeDashboard GetNativeDashboard(GetNativeDashboardRequest request, CallSettings callSettings = null)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
GetNativeDashboardRequest request = new GetNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
View = NativeDashboardView.Unspecified,
};
// Make the request
NativeDashboard response = nativeDashboardServiceClient.GetNativeDashboard(request);
GetNativeDashboard(NativeDashboardName, CallSettings)
public virtual NativeDashboard GetNativeDashboard(NativeDashboardName name, CallSettings callSettings = null)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to fetch. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
NativeDashboard response = nativeDashboardServiceClient.GetNativeDashboard(name);
GetNativeDashboard(string, CallSettings)
public virtual NativeDashboard GetNativeDashboard(string name, CallSettings callSettings = null)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to fetch. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
NativeDashboard response = nativeDashboardServiceClient.GetNativeDashboard(name);
GetNativeDashboardAsync(GetNativeDashboardRequest, CallSettings)
public virtual Task<NativeDashboard> GetNativeDashboardAsync(GetNativeDashboardRequest request, CallSettings callSettings = null)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
GetNativeDashboardRequest request = new GetNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
View = NativeDashboardView.Unspecified,
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.GetNativeDashboardAsync(request);
GetNativeDashboardAsync(GetNativeDashboardRequest, CancellationToken)
public virtual Task<NativeDashboard> GetNativeDashboardAsync(GetNativeDashboardRequest request, CancellationToken cancellationToken)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNativeDashboardRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
GetNativeDashboardRequest request = new GetNativeDashboardRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
View = NativeDashboardView.Unspecified,
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.GetNativeDashboardAsync(request);
GetNativeDashboardAsync(NativeDashboardName, CallSettings)
public virtual Task<NativeDashboard> GetNativeDashboardAsync(NativeDashboardName name, CallSettings callSettings = null)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to fetch. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.GetNativeDashboardAsync(name);
GetNativeDashboardAsync(NativeDashboardName, CancellationToken)
public virtual Task<NativeDashboard> GetNativeDashboardAsync(NativeDashboardName name, CancellationToken cancellationToken)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to fetch. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.GetNativeDashboardAsync(name);
GetNativeDashboardAsync(string, CallSettings)
public virtual Task<NativeDashboard> GetNativeDashboardAsync(string name, CallSettings callSettings = null)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to fetch. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.GetNativeDashboardAsync(name);
GetNativeDashboardAsync(string, CancellationToken)
public virtual Task<NativeDashboard> GetNativeDashboardAsync(string name, CancellationToken cancellationToken)Get a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to fetch. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.GetNativeDashboardAsync(name);
ImportNativeDashboards(ImportNativeDashboardsRequest, CallSettings)
public virtual ImportNativeDashboardsResponse ImportNativeDashboards(ImportNativeDashboardsRequest request, CallSettings callSettings = null)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportNativeDashboardsResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
ImportNativeDashboardsRequest request = new ImportNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Source = new ImportNativeDashboardsInlineSource(),
};
// Make the request
ImportNativeDashboardsResponse response = nativeDashboardServiceClient.ImportNativeDashboards(request);
ImportNativeDashboards(InstanceName, ImportNativeDashboardsInlineSource, CallSettings)
public virtual ImportNativeDashboardsResponse ImportNativeDashboards(InstanceName parent, ImportNativeDashboardsInlineSource source, CallSettings callSettings = null)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
source |
ImportNativeDashboardsInlineSourceRequired. The data will imported from this proto. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportNativeDashboardsResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
ImportNativeDashboardsInlineSource source = new ImportNativeDashboardsInlineSource();
// Make the request
ImportNativeDashboardsResponse response = nativeDashboardServiceClient.ImportNativeDashboards(parent, source);
ImportNativeDashboards(string, ImportNativeDashboardsInlineSource, CallSettings)
public virtual ImportNativeDashboardsResponse ImportNativeDashboards(string parent, ImportNativeDashboardsInlineSource source, CallSettings callSettings = null)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
source |
ImportNativeDashboardsInlineSourceRequired. The data will imported from this proto. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportNativeDashboardsResponse |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
ImportNativeDashboardsInlineSource source = new ImportNativeDashboardsInlineSource();
// Make the request
ImportNativeDashboardsResponse response = nativeDashboardServiceClient.ImportNativeDashboards(parent, source);
ImportNativeDashboardsAsync(ImportNativeDashboardsRequest, CallSettings)
public virtual Task<ImportNativeDashboardsResponse> ImportNativeDashboardsAsync(ImportNativeDashboardsRequest request, CallSettings callSettings = null)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
ImportNativeDashboardsRequest request = new ImportNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Source = new ImportNativeDashboardsInlineSource(),
};
// Make the request
ImportNativeDashboardsResponse response = await nativeDashboardServiceClient.ImportNativeDashboardsAsync(request);
ImportNativeDashboardsAsync(ImportNativeDashboardsRequest, CancellationToken)
public virtual Task<ImportNativeDashboardsResponse> ImportNativeDashboardsAsync(ImportNativeDashboardsRequest request, CancellationToken cancellationToken)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
ImportNativeDashboardsRequest request = new ImportNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
Source = new ImportNativeDashboardsInlineSource(),
};
// Make the request
ImportNativeDashboardsResponse response = await nativeDashboardServiceClient.ImportNativeDashboardsAsync(request);
ImportNativeDashboardsAsync(InstanceName, ImportNativeDashboardsInlineSource, CallSettings)
public virtual Task<ImportNativeDashboardsResponse> ImportNativeDashboardsAsync(InstanceName parent, ImportNativeDashboardsInlineSource source, CallSettings callSettings = null)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
source |
ImportNativeDashboardsInlineSourceRequired. The data will imported from this proto. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
ImportNativeDashboardsInlineSource source = new ImportNativeDashboardsInlineSource();
// Make the request
ImportNativeDashboardsResponse response = await nativeDashboardServiceClient.ImportNativeDashboardsAsync(parent, source);
ImportNativeDashboardsAsync(InstanceName, ImportNativeDashboardsInlineSource, CancellationToken)
public virtual Task<ImportNativeDashboardsResponse> ImportNativeDashboardsAsync(InstanceName parent, ImportNativeDashboardsInlineSource source, CancellationToken cancellationToken)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
source |
ImportNativeDashboardsInlineSourceRequired. The data will imported from this proto. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
ImportNativeDashboardsInlineSource source = new ImportNativeDashboardsInlineSource();
// Make the request
ImportNativeDashboardsResponse response = await nativeDashboardServiceClient.ImportNativeDashboardsAsync(parent, source);
ImportNativeDashboardsAsync(string, ImportNativeDashboardsInlineSource, CallSettings)
public virtual Task<ImportNativeDashboardsResponse> ImportNativeDashboardsAsync(string parent, ImportNativeDashboardsInlineSource source, CallSettings callSettings = null)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
source |
ImportNativeDashboardsInlineSourceRequired. The data will imported from this proto. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
ImportNativeDashboardsInlineSource source = new ImportNativeDashboardsInlineSource();
// Make the request
ImportNativeDashboardsResponse response = await nativeDashboardServiceClient.ImportNativeDashboardsAsync(parent, source);
ImportNativeDashboardsAsync(string, ImportNativeDashboardsInlineSource, CancellationToken)
public virtual Task<ImportNativeDashboardsResponse> ImportNativeDashboardsAsync(string parent, ImportNativeDashboardsInlineSource source, CancellationToken cancellationToken)Imports the dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
source |
ImportNativeDashboardsInlineSourceRequired. The data will imported from this proto. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportNativeDashboardsResponse |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
ImportNativeDashboardsInlineSource source = new ImportNativeDashboardsInlineSource();
// Make the request
ImportNativeDashboardsResponse response = await nativeDashboardServiceClient.ImportNativeDashboardsAsync(parent, source);
ListNativeDashboards(InstanceName, string, int?, CallSettings)
public virtual PagedEnumerable<ListNativeDashboardsResponse, NativeDashboard> ListNativeDashboards(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List all dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent owning this dashboard collection. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListNativeDashboardsResponseNativeDashboard |
A pageable sequence of NativeDashboard resources. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
PagedEnumerable<ListNativeDashboardsResponse, NativeDashboard> response = nativeDashboardServiceClient.ListNativeDashboards(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (NativeDashboard item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListNativeDashboardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (NativeDashboard item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<NativeDashboard> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (NativeDashboard item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListNativeDashboards(ListNativeDashboardsRequest, CallSettings)
public virtual PagedEnumerable<ListNativeDashboardsResponse, NativeDashboard> ListNativeDashboards(ListNativeDashboardsRequest request, CallSettings callSettings = null)List all dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListNativeDashboardsResponseNativeDashboard |
A pageable sequence of NativeDashboard resources. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
ListNativeDashboardsRequest request = new ListNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
View = NativeDashboardView.Unspecified,
};
// Make the request
PagedEnumerable<ListNativeDashboardsResponse, NativeDashboard> response = nativeDashboardServiceClient.ListNativeDashboards(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (NativeDashboard item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListNativeDashboardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (NativeDashboard item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<NativeDashboard> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (NativeDashboard item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListNativeDashboards(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListNativeDashboardsResponse, NativeDashboard> ListNativeDashboards(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List all dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent owning this dashboard collection. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListNativeDashboardsResponseNativeDashboard |
A pageable sequence of NativeDashboard resources. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
PagedEnumerable<ListNativeDashboardsResponse, NativeDashboard> response = nativeDashboardServiceClient.ListNativeDashboards(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (NativeDashboard item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListNativeDashboardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (NativeDashboard item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<NativeDashboard> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (NativeDashboard item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListNativeDashboardsAsync(InstanceName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListNativeDashboardsResponse, NativeDashboard> ListNativeDashboardsAsync(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List all dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
InstanceNameRequired. The parent owning this dashboard collection. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListNativeDashboardsResponseNativeDashboard |
A pageable asynchronous sequence of NativeDashboard resources. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
// Make the request
PagedAsyncEnumerable<ListNativeDashboardsResponse, NativeDashboard> response = nativeDashboardServiceClient.ListNativeDashboardsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (NativeDashboard item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListNativeDashboardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (NativeDashboard item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<NativeDashboard> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (NativeDashboard item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListNativeDashboardsAsync(ListNativeDashboardsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListNativeDashboardsResponse, NativeDashboard> ListNativeDashboardsAsync(ListNativeDashboardsRequest request, CallSettings callSettings = null)List all dashboards.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNativeDashboardsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListNativeDashboardsResponseNativeDashboard |
A pageable asynchronous sequence of NativeDashboard resources. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
ListNativeDashboardsRequest request = new ListNativeDashboardsRequest
{
ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
View = NativeDashboardView.Unspecified,
};
// Make the request
PagedAsyncEnumerable<ListNativeDashboardsResponse, NativeDashboard> response = nativeDashboardServiceClient.ListNativeDashboardsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (NativeDashboard item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListNativeDashboardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (NativeDashboard item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<NativeDashboard> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (NativeDashboard item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListNativeDashboardsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListNativeDashboardsResponse, NativeDashboard> ListNativeDashboardsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)List all dashboards.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent owning this dashboard collection. Format: projects/{project}/locations/{location}/instances/{instance} |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListNativeDashboardsResponseNativeDashboard |
A pageable asynchronous sequence of NativeDashboard resources. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
// Make the request
PagedAsyncEnumerable<ListNativeDashboardsResponse, NativeDashboard> response = nativeDashboardServiceClient.ListNativeDashboardsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (NativeDashboard item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListNativeDashboardsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (NativeDashboard item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<NativeDashboard> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (NativeDashboard item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
RemoveChart(NativeDashboardName, CallSettings)
public virtual NativeDashboard RemoveChart(NativeDashboardName name, CallSettings callSettings = null)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
NativeDashboard response = nativeDashboardServiceClient.RemoveChart(name);
RemoveChart(RemoveChartRequest, CallSettings)
public virtual NativeDashboard RemoveChart(RemoveChartRequest request, CallSettings callSettings = null)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
RemoveChartRequest request = new RemoveChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardChartAsDashboardChartName = DashboardChartName.FromProjectLocationInstanceChart("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[CHART]"),
};
// Make the request
NativeDashboard response = nativeDashboardServiceClient.RemoveChart(request);
RemoveChart(string, CallSettings)
public virtual NativeDashboard RemoveChart(string name, CallSettings callSettings = null)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
NativeDashboard response = nativeDashboardServiceClient.RemoveChart(name);
RemoveChartAsync(NativeDashboardName, CallSettings)
public virtual Task<NativeDashboard> RemoveChartAsync(NativeDashboardName name, CallSettings callSettings = null)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.RemoveChartAsync(name);
RemoveChartAsync(NativeDashboardName, CancellationToken)
public virtual Task<NativeDashboard> RemoveChartAsync(NativeDashboardName name, CancellationToken cancellationToken)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
NativeDashboardNameRequired. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboardName name = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]");
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.RemoveChartAsync(name);
RemoveChartAsync(RemoveChartRequest, CallSettings)
public virtual Task<NativeDashboard> RemoveChartAsync(RemoveChartRequest request, CallSettings callSettings = null)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveChartRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
RemoveChartRequest request = new RemoveChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardChartAsDashboardChartName = DashboardChartName.FromProjectLocationInstanceChart("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[CHART]"),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.RemoveChartAsync(request);
RemoveChartAsync(RemoveChartRequest, CancellationToken)
public virtual Task<NativeDashboard> RemoveChartAsync(RemoveChartRequest request, CancellationToken cancellationToken)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveChartRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
RemoveChartRequest request = new RemoveChartRequest
{
NativeDashboardName = NativeDashboardName.FromProjectLocationInstanceDashboard("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[DASHBOARD]"),
DashboardChartAsDashboardChartName = DashboardChartName.FromProjectLocationInstanceChart("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[CHART]"),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.RemoveChartAsync(request);
RemoveChartAsync(string, CallSettings)
public virtual Task<NativeDashboard> RemoveChartAsync(string name, CallSettings callSettings = null)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.RemoveChartAsync(name);
RemoveChartAsync(string, CancellationToken)
public virtual Task<NativeDashboard> RemoveChartAsync(string name, CancellationToken cancellationToken)Remove chart from a dashboard.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The dashboard name to remove chart from. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/nativeDashboards/[DASHBOARD]";
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.RemoveChartAsync(name);
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateNativeDashboard(NativeDashboard, FieldMask, CallSettings)
public virtual NativeDashboard UpdateNativeDashboard(NativeDashboard nativeDashboard, FieldMask updateMask, CallSettings callSettings = null)Update a dashboard.
| Parameters | |
|---|---|
| Name | Description |
nativeDashboard |
NativeDashboardRequired. The dashboard to update. The dashboard's |
updateMask |
FieldMaskRequired. LINT.IfChange(update_mask_values) The list of fields to update. Supported paths are - display_name description definition.filters definition.charts type access dashboard_user_data.is_pinned |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
NativeDashboard nativeDashboard = new NativeDashboard();
FieldMask updateMask = new FieldMask();
// Make the request
NativeDashboard response = nativeDashboardServiceClient.UpdateNativeDashboard(nativeDashboard, updateMask);
UpdateNativeDashboard(UpdateNativeDashboardRequest, CallSettings)
public virtual NativeDashboard UpdateNativeDashboard(UpdateNativeDashboardRequest request, CallSettings callSettings = null)Update a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NativeDashboard |
The RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = NativeDashboardServiceClient.Create();
// Initialize request argument(s)
UpdateNativeDashboardRequest request = new UpdateNativeDashboardRequest
{
NativeDashboard = new NativeDashboard(),
UpdateMask = new FieldMask(),
};
// Make the request
NativeDashboard response = nativeDashboardServiceClient.UpdateNativeDashboard(request);
UpdateNativeDashboardAsync(NativeDashboard, FieldMask, CallSettings)
public virtual Task<NativeDashboard> UpdateNativeDashboardAsync(NativeDashboard nativeDashboard, FieldMask updateMask, CallSettings callSettings = null)Update a dashboard.
| Parameters | |
|---|---|
| Name | Description |
nativeDashboard |
NativeDashboardRequired. The dashboard to update. The dashboard's |
updateMask |
FieldMaskRequired. LINT.IfChange(update_mask_values) The list of fields to update. Supported paths are - display_name description definition.filters definition.charts type access dashboard_user_data.is_pinned |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboard nativeDashboard = new NativeDashboard();
FieldMask updateMask = new FieldMask();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.UpdateNativeDashboardAsync(nativeDashboard, updateMask);
UpdateNativeDashboardAsync(NativeDashboard, FieldMask, CancellationToken)
public virtual Task<NativeDashboard> UpdateNativeDashboardAsync(NativeDashboard nativeDashboard, FieldMask updateMask, CancellationToken cancellationToken)Update a dashboard.
| Parameters | |
|---|---|
| Name | Description |
nativeDashboard |
NativeDashboardRequired. The dashboard to update. The dashboard's |
updateMask |
FieldMaskRequired. LINT.IfChange(update_mask_values) The list of fields to update. Supported paths are - display_name description definition.filters definition.charts type access dashboard_user_data.is_pinned |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
NativeDashboard nativeDashboard = new NativeDashboard();
FieldMask updateMask = new FieldMask();
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.UpdateNativeDashboardAsync(nativeDashboard, updateMask);
UpdateNativeDashboardAsync(UpdateNativeDashboardRequest, CallSettings)
public virtual Task<NativeDashboard> UpdateNativeDashboardAsync(UpdateNativeDashboardRequest request, CallSettings callSettings = null)Update a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateNativeDashboardRequest request = new UpdateNativeDashboardRequest
{
NativeDashboard = new NativeDashboard(),
UpdateMask = new FieldMask(),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.UpdateNativeDashboardAsync(request);
UpdateNativeDashboardAsync(UpdateNativeDashboardRequest, CancellationToken)
public virtual Task<NativeDashboard> UpdateNativeDashboardAsync(UpdateNativeDashboardRequest request, CancellationToken cancellationToken)Update a dashboard.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNativeDashboardRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskNativeDashboard |
A Task containing the RPC response. |
// Create client
NativeDashboardServiceClient nativeDashboardServiceClient = await NativeDashboardServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateNativeDashboardRequest request = new UpdateNativeDashboardRequest
{
NativeDashboard = new NativeDashboard(),
UpdateMask = new FieldMask(),
};
// Make the request
NativeDashboard response = await nativeDashboardServiceClient.UpdateNativeDashboardAsync(request);