public abstract class ParameterManagerClient
Reference documentation and code samples for the Parameter Manager v1 API class ParameterManagerClient.
ParameterManager client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.ParameterManager.V1Assembly
Google.Cloud.ParameterManager.V1.dll
Remarks
Service describing handlers for resources
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the ParameterManager service, which is a host of "parametermanager.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
string |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default ParameterManager scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyListstring |
The default ParameterManager scopes are:
GrpcClient
public virtual ParameterManager.ParameterManagerClient GrpcClient { get; }
The underlying gRPC ParameterManager client
Property Value | |
---|---|
Type | Description |
ParameterManagerParameterManagerClient |
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 |
Methods
Create()
public static ParameterManagerClient Create()
Synchronously creates a ParameterManagerClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use ParameterManagerClientBuilder.
Returns | |
---|---|
Type | Description |
ParameterManagerClient |
The created ParameterManagerClient. |
CreateAsync(CancellationToken)
public static Task<ParameterManagerClient> CreateAsync(CancellationToken cancellationToken = default)
Asynchronously creates a ParameterManagerClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use ParameterManagerClientBuilder.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
TaskParameterManagerClient |
The task representing the created ParameterManagerClient. |
CreateParameter(LocationName, Parameter, string, CallSettings)
public virtual Parameter CreateParameter(LocationName parent, Parameter parameter, string parameterId, CallSettings callSettings = null)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent in the format
|
parameter |
Parameter Required. The Parameter resource being created |
parameterId |
string Required. Id of the Parameter resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Parameter parameter = new Parameter();
string parameterId = "";
// Make the request
Parameter response = parameterManagerClient.CreateParameter(parent, parameter, parameterId);
CreateParameter(CreateParameterRequest, CallSettings)
public virtual Parameter CreateParameter(CreateParameterRequest request, CallSettings callSettings = null)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateParameterRequest 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 |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
CreateParameterRequest request = new CreateParameterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ParameterId = "",
Parameter = new Parameter(),
RequestId = "",
};
// Make the request
Parameter response = parameterManagerClient.CreateParameter(request);
CreateParameter(string, Parameter, string, CallSettings)
public virtual Parameter CreateParameter(string parent, Parameter parameter, string parameterId, CallSettings callSettings = null)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent in the format
|
parameter |
Parameter Required. The Parameter resource being created |
parameterId |
string Required. Id of the Parameter resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Parameter parameter = new Parameter();
string parameterId = "";
// Make the request
Parameter response = parameterManagerClient.CreateParameter(parent, parameter, parameterId);
CreateParameterAsync(LocationName, Parameter, string, CallSettings)
public virtual Task<Parameter> CreateParameterAsync(LocationName parent, Parameter parameter, string parameterId, CallSettings callSettings = null)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent in the format
|
parameter |
Parameter Required. The Parameter resource being created |
parameterId |
string Required. Id of the Parameter resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Parameter parameter = new Parameter();
string parameterId = "";
// Make the request
Parameter response = await parameterManagerClient.CreateParameterAsync(parent, parameter, parameterId);
CreateParameterAsync(LocationName, Parameter, string, CancellationToken)
public virtual Task<Parameter> CreateParameterAsync(LocationName parent, Parameter parameter, string parameterId, CancellationToken cancellationToken)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Value for parent in the format
|
parameter |
Parameter Required. The Parameter resource being created |
parameterId |
string Required. Id of the Parameter resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Parameter parameter = new Parameter();
string parameterId = "";
// Make the request
Parameter response = await parameterManagerClient.CreateParameterAsync(parent, parameter, parameterId);
CreateParameterAsync(CreateParameterRequest, CallSettings)
public virtual Task<Parameter> CreateParameterAsync(CreateParameterRequest request, CallSettings callSettings = null)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateParameterRequest 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 |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateParameterRequest request = new CreateParameterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ParameterId = "",
Parameter = new Parameter(),
RequestId = "",
};
// Make the request
Parameter response = await parameterManagerClient.CreateParameterAsync(request);
CreateParameterAsync(CreateParameterRequest, CancellationToken)
public virtual Task<Parameter> CreateParameterAsync(CreateParameterRequest request, CancellationToken cancellationToken)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateParameterRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateParameterRequest request = new CreateParameterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
ParameterId = "",
Parameter = new Parameter(),
RequestId = "",
};
// Make the request
Parameter response = await parameterManagerClient.CreateParameterAsync(request);
CreateParameterAsync(string, Parameter, string, CallSettings)
public virtual Task<Parameter> CreateParameterAsync(string parent, Parameter parameter, string parameterId, CallSettings callSettings = null)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent in the format
|
parameter |
Parameter Required. The Parameter resource being created |
parameterId |
string Required. Id of the Parameter resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Parameter parameter = new Parameter();
string parameterId = "";
// Make the request
Parameter response = await parameterManagerClient.CreateParameterAsync(parent, parameter, parameterId);
CreateParameterAsync(string, Parameter, string, CancellationToken)
public virtual Task<Parameter> CreateParameterAsync(string parent, Parameter parameter, string parameterId, CancellationToken cancellationToken)
Creates a new Parameter in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent in the format
|
parameter |
Parameter Required. The Parameter resource being created |
parameterId |
string Required. Id of the Parameter resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Parameter parameter = new Parameter();
string parameterId = "";
// Make the request
Parameter response = await parameterManagerClient.CreateParameterAsync(parent, parameter, parameterId);
CreateParameterVersion(CreateParameterVersionRequest, CallSettings)
public virtual ParameterVersion CreateParameterVersion(CreateParameterVersionRequest request, CallSettings callSettings = null)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
request |
CreateParameterVersionRequest 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 |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
CreateParameterVersionRequest request = new CreateParameterVersionRequest
{
ParentAsParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
ParameterVersionId = "",
ParameterVersion = new ParameterVersion(),
RequestId = "",
};
// Make the request
ParameterVersion response = parameterManagerClient.CreateParameterVersion(request);
CreateParameterVersion(ParameterName, ParameterVersion, string, CallSettings)
public virtual ParameterVersion CreateParameterVersion(ParameterName parent, ParameterVersion parameterVersion, string parameterVersionId, CallSettings callSettings = null)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
ParameterName Required. Value for parent in the format
|
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being created |
parameterVersionId |
string Required. Id of the ParameterVersion resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterName parent = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
ParameterVersion parameterVersion = new ParameterVersion();
string parameterVersionId = "";
// Make the request
ParameterVersion response = parameterManagerClient.CreateParameterVersion(parent, parameterVersion, parameterVersionId);
CreateParameterVersion(string, ParameterVersion, string, CallSettings)
public virtual ParameterVersion CreateParameterVersion(string parent, ParameterVersion parameterVersion, string parameterVersionId, CallSettings callSettings = null)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent in the format
|
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being created |
parameterVersionId |
string Required. Id of the ParameterVersion resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
ParameterVersion parameterVersion = new ParameterVersion();
string parameterVersionId = "";
// Make the request
ParameterVersion response = parameterManagerClient.CreateParameterVersion(parent, parameterVersion, parameterVersionId);
CreateParameterVersionAsync(CreateParameterVersionRequest, CallSettings)
public virtual Task<ParameterVersion> CreateParameterVersionAsync(CreateParameterVersionRequest request, CallSettings callSettings = null)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
request |
CreateParameterVersionRequest 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 |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateParameterVersionRequest request = new CreateParameterVersionRequest
{
ParentAsParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
ParameterVersionId = "",
ParameterVersion = new ParameterVersion(),
RequestId = "",
};
// Make the request
ParameterVersion response = await parameterManagerClient.CreateParameterVersionAsync(request);
CreateParameterVersionAsync(CreateParameterVersionRequest, CancellationToken)
public virtual Task<ParameterVersion> CreateParameterVersionAsync(CreateParameterVersionRequest request, CancellationToken cancellationToken)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
request |
CreateParameterVersionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
CreateParameterVersionRequest request = new CreateParameterVersionRequest
{
ParentAsParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
ParameterVersionId = "",
ParameterVersion = new ParameterVersion(),
RequestId = "",
};
// Make the request
ParameterVersion response = await parameterManagerClient.CreateParameterVersionAsync(request);
CreateParameterVersionAsync(ParameterName, ParameterVersion, string, CallSettings)
public virtual Task<ParameterVersion> CreateParameterVersionAsync(ParameterName parent, ParameterVersion parameterVersion, string parameterVersionId, CallSettings callSettings = null)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
ParameterName Required. Value for parent in the format
|
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being created |
parameterVersionId |
string Required. Id of the ParameterVersion resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterName parent = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
ParameterVersion parameterVersion = new ParameterVersion();
string parameterVersionId = "";
// Make the request
ParameterVersion response = await parameterManagerClient.CreateParameterVersionAsync(parent, parameterVersion, parameterVersionId);
CreateParameterVersionAsync(ParameterName, ParameterVersion, string, CancellationToken)
public virtual Task<ParameterVersion> CreateParameterVersionAsync(ParameterName parent, ParameterVersion parameterVersion, string parameterVersionId, CancellationToken cancellationToken)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
ParameterName Required. Value for parent in the format
|
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being created |
parameterVersionId |
string Required. Id of the ParameterVersion resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterName parent = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
ParameterVersion parameterVersion = new ParameterVersion();
string parameterVersionId = "";
// Make the request
ParameterVersion response = await parameterManagerClient.CreateParameterVersionAsync(parent, parameterVersion, parameterVersionId);
CreateParameterVersionAsync(string, ParameterVersion, string, CallSettings)
public virtual Task<ParameterVersion> CreateParameterVersionAsync(string parent, ParameterVersion parameterVersion, string parameterVersionId, CallSettings callSettings = null)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent in the format
|
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being created |
parameterVersionId |
string Required. Id of the ParameterVersion resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
ParameterVersion parameterVersion = new ParameterVersion();
string parameterVersionId = "";
// Make the request
ParameterVersion response = await parameterManagerClient.CreateParameterVersionAsync(parent, parameterVersion, parameterVersionId);
CreateParameterVersionAsync(string, ParameterVersion, string, CancellationToken)
public virtual Task<ParameterVersion> CreateParameterVersionAsync(string parent, ParameterVersion parameterVersion, string parameterVersionId, CancellationToken cancellationToken)
Creates a new ParameterVersion in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Value for parent in the format
|
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being created |
parameterVersionId |
string Required. Id of the ParameterVersion resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
ParameterVersion parameterVersion = new ParameterVersion();
string parameterVersionId = "";
// Make the request
ParameterVersion response = await parameterManagerClient.CreateParameterVersionAsync(parent, parameterVersion, parameterVersionId);
DeleteParameter(DeleteParameterRequest, CallSettings)
public virtual void DeleteParameter(DeleteParameterRequest request, CallSettings callSettings = null)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
DeleteParameterRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
DeleteParameterRequest request = new DeleteParameterRequest
{
ParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
RequestId = "",
};
// Make the request
parameterManagerClient.DeleteParameter(request);
DeleteParameter(ParameterName, CallSettings)
public virtual void DeleteParameter(ParameterName name, CallSettings callSettings = null)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
ParameterName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterName name = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
parameterManagerClient.DeleteParameter(name);
DeleteParameter(string, CallSettings)
public virtual void DeleteParameter(string name, CallSettings callSettings = null)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
parameterManagerClient.DeleteParameter(name);
DeleteParameterAsync(DeleteParameterRequest, CallSettings)
public virtual Task DeleteParameterAsync(DeleteParameterRequest request, CallSettings callSettings = null)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
DeleteParameterRequest 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 |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteParameterRequest request = new DeleteParameterRequest
{
ParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
RequestId = "",
};
// Make the request
await parameterManagerClient.DeleteParameterAsync(request);
DeleteParameterAsync(DeleteParameterRequest, CancellationToken)
public virtual Task DeleteParameterAsync(DeleteParameterRequest request, CancellationToken cancellationToken)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
DeleteParameterRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteParameterRequest request = new DeleteParameterRequest
{
ParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
RequestId = "",
};
// Make the request
await parameterManagerClient.DeleteParameterAsync(request);
DeleteParameterAsync(ParameterName, CallSettings)
public virtual Task DeleteParameterAsync(ParameterName name, CallSettings callSettings = null)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
ParameterName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterName name = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
await parameterManagerClient.DeleteParameterAsync(name);
DeleteParameterAsync(ParameterName, CancellationToken)
public virtual Task DeleteParameterAsync(ParameterName name, CancellationToken cancellationToken)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
ParameterName Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterName name = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
await parameterManagerClient.DeleteParameterAsync(name);
DeleteParameterAsync(string, CallSettings)
public virtual Task DeleteParameterAsync(string name, CallSettings callSettings = null)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
await parameterManagerClient.DeleteParameterAsync(name);
DeleteParameterAsync(string, CancellationToken)
public virtual Task DeleteParameterAsync(string name, CancellationToken cancellationToken)
Deletes a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
await parameterManagerClient.DeleteParameterAsync(name);
DeleteParameterVersion(DeleteParameterVersionRequest, CallSettings)
public virtual void DeleteParameterVersion(DeleteParameterVersionRequest request, CallSettings callSettings = null)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
DeleteParameterVersionRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
DeleteParameterVersionRequest request = new DeleteParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
RequestId = "",
};
// Make the request
parameterManagerClient.DeleteParameterVersion(request);
DeleteParameterVersion(ParameterVersionName, CallSettings)
public virtual void DeleteParameterVersion(ParameterVersionName name, CallSettings callSettings = null)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
parameterManagerClient.DeleteParameterVersion(name);
DeleteParameterVersion(string, CallSettings)
public virtual void DeleteParameterVersion(string name, CallSettings callSettings = null)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
parameterManagerClient.DeleteParameterVersion(name);
DeleteParameterVersionAsync(DeleteParameterVersionRequest, CallSettings)
public virtual Task DeleteParameterVersionAsync(DeleteParameterVersionRequest request, CallSettings callSettings = null)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
DeleteParameterVersionRequest 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 |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteParameterVersionRequest request = new DeleteParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
RequestId = "",
};
// Make the request
await parameterManagerClient.DeleteParameterVersionAsync(request);
DeleteParameterVersionAsync(DeleteParameterVersionRequest, CancellationToken)
public virtual Task DeleteParameterVersionAsync(DeleteParameterVersionRequest request, CancellationToken cancellationToken)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
DeleteParameterVersionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
DeleteParameterVersionRequest request = new DeleteParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
RequestId = "",
};
// Make the request
await parameterManagerClient.DeleteParameterVersionAsync(request);
DeleteParameterVersionAsync(ParameterVersionName, CallSettings)
public virtual Task DeleteParameterVersionAsync(ParameterVersionName name, CallSettings callSettings = null)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
await parameterManagerClient.DeleteParameterVersionAsync(name);
DeleteParameterVersionAsync(ParameterVersionName, CancellationToken)
public virtual Task DeleteParameterVersionAsync(ParameterVersionName name, CancellationToken cancellationToken)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
await parameterManagerClient.DeleteParameterVersionAsync(name);
DeleteParameterVersionAsync(string, CallSettings)
public virtual Task DeleteParameterVersionAsync(string name, CallSettings callSettings = null)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
await parameterManagerClient.DeleteParameterVersionAsync(name);
DeleteParameterVersionAsync(string, CancellationToken)
public virtual Task DeleteParameterVersionAsync(string name, CancellationToken cancellationToken)
Deletes a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
await parameterManagerClient.DeleteParameterVersionAsync(name);
GetParameter(GetParameterRequest, CallSettings)
public virtual Parameter GetParameter(GetParameterRequest request, CallSettings callSettings = null)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
GetParameterRequest 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 |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
GetParameterRequest request = new GetParameterRequest
{
ParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
};
// Make the request
Parameter response = parameterManagerClient.GetParameter(request);
GetParameter(ParameterName, CallSettings)
public virtual Parameter GetParameter(ParameterName name, CallSettings callSettings = null)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
ParameterName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterName name = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
Parameter response = parameterManagerClient.GetParameter(name);
GetParameter(string, CallSettings)
public virtual Parameter GetParameter(string name, CallSettings callSettings = null)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
Parameter response = parameterManagerClient.GetParameter(name);
GetParameterAsync(GetParameterRequest, CallSettings)
public virtual Task<Parameter> GetParameterAsync(GetParameterRequest request, CallSettings callSettings = null)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
GetParameterRequest 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 |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
GetParameterRequest request = new GetParameterRequest
{
ParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
};
// Make the request
Parameter response = await parameterManagerClient.GetParameterAsync(request);
GetParameterAsync(GetParameterRequest, CancellationToken)
public virtual Task<Parameter> GetParameterAsync(GetParameterRequest request, CancellationToken cancellationToken)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
GetParameterRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
GetParameterRequest request = new GetParameterRequest
{
ParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
};
// Make the request
Parameter response = await parameterManagerClient.GetParameterAsync(request);
GetParameterAsync(ParameterName, CallSettings)
public virtual Task<Parameter> GetParameterAsync(ParameterName name, CallSettings callSettings = null)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
ParameterName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterName name = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
Parameter response = await parameterManagerClient.GetParameterAsync(name);
GetParameterAsync(ParameterName, CancellationToken)
public virtual Task<Parameter> GetParameterAsync(ParameterName name, CancellationToken cancellationToken)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
ParameterName Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterName name = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
Parameter response = await parameterManagerClient.GetParameterAsync(name);
GetParameterAsync(string, CallSettings)
public virtual Task<Parameter> GetParameterAsync(string name, CallSettings callSettings = null)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
Parameter response = await parameterManagerClient.GetParameterAsync(name);
GetParameterAsync(string, CancellationToken)
public virtual Task<Parameter> GetParameterAsync(string name, CancellationToken cancellationToken)
Gets details of a single Parameter.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
Parameter response = await parameterManagerClient.GetParameterAsync(name);
GetParameterVersion(GetParameterVersionRequest, CallSettings)
public virtual ParameterVersion GetParameterVersion(GetParameterVersionRequest request, CallSettings callSettings = null)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
GetParameterVersionRequest 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 |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
GetParameterVersionRequest request = new GetParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
View = View.Unspecified,
};
// Make the request
ParameterVersion response = parameterManagerClient.GetParameterVersion(request);
GetParameterVersion(ParameterVersionName, CallSettings)
public virtual ParameterVersion GetParameterVersion(ParameterVersionName name, CallSettings callSettings = null)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
ParameterVersion response = parameterManagerClient.GetParameterVersion(name);
GetParameterVersion(string, CallSettings)
public virtual ParameterVersion GetParameterVersion(string name, CallSettings callSettings = null)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
ParameterVersion response = parameterManagerClient.GetParameterVersion(name);
GetParameterVersionAsync(GetParameterVersionRequest, CallSettings)
public virtual Task<ParameterVersion> GetParameterVersionAsync(GetParameterVersionRequest request, CallSettings callSettings = null)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
GetParameterVersionRequest 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 |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
GetParameterVersionRequest request = new GetParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
View = View.Unspecified,
};
// Make the request
ParameterVersion response = await parameterManagerClient.GetParameterVersionAsync(request);
GetParameterVersionAsync(GetParameterVersionRequest, CancellationToken)
public virtual Task<ParameterVersion> GetParameterVersionAsync(GetParameterVersionRequest request, CancellationToken cancellationToken)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
GetParameterVersionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
GetParameterVersionRequest request = new GetParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
View = View.Unspecified,
};
// Make the request
ParameterVersion response = await parameterManagerClient.GetParameterVersionAsync(request);
GetParameterVersionAsync(ParameterVersionName, CallSettings)
public virtual Task<ParameterVersion> GetParameterVersionAsync(ParameterVersionName name, CallSettings callSettings = null)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
ParameterVersion response = await parameterManagerClient.GetParameterVersionAsync(name);
GetParameterVersionAsync(ParameterVersionName, CancellationToken)
public virtual Task<ParameterVersion> GetParameterVersionAsync(ParameterVersionName name, CancellationToken cancellationToken)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
ParameterVersion response = await parameterManagerClient.GetParameterVersionAsync(name);
GetParameterVersionAsync(string, CallSettings)
public virtual Task<ParameterVersion> GetParameterVersionAsync(string name, CallSettings callSettings = null)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
ParameterVersion response = await parameterManagerClient.GetParameterVersionAsync(name);
GetParameterVersionAsync(string, CancellationToken)
public virtual Task<ParameterVersion> GetParameterVersionAsync(string name, CancellationToken cancellationToken)
Gets details of a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource in the format
|
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
ParameterVersion response = await parameterManagerClient.GetParameterVersionAsync(name);
ListParameterVersions(ListParameterVersionsRequest, CallSettings)
public virtual PagedEnumerable<ListParameterVersionsResponse, ParameterVersion> ListParameterVersions(ListParameterVersionsRequest request, CallSettings callSettings = null)
Lists ParameterVersions in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
request |
ListParameterVersionsRequest 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 |
PagedEnumerableListParameterVersionsResponseParameterVersion |
A pageable sequence of ParameterVersion resources. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ListParameterVersionsRequest request = new ListParameterVersionsRequest
{
ParentAsParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListParameterVersionsResponse, ParameterVersion> response = parameterManagerClient.ListParameterVersions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (ParameterVersion 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 (ListParameterVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ParameterVersion 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<ParameterVersion> 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 (ParameterVersion 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;
ListParameterVersions(ParameterName, string, int?, CallSettings)
public virtual PagedEnumerable<ListParameterVersionsResponse, ParameterVersion> ListParameterVersions(ParameterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists ParameterVersions in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
ParameterName Required. Parent value for ListParameterVersionsRequest 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 |
PagedEnumerableListParameterVersionsResponseParameterVersion |
A pageable sequence of ParameterVersion resources. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterName parent = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
PagedEnumerable<ListParameterVersionsResponse, ParameterVersion> response = parameterManagerClient.ListParameterVersions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ParameterVersion 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 (ListParameterVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ParameterVersion 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<ParameterVersion> 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 (ParameterVersion 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;
ListParameterVersions(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListParameterVersionsResponse, ParameterVersion> ListParameterVersions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists ParameterVersions in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListParameterVersionsRequest 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 |
PagedEnumerableListParameterVersionsResponseParameterVersion |
A pageable sequence of ParameterVersion resources. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
PagedEnumerable<ListParameterVersionsResponse, ParameterVersion> response = parameterManagerClient.ListParameterVersions(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (ParameterVersion 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 (ListParameterVersionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ParameterVersion 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<ParameterVersion> 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 (ParameterVersion 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;
ListParameterVersionsAsync(ListParameterVersionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListParameterVersionsResponse, ParameterVersion> ListParameterVersionsAsync(ListParameterVersionsRequest request, CallSettings callSettings = null)
Lists ParameterVersions in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
request |
ListParameterVersionsRequest 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 |
PagedAsyncEnumerableListParameterVersionsResponseParameterVersion |
A pageable asynchronous sequence of ParameterVersion resources. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ListParameterVersionsRequest request = new ListParameterVersionsRequest
{
ParentAsParameterName = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListParameterVersionsResponse, ParameterVersion> response = parameterManagerClient.ListParameterVersionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ParameterVersion 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((ListParameterVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ParameterVersion 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<ParameterVersion> 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 (ParameterVersion 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;
ListParameterVersionsAsync(ParameterName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListParameterVersionsResponse, ParameterVersion> ListParameterVersionsAsync(ParameterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists ParameterVersions in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
ParameterName Required. Parent value for ListParameterVersionsRequest 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 |
PagedAsyncEnumerableListParameterVersionsResponseParameterVersion |
A pageable asynchronous sequence of ParameterVersion resources. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterName parent = ParameterName.FromProjectLocationParameter("[PROJECT]", "[LOCATION]", "[PARAMETER]");
// Make the request
PagedAsyncEnumerable<ListParameterVersionsResponse, ParameterVersion> response = parameterManagerClient.ListParameterVersionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ParameterVersion 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((ListParameterVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ParameterVersion 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<ParameterVersion> 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 (ParameterVersion 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;
ListParameterVersionsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListParameterVersionsResponse, ParameterVersion> ListParameterVersionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists ParameterVersions in a given project, location, and parameter.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListParameterVersionsRequest 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 |
PagedAsyncEnumerableListParameterVersionsResponseParameterVersion |
A pageable asynchronous sequence of ParameterVersion resources. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]";
// Make the request
PagedAsyncEnumerable<ListParameterVersionsResponse, ParameterVersion> response = parameterManagerClient.ListParameterVersionsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ParameterVersion 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((ListParameterVersionsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (ParameterVersion 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<ParameterVersion> 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 (ParameterVersion 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;
ListParameters(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListParametersResponse, Parameter> ListParameters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Parameters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value for ListParametersRequest 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 |
PagedEnumerableListParametersResponseParameter |
A pageable sequence of Parameter resources. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListParametersResponse, Parameter> response = parameterManagerClient.ListParameters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Parameter 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 (ListParametersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Parameter 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<Parameter> 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 (Parameter 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;
ListParameters(ListParametersRequest, CallSettings)
public virtual PagedEnumerable<ListParametersResponse, Parameter> ListParameters(ListParametersRequest request, CallSettings callSettings = null)
Lists Parameters in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListParametersRequest 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 |
PagedEnumerableListParametersResponseParameter |
A pageable sequence of Parameter resources. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ListParametersRequest request = new ListParametersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListParametersResponse, Parameter> response = parameterManagerClient.ListParameters(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Parameter 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 (ListParametersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Parameter 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<Parameter> 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 (Parameter 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;
ListParameters(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListParametersResponse, Parameter> ListParameters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Parameters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListParametersRequest 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 |
PagedEnumerableListParametersResponseParameter |
A pageable sequence of Parameter resources. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListParametersResponse, Parameter> response = parameterManagerClient.ListParameters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Parameter 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 (ListParametersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Parameter 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<Parameter> 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 (Parameter 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;
ListParametersAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListParametersResponse, Parameter> ListParametersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Parameters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
LocationName Required. Parent value for ListParametersRequest 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 |
PagedAsyncEnumerableListParametersResponseParameter |
A pageable asynchronous sequence of Parameter resources. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListParametersResponse, Parameter> response = parameterManagerClient.ListParametersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Parameter 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((ListParametersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Parameter 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<Parameter> 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 (Parameter 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;
ListParametersAsync(ListParametersRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListParametersResponse, Parameter> ListParametersAsync(ListParametersRequest request, CallSettings callSettings = null)
Lists Parameters in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListParametersRequest 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 |
PagedAsyncEnumerableListParametersResponseParameter |
A pageable asynchronous sequence of Parameter resources. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ListParametersRequest request = new ListParametersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListParametersResponse, Parameter> response = parameterManagerClient.ListParametersAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Parameter 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((ListParametersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Parameter 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<Parameter> 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 (Parameter 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;
ListParametersAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListParametersResponse, Parameter> ListParametersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists Parameters in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
string Required. Parent value for ListParametersRequest 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 |
PagedAsyncEnumerableListParametersResponseParameter |
A pageable asynchronous sequence of Parameter resources. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListParametersResponse, Parameter> response = parameterManagerClient.ListParametersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Parameter 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((ListParametersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Parameter 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<Parameter> 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 (Parameter 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;
RenderParameterVersion(ParameterVersionName, CallSettings)
public virtual RenderParameterVersionResponse RenderParameterVersion(ParameterVersionName name, CallSettings callSettings = null)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
RenderParameterVersionResponse |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
RenderParameterVersionResponse response = parameterManagerClient.RenderParameterVersion(name);
RenderParameterVersion(RenderParameterVersionRequest, CallSettings)
public virtual RenderParameterVersionResponse RenderParameterVersion(RenderParameterVersionRequest request, CallSettings callSettings = null)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
RenderParameterVersionRequest 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 |
RenderParameterVersionResponse |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
RenderParameterVersionRequest request = new RenderParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
};
// Make the request
RenderParameterVersionResponse response = parameterManagerClient.RenderParameterVersion(request);
RenderParameterVersion(string, CallSettings)
public virtual RenderParameterVersionResponse RenderParameterVersion(string name, CallSettings callSettings = null)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
RenderParameterVersionResponse |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
RenderParameterVersionResponse response = parameterManagerClient.RenderParameterVersion(name);
RenderParameterVersionAsync(ParameterVersionName, CallSettings)
public virtual Task<RenderParameterVersionResponse> RenderParameterVersionAsync(ParameterVersionName name, CallSettings callSettings = null)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskRenderParameterVersionResponse |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
RenderParameterVersionResponse response = await parameterManagerClient.RenderParameterVersionAsync(name);
RenderParameterVersionAsync(ParameterVersionName, CancellationToken)
public virtual Task<RenderParameterVersionResponse> RenderParameterVersionAsync(ParameterVersionName name, CancellationToken cancellationToken)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
ParameterVersionName Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskRenderParameterVersionResponse |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersionName name = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]");
// Make the request
RenderParameterVersionResponse response = await parameterManagerClient.RenderParameterVersionAsync(name);
RenderParameterVersionAsync(RenderParameterVersionRequest, CallSettings)
public virtual Task<RenderParameterVersionResponse> RenderParameterVersionAsync(RenderParameterVersionRequest request, CallSettings callSettings = null)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
RenderParameterVersionRequest 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 |
TaskRenderParameterVersionResponse |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
RenderParameterVersionRequest request = new RenderParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
};
// Make the request
RenderParameterVersionResponse response = await parameterManagerClient.RenderParameterVersionAsync(request);
RenderParameterVersionAsync(RenderParameterVersionRequest, CancellationToken)
public virtual Task<RenderParameterVersionResponse> RenderParameterVersionAsync(RenderParameterVersionRequest request, CancellationToken cancellationToken)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
RenderParameterVersionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskRenderParameterVersionResponse |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
RenderParameterVersionRequest request = new RenderParameterVersionRequest
{
ParameterVersionName = ParameterVersionName.FromProjectLocationParameterParameterVersion("[PROJECT]", "[LOCATION]", "[PARAMETER]", "[PARAMETER_VERSION]"),
};
// Make the request
RenderParameterVersionResponse response = await parameterManagerClient.RenderParameterVersionAsync(request);
RenderParameterVersionAsync(string, CallSettings)
public virtual Task<RenderParameterVersionResponse> RenderParameterVersionAsync(string name, CallSettings callSettings = null)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskRenderParameterVersionResponse |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
RenderParameterVersionResponse response = await parameterManagerClient.RenderParameterVersionAsync(name);
RenderParameterVersionAsync(string, CancellationToken)
public virtual Task<RenderParameterVersionResponse> RenderParameterVersionAsync(string name, CancellationToken cancellationToken)
Gets rendered version of a ParameterVersion.
Parameters | |
---|---|
Name | Description |
name |
string Required. Name of the resource |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskRenderParameterVersionResponse |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/parameters/[PARAMETER]/versions/[PARAMETER_VERSION]";
// Make the request
RenderParameterVersionResponse response = await parameterManagerClient.RenderParameterVersionAsync(name);
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Returns | |
---|---|
Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateParameter(Parameter, FieldMask, CallSettings)
public virtual Parameter UpdateParameter(Parameter parameter, FieldMask updateMask, CallSettings callSettings = null)
Updates a single Parameter.
Parameters | |
---|---|
Name | Description |
parameter |
Parameter Required. The Parameter resource being updated |
updateMask |
FieldMask Optional. Field mask is used to specify the fields to be overwritten in the Parameter resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
Parameter parameter = new Parameter();
FieldMask updateMask = new FieldMask();
// Make the request
Parameter response = parameterManagerClient.UpdateParameter(parameter, updateMask);
UpdateParameter(UpdateParameterRequest, CallSettings)
public virtual Parameter UpdateParameter(UpdateParameterRequest request, CallSettings callSettings = null)
Updates a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
UpdateParameterRequest 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 |
Parameter |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
UpdateParameterRequest request = new UpdateParameterRequest
{
UpdateMask = new FieldMask(),
Parameter = new Parameter(),
RequestId = "",
};
// Make the request
Parameter response = parameterManagerClient.UpdateParameter(request);
UpdateParameterAsync(Parameter, FieldMask, CallSettings)
public virtual Task<Parameter> UpdateParameterAsync(Parameter parameter, FieldMask updateMask, CallSettings callSettings = null)
Updates a single Parameter.
Parameters | |
---|---|
Name | Description |
parameter |
Parameter Required. The Parameter resource being updated |
updateMask |
FieldMask Optional. Field mask is used to specify the fields to be overwritten in the Parameter resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
Parameter parameter = new Parameter();
FieldMask updateMask = new FieldMask();
// Make the request
Parameter response = await parameterManagerClient.UpdateParameterAsync(parameter, updateMask);
UpdateParameterAsync(Parameter, FieldMask, CancellationToken)
public virtual Task<Parameter> UpdateParameterAsync(Parameter parameter, FieldMask updateMask, CancellationToken cancellationToken)
Updates a single Parameter.
Parameters | |
---|---|
Name | Description |
parameter |
Parameter Required. The Parameter resource being updated |
updateMask |
FieldMask Optional. Field mask is used to specify the fields to be overwritten in the Parameter resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
Parameter parameter = new Parameter();
FieldMask updateMask = new FieldMask();
// Make the request
Parameter response = await parameterManagerClient.UpdateParameterAsync(parameter, updateMask);
UpdateParameterAsync(UpdateParameterRequest, CallSettings)
public virtual Task<Parameter> UpdateParameterAsync(UpdateParameterRequest request, CallSettings callSettings = null)
Updates a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
UpdateParameterRequest 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 |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateParameterRequest request = new UpdateParameterRequest
{
UpdateMask = new FieldMask(),
Parameter = new Parameter(),
RequestId = "",
};
// Make the request
Parameter response = await parameterManagerClient.UpdateParameterAsync(request);
UpdateParameterAsync(UpdateParameterRequest, CancellationToken)
public virtual Task<Parameter> UpdateParameterAsync(UpdateParameterRequest request, CancellationToken cancellationToken)
Updates a single Parameter.
Parameters | |
---|---|
Name | Description |
request |
UpdateParameterRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameter |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateParameterRequest request = new UpdateParameterRequest
{
UpdateMask = new FieldMask(),
Parameter = new Parameter(),
RequestId = "",
};
// Make the request
Parameter response = await parameterManagerClient.UpdateParameterAsync(request);
UpdateParameterVersion(ParameterVersion, FieldMask, CallSettings)
public virtual ParameterVersion UpdateParameterVersion(ParameterVersion parameterVersion, FieldMask updateMask, CallSettings callSettings = null)
Updates a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being updated |
updateMask |
FieldMask Optional. Field mask is used to specify the fields to be overwritten in the ParameterVersion resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
ParameterVersion parameterVersion = new ParameterVersion();
FieldMask updateMask = new FieldMask();
// Make the request
ParameterVersion response = parameterManagerClient.UpdateParameterVersion(parameterVersion, updateMask);
UpdateParameterVersion(UpdateParameterVersionRequest, CallSettings)
public virtual ParameterVersion UpdateParameterVersion(UpdateParameterVersionRequest request, CallSettings callSettings = null)
Updates a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
UpdateParameterVersionRequest 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 |
ParameterVersion |
The RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = ParameterManagerClient.Create();
// Initialize request argument(s)
UpdateParameterVersionRequest request = new UpdateParameterVersionRequest
{
UpdateMask = new FieldMask(),
ParameterVersion = new ParameterVersion(),
RequestId = "",
};
// Make the request
ParameterVersion response = parameterManagerClient.UpdateParameterVersion(request);
UpdateParameterVersionAsync(ParameterVersion, FieldMask, CallSettings)
public virtual Task<ParameterVersion> UpdateParameterVersionAsync(ParameterVersion parameterVersion, FieldMask updateMask, CallSettings callSettings = null)
Updates a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being updated |
updateMask |
FieldMask Optional. Field mask is used to specify the fields to be overwritten in the ParameterVersion resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersion parameterVersion = new ParameterVersion();
FieldMask updateMask = new FieldMask();
// Make the request
ParameterVersion response = await parameterManagerClient.UpdateParameterVersionAsync(parameterVersion, updateMask);
UpdateParameterVersionAsync(ParameterVersion, FieldMask, CancellationToken)
public virtual Task<ParameterVersion> UpdateParameterVersionAsync(ParameterVersion parameterVersion, FieldMask updateMask, CancellationToken cancellationToken)
Updates a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
parameterVersion |
ParameterVersion Required. The ParameterVersion resource being updated |
updateMask |
FieldMask Optional. Field mask is used to specify the fields to be overwritten in the ParameterVersion resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A mutable field will be overwritten if it is in the mask. If the user does not provide a mask then all mutable fields present in the request will be overwritten. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
ParameterVersion parameterVersion = new ParameterVersion();
FieldMask updateMask = new FieldMask();
// Make the request
ParameterVersion response = await parameterManagerClient.UpdateParameterVersionAsync(parameterVersion, updateMask);
UpdateParameterVersionAsync(UpdateParameterVersionRequest, CallSettings)
public virtual Task<ParameterVersion> UpdateParameterVersionAsync(UpdateParameterVersionRequest request, CallSettings callSettings = null)
Updates a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
UpdateParameterVersionRequest 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 |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateParameterVersionRequest request = new UpdateParameterVersionRequest
{
UpdateMask = new FieldMask(),
ParameterVersion = new ParameterVersion(),
RequestId = "",
};
// Make the request
ParameterVersion response = await parameterManagerClient.UpdateParameterVersionAsync(request);
UpdateParameterVersionAsync(UpdateParameterVersionRequest, CancellationToken)
public virtual Task<ParameterVersion> UpdateParameterVersionAsync(UpdateParameterVersionRequest request, CancellationToken cancellationToken)
Updates a single ParameterVersion.
Parameters | |
---|---|
Name | Description |
request |
UpdateParameterVersionRequest The request object containing all of the parameters for the API call. |
cancellationToken |
CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskParameterVersion |
A Task containing the RPC response. |
// Create client
ParameterManagerClient parameterManagerClient = await ParameterManagerClient.CreateAsync();
// Initialize request argument(s)
UpdateParameterVersionRequest request = new UpdateParameterVersionRequest
{
UpdateMask = new FieldMask(),
ParameterVersion = new ParameterVersion(),
RequestId = "",
};
// Make the request
ParameterVersion response = await parameterManagerClient.UpdateParameterVersionAsync(request);