public abstract class DesignCenterClientReference documentation and code samples for the Design Center v1 API class DesignCenterClient.
DesignCenter client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.DesignCenter.V1Assembly
Google.Cloud.DesignCenter.V1.dll
Remarks
Service describing handlers for resources
Properties
CreateCatalogTemplateRevisionOperationsClient
public virtual OperationsClient CreateCatalogTemplateRevisionOperationsClient { get; }The long-running operations client for CreateCatalogTemplateRevision.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateShareOperationsClient
public virtual OperationsClient CreateShareOperationsClient { get; }The long-running operations client for CreateShare.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the DesignCenter service, which is a host of "designcenter.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default DesignCenter scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default DesignCenter scopes are:
DeleteApplicationOperationsClient
public virtual OperationsClient DeleteApplicationOperationsClient { get; }The long-running operations client for DeleteApplication.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteCatalogOperationsClient
public virtual OperationsClient DeleteCatalogOperationsClient { get; }The long-running operations client for DeleteCatalog.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteCatalogTemplateOperationsClient
public virtual OperationsClient DeleteCatalogTemplateOperationsClient { get; }The long-running operations client for DeleteCatalogTemplate.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteCatalogTemplateRevisionOperationsClient
public virtual OperationsClient DeleteCatalogTemplateRevisionOperationsClient { get; }The long-running operations client for DeleteCatalogTemplateRevision.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteShareOperationsClient
public virtual OperationsClient DeleteShareOperationsClient { get; }The long-running operations client for DeleteShare.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeployApplicationOperationsClient
public virtual OperationsClient DeployApplicationOperationsClient { get; }The long-running operations client for DeployApplication.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ExportApplicationIaCOperationsClient
public virtual OperationsClient ExportApplicationIaCOperationsClient { get; }The long-running operations client for ExportApplicationIaC.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ExportApplicationTemplateIaCOperationsClient
public virtual OperationsClient ExportApplicationTemplateIaCOperationsClient { get; }The long-running operations client for ExportApplicationTemplateIaC.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ExportApplicationTemplateRevisionIaCOperationsClient
public virtual OperationsClient ExportApplicationTemplateRevisionIaCOperationsClient { get; }The long-running operations client for ExportApplicationTemplateRevisionIaC.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GenerateApplicationAssessmentReportOperationsClient
public virtual OperationsClient GenerateApplicationAssessmentReportOperationsClient { get; }The long-running operations client for GenerateApplicationAssessmentReport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GenerateApplicationTemplateAssessmentReportOperationsClient
public virtual OperationsClient GenerateApplicationTemplateAssessmentReportOperationsClient { get; }The long-running operations client for GenerateApplicationTemplateAssessmentReport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GenerateAssessmentReportOperationsClient
public virtual OperationsClient GenerateAssessmentReportOperationsClient { get; }The long-running operations client for GenerateAssessmentReport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GenerateTerraformPlanAssessmentReportOperationsClient
public virtual OperationsClient GenerateTerraformPlanAssessmentReportOperationsClient { get; }The long-running operations client for GenerateTerraformPlanAssessmentReport.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public virtual DesignCenter.DesignCenterClient GrpcClient { get; }The underlying gRPC DesignCenter client
| Property Value | |
|---|---|
| Type | Description |
DesignCenterDesignCenterClient |
|
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
IngestApplicationTemplateIaCOperationsClient
public virtual OperationsClient IngestApplicationTemplateIaCOperationsClient { get; }The long-running operations client for IngestApplicationTemplateIaC.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
LocationsClient
public virtual LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
PreviewApplicationOperationsClient
public virtual OperationsClient PreviewApplicationOperationsClient { get; }The long-running operations client for PreviewApplication.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
RecommendIAMRolesOperationsClient
public virtual OperationsClient RecommendIAMRolesOperationsClient { get; }The long-running operations client for RecommendIAMRoles.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
RegisterAppHubApplicationResourcesOperationsClient
public virtual OperationsClient RegisterAppHubApplicationResourcesOperationsClient { get; }The long-running operations client for RegisterAppHubApplicationResources.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
SnapshotApplicationTemplateOperationsClient
public virtual OperationsClient SnapshotApplicationTemplateOperationsClient { get; }The long-running operations client for SnapshotApplicationTemplate.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SyncShareOperationsClient
public virtual OperationsClient SyncShareOperationsClient { get; }The long-running operations client for SyncShare.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CommitApplicationTemplate(ApplicationTemplateName, CallSettings)
public virtual ApplicationTemplateRevision CommitApplicationTemplate(ApplicationTemplateName name, CallSettings callSettings = null)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ApplicationTemplateRevision response = designCenterClient.CommitApplicationTemplate(name);
CommitApplicationTemplate(CommitApplicationTemplateRequest, CallSettings)
public virtual ApplicationTemplateRevision CommitApplicationTemplate(CommitApplicationTemplateRequest request, CallSettings callSettings = null)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CommitApplicationTemplateRequest request = new CommitApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
ApplicationTemplateRevision response = designCenterClient.CommitApplicationTemplate(request);
CommitApplicationTemplate(string, CallSettings)
public virtual ApplicationTemplateRevision CommitApplicationTemplate(string name, CallSettings callSettings = null)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ApplicationTemplateRevision response = designCenterClient.CommitApplicationTemplate(name);
CommitApplicationTemplateAsync(ApplicationTemplateName, CallSettings)
public virtual Task<ApplicationTemplateRevision> CommitApplicationTemplateAsync(ApplicationTemplateName name, CallSettings callSettings = null)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ApplicationTemplateRevision response = await designCenterClient.CommitApplicationTemplateAsync(name);
CommitApplicationTemplateAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<ApplicationTemplateRevision> CommitApplicationTemplateAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ApplicationTemplateRevision response = await designCenterClient.CommitApplicationTemplateAsync(name);
CommitApplicationTemplateAsync(CommitApplicationTemplateRequest, CallSettings)
public virtual Task<ApplicationTemplateRevision> CommitApplicationTemplateAsync(CommitApplicationTemplateRequest request, CallSettings callSettings = null)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CommitApplicationTemplateRequest request = new CommitApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
ApplicationTemplateRevision response = await designCenterClient.CommitApplicationTemplateAsync(request);
CommitApplicationTemplateAsync(CommitApplicationTemplateRequest, CancellationToken)
public virtual Task<ApplicationTemplateRevision> CommitApplicationTemplateAsync(CommitApplicationTemplateRequest request, CancellationToken cancellationToken)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CommitApplicationTemplateRequest request = new CommitApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
ApplicationTemplateRevision response = await designCenterClient.CommitApplicationTemplateAsync(request);
CommitApplicationTemplateAsync(string, CallSettings)
public virtual Task<ApplicationTemplateRevision> CommitApplicationTemplateAsync(string name, CallSettings callSettings = null)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ApplicationTemplateRevision response = await designCenterClient.CommitApplicationTemplateAsync(name);
CommitApplicationTemplateAsync(string, CancellationToken)
public virtual Task<ApplicationTemplateRevision> CommitApplicationTemplateAsync(string name, CancellationToken cancellationToken)Commits an application template to create a new revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ApplicationTemplateRevision response = await designCenterClient.CommitApplicationTemplateAsync(name);
Create()
public static DesignCenterClient Create()Synchronously creates a DesignCenterClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DesignCenterClientBuilder.
| Returns | |
|---|---|
| Type | Description |
DesignCenterClient |
The created DesignCenterClient. |
CreateApplication(CreateApplicationRequest, CallSettings)
public virtual Application CreateApplication(CreateApplicationRequest request, CallSettings callSettings = null)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateApplicationRequest request = new CreateApplicationRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
ApplicationId = "",
Application = new Application(),
};
// Make the request
Application response = designCenterClient.CreateApplication(request);
CreateApplication(SpaceName, Application, string, CallSettings)
public virtual Application CreateApplication(SpaceName parent, Application application, string applicationId, CallSettings callSettings = null)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource in which to create the application.
Format: |
application |
ApplicationRequired. The application to create. |
applicationId |
stringRequired. The ID of the application to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
Application application = new Application();
string applicationId = "";
// Make the request
Application response = designCenterClient.CreateApplication(parent, application, applicationId);
CreateApplication(string, Application, string, CallSettings)
public virtual Application CreateApplication(string parent, Application application, string applicationId, CallSettings callSettings = null)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the application.
Format: |
application |
ApplicationRequired. The application to create. |
applicationId |
stringRequired. The ID of the application to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
Application application = new Application();
string applicationId = "";
// Make the request
Application response = designCenterClient.CreateApplication(parent, application, applicationId);
CreateApplicationAsync(CreateApplicationRequest, CallSettings)
public virtual Task<Application> CreateApplicationAsync(CreateApplicationRequest request, CallSettings callSettings = null)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateApplicationRequest request = new CreateApplicationRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
ApplicationId = "",
Application = new Application(),
};
// Make the request
Application response = await designCenterClient.CreateApplicationAsync(request);
CreateApplicationAsync(CreateApplicationRequest, CancellationToken)
public virtual Task<Application> CreateApplicationAsync(CreateApplicationRequest request, CancellationToken cancellationToken)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApplicationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateApplicationRequest request = new CreateApplicationRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
ApplicationId = "",
Application = new Application(),
};
// Make the request
Application response = await designCenterClient.CreateApplicationAsync(request);
CreateApplicationAsync(SpaceName, Application, string, CallSettings)
public virtual Task<Application> CreateApplicationAsync(SpaceName parent, Application application, string applicationId, CallSettings callSettings = null)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource in which to create the application.
Format: |
application |
ApplicationRequired. The application to create. |
applicationId |
stringRequired. The ID of the application to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
Application application = new Application();
string applicationId = "";
// Make the request
Application response = await designCenterClient.CreateApplicationAsync(parent, application, applicationId);
CreateApplicationAsync(SpaceName, Application, string, CancellationToken)
public virtual Task<Application> CreateApplicationAsync(SpaceName parent, Application application, string applicationId, CancellationToken cancellationToken)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource in which to create the application.
Format: |
application |
ApplicationRequired. The application to create. |
applicationId |
stringRequired. The ID of the application to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
Application application = new Application();
string applicationId = "";
// Make the request
Application response = await designCenterClient.CreateApplicationAsync(parent, application, applicationId);
CreateApplicationAsync(string, Application, string, CallSettings)
public virtual Task<Application> CreateApplicationAsync(string parent, Application application, string applicationId, CallSettings callSettings = null)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the application.
Format: |
application |
ApplicationRequired. The application to create. |
applicationId |
stringRequired. The ID of the application to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
Application application = new Application();
string applicationId = "";
// Make the request
Application response = await designCenterClient.CreateApplicationAsync(parent, application, applicationId);
CreateApplicationAsync(string, Application, string, CancellationToken)
public virtual Task<Application> CreateApplicationAsync(string parent, Application application, string applicationId, CancellationToken cancellationToken)Creates an application.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the application.
Format: |
application |
ApplicationRequired. The application to create. |
applicationId |
stringRequired. The ID of the application to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
Application application = new Application();
string applicationId = "";
// Make the request
Application response = await designCenterClient.CreateApplicationAsync(parent, application, applicationId);
CreateApplicationTemplate(CreateApplicationTemplateRequest, CallSettings)
public virtual ApplicationTemplate CreateApplicationTemplate(CreateApplicationTemplateRequest request, CallSettings callSettings = null)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateApplicationTemplateRequest request = new CreateApplicationTemplateRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
ApplicationTemplateId = "",
ApplicationTemplate = new ApplicationTemplate(),
};
// Make the request
ApplicationTemplate response = designCenterClient.CreateApplicationTemplate(request);
CreateApplicationTemplate(SpaceName, ApplicationTemplate, string, CallSettings)
public virtual ApplicationTemplate CreateApplicationTemplate(SpaceName parent, ApplicationTemplate applicationTemplate, string applicationTemplateId, CallSettings callSettings = null)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource in which to create the application template. |
applicationTemplate |
ApplicationTemplateRequired. The application template to create. |
applicationTemplateId |
stringRequired. The ID of the application template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
string applicationTemplateId = "";
// Make the request
ApplicationTemplate response = designCenterClient.CreateApplicationTemplate(parent, applicationTemplate, applicationTemplateId);
CreateApplicationTemplate(string, ApplicationTemplate, string, CallSettings)
public virtual ApplicationTemplate CreateApplicationTemplate(string parent, ApplicationTemplate applicationTemplate, string applicationTemplateId, CallSettings callSettings = null)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the application template. |
applicationTemplate |
ApplicationTemplateRequired. The application template to create. |
applicationTemplateId |
stringRequired. The ID of the application template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
string applicationTemplateId = "";
// Make the request
ApplicationTemplate response = designCenterClient.CreateApplicationTemplate(parent, applicationTemplate, applicationTemplateId);
CreateApplicationTemplateAsync(CreateApplicationTemplateRequest, CallSettings)
public virtual Task<ApplicationTemplate> CreateApplicationTemplateAsync(CreateApplicationTemplateRequest request, CallSettings callSettings = null)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateApplicationTemplateRequest request = new CreateApplicationTemplateRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
ApplicationTemplateId = "",
ApplicationTemplate = new ApplicationTemplate(),
};
// Make the request
ApplicationTemplate response = await designCenterClient.CreateApplicationTemplateAsync(request);
CreateApplicationTemplateAsync(CreateApplicationTemplateRequest, CancellationToken)
public virtual Task<ApplicationTemplate> CreateApplicationTemplateAsync(CreateApplicationTemplateRequest request, CancellationToken cancellationToken)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateApplicationTemplateRequest request = new CreateApplicationTemplateRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
ApplicationTemplateId = "",
ApplicationTemplate = new ApplicationTemplate(),
};
// Make the request
ApplicationTemplate response = await designCenterClient.CreateApplicationTemplateAsync(request);
CreateApplicationTemplateAsync(SpaceName, ApplicationTemplate, string, CallSettings)
public virtual Task<ApplicationTemplate> CreateApplicationTemplateAsync(SpaceName parent, ApplicationTemplate applicationTemplate, string applicationTemplateId, CallSettings callSettings = null)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource in which to create the application template. |
applicationTemplate |
ApplicationTemplateRequired. The application template to create. |
applicationTemplateId |
stringRequired. The ID of the application template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
string applicationTemplateId = "";
// Make the request
ApplicationTemplate response = await designCenterClient.CreateApplicationTemplateAsync(parent, applicationTemplate, applicationTemplateId);
CreateApplicationTemplateAsync(SpaceName, ApplicationTemplate, string, CancellationToken)
public virtual Task<ApplicationTemplate> CreateApplicationTemplateAsync(SpaceName parent, ApplicationTemplate applicationTemplate, string applicationTemplateId, CancellationToken cancellationToken)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource in which to create the application template. |
applicationTemplate |
ApplicationTemplateRequired. The application template to create. |
applicationTemplateId |
stringRequired. The ID of the application template to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
string applicationTemplateId = "";
// Make the request
ApplicationTemplate response = await designCenterClient.CreateApplicationTemplateAsync(parent, applicationTemplate, applicationTemplateId);
CreateApplicationTemplateAsync(string, ApplicationTemplate, string, CallSettings)
public virtual Task<ApplicationTemplate> CreateApplicationTemplateAsync(string parent, ApplicationTemplate applicationTemplate, string applicationTemplateId, CallSettings callSettings = null)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the application template. |
applicationTemplate |
ApplicationTemplateRequired. The application template to create. |
applicationTemplateId |
stringRequired. The ID of the application template to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
string applicationTemplateId = "";
// Make the request
ApplicationTemplate response = await designCenterClient.CreateApplicationTemplateAsync(parent, applicationTemplate, applicationTemplateId);
CreateApplicationTemplateAsync(string, ApplicationTemplate, string, CancellationToken)
public virtual Task<ApplicationTemplate> CreateApplicationTemplateAsync(string parent, ApplicationTemplate applicationTemplate, string applicationTemplateId, CancellationToken cancellationToken)Creates an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the application template. |
applicationTemplate |
ApplicationTemplateRequired. The application template to create. |
applicationTemplateId |
stringRequired. The ID of the application template to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
string applicationTemplateId = "";
// Make the request
ApplicationTemplate response = await designCenterClient.CreateApplicationTemplateAsync(parent, applicationTemplate, applicationTemplateId);
CreateAsync(CancellationToken)
public static Task<DesignCenterClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a DesignCenterClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DesignCenterClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskDesignCenterClient |
The task representing the created DesignCenterClient. |
CreateCatalog(CreateCatalogRequest, CallSettings)
public virtual Catalog CreateCatalog(CreateCatalogRequest request, CallSettings callSettings = null)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateCatalogRequest request = new CreateCatalogRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
CatalogId = "",
Catalog = new Catalog(),
};
// Make the request
Catalog response = designCenterClient.CreateCatalog(request);
CreateCatalog(SpaceName, Catalog, string, CallSettings)
public virtual Catalog CreateCatalog(SpaceName parent, Catalog catalog, string catalogId, CallSettings callSettings = null)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent space in which a catalog is created in the following
format: |
catalog |
CatalogRequired. The catalog to create. |
catalogId |
stringRequired. The ID of the catalog to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
Catalog catalog = new Catalog();
string catalogId = "";
// Make the request
Catalog response = designCenterClient.CreateCatalog(parent, catalog, catalogId);
CreateCatalog(string, Catalog, string, CallSettings)
public virtual Catalog CreateCatalog(string parent, Catalog catalog, string catalogId, CallSettings callSettings = null)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent space in which a catalog is created in the following
format: |
catalog |
CatalogRequired. The catalog to create. |
catalogId |
stringRequired. The ID of the catalog to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
Catalog catalog = new Catalog();
string catalogId = "";
// Make the request
Catalog response = designCenterClient.CreateCatalog(parent, catalog, catalogId);
CreateCatalogAsync(CreateCatalogRequest, CallSettings)
public virtual Task<Catalog> CreateCatalogAsync(CreateCatalogRequest request, CallSettings callSettings = null)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateCatalogRequest request = new CreateCatalogRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
CatalogId = "",
Catalog = new Catalog(),
};
// Make the request
Catalog response = await designCenterClient.CreateCatalogAsync(request);
CreateCatalogAsync(CreateCatalogRequest, CancellationToken)
public virtual Task<Catalog> CreateCatalogAsync(CreateCatalogRequest request, CancellationToken cancellationToken)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateCatalogRequest request = new CreateCatalogRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
CatalogId = "",
Catalog = new Catalog(),
};
// Make the request
Catalog response = await designCenterClient.CreateCatalogAsync(request);
CreateCatalogAsync(SpaceName, Catalog, string, CallSettings)
public virtual Task<Catalog> CreateCatalogAsync(SpaceName parent, Catalog catalog, string catalogId, CallSettings callSettings = null)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent space in which a catalog is created in the following
format: |
catalog |
CatalogRequired. The catalog to create. |
catalogId |
stringRequired. The ID of the catalog to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
Catalog catalog = new Catalog();
string catalogId = "";
// Make the request
Catalog response = await designCenterClient.CreateCatalogAsync(parent, catalog, catalogId);
CreateCatalogAsync(SpaceName, Catalog, string, CancellationToken)
public virtual Task<Catalog> CreateCatalogAsync(SpaceName parent, Catalog catalog, string catalogId, CancellationToken cancellationToken)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent space in which a catalog is created in the following
format: |
catalog |
CatalogRequired. The catalog to create. |
catalogId |
stringRequired. The ID of the catalog to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
Catalog catalog = new Catalog();
string catalogId = "";
// Make the request
Catalog response = await designCenterClient.CreateCatalogAsync(parent, catalog, catalogId);
CreateCatalogAsync(string, Catalog, string, CallSettings)
public virtual Task<Catalog> CreateCatalogAsync(string parent, Catalog catalog, string catalogId, CallSettings callSettings = null)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent space in which a catalog is created in the following
format: |
catalog |
CatalogRequired. The catalog to create. |
catalogId |
stringRequired. The ID of the catalog to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
Catalog catalog = new Catalog();
string catalogId = "";
// Make the request
Catalog response = await designCenterClient.CreateCatalogAsync(parent, catalog, catalogId);
CreateCatalogAsync(string, Catalog, string, CancellationToken)
public virtual Task<Catalog> CreateCatalogAsync(string parent, Catalog catalog, string catalogId, CancellationToken cancellationToken)Creates a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent space in which a catalog is created in the following
format: |
catalog |
CatalogRequired. The catalog to create. |
catalogId |
stringRequired. The ID of the catalog to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
Catalog catalog = new Catalog();
string catalogId = "";
// Make the request
Catalog response = await designCenterClient.CreateCatalogAsync(parent, catalog, catalogId);
CreateCatalogTemplate(CatalogName, CatalogTemplate, string, CallSettings)
public virtual CatalogTemplate CreateCatalogTemplate(CatalogName parent, CatalogTemplate catalogTemplate, string catalogTemplateId, CallSettings callSettings = null)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource in which the catalog template is created. |
catalogTemplate |
CatalogTemplateRequired. The catalog template to create. |
catalogTemplateId |
stringRequired. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
CatalogTemplate catalogTemplate = new CatalogTemplate();
string catalogTemplateId = "";
// Make the request
CatalogTemplate response = designCenterClient.CreateCatalogTemplate(parent, catalogTemplate, catalogTemplateId);
CreateCatalogTemplate(CreateCatalogTemplateRequest, CallSettings)
public virtual CatalogTemplate CreateCatalogTemplate(CreateCatalogTemplateRequest request, CallSettings callSettings = null)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateCatalogTemplateRequest request = new CreateCatalogTemplateRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
CatalogTemplateId = "",
CatalogTemplate = new CatalogTemplate(),
};
// Make the request
CatalogTemplate response = designCenterClient.CreateCatalogTemplate(request);
CreateCatalogTemplate(string, CatalogTemplate, string, CallSettings)
public virtual CatalogTemplate CreateCatalogTemplate(string parent, CatalogTemplate catalogTemplate, string catalogTemplateId, CallSettings callSettings = null)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which the catalog template is created. |
catalogTemplate |
CatalogTemplateRequired. The catalog template to create. |
catalogTemplateId |
stringRequired. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
CatalogTemplate catalogTemplate = new CatalogTemplate();
string catalogTemplateId = "";
// Make the request
CatalogTemplate response = designCenterClient.CreateCatalogTemplate(parent, catalogTemplate, catalogTemplateId);
CreateCatalogTemplateAsync(CatalogName, CatalogTemplate, string, CallSettings)
public virtual Task<CatalogTemplate> CreateCatalogTemplateAsync(CatalogName parent, CatalogTemplate catalogTemplate, string catalogTemplateId, CallSettings callSettings = null)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource in which the catalog template is created. |
catalogTemplate |
CatalogTemplateRequired. The catalog template to create. |
catalogTemplateId |
stringRequired. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
CatalogTemplate catalogTemplate = new CatalogTemplate();
string catalogTemplateId = "";
// Make the request
CatalogTemplate response = await designCenterClient.CreateCatalogTemplateAsync(parent, catalogTemplate, catalogTemplateId);
CreateCatalogTemplateAsync(CatalogName, CatalogTemplate, string, CancellationToken)
public virtual Task<CatalogTemplate> CreateCatalogTemplateAsync(CatalogName parent, CatalogTemplate catalogTemplate, string catalogTemplateId, CancellationToken cancellationToken)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource in which the catalog template is created. |
catalogTemplate |
CatalogTemplateRequired. The catalog template to create. |
catalogTemplateId |
stringRequired. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
CatalogTemplate catalogTemplate = new CatalogTemplate();
string catalogTemplateId = "";
// Make the request
CatalogTemplate response = await designCenterClient.CreateCatalogTemplateAsync(parent, catalogTemplate, catalogTemplateId);
CreateCatalogTemplateAsync(CreateCatalogTemplateRequest, CallSettings)
public virtual Task<CatalogTemplate> CreateCatalogTemplateAsync(CreateCatalogTemplateRequest request, CallSettings callSettings = null)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateCatalogTemplateRequest request = new CreateCatalogTemplateRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
CatalogTemplateId = "",
CatalogTemplate = new CatalogTemplate(),
};
// Make the request
CatalogTemplate response = await designCenterClient.CreateCatalogTemplateAsync(request);
CreateCatalogTemplateAsync(CreateCatalogTemplateRequest, CancellationToken)
public virtual Task<CatalogTemplate> CreateCatalogTemplateAsync(CreateCatalogTemplateRequest request, CancellationToken cancellationToken)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateCatalogTemplateRequest request = new CreateCatalogTemplateRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
CatalogTemplateId = "",
CatalogTemplate = new CatalogTemplate(),
};
// Make the request
CatalogTemplate response = await designCenterClient.CreateCatalogTemplateAsync(request);
CreateCatalogTemplateAsync(string, CatalogTemplate, string, CallSettings)
public virtual Task<CatalogTemplate> CreateCatalogTemplateAsync(string parent, CatalogTemplate catalogTemplate, string catalogTemplateId, CallSettings callSettings = null)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which the catalog template is created. |
catalogTemplate |
CatalogTemplateRequired. The catalog template to create. |
catalogTemplateId |
stringRequired. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
CatalogTemplate catalogTemplate = new CatalogTemplate();
string catalogTemplateId = "";
// Make the request
CatalogTemplate response = await designCenterClient.CreateCatalogTemplateAsync(parent, catalogTemplate, catalogTemplateId);
CreateCatalogTemplateAsync(string, CatalogTemplate, string, CancellationToken)
public virtual Task<CatalogTemplate> CreateCatalogTemplateAsync(string parent, CatalogTemplate catalogTemplate, string catalogTemplateId, CancellationToken cancellationToken)Adds a template to a catalog.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which the catalog template is created. |
catalogTemplate |
CatalogTemplateRequired. The catalog template to create. |
catalogTemplateId |
stringRequired. The ID of the catalog template to create. The ID is appended to the catalog template's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
CatalogTemplate catalogTemplate = new CatalogTemplate();
string catalogTemplateId = "";
// Make the request
CatalogTemplate response = await designCenterClient.CreateCatalogTemplateAsync(parent, catalogTemplate, catalogTemplateId);
CreateCatalogTemplateRevision(CatalogTemplateName, CatalogTemplateRevision, string, CallSettings)
public virtual Operation<CatalogTemplateRevision, OperationMetadata> CreateCatalogTemplateRevision(CatalogTemplateName parent, CatalogTemplateRevision catalogTemplateRevision, string catalogTemplateRevisionId, CallSettings callSettings = null)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogTemplateNameRequired. The parent in which the catalog template revisions request is
created in following format:
|
catalogTemplateRevision |
CatalogTemplateRevisionRequired. The template revision to create. |
catalogTemplateRevisionId |
stringRequired. The ID of the template revision to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCatalogTemplateRevisionOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogTemplateName parent = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
CatalogTemplateRevision catalogTemplateRevision = new CatalogTemplateRevision();
string catalogTemplateRevisionId = "";
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = designCenterClient.CreateCatalogTemplateRevision(parent, catalogTemplateRevision, catalogTemplateRevisionId);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = designCenterClient.PollOnceCreateCatalogTemplateRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevision(CreateCatalogTemplateRevisionRequest, CallSettings)
public virtual Operation<CatalogTemplateRevision, OperationMetadata> CreateCatalogTemplateRevision(CreateCatalogTemplateRevisionRequest request, CallSettings callSettings = null)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCatalogTemplateRevisionOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateCatalogTemplateRevisionRequest request = new CreateCatalogTemplateRevisionRequest
{
ParentAsCatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
CatalogTemplateRevisionId = "",
CatalogTemplateRevision = new CatalogTemplateRevision(),
};
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = designCenterClient.CreateCatalogTemplateRevision(request);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = designCenterClient.PollOnceCreateCatalogTemplateRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevision(string, CatalogTemplateRevision, string, CallSettings)
public virtual Operation<CatalogTemplateRevision, OperationMetadata> CreateCatalogTemplateRevision(string parent, CatalogTemplateRevision catalogTemplateRevision, string catalogTemplateRevisionId, CallSettings callSettings = null)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent in which the catalog template revisions request is
created in following format:
|
catalogTemplateRevision |
CatalogTemplateRevisionRequired. The template revision to create. |
catalogTemplateRevisionId |
stringRequired. The ID of the template revision to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCatalogTemplateRevisionOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
CatalogTemplateRevision catalogTemplateRevision = new CatalogTemplateRevision();
string catalogTemplateRevisionId = "";
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = designCenterClient.CreateCatalogTemplateRevision(parent, catalogTemplateRevision, catalogTemplateRevisionId);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = designCenterClient.PollOnceCreateCatalogTemplateRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevisionAsync(CatalogTemplateName, CatalogTemplateRevision, string, CallSettings)
public virtual Task<Operation<CatalogTemplateRevision, OperationMetadata>> CreateCatalogTemplateRevisionAsync(CatalogTemplateName parent, CatalogTemplateRevision catalogTemplateRevision, string catalogTemplateRevisionId, CallSettings callSettings = null)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogTemplateNameRequired. The parent in which the catalog template revisions request is
created in following format:
|
catalogTemplateRevision |
CatalogTemplateRevisionRequired. The template revision to create. |
catalogTemplateRevisionId |
stringRequired. The ID of the template revision to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCatalogTemplateRevisionOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateName parent = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
CatalogTemplateRevision catalogTemplateRevision = new CatalogTemplateRevision();
string catalogTemplateRevisionId = "";
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = await designCenterClient.CreateCatalogTemplateRevisionAsync(parent, catalogTemplateRevision, catalogTemplateRevisionId);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevisionAsync(CatalogTemplateName, CatalogTemplateRevision, string, CancellationToken)
public virtual Task<Operation<CatalogTemplateRevision, OperationMetadata>> CreateCatalogTemplateRevisionAsync(CatalogTemplateName parent, CatalogTemplateRevision catalogTemplateRevision, string catalogTemplateRevisionId, CancellationToken cancellationToken)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogTemplateNameRequired. The parent in which the catalog template revisions request is
created in following format:
|
catalogTemplateRevision |
CatalogTemplateRevisionRequired. The template revision to create. |
catalogTemplateRevisionId |
stringRequired. The ID of the template revision to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCatalogTemplateRevisionOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateName parent = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
CatalogTemplateRevision catalogTemplateRevision = new CatalogTemplateRevision();
string catalogTemplateRevisionId = "";
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = await designCenterClient.CreateCatalogTemplateRevisionAsync(parent, catalogTemplateRevision, catalogTemplateRevisionId);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevisionAsync(CreateCatalogTemplateRevisionRequest, CallSettings)
public virtual Task<Operation<CatalogTemplateRevision, OperationMetadata>> CreateCatalogTemplateRevisionAsync(CreateCatalogTemplateRevisionRequest request, CallSettings callSettings = null)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCatalogTemplateRevisionOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateCatalogTemplateRevisionRequest request = new CreateCatalogTemplateRevisionRequest
{
ParentAsCatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
CatalogTemplateRevisionId = "",
CatalogTemplateRevision = new CatalogTemplateRevision(),
};
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = await designCenterClient.CreateCatalogTemplateRevisionAsync(request);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevisionAsync(CreateCatalogTemplateRevisionRequest, CancellationToken)
public virtual Task<Operation<CatalogTemplateRevision, OperationMetadata>> CreateCatalogTemplateRevisionAsync(CreateCatalogTemplateRevisionRequest request, CancellationToken cancellationToken)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCatalogTemplateRevisionOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateCatalogTemplateRevisionRequest request = new CreateCatalogTemplateRevisionRequest
{
ParentAsCatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
CatalogTemplateRevisionId = "",
CatalogTemplateRevision = new CatalogTemplateRevision(),
};
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = await designCenterClient.CreateCatalogTemplateRevisionAsync(request);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevisionAsync(string, CatalogTemplateRevision, string, CallSettings)
public virtual Task<Operation<CatalogTemplateRevision, OperationMetadata>> CreateCatalogTemplateRevisionAsync(string parent, CatalogTemplateRevision catalogTemplateRevision, string catalogTemplateRevisionId, CallSettings callSettings = null)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent in which the catalog template revisions request is
created in following format:
|
catalogTemplateRevision |
CatalogTemplateRevisionRequired. The template revision to create. |
catalogTemplateRevisionId |
stringRequired. The ID of the template revision to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCatalogTemplateRevisionOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
CatalogTemplateRevision catalogTemplateRevision = new CatalogTemplateRevision();
string catalogTemplateRevisionId = "";
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = await designCenterClient.CreateCatalogTemplateRevisionAsync(parent, catalogTemplateRevision, catalogTemplateRevisionId);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateCatalogTemplateRevisionAsync(string, CatalogTemplateRevision, string, CancellationToken)
public virtual Task<Operation<CatalogTemplateRevision, OperationMetadata>> CreateCatalogTemplateRevisionAsync(string parent, CatalogTemplateRevision catalogTemplateRevision, string catalogTemplateRevisionId, CancellationToken cancellationToken)Creates a template revision.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent in which the catalog template revisions request is
created in following format:
|
catalogTemplateRevision |
CatalogTemplateRevisionRequired. The template revision to create. |
catalogTemplateRevisionId |
stringRequired. The ID of the template revision to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCatalogTemplateRevisionOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
CatalogTemplateRevision catalogTemplateRevision = new CatalogTemplateRevision();
string catalogTemplateRevisionId = "";
// Make the request
Operation<CatalogTemplateRevision, OperationMetadata> response = await designCenterClient.CreateCatalogTemplateRevisionAsync(parent, catalogTemplateRevision, catalogTemplateRevisionId);
// Poll until the returned long-running operation is complete
Operation<CatalogTemplateRevision, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CatalogTemplateRevision result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CatalogTemplateRevision, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CatalogTemplateRevision retrievedResult = retrievedResponse.Result;
}
CreateComponent(ApplicationTemplateName, Component, string, CallSettings)
public virtual Component CreateComponent(ApplicationTemplateName parent, Component component, string componentId, CallSettings callSettings = null)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource in which to create the component. |
component |
ComponentRequired. The component to create. |
componentId |
stringRequired. The ID of the component to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
Component component = new Component();
string componentId = "";
// Make the request
Component response = designCenterClient.CreateComponent(parent, component, componentId);
CreateComponent(CreateComponentRequest, CallSettings)
public virtual Component CreateComponent(CreateComponentRequest request, CallSettings callSettings = null)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateComponentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateComponentRequest request = new CreateComponentRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ComponentId = "",
Component = new Component(),
};
// Make the request
Component response = designCenterClient.CreateComponent(request);
CreateComponent(string, Component, string, CallSettings)
public virtual Component CreateComponent(string parent, Component component, string componentId, CallSettings callSettings = null)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the component. |
component |
ComponentRequired. The component to create. |
componentId |
stringRequired. The ID of the component to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
Component component = new Component();
string componentId = "";
// Make the request
Component response = designCenterClient.CreateComponent(parent, component, componentId);
CreateComponentAsync(ApplicationTemplateName, Component, string, CallSettings)
public virtual Task<Component> CreateComponentAsync(ApplicationTemplateName parent, Component component, string componentId, CallSettings callSettings = null)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource in which to create the component. |
component |
ComponentRequired. The component to create. |
componentId |
stringRequired. The ID of the component to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
Component component = new Component();
string componentId = "";
// Make the request
Component response = await designCenterClient.CreateComponentAsync(parent, component, componentId);
CreateComponentAsync(ApplicationTemplateName, Component, string, CancellationToken)
public virtual Task<Component> CreateComponentAsync(ApplicationTemplateName parent, Component component, string componentId, CancellationToken cancellationToken)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource in which to create the component. |
component |
ComponentRequired. The component to create. |
componentId |
stringRequired. The ID of the component to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
Component component = new Component();
string componentId = "";
// Make the request
Component response = await designCenterClient.CreateComponentAsync(parent, component, componentId);
CreateComponentAsync(CreateComponentRequest, CallSettings)
public virtual Task<Component> CreateComponentAsync(CreateComponentRequest request, CallSettings callSettings = null)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateComponentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateComponentRequest request = new CreateComponentRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ComponentId = "",
Component = new Component(),
};
// Make the request
Component response = await designCenterClient.CreateComponentAsync(request);
CreateComponentAsync(CreateComponentRequest, CancellationToken)
public virtual Task<Component> CreateComponentAsync(CreateComponentRequest request, CancellationToken cancellationToken)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateComponentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateComponentRequest request = new CreateComponentRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ComponentId = "",
Component = new Component(),
};
// Make the request
Component response = await designCenterClient.CreateComponentAsync(request);
CreateComponentAsync(string, Component, string, CallSettings)
public virtual Task<Component> CreateComponentAsync(string parent, Component component, string componentId, CallSettings callSettings = null)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the component. |
component |
ComponentRequired. The component to create. |
componentId |
stringRequired. The ID of the component to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
Component component = new Component();
string componentId = "";
// Make the request
Component response = await designCenterClient.CreateComponentAsync(parent, component, componentId);
CreateComponentAsync(string, Component, string, CancellationToken)
public virtual Task<Component> CreateComponentAsync(string parent, Component component, string componentId, CancellationToken cancellationToken)Creates a component.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the component. |
component |
ComponentRequired. The component to create. |
componentId |
stringRequired. The ID of the component to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
Component component = new Component();
string componentId = "";
// Make the request
Component response = await designCenterClient.CreateComponentAsync(parent, component, componentId);
CreateConnection(ComponentName, Connection, string, CallSettings)
public virtual Connection CreateConnection(ComponentName parent, Connection connection, string connectionId, CallSettings callSettings = null)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
parent |
ComponentNameRequired. The parent resource in which to create a connection. |
connection |
ConnectionRequired. The connection to create. |
connectionId |
stringRequired. The ID of the connection to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ComponentName parent = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
Connection connection = new Connection();
string connectionId = "";
// Make the request
Connection response = designCenterClient.CreateConnection(parent, connection, connectionId);
CreateConnection(CreateConnectionRequest, CallSettings)
public virtual Connection CreateConnection(CreateConnectionRequest request, CallSettings callSettings = null)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateConnectionRequest request = new CreateConnectionRequest
{
ParentAsComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
ConnectionId = "",
Connection = new Connection(),
};
// Make the request
Connection response = designCenterClient.CreateConnection(request);
CreateConnection(string, Connection, string, CallSettings)
public virtual Connection CreateConnection(string parent, Connection connection, string connectionId, CallSettings callSettings = null)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create a connection. |
connection |
ConnectionRequired. The connection to create. |
connectionId |
stringRequired. The ID of the connection to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
Connection connection = new Connection();
string connectionId = "";
// Make the request
Connection response = designCenterClient.CreateConnection(parent, connection, connectionId);
CreateConnectionAsync(ComponentName, Connection, string, CallSettings)
public virtual Task<Connection> CreateConnectionAsync(ComponentName parent, Connection connection, string connectionId, CallSettings callSettings = null)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
parent |
ComponentNameRequired. The parent resource in which to create a connection. |
connection |
ConnectionRequired. The connection to create. |
connectionId |
stringRequired. The ID of the connection to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ComponentName parent = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
Connection connection = new Connection();
string connectionId = "";
// Make the request
Connection response = await designCenterClient.CreateConnectionAsync(parent, connection, connectionId);
CreateConnectionAsync(ComponentName, Connection, string, CancellationToken)
public virtual Task<Connection> CreateConnectionAsync(ComponentName parent, Connection connection, string connectionId, CancellationToken cancellationToken)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
parent |
ComponentNameRequired. The parent resource in which to create a connection. |
connection |
ConnectionRequired. The connection to create. |
connectionId |
stringRequired. The ID of the connection to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ComponentName parent = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
Connection connection = new Connection();
string connectionId = "";
// Make the request
Connection response = await designCenterClient.CreateConnectionAsync(parent, connection, connectionId);
CreateConnectionAsync(CreateConnectionRequest, CallSettings)
public virtual Task<Connection> CreateConnectionAsync(CreateConnectionRequest request, CallSettings callSettings = null)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateConnectionRequest request = new CreateConnectionRequest
{
ParentAsComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
ConnectionId = "",
Connection = new Connection(),
};
// Make the request
Connection response = await designCenterClient.CreateConnectionAsync(request);
CreateConnectionAsync(CreateConnectionRequest, CancellationToken)
public virtual Task<Connection> CreateConnectionAsync(CreateConnectionRequest request, CancellationToken cancellationToken)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateConnectionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateConnectionRequest request = new CreateConnectionRequest
{
ParentAsComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
ConnectionId = "",
Connection = new Connection(),
};
// Make the request
Connection response = await designCenterClient.CreateConnectionAsync(request);
CreateConnectionAsync(string, Connection, string, CallSettings)
public virtual Task<Connection> CreateConnectionAsync(string parent, Connection connection, string connectionId, CallSettings callSettings = null)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create a connection. |
connection |
ConnectionRequired. The connection to create. |
connectionId |
stringRequired. The ID of the connection to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
Connection connection = new Connection();
string connectionId = "";
// Make the request
Connection response = await designCenterClient.CreateConnectionAsync(parent, connection, connectionId);
CreateConnectionAsync(string, Connection, string, CancellationToken)
public virtual Task<Connection> CreateConnectionAsync(string parent, Connection connection, string connectionId, CancellationToken cancellationToken)Creates a connection.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create a connection. |
connection |
ConnectionRequired. The connection to create. |
connectionId |
stringRequired. The ID of the connection to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
Connection connection = new Connection();
string connectionId = "";
// Make the request
Connection response = await designCenterClient.CreateConnectionAsync(parent, connection, connectionId);
CreatePolicy(ApplicationTemplateName, Policy, string, CallSettings)
public virtual Policy CreatePolicy(ApplicationTemplateName parent, Policy policy, string policyId, CallSettings callSettings = null)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource in which to create the policy in the
following format:
|
policy |
PolicyRequired. The policy to create. |
policyId |
stringRequired. The ID of the policy to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
Policy policy = new Policy();
string policyId = "";
// Make the request
Policy response = designCenterClient.CreatePolicy(parent, policy, policyId);
CreatePolicy(CreatePolicyRequest, CallSettings)
public virtual Policy CreatePolicy(CreatePolicyRequest request, CallSettings callSettings = null)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreatePolicyRequest request = new CreatePolicyRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
PolicyId = "",
Policy = new Policy(),
};
// Make the request
Policy response = designCenterClient.CreatePolicy(request);
CreatePolicy(string, Policy, string, CallSettings)
public virtual Policy CreatePolicy(string parent, Policy policy, string policyId, CallSettings callSettings = null)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the policy in the
following format:
|
policy |
PolicyRequired. The policy to create. |
policyId |
stringRequired. The ID of the policy to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
Policy policy = new Policy();
string policyId = "";
// Make the request
Policy response = designCenterClient.CreatePolicy(parent, policy, policyId);
CreatePolicyAsync(ApplicationTemplateName, Policy, string, CallSettings)
public virtual Task<Policy> CreatePolicyAsync(ApplicationTemplateName parent, Policy policy, string policyId, CallSettings callSettings = null)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource in which to create the policy in the
following format:
|
policy |
PolicyRequired. The policy to create. |
policyId |
stringRequired. The ID of the policy to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
Policy policy = new Policy();
string policyId = "";
// Make the request
Policy response = await designCenterClient.CreatePolicyAsync(parent, policy, policyId);
CreatePolicyAsync(ApplicationTemplateName, Policy, string, CancellationToken)
public virtual Task<Policy> CreatePolicyAsync(ApplicationTemplateName parent, Policy policy, string policyId, CancellationToken cancellationToken)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource in which to create the policy in the
following format:
|
policy |
PolicyRequired. The policy to create. |
policyId |
stringRequired. The ID of the policy to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
Policy policy = new Policy();
string policyId = "";
// Make the request
Policy response = await designCenterClient.CreatePolicyAsync(parent, policy, policyId);
CreatePolicyAsync(CreatePolicyRequest, CallSettings)
public virtual Task<Policy> CreatePolicyAsync(CreatePolicyRequest request, CallSettings callSettings = null)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreatePolicyRequest request = new CreatePolicyRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
PolicyId = "",
Policy = new Policy(),
};
// Make the request
Policy response = await designCenterClient.CreatePolicyAsync(request);
CreatePolicyAsync(CreatePolicyRequest, CancellationToken)
public virtual Task<Policy> CreatePolicyAsync(CreatePolicyRequest request, CancellationToken cancellationToken)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreatePolicyRequest request = new CreatePolicyRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
PolicyId = "",
Policy = new Policy(),
};
// Make the request
Policy response = await designCenterClient.CreatePolicyAsync(request);
CreatePolicyAsync(string, Policy, string, CallSettings)
public virtual Task<Policy> CreatePolicyAsync(string parent, Policy policy, string policyId, CallSettings callSettings = null)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the policy in the
following format:
|
policy |
PolicyRequired. The policy to create. |
policyId |
stringRequired. The ID of the policy to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
Policy policy = new Policy();
string policyId = "";
// Make the request
Policy response = await designCenterClient.CreatePolicyAsync(parent, policy, policyId);
CreatePolicyAsync(string, Policy, string, CancellationToken)
public virtual Task<Policy> CreatePolicyAsync(string parent, Policy policy, string policyId, CancellationToken cancellationToken)Creates a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which to create the policy in the
following format:
|
policy |
PolicyRequired. The policy to create. |
policyId |
stringRequired. The ID of the policy to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
Policy policy = new Policy();
string policyId = "";
// Make the request
Policy response = await designCenterClient.CreatePolicyAsync(parent, policy, policyId);
CreateShare(CatalogName, Share, string, CallSettings)
public virtual Operation<Share, OperationMetadata> CreateShare(CatalogName parent, Share share, string shareId, CallSettings callSettings = null)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource in which shares are created. |
share |
ShareRequired. The share to create. |
shareId |
stringRequired. The ID of the share to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
Share share = new Share();
string shareId = "";
// Make the request
Operation<Share, OperationMetadata> response = designCenterClient.CreateShare(parent, share, shareId);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = designCenterClient.PollOnceCreateShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShare(CreateShareRequest, CallSettings)
public virtual Operation<Share, OperationMetadata> CreateShare(CreateShareRequest request, CallSettings callSettings = null)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateShareRequest request = new CreateShareRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
ShareId = "",
Share = new Share(),
};
// Make the request
Operation<Share, OperationMetadata> response = designCenterClient.CreateShare(request);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = designCenterClient.PollOnceCreateShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShare(string, Share, string, CallSettings)
public virtual Operation<Share, OperationMetadata> CreateShare(string parent, Share share, string shareId, CallSettings callSettings = null)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which shares are created. |
share |
ShareRequired. The share to create. |
shareId |
stringRequired. The ID of the share to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
Share share = new Share();
string shareId = "";
// Make the request
Operation<Share, OperationMetadata> response = designCenterClient.CreateShare(parent, share, shareId);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = designCenterClient.PollOnceCreateShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShareAsync(CatalogName, Share, string, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> CreateShareAsync(CatalogName parent, Share share, string shareId, CallSettings callSettings = null)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource in which shares are created. |
share |
ShareRequired. The share to create. |
shareId |
stringRequired. The ID of the share to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
Share share = new Share();
string shareId = "";
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.CreateShareAsync(parent, share, shareId);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShareAsync(CatalogName, Share, string, CancellationToken)
public virtual Task<Operation<Share, OperationMetadata>> CreateShareAsync(CatalogName parent, Share share, string shareId, CancellationToken cancellationToken)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource in which shares are created. |
share |
ShareRequired. The share to create. |
shareId |
stringRequired. The ID of the share to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
Share share = new Share();
string shareId = "";
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.CreateShareAsync(parent, share, shareId);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShareAsync(CreateShareRequest, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> CreateShareAsync(CreateShareRequest request, CallSettings callSettings = null)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateShareRequest request = new CreateShareRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
ShareId = "",
Share = new Share(),
};
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.CreateShareAsync(request);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShareAsync(CreateShareRequest, CancellationToken)
public virtual Task<Operation<Share, OperationMetadata>> CreateShareAsync(CreateShareRequest request, CancellationToken cancellationToken)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateShareRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateShareRequest request = new CreateShareRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
ShareId = "",
Share = new Share(),
};
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.CreateShareAsync(request);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShareAsync(string, Share, string, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> CreateShareAsync(string parent, Share share, string shareId, CallSettings callSettings = null)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which shares are created. |
share |
ShareRequired. The share to create. |
shareId |
stringRequired. The ID of the share to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
Share share = new Share();
string shareId = "";
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.CreateShareAsync(parent, share, shareId);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateShareAsync(string, Share, string, CancellationToken)
public virtual Task<Operation<Share, OperationMetadata>> CreateShareAsync(string parent, Share share, string shareId, CancellationToken cancellationToken)Shares a catalog from one space to another space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource in which shares are created. |
share |
ShareRequired. The share to create. |
shareId |
stringRequired. The ID of the share to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
Share share = new Share();
string shareId = "";
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.CreateShareAsync(parent, share, shareId);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceCreateShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
CreateSpace(LocationName, Space, string, CallSettings)
public virtual Space CreateSpace(LocationName parent, Space space, string spaceId, CallSettings callSettings = null)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent in which to create a space. |
space |
SpaceRequired. The space to create. |
spaceId |
stringRequired. The ID of the space to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Space space = new Space();
string spaceId = "";
// Make the request
Space response = designCenterClient.CreateSpace(parent, space, spaceId);
CreateSpace(CreateSpaceRequest, CallSettings)
public virtual Space CreateSpace(CreateSpaceRequest request, CallSettings callSettings = null)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CreateSpaceRequest request = new CreateSpaceRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
SpaceId = "",
Space = new Space(),
};
// Make the request
Space response = designCenterClient.CreateSpace(request);
CreateSpace(string, Space, string, CallSettings)
public virtual Space CreateSpace(string parent, Space space, string spaceId, CallSettings callSettings = null)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent in which to create a space. |
space |
SpaceRequired. The space to create. |
spaceId |
stringRequired. The ID of the space to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Space space = new Space();
string spaceId = "";
// Make the request
Space response = designCenterClient.CreateSpace(parent, space, spaceId);
CreateSpaceAsync(LocationName, Space, string, CallSettings)
public virtual Task<Space> CreateSpaceAsync(LocationName parent, Space space, string spaceId, CallSettings callSettings = null)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent in which to create a space. |
space |
SpaceRequired. The space to create. |
spaceId |
stringRequired. The ID of the space to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Space space = new Space();
string spaceId = "";
// Make the request
Space response = await designCenterClient.CreateSpaceAsync(parent, space, spaceId);
CreateSpaceAsync(LocationName, Space, string, CancellationToken)
public virtual Task<Space> CreateSpaceAsync(LocationName parent, Space space, string spaceId, CancellationToken cancellationToken)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent in which to create a space. |
space |
SpaceRequired. The space to create. |
spaceId |
stringRequired. The ID of the space to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Space space = new Space();
string spaceId = "";
// Make the request
Space response = await designCenterClient.CreateSpaceAsync(parent, space, spaceId);
CreateSpaceAsync(CreateSpaceRequest, CallSettings)
public virtual Task<Space> CreateSpaceAsync(CreateSpaceRequest request, CallSettings callSettings = null)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateSpaceRequest request = new CreateSpaceRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
SpaceId = "",
Space = new Space(),
};
// Make the request
Space response = await designCenterClient.CreateSpaceAsync(request);
CreateSpaceAsync(CreateSpaceRequest, CancellationToken)
public virtual Task<Space> CreateSpaceAsync(CreateSpaceRequest request, CancellationToken cancellationToken)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSpaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CreateSpaceRequest request = new CreateSpaceRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
SpaceId = "",
Space = new Space(),
};
// Make the request
Space response = await designCenterClient.CreateSpaceAsync(request);
CreateSpaceAsync(string, Space, string, CallSettings)
public virtual Task<Space> CreateSpaceAsync(string parent, Space space, string spaceId, CallSettings callSettings = null)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent in which to create a space. |
space |
SpaceRequired. The space to create. |
spaceId |
stringRequired. The ID of the space to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Space space = new Space();
string spaceId = "";
// Make the request
Space response = await designCenterClient.CreateSpaceAsync(parent, space, spaceId);
CreateSpaceAsync(string, Space, string, CancellationToken)
public virtual Task<Space> CreateSpaceAsync(string parent, Space space, string spaceId, CancellationToken cancellationToken)Creates a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent in which to create a space. |
space |
SpaceRequired. The space to create. |
spaceId |
stringRequired. The ID of the space to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Space space = new Space();
string spaceId = "";
// Make the request
Space response = await designCenterClient.CreateSpaceAsync(parent, space, spaceId);
DeleteApplication(ApplicationName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteApplication(ApplicationName name, CallSettings callSettings = null)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteApplication(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplication(DeleteApplicationRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteApplication(DeleteApplicationRequest request, CallSettings callSettings = null)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteApplicationRequest request = new DeleteApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteApplication(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplication(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteApplication(string name, CallSettings callSettings = null)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteApplication(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplicationAsync(ApplicationName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteApplicationAsync(ApplicationName name, CallSettings callSettings = null)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplicationAsync(ApplicationName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteApplicationAsync(ApplicationName name, CancellationToken cancellationToken)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplicationAsync(DeleteApplicationRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteApplicationAsync(DeleteApplicationRequest request, CallSettings callSettings = null)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteApplicationRequest request = new DeleteApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteApplicationAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplicationAsync(DeleteApplicationRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteApplicationAsync(DeleteApplicationRequest request, CancellationToken cancellationToken)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteApplicationRequest request = new DeleteApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteApplicationAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplicationAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteApplicationAsync(string name, CallSettings callSettings = null)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplicationAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteApplicationAsync(string name, CancellationToken cancellationToken)Deletes an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteApplicationTemplate(ApplicationTemplateName, CallSettings)
public virtual void DeleteApplicationTemplate(ApplicationTemplateName name, CallSettings callSettings = null)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
designCenterClient.DeleteApplicationTemplate(name);
DeleteApplicationTemplate(DeleteApplicationTemplateRequest, CallSettings)
public virtual void DeleteApplicationTemplate(DeleteApplicationTemplateRequest request, CallSettings callSettings = null)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteApplicationTemplateRequest request = new DeleteApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Force = false,
};
// Make the request
designCenterClient.DeleteApplicationTemplate(request);
DeleteApplicationTemplate(string, CallSettings)
public virtual void DeleteApplicationTemplate(string name, CallSettings callSettings = null)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
designCenterClient.DeleteApplicationTemplate(name);
DeleteApplicationTemplateAsync(ApplicationTemplateName, CallSettings)
public virtual Task DeleteApplicationTemplateAsync(ApplicationTemplateName name, CallSettings callSettings = null)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
await designCenterClient.DeleteApplicationTemplateAsync(name);
DeleteApplicationTemplateAsync(ApplicationTemplateName, CancellationToken)
public virtual Task DeleteApplicationTemplateAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
await designCenterClient.DeleteApplicationTemplateAsync(name);
DeleteApplicationTemplateAsync(DeleteApplicationTemplateRequest, CallSettings)
public virtual Task DeleteApplicationTemplateAsync(DeleteApplicationTemplateRequest request, CallSettings callSettings = null)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationTemplateRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteApplicationTemplateRequest request = new DeleteApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Force = false,
};
// Make the request
await designCenterClient.DeleteApplicationTemplateAsync(request);
DeleteApplicationTemplateAsync(DeleteApplicationTemplateRequest, CancellationToken)
public virtual Task DeleteApplicationTemplateAsync(DeleteApplicationTemplateRequest request, CancellationToken cancellationToken)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationTemplateRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteApplicationTemplateRequest request = new DeleteApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Force = false,
};
// Make the request
await designCenterClient.DeleteApplicationTemplateAsync(request);
DeleteApplicationTemplateAsync(string, CallSettings)
public virtual Task DeleteApplicationTemplateAsync(string name, CallSettings callSettings = null)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
await designCenterClient.DeleteApplicationTemplateAsync(name);
DeleteApplicationTemplateAsync(string, CancellationToken)
public virtual Task DeleteApplicationTemplateAsync(string name, CancellationToken cancellationToken)Deletes an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
await designCenterClient.DeleteApplicationTemplateAsync(name);
DeleteApplicationTemplateRevision(ApplicationTemplateRevisionName, CallSettings)
public virtual void DeleteApplicationTemplateRevision(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
designCenterClient.DeleteApplicationTemplateRevision(name);
DeleteApplicationTemplateRevision(DeleteApplicationTemplateRevisionRequest, CallSettings)
public virtual void DeleteApplicationTemplateRevision(DeleteApplicationTemplateRevisionRequest request, CallSettings callSettings = null)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteApplicationTemplateRevisionRequest request = new DeleteApplicationTemplateRevisionRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
};
// Make the request
designCenterClient.DeleteApplicationTemplateRevision(request);
DeleteApplicationTemplateRevision(string, CallSettings)
public virtual void DeleteApplicationTemplateRevision(string name, CallSettings callSettings = null)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
designCenterClient.DeleteApplicationTemplateRevision(name);
DeleteApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName, CallSettings)
public virtual Task DeleteApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
await designCenterClient.DeleteApplicationTemplateRevisionAsync(name);
DeleteApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName, CancellationToken)
public virtual Task DeleteApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName name, CancellationToken cancellationToken)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The application template revision name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
await designCenterClient.DeleteApplicationTemplateRevisionAsync(name);
DeleteApplicationTemplateRevisionAsync(DeleteApplicationTemplateRevisionRequest, CallSettings)
public virtual Task DeleteApplicationTemplateRevisionAsync(DeleteApplicationTemplateRevisionRequest request, CallSettings callSettings = null)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationTemplateRevisionRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteApplicationTemplateRevisionRequest request = new DeleteApplicationTemplateRevisionRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
};
// Make the request
await designCenterClient.DeleteApplicationTemplateRevisionAsync(request);
DeleteApplicationTemplateRevisionAsync(DeleteApplicationTemplateRevisionRequest, CancellationToken)
public virtual Task DeleteApplicationTemplateRevisionAsync(DeleteApplicationTemplateRevisionRequest request, CancellationToken cancellationToken)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteApplicationTemplateRevisionRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteApplicationTemplateRevisionRequest request = new DeleteApplicationTemplateRevisionRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
};
// Make the request
await designCenterClient.DeleteApplicationTemplateRevisionAsync(request);
DeleteApplicationTemplateRevisionAsync(string, CallSettings)
public virtual Task DeleteApplicationTemplateRevisionAsync(string name, CallSettings callSettings = null)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
await designCenterClient.DeleteApplicationTemplateRevisionAsync(name);
DeleteApplicationTemplateRevisionAsync(string, CancellationToken)
public virtual Task DeleteApplicationTemplateRevisionAsync(string name, CancellationToken cancellationToken)Deletes an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template revision name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
await designCenterClient.DeleteApplicationTemplateRevisionAsync(name);
DeleteCatalog(CatalogName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalog(CatalogName name, CallSettings callSettings = null)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogNameRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogName name = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalog(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalog(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalog(DeleteCatalogRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalog(DeleteCatalogRequest request, CallSettings callSettings = null)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteCatalogRequest request = new DeleteCatalogRequest
{
CatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalog(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalog(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalog(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalog(string name, CallSettings callSettings = null)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalog(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalog(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogAsync(CatalogName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogAsync(CatalogName name, CallSettings callSettings = null)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogNameRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName name = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogAsync(CatalogName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogAsync(CatalogName name, CancellationToken cancellationToken)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogNameRequired. The catalog name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName name = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogAsync(DeleteCatalogRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogAsync(DeleteCatalogRequest request, CallSettings callSettings = null)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteCatalogRequest request = new DeleteCatalogRequest
{
CatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogAsync(DeleteCatalogRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogAsync(DeleteCatalogRequest request, CancellationToken cancellationToken)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteCatalogRequest request = new DeleteCatalogRequest
{
CatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogAsync(string name, CallSettings callSettings = null)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogAsync(string name, CancellationToken cancellationToken)Deletes a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplate(CatalogTemplateName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalogTemplate(CatalogTemplateName name, CallSettings callSettings = null)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateNameRequired. The catalog template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogTemplateName name = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalogTemplate(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalogTemplate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplate(DeleteCatalogTemplateRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalogTemplate(DeleteCatalogTemplateRequest request, CallSettings callSettings = null)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteCatalogTemplateRequest request = new DeleteCatalogTemplateRequest
{
CatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalogTemplate(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalogTemplate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplate(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalogTemplate(string name, CallSettings callSettings = null)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalogTemplate(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalogTemplate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateAsync(CatalogTemplateName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateAsync(CatalogTemplateName name, CallSettings callSettings = null)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateNameRequired. The catalog template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateName name = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateAsync(CatalogTemplateName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateAsync(CatalogTemplateName name, CancellationToken cancellationToken)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateNameRequired. The catalog template name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateName name = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateAsync(DeleteCatalogTemplateRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateAsync(DeleteCatalogTemplateRequest request, CallSettings callSettings = null)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteCatalogTemplateRequest request = new DeleteCatalogTemplateRequest
{
CatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateAsync(DeleteCatalogTemplateRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateAsync(DeleteCatalogTemplateRequest request, CancellationToken cancellationToken)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteCatalogTemplateRequest request = new DeleteCatalogTemplateRequest
{
CatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateAsync(string name, CallSettings callSettings = null)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateAsync(string name, CancellationToken cancellationToken)Deletes a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevision(CatalogTemplateRevisionName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalogTemplateRevision(CatalogTemplateRevisionName name, CallSettings callSettings = null)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateRevisionNameRequired. The template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogTemplateRevisionName name = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]");
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalogTemplateRevision(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalogTemplateRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevision(DeleteCatalogTemplateRevisionRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalogTemplateRevision(DeleteCatalogTemplateRevisionRequest request, CallSettings callSettings = null)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteCatalogTemplateRevisionRequest request = new DeleteCatalogTemplateRevisionRequest
{
CatalogTemplateRevisionName = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalogTemplateRevision(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalogTemplateRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevision(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCatalogTemplateRevision(string name, CallSettings callSettings = null)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]/revisions/[REVISION]";
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteCatalogTemplateRevision(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteCatalogTemplateRevision(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevisionAsync(CatalogTemplateRevisionName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateRevisionAsync(CatalogTemplateRevisionName name, CallSettings callSettings = null)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateRevisionNameRequired. The template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateRevisionName name = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateRevisionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevisionAsync(CatalogTemplateRevisionName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateRevisionAsync(CatalogTemplateRevisionName name, CancellationToken cancellationToken)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateRevisionNameRequired. The template revision name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateRevisionName name = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateRevisionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevisionAsync(DeleteCatalogTemplateRevisionRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateRevisionAsync(DeleteCatalogTemplateRevisionRequest request, CallSettings callSettings = null)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteCatalogTemplateRevisionRequest request = new DeleteCatalogTemplateRevisionRequest
{
CatalogTemplateRevisionName = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateRevisionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevisionAsync(DeleteCatalogTemplateRevisionRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateRevisionAsync(DeleteCatalogTemplateRevisionRequest request, CancellationToken cancellationToken)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteCatalogTemplateRevisionRequest request = new DeleteCatalogTemplateRevisionRequest
{
CatalogTemplateRevisionName = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateRevisionAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevisionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateRevisionAsync(string name, CallSettings callSettings = null)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]/revisions/[REVISION]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateRevisionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteCatalogTemplateRevisionAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCatalogTemplateRevisionAsync(string name, CancellationToken cancellationToken)Deletes a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The template revision name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]/revisions/[REVISION]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteCatalogTemplateRevisionAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteCatalogTemplateRevisionAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteComponent(ComponentName, CallSettings)
public virtual void DeleteComponent(ComponentName name, CallSettings callSettings = null)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
name |
ComponentNameRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ComponentName name = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
designCenterClient.DeleteComponent(name);
DeleteComponent(DeleteComponentRequest, CallSettings)
public virtual void DeleteComponent(DeleteComponentRequest request, CallSettings callSettings = null)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteComponentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteComponentRequest request = new DeleteComponentRequest
{
ComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
Force = false,
};
// Make the request
designCenterClient.DeleteComponent(request);
DeleteComponent(string, CallSettings)
public virtual void DeleteComponent(string name, CallSettings callSettings = null)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
designCenterClient.DeleteComponent(name);
DeleteComponentAsync(ComponentName, CallSettings)
public virtual Task DeleteComponentAsync(ComponentName name, CallSettings callSettings = null)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
name |
ComponentNameRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ComponentName name = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
await designCenterClient.DeleteComponentAsync(name);
DeleteComponentAsync(ComponentName, CancellationToken)
public virtual Task DeleteComponentAsync(ComponentName name, CancellationToken cancellationToken)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
name |
ComponentNameRequired. The component name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ComponentName name = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
await designCenterClient.DeleteComponentAsync(name);
DeleteComponentAsync(DeleteComponentRequest, CallSettings)
public virtual Task DeleteComponentAsync(DeleteComponentRequest request, CallSettings callSettings = null)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteComponentRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteComponentRequest request = new DeleteComponentRequest
{
ComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
Force = false,
};
// Make the request
await designCenterClient.DeleteComponentAsync(request);
DeleteComponentAsync(DeleteComponentRequest, CancellationToken)
public virtual Task DeleteComponentAsync(DeleteComponentRequest request, CancellationToken cancellationToken)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteComponentRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteComponentRequest request = new DeleteComponentRequest
{
ComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
Force = false,
};
// Make the request
await designCenterClient.DeleteComponentAsync(request);
DeleteComponentAsync(string, CallSettings)
public virtual Task DeleteComponentAsync(string name, CallSettings callSettings = null)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
await designCenterClient.DeleteComponentAsync(name);
DeleteComponentAsync(string, CancellationToken)
public virtual Task DeleteComponentAsync(string name, CancellationToken cancellationToken)Deletes a component.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The component name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
await designCenterClient.DeleteComponentAsync(name);
DeleteConnection(ConnectionName, CallSettings)
public virtual void DeleteConnection(ConnectionName name, CallSettings callSettings = null)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
ConnectionNameRequired. The connection name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ConnectionName name = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]");
// Make the request
designCenterClient.DeleteConnection(name);
DeleteConnection(DeleteConnectionRequest, CallSettings)
public virtual void DeleteConnection(DeleteConnectionRequest request, CallSettings callSettings = null)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConnectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteConnectionRequest request = new DeleteConnectionRequest
{
ConnectionName = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]"),
};
// Make the request
designCenterClient.DeleteConnection(request);
DeleteConnection(string, CallSettings)
public virtual void DeleteConnection(string name, CallSettings callSettings = null)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The connection name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]/connections/[CONNECTION]";
// Make the request
designCenterClient.DeleteConnection(name);
DeleteConnectionAsync(ConnectionName, CallSettings)
public virtual Task DeleteConnectionAsync(ConnectionName name, CallSettings callSettings = null)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
ConnectionNameRequired. The connection name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ConnectionName name = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]");
// Make the request
await designCenterClient.DeleteConnectionAsync(name);
DeleteConnectionAsync(ConnectionName, CancellationToken)
public virtual Task DeleteConnectionAsync(ConnectionName name, CancellationToken cancellationToken)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
ConnectionNameRequired. The connection name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ConnectionName name = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]");
// Make the request
await designCenterClient.DeleteConnectionAsync(name);
DeleteConnectionAsync(DeleteConnectionRequest, CallSettings)
public virtual Task DeleteConnectionAsync(DeleteConnectionRequest request, CallSettings callSettings = null)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConnectionRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteConnectionRequest request = new DeleteConnectionRequest
{
ConnectionName = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]"),
};
// Make the request
await designCenterClient.DeleteConnectionAsync(request);
DeleteConnectionAsync(DeleteConnectionRequest, CancellationToken)
public virtual Task DeleteConnectionAsync(DeleteConnectionRequest request, CancellationToken cancellationToken)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteConnectionRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteConnectionRequest request = new DeleteConnectionRequest
{
ConnectionName = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]"),
};
// Make the request
await designCenterClient.DeleteConnectionAsync(request);
DeleteConnectionAsync(string, CallSettings)
public virtual Task DeleteConnectionAsync(string name, CallSettings callSettings = null)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The connection name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]/connections/[CONNECTION]";
// Make the request
await designCenterClient.DeleteConnectionAsync(name);
DeleteConnectionAsync(string, CancellationToken)
public virtual Task DeleteConnectionAsync(string name, CancellationToken cancellationToken)Deletes a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The connection name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]/connections/[CONNECTION]";
// Make the request
await designCenterClient.DeleteConnectionAsync(name);
DeletePolicy(DeletePolicyRequest, CallSettings)
public virtual void DeletePolicy(DeletePolicyRequest request, CallSettings callSettings = null)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeletePolicyRequest request = new DeletePolicyRequest
{
PolicyName = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]"),
};
// Make the request
designCenterClient.DeletePolicy(request);
DeletePolicy(PolicyName, CallSettings)
public virtual void DeletePolicy(PolicyName name, CallSettings callSettings = null)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
name |
PolicyNameRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
PolicyName name = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]");
// Make the request
designCenterClient.DeletePolicy(name);
DeletePolicy(string, CallSettings)
public virtual void DeletePolicy(string name, CallSettings callSettings = null)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/policies/[POLICY]";
// Make the request
designCenterClient.DeletePolicy(name);
DeletePolicyAsync(DeletePolicyRequest, CallSettings)
public virtual Task DeletePolicyAsync(DeletePolicyRequest request, CallSettings callSettings = null)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePolicyRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeletePolicyRequest request = new DeletePolicyRequest
{
PolicyName = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]"),
};
// Make the request
await designCenterClient.DeletePolicyAsync(request);
DeletePolicyAsync(DeletePolicyRequest, CancellationToken)
public virtual Task DeletePolicyAsync(DeletePolicyRequest request, CancellationToken cancellationToken)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePolicyRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeletePolicyRequest request = new DeletePolicyRequest
{
PolicyName = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]"),
};
// Make the request
await designCenterClient.DeletePolicyAsync(request);
DeletePolicyAsync(PolicyName, CallSettings)
public virtual Task DeletePolicyAsync(PolicyName name, CallSettings callSettings = null)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
name |
PolicyNameRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
PolicyName name = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]");
// Make the request
await designCenterClient.DeletePolicyAsync(name);
DeletePolicyAsync(PolicyName, CancellationToken)
public virtual Task DeletePolicyAsync(PolicyName name, CancellationToken cancellationToken)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
name |
PolicyNameRequired. The policy name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
PolicyName name = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]");
// Make the request
await designCenterClient.DeletePolicyAsync(name);
DeletePolicyAsync(string, CallSettings)
public virtual Task DeletePolicyAsync(string name, CallSettings callSettings = null)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/policies/[POLICY]";
// Make the request
await designCenterClient.DeletePolicyAsync(name);
DeletePolicyAsync(string, CancellationToken)
public virtual Task DeletePolicyAsync(string name, CancellationToken cancellationToken)Deletes a policy.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The policy name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/policies/[POLICY]";
// Make the request
await designCenterClient.DeletePolicyAsync(name);
DeleteShare(DeleteShareRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteShare(DeleteShareRequest request, CallSettings callSettings = null)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteShareRequest request = new DeleteShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteShare(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShare(ShareName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteShare(ShareName name, CallSettings callSettings = null)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteShare(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShare(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteShare(string name, CallSettings callSettings = null)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Operation<Empty, OperationMetadata> response = designCenterClient.DeleteShare(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeleteShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShareAsync(DeleteShareRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteShareAsync(DeleteShareRequest request, CallSettings callSettings = null)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteShareRequest request = new DeleteShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteShareAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShareAsync(DeleteShareRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteShareAsync(DeleteShareRequest request, CancellationToken cancellationToken)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteShareRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteShareRequest request = new DeleteShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteShareAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShareAsync(ShareName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteShareAsync(ShareName name, CallSettings callSettings = null)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShareAsync(ShareName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteShareAsync(ShareName name, CancellationToken cancellationToken)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShareAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteShareAsync(string name, CallSettings callSettings = null)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteShareAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteShareAsync(string name, CancellationToken cancellationToken)Deletes a catalog share.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Operation<Empty, OperationMetadata> response = await designCenterClient.DeleteShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeleteShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteSpace(DeleteSpaceRequest, CallSettings)
public virtual void DeleteSpace(DeleteSpaceRequest request, CallSettings callSettings = null)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeleteSpaceRequest request = new DeleteSpaceRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Force = false,
};
// Make the request
designCenterClient.DeleteSpace(request);
DeleteSpace(SpaceName, CallSettings)
public virtual void DeleteSpace(SpaceName name, CallSettings callSettings = null)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
designCenterClient.DeleteSpace(name);
DeleteSpace(string, CallSettings)
public virtual void DeleteSpace(string name, CallSettings callSettings = null)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
designCenterClient.DeleteSpace(name);
DeleteSpaceAsync(DeleteSpaceRequest, CallSettings)
public virtual Task DeleteSpaceAsync(DeleteSpaceRequest request, CallSettings callSettings = null)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpaceRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteSpaceRequest request = new DeleteSpaceRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Force = false,
};
// Make the request
await designCenterClient.DeleteSpaceAsync(request);
DeleteSpaceAsync(DeleteSpaceRequest, CancellationToken)
public virtual Task DeleteSpaceAsync(DeleteSpaceRequest request, CancellationToken cancellationToken)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSpaceRequestThe 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
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeleteSpaceRequest request = new DeleteSpaceRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Force = false,
};
// Make the request
await designCenterClient.DeleteSpaceAsync(request);
DeleteSpaceAsync(SpaceName, CallSettings)
public virtual Task DeleteSpaceAsync(SpaceName name, CallSettings callSettings = null)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
await designCenterClient.DeleteSpaceAsync(name);
DeleteSpaceAsync(SpaceName, CancellationToken)
public virtual Task DeleteSpaceAsync(SpaceName name, CancellationToken cancellationToken)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The space name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
await designCenterClient.DeleteSpaceAsync(name);
DeleteSpaceAsync(string, CallSettings)
public virtual Task DeleteSpaceAsync(string name, CallSettings callSettings = null)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
await designCenterClient.DeleteSpaceAsync(name);
DeleteSpaceAsync(string, CancellationToken)
public virtual Task DeleteSpaceAsync(string name, CancellationToken cancellationToken)Deletes a space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The space name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
await designCenterClient.DeleteSpaceAsync(name);
DeployApplication(ApplicationName, CallSettings)
public virtual Operation<DeployApplicationResponse, OperationMetadata> DeployApplication(ApplicationName name, CallSettings callSettings = null)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployApplicationResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = designCenterClient.DeployApplication(name);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeployApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplication(DeployApplicationRequest, CallSettings)
public virtual Operation<DeployApplicationResponse, OperationMetadata> DeployApplication(DeployApplicationRequest request, CallSettings callSettings = null)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
request |
DeployApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployApplicationResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
DeployApplicationRequest request = new DeployApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
Replace = false,
WorkerPool = "",
ServiceAccount = "",
ValidateOnly = false,
};
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = designCenterClient.DeployApplication(request);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeployApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplication(string, CallSettings)
public virtual Operation<DeployApplicationResponse, OperationMetadata> DeployApplication(string name, CallSettings callSettings = null)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployApplicationResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = designCenterClient.DeployApplication(name);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceDeployApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplicationAsync(ApplicationName, CallSettings)
public virtual Task<Operation<DeployApplicationResponse, OperationMetadata>> DeployApplicationAsync(ApplicationName name, CallSettings callSettings = null)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = await designCenterClient.DeployApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeployApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplicationAsync(ApplicationName, CancellationToken)
public virtual Task<Operation<DeployApplicationResponse, OperationMetadata>> DeployApplicationAsync(ApplicationName name, CancellationToken cancellationToken)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = await designCenterClient.DeployApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeployApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplicationAsync(DeployApplicationRequest, CallSettings)
public virtual Task<Operation<DeployApplicationResponse, OperationMetadata>> DeployApplicationAsync(DeployApplicationRequest request, CallSettings callSettings = null)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
request |
DeployApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeployApplicationRequest request = new DeployApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
Replace = false,
WorkerPool = "",
ServiceAccount = "",
ValidateOnly = false,
};
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = await designCenterClient.DeployApplicationAsync(request);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeployApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplicationAsync(DeployApplicationRequest, CancellationToken)
public virtual Task<Operation<DeployApplicationResponse, OperationMetadata>> DeployApplicationAsync(DeployApplicationRequest request, CancellationToken cancellationToken)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
request |
DeployApplicationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
DeployApplicationRequest request = new DeployApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
Replace = false,
WorkerPool = "",
ServiceAccount = "",
ValidateOnly = false,
};
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = await designCenterClient.DeployApplicationAsync(request);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeployApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplicationAsync(string, CallSettings)
public virtual Task<Operation<DeployApplicationResponse, OperationMetadata>> DeployApplicationAsync(string name, CallSettings callSettings = null)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = await designCenterClient.DeployApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeployApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
DeployApplicationAsync(string, CancellationToken)
public virtual Task<Operation<DeployApplicationResponse, OperationMetadata>> DeployApplicationAsync(string name, CancellationToken cancellationToken)Deploys an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<DeployApplicationResponse, OperationMetadata> response = await designCenterClient.DeployApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<DeployApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DeployApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<DeployApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceDeployApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DeployApplicationResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaC(ApplicationName, CallSettings)
public virtual Operation<ExportApplicationIaCResponse, OperationMetadata> ExportApplicationIaC(ApplicationName name, CallSettings callSettings = null)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationIaC(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaC(ExportApplicationIaCRequest, CallSettings)
public virtual Operation<ExportApplicationIaCResponse, OperationMetadata> ExportApplicationIaC(ExportApplicationIaCRequest request, CallSettings callSettings = null)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ExportApplicationIaCRequest request = new ExportApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
IacFormat = IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationIaC(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaC(string, CallSettings)
public virtual Operation<ExportApplicationIaCResponse, OperationMetadata> ExportApplicationIaC(string name, CallSettings callSettings = null)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationIaC(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaCAsync(ApplicationName, CallSettings)
public virtual Task<Operation<ExportApplicationIaCResponse, OperationMetadata>> ExportApplicationIaCAsync(ApplicationName name, CallSettings callSettings = null)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaCAsync(ApplicationName, CancellationToken)
public virtual Task<Operation<ExportApplicationIaCResponse, OperationMetadata>> ExportApplicationIaCAsync(ApplicationName name, CancellationToken cancellationToken)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaCAsync(ExportApplicationIaCRequest, CallSettings)
public virtual Task<Operation<ExportApplicationIaCResponse, OperationMetadata>> ExportApplicationIaCAsync(ExportApplicationIaCRequest request, CallSettings callSettings = null)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ExportApplicationIaCRequest request = new ExportApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
IacFormat = IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaCAsync(ExportApplicationIaCRequest, CancellationToken)
public virtual Task<Operation<ExportApplicationIaCResponse, OperationMetadata>> ExportApplicationIaCAsync(ExportApplicationIaCRequest request, CancellationToken cancellationToken)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ExportApplicationIaCRequest request = new ExportApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
IacFormat = IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaCAsync(string, CallSettings)
public virtual Task<Operation<ExportApplicationIaCResponse, OperationMetadata>> ExportApplicationIaCAsync(string name, CallSettings callSettings = null)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationIaCAsync(string, CancellationToken)
public virtual Task<Operation<ExportApplicationIaCResponse, OperationMetadata>> ExportApplicationIaCAsync(string name, CancellationToken cancellationToken)Exports Terraform files for an application asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<ExportApplicationIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaC(ApplicationTemplateName, CallSettings)
public virtual Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> ExportApplicationTemplateIaC(ApplicationTemplateName name, CallSettings callSettings = null)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationTemplateIaC(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationTemplateIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaC(ExportApplicationTemplateIaCRequest, CallSettings)
public virtual Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> ExportApplicationTemplateIaC(ExportApplicationTemplateIaCRequest request, CallSettings callSettings = null)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ExportApplicationTemplateIaCRequest request = new ExportApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationTemplateIaC(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationTemplateIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaC(string, CallSettings)
public virtual Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> ExportApplicationTemplateIaC(string name, CallSettings callSettings = null)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationTemplateIaC(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationTemplateIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaCAsync(ApplicationTemplateName, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateIaCResponse, OperationMetadata>> ExportApplicationTemplateIaCAsync(ApplicationTemplateName name, CallSettings callSettings = null)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaCAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<Operation<ExportApplicationTemplateIaCResponse, OperationMetadata>> ExportApplicationTemplateIaCAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaCAsync(ExportApplicationTemplateIaCRequest, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateIaCResponse, OperationMetadata>> ExportApplicationTemplateIaCAsync(ExportApplicationTemplateIaCRequest request, CallSettings callSettings = null)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ExportApplicationTemplateIaCRequest request = new ExportApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaCAsync(ExportApplicationTemplateIaCRequest, CancellationToken)
public virtual Task<Operation<ExportApplicationTemplateIaCResponse, OperationMetadata>> ExportApplicationTemplateIaCAsync(ExportApplicationTemplateIaCRequest request, CancellationToken cancellationToken)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ExportApplicationTemplateIaCRequest request = new ExportApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaCAsync(string, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateIaCResponse, OperationMetadata>> ExportApplicationTemplateIaCAsync(string name, CallSettings callSettings = null)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateIaCAsync(string, CancellationToken)
public virtual Task<Operation<ExportApplicationTemplateIaCResponse, OperationMetadata>> ExportApplicationTemplateIaCAsync(string name, CancellationToken cancellationToken)Exports Terraform files for an application template. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaC(ApplicationTemplateRevisionName, CallSettings)
public virtual Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> ExportApplicationTemplateRevisionIaC(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationTemplateRevisionIaC(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationTemplateRevisionIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaC(ExportApplicationTemplateRevisionIaCRequest, CallSettings)
public virtual Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> ExportApplicationTemplateRevisionIaC(ExportApplicationTemplateRevisionIaCRequest request, CallSettings callSettings = null)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationTemplateRevisionIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ExportApplicationTemplateRevisionIaCRequest request = new ExportApplicationTemplateRevisionIaCRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationTemplateRevisionIaC(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationTemplateRevisionIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaC(string, CallSettings)
public virtual Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> ExportApplicationTemplateRevisionIaC(string name, CallSettings callSettings = null)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = designCenterClient.ExportApplicationTemplateRevisionIaC(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceExportApplicationTemplateRevisionIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata>> ExportApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateRevisionIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateRevisionIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName, CancellationToken)
public virtual Task<Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata>> ExportApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName name, CancellationToken cancellationToken)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The name of the application template revision. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateRevisionIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateRevisionIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaCAsync(ExportApplicationTemplateRevisionIaCRequest, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata>> ExportApplicationTemplateRevisionIaCAsync(ExportApplicationTemplateRevisionIaCRequest request, CallSettings callSettings = null)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationTemplateRevisionIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ExportApplicationTemplateRevisionIaCRequest request = new ExportApplicationTemplateRevisionIaCRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateRevisionIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateRevisionIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaCAsync(ExportApplicationTemplateRevisionIaCRequest, CancellationToken)
public virtual Task<Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata>> ExportApplicationTemplateRevisionIaCAsync(ExportApplicationTemplateRevisionIaCRequest request, CancellationToken cancellationToken)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportApplicationTemplateRevisionIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ExportApplicationTemplateRevisionIaCRequest request = new ExportApplicationTemplateRevisionIaCRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
ArtifactLocation = new ArtifactLocation(),
ExportIacConfig = new ExportIaCConfig(),
};
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateRevisionIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateRevisionIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaCAsync(string, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata>> ExportApplicationTemplateRevisionIaCAsync(string name, CallSettings callSettings = null)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateRevisionIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateRevisionIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
ExportApplicationTemplateRevisionIaCAsync(string, CancellationToken)
public virtual Task<Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata>> ExportApplicationTemplateRevisionIaCAsync(string name, CancellationToken cancellationToken)Exports Terraform files for an application template revision. The generated modules can have remote sources or local sources downloaded from remote. This is an ASYNCHRONOUS operation that returns a Long Running Operation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template revision. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> response = await designCenterClient.ExportApplicationTemplateRevisionIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ExportApplicationTemplateRevisionIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceExportApplicationTemplateRevisionIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
ExportApplicationTemplateRevisionIaCResponse retrievedResult = retrievedResponse.Result;
}
FetchApplicationAssessmentReport(ApplicationName, CallSettings)
public virtual FetchApplicationAssessmentReportResponse FetchApplicationAssessmentReport(ApplicationName name, CallSettings callSettings = null)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchApplicationAssessmentReportResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
FetchApplicationAssessmentReportResponse response = designCenterClient.FetchApplicationAssessmentReport(name);
FetchApplicationAssessmentReport(FetchApplicationAssessmentReportRequest, CallSettings)
public virtual FetchApplicationAssessmentReportResponse FetchApplicationAssessmentReport(FetchApplicationAssessmentReportRequest request, CallSettings callSettings = null)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchApplicationAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchApplicationAssessmentReportResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
FetchApplicationAssessmentReportRequest request = new FetchApplicationAssessmentReportRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
FetchApplicationAssessmentReportResponse response = designCenterClient.FetchApplicationAssessmentReport(request);
FetchApplicationAssessmentReport(string, CallSettings)
public virtual FetchApplicationAssessmentReportResponse FetchApplicationAssessmentReport(string name, CallSettings callSettings = null)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchApplicationAssessmentReportResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
FetchApplicationAssessmentReportResponse response = designCenterClient.FetchApplicationAssessmentReport(name);
FetchApplicationAssessmentReportAsync(ApplicationName, CallSettings)
public virtual Task<FetchApplicationAssessmentReportResponse> FetchApplicationAssessmentReportAsync(ApplicationName name, CallSettings callSettings = null)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchApplicationAssessmentReportResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
FetchApplicationAssessmentReportResponse response = await designCenterClient.FetchApplicationAssessmentReportAsync(name);
FetchApplicationAssessmentReportAsync(ApplicationName, CancellationToken)
public virtual Task<FetchApplicationAssessmentReportResponse> FetchApplicationAssessmentReportAsync(ApplicationName name, CancellationToken cancellationToken)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchApplicationAssessmentReportResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
FetchApplicationAssessmentReportResponse response = await designCenterClient.FetchApplicationAssessmentReportAsync(name);
FetchApplicationAssessmentReportAsync(FetchApplicationAssessmentReportRequest, CallSettings)
public virtual Task<FetchApplicationAssessmentReportResponse> FetchApplicationAssessmentReportAsync(FetchApplicationAssessmentReportRequest request, CallSettings callSettings = null)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchApplicationAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchApplicationAssessmentReportResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
FetchApplicationAssessmentReportRequest request = new FetchApplicationAssessmentReportRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
FetchApplicationAssessmentReportResponse response = await designCenterClient.FetchApplicationAssessmentReportAsync(request);
FetchApplicationAssessmentReportAsync(FetchApplicationAssessmentReportRequest, CancellationToken)
public virtual Task<FetchApplicationAssessmentReportResponse> FetchApplicationAssessmentReportAsync(FetchApplicationAssessmentReportRequest request, CancellationToken cancellationToken)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchApplicationAssessmentReportRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchApplicationAssessmentReportResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
FetchApplicationAssessmentReportRequest request = new FetchApplicationAssessmentReportRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
FetchApplicationAssessmentReportResponse response = await designCenterClient.FetchApplicationAssessmentReportAsync(request);
FetchApplicationAssessmentReportAsync(string, CallSettings)
public virtual Task<FetchApplicationAssessmentReportResponse> FetchApplicationAssessmentReportAsync(string name, CallSettings callSettings = null)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchApplicationAssessmentReportResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
FetchApplicationAssessmentReportResponse response = await designCenterClient.FetchApplicationAssessmentReportAsync(name);
FetchApplicationAssessmentReportAsync(string, CancellationToken)
public virtual Task<FetchApplicationAssessmentReportResponse> FetchApplicationAssessmentReportAsync(string name, CancellationToken cancellationToken)Fetches the assessment report of a deployed application if present.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchApplicationAssessmentReportResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
FetchApplicationAssessmentReportResponse response = await designCenterClient.FetchApplicationAssessmentReportAsync(name);
FetchFrameworks(FetchFrameworksRequest, CallSettings)
public virtual PagedEnumerable<FetchFrameworksResponse, Framework> FetchFrameworks(FetchFrameworksRequest request, CallSettings callSettings = null)Fetches all frameworks for assessment report.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFrameworksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableFetchFrameworksResponseFramework |
A pageable sequence of Framework resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
FetchFrameworksRequest request = new FetchFrameworksRequest
{
Parent = "",
Projects = { "", },
Filter = "",
};
// Make the request
PagedEnumerable<FetchFrameworksResponse, Framework> response = designCenterClient.FetchFrameworks(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Framework 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 (FetchFrameworksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Framework 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<Framework> 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 (Framework 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;
FetchFrameworks(string, string, int?, CallSettings)
public virtual PagedEnumerable<FetchFrameworksResponse, Framework> FetchFrameworks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Fetches all frameworks for assessment report.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource name. Format: projects/{project}/locations/{location} |
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 |
PagedEnumerableFetchFrameworksResponseFramework |
A pageable sequence of Framework resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "";
// Make the request
PagedEnumerable<FetchFrameworksResponse, Framework> response = designCenterClient.FetchFrameworks(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Framework 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 (FetchFrameworksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Framework 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<Framework> 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 (Framework 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;
FetchFrameworksAsync(FetchFrameworksRequest, CallSettings)
public virtual PagedAsyncEnumerable<FetchFrameworksResponse, Framework> FetchFrameworksAsync(FetchFrameworksRequest request, CallSettings callSettings = null)Fetches all frameworks for assessment report.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFrameworksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableFetchFrameworksResponseFramework |
A pageable asynchronous sequence of Framework resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
FetchFrameworksRequest request = new FetchFrameworksRequest
{
Parent = "",
Projects = { "", },
Filter = "",
};
// Make the request
PagedAsyncEnumerable<FetchFrameworksResponse, Framework> response = designCenterClient.FetchFrameworksAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Framework 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 (FetchFrameworksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Framework 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<Framework> 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 (Framework 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;
FetchFrameworksAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<FetchFrameworksResponse, Framework> FetchFrameworksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Fetches all frameworks for assessment report.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource name. Format: projects/{project}/locations/{location} |
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 |
PagedAsyncEnumerableFetchFrameworksResponseFramework |
A pageable asynchronous sequence of Framework resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "";
// Make the request
PagedAsyncEnumerable<FetchFrameworksResponse, Framework> response = designCenterClient.FetchFrameworksAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Framework 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 (FetchFrameworksResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Framework 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<Framework> 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 (Framework 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;
GenerateApplicationAssessmentReport(ApplicationName, CallSettings)
public virtual Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> GenerateApplicationAssessmentReport(ApplicationName name, CallSettings callSettings = null)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateApplicationAssessmentReport(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateApplicationAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReport(GenerateApplicationAssessmentReportRequest, CallSettings)
public virtual Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> GenerateApplicationAssessmentReport(GenerateApplicationAssessmentReportRequest request, CallSettings callSettings = null)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GenerateApplicationAssessmentReportRequest request = new GenerateApplicationAssessmentReportRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateApplicationAssessmentReport(request);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateApplicationAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReport(string, CallSettings)
public virtual Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> GenerateApplicationAssessmentReport(string name, CallSettings callSettings = null)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateApplicationAssessmentReport(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateApplicationAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReportAsync(ApplicationName, CallSettings)
public virtual Task<Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata>> GenerateApplicationAssessmentReportAsync(ApplicationName name, CallSettings callSettings = null)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReportAsync(ApplicationName, CancellationToken)
public virtual Task<Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata>> GenerateApplicationAssessmentReportAsync(ApplicationName name, CancellationToken cancellationToken)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReportAsync(GenerateApplicationAssessmentReportRequest, CallSettings)
public virtual Task<Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata>> GenerateApplicationAssessmentReportAsync(GenerateApplicationAssessmentReportRequest request, CallSettings callSettings = null)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationAssessmentReportRequest request = new GenerateApplicationAssessmentReportRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationAssessmentReportAsync(request);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReportAsync(GenerateApplicationAssessmentReportRequest, CancellationToken)
public virtual Task<Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata>> GenerateApplicationAssessmentReportAsync(GenerateApplicationAssessmentReportRequest request, CancellationToken cancellationToken)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationAssessmentReportRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationAssessmentReportRequest request = new GenerateApplicationAssessmentReportRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationAssessmentReportAsync(request);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReportAsync(string, CallSettings)
public virtual Task<Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata>> GenerateApplicationAssessmentReportAsync(string name, CallSettings callSettings = null)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationAssessmentReportAsync(string, CancellationToken)
public virtual Task<Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata>> GenerateApplicationAssessmentReportAsync(string name, CancellationToken cancellationToken)Generate Assessment Reports of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationIaC(ApplicationName, CallSettings)
public virtual GenerateApplicationIaCResponse GenerateApplicationIaC(ApplicationName name, CallSettings callSettings = null)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
GenerateApplicationIaCResponse response = designCenterClient.GenerateApplicationIaC(name);
GenerateApplicationIaC(GenerateApplicationIaCRequest, CallSettings)
public virtual GenerateApplicationIaCResponse GenerateApplicationIaC(GenerateApplicationIaCRequest request, CallSettings callSettings = null)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GenerateApplicationIaCRequest request = new GenerateApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
IacFormat = IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationIaCResponse response = designCenterClient.GenerateApplicationIaC(request);
GenerateApplicationIaC(string, CallSettings)
public virtual GenerateApplicationIaCResponse GenerateApplicationIaC(string name, CallSettings callSettings = null)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
GenerateApplicationIaCResponse response = designCenterClient.GenerateApplicationIaC(name);
GenerateApplicationIaCAsync(ApplicationName, CallSettings)
public virtual Task<GenerateApplicationIaCResponse> GenerateApplicationIaCAsync(ApplicationName name, CallSettings callSettings = null)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
GenerateApplicationIaCResponse response = await designCenterClient.GenerateApplicationIaCAsync(name);
GenerateApplicationIaCAsync(ApplicationName, CancellationToken)
public virtual Task<GenerateApplicationIaCResponse> GenerateApplicationIaCAsync(ApplicationName name, CancellationToken cancellationToken)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
GenerateApplicationIaCResponse response = await designCenterClient.GenerateApplicationIaCAsync(name);
GenerateApplicationIaCAsync(GenerateApplicationIaCRequest, CallSettings)
public virtual Task<GenerateApplicationIaCResponse> GenerateApplicationIaCAsync(GenerateApplicationIaCRequest request, CallSettings callSettings = null)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationIaCRequest request = new GenerateApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
IacFormat = IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationIaCResponse response = await designCenterClient.GenerateApplicationIaCAsync(request);
GenerateApplicationIaCAsync(GenerateApplicationIaCRequest, CancellationToken)
public virtual Task<GenerateApplicationIaCResponse> GenerateApplicationIaCAsync(GenerateApplicationIaCRequest request, CancellationToken cancellationToken)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationIaCRequest request = new GenerateApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
IacFormat = IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationIaCResponse response = await designCenterClient.GenerateApplicationIaCAsync(request);
GenerateApplicationIaCAsync(string, CallSettings)
public virtual Task<GenerateApplicationIaCResponse> GenerateApplicationIaCAsync(string name, CallSettings callSettings = null)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
GenerateApplicationIaCResponse response = await designCenterClient.GenerateApplicationIaCAsync(name);
GenerateApplicationIaCAsync(string, CancellationToken)
public virtual Task<GenerateApplicationIaCResponse> GenerateApplicationIaCAsync(string name, CancellationToken cancellationToken)Generates Terraform files for an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
GenerateApplicationIaCResponse response = await designCenterClient.GenerateApplicationIaCAsync(name);
GenerateApplicationTemplateAssessmentReport(ApplicationTemplateName, CallSettings)
public virtual Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> GenerateApplicationTemplateAssessmentReport(ApplicationTemplateName name, CallSettings callSettings = null)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateApplicationTemplateAssessmentReport(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReport(GenerateApplicationTemplateAssessmentReportRequest, CallSettings)
public virtual Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> GenerateApplicationTemplateAssessmentReport(GenerateApplicationTemplateAssessmentReportRequest request, CallSettings callSettings = null)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GenerateApplicationTemplateAssessmentReportRequest request = new GenerateApplicationTemplateAssessmentReportRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateApplicationTemplateAssessmentReport(request);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReport(string, CallSettings)
public virtual Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> GenerateApplicationTemplateAssessmentReport(string name, CallSettings callSettings = null)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateApplicationTemplateAssessmentReport(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReportAsync(ApplicationTemplateName, CallSettings)
public virtual Task<Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata>> GenerateApplicationTemplateAssessmentReportAsync(ApplicationTemplateName name, CallSettings callSettings = null)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationTemplateAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReportAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata>> GenerateApplicationTemplateAssessmentReportAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationTemplateAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReportAsync(GenerateApplicationTemplateAssessmentReportRequest, CallSettings)
public virtual Task<Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata>> GenerateApplicationTemplateAssessmentReportAsync(GenerateApplicationTemplateAssessmentReportRequest request, CallSettings callSettings = null)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationTemplateAssessmentReportRequest request = new GenerateApplicationTemplateAssessmentReportRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationTemplateAssessmentReportAsync(request);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReportAsync(GenerateApplicationTemplateAssessmentReportRequest, CancellationToken)
public virtual Task<Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata>> GenerateApplicationTemplateAssessmentReportAsync(GenerateApplicationTemplateAssessmentReportRequest request, CancellationToken cancellationToken)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateAssessmentReportRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationTemplateAssessmentReportRequest request = new GenerateApplicationTemplateAssessmentReportRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationTemplateAssessmentReportAsync(request);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReportAsync(string, CallSettings)
public virtual Task<Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata>> GenerateApplicationTemplateAssessmentReportAsync(string name, CallSettings callSettings = null)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationTemplateAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateAssessmentReportAsync(string, CancellationToken)
public virtual Task<Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata>> GenerateApplicationTemplateAssessmentReportAsync(string name, CancellationToken cancellationToken)Generate Assessment Reports of an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateApplicationTemplateAssessmentReportAsync(name);
// Poll until the returned long-running operation is complete
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateApplicationTemplateAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateApplicationTemplateAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateApplicationTemplateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateApplicationTemplateIaC(ApplicationTemplateName, CallSettings)
public virtual GenerateApplicationTemplateIaCResponse GenerateApplicationTemplateIaC(ApplicationTemplateName name, CallSettings callSettings = null)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationTemplateIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
GenerateApplicationTemplateIaCResponse response = designCenterClient.GenerateApplicationTemplateIaC(name);
GenerateApplicationTemplateIaC(GenerateApplicationTemplateIaCRequest, CallSettings)
public virtual GenerateApplicationTemplateIaCResponse GenerateApplicationTemplateIaC(GenerateApplicationTemplateIaCRequest request, CallSettings callSettings = null)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationTemplateIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GenerateApplicationTemplateIaCRequest request = new GenerateApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
IacFormat = GenerateApplicationTemplateIaCRequest.Types.IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationTemplateIaCResponse response = designCenterClient.GenerateApplicationTemplateIaC(request);
GenerateApplicationTemplateIaC(string, CallSettings)
public virtual GenerateApplicationTemplateIaCResponse GenerateApplicationTemplateIaC(string name, CallSettings callSettings = null)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationTemplateIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
GenerateApplicationTemplateIaCResponse response = designCenterClient.GenerateApplicationTemplateIaC(name);
GenerateApplicationTemplateIaCAsync(ApplicationTemplateName, CallSettings)
public virtual Task<GenerateApplicationTemplateIaCResponse> GenerateApplicationTemplateIaCAsync(ApplicationTemplateName name, CallSettings callSettings = null)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
GenerateApplicationTemplateIaCResponse response = await designCenterClient.GenerateApplicationTemplateIaCAsync(name);
GenerateApplicationTemplateIaCAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<GenerateApplicationTemplateIaCResponse> GenerateApplicationTemplateIaCAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
GenerateApplicationTemplateIaCResponse response = await designCenterClient.GenerateApplicationTemplateIaCAsync(name);
GenerateApplicationTemplateIaCAsync(GenerateApplicationTemplateIaCRequest, CallSettings)
public virtual Task<GenerateApplicationTemplateIaCResponse> GenerateApplicationTemplateIaCAsync(GenerateApplicationTemplateIaCRequest request, CallSettings callSettings = null)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationTemplateIaCRequest request = new GenerateApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
IacFormat = GenerateApplicationTemplateIaCRequest.Types.IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationTemplateIaCResponse response = await designCenterClient.GenerateApplicationTemplateIaCAsync(request);
GenerateApplicationTemplateIaCAsync(GenerateApplicationTemplateIaCRequest, CancellationToken)
public virtual Task<GenerateApplicationTemplateIaCResponse> GenerateApplicationTemplateIaCAsync(GenerateApplicationTemplateIaCRequest request, CancellationToken cancellationToken)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationTemplateIaCRequest request = new GenerateApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
IacFormat = GenerateApplicationTemplateIaCRequest.Types.IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationTemplateIaCResponse response = await designCenterClient.GenerateApplicationTemplateIaCAsync(request);
GenerateApplicationTemplateIaCAsync(string, CallSettings)
public virtual Task<GenerateApplicationTemplateIaCResponse> GenerateApplicationTemplateIaCAsync(string name, CallSettings callSettings = null)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
GenerateApplicationTemplateIaCResponse response = await designCenterClient.GenerateApplicationTemplateIaCAsync(name);
GenerateApplicationTemplateIaCAsync(string, CancellationToken)
public virtual Task<GenerateApplicationTemplateIaCResponse> GenerateApplicationTemplateIaCAsync(string name, CancellationToken cancellationToken)Generates Terraform files for an application template. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
GenerateApplicationTemplateIaCResponse response = await designCenterClient.GenerateApplicationTemplateIaCAsync(name);
GenerateApplicationTemplateRevisionIaC(ApplicationTemplateRevisionName, CallSettings)
public virtual GenerateApplicationTemplateRevisionIaCResponse GenerateApplicationTemplateRevisionIaC(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationTemplateRevisionIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = designCenterClient.GenerateApplicationTemplateRevisionIaC(name);
GenerateApplicationTemplateRevisionIaC(GenerateApplicationTemplateRevisionIaCRequest, CallSettings)
public virtual GenerateApplicationTemplateRevisionIaCResponse GenerateApplicationTemplateRevisionIaC(GenerateApplicationTemplateRevisionIaCRequest request, CallSettings callSettings = null)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateRevisionIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationTemplateRevisionIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GenerateApplicationTemplateRevisionIaCRequest request = new GenerateApplicationTemplateRevisionIaCRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
IacFormat = GenerateApplicationTemplateRevisionIaCRequest.Types.IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = designCenterClient.GenerateApplicationTemplateRevisionIaC(request);
GenerateApplicationTemplateRevisionIaC(string, CallSettings)
public virtual GenerateApplicationTemplateRevisionIaCResponse GenerateApplicationTemplateRevisionIaC(string name, CallSettings callSettings = null)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateApplicationTemplateRevisionIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = designCenterClient.GenerateApplicationTemplateRevisionIaC(name);
GenerateApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName, CallSettings)
public virtual Task<GenerateApplicationTemplateRevisionIaCResponse> GenerateApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateRevisionIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = await designCenterClient.GenerateApplicationTemplateRevisionIaCAsync(name);
GenerateApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName, CancellationToken)
public virtual Task<GenerateApplicationTemplateRevisionIaCResponse> GenerateApplicationTemplateRevisionIaCAsync(ApplicationTemplateRevisionName name, CancellationToken cancellationToken)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The name of the application template revision. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateRevisionIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = await designCenterClient.GenerateApplicationTemplateRevisionIaCAsync(name);
GenerateApplicationTemplateRevisionIaCAsync(GenerateApplicationTemplateRevisionIaCRequest, CallSettings)
public virtual Task<GenerateApplicationTemplateRevisionIaCResponse> GenerateApplicationTemplateRevisionIaCAsync(GenerateApplicationTemplateRevisionIaCRequest request, CallSettings callSettings = null)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateRevisionIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateRevisionIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationTemplateRevisionIaCRequest request = new GenerateApplicationTemplateRevisionIaCRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
IacFormat = GenerateApplicationTemplateRevisionIaCRequest.Types.IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = await designCenterClient.GenerateApplicationTemplateRevisionIaCAsync(request);
GenerateApplicationTemplateRevisionIaCAsync(GenerateApplicationTemplateRevisionIaCRequest, CancellationToken)
public virtual Task<GenerateApplicationTemplateRevisionIaCResponse> GenerateApplicationTemplateRevisionIaCAsync(GenerateApplicationTemplateRevisionIaCRequest request, CancellationToken cancellationToken)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateApplicationTemplateRevisionIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateRevisionIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateApplicationTemplateRevisionIaCRequest request = new GenerateApplicationTemplateRevisionIaCRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
IacFormat = GenerateApplicationTemplateRevisionIaCRequest.Types.IACFormat.Unspecified,
ArtifactLocation = new ArtifactLocation(),
};
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = await designCenterClient.GenerateApplicationTemplateRevisionIaCAsync(request);
GenerateApplicationTemplateRevisionIaCAsync(string, CallSettings)
public virtual Task<GenerateApplicationTemplateRevisionIaCResponse> GenerateApplicationTemplateRevisionIaCAsync(string name, CallSettings callSettings = null)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateRevisionIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = await designCenterClient.GenerateApplicationTemplateRevisionIaCAsync(name);
GenerateApplicationTemplateRevisionIaCAsync(string, CancellationToken)
public virtual Task<GenerateApplicationTemplateRevisionIaCResponse> GenerateApplicationTemplateRevisionIaCAsync(string name, CancellationToken cancellationToken)Generates Terraform files for an application template revision. This is a SYNCHRONOUS operation and returns the generated IaC directly in the response. It does NOT download external module sources; it only uses remote sources.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template revision. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateApplicationTemplateRevisionIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
GenerateApplicationTemplateRevisionIaCResponse response = await designCenterClient.GenerateApplicationTemplateRevisionIaCAsync(name);
GenerateAssessmentReport(GenerateAssessmentReportRequest, CallSettings)
[Obsolete]
public virtual Operation<GenerateAssessmentReportResponse, OperationMetadata> GenerateAssessmentReport(GenerateAssessmentReportRequest request, CallSettings callSettings = null)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAssessmentReportRequest request = new GenerateAssessmentReportRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateAssessmentReport(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateAssessmentReport(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReport(SpaceName, CallSettings)
[Obsolete]
public virtual Operation<GenerateAssessmentReportResponse, OperationMetadata> GenerateAssessmentReport(SpaceName spaceName, CallSettings callSettings = null)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
spaceName |
SpaceNameRequired. The name of the space at which Generate Assessment Report is
called. Format: |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName spaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateAssessmentReport(spaceName);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateAssessmentReport(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReport(string, CallSettings)
[Obsolete]
public virtual Operation<GenerateAssessmentReportResponse, OperationMetadata> GenerateAssessmentReport(string spaceName, CallSettings callSettings = null)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
spaceName |
stringRequired. The name of the space at which Generate Assessment Report is
called. Format: |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string spaceName = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateAssessmentReport(spaceName);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateAssessmentReport(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReportAsync(GenerateAssessmentReportRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<GenerateAssessmentReportResponse, OperationMetadata>> GenerateAssessmentReportAsync(GenerateAssessmentReportRequest request, CallSettings callSettings = null)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAssessmentReportRequest request = new GenerateAssessmentReportRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateAssessmentReportAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateAssessmentReportAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReportAsync(GenerateAssessmentReportRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<GenerateAssessmentReportResponse, OperationMetadata>> GenerateAssessmentReportAsync(GenerateAssessmentReportRequest request, CancellationToken cancellationToken)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAssessmentReportRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAssessmentReportRequest request = new GenerateAssessmentReportRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateAssessmentReportAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateAssessmentReportAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReportAsync(SpaceName, CallSettings)
[Obsolete]
public virtual Task<Operation<GenerateAssessmentReportResponse, OperationMetadata>> GenerateAssessmentReportAsync(SpaceName spaceName, CallSettings callSettings = null)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
spaceName |
SpaceNameRequired. The name of the space at which Generate Assessment Report is
called. Format: |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName spaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateAssessmentReportAsync(spaceName);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateAssessmentReportAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReportAsync(SpaceName, CancellationToken)
[Obsolete]
public virtual Task<Operation<GenerateAssessmentReportResponse, OperationMetadata>> GenerateAssessmentReportAsync(SpaceName spaceName, CancellationToken cancellationToken)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
spaceName |
SpaceNameRequired. The name of the space at which Generate Assessment Report is
called. Format: |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName spaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateAssessmentReportAsync(spaceName);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateAssessmentReportAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReportAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<GenerateAssessmentReportResponse, OperationMetadata>> GenerateAssessmentReportAsync(string spaceName, CallSettings callSettings = null)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
spaceName |
stringRequired. The name of the space at which Generate Assessment Report is
called. Format: |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string spaceName = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateAssessmentReportAsync(spaceName);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateAssessmentReportAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateAssessmentReportAsync(string, CancellationToken)
[Obsolete]
public virtual Task<Operation<GenerateAssessmentReportResponse, OperationMetadata>> GenerateAssessmentReportAsync(string spaceName, CancellationToken cancellationToken)Deprecated: Use GenerateTerraformPlanAssessmentReport instead.
Generate a best practice report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
spaceName |
stringRequired. The name of the space at which Generate Assessment Report is
called. Format: |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string spaceName = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateAssessmentReportAsync(spaceName);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
GenerateAssessmentReportResponse result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<GenerateAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateAssessmentReportAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
GenerateAssessmentReportResponse retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
GenerateTerraformPlanAssessmentReport(GenerateTerraformPlanAssessmentReportRequest, CallSettings)
public virtual Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> GenerateTerraformPlanAssessmentReport(GenerateTerraformPlanAssessmentReportRequest request, CallSettings callSettings = null)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateTerraformPlanAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GenerateTerraformPlanAssessmentReportRequest request = new GenerateTerraformPlanAssessmentReportRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
TerraformPlan = ByteString.Empty,
AdditionalFrameworks = { "", },
};
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateTerraformPlanAssessmentReport(request);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateTerraformPlanAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReport(SpaceName, ByteString, CallSettings)
public virtual Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> GenerateTerraformPlanAssessmentReport(SpaceName name, ByteString terraformPlan, CallSettings callSettings = null)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |
terraformPlan |
ByteStringRequired. The raw JSON representation of the generated Terraform plan, provided as bytes. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
ByteString terraformPlan = ByteString.Empty;
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateTerraformPlanAssessmentReport(name, terraformPlan);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateTerraformPlanAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReport(string, ByteString, CallSettings)
public virtual Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> GenerateTerraformPlanAssessmentReport(string name, ByteString terraformPlan, CallSettings callSettings = null)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |
terraformPlan |
ByteStringRequired. The raw JSON representation of the generated Terraform plan, provided as bytes. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
ByteString terraformPlan = ByteString.Empty;
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = designCenterClient.GenerateTerraformPlanAssessmentReport(name, terraformPlan);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceGenerateTerraformPlanAssessmentReport(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReportAsync(GenerateTerraformPlanAssessmentReportRequest, CallSettings)
public virtual Task<Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata>> GenerateTerraformPlanAssessmentReportAsync(GenerateTerraformPlanAssessmentReportRequest request, CallSettings callSettings = null)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateTerraformPlanAssessmentReportRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateTerraformPlanAssessmentReportRequest request = new GenerateTerraformPlanAssessmentReportRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
TerraformPlan = ByteString.Empty,
AdditionalFrameworks = { "", },
};
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateTerraformPlanAssessmentReportAsync(request);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateTerraformPlanAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReportAsync(GenerateTerraformPlanAssessmentReportRequest, CancellationToken)
public virtual Task<Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata>> GenerateTerraformPlanAssessmentReportAsync(GenerateTerraformPlanAssessmentReportRequest request, CancellationToken cancellationToken)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateTerraformPlanAssessmentReportRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GenerateTerraformPlanAssessmentReportRequest request = new GenerateTerraformPlanAssessmentReportRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
TerraformPlan = ByteString.Empty,
AdditionalFrameworks = { "", },
};
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateTerraformPlanAssessmentReportAsync(request);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateTerraformPlanAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReportAsync(SpaceName, ByteString, CallSettings)
public virtual Task<Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata>> GenerateTerraformPlanAssessmentReportAsync(SpaceName name, ByteString terraformPlan, CallSettings callSettings = null)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |
terraformPlan |
ByteStringRequired. The raw JSON representation of the generated Terraform plan, provided as bytes. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
ByteString terraformPlan = ByteString.Empty;
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateTerraformPlanAssessmentReportAsync(name, terraformPlan);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateTerraformPlanAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReportAsync(SpaceName, ByteString, CancellationToken)
public virtual Task<Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata>> GenerateTerraformPlanAssessmentReportAsync(SpaceName name, ByteString terraformPlan, CancellationToken cancellationToken)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |
terraformPlan |
ByteStringRequired. The raw JSON representation of the generated Terraform plan, provided as bytes. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
ByteString terraformPlan = ByteString.Empty;
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateTerraformPlanAssessmentReportAsync(name, terraformPlan);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateTerraformPlanAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReportAsync(string, ByteString, CallSettings)
public virtual Task<Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata>> GenerateTerraformPlanAssessmentReportAsync(string name, ByteString terraformPlan, CallSettings callSettings = null)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |
terraformPlan |
ByteStringRequired. The raw JSON representation of the generated Terraform plan, provided as bytes. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
ByteString terraformPlan = ByteString.Empty;
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateTerraformPlanAssessmentReportAsync(name, terraformPlan);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateTerraformPlanAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GenerateTerraformPlanAssessmentReportAsync(string, ByteString, CancellationToken)
public virtual Task<Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata>> GenerateTerraformPlanAssessmentReportAsync(string name, ByteString terraformPlan, CancellationToken cancellationToken)Generate a Terraform plan assessment report for a given Terraform plan.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |
terraformPlan |
ByteStringRequired. The raw JSON representation of the generated Terraform plan, provided as bytes. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
ByteString terraformPlan = ByteString.Empty;
// Make the request
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> response = await designCenterClient.GenerateTerraformPlanAssessmentReportAsync(name, terraformPlan);
// Poll until the returned long-running operation is complete
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
GenerateTerraformPlanAssessmentReportResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceGenerateTerraformPlanAssessmentReportAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
GenerateTerraformPlanAssessmentReportResponse retrievedResult = retrievedResponse.Result;
}
GetApplication(ApplicationName, CallSettings)
public virtual Application GetApplication(ApplicationName name, CallSettings callSettings = null)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Application response = designCenterClient.GetApplication(name);
GetApplication(GetApplicationRequest, CallSettings)
public virtual Application GetApplication(GetApplicationRequest request, CallSettings callSettings = null)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetApplicationRequest request = new GetApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Application response = designCenterClient.GetApplication(request);
GetApplication(string, CallSettings)
public virtual Application GetApplication(string name, CallSettings callSettings = null)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Application response = designCenterClient.GetApplication(name);
GetApplicationAsync(ApplicationName, CallSettings)
public virtual Task<Application> GetApplicationAsync(ApplicationName name, CallSettings callSettings = null)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Application response = await designCenterClient.GetApplicationAsync(name);
GetApplicationAsync(ApplicationName, CancellationToken)
public virtual Task<Application> GetApplicationAsync(ApplicationName name, CancellationToken cancellationToken)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Application response = await designCenterClient.GetApplicationAsync(name);
GetApplicationAsync(GetApplicationRequest, CallSettings)
public virtual Task<Application> GetApplicationAsync(GetApplicationRequest request, CallSettings callSettings = null)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationRequest request = new GetApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Application response = await designCenterClient.GetApplicationAsync(request);
GetApplicationAsync(GetApplicationRequest, CancellationToken)
public virtual Task<Application> GetApplicationAsync(GetApplicationRequest request, CancellationToken cancellationToken)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationRequest request = new GetApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Application response = await designCenterClient.GetApplicationAsync(request);
GetApplicationAsync(string, CallSettings)
public virtual Task<Application> GetApplicationAsync(string name, CallSettings callSettings = null)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Application response = await designCenterClient.GetApplicationAsync(name);
GetApplicationAsync(string, CancellationToken)
public virtual Task<Application> GetApplicationAsync(string name, CancellationToken cancellationToken)Gets details about an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Application response = await designCenterClient.GetApplicationAsync(name);
GetApplicationTemplate(ApplicationTemplateName, CallSettings)
public virtual ApplicationTemplate GetApplicationTemplate(ApplicationTemplateName name, CallSettings callSettings = null)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ApplicationTemplate response = designCenterClient.GetApplicationTemplate(name);
GetApplicationTemplate(GetApplicationTemplateRequest, CallSettings)
public virtual ApplicationTemplate GetApplicationTemplate(GetApplicationTemplateRequest request, CallSettings callSettings = null)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetApplicationTemplateRequest request = new GetApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
ApplicationTemplate response = designCenterClient.GetApplicationTemplate(request);
GetApplicationTemplate(string, CallSettings)
public virtual ApplicationTemplate GetApplicationTemplate(string name, CallSettings callSettings = null)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ApplicationTemplate response = designCenterClient.GetApplicationTemplate(name);
GetApplicationTemplateAsync(ApplicationTemplateName, CallSettings)
public virtual Task<ApplicationTemplate> GetApplicationTemplateAsync(ApplicationTemplateName name, CallSettings callSettings = null)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ApplicationTemplate response = await designCenterClient.GetApplicationTemplateAsync(name);
GetApplicationTemplateAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<ApplicationTemplate> GetApplicationTemplateAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The application template name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ApplicationTemplate response = await designCenterClient.GetApplicationTemplateAsync(name);
GetApplicationTemplateAsync(GetApplicationTemplateRequest, CallSettings)
public virtual Task<ApplicationTemplate> GetApplicationTemplateAsync(GetApplicationTemplateRequest request, CallSettings callSettings = null)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationTemplateRequest request = new GetApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
ApplicationTemplate response = await designCenterClient.GetApplicationTemplateAsync(request);
GetApplicationTemplateAsync(GetApplicationTemplateRequest, CancellationToken)
public virtual Task<ApplicationTemplate> GetApplicationTemplateAsync(GetApplicationTemplateRequest request, CancellationToken cancellationToken)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationTemplateRequest request = new GetApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
ApplicationTemplate response = await designCenterClient.GetApplicationTemplateAsync(request);
GetApplicationTemplateAsync(string, CallSettings)
public virtual Task<ApplicationTemplate> GetApplicationTemplateAsync(string name, CallSettings callSettings = null)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ApplicationTemplate response = await designCenterClient.GetApplicationTemplateAsync(name);
GetApplicationTemplateAsync(string, CancellationToken)
public virtual Task<ApplicationTemplate> GetApplicationTemplateAsync(string name, CancellationToken cancellationToken)Gets details about an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ApplicationTemplate response = await designCenterClient.GetApplicationTemplateAsync(name);
GetApplicationTemplateRevision(ApplicationTemplateRevisionName, CallSettings)
public virtual ApplicationTemplateRevision GetApplicationTemplateRevision(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
ApplicationTemplateRevision response = designCenterClient.GetApplicationTemplateRevision(name);
GetApplicationTemplateRevision(GetApplicationTemplateRevisionRequest, CallSettings)
public virtual ApplicationTemplateRevision GetApplicationTemplateRevision(GetApplicationTemplateRevisionRequest request, CallSettings callSettings = null)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetApplicationTemplateRevisionRequest request = new GetApplicationTemplateRevisionRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
};
// Make the request
ApplicationTemplateRevision response = designCenterClient.GetApplicationTemplateRevision(request);
GetApplicationTemplateRevision(string, CallSettings)
public virtual ApplicationTemplateRevision GetApplicationTemplateRevision(string name, CallSettings callSettings = null)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
ApplicationTemplateRevision response = designCenterClient.GetApplicationTemplateRevision(name);
GetApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName, CallSettings)
public virtual Task<ApplicationTemplateRevision> GetApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName name, CallSettings callSettings = null)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
ApplicationTemplateRevision response = await designCenterClient.GetApplicationTemplateRevisionAsync(name);
GetApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName, CancellationToken)
public virtual Task<ApplicationTemplateRevision> GetApplicationTemplateRevisionAsync(ApplicationTemplateRevisionName name, CancellationToken cancellationToken)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateRevisionNameRequired. The application template revision name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateRevisionName name = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
ApplicationTemplateRevision response = await designCenterClient.GetApplicationTemplateRevisionAsync(name);
GetApplicationTemplateRevisionAsync(GetApplicationTemplateRevisionRequest, CallSettings)
public virtual Task<ApplicationTemplateRevision> GetApplicationTemplateRevisionAsync(GetApplicationTemplateRevisionRequest request, CallSettings callSettings = null)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationTemplateRevisionRequest request = new GetApplicationTemplateRevisionRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
};
// Make the request
ApplicationTemplateRevision response = await designCenterClient.GetApplicationTemplateRevisionAsync(request);
GetApplicationTemplateRevisionAsync(GetApplicationTemplateRevisionRequest, CancellationToken)
public virtual Task<ApplicationTemplateRevision> GetApplicationTemplateRevisionAsync(GetApplicationTemplateRevisionRequest request, CancellationToken cancellationToken)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationTemplateRevisionRequest request = new GetApplicationTemplateRevisionRequest
{
ApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
};
// Make the request
ApplicationTemplateRevision response = await designCenterClient.GetApplicationTemplateRevisionAsync(request);
GetApplicationTemplateRevisionAsync(string, CallSettings)
public virtual Task<ApplicationTemplateRevision> GetApplicationTemplateRevisionAsync(string name, CallSettings callSettings = null)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template revision name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
ApplicationTemplateRevision response = await designCenterClient.GetApplicationTemplateRevisionAsync(name);
GetApplicationTemplateRevisionAsync(string, CancellationToken)
public virtual Task<ApplicationTemplateRevision> GetApplicationTemplateRevisionAsync(string name, CancellationToken cancellationToken)Gets details about an application template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application template revision name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
ApplicationTemplateRevision response = await designCenterClient.GetApplicationTemplateRevisionAsync(name);
GetApplicationTemplateSystemRevision(ApplicationTemplateSystemRevisionName, CallSettings)
public virtual ApplicationTemplateSystemRevision GetApplicationTemplateSystemRevision(ApplicationTemplateSystemRevisionName name, CallSettings callSettings = null)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateSystemRevisionNameRequired. The name of the ApplicationTemplateSystemRevision to retrieve. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateSystemRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateSystemRevisionName name = ApplicationTemplateSystemRevisionName.FromProjectLocationSpaceApplicationTemplateSystemRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[SYSTEM_REVISION]");
// Make the request
ApplicationTemplateSystemRevision response = designCenterClient.GetApplicationTemplateSystemRevision(name);
GetApplicationTemplateSystemRevision(GetApplicationTemplateSystemRevisionRequest, CallSettings)
public virtual ApplicationTemplateSystemRevision GetApplicationTemplateSystemRevision(GetApplicationTemplateSystemRevisionRequest request, CallSettings callSettings = null)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateSystemRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateSystemRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetApplicationTemplateSystemRevisionRequest request = new GetApplicationTemplateSystemRevisionRequest
{
ApplicationTemplateSystemRevisionName = ApplicationTemplateSystemRevisionName.FromProjectLocationSpaceApplicationTemplateSystemRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[SYSTEM_REVISION]"),
};
// Make the request
ApplicationTemplateSystemRevision response = designCenterClient.GetApplicationTemplateSystemRevision(request);
GetApplicationTemplateSystemRevision(string, CallSettings)
public virtual ApplicationTemplateSystemRevision GetApplicationTemplateSystemRevision(string name, CallSettings callSettings = null)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ApplicationTemplateSystemRevision to retrieve. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplateSystemRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/systemRevisions/[SYSTEM_REVISION]";
// Make the request
ApplicationTemplateSystemRevision response = designCenterClient.GetApplicationTemplateSystemRevision(name);
GetApplicationTemplateSystemRevisionAsync(ApplicationTemplateSystemRevisionName, CallSettings)
public virtual Task<ApplicationTemplateSystemRevision> GetApplicationTemplateSystemRevisionAsync(ApplicationTemplateSystemRevisionName name, CallSettings callSettings = null)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateSystemRevisionNameRequired. The name of the ApplicationTemplateSystemRevision to retrieve. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateSystemRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateSystemRevisionName name = ApplicationTemplateSystemRevisionName.FromProjectLocationSpaceApplicationTemplateSystemRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[SYSTEM_REVISION]");
// Make the request
ApplicationTemplateSystemRevision response = await designCenterClient.GetApplicationTemplateSystemRevisionAsync(name);
GetApplicationTemplateSystemRevisionAsync(ApplicationTemplateSystemRevisionName, CancellationToken)
public virtual Task<ApplicationTemplateSystemRevision> GetApplicationTemplateSystemRevisionAsync(ApplicationTemplateSystemRevisionName name, CancellationToken cancellationToken)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateSystemRevisionNameRequired. The name of the ApplicationTemplateSystemRevision to retrieve. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateSystemRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateSystemRevisionName name = ApplicationTemplateSystemRevisionName.FromProjectLocationSpaceApplicationTemplateSystemRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[SYSTEM_REVISION]");
// Make the request
ApplicationTemplateSystemRevision response = await designCenterClient.GetApplicationTemplateSystemRevisionAsync(name);
GetApplicationTemplateSystemRevisionAsync(GetApplicationTemplateSystemRevisionRequest, CallSettings)
public virtual Task<ApplicationTemplateSystemRevision> GetApplicationTemplateSystemRevisionAsync(GetApplicationTemplateSystemRevisionRequest request, CallSettings callSettings = null)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateSystemRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateSystemRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationTemplateSystemRevisionRequest request = new GetApplicationTemplateSystemRevisionRequest
{
ApplicationTemplateSystemRevisionName = ApplicationTemplateSystemRevisionName.FromProjectLocationSpaceApplicationTemplateSystemRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[SYSTEM_REVISION]"),
};
// Make the request
ApplicationTemplateSystemRevision response = await designCenterClient.GetApplicationTemplateSystemRevisionAsync(request);
GetApplicationTemplateSystemRevisionAsync(GetApplicationTemplateSystemRevisionRequest, CancellationToken)
public virtual Task<ApplicationTemplateSystemRevision> GetApplicationTemplateSystemRevisionAsync(GetApplicationTemplateSystemRevisionRequest request, CancellationToken cancellationToken)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetApplicationTemplateSystemRevisionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateSystemRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetApplicationTemplateSystemRevisionRequest request = new GetApplicationTemplateSystemRevisionRequest
{
ApplicationTemplateSystemRevisionName = ApplicationTemplateSystemRevisionName.FromProjectLocationSpaceApplicationTemplateSystemRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[SYSTEM_REVISION]"),
};
// Make the request
ApplicationTemplateSystemRevision response = await designCenterClient.GetApplicationTemplateSystemRevisionAsync(request);
GetApplicationTemplateSystemRevisionAsync(string, CallSettings)
public virtual Task<ApplicationTemplateSystemRevision> GetApplicationTemplateSystemRevisionAsync(string name, CallSettings callSettings = null)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ApplicationTemplateSystemRevision to retrieve. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateSystemRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/systemRevisions/[SYSTEM_REVISION]";
// Make the request
ApplicationTemplateSystemRevision response = await designCenterClient.GetApplicationTemplateSystemRevisionAsync(name);
GetApplicationTemplateSystemRevisionAsync(string, CancellationToken)
public virtual Task<ApplicationTemplateSystemRevision> GetApplicationTemplateSystemRevisionAsync(string name, CancellationToken cancellationToken)Gets the given application template system revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the ApplicationTemplateSystemRevision to retrieve. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/systemRevisions/{system_revision} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplateSystemRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/systemRevisions/[SYSTEM_REVISION]";
// Make the request
ApplicationTemplateSystemRevision response = await designCenterClient.GetApplicationTemplateSystemRevisionAsync(name);
GetCatalog(CatalogName, CallSettings)
public virtual Catalog GetCatalog(CatalogName name, CallSettings callSettings = null)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogNameRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogName name = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
Catalog response = designCenterClient.GetCatalog(name);
GetCatalog(GetCatalogRequest, CallSettings)
public virtual Catalog GetCatalog(GetCatalogRequest request, CallSettings callSettings = null)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetCatalogRequest request = new GetCatalogRequest
{
CatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
};
// Make the request
Catalog response = designCenterClient.GetCatalog(request);
GetCatalog(string, CallSettings)
public virtual Catalog GetCatalog(string name, CallSettings callSettings = null)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
Catalog response = designCenterClient.GetCatalog(name);
GetCatalogAsync(CatalogName, CallSettings)
public virtual Task<Catalog> GetCatalogAsync(CatalogName name, CallSettings callSettings = null)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogNameRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName name = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
Catalog response = await designCenterClient.GetCatalogAsync(name);
GetCatalogAsync(CatalogName, CancellationToken)
public virtual Task<Catalog> GetCatalogAsync(CatalogName name, CancellationToken cancellationToken)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogNameRequired. The catalog name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName name = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
Catalog response = await designCenterClient.GetCatalogAsync(name);
GetCatalogAsync(GetCatalogRequest, CallSettings)
public virtual Task<Catalog> GetCatalogAsync(GetCatalogRequest request, CallSettings callSettings = null)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetCatalogRequest request = new GetCatalogRequest
{
CatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
};
// Make the request
Catalog response = await designCenterClient.GetCatalogAsync(request);
GetCatalogAsync(GetCatalogRequest, CancellationToken)
public virtual Task<Catalog> GetCatalogAsync(GetCatalogRequest request, CancellationToken cancellationToken)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetCatalogRequest request = new GetCatalogRequest
{
CatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
};
// Make the request
Catalog response = await designCenterClient.GetCatalogAsync(request);
GetCatalogAsync(string, CallSettings)
public virtual Task<Catalog> GetCatalogAsync(string name, CallSettings callSettings = null)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
Catalog response = await designCenterClient.GetCatalogAsync(name);
GetCatalogAsync(string, CancellationToken)
public virtual Task<Catalog> GetCatalogAsync(string name, CancellationToken cancellationToken)Gets details about a catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
Catalog response = await designCenterClient.GetCatalogAsync(name);
GetCatalogTemplate(CatalogTemplateName, CallSettings)
public virtual CatalogTemplate GetCatalogTemplate(CatalogTemplateName name, CallSettings callSettings = null)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateNameRequired. The catalog template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogTemplateName name = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
CatalogTemplate response = designCenterClient.GetCatalogTemplate(name);
GetCatalogTemplate(GetCatalogTemplateRequest, CallSettings)
public virtual CatalogTemplate GetCatalogTemplate(GetCatalogTemplateRequest request, CallSettings callSettings = null)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetCatalogTemplateRequest request = new GetCatalogTemplateRequest
{
CatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
};
// Make the request
CatalogTemplate response = designCenterClient.GetCatalogTemplate(request);
GetCatalogTemplate(string, CallSettings)
public virtual CatalogTemplate GetCatalogTemplate(string name, CallSettings callSettings = null)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
CatalogTemplate response = designCenterClient.GetCatalogTemplate(name);
GetCatalogTemplateAsync(CatalogTemplateName, CallSettings)
public virtual Task<CatalogTemplate> GetCatalogTemplateAsync(CatalogTemplateName name, CallSettings callSettings = null)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateNameRequired. The catalog template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateName name = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
CatalogTemplate response = await designCenterClient.GetCatalogTemplateAsync(name);
GetCatalogTemplateAsync(CatalogTemplateName, CancellationToken)
public virtual Task<CatalogTemplate> GetCatalogTemplateAsync(CatalogTemplateName name, CancellationToken cancellationToken)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateNameRequired. The catalog template name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateName name = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
CatalogTemplate response = await designCenterClient.GetCatalogTemplateAsync(name);
GetCatalogTemplateAsync(GetCatalogTemplateRequest, CallSettings)
public virtual Task<CatalogTemplate> GetCatalogTemplateAsync(GetCatalogTemplateRequest request, CallSettings callSettings = null)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetCatalogTemplateRequest request = new GetCatalogTemplateRequest
{
CatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
};
// Make the request
CatalogTemplate response = await designCenterClient.GetCatalogTemplateAsync(request);
GetCatalogTemplateAsync(GetCatalogTemplateRequest, CancellationToken)
public virtual Task<CatalogTemplate> GetCatalogTemplateAsync(GetCatalogTemplateRequest request, CancellationToken cancellationToken)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetCatalogTemplateRequest request = new GetCatalogTemplateRequest
{
CatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
};
// Make the request
CatalogTemplate response = await designCenterClient.GetCatalogTemplateAsync(request);
GetCatalogTemplateAsync(string, CallSettings)
public virtual Task<CatalogTemplate> GetCatalogTemplateAsync(string name, CallSettings callSettings = null)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
CatalogTemplate response = await designCenterClient.GetCatalogTemplateAsync(name);
GetCatalogTemplateAsync(string, CancellationToken)
public virtual Task<CatalogTemplate> GetCatalogTemplateAsync(string name, CancellationToken cancellationToken)Gets a catalog template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
CatalogTemplate response = await designCenterClient.GetCatalogTemplateAsync(name);
GetCatalogTemplateRevision(CatalogTemplateRevisionName, CallSettings)
public virtual CatalogTemplateRevision GetCatalogTemplateRevision(CatalogTemplateRevisionName name, CallSettings callSettings = null)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateRevisionNameRequired. The catalog template revisions name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogTemplateRevisionName name = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]");
// Make the request
CatalogTemplateRevision response = designCenterClient.GetCatalogTemplateRevision(name);
GetCatalogTemplateRevision(GetCatalogTemplateRevisionRequest, CallSettings)
public virtual CatalogTemplateRevision GetCatalogTemplateRevision(GetCatalogTemplateRevisionRequest request, CallSettings callSettings = null)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetCatalogTemplateRevisionRequest request = new GetCatalogTemplateRevisionRequest
{
CatalogTemplateRevisionName = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]"),
};
// Make the request
CatalogTemplateRevision response = designCenterClient.GetCatalogTemplateRevision(request);
GetCatalogTemplateRevision(string, CallSettings)
public virtual CatalogTemplateRevision GetCatalogTemplateRevision(string name, CallSettings callSettings = null)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template revisions name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]/revisions/[REVISION]";
// Make the request
CatalogTemplateRevision response = designCenterClient.GetCatalogTemplateRevision(name);
GetCatalogTemplateRevisionAsync(CatalogTemplateRevisionName, CallSettings)
public virtual Task<CatalogTemplateRevision> GetCatalogTemplateRevisionAsync(CatalogTemplateRevisionName name, CallSettings callSettings = null)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateRevisionNameRequired. The catalog template revisions name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateRevisionName name = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]");
// Make the request
CatalogTemplateRevision response = await designCenterClient.GetCatalogTemplateRevisionAsync(name);
GetCatalogTemplateRevisionAsync(CatalogTemplateRevisionName, CancellationToken)
public virtual Task<CatalogTemplateRevision> GetCatalogTemplateRevisionAsync(CatalogTemplateRevisionName name, CancellationToken cancellationToken)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
CatalogTemplateRevisionNameRequired. The catalog template revisions name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateRevisionName name = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]");
// Make the request
CatalogTemplateRevision response = await designCenterClient.GetCatalogTemplateRevisionAsync(name);
GetCatalogTemplateRevisionAsync(GetCatalogTemplateRevisionRequest, CallSettings)
public virtual Task<CatalogTemplateRevision> GetCatalogTemplateRevisionAsync(GetCatalogTemplateRevisionRequest request, CallSettings callSettings = null)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetCatalogTemplateRevisionRequest request = new GetCatalogTemplateRevisionRequest
{
CatalogTemplateRevisionName = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]"),
};
// Make the request
CatalogTemplateRevision response = await designCenterClient.GetCatalogTemplateRevisionAsync(request);
GetCatalogTemplateRevisionAsync(GetCatalogTemplateRevisionRequest, CancellationToken)
public virtual Task<CatalogTemplateRevision> GetCatalogTemplateRevisionAsync(GetCatalogTemplateRevisionRequest request, CancellationToken cancellationToken)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCatalogTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetCatalogTemplateRevisionRequest request = new GetCatalogTemplateRevisionRequest
{
CatalogTemplateRevisionName = CatalogTemplateRevisionName.FromProjectLocationSpaceCatalogCatalogTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]", "[REVISION]"),
};
// Make the request
CatalogTemplateRevision response = await designCenterClient.GetCatalogTemplateRevisionAsync(request);
GetCatalogTemplateRevisionAsync(string, CallSettings)
public virtual Task<CatalogTemplateRevision> GetCatalogTemplateRevisionAsync(string name, CallSettings callSettings = null)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template revisions name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]/revisions/[REVISION]";
// Make the request
CatalogTemplateRevision response = await designCenterClient.GetCatalogTemplateRevisionAsync(name);
GetCatalogTemplateRevisionAsync(string, CancellationToken)
public virtual Task<CatalogTemplateRevision> GetCatalogTemplateRevisionAsync(string name, CancellationToken cancellationToken)Gets details about a template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The catalog template revisions name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]/revisions/[REVISION]";
// Make the request
CatalogTemplateRevision response = await designCenterClient.GetCatalogTemplateRevisionAsync(name);
GetComponent(ComponentName, CallSettings)
public virtual Component GetComponent(ComponentName name, CallSettings callSettings = null)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
name |
ComponentNameRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ComponentName name = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
Component response = designCenterClient.GetComponent(name);
GetComponent(GetComponentRequest, CallSettings)
public virtual Component GetComponent(GetComponentRequest request, CallSettings callSettings = null)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
request |
GetComponentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetComponentRequest request = new GetComponentRequest
{
ComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
};
// Make the request
Component response = designCenterClient.GetComponent(request);
GetComponent(string, CallSettings)
public virtual Component GetComponent(string name, CallSettings callSettings = null)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
Component response = designCenterClient.GetComponent(name);
GetComponentAsync(ComponentName, CallSettings)
public virtual Task<Component> GetComponentAsync(ComponentName name, CallSettings callSettings = null)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
name |
ComponentNameRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ComponentName name = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
Component response = await designCenterClient.GetComponentAsync(name);
GetComponentAsync(ComponentName, CancellationToken)
public virtual Task<Component> GetComponentAsync(ComponentName name, CancellationToken cancellationToken)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
name |
ComponentNameRequired. The component name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ComponentName name = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
Component response = await designCenterClient.GetComponentAsync(name);
GetComponentAsync(GetComponentRequest, CallSettings)
public virtual Task<Component> GetComponentAsync(GetComponentRequest request, CallSettings callSettings = null)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
request |
GetComponentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetComponentRequest request = new GetComponentRequest
{
ComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
};
// Make the request
Component response = await designCenterClient.GetComponentAsync(request);
GetComponentAsync(GetComponentRequest, CancellationToken)
public virtual Task<Component> GetComponentAsync(GetComponentRequest request, CancellationToken cancellationToken)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
request |
GetComponentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetComponentRequest request = new GetComponentRequest
{
ComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
};
// Make the request
Component response = await designCenterClient.GetComponentAsync(request);
GetComponentAsync(string, CallSettings)
public virtual Task<Component> GetComponentAsync(string name, CallSettings callSettings = null)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The component name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
Component response = await designCenterClient.GetComponentAsync(name);
GetComponentAsync(string, CancellationToken)
public virtual Task<Component> GetComponentAsync(string name, CancellationToken cancellationToken)Gets details about a Component.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The component name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
Component response = await designCenterClient.GetComponentAsync(name);
GetConnection(ConnectionName, CallSettings)
public virtual Connection GetConnection(ConnectionName name, CallSettings callSettings = null)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
ConnectionNameRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ConnectionName name = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]");
// Make the request
Connection response = designCenterClient.GetConnection(name);
GetConnection(GetConnectionRequest, CallSettings)
public virtual Connection GetConnection(GetConnectionRequest request, CallSettings callSettings = null)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetConnectionRequest request = new GetConnectionRequest
{
ConnectionName = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]"),
};
// Make the request
Connection response = designCenterClient.GetConnection(request);
GetConnection(string, CallSettings)
public virtual Connection GetConnection(string name, CallSettings callSettings = null)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]/connections/[CONNECTION]";
// Make the request
Connection response = designCenterClient.GetConnection(name);
GetConnectionAsync(ConnectionName, CallSettings)
public virtual Task<Connection> GetConnectionAsync(ConnectionName name, CallSettings callSettings = null)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
ConnectionNameRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ConnectionName name = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]");
// Make the request
Connection response = await designCenterClient.GetConnectionAsync(name);
GetConnectionAsync(ConnectionName, CancellationToken)
public virtual Task<Connection> GetConnectionAsync(ConnectionName name, CancellationToken cancellationToken)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
ConnectionNameRequired. Name of the resource |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ConnectionName name = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]");
// Make the request
Connection response = await designCenterClient.GetConnectionAsync(name);
GetConnectionAsync(GetConnectionRequest, CallSettings)
public virtual Task<Connection> GetConnectionAsync(GetConnectionRequest request, CallSettings callSettings = null)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetConnectionRequest request = new GetConnectionRequest
{
ConnectionName = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]"),
};
// Make the request
Connection response = await designCenterClient.GetConnectionAsync(request);
GetConnectionAsync(GetConnectionRequest, CancellationToken)
public virtual Task<Connection> GetConnectionAsync(GetConnectionRequest request, CancellationToken cancellationToken)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConnectionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetConnectionRequest request = new GetConnectionRequest
{
ConnectionName = ConnectionName.FromProjectLocationSpaceApplicationTemplateComponentConnection("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]", "[CONNECTION]"),
};
// Make the request
Connection response = await designCenterClient.GetConnectionAsync(request);
GetConnectionAsync(string, CallSettings)
public virtual Task<Connection> GetConnectionAsync(string name, CallSettings callSettings = null)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]/connections/[CONNECTION]";
// Make the request
Connection response = await designCenterClient.GetConnectionAsync(name);
GetConnectionAsync(string, CancellationToken)
public virtual Task<Connection> GetConnectionAsync(string name, CancellationToken cancellationToken)Gets details about a connection.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Name of the resource |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]/connections/[CONNECTION]";
// Make the request
Connection response = await designCenterClient.GetConnectionAsync(name);
GetPolicy(GetPolicyRequest, CallSettings)
public virtual Policy GetPolicy(GetPolicyRequest request, CallSettings callSettings = null)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetPolicyRequest request = new GetPolicyRequest
{
PolicyName = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]"),
};
// Make the request
Policy response = designCenterClient.GetPolicy(request);
GetPolicy(PolicyName, CallSettings)
public virtual Policy GetPolicy(PolicyName name, CallSettings callSettings = null)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
PolicyNameRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
PolicyName name = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]");
// Make the request
Policy response = designCenterClient.GetPolicy(name);
GetPolicy(string, CallSettings)
public virtual Policy GetPolicy(string name, CallSettings callSettings = null)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/policies/[POLICY]";
// Make the request
Policy response = designCenterClient.GetPolicy(name);
GetPolicyAsync(GetPolicyRequest, CallSettings)
public virtual Task<Policy> GetPolicyAsync(GetPolicyRequest request, CallSettings callSettings = null)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetPolicyRequest request = new GetPolicyRequest
{
PolicyName = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]"),
};
// Make the request
Policy response = await designCenterClient.GetPolicyAsync(request);
GetPolicyAsync(GetPolicyRequest, CancellationToken)
public virtual Task<Policy> GetPolicyAsync(GetPolicyRequest request, CancellationToken cancellationToken)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetPolicyRequest request = new GetPolicyRequest
{
PolicyName = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]"),
};
// Make the request
Policy response = await designCenterClient.GetPolicyAsync(request);
GetPolicyAsync(PolicyName, CallSettings)
public virtual Task<Policy> GetPolicyAsync(PolicyName name, CallSettings callSettings = null)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
PolicyNameRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
PolicyName name = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]");
// Make the request
Policy response = await designCenterClient.GetPolicyAsync(name);
GetPolicyAsync(PolicyName, CancellationToken)
public virtual Task<Policy> GetPolicyAsync(PolicyName name, CancellationToken cancellationToken)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
PolicyNameRequired. The policy name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
PolicyName name = PolicyName.FromProjectLocationSpaceApplicationTemplatePolicy("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[POLICY]");
// Make the request
Policy response = await designCenterClient.GetPolicyAsync(name);
GetPolicyAsync(string, CallSettings)
public virtual Task<Policy> GetPolicyAsync(string name, CallSettings callSettings = null)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The policy name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/policies/[POLICY]";
// Make the request
Policy response = await designCenterClient.GetPolicyAsync(name);
GetPolicyAsync(string, CancellationToken)
public virtual Task<Policy> GetPolicyAsync(string name, CancellationToken cancellationToken)Policy related APIs. Get a policy for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The policy name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/policies/[POLICY]";
// Make the request
Policy response = await designCenterClient.GetPolicyAsync(name);
GetShare(GetShareRequest, CallSettings)
public virtual Share GetShare(GetShareRequest request, CallSettings callSettings = null)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
request |
GetShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Share |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetShareRequest request = new GetShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Share response = designCenterClient.GetShare(request);
GetShare(ShareName, CallSettings)
public virtual Share GetShare(ShareName name, CallSettings callSettings = null)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Share |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Share response = designCenterClient.GetShare(name);
GetShare(string, CallSettings)
public virtual Share GetShare(string name, CallSettings callSettings = null)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Share |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Share response = designCenterClient.GetShare(name);
GetShareAsync(GetShareRequest, CallSettings)
public virtual Task<Share> GetShareAsync(GetShareRequest request, CallSettings callSettings = null)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
request |
GetShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskShare |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetShareRequest request = new GetShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Share response = await designCenterClient.GetShareAsync(request);
GetShareAsync(GetShareRequest, CancellationToken)
public virtual Task<Share> GetShareAsync(GetShareRequest request, CancellationToken cancellationToken)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
request |
GetShareRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskShare |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetShareRequest request = new GetShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Share response = await designCenterClient.GetShareAsync(request);
GetShareAsync(ShareName, CallSettings)
public virtual Task<Share> GetShareAsync(ShareName name, CallSettings callSettings = null)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskShare |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Share response = await designCenterClient.GetShareAsync(name);
GetShareAsync(ShareName, CancellationToken)
public virtual Task<Share> GetShareAsync(ShareName name, CancellationToken cancellationToken)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskShare |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Share response = await designCenterClient.GetShareAsync(name);
GetShareAsync(string, CallSettings)
public virtual Task<Share> GetShareAsync(string name, CallSettings callSettings = null)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskShare |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Share response = await designCenterClient.GetShareAsync(name);
GetShareAsync(string, CancellationToken)
public virtual Task<Share> GetShareAsync(string name, CancellationToken cancellationToken)Get catalog share object for the space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskShare |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Share response = await designCenterClient.GetShareAsync(name);
GetSharedTemplate(GetSharedTemplateRequest, CallSettings)
public virtual SharedTemplate GetSharedTemplate(GetSharedTemplateRequest request, CallSettings callSettings = null)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SharedTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetSharedTemplateRequest request = new GetSharedTemplateRequest
{
SharedTemplateName = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]"),
};
// Make the request
SharedTemplate response = designCenterClient.GetSharedTemplate(request);
GetSharedTemplate(SharedTemplateName, CallSettings)
public virtual SharedTemplate GetSharedTemplate(SharedTemplateName name, CallSettings callSettings = null)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
SharedTemplateNameRequired. The shared template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SharedTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SharedTemplateName name = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]");
// Make the request
SharedTemplate response = designCenterClient.GetSharedTemplate(name);
GetSharedTemplate(string, CallSettings)
public virtual SharedTemplate GetSharedTemplate(string name, CallSettings callSettings = null)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The shared template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SharedTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]";
// Make the request
SharedTemplate response = designCenterClient.GetSharedTemplate(name);
GetSharedTemplateAsync(GetSharedTemplateRequest, CallSettings)
public virtual Task<SharedTemplate> GetSharedTemplateAsync(GetSharedTemplateRequest request, CallSettings callSettings = null)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetSharedTemplateRequest request = new GetSharedTemplateRequest
{
SharedTemplateName = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]"),
};
// Make the request
SharedTemplate response = await designCenterClient.GetSharedTemplateAsync(request);
GetSharedTemplateAsync(GetSharedTemplateRequest, CancellationToken)
public virtual Task<SharedTemplate> GetSharedTemplateAsync(GetSharedTemplateRequest request, CancellationToken cancellationToken)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetSharedTemplateRequest request = new GetSharedTemplateRequest
{
SharedTemplateName = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]"),
};
// Make the request
SharedTemplate response = await designCenterClient.GetSharedTemplateAsync(request);
GetSharedTemplateAsync(SharedTemplateName, CallSettings)
public virtual Task<SharedTemplate> GetSharedTemplateAsync(SharedTemplateName name, CallSettings callSettings = null)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
SharedTemplateNameRequired. The shared template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SharedTemplateName name = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]");
// Make the request
SharedTemplate response = await designCenterClient.GetSharedTemplateAsync(name);
GetSharedTemplateAsync(SharedTemplateName, CancellationToken)
public virtual Task<SharedTemplate> GetSharedTemplateAsync(SharedTemplateName name, CancellationToken cancellationToken)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
SharedTemplateNameRequired. The shared template name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SharedTemplateName name = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]");
// Make the request
SharedTemplate response = await designCenterClient.GetSharedTemplateAsync(name);
GetSharedTemplateAsync(string, CallSettings)
public virtual Task<SharedTemplate> GetSharedTemplateAsync(string name, CallSettings callSettings = null)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The shared template name.
Format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]";
// Make the request
SharedTemplate response = await designCenterClient.GetSharedTemplateAsync(name);
GetSharedTemplateAsync(string, CancellationToken)
public virtual Task<SharedTemplate> GetSharedTemplateAsync(string name, CancellationToken cancellationToken)Gets details about a shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The shared template name.
Format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]";
// Make the request
SharedTemplate response = await designCenterClient.GetSharedTemplateAsync(name);
GetSharedTemplateRevision(GetSharedTemplateRevisionRequest, CallSettings)
public virtual SharedTemplateRevision GetSharedTemplateRevision(GetSharedTemplateRevisionRequest request, CallSettings callSettings = null)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetSharedTemplateRevisionRequest request = new GetSharedTemplateRevisionRequest
{
SharedTemplateRevisionName = SharedTemplateRevisionName.FromProjectLocationSpaceSharedTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]", "[REVISION]"),
};
// Make the request
SharedTemplateRevision response = designCenterClient.GetSharedTemplateRevision(request);
GetSharedTemplateRevision(SharedTemplateRevisionName, CallSettings)
public virtual SharedTemplateRevision GetSharedTemplateRevision(SharedTemplateRevisionName name, CallSettings callSettings = null)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
SharedTemplateRevisionNameRequired. The shared template revision name, in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SharedTemplateRevisionName name = SharedTemplateRevisionName.FromProjectLocationSpaceSharedTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]", "[REVISION]");
// Make the request
SharedTemplateRevision response = designCenterClient.GetSharedTemplateRevision(name);
GetSharedTemplateRevision(string, CallSettings)
public virtual SharedTemplateRevision GetSharedTemplateRevision(string name, CallSettings callSettings = null)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The shared template revision name, in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SharedTemplateRevision |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]/revisions/[REVISION]";
// Make the request
SharedTemplateRevision response = designCenterClient.GetSharedTemplateRevision(name);
GetSharedTemplateRevisionAsync(GetSharedTemplateRevisionRequest, CallSettings)
public virtual Task<SharedTemplateRevision> GetSharedTemplateRevisionAsync(GetSharedTemplateRevisionRequest request, CallSettings callSettings = null)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetSharedTemplateRevisionRequest request = new GetSharedTemplateRevisionRequest
{
SharedTemplateRevisionName = SharedTemplateRevisionName.FromProjectLocationSpaceSharedTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]", "[REVISION]"),
};
// Make the request
SharedTemplateRevision response = await designCenterClient.GetSharedTemplateRevisionAsync(request);
GetSharedTemplateRevisionAsync(GetSharedTemplateRevisionRequest, CancellationToken)
public virtual Task<SharedTemplateRevision> GetSharedTemplateRevisionAsync(GetSharedTemplateRevisionRequest request, CancellationToken cancellationToken)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSharedTemplateRevisionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetSharedTemplateRevisionRequest request = new GetSharedTemplateRevisionRequest
{
SharedTemplateRevisionName = SharedTemplateRevisionName.FromProjectLocationSpaceSharedTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]", "[REVISION]"),
};
// Make the request
SharedTemplateRevision response = await designCenterClient.GetSharedTemplateRevisionAsync(request);
GetSharedTemplateRevisionAsync(SharedTemplateRevisionName, CallSettings)
public virtual Task<SharedTemplateRevision> GetSharedTemplateRevisionAsync(SharedTemplateRevisionName name, CallSettings callSettings = null)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
SharedTemplateRevisionNameRequired. The shared template revision name, in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SharedTemplateRevisionName name = SharedTemplateRevisionName.FromProjectLocationSpaceSharedTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]", "[REVISION]");
// Make the request
SharedTemplateRevision response = await designCenterClient.GetSharedTemplateRevisionAsync(name);
GetSharedTemplateRevisionAsync(SharedTemplateRevisionName, CancellationToken)
public virtual Task<SharedTemplateRevision> GetSharedTemplateRevisionAsync(SharedTemplateRevisionName name, CancellationToken cancellationToken)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
SharedTemplateRevisionNameRequired. The shared template revision name, in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SharedTemplateRevisionName name = SharedTemplateRevisionName.FromProjectLocationSpaceSharedTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]", "[REVISION]");
// Make the request
SharedTemplateRevision response = await designCenterClient.GetSharedTemplateRevisionAsync(name);
GetSharedTemplateRevisionAsync(string, CallSettings)
public virtual Task<SharedTemplateRevision> GetSharedTemplateRevisionAsync(string name, CallSettings callSettings = null)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The shared template revision name, in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]/revisions/[REVISION]";
// Make the request
SharedTemplateRevision response = await designCenterClient.GetSharedTemplateRevisionAsync(name);
GetSharedTemplateRevisionAsync(string, CancellationToken)
public virtual Task<SharedTemplateRevision> GetSharedTemplateRevisionAsync(string name, CancellationToken cancellationToken)Gets details about a shared template revision.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The shared template revision name, in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSharedTemplateRevision |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]/revisions/[REVISION]";
// Make the request
SharedTemplateRevision response = await designCenterClient.GetSharedTemplateRevisionAsync(name);
GetSpace(GetSpaceRequest, CallSettings)
public virtual Space GetSpace(GetSpaceRequest request, CallSettings callSettings = null)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
GetSpaceRequest request = new GetSpaceRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
};
// Make the request
Space response = designCenterClient.GetSpace(request);
GetSpace(SpaceName, CallSettings)
public virtual Space GetSpace(SpaceName name, CallSettings callSettings = null)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
Space response = designCenterClient.GetSpace(name);
GetSpace(string, CallSettings)
public virtual Space GetSpace(string name, CallSettings callSettings = null)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
Space response = designCenterClient.GetSpace(name);
GetSpaceAsync(GetSpaceRequest, CallSettings)
public virtual Task<Space> GetSpaceAsync(GetSpaceRequest request, CallSettings callSettings = null)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetSpaceRequest request = new GetSpaceRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
};
// Make the request
Space response = await designCenterClient.GetSpaceAsync(request);
GetSpaceAsync(GetSpaceRequest, CancellationToken)
public virtual Task<Space> GetSpaceAsync(GetSpaceRequest request, CancellationToken cancellationToken)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSpaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
GetSpaceRequest request = new GetSpaceRequest
{
SpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
};
// Make the request
Space response = await designCenterClient.GetSpaceAsync(request);
GetSpaceAsync(SpaceName, CallSettings)
public virtual Task<Space> GetSpaceAsync(SpaceName name, CallSettings callSettings = null)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
Space response = await designCenterClient.GetSpaceAsync(name);
GetSpaceAsync(SpaceName, CancellationToken)
public virtual Task<Space> GetSpaceAsync(SpaceName name, CancellationToken cancellationToken)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
name |
SpaceNameRequired. The space name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName name = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
Space response = await designCenterClient.GetSpaceAsync(name);
GetSpaceAsync(string, CallSettings)
public virtual Task<Space> GetSpaceAsync(string name, CallSettings callSettings = null)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The space name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
Space response = await designCenterClient.GetSpaceAsync(name);
GetSpaceAsync(string, CancellationToken)
public virtual Task<Space> GetSpaceAsync(string name, CancellationToken cancellationToken)Gets details about a space.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The space name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
Space response = await designCenterClient.GetSpaceAsync(name);
ImportApplicationIaC(ApplicationName, CallSettings)
public virtual ImportApplicationIaCResponse ImportApplicationIaC(ApplicationName name, CallSettings callSettings = null)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
ImportApplicationIaCResponse response = designCenterClient.ImportApplicationIaC(name);
ImportApplicationIaC(ImportApplicationIaCRequest, CallSettings)
public virtual ImportApplicationIaCResponse ImportApplicationIaC(ImportApplicationIaCRequest request, CallSettings callSettings = null)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ImportApplicationIaCRequest request = new ImportApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
GcsUri = "",
AllowPartialImport = false,
ValidateIac = false,
};
// Make the request
ImportApplicationIaCResponse response = designCenterClient.ImportApplicationIaC(request);
ImportApplicationIaC(string, CallSettings)
public virtual ImportApplicationIaCResponse ImportApplicationIaC(string name, CallSettings callSettings = null)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
ImportApplicationIaCResponse response = designCenterClient.ImportApplicationIaC(name);
ImportApplicationIaCAsync(ApplicationName, CallSettings)
public virtual Task<ImportApplicationIaCResponse> ImportApplicationIaCAsync(ApplicationName name, CallSettings callSettings = null)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
ImportApplicationIaCResponse response = await designCenterClient.ImportApplicationIaCAsync(name);
ImportApplicationIaCAsync(ApplicationName, CancellationToken)
public virtual Task<ImportApplicationIaCResponse> ImportApplicationIaCAsync(ApplicationName name, CancellationToken cancellationToken)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
ImportApplicationIaCResponse response = await designCenterClient.ImportApplicationIaCAsync(name);
ImportApplicationIaCAsync(ImportApplicationIaCRequest, CallSettings)
public virtual Task<ImportApplicationIaCResponse> ImportApplicationIaCAsync(ImportApplicationIaCRequest request, CallSettings callSettings = null)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ImportApplicationIaCRequest request = new ImportApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
GcsUri = "",
AllowPartialImport = false,
ValidateIac = false,
};
// Make the request
ImportApplicationIaCResponse response = await designCenterClient.ImportApplicationIaCAsync(request);
ImportApplicationIaCAsync(ImportApplicationIaCRequest, CancellationToken)
public virtual Task<ImportApplicationIaCResponse> ImportApplicationIaCAsync(ImportApplicationIaCRequest request, CancellationToken cancellationToken)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ImportApplicationIaCRequest request = new ImportApplicationIaCRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
GcsUri = "",
AllowPartialImport = false,
ValidateIac = false,
};
// Make the request
ImportApplicationIaCResponse response = await designCenterClient.ImportApplicationIaCAsync(request);
ImportApplicationIaCAsync(string, CallSettings)
public virtual Task<ImportApplicationIaCResponse> ImportApplicationIaCAsync(string name, CallSettings callSettings = null)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
ImportApplicationIaCResponse response = await designCenterClient.ImportApplicationIaCAsync(name);
ImportApplicationIaCAsync(string, CancellationToken)
public virtual Task<ImportApplicationIaCResponse> ImportApplicationIaCAsync(string name, CancellationToken cancellationToken)Imports IaC for an application resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
ImportApplicationIaCResponse response = await designCenterClient.ImportApplicationIaCAsync(name);
ImportApplicationTemplate(ApplicationTemplateName, ApplicationTemplateRevisionName, CallSettings)
public virtual ApplicationTemplate ImportApplicationTemplate(ApplicationTemplateName name, ApplicationTemplateRevisionName applicationTemplateRevisionUri, CallSettings callSettings = null)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
applicationTemplateRevisionUri |
ApplicationTemplateRevisionNameOptional. The source URI for application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
ApplicationTemplateRevisionName applicationTemplateRevisionUri = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
ApplicationTemplate response = designCenterClient.ImportApplicationTemplate(name, applicationTemplateRevisionUri);
ImportApplicationTemplate(ImportApplicationTemplateRequest, CallSettings)
public virtual ApplicationTemplate ImportApplicationTemplate(ImportApplicationTemplateRequest request, CallSettings callSettings = null)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ImportApplicationTemplateRequest request = new ImportApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ApplicationTemplateRevisionUriAsApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
Annotations = { { "", "" }, },
};
// Make the request
ApplicationTemplate response = designCenterClient.ImportApplicationTemplate(request);
ImportApplicationTemplate(string, string, CallSettings)
public virtual ApplicationTemplate ImportApplicationTemplate(string name, string applicationTemplateRevisionUri, CallSettings callSettings = null)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
applicationTemplateRevisionUri |
stringOptional. The source URI for application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
string applicationTemplateRevisionUri = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
ApplicationTemplate response = designCenterClient.ImportApplicationTemplate(name, applicationTemplateRevisionUri);
ImportApplicationTemplateAsync(ApplicationTemplateName, ApplicationTemplateRevisionName, CallSettings)
public virtual Task<ApplicationTemplate> ImportApplicationTemplateAsync(ApplicationTemplateName name, ApplicationTemplateRevisionName applicationTemplateRevisionUri, CallSettings callSettings = null)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
applicationTemplateRevisionUri |
ApplicationTemplateRevisionNameOptional. The source URI for application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
ApplicationTemplateRevisionName applicationTemplateRevisionUri = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
ApplicationTemplate response = await designCenterClient.ImportApplicationTemplateAsync(name, applicationTemplateRevisionUri);
ImportApplicationTemplateAsync(ApplicationTemplateName, ApplicationTemplateRevisionName, CancellationToken)
public virtual Task<ApplicationTemplate> ImportApplicationTemplateAsync(ApplicationTemplateName name, ApplicationTemplateRevisionName applicationTemplateRevisionUri, CancellationToken cancellationToken)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
applicationTemplateRevisionUri |
ApplicationTemplateRevisionNameOptional. The source URI for application template revision. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
ApplicationTemplateRevisionName applicationTemplateRevisionUri = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]");
// Make the request
ApplicationTemplate response = await designCenterClient.ImportApplicationTemplateAsync(name, applicationTemplateRevisionUri);
ImportApplicationTemplateAsync(ImportApplicationTemplateRequest, CallSettings)
public virtual Task<ApplicationTemplate> ImportApplicationTemplateAsync(ImportApplicationTemplateRequest request, CallSettings callSettings = null)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ImportApplicationTemplateRequest request = new ImportApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ApplicationTemplateRevisionUriAsApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
Annotations = { { "", "" }, },
};
// Make the request
ApplicationTemplate response = await designCenterClient.ImportApplicationTemplateAsync(request);
ImportApplicationTemplateAsync(ImportApplicationTemplateRequest, CancellationToken)
public virtual Task<ApplicationTemplate> ImportApplicationTemplateAsync(ImportApplicationTemplateRequest request, CancellationToken cancellationToken)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ImportApplicationTemplateRequest request = new ImportApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
ApplicationTemplateRevisionUriAsApplicationTemplateRevisionName = ApplicationTemplateRevisionName.FromProjectLocationSpaceApplicationTemplateRevision("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[REVISION]"),
Annotations = { { "", "" }, },
};
// Make the request
ApplicationTemplate response = await designCenterClient.ImportApplicationTemplateAsync(request);
ImportApplicationTemplateAsync(string, string, CallSettings)
public virtual Task<ApplicationTemplate> ImportApplicationTemplateAsync(string name, string applicationTemplateRevisionUri, CallSettings callSettings = null)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
applicationTemplateRevisionUri |
stringOptional. The source URI for application template revision. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
string applicationTemplateRevisionUri = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
ApplicationTemplate response = await designCenterClient.ImportApplicationTemplateAsync(name, applicationTemplateRevisionUri);
ImportApplicationTemplateAsync(string, string, CancellationToken)
public virtual Task<ApplicationTemplate> ImportApplicationTemplateAsync(string name, string applicationTemplateRevisionUri, CancellationToken cancellationToken)Imports to an existing application template from a given shared template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
applicationTemplateRevisionUri |
stringOptional. The source URI for application template revision. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
string applicationTemplateRevisionUri = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/revisions/[REVISION]";
// Make the request
ApplicationTemplate response = await designCenterClient.ImportApplicationTemplateAsync(name, applicationTemplateRevisionUri);
ImportApplicationTemplateIaC(ApplicationTemplateName, CallSettings)
public virtual ImportApplicationTemplateIaCResponse ImportApplicationTemplateIaC(ApplicationTemplateName name, CallSettings callSettings = null)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ImportApplicationTemplateIaCResponse response = designCenterClient.ImportApplicationTemplateIaC(name);
ImportApplicationTemplateIaC(ImportApplicationTemplateIaCRequest, CallSettings)
public virtual ImportApplicationTemplateIaCResponse ImportApplicationTemplateIaC(ImportApplicationTemplateIaCRequest request, CallSettings callSettings = null)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ImportApplicationTemplateIaCRequest request = new ImportApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
GcsUri = "",
AllowPartialImport = false,
ValidateIac = false,
};
// Make the request
ImportApplicationTemplateIaCResponse response = designCenterClient.ImportApplicationTemplateIaC(request);
ImportApplicationTemplateIaC(string, CallSettings)
public virtual ImportApplicationTemplateIaCResponse ImportApplicationTemplateIaC(string name, CallSettings callSettings = null)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ImportApplicationTemplateIaCResponse |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ImportApplicationTemplateIaCResponse response = designCenterClient.ImportApplicationTemplateIaC(name);
ImportApplicationTemplateIaCAsync(ApplicationTemplateName, CallSettings)
public virtual Task<ImportApplicationTemplateIaCResponse> ImportApplicationTemplateIaCAsync(ApplicationTemplateName name, CallSettings callSettings = null)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ImportApplicationTemplateIaCResponse response = await designCenterClient.ImportApplicationTemplateIaCAsync(name);
ImportApplicationTemplateIaCAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<ImportApplicationTemplateIaCResponse> ImportApplicationTemplateIaCAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
ImportApplicationTemplateIaCResponse response = await designCenterClient.ImportApplicationTemplateIaCAsync(name);
ImportApplicationTemplateIaCAsync(ImportApplicationTemplateIaCRequest, CallSettings)
public virtual Task<ImportApplicationTemplateIaCResponse> ImportApplicationTemplateIaCAsync(ImportApplicationTemplateIaCRequest request, CallSettings callSettings = null)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ImportApplicationTemplateIaCRequest request = new ImportApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
GcsUri = "",
AllowPartialImport = false,
ValidateIac = false,
};
// Make the request
ImportApplicationTemplateIaCResponse response = await designCenterClient.ImportApplicationTemplateIaCAsync(request);
ImportApplicationTemplateIaCAsync(ImportApplicationTemplateIaCRequest, CancellationToken)
public virtual Task<ImportApplicationTemplateIaCResponse> ImportApplicationTemplateIaCAsync(ImportApplicationTemplateIaCRequest request, CancellationToken cancellationToken)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ImportApplicationTemplateIaCRequest request = new ImportApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
GcsUri = "",
AllowPartialImport = false,
ValidateIac = false,
};
// Make the request
ImportApplicationTemplateIaCResponse response = await designCenterClient.ImportApplicationTemplateIaCAsync(request);
ImportApplicationTemplateIaCAsync(string, CallSettings)
public virtual Task<ImportApplicationTemplateIaCResponse> ImportApplicationTemplateIaCAsync(string name, CallSettings callSettings = null)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ImportApplicationTemplateIaCResponse response = await designCenterClient.ImportApplicationTemplateIaCAsync(name);
ImportApplicationTemplateIaCAsync(string, CancellationToken)
public virtual Task<ImportApplicationTemplateIaCResponse> ImportApplicationTemplateIaCAsync(string name, CancellationToken cancellationToken)Imports IaC for an application template.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskImportApplicationTemplateIaCResponse |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
ImportApplicationTemplateIaCResponse response = await designCenterClient.ImportApplicationTemplateIaCAsync(name);
IngestApplicationTemplateIaC(ApplicationTemplateName, CallSettings)
public virtual Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> IngestApplicationTemplateIaC(ApplicationTemplateName name, CallSettings callSettings = null)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIngestApplicationTemplateIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = designCenterClient.IngestApplicationTemplateIaC(name);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceIngestApplicationTemplateIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaC(IngestApplicationTemplateIaCRequest, CallSettings)
public virtual Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> IngestApplicationTemplateIaC(IngestApplicationTemplateIaCRequest request, CallSettings callSettings = null)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
IngestApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIngestApplicationTemplateIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
IngestApplicationTemplateIaCRequest request = new IngestApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
GcsUri = "",
ValidateCatalogCompatibility = false,
RawTerraformImportEnabled = false,
};
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = designCenterClient.IngestApplicationTemplateIaC(request);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceIngestApplicationTemplateIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaC(string, CallSettings)
public virtual Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> IngestApplicationTemplateIaC(string name, CallSettings callSettings = null)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIngestApplicationTemplateIaCResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = designCenterClient.IngestApplicationTemplateIaC(name);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceIngestApplicationTemplateIaC(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaCAsync(ApplicationTemplateName, CallSettings)
public virtual Task<Operation<IngestApplicationTemplateIaCResponse, OperationMetadata>> IngestApplicationTemplateIaCAsync(ApplicationTemplateName name, CallSettings callSettings = null)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.IngestApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceIngestApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaCAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<Operation<IngestApplicationTemplateIaCResponse, OperationMetadata>> IngestApplicationTemplateIaCAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.IngestApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceIngestApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaCAsync(IngestApplicationTemplateIaCRequest, CallSettings)
public virtual Task<Operation<IngestApplicationTemplateIaCResponse, OperationMetadata>> IngestApplicationTemplateIaCAsync(IngestApplicationTemplateIaCRequest request, CallSettings callSettings = null)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
IngestApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
IngestApplicationTemplateIaCRequest request = new IngestApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
GcsUri = "",
ValidateCatalogCompatibility = false,
RawTerraformImportEnabled = false,
};
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.IngestApplicationTemplateIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceIngestApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaCAsync(IngestApplicationTemplateIaCRequest, CancellationToken)
public virtual Task<Operation<IngestApplicationTemplateIaCResponse, OperationMetadata>> IngestApplicationTemplateIaCAsync(IngestApplicationTemplateIaCRequest request, CancellationToken cancellationToken)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
IngestApplicationTemplateIaCRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
IngestApplicationTemplateIaCRequest request = new IngestApplicationTemplateIaCRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
GcsUri = "",
ValidateCatalogCompatibility = false,
RawTerraformImportEnabled = false,
};
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.IngestApplicationTemplateIaCAsync(request);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceIngestApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaCAsync(string, CallSettings)
public virtual Task<Operation<IngestApplicationTemplateIaCResponse, OperationMetadata>> IngestApplicationTemplateIaCAsync(string name, CallSettings callSettings = null)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.IngestApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceIngestApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
IngestApplicationTemplateIaCAsync(string, CancellationToken)
public virtual Task<Operation<IngestApplicationTemplateIaCResponse, OperationMetadata>> IngestApplicationTemplateIaCAsync(string name, CancellationToken cancellationToken)Ingests IaC for an application template asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestApplicationTemplateIaCResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> response = await designCenterClient.IngestApplicationTemplateIaCAsync(name);
// Poll until the returned long-running operation is complete
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
IngestApplicationTemplateIaCResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceIngestApplicationTemplateIaCAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
IngestApplicationTemplateIaCResponse retrievedResult = retrievedResponse.Result;
}
ListApplicationTemplateRevisions(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> ListApplicationTemplateRevisions(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent from which to list application template revisions. |
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 |
PagedEnumerableListApplicationTemplateRevisionsResponseApplicationTemplateRevision |
A pageable sequence of ApplicationTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> response = designCenterClient.ListApplicationTemplateRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplateRevision 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 (ListApplicationTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateRevision 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<ApplicationTemplateRevision> 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 (ApplicationTemplateRevision 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;
ListApplicationTemplateRevisions(ListApplicationTemplateRevisionsRequest, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> ListApplicationTemplateRevisions(ListApplicationTemplateRevisionsRequest request, CallSettings callSettings = null)Lists application template revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationTemplateRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListApplicationTemplateRevisionsResponseApplicationTemplateRevision |
A pageable sequence of ApplicationTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListApplicationTemplateRevisionsRequest request = new ListApplicationTemplateRevisionsRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> response = designCenterClient.ListApplicationTemplateRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplateRevision 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 (ListApplicationTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateRevision 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<ApplicationTemplateRevision> 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 (ApplicationTemplateRevision 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;
ListApplicationTemplateRevisions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> ListApplicationTemplateRevisions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent from which to list application template revisions. |
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 |
PagedEnumerableListApplicationTemplateRevisionsResponseApplicationTemplateRevision |
A pageable sequence of ApplicationTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> response = designCenterClient.ListApplicationTemplateRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplateRevision 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 (ListApplicationTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateRevision 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<ApplicationTemplateRevision> 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 (ApplicationTemplateRevision 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;
ListApplicationTemplateRevisionsAsync(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> ListApplicationTemplateRevisionsAsync(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent from which to list application template revisions. |
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 |
PagedAsyncEnumerableListApplicationTemplateRevisionsResponseApplicationTemplateRevision |
A pageable asynchronous sequence of ApplicationTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedAsyncEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> response = designCenterClient.ListApplicationTemplateRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplateRevision 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 (ListApplicationTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateRevision 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<ApplicationTemplateRevision> 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 (ApplicationTemplateRevision 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;
ListApplicationTemplateRevisionsAsync(ListApplicationTemplateRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> ListApplicationTemplateRevisionsAsync(ListApplicationTemplateRevisionsRequest request, CallSettings callSettings = null)Lists application template revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationTemplateRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListApplicationTemplateRevisionsResponseApplicationTemplateRevision |
A pageable asynchronous sequence of ApplicationTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListApplicationTemplateRevisionsRequest request = new ListApplicationTemplateRevisionsRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> response = designCenterClient.ListApplicationTemplateRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplateRevision 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 (ListApplicationTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateRevision 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<ApplicationTemplateRevision> 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 (ApplicationTemplateRevision 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;
ListApplicationTemplateRevisionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> ListApplicationTemplateRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent from which to list application template revisions. |
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 |
PagedAsyncEnumerableListApplicationTemplateRevisionsResponseApplicationTemplateRevision |
A pageable asynchronous sequence of ApplicationTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedAsyncEnumerable<ListApplicationTemplateRevisionsResponse, ApplicationTemplateRevision> response = designCenterClient.ListApplicationTemplateRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplateRevision 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 (ListApplicationTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateRevision 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<ApplicationTemplateRevision> 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 (ApplicationTemplateRevision 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;
ListApplicationTemplateSystemRevisions(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> ListApplicationTemplateSystemRevisions(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template system revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent Application Template from which to list the system revisions. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template} |
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 |
PagedEnumerableListApplicationTemplateSystemRevisionsResponseApplicationTemplateSystemRevision |
A pageable sequence of ApplicationTemplateSystemRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> response = designCenterClient.ListApplicationTemplateSystemRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplateSystemRevision 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 (ListApplicationTemplateSystemRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateSystemRevision 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<ApplicationTemplateSystemRevision> 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 (ApplicationTemplateSystemRevision 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;
ListApplicationTemplateSystemRevisions(ListApplicationTemplateSystemRevisionsRequest, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> ListApplicationTemplateSystemRevisions(ListApplicationTemplateSystemRevisionsRequest request, CallSettings callSettings = null)Lists application template system revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationTemplateSystemRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListApplicationTemplateSystemRevisionsResponseApplicationTemplateSystemRevision |
A pageable sequence of ApplicationTemplateSystemRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListApplicationTemplateSystemRevisionsRequest request = new ListApplicationTemplateSystemRevisionsRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
};
// Make the request
PagedEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> response = designCenterClient.ListApplicationTemplateSystemRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplateSystemRevision 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 (ListApplicationTemplateSystemRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateSystemRevision 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<ApplicationTemplateSystemRevision> 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 (ApplicationTemplateSystemRevision 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;
ListApplicationTemplateSystemRevisions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> ListApplicationTemplateSystemRevisions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template system revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent Application Template from which to list the system revisions. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template} |
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 |
PagedEnumerableListApplicationTemplateSystemRevisionsResponseApplicationTemplateSystemRevision |
A pageable sequence of ApplicationTemplateSystemRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> response = designCenterClient.ListApplicationTemplateSystemRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplateSystemRevision 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 (ListApplicationTemplateSystemRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateSystemRevision 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<ApplicationTemplateSystemRevision> 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 (ApplicationTemplateSystemRevision 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;
ListApplicationTemplateSystemRevisionsAsync(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> ListApplicationTemplateSystemRevisionsAsync(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template system revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent Application Template from which to list the system revisions. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template} |
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 |
PagedAsyncEnumerableListApplicationTemplateSystemRevisionsResponseApplicationTemplateSystemRevision |
A pageable asynchronous sequence of ApplicationTemplateSystemRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedAsyncEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> response = designCenterClient.ListApplicationTemplateSystemRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplateSystemRevision 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 (ListApplicationTemplateSystemRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateSystemRevision 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<ApplicationTemplateSystemRevision> 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 (ApplicationTemplateSystemRevision 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;
ListApplicationTemplateSystemRevisionsAsync(ListApplicationTemplateSystemRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> ListApplicationTemplateSystemRevisionsAsync(ListApplicationTemplateSystemRevisionsRequest request, CallSettings callSettings = null)Lists application template system revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationTemplateSystemRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListApplicationTemplateSystemRevisionsResponseApplicationTemplateSystemRevision |
A pageable asynchronous sequence of ApplicationTemplateSystemRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListApplicationTemplateSystemRevisionsRequest request = new ListApplicationTemplateSystemRevisionsRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> response = designCenterClient.ListApplicationTemplateSystemRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplateSystemRevision 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 (ListApplicationTemplateSystemRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateSystemRevision 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<ApplicationTemplateSystemRevision> 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 (ApplicationTemplateSystemRevision 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;
ListApplicationTemplateSystemRevisionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> ListApplicationTemplateSystemRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application template system revisions in a given application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent Application Template from which to list the system revisions. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template} |
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 |
PagedAsyncEnumerableListApplicationTemplateSystemRevisionsResponseApplicationTemplateSystemRevision |
A pageable asynchronous sequence of ApplicationTemplateSystemRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedAsyncEnumerable<ListApplicationTemplateSystemRevisionsResponse, ApplicationTemplateSystemRevision> response = designCenterClient.ListApplicationTemplateSystemRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplateSystemRevision 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 (ListApplicationTemplateSystemRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplateSystemRevision 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<ApplicationTemplateSystemRevision> 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 (ApplicationTemplateSystemRevision 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;
ListApplicationTemplates(ListApplicationTemplatesRequest, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> ListApplicationTemplates(ListApplicationTemplatesRequest request, CallSettings callSettings = null)Lists application templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationTemplatesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListApplicationTemplatesResponseApplicationTemplate |
A pageable sequence of ApplicationTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListApplicationTemplatesRequest request = new ListApplicationTemplatesRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> response = designCenterClient.ListApplicationTemplates(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplate 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 (ListApplicationTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplate 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<ApplicationTemplate> 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 (ApplicationTemplate 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;
ListApplicationTemplates(SpaceName, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> ListApplicationTemplates(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource from which to list application templates. |
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 |
PagedEnumerableListApplicationTemplatesResponseApplicationTemplate |
A pageable sequence of ApplicationTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> response = designCenterClient.ListApplicationTemplates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplate 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 (ListApplicationTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplate 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<ApplicationTemplate> 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 (ApplicationTemplate 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;
ListApplicationTemplates(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> ListApplicationTemplates(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to list application templates. |
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 |
PagedEnumerableListApplicationTemplatesResponseApplicationTemplate |
A pageable sequence of ApplicationTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> response = designCenterClient.ListApplicationTemplates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ApplicationTemplate 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 (ListApplicationTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplate 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<ApplicationTemplate> 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 (ApplicationTemplate 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;
ListApplicationTemplatesAsync(ListApplicationTemplatesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> ListApplicationTemplatesAsync(ListApplicationTemplatesRequest request, CallSettings callSettings = null)Lists application templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationTemplatesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListApplicationTemplatesResponseApplicationTemplate |
A pageable asynchronous sequence of ApplicationTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListApplicationTemplatesRequest request = new ListApplicationTemplatesRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> response = designCenterClient.ListApplicationTemplatesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplate 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 (ListApplicationTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplate 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<ApplicationTemplate> 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 (ApplicationTemplate 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;
ListApplicationTemplatesAsync(SpaceName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> ListApplicationTemplatesAsync(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource from which to list application templates. |
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 |
PagedAsyncEnumerableListApplicationTemplatesResponseApplicationTemplate |
A pageable asynchronous sequence of ApplicationTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedAsyncEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> response = designCenterClient.ListApplicationTemplatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplate 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 (ListApplicationTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplate 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<ApplicationTemplate> 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 (ApplicationTemplate 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;
ListApplicationTemplatesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> ListApplicationTemplatesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists application templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to list application templates. |
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 |
PagedAsyncEnumerableListApplicationTemplatesResponseApplicationTemplate |
A pageable asynchronous sequence of ApplicationTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedAsyncEnumerable<ListApplicationTemplatesResponse, ApplicationTemplate> response = designCenterClient.ListApplicationTemplatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (ApplicationTemplate 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 (ListApplicationTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ApplicationTemplate 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<ApplicationTemplate> 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 (ApplicationTemplate 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;
ListApplications(ListApplicationsRequest, CallSettings)
public virtual PagedEnumerable<ListApplicationsResponse, Application> ListApplications(ListApplicationsRequest request, CallSettings callSettings = null)Lists applications in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListApplicationsResponseApplication |
A pageable sequence of Application resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListApplicationsRequest request = new ListApplicationsRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListApplicationsResponse, Application> response = designCenterClient.ListApplications(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Application 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 (ListApplicationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Application 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<Application> 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 (Application 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;
ListApplications(SpaceName, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationsResponse, Application> ListApplications(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists applications in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource from which to request a list of applications. |
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 |
PagedEnumerableListApplicationsResponseApplication |
A pageable sequence of Application resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedEnumerable<ListApplicationsResponse, Application> response = designCenterClient.ListApplications(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Application 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 (ListApplicationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Application 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<Application> 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 (Application 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;
ListApplications(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListApplicationsResponse, Application> ListApplications(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists applications in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to request a list of applications. |
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 |
PagedEnumerableListApplicationsResponseApplication |
A pageable sequence of Application resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedEnumerable<ListApplicationsResponse, Application> response = designCenterClient.ListApplications(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Application 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 (ListApplicationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Application 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<Application> 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 (Application 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;
ListApplicationsAsync(ListApplicationsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationsResponse, Application> ListApplicationsAsync(ListApplicationsRequest request, CallSettings callSettings = null)Lists applications in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListApplicationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListApplicationsResponseApplication |
A pageable asynchronous sequence of Application resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListApplicationsRequest request = new ListApplicationsRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListApplicationsResponse, Application> response = designCenterClient.ListApplicationsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Application 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 (ListApplicationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Application 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<Application> 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 (Application 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;
ListApplicationsAsync(SpaceName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationsResponse, Application> ListApplicationsAsync(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists applications in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent resource from which to request a list of applications. |
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 |
PagedAsyncEnumerableListApplicationsResponseApplication |
A pageable asynchronous sequence of Application resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedAsyncEnumerable<ListApplicationsResponse, Application> response = designCenterClient.ListApplicationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Application 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 (ListApplicationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Application 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<Application> 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 (Application 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;
ListApplicationsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListApplicationsResponse, Application> ListApplicationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists applications in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to request a list of applications. |
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 |
PagedAsyncEnumerableListApplicationsResponseApplication |
A pageable asynchronous sequence of Application resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedAsyncEnumerable<ListApplicationsResponse, Application> response = designCenterClient.ListApplicationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Application 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 (ListApplicationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Application 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<Application> 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 (Application 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;
ListCatalogTemplateRevisions(CatalogTemplateName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> ListCatalogTemplateRevisions(CatalogTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists template revisions.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogTemplateNameRequired. The parent resource from which a list of catalog template revisions is requested. |
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 |
PagedEnumerableListCatalogTemplateRevisionsResponseCatalogTemplateRevision |
A pageable sequence of CatalogTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogTemplateName parent = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
PagedEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> response = designCenterClient.ListCatalogTemplateRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CatalogTemplateRevision 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 (ListCatalogTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplateRevision 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<CatalogTemplateRevision> 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 (CatalogTemplateRevision 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;
ListCatalogTemplateRevisions(ListCatalogTemplateRevisionsRequest, CallSettings)
public virtual PagedEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> ListCatalogTemplateRevisions(ListCatalogTemplateRevisionsRequest request, CallSettings callSettings = null)Lists template revisions.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogTemplateRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCatalogTemplateRevisionsResponseCatalogTemplateRevision |
A pageable sequence of CatalogTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListCatalogTemplateRevisionsRequest request = new ListCatalogTemplateRevisionsRequest
{
ParentAsCatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> response = designCenterClient.ListCatalogTemplateRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CatalogTemplateRevision 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 (ListCatalogTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplateRevision 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<CatalogTemplateRevision> 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 (CatalogTemplateRevision 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;
ListCatalogTemplateRevisions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> ListCatalogTemplateRevisions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists template revisions.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which a list of catalog template revisions is requested. |
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 |
PagedEnumerableListCatalogTemplateRevisionsResponseCatalogTemplateRevision |
A pageable sequence of CatalogTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
PagedEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> response = designCenterClient.ListCatalogTemplateRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CatalogTemplateRevision 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 (ListCatalogTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplateRevision 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<CatalogTemplateRevision> 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 (CatalogTemplateRevision 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;
ListCatalogTemplateRevisionsAsync(CatalogTemplateName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> ListCatalogTemplateRevisionsAsync(CatalogTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists template revisions.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogTemplateNameRequired. The parent resource from which a list of catalog template revisions is requested. |
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 |
PagedAsyncEnumerableListCatalogTemplateRevisionsResponseCatalogTemplateRevision |
A pageable asynchronous sequence of CatalogTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplateName parent = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]");
// Make the request
PagedAsyncEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> response = designCenterClient.ListCatalogTemplateRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (CatalogTemplateRevision 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 (ListCatalogTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplateRevision 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<CatalogTemplateRevision> 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 (CatalogTemplateRevision 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;
ListCatalogTemplateRevisionsAsync(ListCatalogTemplateRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> ListCatalogTemplateRevisionsAsync(ListCatalogTemplateRevisionsRequest request, CallSettings callSettings = null)Lists template revisions.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogTemplateRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCatalogTemplateRevisionsResponseCatalogTemplateRevision |
A pageable asynchronous sequence of CatalogTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListCatalogTemplateRevisionsRequest request = new ListCatalogTemplateRevisionsRequest
{
ParentAsCatalogTemplateName = CatalogTemplateName.FromProjectLocationSpaceCatalogCatalogTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[CATALOG_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> response = designCenterClient.ListCatalogTemplateRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (CatalogTemplateRevision 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 (ListCatalogTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplateRevision 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<CatalogTemplateRevision> 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 (CatalogTemplateRevision 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;
ListCatalogTemplateRevisionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> ListCatalogTemplateRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists template revisions.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which a list of catalog template revisions is requested. |
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 |
PagedAsyncEnumerableListCatalogTemplateRevisionsResponseCatalogTemplateRevision |
A pageable asynchronous sequence of CatalogTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/templates/[CATALOG_TEMPLATE]";
// Make the request
PagedAsyncEnumerable<ListCatalogTemplateRevisionsResponse, CatalogTemplateRevision> response = designCenterClient.ListCatalogTemplateRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (CatalogTemplateRevision 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 (ListCatalogTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplateRevision 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<CatalogTemplateRevision> 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 (CatalogTemplateRevision 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;
ListCatalogTemplates(CatalogName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> ListCatalogTemplates(CatalogName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog templates.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent from which the catalog templates are listed in the
following format:
|
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 |
PagedEnumerableListCatalogTemplatesResponseCatalogTemplate |
A pageable sequence of CatalogTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
PagedEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> response = designCenterClient.ListCatalogTemplates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CatalogTemplate 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 (ListCatalogTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplate 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<CatalogTemplate> 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 (CatalogTemplate 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;
ListCatalogTemplates(ListCatalogTemplatesRequest, CallSettings)
public virtual PagedEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> ListCatalogTemplates(ListCatalogTemplatesRequest request, CallSettings callSettings = null)Lists catalog templates.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogTemplatesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCatalogTemplatesResponseCatalogTemplate |
A pageable sequence of CatalogTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListCatalogTemplatesRequest request = new ListCatalogTemplatesRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> response = designCenterClient.ListCatalogTemplates(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CatalogTemplate 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 (ListCatalogTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplate 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<CatalogTemplate> 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 (CatalogTemplate 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;
ListCatalogTemplates(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> ListCatalogTemplates(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog templates.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent from which the catalog templates are listed in the
following format:
|
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 |
PagedEnumerableListCatalogTemplatesResponseCatalogTemplate |
A pageable sequence of CatalogTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
PagedEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> response = designCenterClient.ListCatalogTemplates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CatalogTemplate 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 (ListCatalogTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplate 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<CatalogTemplate> 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 (CatalogTemplate 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;
ListCatalogTemplatesAsync(CatalogName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> ListCatalogTemplatesAsync(CatalogName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog templates.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent from which the catalog templates are listed in the
following format:
|
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 |
PagedAsyncEnumerableListCatalogTemplatesResponseCatalogTemplate |
A pageable asynchronous sequence of CatalogTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
PagedAsyncEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> response = designCenterClient.ListCatalogTemplatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (CatalogTemplate 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 (ListCatalogTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplate 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<CatalogTemplate> 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 (CatalogTemplate 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;
ListCatalogTemplatesAsync(ListCatalogTemplatesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> ListCatalogTemplatesAsync(ListCatalogTemplatesRequest request, CallSettings callSettings = null)Lists catalog templates.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogTemplatesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCatalogTemplatesResponseCatalogTemplate |
A pageable asynchronous sequence of CatalogTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListCatalogTemplatesRequest request = new ListCatalogTemplatesRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> response = designCenterClient.ListCatalogTemplatesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (CatalogTemplate 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 (ListCatalogTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplate 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<CatalogTemplate> 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 (CatalogTemplate 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;
ListCatalogTemplatesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> ListCatalogTemplatesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog templates.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent from which the catalog templates are listed in the
following format:
|
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 |
PagedAsyncEnumerableListCatalogTemplatesResponseCatalogTemplate |
A pageable asynchronous sequence of CatalogTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
PagedAsyncEnumerable<ListCatalogTemplatesResponse, CatalogTemplate> response = designCenterClient.ListCatalogTemplatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (CatalogTemplate 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 (ListCatalogTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CatalogTemplate 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<CatalogTemplate> 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 (CatalogTemplate 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;
ListCatalogs(ListCatalogsRequest, CallSettings)
public virtual PagedEnumerable<ListCatalogsResponse, Catalog> ListCatalogs(ListCatalogsRequest request, CallSettings callSettings = null)Lists catalogs in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCatalogsResponseCatalog |
A pageable sequence of Catalog resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListCatalogsRequest request = new ListCatalogsRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCatalogsResponse, Catalog> response = designCenterClient.ListCatalogs(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Catalog 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 (ListCatalogsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Catalog 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<Catalog> 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 (Catalog 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;
ListCatalogs(SpaceName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCatalogsResponse, Catalog> ListCatalogs(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalogs in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent space from which catalogs are listed.
Format: |
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 |
PagedEnumerableListCatalogsResponseCatalog |
A pageable sequence of Catalog resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedEnumerable<ListCatalogsResponse, Catalog> response = designCenterClient.ListCatalogs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Catalog 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 (ListCatalogsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Catalog 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<Catalog> 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 (Catalog 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;
ListCatalogs(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCatalogsResponse, Catalog> ListCatalogs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalogs in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent space from which catalogs are listed.
Format: |
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 |
PagedEnumerableListCatalogsResponseCatalog |
A pageable sequence of Catalog resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedEnumerable<ListCatalogsResponse, Catalog> response = designCenterClient.ListCatalogs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Catalog 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 (ListCatalogsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Catalog 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<Catalog> 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 (Catalog 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;
ListCatalogsAsync(ListCatalogsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogsResponse, Catalog> ListCatalogsAsync(ListCatalogsRequest request, CallSettings callSettings = null)Lists catalogs in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCatalogsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCatalogsResponseCatalog |
A pageable asynchronous sequence of Catalog resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListCatalogsRequest request = new ListCatalogsRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCatalogsResponse, Catalog> response = designCenterClient.ListCatalogsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Catalog 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 (ListCatalogsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Catalog 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<Catalog> 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 (Catalog 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;
ListCatalogsAsync(SpaceName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogsResponse, Catalog> ListCatalogsAsync(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalogs in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent space from which catalogs are listed.
Format: |
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 |
PagedAsyncEnumerableListCatalogsResponseCatalog |
A pageable asynchronous sequence of Catalog resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedAsyncEnumerable<ListCatalogsResponse, Catalog> response = designCenterClient.ListCatalogsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Catalog 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 (ListCatalogsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Catalog 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<Catalog> 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 (Catalog 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;
ListCatalogsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCatalogsResponse, Catalog> ListCatalogsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalogs in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent space from which catalogs are listed.
Format: |
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 |
PagedAsyncEnumerableListCatalogsResponseCatalog |
A pageable asynchronous sequence of Catalog resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedAsyncEnumerable<ListCatalogsResponse, Catalog> response = designCenterClient.ListCatalogsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Catalog 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 (ListCatalogsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Catalog 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<Catalog> 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 (Catalog 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;
ListComponents(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedEnumerable<ListComponentsResponse, Component> ListComponents(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists components in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource from which the list of components is requested. |
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 |
PagedEnumerableListComponentsResponseComponent |
A pageable sequence of Component resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedEnumerable<ListComponentsResponse, Component> response = designCenterClient.ListComponents(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Component 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 (ListComponentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Component 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<Component> 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 (Component 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;
ListComponents(ListComponentsRequest, CallSettings)
public virtual PagedEnumerable<ListComponentsResponse, Component> ListComponents(ListComponentsRequest request, CallSettings callSettings = null)Lists components in an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListComponentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListComponentsResponseComponent |
A pageable sequence of Component resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListComponentsRequest request = new ListComponentsRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListComponentsResponse, Component> response = designCenterClient.ListComponents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Component 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 (ListComponentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Component 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<Component> 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 (Component 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;
ListComponents(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListComponentsResponse, Component> ListComponents(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists components in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which the list of components is requested. |
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 |
PagedEnumerableListComponentsResponseComponent |
A pageable sequence of Component resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedEnumerable<ListComponentsResponse, Component> response = designCenterClient.ListComponents(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Component 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 (ListComponentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Component 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<Component> 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 (Component 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;
ListComponentsAsync(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListComponentsResponse, Component> ListComponentsAsync(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists components in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent resource from which the list of components is requested. |
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 |
PagedAsyncEnumerableListComponentsResponseComponent |
A pageable asynchronous sequence of Component resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedAsyncEnumerable<ListComponentsResponse, Component> response = designCenterClient.ListComponentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Component 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 (ListComponentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Component 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<Component> 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 (Component 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;
ListComponentsAsync(ListComponentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListComponentsResponse, Component> ListComponentsAsync(ListComponentsRequest request, CallSettings callSettings = null)Lists components in an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListComponentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListComponentsResponseComponent |
A pageable asynchronous sequence of Component resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListComponentsRequest request = new ListComponentsRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListComponentsResponse, Component> response = designCenterClient.ListComponentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Component 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 (ListComponentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Component 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<Component> 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 (Component 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;
ListComponentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListComponentsResponse, Component> ListComponentsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists components in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which the list of components is requested. |
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 |
PagedAsyncEnumerableListComponentsResponseComponent |
A pageable asynchronous sequence of Component resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedAsyncEnumerable<ListComponentsResponse, Component> response = designCenterClient.ListComponentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Component 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 (ListComponentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Component 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<Component> 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 (Component 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;
ListConnections(ComponentName, string, int?, CallSettings)
public virtual PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(ComponentName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists connections in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ComponentNameRequired. The parent resource from which to request a list of connections. |
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 |
PagedEnumerableListConnectionsResponseConnection |
A pageable sequence of Connection resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ComponentName parent = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
PagedEnumerable<ListConnectionsResponse, Connection> response = designCenterClient.ListConnections(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Connection 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 (ListConnectionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Connection 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<Connection> 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 (Connection 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;
ListConnections(ListConnectionsRequest, CallSettings)
public virtual PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(ListConnectionsRequest request, CallSettings callSettings = null)Lists connections in an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConnectionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListConnectionsResponseConnection |
A pageable sequence of Connection resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListConnectionsRequest request = new ListConnectionsRequest
{
ParentAsComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListConnectionsResponse, Connection> response = designCenterClient.ListConnections(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Connection 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 (ListConnectionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Connection 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<Connection> 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 (Connection 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;
ListConnections(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists connections in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to request a list of connections. |
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 |
PagedEnumerableListConnectionsResponseConnection |
A pageable sequence of Connection resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
PagedEnumerable<ListConnectionsResponse, Connection> response = designCenterClient.ListConnections(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Connection 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 (ListConnectionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Connection 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<Connection> 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 (Connection 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;
ListConnectionsAsync(ComponentName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(ComponentName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists connections in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ComponentNameRequired. The parent resource from which to request a list of connections. |
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 |
PagedAsyncEnumerableListConnectionsResponseConnection |
A pageable asynchronous sequence of Connection resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ComponentName parent = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]");
// Make the request
PagedAsyncEnumerable<ListConnectionsResponse, Connection> response = designCenterClient.ListConnectionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Connection 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 (ListConnectionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Connection 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<Connection> 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 (Connection 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;
ListConnectionsAsync(ListConnectionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(ListConnectionsRequest request, CallSettings callSettings = null)Lists connections in an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListConnectionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListConnectionsResponseConnection |
A pageable asynchronous sequence of Connection resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListConnectionsRequest request = new ListConnectionsRequest
{
ParentAsComponentName = ComponentName.FromProjectLocationSpaceApplicationTemplateComponent("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]", "[COMPONENT]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListConnectionsResponse, Connection> response = designCenterClient.ListConnectionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Connection 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 (ListConnectionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Connection 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<Connection> 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 (Connection 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;
ListConnectionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists connections in an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to request a list of connections. |
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 |
PagedAsyncEnumerableListConnectionsResponseConnection |
A pageable asynchronous sequence of Connection resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]/components/[COMPONENT]";
// Make the request
PagedAsyncEnumerable<ListConnectionsResponse, Connection> response = designCenterClient.ListConnectionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Connection 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 (ListConnectionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Connection 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<Connection> 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 (Connection 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;
ListPolicies(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedEnumerable<ListPoliciesResponse, Policy> ListPolicies(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists policies for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent application template from which policies are listed in
the following format:
|
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 |
PagedEnumerableListPoliciesResponsePolicy |
A pageable sequence of Policy resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedEnumerable<ListPoliciesResponse, Policy> response = designCenterClient.ListPolicies(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Policy 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 (ListPoliciesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Policy 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<Policy> 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 (Policy 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;
ListPolicies(ListPoliciesRequest, CallSettings)
public virtual PagedEnumerable<ListPoliciesResponse, Policy> ListPolicies(ListPoliciesRequest request, CallSettings callSettings = null)Lists policies for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListPoliciesResponsePolicy |
A pageable sequence of Policy resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListPoliciesRequest request = new ListPoliciesRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListPoliciesResponse, Policy> response = designCenterClient.ListPolicies(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Policy 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 (ListPoliciesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Policy 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<Policy> 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 (Policy 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;
ListPolicies(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListPoliciesResponse, Policy> ListPolicies(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists policies for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent application template from which policies are listed in
the following format:
|
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 |
PagedEnumerableListPoliciesResponsePolicy |
A pageable sequence of Policy resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedEnumerable<ListPoliciesResponse, Policy> response = designCenterClient.ListPolicies(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Policy 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 (ListPoliciesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Policy 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<Policy> 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 (Policy 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;
ListPoliciesAsync(ApplicationTemplateName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListPoliciesResponse, Policy> ListPoliciesAsync(ApplicationTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists policies for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
ApplicationTemplateNameRequired. The parent application template from which policies are listed in
the following format:
|
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 |
PagedAsyncEnumerableListPoliciesResponsePolicy |
A pageable asynchronous sequence of Policy resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName parent = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
PagedAsyncEnumerable<ListPoliciesResponse, Policy> response = designCenterClient.ListPoliciesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Policy 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 (ListPoliciesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Policy 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<Policy> 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 (Policy 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;
ListPoliciesAsync(ListPoliciesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListPoliciesResponse, Policy> ListPoliciesAsync(ListPoliciesRequest request, CallSettings callSettings = null)Lists policies for an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListPoliciesResponsePolicy |
A pageable asynchronous sequence of Policy resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListPoliciesRequest request = new ListPoliciesRequest
{
ParentAsApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListPoliciesResponse, Policy> response = designCenterClient.ListPoliciesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Policy 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 (ListPoliciesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Policy 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<Policy> 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 (Policy 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;
ListPoliciesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListPoliciesResponse, Policy> ListPoliciesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists policies for an application template.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent application template from which policies are listed in
the following format:
|
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 |
PagedAsyncEnumerableListPoliciesResponsePolicy |
A pageable asynchronous sequence of Policy resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
PagedAsyncEnumerable<ListPoliciesResponse, Policy> response = designCenterClient.ListPoliciesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Policy 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 (ListPoliciesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Policy 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<Policy> 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 (Policy 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;
ListSharedTemplateRevisions(ListSharedTemplateRevisionsRequest, CallSettings)
public virtual PagedEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> ListSharedTemplateRevisions(ListSharedTemplateRevisionsRequest request, CallSettings callSettings = null)Lists shared template revisions in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSharedTemplateRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSharedTemplateRevisionsResponseSharedTemplateRevision |
A pageable sequence of SharedTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListSharedTemplateRevisionsRequest request = new ListSharedTemplateRevisionsRequest
{
ParentAsSharedTemplateName = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> response = designCenterClient.ListSharedTemplateRevisions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (SharedTemplateRevision 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 (ListSharedTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplateRevision 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<SharedTemplateRevision> 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 (SharedTemplateRevision 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;
ListSharedTemplateRevisions(SharedTemplateName, string, int?, CallSettings)
public virtual PagedEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> ListSharedTemplateRevisions(SharedTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared template revisions in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SharedTemplateNameRequired. The parent resource from which to list shared template revisions,
in the following format:
|
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 |
PagedEnumerableListSharedTemplateRevisionsResponseSharedTemplateRevision |
A pageable sequence of SharedTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SharedTemplateName parent = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]");
// Make the request
PagedEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> response = designCenterClient.ListSharedTemplateRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SharedTemplateRevision 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 (ListSharedTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplateRevision 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<SharedTemplateRevision> 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 (SharedTemplateRevision 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;
ListSharedTemplateRevisions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> ListSharedTemplateRevisions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared template revisions in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to list shared template revisions,
in the following format:
|
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 |
PagedEnumerableListSharedTemplateRevisionsResponseSharedTemplateRevision |
A pageable sequence of SharedTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]";
// Make the request
PagedEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> response = designCenterClient.ListSharedTemplateRevisions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SharedTemplateRevision 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 (ListSharedTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplateRevision 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<SharedTemplateRevision> 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 (SharedTemplateRevision 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;
ListSharedTemplateRevisionsAsync(ListSharedTemplateRevisionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> ListSharedTemplateRevisionsAsync(ListSharedTemplateRevisionsRequest request, CallSettings callSettings = null)Lists shared template revisions in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSharedTemplateRevisionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSharedTemplateRevisionsResponseSharedTemplateRevision |
A pageable asynchronous sequence of SharedTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListSharedTemplateRevisionsRequest request = new ListSharedTemplateRevisionsRequest
{
ParentAsSharedTemplateName = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> response = designCenterClient.ListSharedTemplateRevisionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (SharedTemplateRevision 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 (ListSharedTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplateRevision 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<SharedTemplateRevision> 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 (SharedTemplateRevision 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;
ListSharedTemplateRevisionsAsync(SharedTemplateName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> ListSharedTemplateRevisionsAsync(SharedTemplateName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared template revisions in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SharedTemplateNameRequired. The parent resource from which to list shared template revisions,
in the following format:
|
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 |
PagedAsyncEnumerableListSharedTemplateRevisionsResponseSharedTemplateRevision |
A pageable asynchronous sequence of SharedTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SharedTemplateName parent = SharedTemplateName.FromProjectLocationSpaceSharedTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[SHARED_TEMPLATE]");
// Make the request
PagedAsyncEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> response = designCenterClient.ListSharedTemplateRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (SharedTemplateRevision 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 (ListSharedTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplateRevision 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<SharedTemplateRevision> 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 (SharedTemplateRevision 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;
ListSharedTemplateRevisionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> ListSharedTemplateRevisionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared template revisions in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which to list shared template revisions,
in the following format:
|
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 |
PagedAsyncEnumerableListSharedTemplateRevisionsResponseSharedTemplateRevision |
A pageable asynchronous sequence of SharedTemplateRevision resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/sharedTemplates/[SHARED_TEMPLATE]";
// Make the request
PagedAsyncEnumerable<ListSharedTemplateRevisionsResponse, SharedTemplateRevision> response = designCenterClient.ListSharedTemplateRevisionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (SharedTemplateRevision 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 (ListSharedTemplateRevisionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplateRevision 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<SharedTemplateRevision> 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 (SharedTemplateRevision 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;
ListSharedTemplates(ListSharedTemplatesRequest, CallSettings)
public virtual PagedEnumerable<ListSharedTemplatesResponse, SharedTemplate> ListSharedTemplates(ListSharedTemplatesRequest request, CallSettings callSettings = null)Lists shared templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSharedTemplatesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSharedTemplatesResponseSharedTemplate |
A pageable sequence of SharedTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListSharedTemplatesRequest request = new ListSharedTemplatesRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListSharedTemplatesResponse, SharedTemplate> response = designCenterClient.ListSharedTemplates(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (SharedTemplate 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 (ListSharedTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplate 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<SharedTemplate> 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 (SharedTemplate 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;
ListSharedTemplates(SpaceName, string, int?, CallSettings)
public virtual PagedEnumerable<ListSharedTemplatesResponse, SharedTemplate> ListSharedTemplates(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent space for which shared templates are listed in the
following format: |
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 |
PagedEnumerableListSharedTemplatesResponseSharedTemplate |
A pageable sequence of SharedTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedEnumerable<ListSharedTemplatesResponse, SharedTemplate> response = designCenterClient.ListSharedTemplates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SharedTemplate 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 (ListSharedTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplate 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<SharedTemplate> 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 (SharedTemplate 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;
ListSharedTemplates(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListSharedTemplatesResponse, SharedTemplate> ListSharedTemplates(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent space for which shared templates are listed in the
following format: |
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 |
PagedEnumerableListSharedTemplatesResponseSharedTemplate |
A pageable sequence of SharedTemplate resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedEnumerable<ListSharedTemplatesResponse, SharedTemplate> response = designCenterClient.ListSharedTemplates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (SharedTemplate 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 (ListSharedTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplate 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<SharedTemplate> 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 (SharedTemplate 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;
ListSharedTemplatesAsync(ListSharedTemplatesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListSharedTemplatesResponse, SharedTemplate> ListSharedTemplatesAsync(ListSharedTemplatesRequest request, CallSettings callSettings = null)Lists shared templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSharedTemplatesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSharedTemplatesResponseSharedTemplate |
A pageable asynchronous sequence of SharedTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListSharedTemplatesRequest request = new ListSharedTemplatesRequest
{
ParentAsSpaceName = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListSharedTemplatesResponse, SharedTemplate> response = designCenterClient.ListSharedTemplatesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (SharedTemplate 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 (ListSharedTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplate 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<SharedTemplate> 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 (SharedTemplate 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;
ListSharedTemplatesAsync(SpaceName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSharedTemplatesResponse, SharedTemplate> ListSharedTemplatesAsync(SpaceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
SpaceNameRequired. The parent space for which shared templates are listed in the
following format: |
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 |
PagedAsyncEnumerableListSharedTemplatesResponseSharedTemplate |
A pageable asynchronous sequence of SharedTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SpaceName parent = SpaceName.FromProjectLocationSpace("[PROJECT]", "[LOCATION]", "[SPACE]");
// Make the request
PagedAsyncEnumerable<ListSharedTemplatesResponse, SharedTemplate> response = designCenterClient.ListSharedTemplatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (SharedTemplate 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 (ListSharedTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplate 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<SharedTemplate> 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 (SharedTemplate 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;
ListSharedTemplatesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSharedTemplatesResponse, SharedTemplate> ListSharedTemplatesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists shared templates in a given space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent space for which shared templates are listed in the
following format: |
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 |
PagedAsyncEnumerableListSharedTemplatesResponseSharedTemplate |
A pageable asynchronous sequence of SharedTemplate resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]";
// Make the request
PagedAsyncEnumerable<ListSharedTemplatesResponse, SharedTemplate> response = designCenterClient.ListSharedTemplatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (SharedTemplate 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 (ListSharedTemplatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SharedTemplate 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<SharedTemplate> 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 (SharedTemplate 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;
ListShares(CatalogName, string, int?, CallSettings)
public virtual PagedEnumerable<ListSharesResponse, Share> ListShares(CatalogName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog share objects for the space.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource from which a list of shares is requested. |
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 |
PagedEnumerableListSharesResponseShare |
A pageable sequence of Share resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
PagedEnumerable<ListSharesResponse, Share> response = designCenterClient.ListShares(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Share 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 (ListSharesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Share 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<Share> 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 (Share 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;
ListShares(ListSharesRequest, CallSettings)
public virtual PagedEnumerable<ListSharesResponse, Share> ListShares(ListSharesRequest request, CallSettings callSettings = null)Lists catalog share objects for the space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSharesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSharesResponseShare |
A pageable sequence of Share resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListSharesRequest request = new ListSharesRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
OrderBy = "",
};
// Make the request
PagedEnumerable<ListSharesResponse, Share> response = designCenterClient.ListShares(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Share 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 (ListSharesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Share 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<Share> 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 (Share 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;
ListShares(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListSharesResponse, Share> ListShares(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog share objects for the space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which a list of shares is requested. |
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 |
PagedEnumerableListSharesResponseShare |
A pageable sequence of Share resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
PagedEnumerable<ListSharesResponse, Share> response = designCenterClient.ListShares(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Share 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 (ListSharesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Share 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<Share> 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 (Share 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;
ListSharesAsync(CatalogName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSharesResponse, Share> ListSharesAsync(CatalogName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog share objects for the space.
| Parameters | |
|---|---|
| Name | Description |
parent |
CatalogNameRequired. The parent resource from which a list of shares is requested. |
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 |
PagedAsyncEnumerableListSharesResponseShare |
A pageable asynchronous sequence of Share resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogName parent = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]");
// Make the request
PagedAsyncEnumerable<ListSharesResponse, Share> response = designCenterClient.ListSharesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Share 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 (ListSharesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Share 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<Share> 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 (Share 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;
ListSharesAsync(ListSharesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListSharesResponse, Share> ListSharesAsync(ListSharesRequest request, CallSettings callSettings = null)Lists catalog share objects for the space.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSharesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSharesResponseShare |
A pageable asynchronous sequence of Share resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListSharesRequest request = new ListSharesRequest
{
ParentAsCatalogName = CatalogName.FromProjectLocationSpaceCatalog("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]"),
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListSharesResponse, Share> response = designCenterClient.ListSharesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Share 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 (ListSharesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Share 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<Share> 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 (Share 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;
ListSharesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSharesResponse, Share> ListSharesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists catalog share objects for the space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource from which a list of shares is requested. |
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 |
PagedAsyncEnumerableListSharesResponseShare |
A pageable asynchronous sequence of Share resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]";
// Make the request
PagedAsyncEnumerable<ListSharesResponse, Share> response = designCenterClient.ListSharesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Share 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 (ListSharesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Share 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<Share> 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 (Share 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;
ListSpaces(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListSpacesResponse, Space> ListSpaces(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists spaces in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the parent resource, for which spaces are listed. |
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 |
PagedEnumerableListSpacesResponseSpace |
A pageable sequence of Space resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListSpacesResponse, Space> response = designCenterClient.ListSpaces(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Space 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 (ListSpacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Space 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<Space> 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 (Space 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;
ListSpaces(ListSpacesRequest, CallSettings)
public virtual PagedEnumerable<ListSpacesResponse, Space> ListSpaces(ListSpacesRequest request, CallSettings callSettings = null)Lists spaces in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSpacesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSpacesResponseSpace |
A pageable sequence of Space resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ListSpacesRequest request = new ListSpacesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListSpacesResponse, Space> response = designCenterClient.ListSpaces(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Space 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 (ListSpacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Space 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<Space> 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 (Space 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;
ListSpaces(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListSpacesResponse, Space> ListSpaces(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists spaces in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the parent resource, for which spaces are listed. |
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 |
PagedEnumerableListSpacesResponseSpace |
A pageable sequence of Space resources. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListSpacesResponse, Space> response = designCenterClient.ListSpaces(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Space 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 (ListSpacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Space 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<Space> 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 (Space 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;
ListSpacesAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSpacesResponse, Space> ListSpacesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists spaces in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The name of the parent resource, for which spaces are listed. |
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 |
PagedAsyncEnumerableListSpacesResponseSpace |
A pageable asynchronous sequence of Space resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListSpacesResponse, Space> response = designCenterClient.ListSpacesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Space 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 (ListSpacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Space 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<Space> 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 (Space 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;
ListSpacesAsync(ListSpacesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListSpacesResponse, Space> ListSpacesAsync(ListSpacesRequest request, CallSettings callSettings = null)Lists spaces in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSpacesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSpacesResponseSpace |
A pageable asynchronous sequence of Space resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ListSpacesRequest request = new ListSpacesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListSpacesResponse, Space> response = designCenterClient.ListSpacesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Space 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 (ListSpacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Space 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<Space> 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 (Space 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;
ListSpacesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListSpacesResponse, Space> ListSpacesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists spaces in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The name of the parent resource, for which spaces are listed. |
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 |
PagedAsyncEnumerableListSpacesResponseSpace |
A pageable asynchronous sequence of Space resources. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListSpacesResponse, Space> response = designCenterClient.ListSpacesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (Space 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 (ListSpacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Space 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<Space> 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 (Space 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;
PollOnceCreateCatalogTemplateRevision(string, CallSettings)
public virtual Operation<CatalogTemplateRevision, OperationMetadata> PollOnceCreateCatalogTemplateRevision(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateCatalogTemplateRevision.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCatalogTemplateRevisionOperationMetadata |
The result of polling the operation. |
PollOnceCreateCatalogTemplateRevisionAsync(string, CallSettings)
public virtual Task<Operation<CatalogTemplateRevision, OperationMetadata>> PollOnceCreateCatalogTemplateRevisionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateCatalogTemplateRevision.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCatalogTemplateRevisionOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateShare(string, CallSettings)
public virtual Operation<Share, OperationMetadata> PollOnceCreateShare(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateShare.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The result of polling the operation. |
PollOnceCreateShareAsync(string, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> PollOnceCreateShareAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateShare.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteApplication(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteApplication(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteApplication
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteApplicationAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteApplicationAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteApplication.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteCatalog(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCatalog(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteCatalog.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteCatalogAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCatalogAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteCatalog.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteCatalogTemplate(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCatalogTemplate(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteCatalogTemplate
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteCatalogTemplateAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCatalogTemplateAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteCatalogTemplate.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteCatalogTemplateRevision(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCatalogTemplateRevision(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteCatalogTemplateRevision.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteCatalogTemplateRevisionAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCatalogTemplateRevisionAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteCatalogTemplateRevision.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteShare(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteShare(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteShare.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteShareAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteShareAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteShare.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeployApplication(string, CallSettings)
public virtual Operation<DeployApplicationResponse, OperationMetadata> PollOnceDeployApplication(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeployApplication
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployApplicationResponseOperationMetadata |
The result of polling the operation. |
PollOnceDeployApplicationAsync(string, CallSettings)
public virtual Task<Operation<DeployApplicationResponse, OperationMetadata>> PollOnceDeployApplicationAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeployApplication.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployApplicationResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceExportApplicationIaC(string, CallSettings)
public virtual Operation<ExportApplicationIaCResponse, OperationMetadata> PollOnceExportApplicationIaC(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of ExportApplicationIaC
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationIaCResponseOperationMetadata |
The result of polling the operation. |
PollOnceExportApplicationIaCAsync(string, CallSettings)
public virtual Task<Operation<ExportApplicationIaCResponse, OperationMetadata>> PollOnceExportApplicationIaCAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
ExportApplicationIaC.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationIaCResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceExportApplicationTemplateIaC(string, CallSettings)
public virtual Operation<ExportApplicationTemplateIaCResponse, OperationMetadata> PollOnceExportApplicationTemplateIaC(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
ExportApplicationTemplateIaC.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateIaCResponseOperationMetadata |
The result of polling the operation. |
PollOnceExportApplicationTemplateIaCAsync(string, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateIaCResponse, OperationMetadata>> PollOnceExportApplicationTemplateIaCAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
ExportApplicationTemplateIaC.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateIaCResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceExportApplicationTemplateRevisionIaC(string, CallSettings)
public virtual Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata> PollOnceExportApplicationTemplateRevisionIaC(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
ExportApplicationTemplateRevisionIaC.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
The result of polling the operation. |
PollOnceExportApplicationTemplateRevisionIaCAsync(string, CallSettings)
public virtual Task<Operation<ExportApplicationTemplateRevisionIaCResponse, OperationMetadata>> PollOnceExportApplicationTemplateRevisionIaCAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
ExportApplicationTemplateRevisionIaC.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExportApplicationTemplateRevisionIaCResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceGenerateApplicationAssessmentReport(string, CallSettings)
public virtual Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata> PollOnceGenerateApplicationAssessmentReport(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
GenerateApplicationAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationAssessmentReportResponseOperationMetadata |
The result of polling the operation. |
PollOnceGenerateApplicationAssessmentReportAsync(string, CallSettings)
public virtual Task<Operation<GenerateApplicationAssessmentReportResponse, OperationMetadata>> PollOnceGenerateApplicationAssessmentReportAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
GenerateApplicationAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationAssessmentReportResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceGenerateApplicationTemplateAssessmentReport(string, CallSettings)
public virtual Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata> PollOnceGenerateApplicationTemplateAssessmentReport(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
GenerateApplicationTemplateAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
The result of polling the operation. |
PollOnceGenerateApplicationTemplateAssessmentReportAsync(string, CallSettings)
public virtual Task<Operation<GenerateApplicationTemplateAssessmentReportResponse, OperationMetadata>> PollOnceGenerateApplicationTemplateAssessmentReportAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
GenerateApplicationTemplateAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateApplicationTemplateAssessmentReportResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceGenerateAssessmentReport(string, CallSettings)
[Obsolete]
public virtual Operation<GenerateAssessmentReportResponse, OperationMetadata> PollOnceGenerateAssessmentReport(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
GenerateAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateAssessmentReportResponseOperationMetadata |
The result of polling the operation. |
PollOnceGenerateAssessmentReportAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<GenerateAssessmentReportResponse, OperationMetadata>> PollOnceGenerateAssessmentReportAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
GenerateAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateAssessmentReportResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceGenerateTerraformPlanAssessmentReport(string, CallSettings)
public virtual Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata> PollOnceGenerateTerraformPlanAssessmentReport(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
GenerateTerraformPlanAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
The result of polling the operation. |
PollOnceGenerateTerraformPlanAssessmentReportAsync(string, CallSettings)
public virtual Task<Operation<GenerateTerraformPlanAssessmentReportResponse, OperationMetadata>> PollOnceGenerateTerraformPlanAssessmentReportAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
GenerateTerraformPlanAssessmentReport.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationGenerateTerraformPlanAssessmentReportResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceIngestApplicationTemplateIaC(string, CallSettings)
public virtual Operation<IngestApplicationTemplateIaCResponse, OperationMetadata> PollOnceIngestApplicationTemplateIaC(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
IngestApplicationTemplateIaC.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIngestApplicationTemplateIaCResponseOperationMetadata |
The result of polling the operation. |
PollOnceIngestApplicationTemplateIaCAsync(string, CallSettings)
public virtual Task<Operation<IngestApplicationTemplateIaCResponse, OperationMetadata>> PollOnceIngestApplicationTemplateIaCAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
IngestApplicationTemplateIaC.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIngestApplicationTemplateIaCResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOncePreviewApplication(string, CallSettings)
public virtual Operation<PreviewApplicationResponse, OperationMetadata> PollOncePreviewApplication(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of PreviewApplication
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPreviewApplicationResponseOperationMetadata |
The result of polling the operation. |
PollOncePreviewApplicationAsync(string, CallSettings)
public virtual Task<Operation<PreviewApplicationResponse, OperationMetadata>> PollOncePreviewApplicationAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
PreviewApplication.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPreviewApplicationResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceRecommendIAMRoles(string, CallSettings)
public virtual Operation<RecommendIAMRolesResponse, OperationMetadata> PollOnceRecommendIAMRoles(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of RecommendIAMRoles
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecommendIAMRolesResponseOperationMetadata |
The result of polling the operation. |
PollOnceRecommendIAMRolesAsync(string, CallSettings)
public virtual Task<Operation<RecommendIAMRolesResponse, OperationMetadata>> PollOnceRecommendIAMRolesAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
RecommendIAMRoles.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecommendIAMRolesResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceRegisterAppHubApplicationResources(string, CallSettings)
public virtual Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> PollOnceRegisterAppHubApplicationResources(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
RegisterAppHubApplicationResources.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
The result of polling the operation. |
PollOnceRegisterAppHubApplicationResourcesAsync(string, CallSettings)
public virtual Task<Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata>> PollOnceRegisterAppHubApplicationResourcesAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
RegisterAppHubApplicationResources.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceSnapshotApplicationTemplate(string, CallSettings)
public virtual Operation<SnapshotApplicationTemplateResponse, OperationMetadata> PollOnceSnapshotApplicationTemplate(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
SnapshotApplicationTemplate.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationSnapshotApplicationTemplateResponseOperationMetadata |
The result of polling the operation. |
PollOnceSnapshotApplicationTemplateAsync(string, CallSettings)
public virtual Task<Operation<SnapshotApplicationTemplateResponse, OperationMetadata>> PollOnceSnapshotApplicationTemplateAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
SnapshotApplicationTemplate.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationSnapshotApplicationTemplateResponseOperationMetadata |
A task representing the result of polling the operation. |
PollOnceSyncShare(string, CallSettings)
public virtual Operation<Share, OperationMetadata> PollOnceSyncShare(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of SyncShare.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The result of polling the operation. |
PollOnceSyncShareAsync(string, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> PollOnceSyncShareAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
SyncShare.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A task representing the result of polling the operation. |
PreviewApplication(ApplicationName, CallSettings)
public virtual Operation<PreviewApplicationResponse, OperationMetadata> PreviewApplication(ApplicationName name, CallSettings callSettings = null)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPreviewApplicationResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = designCenterClient.PreviewApplication(name);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOncePreviewApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplication(PreviewApplicationRequest, CallSettings)
public virtual Operation<PreviewApplicationResponse, OperationMetadata> PreviewApplication(PreviewApplicationRequest request, CallSettings callSettings = null)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPreviewApplicationResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
PreviewApplicationRequest request = new PreviewApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
WorkerPool = "",
ServiceAccount = "",
};
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = designCenterClient.PreviewApplication(request);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOncePreviewApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplication(string, CallSettings)
public virtual Operation<PreviewApplicationResponse, OperationMetadata> PreviewApplication(string name, CallSettings callSettings = null)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationPreviewApplicationResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = designCenterClient.PreviewApplication(name);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOncePreviewApplication(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplicationAsync(ApplicationName, CallSettings)
public virtual Task<Operation<PreviewApplicationResponse, OperationMetadata>> PreviewApplicationAsync(ApplicationName name, CallSettings callSettings = null)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPreviewApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = await designCenterClient.PreviewApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOncePreviewApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplicationAsync(ApplicationName, CancellationToken)
public virtual Task<Operation<PreviewApplicationResponse, OperationMetadata>> PreviewApplicationAsync(ApplicationName name, CancellationToken cancellationToken)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The application name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPreviewApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = await designCenterClient.PreviewApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOncePreviewApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplicationAsync(PreviewApplicationRequest, CallSettings)
public virtual Task<Operation<PreviewApplicationResponse, OperationMetadata>> PreviewApplicationAsync(PreviewApplicationRequest request, CallSettings callSettings = null)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPreviewApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
PreviewApplicationRequest request = new PreviewApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
WorkerPool = "",
ServiceAccount = "",
};
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = await designCenterClient.PreviewApplicationAsync(request);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOncePreviewApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplicationAsync(PreviewApplicationRequest, CancellationToken)
public virtual Task<Operation<PreviewApplicationResponse, OperationMetadata>> PreviewApplicationAsync(PreviewApplicationRequest request, CancellationToken cancellationToken)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewApplicationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPreviewApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
PreviewApplicationRequest request = new PreviewApplicationRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
WorkerPool = "",
ServiceAccount = "",
};
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = await designCenterClient.PreviewApplicationAsync(request);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOncePreviewApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplicationAsync(string, CallSettings)
public virtual Task<Operation<PreviewApplicationResponse, OperationMetadata>> PreviewApplicationAsync(string name, CallSettings callSettings = null)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPreviewApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = await designCenterClient.PreviewApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOncePreviewApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
PreviewApplicationAsync(string, CancellationToken)
public virtual Task<Operation<PreviewApplicationResponse, OperationMetadata>> PreviewApplicationAsync(string name, CancellationToken cancellationToken)Previews deployment of an application.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The application name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationPreviewApplicationResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<PreviewApplicationResponse, OperationMetadata> response = await designCenterClient.PreviewApplicationAsync(name);
// Poll until the returned long-running operation is complete
Operation<PreviewApplicationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
PreviewApplicationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<PreviewApplicationResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOncePreviewApplicationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
PreviewApplicationResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRoles(ApplicationName, CallSettings)
public virtual Operation<RecommendIAMRolesResponse, OperationMetadata> RecommendIAMRoles(ApplicationName name, CallSettings callSettings = null)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application resource for which to recommend IAM roles. Format: projects/$project/locations/$location/spaces/$space/applications/$application |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecommendIAMRolesResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = designCenterClient.RecommendIAMRoles(name);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceRecommendIAMRoles(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRoles(RecommendIAMRolesRequest, CallSettings)
public virtual Operation<RecommendIAMRolesResponse, OperationMetadata> RecommendIAMRoles(RecommendIAMRolesRequest request, CallSettings callSettings = null)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
request |
RecommendIAMRolesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecommendIAMRolesResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
RecommendIAMRolesRequest request = new RecommendIAMRolesRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = designCenterClient.RecommendIAMRoles(request);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceRecommendIAMRoles(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRoles(string, CallSettings)
public virtual Operation<RecommendIAMRolesResponse, OperationMetadata> RecommendIAMRoles(string name, CallSettings callSettings = null)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application resource for which to recommend IAM roles. Format: projects/$project/locations/$location/spaces/$space/applications/$application |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRecommendIAMRolesResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = designCenterClient.RecommendIAMRoles(name);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceRecommendIAMRoles(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRolesAsync(ApplicationName, CallSettings)
public virtual Task<Operation<RecommendIAMRolesResponse, OperationMetadata>> RecommendIAMRolesAsync(ApplicationName name, CallSettings callSettings = null)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application resource for which to recommend IAM roles. Format: projects/$project/locations/$location/spaces/$space/applications/$application |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecommendIAMRolesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = await designCenterClient.RecommendIAMRolesAsync(name);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRecommendIAMRolesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRolesAsync(ApplicationName, CancellationToken)
public virtual Task<Operation<RecommendIAMRolesResponse, OperationMetadata>> RecommendIAMRolesAsync(ApplicationName name, CancellationToken cancellationToken)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationNameRequired. The name of the application resource for which to recommend IAM roles. Format: projects/$project/locations/$location/spaces/$space/applications/$application |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecommendIAMRolesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationName name = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]");
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = await designCenterClient.RecommendIAMRolesAsync(name);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRecommendIAMRolesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRolesAsync(RecommendIAMRolesRequest, CallSettings)
public virtual Task<Operation<RecommendIAMRolesResponse, OperationMetadata>> RecommendIAMRolesAsync(RecommendIAMRolesRequest request, CallSettings callSettings = null)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
request |
RecommendIAMRolesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecommendIAMRolesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
RecommendIAMRolesRequest request = new RecommendIAMRolesRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = await designCenterClient.RecommendIAMRolesAsync(request);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRecommendIAMRolesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRolesAsync(RecommendIAMRolesRequest, CancellationToken)
public virtual Task<Operation<RecommendIAMRolesResponse, OperationMetadata>> RecommendIAMRolesAsync(RecommendIAMRolesRequest request, CancellationToken cancellationToken)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
request |
RecommendIAMRolesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecommendIAMRolesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
RecommendIAMRolesRequest request = new RecommendIAMRolesRequest
{
ApplicationName = ApplicationName.FromProjectLocationSpaceApplication("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION]"),
};
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = await designCenterClient.RecommendIAMRolesAsync(request);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRecommendIAMRolesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRolesAsync(string, CallSettings)
public virtual Task<Operation<RecommendIAMRolesResponse, OperationMetadata>> RecommendIAMRolesAsync(string name, CallSettings callSettings = null)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application resource for which to recommend IAM roles. Format: projects/$project/locations/$location/spaces/$space/applications/$application |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecommendIAMRolesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = await designCenterClient.RecommendIAMRolesAsync(name);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRecommendIAMRolesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RecommendIAMRolesAsync(string, CancellationToken)
public virtual Task<Operation<RecommendIAMRolesResponse, OperationMetadata>> RecommendIAMRolesAsync(string name, CancellationToken cancellationToken)Gets recommended IAM roles for an application.
Evaluates the infrastructure resources defined by an application (including its template configuration and parameters) to determine the set of IAM roles and Google Cloud APIs that you must configure before you deploy across target projects.
The operation is asynchronous and returns a google.longrunning.Operation.
Upon completion, the operation result contains a
RecommendIAMRolesResponse with project-level IAM role and API
recommendations.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application resource for which to recommend IAM roles. Format: projects/$project/locations/$location/spaces/$space/applications/$application |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRecommendIAMRolesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applications/[APPLICATION]";
// Make the request
Operation<RecommendIAMRolesResponse, OperationMetadata> response = await designCenterClient.RecommendIAMRolesAsync(name);
// Poll until the returned long-running operation is complete
Operation<RecommendIAMRolesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RecommendIAMRolesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RecommendIAMRolesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRecommendIAMRolesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RecommendIAMRolesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResources(LocationName, string, string, CallSettings)
public virtual Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> RegisterAppHubApplicationResources(LocationName parent, string apphubApplication, string tfstateContent, CallSettings callSettings = null)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent location. Format: projects/{project}/locations/{location} |
apphubApplication |
stringRequired. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |
tfstateContent |
stringOptional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string apphubApplication = "";
string tfstateContent = "";
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = designCenterClient.RegisterAppHubApplicationResources(parent, apphubApplication, tfstateContent);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceRegisterAppHubApplicationResources(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResources(RegisterAppHubApplicationResourcesRequest, CallSettings)
public virtual Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> RegisterAppHubApplicationResources(RegisterAppHubApplicationResourcesRequest request, CallSettings callSettings = null)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
request |
RegisterAppHubApplicationResourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
RegisterAppHubApplicationResourcesRequest request = new RegisterAppHubApplicationResourcesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TfstateContent = "",
ApphubApplication = "",
};
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = designCenterClient.RegisterAppHubApplicationResources(request);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceRegisterAppHubApplicationResources(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResources(string, string, string, CallSettings)
public virtual Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> RegisterAppHubApplicationResources(string parent, string apphubApplication, string tfstateContent, CallSettings callSettings = null)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent location. Format: projects/{project}/locations/{location} |
apphubApplication |
stringRequired. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |
tfstateContent |
stringOptional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string apphubApplication = "";
string tfstateContent = "";
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = designCenterClient.RegisterAppHubApplicationResources(parent, apphubApplication, tfstateContent);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceRegisterAppHubApplicationResources(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResourcesAsync(LocationName, string, string, CallSettings)
public virtual Task<Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata>> RegisterAppHubApplicationResourcesAsync(LocationName parent, string apphubApplication, string tfstateContent, CallSettings callSettings = null)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent location. Format: projects/{project}/locations/{location} |
apphubApplication |
stringRequired. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |
tfstateContent |
stringOptional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string apphubApplication = "";
string tfstateContent = "";
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = await designCenterClient.RegisterAppHubApplicationResourcesAsync(parent, apphubApplication, tfstateContent);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRegisterAppHubApplicationResourcesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResourcesAsync(LocationName, string, string, CancellationToken)
public virtual Task<Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata>> RegisterAppHubApplicationResourcesAsync(LocationName parent, string apphubApplication, string tfstateContent, CancellationToken cancellationToken)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent location. Format: projects/{project}/locations/{location} |
apphubApplication |
stringRequired. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |
tfstateContent |
stringOptional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
string apphubApplication = "";
string tfstateContent = "";
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = await designCenterClient.RegisterAppHubApplicationResourcesAsync(parent, apphubApplication, tfstateContent);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRegisterAppHubApplicationResourcesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResourcesAsync(RegisterAppHubApplicationResourcesRequest, CallSettings)
public virtual Task<Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata>> RegisterAppHubApplicationResourcesAsync(RegisterAppHubApplicationResourcesRequest request, CallSettings callSettings = null)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
request |
RegisterAppHubApplicationResourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
RegisterAppHubApplicationResourcesRequest request = new RegisterAppHubApplicationResourcesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TfstateContent = "",
ApphubApplication = "",
};
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = await designCenterClient.RegisterAppHubApplicationResourcesAsync(request);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRegisterAppHubApplicationResourcesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResourcesAsync(RegisterAppHubApplicationResourcesRequest, CancellationToken)
public virtual Task<Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata>> RegisterAppHubApplicationResourcesAsync(RegisterAppHubApplicationResourcesRequest request, CancellationToken cancellationToken)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
request |
RegisterAppHubApplicationResourcesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
RegisterAppHubApplicationResourcesRequest request = new RegisterAppHubApplicationResourcesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TfstateContent = "",
ApphubApplication = "",
};
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = await designCenterClient.RegisterAppHubApplicationResourcesAsync(request);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRegisterAppHubApplicationResourcesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResourcesAsync(string, string, string, CallSettings)
public virtual Task<Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata>> RegisterAppHubApplicationResourcesAsync(string parent, string apphubApplication, string tfstateContent, CallSettings callSettings = null)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent location. Format: projects/{project}/locations/{location} |
apphubApplication |
stringRequired. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |
tfstateContent |
stringOptional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string apphubApplication = "";
string tfstateContent = "";
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = await designCenterClient.RegisterAppHubApplicationResourcesAsync(parent, apphubApplication, tfstateContent);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRegisterAppHubApplicationResourcesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
RegisterAppHubApplicationResourcesAsync(string, string, string, CancellationToken)
public virtual Task<Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata>> RegisterAppHubApplicationResourcesAsync(string parent, string apphubApplication, string tfstateContent, CancellationToken cancellationToken)Register deployed resources from terraform state file with App Hub without needing a space.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent location. Format: projects/{project}/locations/{location} |
apphubApplication |
stringRequired. The name of the AppHub Application. Format: projects/{project}/locations/{location}/applications/{application} |
tfstateContent |
stringOptional. The Terraform state (tfstate) content as a raw string. For large state files exceeding 10MB, use the 'tfstate_signed_gcs_uri' field instead. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRegisterAppHubApplicationResourcesResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
string apphubApplication = "";
string tfstateContent = "";
// Make the request
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> response = await designCenterClient.RegisterAppHubApplicationResourcesAsync(parent, apphubApplication, tfstateContent);
// Poll until the returned long-running operation is complete
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
RegisterAppHubApplicationResourcesResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<RegisterAppHubApplicationResourcesResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceRegisterAppHubApplicationResourcesAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
RegisterAppHubApplicationResourcesResponse retrievedResult = retrievedResponse.Result;
}
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.
SnapshotApplicationTemplate(ApplicationTemplateName, CallSettings)
public virtual Operation<SnapshotApplicationTemplateResponse, OperationMetadata> SnapshotApplicationTemplate(ApplicationTemplateName name, CallSettings callSettings = null)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationSnapshotApplicationTemplateResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = designCenterClient.SnapshotApplicationTemplate(name);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceSnapshotApplicationTemplate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplate(SnapshotApplicationTemplateRequest, CallSettings)
public virtual Operation<SnapshotApplicationTemplateResponse, OperationMetadata> SnapshotApplicationTemplate(SnapshotApplicationTemplateRequest request, CallSettings callSettings = null)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
SnapshotApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationSnapshotApplicationTemplateResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SnapshotApplicationTemplateRequest request = new SnapshotApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = designCenterClient.SnapshotApplicationTemplate(request);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceSnapshotApplicationTemplate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplate(string, CallSettings)
public virtual Operation<SnapshotApplicationTemplateResponse, OperationMetadata> SnapshotApplicationTemplate(string name, CallSettings callSettings = null)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationSnapshotApplicationTemplateResponseOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = designCenterClient.SnapshotApplicationTemplate(name);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = designCenterClient.PollOnceSnapshotApplicationTemplate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplateAsync(ApplicationTemplateName, CallSettings)
public virtual Task<Operation<SnapshotApplicationTemplateResponse, OperationMetadata>> SnapshotApplicationTemplateAsync(ApplicationTemplateName name, CallSettings callSettings = null)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationSnapshotApplicationTemplateResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = await designCenterClient.SnapshotApplicationTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSnapshotApplicationTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplateAsync(ApplicationTemplateName, CancellationToken)
public virtual Task<Operation<SnapshotApplicationTemplateResponse, OperationMetadata>> SnapshotApplicationTemplateAsync(ApplicationTemplateName name, CancellationToken cancellationToken)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
ApplicationTemplateNameRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationSnapshotApplicationTemplateResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplateName name = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]");
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = await designCenterClient.SnapshotApplicationTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSnapshotApplicationTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplateAsync(SnapshotApplicationTemplateRequest, CallSettings)
public virtual Task<Operation<SnapshotApplicationTemplateResponse, OperationMetadata>> SnapshotApplicationTemplateAsync(SnapshotApplicationTemplateRequest request, CallSettings callSettings = null)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
SnapshotApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationSnapshotApplicationTemplateResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SnapshotApplicationTemplateRequest request = new SnapshotApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = await designCenterClient.SnapshotApplicationTemplateAsync(request);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSnapshotApplicationTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplateAsync(SnapshotApplicationTemplateRequest, CancellationToken)
public virtual Task<Operation<SnapshotApplicationTemplateResponse, OperationMetadata>> SnapshotApplicationTemplateAsync(SnapshotApplicationTemplateRequest request, CancellationToken cancellationToken)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
SnapshotApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationSnapshotApplicationTemplateResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SnapshotApplicationTemplateRequest request = new SnapshotApplicationTemplateRequest
{
ApplicationTemplateName = ApplicationTemplateName.FromProjectLocationSpaceApplicationTemplate("[PROJECT]", "[LOCATION]", "[SPACE]", "[APPLICATION_TEMPLATE]"),
};
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = await designCenterClient.SnapshotApplicationTemplateAsync(request);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSnapshotApplicationTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplateAsync(string, CallSettings)
public virtual Task<Operation<SnapshotApplicationTemplateResponse, OperationMetadata>> SnapshotApplicationTemplateAsync(string name, CallSettings callSettings = null)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationSnapshotApplicationTemplateResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = await designCenterClient.SnapshotApplicationTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSnapshotApplicationTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SnapshotApplicationTemplateAsync(string, CancellationToken)
public virtual Task<Operation<SnapshotApplicationTemplateResponse, OperationMetadata>> SnapshotApplicationTemplateAsync(string name, CancellationToken cancellationToken)Snapshots an application template to create a new revision asynchronously.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the application template. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationSnapshotApplicationTemplateResponseOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/applicationTemplates/[APPLICATION_TEMPLATE]";
// Make the request
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> response = await designCenterClient.SnapshotApplicationTemplateAsync(name);
// Poll until the returned long-running operation is complete
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
SnapshotApplicationTemplateResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<SnapshotApplicationTemplateResponse, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSnapshotApplicationTemplateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
SnapshotApplicationTemplateResponse retrievedResult = retrievedResponse.Result;
}
SyncShare(ShareName, CallSettings)
public virtual Operation<Share, OperationMetadata> SyncShare(ShareName name, CallSettings callSettings = null)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Operation<Share, OperationMetadata> response = designCenterClient.SyncShare(name);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = designCenterClient.PollOnceSyncShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShare(SyncShareRequest, CallSettings)
public virtual Operation<Share, OperationMetadata> SyncShare(SyncShareRequest request, CallSettings callSettings = null)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
SyncShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
SyncShareRequest request = new SyncShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Operation<Share, OperationMetadata> response = designCenterClient.SyncShare(request);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = designCenterClient.PollOnceSyncShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShare(string, CallSettings)
public virtual Operation<Share, OperationMetadata> SyncShare(string name, CallSettings callSettings = null)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationShareOperationMetadata |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Operation<Share, OperationMetadata> response = designCenterClient.SyncShare(name);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = designCenterClient.PollOnceSyncShare(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShareAsync(ShareName, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> SyncShareAsync(ShareName name, CallSettings callSettings = null)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.SyncShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSyncShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShareAsync(ShareName, CancellationToken)
public virtual Task<Operation<Share, OperationMetadata>> SyncShareAsync(ShareName name, CancellationToken cancellationToken)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
ShareNameRequired. The share name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ShareName name = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]");
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.SyncShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSyncShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShareAsync(SyncShareRequest, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> SyncShareAsync(SyncShareRequest request, CallSettings callSettings = null)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
SyncShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SyncShareRequest request = new SyncShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.SyncShareAsync(request);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSyncShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShareAsync(SyncShareRequest, CancellationToken)
public virtual Task<Operation<Share, OperationMetadata>> SyncShareAsync(SyncShareRequest request, CancellationToken cancellationToken)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
SyncShareRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
SyncShareRequest request = new SyncShareRequest
{
ShareName = ShareName.FromProjectLocationSpaceCatalogShare("[PROJECT]", "[LOCATION]", "[SPACE]", "[CATALOG]", "[SHARE]"),
};
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.SyncShareAsync(request);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSyncShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShareAsync(string, CallSettings)
public virtual Task<Operation<Share, OperationMetadata>> SyncShareAsync(string name, CallSettings callSettings = null)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.SyncShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSyncShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
SyncShareAsync(string, CancellationToken)
public virtual Task<Operation<Share, OperationMetadata>> SyncShareAsync(string name, CancellationToken cancellationToken)Synchronizes a share and updates the destination workspace to reflect. reflect the most recent changes to the catalog.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The share name in the following format:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationShareOperationMetadata |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/spaces/[SPACE]/catalogs/[CATALOG]/shares/[SHARE]";
// Make the request
Operation<Share, OperationMetadata> response = await designCenterClient.SyncShareAsync(name);
// Poll until the returned long-running operation is complete
Operation<Share, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Share result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Share, OperationMetadata> retrievedResponse = await designCenterClient.PollOnceSyncShareAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Share retrievedResult = retrievedResponse.Result;
}
UpdateApplication(Application, FieldMask, CallSettings)
public virtual Application UpdateApplication(Application application, FieldMask updateMask, CallSettings callSettings = null)Updates an application.
| Parameters | |
|---|---|
| Name | Description |
application |
ApplicationRequired. The application to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the application update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
Application application = new Application();
FieldMask updateMask = new FieldMask();
// Make the request
Application response = designCenterClient.UpdateApplication(application, updateMask);
UpdateApplication(UpdateApplicationRequest, CallSettings)
public virtual Application UpdateApplication(UpdateApplicationRequest request, CallSettings callSettings = null)Updates an application.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Application |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdateApplicationRequest request = new UpdateApplicationRequest
{
UpdateMask = new FieldMask(),
Application = new Application(),
};
// Make the request
Application response = designCenterClient.UpdateApplication(request);
UpdateApplicationAsync(Application, FieldMask, CallSettings)
public virtual Task<Application> UpdateApplicationAsync(Application application, FieldMask updateMask, CallSettings callSettings = null)Updates an application.
| Parameters | |
|---|---|
| Name | Description |
application |
ApplicationRequired. The application to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the application update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Application application = new Application();
FieldMask updateMask = new FieldMask();
// Make the request
Application response = await designCenterClient.UpdateApplicationAsync(application, updateMask);
UpdateApplicationAsync(Application, FieldMask, CancellationToken)
public virtual Task<Application> UpdateApplicationAsync(Application application, FieldMask updateMask, CancellationToken cancellationToken)Updates an application.
| Parameters | |
|---|---|
| Name | Description |
application |
ApplicationRequired. The application to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the application update. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Application application = new Application();
FieldMask updateMask = new FieldMask();
// Make the request
Application response = await designCenterClient.UpdateApplicationAsync(application, updateMask);
UpdateApplicationAsync(UpdateApplicationRequest, CallSettings)
public virtual Task<Application> UpdateApplicationAsync(UpdateApplicationRequest request, CallSettings callSettings = null)Updates an application.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateApplicationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateApplicationRequest request = new UpdateApplicationRequest
{
UpdateMask = new FieldMask(),
Application = new Application(),
};
// Make the request
Application response = await designCenterClient.UpdateApplicationAsync(request);
UpdateApplicationAsync(UpdateApplicationRequest, CancellationToken)
public virtual Task<Application> UpdateApplicationAsync(UpdateApplicationRequest request, CancellationToken cancellationToken)Updates an application.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateApplicationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplication |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateApplicationRequest request = new UpdateApplicationRequest
{
UpdateMask = new FieldMask(),
Application = new Application(),
};
// Make the request
Application response = await designCenterClient.UpdateApplicationAsync(request);
UpdateApplicationTemplate(ApplicationTemplate, FieldMask, CallSettings)
public virtual ApplicationTemplate UpdateApplicationTemplate(ApplicationTemplate applicationTemplate, FieldMask updateMask, CallSettings callSettings = null)Updates an application template.
| Parameters | |
|---|---|
| Name | Description |
applicationTemplate |
ApplicationTemplateRequired. The application template to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the application template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
ApplicationTemplate response = designCenterClient.UpdateApplicationTemplate(applicationTemplate, updateMask);
UpdateApplicationTemplate(UpdateApplicationTemplateRequest, CallSettings)
public virtual ApplicationTemplate UpdateApplicationTemplate(UpdateApplicationTemplateRequest request, CallSettings callSettings = null)Updates an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ApplicationTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdateApplicationTemplateRequest request = new UpdateApplicationTemplateRequest
{
UpdateMask = new FieldMask(),
ApplicationTemplate = new ApplicationTemplate(),
};
// Make the request
ApplicationTemplate response = designCenterClient.UpdateApplicationTemplate(request);
UpdateApplicationTemplateAsync(ApplicationTemplate, FieldMask, CallSettings)
public virtual Task<ApplicationTemplate> UpdateApplicationTemplateAsync(ApplicationTemplate applicationTemplate, FieldMask updateMask, CallSettings callSettings = null)Updates an application template.
| Parameters | |
|---|---|
| Name | Description |
applicationTemplate |
ApplicationTemplateRequired. The application template to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the application template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
ApplicationTemplate response = await designCenterClient.UpdateApplicationTemplateAsync(applicationTemplate, updateMask);
UpdateApplicationTemplateAsync(ApplicationTemplate, FieldMask, CancellationToken)
public virtual Task<ApplicationTemplate> UpdateApplicationTemplateAsync(ApplicationTemplate applicationTemplate, FieldMask updateMask, CancellationToken cancellationToken)Updates an application template.
| Parameters | |
|---|---|
| Name | Description |
applicationTemplate |
ApplicationTemplateRequired. The application template to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the application template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
ApplicationTemplate applicationTemplate = new ApplicationTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
ApplicationTemplate response = await designCenterClient.UpdateApplicationTemplateAsync(applicationTemplate, updateMask);
UpdateApplicationTemplateAsync(UpdateApplicationTemplateRequest, CallSettings)
public virtual Task<ApplicationTemplate> UpdateApplicationTemplateAsync(UpdateApplicationTemplateRequest request, CallSettings callSettings = null)Updates an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateApplicationTemplateRequest request = new UpdateApplicationTemplateRequest
{
UpdateMask = new FieldMask(),
ApplicationTemplate = new ApplicationTemplate(),
};
// Make the request
ApplicationTemplate response = await designCenterClient.UpdateApplicationTemplateAsync(request);
UpdateApplicationTemplateAsync(UpdateApplicationTemplateRequest, CancellationToken)
public virtual Task<ApplicationTemplate> UpdateApplicationTemplateAsync(UpdateApplicationTemplateRequest request, CancellationToken cancellationToken)Updates an application template.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateApplicationTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskApplicationTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateApplicationTemplateRequest request = new UpdateApplicationTemplateRequest
{
UpdateMask = new FieldMask(),
ApplicationTemplate = new ApplicationTemplate(),
};
// Make the request
ApplicationTemplate response = await designCenterClient.UpdateApplicationTemplateAsync(request);
UpdateCatalog(Catalog, FieldMask, CallSettings)
public virtual Catalog UpdateCatalog(Catalog catalog, FieldMask updateMask, CallSettings callSettings = null)Updates a catalog.
| Parameters | |
|---|---|
| Name | Description |
catalog |
CatalogRequired. The catalog to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the catalog update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
Catalog catalog = new Catalog();
FieldMask updateMask = new FieldMask();
// Make the request
Catalog response = designCenterClient.UpdateCatalog(catalog, updateMask);
UpdateCatalog(UpdateCatalogRequest, CallSettings)
public virtual Catalog UpdateCatalog(UpdateCatalogRequest request, CallSettings callSettings = null)Updates a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Catalog |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdateCatalogRequest request = new UpdateCatalogRequest
{
UpdateMask = new FieldMask(),
Catalog = new Catalog(),
};
// Make the request
Catalog response = designCenterClient.UpdateCatalog(request);
UpdateCatalogAsync(Catalog, FieldMask, CallSettings)
public virtual Task<Catalog> UpdateCatalogAsync(Catalog catalog, FieldMask updateMask, CallSettings callSettings = null)Updates a catalog.
| Parameters | |
|---|---|
| Name | Description |
catalog |
CatalogRequired. The catalog to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the catalog update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Catalog catalog = new Catalog();
FieldMask updateMask = new FieldMask();
// Make the request
Catalog response = await designCenterClient.UpdateCatalogAsync(catalog, updateMask);
UpdateCatalogAsync(Catalog, FieldMask, CancellationToken)
public virtual Task<Catalog> UpdateCatalogAsync(Catalog catalog, FieldMask updateMask, CancellationToken cancellationToken)Updates a catalog.
| Parameters | |
|---|---|
| Name | Description |
catalog |
CatalogRequired. The catalog to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the catalog update. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Catalog catalog = new Catalog();
FieldMask updateMask = new FieldMask();
// Make the request
Catalog response = await designCenterClient.UpdateCatalogAsync(catalog, updateMask);
UpdateCatalogAsync(UpdateCatalogRequest, CallSettings)
public virtual Task<Catalog> UpdateCatalogAsync(UpdateCatalogRequest request, CallSettings callSettings = null)Updates a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateCatalogRequest request = new UpdateCatalogRequest
{
UpdateMask = new FieldMask(),
Catalog = new Catalog(),
};
// Make the request
Catalog response = await designCenterClient.UpdateCatalogAsync(request);
UpdateCatalogAsync(UpdateCatalogRequest, CancellationToken)
public virtual Task<Catalog> UpdateCatalogAsync(UpdateCatalogRequest request, CancellationToken cancellationToken)Updates a catalog.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalog |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateCatalogRequest request = new UpdateCatalogRequest
{
UpdateMask = new FieldMask(),
Catalog = new Catalog(),
};
// Make the request
Catalog response = await designCenterClient.UpdateCatalogAsync(request);
UpdateCatalogTemplate(CatalogTemplate, FieldMask, CallSettings)
public virtual CatalogTemplate UpdateCatalogTemplate(CatalogTemplate catalogTemplate, FieldMask updateMask, CallSettings callSettings = null)Updates a catalog template resource.
| Parameters | |
|---|---|
| Name | Description |
catalogTemplate |
CatalogTemplateRequired. The catalog template to update.
Format:
|
updateMask |
FieldMaskOptional. The fields to overwrite in the catalog template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
CatalogTemplate catalogTemplate = new CatalogTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
CatalogTemplate response = designCenterClient.UpdateCatalogTemplate(catalogTemplate, updateMask);
UpdateCatalogTemplate(UpdateCatalogTemplateRequest, CallSettings)
public virtual CatalogTemplate UpdateCatalogTemplate(UpdateCatalogTemplateRequest request, CallSettings callSettings = null)Updates a catalog template resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CatalogTemplate |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdateCatalogTemplateRequest request = new UpdateCatalogTemplateRequest
{
UpdateMask = new FieldMask(),
CatalogTemplate = new CatalogTemplate(),
};
// Make the request
CatalogTemplate response = designCenterClient.UpdateCatalogTemplate(request);
UpdateCatalogTemplateAsync(CatalogTemplate, FieldMask, CallSettings)
public virtual Task<CatalogTemplate> UpdateCatalogTemplateAsync(CatalogTemplate catalogTemplate, FieldMask updateMask, CallSettings callSettings = null)Updates a catalog template resource.
| Parameters | |
|---|---|
| Name | Description |
catalogTemplate |
CatalogTemplateRequired. The catalog template to update.
Format:
|
updateMask |
FieldMaskOptional. The fields to overwrite in the catalog template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplate catalogTemplate = new CatalogTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
CatalogTemplate response = await designCenterClient.UpdateCatalogTemplateAsync(catalogTemplate, updateMask);
UpdateCatalogTemplateAsync(CatalogTemplate, FieldMask, CancellationToken)
public virtual Task<CatalogTemplate> UpdateCatalogTemplateAsync(CatalogTemplate catalogTemplate, FieldMask updateMask, CancellationToken cancellationToken)Updates a catalog template resource.
| Parameters | |
|---|---|
| Name | Description |
catalogTemplate |
CatalogTemplateRequired. The catalog template to update.
Format:
|
updateMask |
FieldMaskOptional. The fields to overwrite in the catalog template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
CatalogTemplate catalogTemplate = new CatalogTemplate();
FieldMask updateMask = new FieldMask();
// Make the request
CatalogTemplate response = await designCenterClient.UpdateCatalogTemplateAsync(catalogTemplate, updateMask);
UpdateCatalogTemplateAsync(UpdateCatalogTemplateRequest, CallSettings)
public virtual Task<CatalogTemplate> UpdateCatalogTemplateAsync(UpdateCatalogTemplateRequest request, CallSettings callSettings = null)Updates a catalog template resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateCatalogTemplateRequest request = new UpdateCatalogTemplateRequest
{
UpdateMask = new FieldMask(),
CatalogTemplate = new CatalogTemplate(),
};
// Make the request
CatalogTemplate response = await designCenterClient.UpdateCatalogTemplateAsync(request);
UpdateCatalogTemplateAsync(UpdateCatalogTemplateRequest, CancellationToken)
public virtual Task<CatalogTemplate> UpdateCatalogTemplateAsync(UpdateCatalogTemplateRequest request, CancellationToken cancellationToken)Updates a catalog template resource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCatalogTemplateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCatalogTemplate |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateCatalogTemplateRequest request = new UpdateCatalogTemplateRequest
{
UpdateMask = new FieldMask(),
CatalogTemplate = new CatalogTemplate(),
};
// Make the request
CatalogTemplate response = await designCenterClient.UpdateCatalogTemplateAsync(request);
UpdateComponent(Component, FieldMask, CallSettings)
public virtual Component UpdateComponent(Component component, FieldMask updateMask, CallSettings callSettings = null)Updates a component.
| Parameters | |
|---|---|
| Name | Description |
component |
ComponentRequired. The component to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
Component component = new Component();
FieldMask updateMask = new FieldMask();
// Make the request
Component response = designCenterClient.UpdateComponent(component, updateMask);
UpdateComponent(UpdateComponentRequest, CallSettings)
public virtual Component UpdateComponent(UpdateComponentRequest request, CallSettings callSettings = null)Updates a component.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateComponentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Component |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdateComponentRequest request = new UpdateComponentRequest
{
UpdateMask = new FieldMask(),
Component = new Component(),
};
// Make the request
Component response = designCenterClient.UpdateComponent(request);
UpdateComponentAsync(Component, FieldMask, CallSettings)
public virtual Task<Component> UpdateComponentAsync(Component component, FieldMask updateMask, CallSettings callSettings = null)Updates a component.
| Parameters | |
|---|---|
| Name | Description |
component |
ComponentRequired. The component to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Component component = new Component();
FieldMask updateMask = new FieldMask();
// Make the request
Component response = await designCenterClient.UpdateComponentAsync(component, updateMask);
UpdateComponentAsync(Component, FieldMask, CancellationToken)
public virtual Task<Component> UpdateComponentAsync(Component component, FieldMask updateMask, CancellationToken cancellationToken)Updates a component.
| Parameters | |
|---|---|
| Name | Description |
component |
ComponentRequired. The component to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the component update. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Component component = new Component();
FieldMask updateMask = new FieldMask();
// Make the request
Component response = await designCenterClient.UpdateComponentAsync(component, updateMask);
UpdateComponentAsync(UpdateComponentRequest, CallSettings)
public virtual Task<Component> UpdateComponentAsync(UpdateComponentRequest request, CallSettings callSettings = null)Updates a component.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateComponentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateComponentRequest request = new UpdateComponentRequest
{
UpdateMask = new FieldMask(),
Component = new Component(),
};
// Make the request
Component response = await designCenterClient.UpdateComponentAsync(request);
UpdateComponentAsync(UpdateComponentRequest, CancellationToken)
public virtual Task<Component> UpdateComponentAsync(UpdateComponentRequest request, CancellationToken cancellationToken)Updates a component.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateComponentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComponent |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateComponentRequest request = new UpdateComponentRequest
{
UpdateMask = new FieldMask(),
Component = new Component(),
};
// Make the request
Component response = await designCenterClient.UpdateComponentAsync(request);
UpdateConnection(Connection, FieldMask, CallSettings)
public virtual Connection UpdateConnection(Connection connection, FieldMask updateMask, CallSettings callSettings = null)Updates a connection.
| Parameters | |
|---|---|
| Name | Description |
connection |
ConnectionRequired. The connection to update. |
updateMask |
FieldMaskOptional. Fields to overwrite in the connection update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
Connection connection = new Connection();
FieldMask updateMask = new FieldMask();
// Make the request
Connection response = designCenterClient.UpdateConnection(connection, updateMask);
UpdateConnection(UpdateConnectionRequest, CallSettings)
public virtual Connection UpdateConnection(UpdateConnectionRequest request, CallSettings callSettings = null)Updates a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Connection |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdateConnectionRequest request = new UpdateConnectionRequest
{
UpdateMask = new FieldMask(),
Connection = new Connection(),
};
// Make the request
Connection response = designCenterClient.UpdateConnection(request);
UpdateConnectionAsync(Connection, FieldMask, CallSettings)
public virtual Task<Connection> UpdateConnectionAsync(Connection connection, FieldMask updateMask, CallSettings callSettings = null)Updates a connection.
| Parameters | |
|---|---|
| Name | Description |
connection |
ConnectionRequired. The connection to update. |
updateMask |
FieldMaskOptional. Fields to overwrite in the connection update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Connection connection = new Connection();
FieldMask updateMask = new FieldMask();
// Make the request
Connection response = await designCenterClient.UpdateConnectionAsync(connection, updateMask);
UpdateConnectionAsync(Connection, FieldMask, CancellationToken)
public virtual Task<Connection> UpdateConnectionAsync(Connection connection, FieldMask updateMask, CancellationToken cancellationToken)Updates a connection.
| Parameters | |
|---|---|
| Name | Description |
connection |
ConnectionRequired. The connection to update. |
updateMask |
FieldMaskOptional. Fields to overwrite in the connection update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Connection connection = new Connection();
FieldMask updateMask = new FieldMask();
// Make the request
Connection response = await designCenterClient.UpdateConnectionAsync(connection, updateMask);
UpdateConnectionAsync(UpdateConnectionRequest, CallSettings)
public virtual Task<Connection> UpdateConnectionAsync(UpdateConnectionRequest request, CallSettings callSettings = null)Updates a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateConnectionRequest request = new UpdateConnectionRequest
{
UpdateMask = new FieldMask(),
Connection = new Connection(),
};
// Make the request
Connection response = await designCenterClient.UpdateConnectionAsync(request);
UpdateConnectionAsync(UpdateConnectionRequest, CancellationToken)
public virtual Task<Connection> UpdateConnectionAsync(UpdateConnectionRequest request, CancellationToken cancellationToken)Updates a connection.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConnectionRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConnection |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateConnectionRequest request = new UpdateConnectionRequest
{
UpdateMask = new FieldMask(),
Connection = new Connection(),
};
// Make the request
Connection response = await designCenterClient.UpdateConnectionAsync(request);
UpdatePolicy(Policy, FieldMask, CallSettings)
public virtual Policy UpdatePolicy(Policy policy, FieldMask updateMask, CallSettings callSettings = null)Updates a policy.
| Parameters | |
|---|---|
| Name | Description |
policy |
PolicyRequired. The policy to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
Policy policy = new Policy();
FieldMask updateMask = new FieldMask();
// Make the request
Policy response = designCenterClient.UpdatePolicy(policy, updateMask);
UpdatePolicy(UpdatePolicyRequest, CallSettings)
public virtual Policy UpdatePolicy(UpdatePolicyRequest request, CallSettings callSettings = null)Updates a policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdatePolicyRequest request = new UpdatePolicyRequest
{
UpdateMask = new FieldMask(),
Policy = new Policy(),
};
// Make the request
Policy response = designCenterClient.UpdatePolicy(request);
UpdatePolicyAsync(Policy, FieldMask, CallSettings)
public virtual Task<Policy> UpdatePolicyAsync(Policy policy, FieldMask updateMask, CallSettings callSettings = null)Updates a policy.
| Parameters | |
|---|---|
| Name | Description |
policy |
PolicyRequired. The policy to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Policy policy = new Policy();
FieldMask updateMask = new FieldMask();
// Make the request
Policy response = await designCenterClient.UpdatePolicyAsync(policy, updateMask);
UpdatePolicyAsync(Policy, FieldMask, CancellationToken)
public virtual Task<Policy> UpdatePolicyAsync(Policy policy, FieldMask updateMask, CancellationToken cancellationToken)Updates a policy.
| Parameters | |
|---|---|
| Name | Description |
policy |
PolicyRequired. The policy to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Policy policy = new Policy();
FieldMask updateMask = new FieldMask();
// Make the request
Policy response = await designCenterClient.UpdatePolicyAsync(policy, updateMask);
UpdatePolicyAsync(UpdatePolicyRequest, CallSettings)
public virtual Task<Policy> UpdatePolicyAsync(UpdatePolicyRequest request, CallSettings callSettings = null)Updates a policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdatePolicyRequest request = new UpdatePolicyRequest
{
UpdateMask = new FieldMask(),
Policy = new Policy(),
};
// Make the request
Policy response = await designCenterClient.UpdatePolicyAsync(request);
UpdatePolicyAsync(UpdatePolicyRequest, CancellationToken)
public virtual Task<Policy> UpdatePolicyAsync(UpdatePolicyRequest request, CancellationToken cancellationToken)Updates a policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdatePolicyRequest request = new UpdatePolicyRequest
{
UpdateMask = new FieldMask(),
Policy = new Policy(),
};
// Make the request
Policy response = await designCenterClient.UpdatePolicyAsync(request);
UpdateSpace(Space, FieldMask, CallSettings)
public virtual Space UpdateSpace(Space space, FieldMask updateMask, CallSettings callSettings = null)Updates a space.
| Parameters | |
|---|---|
| Name | Description |
space |
SpaceRequired. The space to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the space update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
Space space = new Space();
FieldMask updateMask = new FieldMask();
// Make the request
Space response = designCenterClient.UpdateSpace(space, updateMask);
UpdateSpace(UpdateSpaceRequest, CallSettings)
public virtual Space UpdateSpace(UpdateSpaceRequest request, CallSettings callSettings = null)Updates a space.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Space |
The RPC response. |
// Create client
DesignCenterClient designCenterClient = DesignCenterClient.Create();
// Initialize request argument(s)
UpdateSpaceRequest request = new UpdateSpaceRequest
{
UpdateMask = new FieldMask(),
Space = new Space(),
};
// Make the request
Space response = designCenterClient.UpdateSpace(request);
UpdateSpaceAsync(Space, FieldMask, CallSettings)
public virtual Task<Space> UpdateSpaceAsync(Space space, FieldMask updateMask, CallSettings callSettings = null)Updates a space.
| Parameters | |
|---|---|
| Name | Description |
space |
SpaceRequired. The space to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the space update. If you don't provide a mask, all fields are overwritten. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Space space = new Space();
FieldMask updateMask = new FieldMask();
// Make the request
Space response = await designCenterClient.UpdateSpaceAsync(space, updateMask);
UpdateSpaceAsync(Space, FieldMask, CancellationToken)
public virtual Task<Space> UpdateSpaceAsync(Space space, FieldMask updateMask, CancellationToken cancellationToken)Updates a space.
| Parameters | |
|---|---|
| Name | Description |
space |
SpaceRequired. The space to update. |
updateMask |
FieldMaskOptional. The fields to overwrite in the space update. If you don't provide a mask, all fields are overwritten. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
Space space = new Space();
FieldMask updateMask = new FieldMask();
// Make the request
Space response = await designCenterClient.UpdateSpaceAsync(space, updateMask);
UpdateSpaceAsync(UpdateSpaceRequest, CallSettings)
public virtual Task<Space> UpdateSpaceAsync(UpdateSpaceRequest request, CallSettings callSettings = null)Updates a space.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateSpaceRequest request = new UpdateSpaceRequest
{
UpdateMask = new FieldMask(),
Space = new Space(),
};
// Make the request
Space response = await designCenterClient.UpdateSpaceAsync(request);
UpdateSpaceAsync(UpdateSpaceRequest, CancellationToken)
public virtual Task<Space> UpdateSpaceAsync(UpdateSpaceRequest request, CancellationToken cancellationToken)Updates a space.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSpaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskSpace |
A Task containing the RPC response. |
// Create client
DesignCenterClient designCenterClient = await DesignCenterClient.CreateAsync();
// Initialize request argument(s)
UpdateSpaceRequest request = new UpdateSpaceRequest
{
UpdateMask = new FieldMask(),
Space = new Space(),
};
// Make the request
Space response = await designCenterClient.UpdateSpaceAsync(request);