public abstract class CertificateManagerClient
Reference documentation and code samples for the Certificate Manager v1 API class CertificateManagerClient.
CertificateManager client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.CertificateManager.V1Assembly
Google.Cloud.CertificateManager.V1.dll
Remarks
API Overview
Certificates Manager API allows customers to see and manage all their TLS certificates.
Certificates Manager API service provides methods to manage certificates, group them into collections, and create serving configuration that can be easily applied to other Cloud resources e.g. Target Proxies.
Data Model
The Certificates Manager service exposes the following resources:
Certificate
that describes a single TLS certificate.CertificateMap
that describes a collection of certificates that can be attached to a target resource.CertificateMapEntry
that describes a single configuration entry that consists of a SNI and a group of certificates. It's a subresource of CertificateMap.
Certificate, CertificateMap and CertificateMapEntry IDs
have to fully match the regexp [a-z0-9-]{1,63}
. In other words,
- only lower case letters, digits, and hyphen are allowed
- length of the resource ID has to be in [1,63] range.
Provides methods to manage Cloud Certificate Manager entities.
Properties
CreateCertificateIssuanceConfigOperationsClient
public virtual OperationsClient CreateCertificateIssuanceConfigOperationsClient { get; }
The long-running operations client for CreateCertificateIssuanceConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateCertificateMapEntryOperationsClient
public virtual OperationsClient CreateCertificateMapEntryOperationsClient { get; }
The long-running operations client for CreateCertificateMapEntry
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateCertificateMapOperationsClient
public virtual OperationsClient CreateCertificateMapOperationsClient { get; }
The long-running operations client for CreateCertificateMap
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateCertificateOperationsClient
public virtual OperationsClient CreateCertificateOperationsClient { get; }
The long-running operations client for CreateCertificate
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateDnsAuthorizationOperationsClient
public virtual OperationsClient CreateDnsAuthorizationOperationsClient { get; }
The long-running operations client for CreateDnsAuthorization
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateTrustConfigOperationsClient
public virtual OperationsClient CreateTrustConfigOperationsClient { get; }
The long-running operations client for CreateTrustConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the CertificateManager service, which is a host of "certificatemanager.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
string |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default CertificateManager scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyListstring |
The default CertificateManager scopes are:
DeleteCertificateIssuanceConfigOperationsClient
public virtual OperationsClient DeleteCertificateIssuanceConfigOperationsClient { get; }
The long-running operations client for DeleteCertificateIssuanceConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteCertificateMapEntryOperationsClient
public virtual OperationsClient DeleteCertificateMapEntryOperationsClient { get; }
The long-running operations client for DeleteCertificateMapEntry
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteCertificateMapOperationsClient
public virtual OperationsClient DeleteCertificateMapOperationsClient { get; }
The long-running operations client for DeleteCertificateMap
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteCertificateOperationsClient
public virtual OperationsClient DeleteCertificateOperationsClient { get; }
The long-running operations client for DeleteCertificate
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteDnsAuthorizationOperationsClient
public virtual OperationsClient DeleteDnsAuthorizationOperationsClient { get; }
The long-running operations client for DeleteDnsAuthorization
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteTrustConfigOperationsClient
public virtual OperationsClient DeleteTrustConfigOperationsClient { get; }
The long-running operations client for DeleteTrustConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual CertificateManager.CertificateManagerClient GrpcClient { get; }
The underlying gRPC CertificateManager client
Property Value | |
---|---|
Type | Description |
CertificateManagerCertificateManagerClient |
LocationsClient
public virtual LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
UpdateCertificateMapEntryOperationsClient
public virtual OperationsClient UpdateCertificateMapEntryOperationsClient { get; }
The long-running operations client for UpdateCertificateMapEntry
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateCertificateMapOperationsClient
public virtual OperationsClient UpdateCertificateMapOperationsClient { get; }
The long-running operations client for UpdateCertificateMap
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateCertificateOperationsClient
public virtual OperationsClient UpdateCertificateOperationsClient { get; }
The long-running operations client for UpdateCertificate
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateDnsAuthorizationOperationsClient
public virtual OperationsClient UpdateDnsAuthorizationOperationsClient { get; }
The long-running operations client for UpdateDnsAuthorization
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateTrustConfigOperationsClient
public virtual OperationsClient UpdateTrustConfigOperationsClient { get; }
The long-running operations client for UpdateTrustConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Create()
public static CertificateManagerClient Create()
Synchronously creates a CertificateManagerClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CertificateManagerClientBuilder .
Returns | |
---|---|
Type | Description |
CertificateManagerClient | The created CertificateManagerClient. |
CreateAsync(CancellationToken)
public static Task<CertificateManagerClient> CreateAsync(CancellationToken cancellationToken = default)
Asynchronously creates a CertificateManagerClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use CertificateManagerClientBuilder .
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
TaskCertificateManagerClient | The task representing the created CertificateManagerClient. |
CreateCertificate(LocationName, Certificate, string, CallSettings)
public virtual Operation<Certificate, OperationMetadata> CreateCertificate(LocationName parent, Certificate certificate, string certificateId, CallSettings callSettings = null)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate. Must be in the format
|
certificate | Certificate Required. A definition of the certificate to create. |
certificateId | string Required. A user-provided name of the certificate. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.CreateCertificate(parent, certificate, certificateId);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificate(CreateCertificateRequest, CallSettings)
public virtual Operation<Certificate, OperationMetadata> CreateCertificate(CreateCertificateRequest request, CallSettings callSettings = null)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateRequest request = new CreateCertificateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateId = "",
Certificate = new Certificate(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.CreateCertificate(request);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificate(string, Certificate, string, CallSettings)
public virtual Operation<Certificate, OperationMetadata> CreateCertificate(string parent, Certificate certificate, string certificateId, CallSettings callSettings = null)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate. Must be in the format
|
certificate | Certificate Required. A definition of the certificate to create. |
certificateId | string Required. A user-provided name of the certificate. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.CreateCertificate(parent, certificate, certificateId);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificateAsync(LocationName, Certificate, string, CallSettings)
public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(LocationName parent, Certificate certificate, string certificateId, CallSettings callSettings = null)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate. Must be in the format
|
certificate | Certificate Required. A definition of the certificate to create. |
certificateId | string Required. A user-provided name of the certificate. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificateAsync(LocationName, Certificate, string, CancellationToken)
public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(LocationName parent, Certificate certificate, string certificateId, CancellationToken cancellationToken)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate. Must be in the format
|
certificate | Certificate Required. A definition of the certificate to create. |
certificateId | string Required. A user-provided name of the certificate. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificateAsync(CreateCertificateRequest, CallSettings)
public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(CreateCertificateRequest request, CallSettings callSettings = null)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateRequest request = new CreateCertificateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateId = "",
Certificate = new Certificate(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(request);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificateAsync(CreateCertificateRequest, CancellationToken)
public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(CreateCertificateRequest request, CancellationToken cancellationToken)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateRequest request = new CreateCertificateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateId = "",
Certificate = new Certificate(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(request);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificateAsync(string, Certificate, string, CallSettings)
public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(string parent, Certificate certificate, string certificateId, CallSettings callSettings = null)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate. Must be in the format
|
certificate | Certificate Required. A definition of the certificate to create. |
certificateId | string Required. A user-provided name of the certificate. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificateAsync(string, Certificate, string, CancellationToken)
public virtual Task<Operation<Certificate, OperationMetadata>> CreateCertificateAsync(string parent, Certificate certificate, string certificateId, CancellationToken cancellationToken)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate. Must be in the format
|
certificate | Certificate Required. A definition of the certificate to create. |
certificateId | string Required. A user-provided name of the certificate. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Certificate certificate = new Certificate();
string certificateId = "";
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.CreateCertificateAsync(parent, certificate, certificateId);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfig(LocationName, CertificateIssuanceConfig, string, CallSettings)
public virtual Operation<CertificateIssuanceConfig, OperationMetadata> CreateCertificateIssuanceConfig(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate issuance config. Must be
in the format |
certificateIssuanceConfig | CertificateIssuanceConfig Required. A definition of the certificate issuance config to create. |
certificateIssuanceConfigId | string Required. A user-provided name of the certificate config. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateIssuanceConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = certificateManagerClient.CreateCertificateIssuanceConfig(parent, certificateIssuanceConfig, certificateIssuanceConfigId);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfig(CreateCertificateIssuanceConfigRequest, CallSettings)
public virtual Operation<CertificateIssuanceConfig, OperationMetadata> CreateCertificateIssuanceConfig(CreateCertificateIssuanceConfigRequest request, CallSettings callSettings = null)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateIssuanceConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateIssuanceConfigRequest request = new CreateCertificateIssuanceConfigRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateIssuanceConfigId = "",
CertificateIssuanceConfig = new CertificateIssuanceConfig(),
};
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = certificateManagerClient.CreateCertificateIssuanceConfig(request);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfig(string, CertificateIssuanceConfig, string, CallSettings)
public virtual Operation<CertificateIssuanceConfig, OperationMetadata> CreateCertificateIssuanceConfig(string parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate issuance config. Must be
in the format |
certificateIssuanceConfig | CertificateIssuanceConfig Required. A definition of the certificate issuance config to create. |
certificateIssuanceConfigId | string Required. A user-provided name of the certificate config. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateIssuanceConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = certificateManagerClient.CreateCertificateIssuanceConfig(parent, certificateIssuanceConfig, certificateIssuanceConfigId);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateIssuanceConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfigAsync(LocationName, CertificateIssuanceConfig, string, CallSettings)
public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate issuance config. Must be
in the format |
certificateIssuanceConfig | CertificateIssuanceConfig Required. A definition of the certificate issuance config to create. |
certificateIssuanceConfigId | string Required. A user-provided name of the certificate config. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateIssuanceConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfigAsync(LocationName, CertificateIssuanceConfig, string, CancellationToken)
public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(LocationName parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CancellationToken cancellationToken)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate issuance config. Must be
in the format |
certificateIssuanceConfig | CertificateIssuanceConfig Required. A definition of the certificate issuance config to create. |
certificateIssuanceConfigId | string Required. A user-provided name of the certificate config. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateIssuanceConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest, CallSettings)
public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest request, CallSettings callSettings = null)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateIssuanceConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateIssuanceConfigRequest request = new CreateCertificateIssuanceConfigRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateIssuanceConfigId = "",
CertificateIssuanceConfig = new CertificateIssuanceConfig(),
};
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest, CancellationToken)
public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(CreateCertificateIssuanceConfigRequest request, CancellationToken cancellationToken)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateIssuanceConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateIssuanceConfigRequest request = new CreateCertificateIssuanceConfigRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateIssuanceConfigId = "",
CertificateIssuanceConfig = new CertificateIssuanceConfig(),
};
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfigAsync(string, CertificateIssuanceConfig, string, CallSettings)
public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(string parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CallSettings callSettings = null)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate issuance config. Must be
in the format |
certificateIssuanceConfig | CertificateIssuanceConfig Required. A definition of the certificate issuance config to create. |
certificateIssuanceConfigId | string Required. A user-provided name of the certificate config. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateIssuanceConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateIssuanceConfigAsync(string, CertificateIssuanceConfig, string, CancellationToken)
public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> CreateCertificateIssuanceConfigAsync(string parent, CertificateIssuanceConfig certificateIssuanceConfig, string certificateIssuanceConfigId, CancellationToken cancellationToken)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate issuance config. Must be
in the format |
certificateIssuanceConfig | CertificateIssuanceConfig Required. A definition of the certificate issuance config to create. |
certificateIssuanceConfigId | string Required. A user-provided name of the certificate config. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateIssuanceConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateIssuanceConfig certificateIssuanceConfig = new CertificateIssuanceConfig();
string certificateIssuanceConfigId = "";
// Make the request
Operation<CertificateIssuanceConfig, OperationMetadata> response = await certificateManagerClient.CreateCertificateIssuanceConfigAsync(parent, certificateIssuanceConfig, certificateIssuanceConfigId);
// Poll until the returned long-running operation is complete
Operation<CertificateIssuanceConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateIssuanceConfig 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<CertificateIssuanceConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateIssuanceConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateIssuanceConfig retrievedResult = retrievedResponse.Result;
}
CreateCertificateMap(LocationName, CertificateMap, string, CallSettings)
public virtual Operation<CertificateMap, OperationMetadata> CreateCertificateMap(LocationName parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate map. Must be in the format
|
certificateMap | CertificateMap Required. A definition of the certificate map to create. |
certificateMapId | string Required. A user-provided name of the certificate map. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.CreateCertificateMap(parent, certificateMap, certificateMapId);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMap(CreateCertificateMapRequest, CallSettings)
public virtual Operation<CertificateMap, OperationMetadata> CreateCertificateMap(CreateCertificateMapRequest request, CallSettings callSettings = null)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateMapRequest request = new CreateCertificateMapRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateMapId = "",
CertificateMap = new CertificateMap(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.CreateCertificateMap(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMap(string, CertificateMap, string, CallSettings)
public virtual Operation<CertificateMap, OperationMetadata> CreateCertificateMap(string parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate map. Must be in the format
|
certificateMap | CertificateMap Required. A definition of the certificate map to create. |
certificateMapId | string Required. A user-provided name of the certificate map. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.CreateCertificateMap(parent, certificateMap, certificateMapId);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapAsync(LocationName, CertificateMap, string, CallSettings)
public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(LocationName parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate map. Must be in the format
|
certificateMap | CertificateMap Required. A definition of the certificate map to create. |
certificateMapId | string Required. A user-provided name of the certificate map. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapAsync(LocationName, CertificateMap, string, CancellationToken)
public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(LocationName parent, CertificateMap certificateMap, string certificateMapId, CancellationToken cancellationToken)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the certificate map. Must be in the format
|
certificateMap | CertificateMap Required. A definition of the certificate map to create. |
certificateMapId | string Required. A user-provided name of the certificate map. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapAsync(CreateCertificateMapRequest, CallSettings)
public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(CreateCertificateMapRequest request, CallSettings callSettings = null)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapRequest request = new CreateCertificateMapRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateMapId = "",
CertificateMap = new CertificateMap(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapAsync(CreateCertificateMapRequest, CancellationToken)
public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(CreateCertificateMapRequest request, CancellationToken cancellationToken)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateMapRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapRequest request = new CreateCertificateMapRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CertificateMapId = "",
CertificateMap = new CertificateMap(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapAsync(string, CertificateMap, string, CallSettings)
public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(string parent, CertificateMap certificateMap, string certificateMapId, CallSettings callSettings = null)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate map. Must be in the format
|
certificateMap | CertificateMap Required. A definition of the certificate map to create. |
certificateMapId | string Required. A user-provided name of the certificate map. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapAsync(string, CertificateMap, string, CancellationToken)
public virtual Task<Operation<CertificateMap, OperationMetadata>> CreateCertificateMapAsync(string parent, CertificateMap certificateMap, string certificateMapId, CancellationToken cancellationToken)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate map. Must be in the format
|
certificateMap | CertificateMap Required. A definition of the certificate map to create. |
certificateMapId | string Required. A user-provided name of the certificate map. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CertificateMap certificateMap = new CertificateMap();
string certificateMapId = "";
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapAsync(parent, certificateMap, certificateMapId);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntry(CertificateMapName, CertificateMapEntry, string, CallSettings)
public virtual Operation<CertificateMapEntry, OperationMetadata> CreateCertificateMapEntry(CertificateMapName parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | CertificateMapName Required. The parent resource of the certificate map entry. Must be in the
format |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create. |
certificateMapEntryId | string Required. A user-provided name of the certificate map entry. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapEntryOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.CreateCertificateMapEntry(parent, certificateMapEntry, certificateMapEntryId);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntry(CreateCertificateMapEntryRequest, CallSettings)
public virtual Operation<CertificateMapEntry, OperationMetadata> CreateCertificateMapEntry(CreateCertificateMapEntryRequest request, CallSettings callSettings = null)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapEntryOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateCertificateMapEntryRequest request = new CreateCertificateMapEntryRequest
{
ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
CertificateMapEntryId = "",
CertificateMapEntry = new CertificateMapEntry(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.CreateCertificateMapEntry(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntry(string, CertificateMapEntry, string, CallSettings)
public virtual Operation<CertificateMapEntry, OperationMetadata> CreateCertificateMapEntry(string parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate map entry. Must be in the
format |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create. |
certificateMapEntryId | string Required. A user-provided name of the certificate map entry. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapEntryOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.CreateCertificateMapEntry(parent, certificateMapEntry, certificateMapEntryId);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntryAsync(CertificateMapName, CertificateMapEntry, string, CallSettings)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CertificateMapName parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | CertificateMapName Required. The parent resource of the certificate map entry. Must be in the
format |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create. |
certificateMapEntryId | string Required. A user-provided name of the certificate map entry. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntryAsync(CertificateMapName, CertificateMapEntry, string, CancellationToken)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CertificateMapName parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CancellationToken cancellationToken)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | CertificateMapName Required. The parent resource of the certificate map entry. Must be in the
format |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create. |
certificateMapEntryId | string Required. A user-provided name of the certificate map entry. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest, CallSettings)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest request, CallSettings callSettings = null)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapEntryRequest request = new CreateCertificateMapEntryRequest
{
ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
CertificateMapEntryId = "",
CertificateMapEntry = new CertificateMapEntry(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest, CancellationToken)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(CreateCertificateMapEntryRequest request, CancellationToken cancellationToken)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateCertificateMapEntryRequest request = new CreateCertificateMapEntryRequest
{
ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
CertificateMapEntryId = "",
CertificateMapEntry = new CertificateMapEntry(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntryAsync(string, CertificateMapEntry, string, CallSettings)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(string parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CallSettings callSettings = null)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate map entry. Must be in the
format |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create. |
certificateMapEntryId | string Required. A user-provided name of the certificate map entry. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateCertificateMapEntryAsync(string, CertificateMapEntry, string, CancellationToken)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> CreateCertificateMapEntryAsync(string parent, CertificateMapEntry certificateMapEntry, string certificateMapEntryId, CancellationToken cancellationToken)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the certificate map entry. Must be in the
format |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create. |
certificateMapEntryId | string Required. A user-provided name of the certificate map entry. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
string certificateMapEntryId = "";
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.CreateCertificateMapEntryAsync(parent, certificateMapEntry, certificateMapEntryId);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorization(LocationName, DnsAuthorization, string, CallSettings)
public virtual Operation<DnsAuthorization, OperationMetadata> CreateDnsAuthorization(LocationName parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the dns authorization. Must be in the
format |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to create. |
dnsAuthorizationId | string Required. A user-provided name of the dns authorization. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDnsAuthorizationOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.CreateDnsAuthorization(parent, dnsAuthorization, dnsAuthorizationId);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorization(CreateDnsAuthorizationRequest, CallSettings)
public virtual Operation<DnsAuthorization, OperationMetadata> CreateDnsAuthorization(CreateDnsAuthorizationRequest request, CallSettings callSettings = null)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDnsAuthorizationOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateDnsAuthorizationRequest request = new CreateDnsAuthorizationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
DnsAuthorizationId = "",
DnsAuthorization = new DnsAuthorization(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.CreateDnsAuthorization(request);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorization(string, DnsAuthorization, string, CallSettings)
public virtual Operation<DnsAuthorization, OperationMetadata> CreateDnsAuthorization(string parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the dns authorization. Must be in the
format |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to create. |
dnsAuthorizationId | string Required. A user-provided name of the dns authorization. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDnsAuthorizationOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.CreateDnsAuthorization(parent, dnsAuthorization, dnsAuthorizationId);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorizationAsync(LocationName, DnsAuthorization, string, CallSettings)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(LocationName parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the dns authorization. Must be in the
format |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to create. |
dnsAuthorizationId | string Required. A user-provided name of the dns authorization. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorizationAsync(LocationName, DnsAuthorization, string, CancellationToken)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(LocationName parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CancellationToken cancellationToken)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the dns authorization. Must be in the
format |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to create. |
dnsAuthorizationId | string Required. A user-provided name of the dns authorization. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest, CallSettings)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest request, CallSettings callSettings = null)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateDnsAuthorizationRequest request = new CreateDnsAuthorizationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
DnsAuthorizationId = "",
DnsAuthorization = new DnsAuthorization(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(request);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest, CancellationToken)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(CreateDnsAuthorizationRequest request, CancellationToken cancellationToken)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateDnsAuthorizationRequest request = new CreateDnsAuthorizationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
DnsAuthorizationId = "",
DnsAuthorization = new DnsAuthorization(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(request);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorizationAsync(string, DnsAuthorization, string, CallSettings)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(string parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CallSettings callSettings = null)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the dns authorization. Must be in the
format |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to create. |
dnsAuthorizationId | string Required. A user-provided name of the dns authorization. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateDnsAuthorizationAsync(string, DnsAuthorization, string, CancellationToken)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> CreateDnsAuthorizationAsync(string parent, DnsAuthorization dnsAuthorization, string dnsAuthorizationId, CancellationToken cancellationToken)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the dns authorization. Must be in the
format |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to create. |
dnsAuthorizationId | string Required. A user-provided name of the dns authorization. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
DnsAuthorization dnsAuthorization = new DnsAuthorization();
string dnsAuthorizationId = "";
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.CreateDnsAuthorizationAsync(parent, dnsAuthorization, dnsAuthorizationId);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
CreateTrustConfig(LocationName, TrustConfig, string, CallSettings)
public virtual Operation<TrustConfig, OperationMetadata> CreateTrustConfig(LocationName parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the TrustConfig. Must be in the format
|
trustConfig | TrustConfig Required. A definition of the TrustConfig to create. |
trustConfigId | string Required. A user-provided name of the TrustConfig. Must match the regexp
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTrustConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
TrustConfig trustConfig = new TrustConfig();
string trustConfigId = "";
// Make the request
Operation<TrustConfig, OperationMetadata> response = certificateManagerClient.CreateTrustConfig(parent, trustConfig, trustConfigId);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateTrustConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfig(CreateTrustConfigRequest, CallSettings)
public virtual Operation<TrustConfig, OperationMetadata> CreateTrustConfig(CreateTrustConfigRequest request, CallSettings callSettings = null)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTrustConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CreateTrustConfigRequest request = new CreateTrustConfigRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TrustConfigId = "",
TrustConfig = new TrustConfig(),
};
// Make the request
Operation<TrustConfig, OperationMetadata> response = certificateManagerClient.CreateTrustConfig(request);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateTrustConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfig(string, TrustConfig, string, CallSettings)
public virtual Operation<TrustConfig, OperationMetadata> CreateTrustConfig(string parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the TrustConfig. Must be in the format
|
trustConfig | TrustConfig Required. A definition of the TrustConfig to create. |
trustConfigId | string Required. A user-provided name of the TrustConfig. Must match the regexp
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTrustConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
TrustConfig trustConfig = new TrustConfig();
string trustConfigId = "";
// Make the request
Operation<TrustConfig, OperationMetadata> response = certificateManagerClient.CreateTrustConfig(parent, trustConfig, trustConfigId);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceCreateTrustConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfigAsync(LocationName, TrustConfig, string, CallSettings)
public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(LocationName parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the TrustConfig. Must be in the format
|
trustConfig | TrustConfig Required. A definition of the TrustConfig to create. |
trustConfigId | string Required. A user-provided name of the TrustConfig. Must match the regexp
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
TrustConfig trustConfig = new TrustConfig();
string trustConfigId = "";
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.CreateTrustConfigAsync(parent, trustConfig, trustConfigId);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfigAsync(LocationName, TrustConfig, string, CancellationToken)
public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(LocationName parent, TrustConfig trustConfig, string trustConfigId, CancellationToken cancellationToken)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent resource of the TrustConfig. Must be in the format
|
trustConfig | TrustConfig Required. A definition of the TrustConfig to create. |
trustConfigId | string Required. A user-provided name of the TrustConfig. Must match the regexp
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
TrustConfig trustConfig = new TrustConfig();
string trustConfigId = "";
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.CreateTrustConfigAsync(parent, trustConfig, trustConfigId);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfigAsync(CreateTrustConfigRequest, CallSettings)
public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(CreateTrustConfigRequest request, CallSettings callSettings = null)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateTrustConfigRequest request = new CreateTrustConfigRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TrustConfigId = "",
TrustConfig = new TrustConfig(),
};
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.CreateTrustConfigAsync(request);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfigAsync(CreateTrustConfigRequest, CancellationToken)
public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(CreateTrustConfigRequest request, CancellationToken cancellationToken)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateTrustConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CreateTrustConfigRequest request = new CreateTrustConfigRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TrustConfigId = "",
TrustConfig = new TrustConfig(),
};
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.CreateTrustConfigAsync(request);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfigAsync(string, TrustConfig, string, CallSettings)
public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(string parent, TrustConfig trustConfig, string trustConfigId, CallSettings callSettings = null)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the TrustConfig. Must be in the format
|
trustConfig | TrustConfig Required. A definition of the TrustConfig to create. |
trustConfigId | string Required. A user-provided name of the TrustConfig. Must match the regexp
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
TrustConfig trustConfig = new TrustConfig();
string trustConfigId = "";
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.CreateTrustConfigAsync(parent, trustConfig, trustConfigId);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
CreateTrustConfigAsync(string, TrustConfig, string, CancellationToken)
public virtual Task<Operation<TrustConfig, OperationMetadata>> CreateTrustConfigAsync(string parent, TrustConfig trustConfig, string trustConfigId, CancellationToken cancellationToken)
Creates a new TrustConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent resource of the TrustConfig. Must be in the format
|
trustConfig | TrustConfig Required. A definition of the TrustConfig to create. |
trustConfigId | string Required. A user-provided name of the TrustConfig. Must match the regexp
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
TrustConfig trustConfig = new TrustConfig();
string trustConfigId = "";
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.CreateTrustConfigAsync(parent, trustConfig, trustConfigId);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceCreateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
DeleteCertificate(CertificateName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificate(CertificateName name, CallSettings callSettings = null)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
name | CertificateName Required. A name of the certificate to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificate(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 = certificateManagerClient.PollOnceDeleteCertificate(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;
}
DeleteCertificate(DeleteCertificateRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificate(DeleteCertificateRequest request, CallSettings callSettings = null)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateRequest request = new DeleteCertificateRequest
{
CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificate(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 = certificateManagerClient.PollOnceDeleteCertificate(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;
}
DeleteCertificate(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificate(string name, CallSettings callSettings = null)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificate(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 = certificateManagerClient.PollOnceDeleteCertificate(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;
}
DeleteCertificateAsync(CertificateName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(CertificateName name, CallSettings callSettings = null)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
name | CertificateName Required. A name of the certificate to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(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 certificateManagerClient.PollOnceDeleteCertificateAsync(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;
}
DeleteCertificateAsync(CertificateName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(CertificateName name, CancellationToken cancellationToken)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
name | CertificateName Required. A name of the certificate to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(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 certificateManagerClient.PollOnceDeleteCertificateAsync(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;
}
DeleteCertificateAsync(DeleteCertificateRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(DeleteCertificateRequest request, CallSettings callSettings = null)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateRequest request = new DeleteCertificateRequest
{
CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(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 certificateManagerClient.PollOnceDeleteCertificateAsync(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;
}
DeleteCertificateAsync(DeleteCertificateRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(DeleteCertificateRequest request, CancellationToken cancellationToken)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateRequest request = new DeleteCertificateRequest
{
CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(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 certificateManagerClient.PollOnceDeleteCertificateAsync(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;
}
DeleteCertificateAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(string name, CallSettings callSettings = null)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(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 certificateManagerClient.PollOnceDeleteCertificateAsync(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;
}
DeleteCertificateAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateAsync(string name, CancellationToken cancellationToken)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateAsync(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 certificateManagerClient.PollOnceDeleteCertificateAsync(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;
}
DeleteCertificateIssuanceConfig(CertificateIssuanceConfigName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateIssuanceConfig(CertificateIssuanceConfigName name, CallSettings callSettings = null)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | CertificateIssuanceConfigName Required. A name of the certificate issuance config to delete. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateIssuanceConfig(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 = certificateManagerClient.PollOnceDeleteCertificateIssuanceConfig(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;
}
DeleteCertificateIssuanceConfig(DeleteCertificateIssuanceConfigRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateIssuanceConfig(DeleteCertificateIssuanceConfigRequest request, CallSettings callSettings = null)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateIssuanceConfigRequest request = new DeleteCertificateIssuanceConfigRequest
{
CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateIssuanceConfig(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 = certificateManagerClient.PollOnceDeleteCertificateIssuanceConfig(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;
}
DeleteCertificateIssuanceConfig(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateIssuanceConfig(string name, CallSettings callSettings = null)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate issuance config to delete. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateIssuanceConfig(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 = certificateManagerClient.PollOnceDeleteCertificateIssuanceConfig(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;
}
DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CallSettings callSettings = null)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | CertificateIssuanceConfigName Required. A name of the certificate issuance config to delete. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(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 certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(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;
}
DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CancellationToken cancellationToken)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | CertificateIssuanceConfigName Required. A name of the certificate issuance config to delete. Must be in
the format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(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 certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(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;
}
DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest request, CallSettings callSettings = null)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateIssuanceConfigRequest request = new DeleteCertificateIssuanceConfigRequest
{
CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(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 certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(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;
}
DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(DeleteCertificateIssuanceConfigRequest request, CancellationToken cancellationToken)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateIssuanceConfigRequest request = new DeleteCertificateIssuanceConfigRequest
{
CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(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 certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(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;
}
DeleteCertificateIssuanceConfigAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(string name, CallSettings callSettings = null)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate issuance config to delete. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(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 certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(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;
}
DeleteCertificateIssuanceConfigAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateIssuanceConfigAsync(string name, CancellationToken cancellationToken)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate issuance config to delete. Must be in
the format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateIssuanceConfigAsync(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 certificateManagerClient.PollOnceDeleteCertificateIssuanceConfigAsync(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;
}
DeleteCertificateMap(CertificateMapName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateMap(CertificateMapName name, CallSettings callSettings = null)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
name | CertificateMapName Required. A name of the certificate map to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMap(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 = certificateManagerClient.PollOnceDeleteCertificateMap(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;
}
DeleteCertificateMap(DeleteCertificateMapRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateMap(DeleteCertificateMapRequest request, CallSettings callSettings = null)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateMapRequest request = new DeleteCertificateMapRequest
{
CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMap(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 = certificateManagerClient.PollOnceDeleteCertificateMap(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;
}
DeleteCertificateMap(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateMap(string name, CallSettings callSettings = null)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMap(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 = certificateManagerClient.PollOnceDeleteCertificateMap(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;
}
DeleteCertificateMapAsync(CertificateMapName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(CertificateMapName name, CallSettings callSettings = null)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
name | CertificateMapName Required. A name of the certificate map to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapAsync(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;
}
DeleteCertificateMapAsync(CertificateMapName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(CertificateMapName name, CancellationToken cancellationToken)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
name | CertificateMapName Required. A name of the certificate map to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapAsync(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;
}
DeleteCertificateMapAsync(DeleteCertificateMapRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(DeleteCertificateMapRequest request, CallSettings callSettings = null)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapRequest request = new DeleteCertificateMapRequest
{
CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapAsync(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;
}
DeleteCertificateMapAsync(DeleteCertificateMapRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(DeleteCertificateMapRequest request, CancellationToken cancellationToken)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateMapRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapRequest request = new DeleteCertificateMapRequest
{
CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapAsync(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;
}
DeleteCertificateMapAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(string name, CallSettings callSettings = null)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapAsync(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;
}
DeleteCertificateMapAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapAsync(string name, CancellationToken cancellationToken)
Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapAsync(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;
}
DeleteCertificateMapEntry(CertificateMapEntryName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateMapEntry(CertificateMapEntryName name, CallSettings callSettings = null)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | CertificateMapEntryName Required. A name of the certificate map entry to delete. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMapEntry(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 = certificateManagerClient.PollOnceDeleteCertificateMapEntry(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;
}
DeleteCertificateMapEntry(DeleteCertificateMapEntryRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateMapEntry(DeleteCertificateMapEntryRequest request, CallSettings callSettings = null)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteCertificateMapEntryRequest request = new DeleteCertificateMapEntryRequest
{
CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMapEntry(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 = certificateManagerClient.PollOnceDeleteCertificateMapEntry(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;
}
DeleteCertificateMapEntry(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteCertificateMapEntry(string name, CallSettings callSettings = null)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map entry to delete. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteCertificateMapEntry(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 = certificateManagerClient.PollOnceDeleteCertificateMapEntry(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;
}
DeleteCertificateMapEntryAsync(CertificateMapEntryName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(CertificateMapEntryName name, CallSettings callSettings = null)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | CertificateMapEntryName Required. A name of the certificate map entry to delete. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(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;
}
DeleteCertificateMapEntryAsync(CertificateMapEntryName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(CertificateMapEntryName name, CancellationToken cancellationToken)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | CertificateMapEntryName Required. A name of the certificate map entry to delete. Must be in the
format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(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;
}
DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest request, CallSettings callSettings = null)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapEntryRequest request = new DeleteCertificateMapEntryRequest
{
CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(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;
}
DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(DeleteCertificateMapEntryRequest request, CancellationToken cancellationToken)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | DeleteCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteCertificateMapEntryRequest request = new DeleteCertificateMapEntryRequest
{
CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(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;
}
DeleteCertificateMapEntryAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(string name, CallSettings callSettings = null)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map entry to delete. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(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;
}
DeleteCertificateMapEntryAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteCertificateMapEntryAsync(string name, CancellationToken cancellationToken)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map entry to delete. Must be in the
format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteCertificateMapEntryAsync(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 certificateManagerClient.PollOnceDeleteCertificateMapEntryAsync(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;
}
DeleteDnsAuthorization(DeleteDnsAuthorizationRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteDnsAuthorization(DeleteDnsAuthorizationRequest request, CallSettings callSettings = null)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | DeleteDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteDnsAuthorizationRequest request = new DeleteDnsAuthorizationRequest
{
DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteDnsAuthorization(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 = certificateManagerClient.PollOnceDeleteDnsAuthorization(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;
}
DeleteDnsAuthorization(DnsAuthorizationName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteDnsAuthorization(DnsAuthorizationName name, CallSettings callSettings = null)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | DnsAuthorizationName Required. A name of the dns authorization to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteDnsAuthorization(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 = certificateManagerClient.PollOnceDeleteDnsAuthorization(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;
}
DeleteDnsAuthorization(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteDnsAuthorization(string name, CallSettings callSettings = null)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the dns authorization to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteDnsAuthorization(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 = certificateManagerClient.PollOnceDeleteDnsAuthorization(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;
}
DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest request, CallSettings callSettings = null)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | DeleteDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteDnsAuthorizationRequest request = new DeleteDnsAuthorizationRequest
{
DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(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 certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(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;
}
DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DeleteDnsAuthorizationRequest request, CancellationToken cancellationToken)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | DeleteDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteDnsAuthorizationRequest request = new DeleteDnsAuthorizationRequest
{
DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(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 certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(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;
}
DeleteDnsAuthorizationAsync(DnsAuthorizationName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DnsAuthorizationName name, CallSettings callSettings = null)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | DnsAuthorizationName Required. A name of the dns authorization to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(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 certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(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;
}
DeleteDnsAuthorizationAsync(DnsAuthorizationName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(DnsAuthorizationName name, CancellationToken cancellationToken)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | DnsAuthorizationName Required. A name of the dns authorization to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(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 certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(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;
}
DeleteDnsAuthorizationAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(string name, CallSettings callSettings = null)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the dns authorization to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(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 certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(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;
}
DeleteDnsAuthorizationAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteDnsAuthorizationAsync(string name, CancellationToken cancellationToken)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the dns authorization to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteDnsAuthorizationAsync(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 certificateManagerClient.PollOnceDeleteDnsAuthorizationAsync(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;
}
DeleteTrustConfig(DeleteTrustConfigRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteTrustConfig(DeleteTrustConfigRequest request, CallSettings callSettings = null)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DeleteTrustConfigRequest request = new DeleteTrustConfigRequest
{
TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteTrustConfig(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 = certificateManagerClient.PollOnceDeleteTrustConfig(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;
}
DeleteTrustConfig(TrustConfigName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteTrustConfig(TrustConfigName name, CallSettings callSettings = null)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | TrustConfigName Required. A name of the TrustConfig to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteTrustConfig(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 = certificateManagerClient.PollOnceDeleteTrustConfig(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;
}
DeleteTrustConfig(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteTrustConfig(string name, CallSettings callSettings = null)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the TrustConfig to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = certificateManagerClient.DeleteTrustConfig(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 = certificateManagerClient.PollOnceDeleteTrustConfig(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;
}
DeleteTrustConfigAsync(DeleteTrustConfigRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(DeleteTrustConfigRequest request, CallSettings callSettings = null)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteTrustConfigRequest request = new DeleteTrustConfigRequest
{
TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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 certificateManagerClient.PollOnceDeleteTrustConfigAsync(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;
}
DeleteTrustConfigAsync(DeleteTrustConfigRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(DeleteTrustConfigRequest request, CancellationToken cancellationToken)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
request | DeleteTrustConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteTrustConfigRequest request = new DeleteTrustConfigRequest
{
TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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 certificateManagerClient.PollOnceDeleteTrustConfigAsync(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;
}
DeleteTrustConfigAsync(TrustConfigName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(TrustConfigName name, CallSettings callSettings = null)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | TrustConfigName Required. A name of the TrustConfig to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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 certificateManagerClient.PollOnceDeleteTrustConfigAsync(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;
}
DeleteTrustConfigAsync(TrustConfigName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(TrustConfigName name, CancellationToken cancellationToken)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | TrustConfigName Required. A name of the TrustConfig to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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 certificateManagerClient.PollOnceDeleteTrustConfigAsync(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;
}
DeleteTrustConfigAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(string name, CallSettings callSettings = null)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the TrustConfig to delete. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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 certificateManagerClient.PollOnceDeleteTrustConfigAsync(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;
}
DeleteTrustConfigAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteTrustConfigAsync(string name, CancellationToken cancellationToken)
Deletes a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the TrustConfig to delete. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await certificateManagerClient.DeleteTrustConfigAsync(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 certificateManagerClient.PollOnceDeleteTrustConfigAsync(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;
}
GetCertificate(CertificateName, CallSettings)
public virtual Certificate GetCertificate(CertificateName name, CallSettings callSettings = null)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
name | CertificateName Required. A name of the certificate to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Certificate | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Certificate response = certificateManagerClient.GetCertificate(name);
GetCertificate(GetCertificateRequest, CallSettings)
public virtual Certificate GetCertificate(GetCertificateRequest request, CallSettings callSettings = null)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
request | GetCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Certificate | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateRequest request = new GetCertificateRequest
{
CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Certificate response = certificateManagerClient.GetCertificate(request);
GetCertificate(string, CallSettings)
public virtual Certificate GetCertificate(string name, CallSettings callSettings = null)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Certificate | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Certificate response = certificateManagerClient.GetCertificate(name);
GetCertificateAsync(CertificateName, CallSettings)
public virtual Task<Certificate> GetCertificateAsync(CertificateName name, CallSettings callSettings = null)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
name | CertificateName Required. A name of the certificate to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificate | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);
GetCertificateAsync(CertificateName, CancellationToken)
public virtual Task<Certificate> GetCertificateAsync(CertificateName name, CancellationToken cancellationToken)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
name | CertificateName Required. A name of the certificate to describe. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificate | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateName name = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);
GetCertificateAsync(GetCertificateRequest, CallSettings)
public virtual Task<Certificate> GetCertificateAsync(GetCertificateRequest request, CallSettings callSettings = null)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
request | GetCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificate | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateRequest request = new GetCertificateRequest
{
CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(request);
GetCertificateAsync(GetCertificateRequest, CancellationToken)
public virtual Task<Certificate> GetCertificateAsync(GetCertificateRequest request, CancellationToken cancellationToken)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
request | GetCertificateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificate | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateRequest request = new GetCertificateRequest
{
CertificateName = CertificateName.FromProjectLocationCertificate("[PROJECT]", "[LOCATION]", "[CERTIFICATE]"),
};
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(request);
GetCertificateAsync(string, CallSettings)
public virtual Task<Certificate> GetCertificateAsync(string name, CallSettings callSettings = null)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificate | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);
GetCertificateAsync(string, CancellationToken)
public virtual Task<Certificate> GetCertificateAsync(string name, CancellationToken cancellationToken)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate to describe. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificate | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificates/[CERTIFICATE]";
// Make the request
Certificate response = await certificateManagerClient.GetCertificateAsync(name);
GetCertificateIssuanceConfig(CertificateIssuanceConfigName, CallSettings)
public virtual CertificateIssuanceConfig GetCertificateIssuanceConfig(CertificateIssuanceConfigName name, CallSettings callSettings = null)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | CertificateIssuanceConfigName Required. A name of the certificate issuance config to describe. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
CertificateIssuanceConfig response = certificateManagerClient.GetCertificateIssuanceConfig(name);
GetCertificateIssuanceConfig(GetCertificateIssuanceConfigRequest, CallSettings)
public virtual CertificateIssuanceConfig GetCertificateIssuanceConfig(GetCertificateIssuanceConfigRequest request, CallSettings callSettings = null)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request | GetCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateIssuanceConfigRequest request = new GetCertificateIssuanceConfigRequest
{
CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
CertificateIssuanceConfig response = certificateManagerClient.GetCertificateIssuanceConfig(request);
GetCertificateIssuanceConfig(string, CallSettings)
public virtual CertificateIssuanceConfig GetCertificateIssuanceConfig(string name, CallSettings callSettings = null)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate issuance config to describe. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
CertificateIssuanceConfig response = certificateManagerClient.GetCertificateIssuanceConfig(name);
GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CallSettings)
public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CallSettings callSettings = null)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | CertificateIssuanceConfigName Required. A name of the certificate issuance config to describe. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateIssuanceConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);
GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName, CancellationToken)
public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(CertificateIssuanceConfigName name, CancellationToken cancellationToken)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | CertificateIssuanceConfigName Required. A name of the certificate issuance config to describe. Must be in
the format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateIssuanceConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateIssuanceConfigName name = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]");
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);
GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest, CallSettings)
public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest request, CallSettings callSettings = null)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request | GetCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateIssuanceConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateIssuanceConfigRequest request = new GetCertificateIssuanceConfigRequest
{
CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(request);
GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest, CancellationToken)
public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(GetCertificateIssuanceConfigRequest request, CancellationToken cancellationToken)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request | GetCertificateIssuanceConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateIssuanceConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateIssuanceConfigRequest request = new GetCertificateIssuanceConfigRequest
{
CertificateIssuanceConfigName = CertificateIssuanceConfigName.FromProjectLocationCertificateIssuanceConfig("[PROJECT]", "[LOCATION]", "[CERTIFICATE_ISSUANCE_CONFIG]"),
};
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(request);
GetCertificateIssuanceConfigAsync(string, CallSettings)
public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(string name, CallSettings callSettings = null)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate issuance config to describe. Must be in
the format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateIssuanceConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);
GetCertificateIssuanceConfigAsync(string, CancellationToken)
public virtual Task<CertificateIssuanceConfig> GetCertificateIssuanceConfigAsync(string name, CancellationToken cancellationToken)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate issuance config to describe. Must be in
the format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateIssuanceConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateIssuanceConfigs/[CERTIFICATE_ISSUANCE_CONFIG]";
// Make the request
CertificateIssuanceConfig response = await certificateManagerClient.GetCertificateIssuanceConfigAsync(name);
GetCertificateMap(CertificateMapName, CallSettings)
public virtual CertificateMap GetCertificateMap(CertificateMapName name, CallSettings callSettings = null)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
name | CertificateMapName Required. A name of the certificate map to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateMap | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
CertificateMap response = certificateManagerClient.GetCertificateMap(name);
GetCertificateMap(GetCertificateMapRequest, CallSettings)
public virtual CertificateMap GetCertificateMap(GetCertificateMapRequest request, CallSettings callSettings = null)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
request | GetCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateMap | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateMapRequest request = new GetCertificateMapRequest
{
CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
CertificateMap response = certificateManagerClient.GetCertificateMap(request);
GetCertificateMap(string, CallSettings)
public virtual CertificateMap GetCertificateMap(string name, CallSettings callSettings = null)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateMap | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
CertificateMap response = certificateManagerClient.GetCertificateMap(name);
GetCertificateMapAsync(CertificateMapName, CallSettings)
public virtual Task<CertificateMap> GetCertificateMapAsync(CertificateMapName name, CallSettings callSettings = null)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
name | CertificateMapName Required. A name of the certificate map to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateMap | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);
GetCertificateMapAsync(CertificateMapName, CancellationToken)
public virtual Task<CertificateMap> GetCertificateMapAsync(CertificateMapName name, CancellationToken cancellationToken)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
name | CertificateMapName Required. A name of the certificate map to describe. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateMap | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName name = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);
GetCertificateMapAsync(GetCertificateMapRequest, CallSettings)
public virtual Task<CertificateMap> GetCertificateMapAsync(GetCertificateMapRequest request, CallSettings callSettings = null)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
request | GetCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateMap | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapRequest request = new GetCertificateMapRequest
{
CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(request);
GetCertificateMapAsync(GetCertificateMapRequest, CancellationToken)
public virtual Task<CertificateMap> GetCertificateMapAsync(GetCertificateMapRequest request, CancellationToken cancellationToken)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
request | GetCertificateMapRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateMap | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapRequest request = new GetCertificateMapRequest
{
CertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
};
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(request);
GetCertificateMapAsync(string, CallSettings)
public virtual Task<CertificateMap> GetCertificateMapAsync(string name, CallSettings callSettings = null)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateMap | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);
GetCertificateMapAsync(string, CancellationToken)
public virtual Task<CertificateMap> GetCertificateMapAsync(string name, CancellationToken cancellationToken)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map to describe. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateMap | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
CertificateMap response = await certificateManagerClient.GetCertificateMapAsync(name);
GetCertificateMapEntry(CertificateMapEntryName, CallSettings)
public virtual CertificateMapEntry GetCertificateMapEntry(CertificateMapEntryName name, CallSettings callSettings = null)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | CertificateMapEntryName Required. A name of the certificate map entry to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateMapEntry | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
CertificateMapEntry response = certificateManagerClient.GetCertificateMapEntry(name);
GetCertificateMapEntry(GetCertificateMapEntryRequest, CallSettings)
public virtual CertificateMapEntry GetCertificateMapEntry(GetCertificateMapEntryRequest request, CallSettings callSettings = null)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | GetCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateMapEntry | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetCertificateMapEntryRequest request = new GetCertificateMapEntryRequest
{
CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
CertificateMapEntry response = certificateManagerClient.GetCertificateMapEntry(request);
GetCertificateMapEntry(string, CallSettings)
public virtual CertificateMapEntry GetCertificateMapEntry(string name, CallSettings callSettings = null)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map entry to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CertificateMapEntry | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
CertificateMapEntry response = certificateManagerClient.GetCertificateMapEntry(name);
GetCertificateMapEntryAsync(CertificateMapEntryName, CallSettings)
public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(CertificateMapEntryName name, CallSettings callSettings = null)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | CertificateMapEntryName Required. A name of the certificate map entry to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateMapEntry | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);
GetCertificateMapEntryAsync(CertificateMapEntryName, CancellationToken)
public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(CertificateMapEntryName name, CancellationToken cancellationToken)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | CertificateMapEntryName Required. A name of the certificate map entry to describe. Must be in the
format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateMapEntry | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntryName name = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]");
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);
GetCertificateMapEntryAsync(GetCertificateMapEntryRequest, CallSettings)
public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(GetCertificateMapEntryRequest request, CallSettings callSettings = null)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | GetCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateMapEntry | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapEntryRequest request = new GetCertificateMapEntryRequest
{
CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(request);
GetCertificateMapEntryAsync(GetCertificateMapEntryRequest, CancellationToken)
public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(GetCertificateMapEntryRequest request, CancellationToken cancellationToken)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | GetCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateMapEntry | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetCertificateMapEntryRequest request = new GetCertificateMapEntryRequest
{
CertificateMapEntryName = CertificateMapEntryName.FromProjectLocationCertificateMapCertificateMapEntry("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]", "[CERTIFICATE_MAP_ENTRY]"),
};
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(request);
GetCertificateMapEntryAsync(string, CallSettings)
public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(string name, CallSettings callSettings = null)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map entry to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCertificateMapEntry | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);
GetCertificateMapEntryAsync(string, CancellationToken)
public virtual Task<CertificateMapEntry> GetCertificateMapEntryAsync(string name, CancellationToken cancellationToken)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the certificate map entry to describe. Must be in the
format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskCertificateMapEntry | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]/certificateMapEntries/[CERTIFICATE_MAP_ENTRY]";
// Make the request
CertificateMapEntry response = await certificateManagerClient.GetCertificateMapEntryAsync(name);
GetDnsAuthorization(DnsAuthorizationName, CallSettings)
public virtual DnsAuthorization GetDnsAuthorization(DnsAuthorizationName name, CallSettings callSettings = null)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | DnsAuthorizationName Required. A name of the dns authorization to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DnsAuthorization | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
DnsAuthorization response = certificateManagerClient.GetDnsAuthorization(name);
GetDnsAuthorization(GetDnsAuthorizationRequest, CallSettings)
public virtual DnsAuthorization GetDnsAuthorization(GetDnsAuthorizationRequest request, CallSettings callSettings = null)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | GetDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DnsAuthorization | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetDnsAuthorizationRequest request = new GetDnsAuthorizationRequest
{
DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
DnsAuthorization response = certificateManagerClient.GetDnsAuthorization(request);
GetDnsAuthorization(string, CallSettings)
public virtual DnsAuthorization GetDnsAuthorization(string name, CallSettings callSettings = null)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the dns authorization to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DnsAuthorization | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
DnsAuthorization response = certificateManagerClient.GetDnsAuthorization(name);
GetDnsAuthorizationAsync(DnsAuthorizationName, CallSettings)
public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(DnsAuthorizationName name, CallSettings callSettings = null)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | DnsAuthorizationName Required. A name of the dns authorization to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDnsAuthorization | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);
GetDnsAuthorizationAsync(DnsAuthorizationName, CancellationToken)
public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(DnsAuthorizationName name, CancellationToken cancellationToken)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | DnsAuthorizationName Required. A name of the dns authorization to describe. Must be in the
format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDnsAuthorization | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorizationName name = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]");
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);
GetDnsAuthorizationAsync(GetDnsAuthorizationRequest, CallSettings)
public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(GetDnsAuthorizationRequest request, CallSettings callSettings = null)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | GetDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDnsAuthorization | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetDnsAuthorizationRequest request = new GetDnsAuthorizationRequest
{
DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(request);
GetDnsAuthorizationAsync(GetDnsAuthorizationRequest, CancellationToken)
public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(GetDnsAuthorizationRequest request, CancellationToken cancellationToken)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | GetDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDnsAuthorization | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetDnsAuthorizationRequest request = new GetDnsAuthorizationRequest
{
DnsAuthorizationName = DnsAuthorizationName.FromProjectLocationDnsAuthorization("[PROJECT]", "[LOCATION]", "[DNS_AUTHORIZATION]"),
};
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(request);
GetDnsAuthorizationAsync(string, CallSettings)
public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(string name, CallSettings callSettings = null)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the dns authorization to describe. Must be in the
format |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskDnsAuthorization | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);
GetDnsAuthorizationAsync(string, CancellationToken)
public virtual Task<DnsAuthorization> GetDnsAuthorizationAsync(string name, CancellationToken cancellationToken)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the dns authorization to describe. Must be in the
format |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskDnsAuthorization | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/dnsAuthorizations/[DNS_AUTHORIZATION]";
// Make the request
DnsAuthorization response = await certificateManagerClient.GetDnsAuthorizationAsync(name);
GetTrustConfig(GetTrustConfigRequest, CallSettings)
public virtual TrustConfig GetTrustConfig(GetTrustConfigRequest request, CallSettings callSettings = null)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
request | GetTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TrustConfig | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
GetTrustConfigRequest request = new GetTrustConfigRequest
{
TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
};
// Make the request
TrustConfig response = certificateManagerClient.GetTrustConfig(request);
GetTrustConfig(TrustConfigName, CallSettings)
public virtual TrustConfig GetTrustConfig(TrustConfigName name, CallSettings callSettings = null)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | TrustConfigName Required. A name of the TrustConfig to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TrustConfig | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
TrustConfig response = certificateManagerClient.GetTrustConfig(name);
GetTrustConfig(string, CallSettings)
public virtual TrustConfig GetTrustConfig(string name, CallSettings callSettings = null)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the TrustConfig to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TrustConfig | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
TrustConfig response = certificateManagerClient.GetTrustConfig(name);
GetTrustConfigAsync(GetTrustConfigRequest, CallSettings)
public virtual Task<TrustConfig> GetTrustConfigAsync(GetTrustConfigRequest request, CallSettings callSettings = null)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
request | GetTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskTrustConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetTrustConfigRequest request = new GetTrustConfigRequest
{
TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
};
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(request);
GetTrustConfigAsync(GetTrustConfigRequest, CancellationToken)
public virtual Task<TrustConfig> GetTrustConfigAsync(GetTrustConfigRequest request, CancellationToken cancellationToken)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
request | GetTrustConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskTrustConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
GetTrustConfigRequest request = new GetTrustConfigRequest
{
TrustConfigName = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]"),
};
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(request);
GetTrustConfigAsync(TrustConfigName, CallSettings)
public virtual Task<TrustConfig> GetTrustConfigAsync(TrustConfigName name, CallSettings callSettings = null)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | TrustConfigName Required. A name of the TrustConfig to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskTrustConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(name);
GetTrustConfigAsync(TrustConfigName, CancellationToken)
public virtual Task<TrustConfig> GetTrustConfigAsync(TrustConfigName name, CancellationToken cancellationToken)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | TrustConfigName Required. A name of the TrustConfig to describe. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskTrustConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfigName name = TrustConfigName.FromProjectLocationTrustConfig("[PROJECT]", "[LOCATION]", "[TRUST_CONFIG]");
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(name);
GetTrustConfigAsync(string, CallSettings)
public virtual Task<TrustConfig> GetTrustConfigAsync(string name, CallSettings callSettings = null)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the TrustConfig to describe. Must be in the format
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskTrustConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(name);
GetTrustConfigAsync(string, CancellationToken)
public virtual Task<TrustConfig> GetTrustConfigAsync(string name, CancellationToken cancellationToken)
Gets details of a single TrustConfig.
Parameters | |
---|---|
Name | Description |
name | string Required. A name of the TrustConfig to describe. Must be in the format
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskTrustConfig | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/trustConfigs/[TRUST_CONFIG]";
// Make the request
TrustConfig response = await certificateManagerClient.GetTrustConfigAsync(name);
ListCertificateIssuanceConfigs(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig | A pageable sequence of CertificateIssuanceConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateIssuanceConfig 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 (ListCertificateIssuanceConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateIssuanceConfig 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<CertificateIssuanceConfig> 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 (CertificateIssuanceConfig 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;
ListCertificateIssuanceConfigs(ListCertificateIssuanceConfigsRequest, CallSettings)
public virtual PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigs(ListCertificateIssuanceConfigsRequest request, CallSettings callSettings = null)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificateIssuanceConfigsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig | A pageable sequence of CertificateIssuanceConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificateIssuanceConfigsRequest request = new ListCertificateIssuanceConfigsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigs(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateIssuanceConfig 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 (ListCertificateIssuanceConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateIssuanceConfig 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<CertificateIssuanceConfig> 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 (CertificateIssuanceConfig 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;
ListCertificateIssuanceConfigs(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig | A pageable sequence of CertificateIssuanceConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateIssuanceConfig 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 (ListCertificateIssuanceConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateIssuanceConfig 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<CertificateIssuanceConfig> 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 (CertificateIssuanceConfig 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;
ListCertificateIssuanceConfigsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig | A pageable asynchronous sequence of CertificateIssuanceConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateIssuanceConfig item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateIssuanceConfigsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateIssuanceConfig 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<CertificateIssuanceConfig> 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 (CertificateIssuanceConfig 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;
ListCertificateIssuanceConfigsAsync(ListCertificateIssuanceConfigsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigsAsync(ListCertificateIssuanceConfigsRequest request, CallSettings callSettings = null)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificateIssuanceConfigsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig | A pageable asynchronous sequence of CertificateIssuanceConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificateIssuanceConfigsRequest request = new ListCertificateIssuanceConfigsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateIssuanceConfig item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateIssuanceConfigsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateIssuanceConfig 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<CertificateIssuanceConfig> 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 (CertificateIssuanceConfig 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;
ListCertificateIssuanceConfigsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> ListCertificateIssuanceConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateIssuanceConfigsResponseCertificateIssuanceConfig | A pageable asynchronous sequence of CertificateIssuanceConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCertificateIssuanceConfigsResponse, CertificateIssuanceConfig> response = certificateManagerClient.ListCertificateIssuanceConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateIssuanceConfig item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateIssuanceConfigsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateIssuanceConfig 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<CertificateIssuanceConfig> 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 (CertificateIssuanceConfig 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;
ListCertificateMapEntries(CertificateMapName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntries(CertificateMapName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | CertificateMapName Required. The project, location and certificate map from which the
certificate map entries should be listed, specified in the format
|
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateMapEntriesResponseCertificateMapEntry | A pageable sequence of CertificateMapEntry resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntries(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateMapEntry 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 (ListCertificateMapEntriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMapEntry 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<CertificateMapEntry> 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 (CertificateMapEntry 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;
ListCertificateMapEntries(ListCertificateMapEntriesRequest, CallSettings)
public virtual PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntries(ListCertificateMapEntriesRequest request, CallSettings callSettings = null)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificateMapEntriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateMapEntriesResponseCertificateMapEntry | A pageable sequence of CertificateMapEntry resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificateMapEntriesRequest request = new ListCertificateMapEntriesRequest
{
ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntries(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateMapEntry 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 (ListCertificateMapEntriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMapEntry 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<CertificateMapEntry> 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 (CertificateMapEntry 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;
ListCertificateMapEntries(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntries(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project, location and certificate map from which the
certificate map entries should be listed, specified in the format
|
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateMapEntriesResponseCertificateMapEntry | A pageable sequence of CertificateMapEntry resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
PagedEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntries(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateMapEntry 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 (ListCertificateMapEntriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMapEntry 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<CertificateMapEntry> 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 (CertificateMapEntry 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;
ListCertificateMapEntriesAsync(CertificateMapName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntriesAsync(CertificateMapName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | CertificateMapName Required. The project, location and certificate map from which the
certificate map entries should be listed, specified in the format
|
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateMapEntriesResponseCertificateMapEntry | A pageable asynchronous sequence of CertificateMapEntry resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapName parent = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]");
// Make the request
PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateMapEntry item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateMapEntriesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMapEntry 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<CertificateMapEntry> 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 (CertificateMapEntry 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;
ListCertificateMapEntriesAsync(ListCertificateMapEntriesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntriesAsync(ListCertificateMapEntriesRequest request, CallSettings callSettings = null)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificateMapEntriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateMapEntriesResponseCertificateMapEntry | A pageable asynchronous sequence of CertificateMapEntry resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificateMapEntriesRequest request = new ListCertificateMapEntriesRequest
{
ParentAsCertificateMapName = CertificateMapName.FromProjectLocationCertificateMap("[PROJECT]", "[LOCATION]", "[CERTIFICATE_MAP]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntriesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateMapEntry item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateMapEntriesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMapEntry 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<CertificateMapEntry> 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 (CertificateMapEntry 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;
ListCertificateMapEntriesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> ListCertificateMapEntriesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project, location and certificate map from which the
certificate map entries should be listed, specified in the format
|
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateMapEntriesResponseCertificateMapEntry | A pageable asynchronous sequence of CertificateMapEntry resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/certificateMaps/[CERTIFICATE_MAP]";
// Make the request
PagedAsyncEnumerable<ListCertificateMapEntriesResponse, CertificateMapEntry> response = certificateManagerClient.ListCertificateMapEntriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateMapEntry item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateMapEntriesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMapEntry 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<CertificateMapEntry> 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 (CertificateMapEntry 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;
ListCertificateMaps(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMaps(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the certificate maps should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateMapsResponseCertificateMap | A pageable sequence of CertificateMap resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMaps(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateMap 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 (ListCertificateMapsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMap 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<CertificateMap> 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 (CertificateMap 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;
ListCertificateMaps(ListCertificateMapsRequest, CallSettings)
public virtual PagedEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMaps(ListCertificateMapsRequest request, CallSettings callSettings = null)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificateMapsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateMapsResponseCertificateMap | A pageable sequence of CertificateMap resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificateMapsRequest request = new ListCertificateMapsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMaps(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateMap 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 (ListCertificateMapsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMap 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<CertificateMap> 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 (CertificateMap 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;
ListCertificateMaps(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMaps(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the certificate maps should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificateMapsResponseCertificateMap | A pageable sequence of CertificateMap resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMaps(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CertificateMap 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 (ListCertificateMapsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMap 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<CertificateMap> 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 (CertificateMap 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;
ListCertificateMapsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMapsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the certificate maps should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateMapsResponseCertificateMap | A pageable asynchronous sequence of CertificateMap resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMapsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateMap item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateMapsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMap 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<CertificateMap> 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 (CertificateMap 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;
ListCertificateMapsAsync(ListCertificateMapsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMapsAsync(ListCertificateMapsRequest request, CallSettings callSettings = null)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificateMapsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateMapsResponseCertificateMap | A pageable asynchronous sequence of CertificateMap resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificateMapsRequest request = new ListCertificateMapsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMapsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateMap item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateMapsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMap 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<CertificateMap> 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 (CertificateMap 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;
ListCertificateMapsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> ListCertificateMapsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the certificate maps should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificateMapsResponseCertificateMap | A pageable asynchronous sequence of CertificateMap resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCertificateMapsResponse, CertificateMap> response = certificateManagerClient.ListCertificateMapsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CertificateMap item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificateMapsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CertificateMap 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<CertificateMap> 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 (CertificateMap 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;
ListCertificates(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificatesResponse, Certificate> ListCertificates(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificatesResponseCertificate | A pageable sequence of Certificate resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Certificate 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 (ListCertificatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Certificate 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<Certificate> 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 (Certificate 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;
ListCertificates(ListCertificatesRequest, CallSettings)
public virtual PagedEnumerable<ListCertificatesResponse, Certificate> ListCertificates(ListCertificatesRequest request, CallSettings callSettings = null)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificatesResponseCertificate | A pageable sequence of Certificate resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListCertificatesRequest request = new ListCertificatesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificates(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Certificate 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 (ListCertificatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Certificate 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<Certificate> 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 (Certificate 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;
ListCertificates(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCertificatesResponse, Certificate> ListCertificates(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListCertificatesResponseCertificate | A pageable sequence of Certificate resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Certificate 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 (ListCertificatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Certificate 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<Certificate> 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 (Certificate 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;
ListCertificatesAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificatesResponse, Certificate> ListCertificatesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificatesResponseCertificate | A pageable asynchronous sequence of Certificate resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Certificate item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificatesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Certificate 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<Certificate> 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 (Certificate 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;
ListCertificatesAsync(ListCertificatesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificatesResponse, Certificate> ListCertificatesAsync(ListCertificatesRequest request, CallSettings callSettings = null)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListCertificatesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificatesResponseCertificate | A pageable asynchronous sequence of Certificate resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListCertificatesRequest request = new ListCertificatesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificatesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Certificate item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificatesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Certificate 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<Certificate> 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 (Certificate 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;
ListCertificatesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCertificatesResponse, Certificate> ListCertificatesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the certificate should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListCertificatesResponseCertificate | A pageable asynchronous sequence of Certificate resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCertificatesResponse, Certificate> response = certificateManagerClient.ListCertificatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Certificate item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCertificatesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Certificate 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<Certificate> 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 (Certificate 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;
ListDnsAuthorizations(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizations(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the dns authorizations should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDnsAuthorizationsResponseDnsAuthorization | A pageable sequence of DnsAuthorization resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizations(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DnsAuthorization 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 (ListDnsAuthorizationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DnsAuthorization 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<DnsAuthorization> 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 (DnsAuthorization 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;
ListDnsAuthorizations(ListDnsAuthorizationsRequest, CallSettings)
public virtual PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizations(ListDnsAuthorizationsRequest request, CallSettings callSettings = null)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListDnsAuthorizationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDnsAuthorizationsResponseDnsAuthorization | A pageable sequence of DnsAuthorization resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListDnsAuthorizationsRequest request = new ListDnsAuthorizationsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizations(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (DnsAuthorization 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 (ListDnsAuthorizationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DnsAuthorization 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<DnsAuthorization> 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 (DnsAuthorization 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;
ListDnsAuthorizations(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the dns authorizations should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListDnsAuthorizationsResponseDnsAuthorization | A pageable sequence of DnsAuthorization resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizations(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (DnsAuthorization 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 (ListDnsAuthorizationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DnsAuthorization 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<DnsAuthorization> 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 (DnsAuthorization 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;
ListDnsAuthorizationsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizationsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the dns authorizations should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDnsAuthorizationsResponseDnsAuthorization | A pageable asynchronous sequence of DnsAuthorization resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DnsAuthorization item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDnsAuthorizationsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DnsAuthorization 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<DnsAuthorization> 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 (DnsAuthorization 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;
ListDnsAuthorizationsAsync(ListDnsAuthorizationsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizationsAsync(ListDnsAuthorizationsRequest request, CallSettings callSettings = null)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListDnsAuthorizationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDnsAuthorizationsResponseDnsAuthorization | A pageable asynchronous sequence of DnsAuthorization resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListDnsAuthorizationsRequest request = new ListDnsAuthorizationsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizationsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DnsAuthorization item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDnsAuthorizationsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DnsAuthorization 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<DnsAuthorization> 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 (DnsAuthorization 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;
ListDnsAuthorizationsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> ListDnsAuthorizationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the dns authorizations should
be listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListDnsAuthorizationsResponseDnsAuthorization | A pageable asynchronous sequence of DnsAuthorization resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListDnsAuthorizationsResponse, DnsAuthorization> response = certificateManagerClient.ListDnsAuthorizationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DnsAuthorization item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListDnsAuthorizationsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (DnsAuthorization 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<DnsAuthorization> 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 (DnsAuthorization 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;
ListTrustConfigs(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListTrustConfigsResponse, TrustConfig> ListTrustConfigs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists TrustConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the TrustConfigs should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListTrustConfigsResponseTrustConfig | A pageable sequence of TrustConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListTrustConfigsResponse, TrustConfig> response = certificateManagerClient.ListTrustConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (TrustConfig 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 (ListTrustConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TrustConfig 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<TrustConfig> 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 (TrustConfig 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;
ListTrustConfigs(ListTrustConfigsRequest, CallSettings)
public virtual PagedEnumerable<ListTrustConfigsResponse, TrustConfig> ListTrustConfigs(ListTrustConfigsRequest request, CallSettings callSettings = null)
Lists TrustConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListTrustConfigsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListTrustConfigsResponseTrustConfig | A pageable sequence of TrustConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
ListTrustConfigsRequest request = new ListTrustConfigsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListTrustConfigsResponse, TrustConfig> response = certificateManagerClient.ListTrustConfigs(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (TrustConfig 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 (ListTrustConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TrustConfig 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<TrustConfig> 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 (TrustConfig 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;
ListTrustConfigs(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListTrustConfigsResponse, TrustConfig> ListTrustConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists TrustConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the TrustConfigs should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListTrustConfigsResponseTrustConfig | A pageable sequence of TrustConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListTrustConfigsResponse, TrustConfig> response = certificateManagerClient.ListTrustConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (TrustConfig 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 (ListTrustConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TrustConfig 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<TrustConfig> 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 (TrustConfig 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;
ListTrustConfigsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListTrustConfigsResponse, TrustConfig> ListTrustConfigsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists TrustConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location from which the TrustConfigs should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListTrustConfigsResponseTrustConfig | A pageable asynchronous sequence of TrustConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListTrustConfigsResponse, TrustConfig> response = certificateManagerClient.ListTrustConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((TrustConfig item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTrustConfigsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TrustConfig 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<TrustConfig> 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 (TrustConfig 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;
ListTrustConfigsAsync(ListTrustConfigsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListTrustConfigsResponse, TrustConfig> ListTrustConfigsAsync(ListTrustConfigsRequest request, CallSettings callSettings = null)
Lists TrustConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListTrustConfigsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListTrustConfigsResponseTrustConfig | A pageable asynchronous sequence of TrustConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
ListTrustConfigsRequest request = new ListTrustConfigsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListTrustConfigsResponse, TrustConfig> response = certificateManagerClient.ListTrustConfigsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((TrustConfig item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTrustConfigsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TrustConfig 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<TrustConfig> 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 (TrustConfig 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;
ListTrustConfigsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListTrustConfigsResponse, TrustConfig> ListTrustConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists TrustConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent | string Required. The project and location from which the TrustConfigs should be
listed, specified in the format |
pageToken | string The token returned from the previous request. A value of |
pageSize | int The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListTrustConfigsResponseTrustConfig | A pageable asynchronous sequence of TrustConfig resources. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListTrustConfigsResponse, TrustConfig> response = certificateManagerClient.ListTrustConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((TrustConfig item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListTrustConfigsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (TrustConfig 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<TrustConfig> 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 (TrustConfig 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;
PollOnceCreateCertificate(string, CallSettings)
public virtual Operation<Certificate, OperationMetadata> PollOnceCreateCertificate(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateCertificate
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateOperationMetadata | The result of polling the operation. |
PollOnceCreateCertificateAsync(string, CallSettings)
public virtual Task<Operation<Certificate, OperationMetadata>> PollOnceCreateCertificateAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateCertificate
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A task representing the result of polling the operation. |
PollOnceCreateCertificateIssuanceConfig(string, CallSettings)
public virtual Operation<CertificateIssuanceConfig, OperationMetadata> PollOnceCreateCertificateIssuanceConfig(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
CreateCertificateIssuanceConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateIssuanceConfigOperationMetadata | The result of polling the operation. |
PollOnceCreateCertificateIssuanceConfigAsync(string, CallSettings)
public virtual Task<Operation<CertificateIssuanceConfig, OperationMetadata>> PollOnceCreateCertificateIssuanceConfigAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateCertificateIssuanceConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateIssuanceConfigOperationMetadata | A task representing the result of polling the operation. |
PollOnceCreateCertificateMap(string, CallSettings)
public virtual Operation<CertificateMap, OperationMetadata> PollOnceCreateCertificateMap(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateCertificateMap
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapOperationMetadata | The result of polling the operation. |
PollOnceCreateCertificateMapAsync(string, CallSettings)
public virtual Task<Operation<CertificateMap, OperationMetadata>> PollOnceCreateCertificateMapAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateCertificateMap
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A task representing the result of polling the operation. |
PollOnceCreateCertificateMapEntry(string, CallSettings)
public virtual Operation<CertificateMapEntry, OperationMetadata> PollOnceCreateCertificateMapEntry(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
CreateCertificateMapEntry
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapEntryOperationMetadata | The result of polling the operation. |
PollOnceCreateCertificateMapEntryAsync(string, CallSettings)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> PollOnceCreateCertificateMapEntryAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateCertificateMapEntry
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A task representing the result of polling the operation. |
PollOnceCreateDnsAuthorization(string, CallSettings)
public virtual Operation<DnsAuthorization, OperationMetadata> PollOnceCreateDnsAuthorization(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
CreateDnsAuthorization
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDnsAuthorizationOperationMetadata | The result of polling the operation. |
PollOnceCreateDnsAuthorizationAsync(string, CallSettings)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> PollOnceCreateDnsAuthorizationAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateDnsAuthorization
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A task representing the result of polling the operation. |
PollOnceCreateTrustConfig(string, CallSettings)
public virtual Operation<TrustConfig, OperationMetadata> PollOnceCreateTrustConfig(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateTrustConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTrustConfigOperationMetadata | The result of polling the operation. |
PollOnceCreateTrustConfigAsync(string, CallSettings)
public virtual Task<Operation<TrustConfig, OperationMetadata>> PollOnceCreateTrustConfigAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateTrustConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteCertificate(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificate(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteCertificate
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteCertificateAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteCertificate
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteCertificateIssuanceConfig(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificateIssuanceConfig(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
DeleteCertificateIssuanceConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteCertificateIssuanceConfigAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateIssuanceConfigAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteCertificateIssuanceConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteCertificateMap(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificateMap(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteCertificateMap
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteCertificateMapAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateMapAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteCertificateMap
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteCertificateMapEntry(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCertificateMapEntry(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
DeleteCertificateMapEntry
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteCertificateMapEntryAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCertificateMapEntryAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteCertificateMapEntry
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteDnsAuthorization(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDnsAuthorization(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
DeleteDnsAuthorization
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteDnsAuthorizationAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDnsAuthorizationAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteDnsAuthorization
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteTrustConfig(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteTrustConfig(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteTrustConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteTrustConfigAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteTrustConfigAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteTrustConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceUpdateCertificate(string, CallSettings)
public virtual Operation<Certificate, OperationMetadata> PollOnceUpdateCertificate(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateCertificate
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateOperationMetadata | The result of polling the operation. |
PollOnceUpdateCertificateAsync(string, CallSettings)
public virtual Task<Operation<Certificate, OperationMetadata>> PollOnceUpdateCertificateAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateCertificate
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A task representing the result of polling the operation. |
PollOnceUpdateCertificateMap(string, CallSettings)
public virtual Operation<CertificateMap, OperationMetadata> PollOnceUpdateCertificateMap(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateCertificateMap
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapOperationMetadata | The result of polling the operation. |
PollOnceUpdateCertificateMapAsync(string, CallSettings)
public virtual Task<Operation<CertificateMap, OperationMetadata>> PollOnceUpdateCertificateMapAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateCertificateMap
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A task representing the result of polling the operation. |
PollOnceUpdateCertificateMapEntry(string, CallSettings)
public virtual Operation<CertificateMapEntry, OperationMetadata> PollOnceUpdateCertificateMapEntry(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
UpdateCertificateMapEntry
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapEntryOperationMetadata | The result of polling the operation. |
PollOnceUpdateCertificateMapEntryAsync(string, CallSettings)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> PollOnceUpdateCertificateMapEntryAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateCertificateMapEntry
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A task representing the result of polling the operation. |
PollOnceUpdateDnsAuthorization(string, CallSettings)
public virtual Operation<DnsAuthorization, OperationMetadata> PollOnceUpdateDnsAuthorization(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of
UpdateDnsAuthorization
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDnsAuthorizationOperationMetadata | The result of polling the operation. |
PollOnceUpdateDnsAuthorizationAsync(string, CallSettings)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> PollOnceUpdateDnsAuthorizationAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateDnsAuthorization
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A task representing the result of polling the operation. |
PollOnceUpdateTrustConfig(string, CallSettings)
public virtual Operation<TrustConfig, OperationMetadata> PollOnceUpdateTrustConfig(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateTrustConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTrustConfigOperationMetadata | The result of polling the operation. |
PollOnceUpdateTrustConfigAsync(string, CallSettings)
public virtual Task<Operation<TrustConfig, OperationMetadata>> PollOnceUpdateTrustConfigAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateTrustConfig
.
Parameters | |
---|---|
Name | Description |
operationName | string The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A task representing the result of polling the operation. |
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.
UpdateCertificate(Certificate, FieldMask, CallSettings)
public virtual Operation<Certificate, OperationMetadata> UpdateCertificate(Certificate certificate, FieldMask updateMask, CallSettings callSettings = null)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
certificate | Certificate Required. A definition of the certificate to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
Certificate certificate = new Certificate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.UpdateCertificate(certificate, updateMask);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
UpdateCertificate(UpdateCertificateRequest, CallSettings)
public virtual Operation<Certificate, OperationMetadata> UpdateCertificate(UpdateCertificateRequest request, CallSettings callSettings = null)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateCertificateRequest request = new UpdateCertificateRequest
{
Certificate = new Certificate(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = certificateManagerClient.UpdateCertificate(request);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
UpdateCertificateAsync(Certificate, FieldMask, CallSettings)
public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(Certificate certificate, FieldMask updateMask, CallSettings callSettings = null)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
certificate | Certificate Required. A definition of the certificate to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
Certificate certificate = new Certificate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(certificate, updateMask);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
UpdateCertificateAsync(Certificate, FieldMask, CancellationToken)
public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(Certificate certificate, FieldMask updateMask, CancellationToken cancellationToken)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
certificate | Certificate Required. A definition of the certificate to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
Certificate certificate = new Certificate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(certificate, updateMask);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
UpdateCertificateAsync(UpdateCertificateRequest, CallSettings)
public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(UpdateCertificateRequest request, CallSettings callSettings = null)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateRequest request = new UpdateCertificateRequest
{
Certificate = new Certificate(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(request);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
UpdateCertificateAsync(UpdateCertificateRequest, CancellationToken)
public virtual Task<Operation<Certificate, OperationMetadata>> UpdateCertificateAsync(UpdateCertificateRequest request, CancellationToken cancellationToken)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateRequest request = new UpdateCertificateRequest
{
Certificate = new Certificate(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<Certificate, OperationMetadata> response = await certificateManagerClient.UpdateCertificateAsync(request);
// Poll until the returned long-running operation is complete
Operation<Certificate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Certificate 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<Certificate, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Certificate retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMap(CertificateMap, FieldMask, CallSettings)
public virtual Operation<CertificateMap, OperationMetadata> UpdateCertificateMap(CertificateMap certificateMap, FieldMask updateMask, CallSettings callSettings = null)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
certificateMap | CertificateMap Required. A definition of the certificate map to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMap certificateMap = new CertificateMap();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.UpdateCertificateMap(certificateMap, updateMask);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMap(UpdateCertificateMapRequest, CallSettings)
public virtual Operation<CertificateMap, OperationMetadata> UpdateCertificateMap(UpdateCertificateMapRequest request, CallSettings callSettings = null)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateCertificateMapRequest request = new UpdateCertificateMapRequest
{
CertificateMap = new CertificateMap(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = certificateManagerClient.UpdateCertificateMap(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMap(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapAsync(CertificateMap, FieldMask, CallSettings)
public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(CertificateMap certificateMap, FieldMask updateMask, CallSettings callSettings = null)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
certificateMap | CertificateMap Required. A definition of the certificate map to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMap certificateMap = new CertificateMap();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(certificateMap, updateMask);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapAsync(CertificateMap, FieldMask, CancellationToken)
public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(CertificateMap certificateMap, FieldMask updateMask, CancellationToken cancellationToken)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
certificateMap | CertificateMap Required. A definition of the certificate map to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMap certificateMap = new CertificateMap();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(certificateMap, updateMask);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapAsync(UpdateCertificateMapRequest, CallSettings)
public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(UpdateCertificateMapRequest request, CallSettings callSettings = null)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateMapRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapRequest request = new UpdateCertificateMapRequest
{
CertificateMap = new CertificateMap(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapAsync(UpdateCertificateMapRequest, CancellationToken)
public virtual Task<Operation<CertificateMap, OperationMetadata>> UpdateCertificateMapAsync(UpdateCertificateMapRequest request, CancellationToken cancellationToken)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateMapRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapRequest request = new UpdateCertificateMapRequest
{
CertificateMap = new CertificateMap(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMap, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMap, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMap 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<CertificateMap, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMap retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapEntry(CertificateMapEntry, FieldMask, CallSettings)
public virtual Operation<CertificateMapEntry, OperationMetadata> UpdateCertificateMapEntry(CertificateMapEntry certificateMapEntry, FieldMask updateMask, CallSettings callSettings = null)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create map entry. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapEntryOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.UpdateCertificateMapEntry(certificateMapEntry, updateMask);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapEntry(UpdateCertificateMapEntryRequest, CallSettings)
public virtual Operation<CertificateMapEntry, OperationMetadata> UpdateCertificateMapEntry(UpdateCertificateMapEntryRequest request, CallSettings callSettings = null)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationCertificateMapEntryOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateCertificateMapEntryRequest request = new UpdateCertificateMapEntryRequest
{
CertificateMapEntry = new CertificateMapEntry(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = certificateManagerClient.UpdateCertificateMapEntry(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateCertificateMapEntry(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapEntryAsync(CertificateMapEntry, FieldMask, CallSettings)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(CertificateMapEntry certificateMapEntry, FieldMask updateMask, CallSettings callSettings = null)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create map entry. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(certificateMapEntry, updateMask);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapEntryAsync(CertificateMapEntry, FieldMask, CancellationToken)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(CertificateMapEntry certificateMapEntry, FieldMask updateMask, CancellationToken cancellationToken)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
certificateMapEntry | CertificateMapEntry Required. A definition of the certificate map entry to create map entry. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
CertificateMapEntry certificateMapEntry = new CertificateMapEntry();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(certificateMapEntry, updateMask);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest, CallSettings)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest request, CallSettings callSettings = null)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapEntryRequest request = new UpdateCertificateMapEntryRequest
{
CertificateMapEntry = new CertificateMapEntry(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest, CancellationToken)
public virtual Task<Operation<CertificateMapEntry, OperationMetadata>> UpdateCertificateMapEntryAsync(UpdateCertificateMapEntryRequest request, CancellationToken cancellationToken)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request | UpdateCertificateMapEntryRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationCertificateMapEntryOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateCertificateMapEntryRequest request = new UpdateCertificateMapEntryRequest
{
CertificateMapEntry = new CertificateMapEntry(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<CertificateMapEntry, OperationMetadata> response = await certificateManagerClient.UpdateCertificateMapEntryAsync(request);
// Poll until the returned long-running operation is complete
Operation<CertificateMapEntry, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CertificateMapEntry 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<CertificateMapEntry, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateCertificateMapEntryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CertificateMapEntry retrievedResult = retrievedResponse.Result;
}
UpdateDnsAuthorization(DnsAuthorization, FieldMask, CallSettings)
public virtual Operation<DnsAuthorization, OperationMetadata> UpdateDnsAuthorization(DnsAuthorization dnsAuthorization, FieldMask updateMask, CallSettings callSettings = null)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDnsAuthorizationOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
DnsAuthorization dnsAuthorization = new DnsAuthorization();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.UpdateDnsAuthorization(dnsAuthorization, updateMask);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
UpdateDnsAuthorization(UpdateDnsAuthorizationRequest, CallSettings)
public virtual Operation<DnsAuthorization, OperationMetadata> UpdateDnsAuthorization(UpdateDnsAuthorizationRequest request, CallSettings callSettings = null)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | UpdateDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationDnsAuthorizationOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateDnsAuthorizationRequest request = new UpdateDnsAuthorizationRequest
{
DnsAuthorization = new DnsAuthorization(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = certificateManagerClient.UpdateDnsAuthorization(request);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateDnsAuthorization(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
UpdateDnsAuthorizationAsync(DnsAuthorization, FieldMask, CallSettings)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(DnsAuthorization dnsAuthorization, FieldMask updateMask, CallSettings callSettings = null)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorization dnsAuthorization = new DnsAuthorization();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(dnsAuthorization, updateMask);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
UpdateDnsAuthorizationAsync(DnsAuthorization, FieldMask, CancellationToken)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(DnsAuthorization dnsAuthorization, FieldMask updateMask, CancellationToken cancellationToken)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
dnsAuthorization | DnsAuthorization Required. A definition of the dns authorization to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
DnsAuthorization dnsAuthorization = new DnsAuthorization();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(dnsAuthorization, updateMask);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest, CallSettings)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest request, CallSettings callSettings = null)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | UpdateDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateDnsAuthorizationRequest request = new UpdateDnsAuthorizationRequest
{
DnsAuthorization = new DnsAuthorization(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(request);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest, CancellationToken)
public virtual Task<Operation<DnsAuthorization, OperationMetadata>> UpdateDnsAuthorizationAsync(UpdateDnsAuthorizationRequest request, CancellationToken cancellationToken)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request | UpdateDnsAuthorizationRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationDnsAuthorizationOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateDnsAuthorizationRequest request = new UpdateDnsAuthorizationRequest
{
DnsAuthorization = new DnsAuthorization(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<DnsAuthorization, OperationMetadata> response = await certificateManagerClient.UpdateDnsAuthorizationAsync(request);
// Poll until the returned long-running operation is complete
Operation<DnsAuthorization, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
DnsAuthorization 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<DnsAuthorization, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateDnsAuthorizationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
DnsAuthorization retrievedResult = retrievedResponse.Result;
}
UpdateTrustConfig(TrustConfig, FieldMask, CallSettings)
public virtual Operation<TrustConfig, OperationMetadata> UpdateTrustConfig(TrustConfig trustConfig, FieldMask updateMask, CallSettings callSettings = null)
Updates a TrustConfig.
Parameters | |
---|---|
Name | Description |
trustConfig | TrustConfig Required. A definition of the TrustConfig to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTrustConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
TrustConfig trustConfig = new TrustConfig();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<TrustConfig, OperationMetadata> response = certificateManagerClient.UpdateTrustConfig(trustConfig, updateMask);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateTrustConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
UpdateTrustConfig(UpdateTrustConfigRequest, CallSettings)
public virtual Operation<TrustConfig, OperationMetadata> UpdateTrustConfig(UpdateTrustConfigRequest request, CallSettings callSettings = null)
Updates a TrustConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationTrustConfigOperationMetadata | The RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = CertificateManagerClient.Create();
// Initialize request argument(s)
UpdateTrustConfigRequest request = new UpdateTrustConfigRequest
{
TrustConfig = new TrustConfig(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<TrustConfig, OperationMetadata> response = certificateManagerClient.UpdateTrustConfig(request);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = certificateManagerClient.PollOnceUpdateTrustConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
UpdateTrustConfigAsync(TrustConfig, FieldMask, CallSettings)
public virtual Task<Operation<TrustConfig, OperationMetadata>> UpdateTrustConfigAsync(TrustConfig trustConfig, FieldMask updateMask, CallSettings callSettings = null)
Updates a TrustConfig.
Parameters | |
---|---|
Name | Description |
trustConfig | TrustConfig Required. A definition of the TrustConfig to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfig trustConfig = new TrustConfig();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.UpdateTrustConfigAsync(trustConfig, updateMask);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
UpdateTrustConfigAsync(TrustConfig, FieldMask, CancellationToken)
public virtual Task<Operation<TrustConfig, OperationMetadata>> UpdateTrustConfigAsync(TrustConfig trustConfig, FieldMask updateMask, CancellationToken cancellationToken)
Updates a TrustConfig.
Parameters | |
---|---|
Name | Description |
trustConfig | TrustConfig Required. A definition of the TrustConfig to update. |
updateMask | FieldMask Required. The update mask applies to the resource. For the |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
TrustConfig trustConfig = new TrustConfig();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.UpdateTrustConfigAsync(trustConfig, updateMask);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
UpdateTrustConfigAsync(UpdateTrustConfigRequest, CallSettings)
public virtual Task<Operation<TrustConfig, OperationMetadata>> UpdateTrustConfigAsync(UpdateTrustConfigRequest request, CallSettings callSettings = null)
Updates a TrustConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateTrustConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateTrustConfigRequest request = new UpdateTrustConfigRequest
{
TrustConfig = new TrustConfig(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.UpdateTrustConfigAsync(request);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}
UpdateTrustConfigAsync(UpdateTrustConfigRequest, CancellationToken)
public virtual Task<Operation<TrustConfig, OperationMetadata>> UpdateTrustConfigAsync(UpdateTrustConfigRequest request, CancellationToken cancellationToken)
Updates a TrustConfig.
Parameters | |
---|---|
Name | Description |
request | UpdateTrustConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationTrustConfigOperationMetadata | A Task containing the RPC response. |
// Create client
CertificateManagerClient certificateManagerClient = await CertificateManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateTrustConfigRequest request = new UpdateTrustConfigRequest
{
TrustConfig = new TrustConfig(),
UpdateMask = new FieldMask(),
};
// Make the request
Operation<TrustConfig, OperationMetadata> response = await certificateManagerClient.UpdateTrustConfigAsync(request);
// Poll until the returned long-running operation is complete
Operation<TrustConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
TrustConfig 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<TrustConfig, OperationMetadata> retrievedResponse = await certificateManagerClient.PollOnceUpdateTrustConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
TrustConfig retrievedResult = retrievedResponse.Result;
}