public abstract class MirroringClientReference documentation and code samples for the Network Security v1 API class MirroringClient.
Mirroring client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.NetworkSecurity.V1Assembly
Google.Cloud.NetworkSecurity.V1.dll
Remarks
PM2 is the "out-of-band" flavor of the Network Security Integrations product.
Properties
CreateMirroringDeploymentGroupOperationsClient
public virtual OperationsClient CreateMirroringDeploymentGroupOperationsClient { get; }The long-running operations client for CreateMirroringDeploymentGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateMirroringDeploymentOperationsClient
public virtual OperationsClient CreateMirroringDeploymentOperationsClient { get; }The long-running operations client for CreateMirroringDeployment.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateMirroringEndpointGroupAssociationOperationsClient
public virtual OperationsClient CreateMirroringEndpointGroupAssociationOperationsClient { get; }The long-running operations client for CreateMirroringEndpointGroupAssociation.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateMirroringEndpointGroupOperationsClient
public virtual OperationsClient CreateMirroringEndpointGroupOperationsClient { get; }The long-running operations client for CreateMirroringEndpointGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the Mirroring service, which is a host of "networksecurity.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default Mirroring scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default Mirroring scopes are:
DeleteMirroringDeploymentGroupOperationsClient
public virtual OperationsClient DeleteMirroringDeploymentGroupOperationsClient { get; }The long-running operations client for DeleteMirroringDeploymentGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteMirroringDeploymentOperationsClient
public virtual OperationsClient DeleteMirroringDeploymentOperationsClient { get; }The long-running operations client for DeleteMirroringDeployment.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteMirroringEndpointGroupAssociationOperationsClient
public virtual OperationsClient DeleteMirroringEndpointGroupAssociationOperationsClient { get; }The long-running operations client for DeleteMirroringEndpointGroupAssociation.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteMirroringEndpointGroupOperationsClient
public virtual OperationsClient DeleteMirroringEndpointGroupOperationsClient { get; }The long-running operations client for DeleteMirroringEndpointGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public virtual Mirroring.MirroringClient GrpcClient { get; }The underlying gRPC Mirroring client
| Property Value | |
|---|---|
| Type | Description |
MirroringMirroringClient |
|
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
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 |
|
UpdateMirroringDeploymentGroupOperationsClient
public virtual OperationsClient UpdateMirroringDeploymentGroupOperationsClient { get; }The long-running operations client for UpdateMirroringDeploymentGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateMirroringDeploymentOperationsClient
public virtual OperationsClient UpdateMirroringDeploymentOperationsClient { get; }The long-running operations client for UpdateMirroringDeployment.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateMirroringEndpointGroupAssociationOperationsClient
public virtual OperationsClient UpdateMirroringEndpointGroupAssociationOperationsClient { get; }The long-running operations client for UpdateMirroringEndpointGroupAssociation.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateMirroringEndpointGroupOperationsClient
public virtual OperationsClient UpdateMirroringEndpointGroupOperationsClient { get; }The long-running operations client for UpdateMirroringEndpointGroup.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Create()
public static MirroringClient Create()Synchronously creates a MirroringClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use MirroringClientBuilder.
| Returns | |
|---|---|
| Type | Description |
MirroringClient |
The created MirroringClient. |
CreateAsync(CancellationToken)
public static Task<MirroringClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a MirroringClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use MirroringClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringClient |
The task representing the created MirroringClient. |
CreateMirroringDeployment(LocationName, MirroringDeployment, string, CallSettings)
public virtual Operation<MirroringDeployment, OperationMetadata> CreateMirroringDeployment(LocationName parent, MirroringDeployment mirroringDeployment, string mirroringDeploymentId, CallSettings callSettings = null)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location} |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to create. |
mirroringDeploymentId |
stringRequired. The ID to use for the new deployment, which will become the final component of the deployment's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringDeployment mirroringDeployment = new MirroringDeployment();
string mirroringDeploymentId = "";
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = mirroringClient.CreateMirroringDeployment(parent, mirroringDeployment, mirroringDeploymentId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeployment(CreateMirroringDeploymentRequest, CallSettings)
public virtual Operation<MirroringDeployment, OperationMetadata> CreateMirroringDeployment(CreateMirroringDeploymentRequest request, CallSettings callSettings = null)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
CreateMirroringDeploymentRequest request = new CreateMirroringDeploymentRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringDeploymentId = "",
MirroringDeployment = new MirroringDeployment(),
RequestId = "",
};
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = mirroringClient.CreateMirroringDeployment(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeployment(string, MirroringDeployment, string, CallSettings)
public virtual Operation<MirroringDeployment, OperationMetadata> CreateMirroringDeployment(string parent, MirroringDeployment mirroringDeployment, string mirroringDeploymentId, CallSettings callSettings = null)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location} |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to create. |
mirroringDeploymentId |
stringRequired. The ID to use for the new deployment, which will become the final component of the deployment's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringDeployment mirroringDeployment = new MirroringDeployment();
string mirroringDeploymentId = "";
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = mirroringClient.CreateMirroringDeployment(parent, mirroringDeployment, mirroringDeploymentId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentAsync(LocationName, MirroringDeployment, string, CallSettings)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> CreateMirroringDeploymentAsync(LocationName parent, MirroringDeployment mirroringDeployment, string mirroringDeploymentId, CallSettings callSettings = null)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location} |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to create. |
mirroringDeploymentId |
stringRequired. The ID to use for the new deployment, which will become the final component of the deployment's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringDeployment mirroringDeployment = new MirroringDeployment();
string mirroringDeploymentId = "";
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentAsync(parent, mirroringDeployment, mirroringDeploymentId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentAsync(LocationName, MirroringDeployment, string, CancellationToken)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> CreateMirroringDeploymentAsync(LocationName parent, MirroringDeployment mirroringDeployment, string mirroringDeploymentId, CancellationToken cancellationToken)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location} |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to create. |
mirroringDeploymentId |
stringRequired. The ID to use for the new deployment, which will become the final component of the deployment's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringDeployment mirroringDeployment = new MirroringDeployment();
string mirroringDeploymentId = "";
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentAsync(parent, mirroringDeployment, mirroringDeploymentId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentAsync(CreateMirroringDeploymentRequest, CallSettings)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> CreateMirroringDeploymentAsync(CreateMirroringDeploymentRequest request, CallSettings callSettings = null)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringDeploymentRequest request = new CreateMirroringDeploymentRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringDeploymentId = "",
MirroringDeployment = new MirroringDeployment(),
RequestId = "",
};
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentAsync(CreateMirroringDeploymentRequest, CancellationToken)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> CreateMirroringDeploymentAsync(CreateMirroringDeploymentRequest request, CancellationToken cancellationToken)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringDeploymentRequest request = new CreateMirroringDeploymentRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringDeploymentId = "",
MirroringDeployment = new MirroringDeployment(),
RequestId = "",
};
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentAsync(string, MirroringDeployment, string, CallSettings)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> CreateMirroringDeploymentAsync(string parent, MirroringDeployment mirroringDeployment, string mirroringDeploymentId, CallSettings callSettings = null)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location} |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to create. |
mirroringDeploymentId |
stringRequired. The ID to use for the new deployment, which will become the final component of the deployment's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringDeployment mirroringDeployment = new MirroringDeployment();
string mirroringDeploymentId = "";
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentAsync(parent, mirroringDeployment, mirroringDeploymentId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentAsync(string, MirroringDeployment, string, CancellationToken)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> CreateMirroringDeploymentAsync(string parent, MirroringDeployment mirroringDeployment, string mirroringDeploymentId, CancellationToken cancellationToken)Creates a deployment in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location} |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to create. |
mirroringDeploymentId |
stringRequired. The ID to use for the new deployment, which will become the final component of the deployment's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringDeployment mirroringDeployment = new MirroringDeployment();
string mirroringDeploymentId = "";
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentAsync(parent, mirroringDeployment, mirroringDeploymentId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroup(LocationName, MirroringDeploymentGroup, string, CallSettings)
public virtual Operation<MirroringDeploymentGroup, OperationMetadata> CreateMirroringDeploymentGroup(LocationName parent, MirroringDeploymentGroup mirroringDeploymentGroup, string mirroringDeploymentGroupId, CallSettings callSettings = null)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location} |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to create. |
mirroringDeploymentGroupId |
stringRequired. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
string mirroringDeploymentGroupId = "";
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = mirroringClient.CreateMirroringDeploymentGroup(parent, mirroringDeploymentGroup, mirroringDeploymentGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroup(CreateMirroringDeploymentGroupRequest, CallSettings)
public virtual Operation<MirroringDeploymentGroup, OperationMetadata> CreateMirroringDeploymentGroup(CreateMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
CreateMirroringDeploymentGroupRequest request = new CreateMirroringDeploymentGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringDeploymentGroupId = "",
MirroringDeploymentGroup = new MirroringDeploymentGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = mirroringClient.CreateMirroringDeploymentGroup(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroup(string, MirroringDeploymentGroup, string, CallSettings)
public virtual Operation<MirroringDeploymentGroup, OperationMetadata> CreateMirroringDeploymentGroup(string parent, MirroringDeploymentGroup mirroringDeploymentGroup, string mirroringDeploymentGroupId, CallSettings callSettings = null)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location} |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to create. |
mirroringDeploymentGroupId |
stringRequired. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
string mirroringDeploymentGroupId = "";
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = mirroringClient.CreateMirroringDeploymentGroup(parent, mirroringDeploymentGroup, mirroringDeploymentGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroupAsync(LocationName, MirroringDeploymentGroup, string, CallSettings)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> CreateMirroringDeploymentGroupAsync(LocationName parent, MirroringDeploymentGroup mirroringDeploymentGroup, string mirroringDeploymentGroupId, CallSettings callSettings = null)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location} |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to create. |
mirroringDeploymentGroupId |
stringRequired. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
string mirroringDeploymentGroupId = "";
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentGroupAsync(parent, mirroringDeploymentGroup, mirroringDeploymentGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroupAsync(LocationName, MirroringDeploymentGroup, string, CancellationToken)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> CreateMirroringDeploymentGroupAsync(LocationName parent, MirroringDeploymentGroup mirroringDeploymentGroup, string mirroringDeploymentGroupId, CancellationToken cancellationToken)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location} |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to create. |
mirroringDeploymentGroupId |
stringRequired. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
string mirroringDeploymentGroupId = "";
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentGroupAsync(parent, mirroringDeploymentGroup, mirroringDeploymentGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroupAsync(CreateMirroringDeploymentGroupRequest, CallSettings)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> CreateMirroringDeploymentGroupAsync(CreateMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringDeploymentGroupRequest request = new CreateMirroringDeploymentGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringDeploymentGroupId = "",
MirroringDeploymentGroup = new MirroringDeploymentGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroupAsync(CreateMirroringDeploymentGroupRequest, CancellationToken)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> CreateMirroringDeploymentGroupAsync(CreateMirroringDeploymentGroupRequest request, CancellationToken cancellationToken)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringDeploymentGroupRequest request = new CreateMirroringDeploymentGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringDeploymentGroupId = "",
MirroringDeploymentGroup = new MirroringDeploymentGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroupAsync(string, MirroringDeploymentGroup, string, CallSettings)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> CreateMirroringDeploymentGroupAsync(string parent, MirroringDeploymentGroup mirroringDeploymentGroup, string mirroringDeploymentGroupId, CallSettings callSettings = null)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location} |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to create. |
mirroringDeploymentGroupId |
stringRequired. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
string mirroringDeploymentGroupId = "";
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentGroupAsync(parent, mirroringDeploymentGroup, mirroringDeploymentGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringDeploymentGroupAsync(string, MirroringDeploymentGroup, string, CancellationToken)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> CreateMirroringDeploymentGroupAsync(string parent, MirroringDeploymentGroup mirroringDeploymentGroup, string mirroringDeploymentGroupId, CancellationToken cancellationToken)Creates a deployment group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this deployment group will be created. Format: projects/{project}/locations/{location} |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to create. |
mirroringDeploymentGroupId |
stringRequired. The ID to use for the new deployment group, which will become the final component of the deployment group's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
string mirroringDeploymentGroupId = "";
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.CreateMirroringDeploymentGroupAsync(parent, mirroringDeploymentGroup, mirroringDeploymentGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroup(LocationName, MirroringEndpointGroup, string, CallSettings)
public virtual Operation<MirroringEndpointGroup, OperationMetadata> CreateMirroringEndpointGroup(LocationName parent, MirroringEndpointGroup mirroringEndpointGroup, string mirroringEndpointGroupId, CallSettings callSettings = null)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to create. |
mirroringEndpointGroupId |
stringRequired. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
string mirroringEndpointGroupId = "";
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = mirroringClient.CreateMirroringEndpointGroup(parent, mirroringEndpointGroup, mirroringEndpointGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroup(CreateMirroringEndpointGroupRequest, CallSettings)
public virtual Operation<MirroringEndpointGroup, OperationMetadata> CreateMirroringEndpointGroup(CreateMirroringEndpointGroupRequest request, CallSettings callSettings = null)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
CreateMirroringEndpointGroupRequest request = new CreateMirroringEndpointGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringEndpointGroupId = "",
MirroringEndpointGroup = new MirroringEndpointGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = mirroringClient.CreateMirroringEndpointGroup(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroup(string, MirroringEndpointGroup, string, CallSettings)
public virtual Operation<MirroringEndpointGroup, OperationMetadata> CreateMirroringEndpointGroup(string parent, MirroringEndpointGroup mirroringEndpointGroup, string mirroringEndpointGroupId, CallSettings callSettings = null)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to create. |
mirroringEndpointGroupId |
stringRequired. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
string mirroringEndpointGroupId = "";
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = mirroringClient.CreateMirroringEndpointGroup(parent, mirroringEndpointGroup, mirroringEndpointGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociation(LocationName, MirroringEndpointGroupAssociation, string, CallSettings)
public virtual Operation<MirroringEndpointGroupAssociation, OperationMetadata> CreateMirroringEndpointGroupAssociation(LocationName parent, MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, string mirroringEndpointGroupAssociationId, CallSettings callSettings = null)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this association will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to create. |
mirroringEndpointGroupAssociationId |
stringOptional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupAssociationOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
string mirroringEndpointGroupAssociationId = "";
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = mirroringClient.CreateMirroringEndpointGroupAssociation(parent, mirroringEndpointGroupAssociation, mirroringEndpointGroupAssociationId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociation(CreateMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual Operation<MirroringEndpointGroupAssociation, OperationMetadata> CreateMirroringEndpointGroupAssociation(CreateMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupAssociationOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
CreateMirroringEndpointGroupAssociationRequest request = new CreateMirroringEndpointGroupAssociationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringEndpointGroupAssociationId = "",
MirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = mirroringClient.CreateMirroringEndpointGroupAssociation(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociation(string, MirroringEndpointGroupAssociation, string, CallSettings)
public virtual Operation<MirroringEndpointGroupAssociation, OperationMetadata> CreateMirroringEndpointGroupAssociation(string parent, MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, string mirroringEndpointGroupAssociationId, CallSettings callSettings = null)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this association will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to create. |
mirroringEndpointGroupAssociationId |
stringOptional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupAssociationOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
string mirroringEndpointGroupAssociationId = "";
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = mirroringClient.CreateMirroringEndpointGroupAssociation(parent, mirroringEndpointGroupAssociation, mirroringEndpointGroupAssociationId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = mirroringClient.PollOnceCreateMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociationAsync(LocationName, MirroringEndpointGroupAssociation, string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> CreateMirroringEndpointGroupAssociationAsync(LocationName parent, MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, string mirroringEndpointGroupAssociationId, CallSettings callSettings = null)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this association will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to create. |
mirroringEndpointGroupAssociationId |
stringOptional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
string mirroringEndpointGroupAssociationId = "";
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAssociationAsync(parent, mirroringEndpointGroupAssociation, mirroringEndpointGroupAssociationId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociationAsync(LocationName, MirroringEndpointGroupAssociation, string, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> CreateMirroringEndpointGroupAssociationAsync(LocationName parent, MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, string mirroringEndpointGroupAssociationId, CancellationToken cancellationToken)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this association will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to create. |
mirroringEndpointGroupAssociationId |
stringOptional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
string mirroringEndpointGroupAssociationId = "";
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAssociationAsync(parent, mirroringEndpointGroupAssociation, mirroringEndpointGroupAssociationId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociationAsync(CreateMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> CreateMirroringEndpointGroupAssociationAsync(CreateMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringEndpointGroupAssociationRequest request = new CreateMirroringEndpointGroupAssociationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringEndpointGroupAssociationId = "",
MirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAssociationAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociationAsync(CreateMirroringEndpointGroupAssociationRequest, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> CreateMirroringEndpointGroupAssociationAsync(CreateMirroringEndpointGroupAssociationRequest request, CancellationToken cancellationToken)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringEndpointGroupAssociationRequest request = new CreateMirroringEndpointGroupAssociationRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringEndpointGroupAssociationId = "",
MirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAssociationAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociationAsync(string, MirroringEndpointGroupAssociation, string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> CreateMirroringEndpointGroupAssociationAsync(string parent, MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, string mirroringEndpointGroupAssociationId, CallSettings callSettings = null)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this association will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to create. |
mirroringEndpointGroupAssociationId |
stringOptional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
string mirroringEndpointGroupAssociationId = "";
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAssociationAsync(parent, mirroringEndpointGroupAssociation, mirroringEndpointGroupAssociationId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAssociationAsync(string, MirroringEndpointGroupAssociation, string, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> CreateMirroringEndpointGroupAssociationAsync(string parent, MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, string mirroringEndpointGroupAssociationId, CancellationToken cancellationToken)Creates an association in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this association will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to create. |
mirroringEndpointGroupAssociationId |
stringOptional. The ID to use for the new association, which will become the final component of the endpoint group's resource name. If not provided, the server will generate a unique ID. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
string mirroringEndpointGroupAssociationId = "";
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAssociationAsync(parent, mirroringEndpointGroupAssociation, mirroringEndpointGroupAssociationId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAsync(LocationName, MirroringEndpointGroup, string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> CreateMirroringEndpointGroupAsync(LocationName parent, MirroringEndpointGroup mirroringEndpointGroup, string mirroringEndpointGroupId, CallSettings callSettings = null)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to create. |
mirroringEndpointGroupId |
stringRequired. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
string mirroringEndpointGroupId = "";
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAsync(parent, mirroringEndpointGroup, mirroringEndpointGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAsync(LocationName, MirroringEndpointGroup, string, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> CreateMirroringEndpointGroupAsync(LocationName parent, MirroringEndpointGroup mirroringEndpointGroup, string mirroringEndpointGroupId, CancellationToken cancellationToken)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to create. |
mirroringEndpointGroupId |
stringRequired. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
string mirroringEndpointGroupId = "";
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAsync(parent, mirroringEndpointGroup, mirroringEndpointGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAsync(CreateMirroringEndpointGroupRequest, CallSettings)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> CreateMirroringEndpointGroupAsync(CreateMirroringEndpointGroupRequest request, CallSettings callSettings = null)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringEndpointGroupRequest request = new CreateMirroringEndpointGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringEndpointGroupId = "",
MirroringEndpointGroup = new MirroringEndpointGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAsync(CreateMirroringEndpointGroupRequest, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> CreateMirroringEndpointGroupAsync(CreateMirroringEndpointGroupRequest request, CancellationToken cancellationToken)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
CreateMirroringEndpointGroupRequest request = new CreateMirroringEndpointGroupRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
MirroringEndpointGroupId = "",
MirroringEndpointGroup = new MirroringEndpointGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAsync(string, MirroringEndpointGroup, string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> CreateMirroringEndpointGroupAsync(string parent, MirroringEndpointGroup mirroringEndpointGroup, string mirroringEndpointGroupId, CallSettings callSettings = null)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to create. |
mirroringEndpointGroupId |
stringRequired. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
string mirroringEndpointGroupId = "";
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAsync(parent, mirroringEndpointGroup, mirroringEndpointGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
CreateMirroringEndpointGroupAsync(string, MirroringEndpointGroup, string, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> CreateMirroringEndpointGroupAsync(string parent, MirroringEndpointGroup mirroringEndpointGroup, string mirroringEndpointGroupId, CancellationToken cancellationToken)Creates an endpoint group in a given project and location. See https://google.aip.dev/133.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource where this endpoint group will be created. Format: projects/{project}/locations/{location} |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to create. |
mirroringEndpointGroupId |
stringRequired. The ID to use for the endpoint group, which will become the final component of the endpoint group's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
string mirroringEndpointGroupId = "";
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.CreateMirroringEndpointGroupAsync(parent, mirroringEndpointGroup, mirroringEndpointGroupId);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceCreateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeployment(DeleteMirroringDeploymentRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringDeployment(DeleteMirroringDeploymentRequest request, CallSettings callSettings = null)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
DeleteMirroringDeploymentRequest request = new DeleteMirroringDeploymentRequest
{
MirroringDeploymentName = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringDeployment(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeployment(MirroringDeploymentName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringDeployment(MirroringDeploymentName name, CallSettings callSettings = null)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentNameRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringDeploymentName name = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]");
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringDeployment(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeployment(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringDeployment(string name, CallSettings callSettings = null)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeployments/[MIRRORING_DEPLOYMENT]";
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringDeployment(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentAsync(DeleteMirroringDeploymentRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentAsync(DeleteMirroringDeploymentRequest request, CallSettings callSettings = null)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringDeploymentRequest request = new DeleteMirroringDeploymentRequest
{
MirroringDeploymentName = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentAsync(DeleteMirroringDeploymentRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentAsync(DeleteMirroringDeploymentRequest request, CancellationToken cancellationToken)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringDeploymentRequest request = new DeleteMirroringDeploymentRequest
{
MirroringDeploymentName = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentAsync(MirroringDeploymentName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentAsync(MirroringDeploymentName name, CallSettings callSettings = null)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentNameRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentName name = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentAsync(MirroringDeploymentName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentAsync(MirroringDeploymentName name, CancellationToken cancellationToken)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentNameRequired. Name of the resource |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentName name = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentAsync(string name, CallSettings callSettings = null)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Name of the resource |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeployments/[MIRRORING_DEPLOYMENT]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentAsync(string name, CancellationToken cancellationToken)Deletes a deployment. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. Name of the resource |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeployments/[MIRRORING_DEPLOYMENT]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroup(DeleteMirroringDeploymentGroupRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringDeploymentGroup(DeleteMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
DeleteMirroringDeploymentGroupRequest request = new DeleteMirroringDeploymentGroupRequest
{
MirroringDeploymentGroupName = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringDeploymentGroup(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroup(MirroringDeploymentGroupName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringDeploymentGroup(MirroringDeploymentGroupName name, CallSettings callSettings = null)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentGroupNameRequired. The deployment group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringDeploymentGroupName name = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringDeploymentGroup(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroup(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringDeploymentGroup(string name, CallSettings callSettings = null)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The deployment group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeploymentGroups/[MIRRORING_DEPLOYMENT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringDeploymentGroup(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroupAsync(DeleteMirroringDeploymentGroupRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentGroupAsync(DeleteMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringDeploymentGroupRequest request = new DeleteMirroringDeploymentGroupRequest
{
MirroringDeploymentGroupName = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroupAsync(DeleteMirroringDeploymentGroupRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentGroupAsync(DeleteMirroringDeploymentGroupRequest request, CancellationToken cancellationToken)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringDeploymentGroupRequest request = new DeleteMirroringDeploymentGroupRequest
{
MirroringDeploymentGroupName = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroupAsync(MirroringDeploymentGroupName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentGroupAsync(MirroringDeploymentGroupName name, CallSettings callSettings = null)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentGroupNameRequired. The deployment group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentGroupName name = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroupAsync(MirroringDeploymentGroupName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentGroupAsync(MirroringDeploymentGroupName name, CancellationToken cancellationToken)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentGroupNameRequired. The deployment group to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentGroupName name = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroupAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentGroupAsync(string name, CallSettings callSettings = null)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The deployment group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeploymentGroups/[MIRRORING_DEPLOYMENT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringDeploymentGroupAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringDeploymentGroupAsync(string name, CancellationToken cancellationToken)Deletes a deployment group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The deployment group to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeploymentGroups/[MIRRORING_DEPLOYMENT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringDeploymentGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroup(DeleteMirroringEndpointGroupRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringEndpointGroup(DeleteMirroringEndpointGroupRequest request, CallSettings callSettings = null)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
DeleteMirroringEndpointGroupRequest request = new DeleteMirroringEndpointGroupRequest
{
MirroringEndpointGroupName = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringEndpointGroup(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroup(MirroringEndpointGroupName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringEndpointGroup(MirroringEndpointGroupName name, CallSettings callSettings = null)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupNameRequired. The endpoint group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringEndpointGroupName name = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringEndpointGroup(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroup(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringEndpointGroup(string name, CallSettings callSettings = null)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The endpoint group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroups/[MIRRORING_ENDPOINT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringEndpointGroup(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociation(DeleteMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringEndpointGroupAssociation(DeleteMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
DeleteMirroringEndpointGroupAssociationRequest request = new DeleteMirroringEndpointGroupAssociationRequest
{
MirroringEndpointGroupAssociationName = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringEndpointGroupAssociation(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociationName, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociationName name, CallSettings callSettings = null)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupAssociationNameRequired. The association to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringEndpointGroupAssociationName name = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringEndpointGroupAssociation(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociation(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> DeleteMirroringEndpointGroupAssociation(string name, CallSettings callSettings = null)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The association to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroupAssociations/[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
Operation<Empty, OperationMetadata> response = mirroringClient.DeleteMirroringEndpointGroupAssociation(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociationAsync(DeleteMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAssociationAsync(DeleteMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringEndpointGroupAssociationRequest request = new DeleteMirroringEndpointGroupAssociationRequest
{
MirroringEndpointGroupAssociationName = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAssociationAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociationAsync(DeleteMirroringEndpointGroupAssociationRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAssociationAsync(DeleteMirroringEndpointGroupAssociationRequest request, CancellationToken cancellationToken)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringEndpointGroupAssociationRequest request = new DeleteMirroringEndpointGroupAssociationRequest
{
MirroringEndpointGroupAssociationName = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAssociationAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName name, CallSettings callSettings = null)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupAssociationNameRequired. The association to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupAssociationName name = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAssociationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName name, CancellationToken cancellationToken)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupAssociationNameRequired. The association to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupAssociationName name = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAssociationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociationAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAssociationAsync(string name, CallSettings callSettings = null)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The association to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroupAssociations/[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAssociationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAssociationAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAssociationAsync(string name, CancellationToken cancellationToken)Deletes an association. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The association to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroupAssociations/[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAssociationAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAsync(DeleteMirroringEndpointGroupRequest, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAsync(DeleteMirroringEndpointGroupRequest request, CallSettings callSettings = null)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringEndpointGroupRequest request = new DeleteMirroringEndpointGroupRequest
{
MirroringEndpointGroupName = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAsync(DeleteMirroringEndpointGroupRequest, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAsync(DeleteMirroringEndpointGroupRequest request, CancellationToken cancellationToken)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
DeleteMirroringEndpointGroupRequest request = new DeleteMirroringEndpointGroupRequest
{
MirroringEndpointGroupName = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]"),
RequestId = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAsync(MirroringEndpointGroupName, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAsync(MirroringEndpointGroupName name, CallSettings callSettings = null)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupNameRequired. The endpoint group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupName name = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAsync(MirroringEndpointGroupName, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAsync(MirroringEndpointGroupName name, CancellationToken cancellationToken)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupNameRequired. The endpoint group to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupName name = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]");
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAsync(string name, CallSettings callSettings = null)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The endpoint group to delete. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroups/[MIRRORING_ENDPOINT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteMirroringEndpointGroupAsync(string, CancellationToken)
public virtual Task<Operation<Empty, OperationMetadata>> DeleteMirroringEndpointGroupAsync(string name, CancellationToken cancellationToken)Deletes an endpoint group. See https://google.aip.dev/135.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The endpoint group to delete. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroups/[MIRRORING_ENDPOINT_GROUP]";
// Make the request
Operation<Empty, OperationMetadata> response = await mirroringClient.DeleteMirroringEndpointGroupAsync(name);
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceDeleteMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
GetMirroringDeployment(GetMirroringDeploymentRequest, CallSettings)
public virtual MirroringDeployment GetMirroringDeployment(GetMirroringDeploymentRequest request, CallSettings callSettings = null)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringDeployment |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
GetMirroringDeploymentRequest request = new GetMirroringDeploymentRequest
{
MirroringDeploymentName = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]"),
};
// Make the request
MirroringDeployment response = mirroringClient.GetMirroringDeployment(request);
GetMirroringDeployment(MirroringDeploymentName, CallSettings)
public virtual MirroringDeployment GetMirroringDeployment(MirroringDeploymentName name, CallSettings callSettings = null)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentNameRequired. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringDeployment |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringDeploymentName name = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]");
// Make the request
MirroringDeployment response = mirroringClient.GetMirroringDeployment(name);
GetMirroringDeployment(string, CallSettings)
public virtual MirroringDeployment GetMirroringDeployment(string name, CallSettings callSettings = null)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringDeployment |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeployments/[MIRRORING_DEPLOYMENT]";
// Make the request
MirroringDeployment response = mirroringClient.GetMirroringDeployment(name);
GetMirroringDeploymentAsync(GetMirroringDeploymentRequest, CallSettings)
public virtual Task<MirroringDeployment> GetMirroringDeploymentAsync(GetMirroringDeploymentRequest request, CallSettings callSettings = null)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeployment |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringDeploymentRequest request = new GetMirroringDeploymentRequest
{
MirroringDeploymentName = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]"),
};
// Make the request
MirroringDeployment response = await mirroringClient.GetMirroringDeploymentAsync(request);
GetMirroringDeploymentAsync(GetMirroringDeploymentRequest, CancellationToken)
public virtual Task<MirroringDeployment> GetMirroringDeploymentAsync(GetMirroringDeploymentRequest request, CancellationToken cancellationToken)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeployment |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringDeploymentRequest request = new GetMirroringDeploymentRequest
{
MirroringDeploymentName = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]"),
};
// Make the request
MirroringDeployment response = await mirroringClient.GetMirroringDeploymentAsync(request);
GetMirroringDeploymentAsync(MirroringDeploymentName, CallSettings)
public virtual Task<MirroringDeployment> GetMirroringDeploymentAsync(MirroringDeploymentName name, CallSettings callSettings = null)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentNameRequired. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeployment |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentName name = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]");
// Make the request
MirroringDeployment response = await mirroringClient.GetMirroringDeploymentAsync(name);
GetMirroringDeploymentAsync(MirroringDeploymentName, CancellationToken)
public virtual Task<MirroringDeployment> GetMirroringDeploymentAsync(MirroringDeploymentName name, CancellationToken cancellationToken)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentNameRequired. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeployment |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentName name = MirroringDeploymentName.FromProjectLocationMirroringDeployment("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT]");
// Make the request
MirroringDeployment response = await mirroringClient.GetMirroringDeploymentAsync(name);
GetMirroringDeploymentAsync(string, CallSettings)
public virtual Task<MirroringDeployment> GetMirroringDeploymentAsync(string name, CallSettings callSettings = null)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeployment |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeployments/[MIRRORING_DEPLOYMENT]";
// Make the request
MirroringDeployment response = await mirroringClient.GetMirroringDeploymentAsync(name);
GetMirroringDeploymentAsync(string, CancellationToken)
public virtual Task<MirroringDeployment> GetMirroringDeploymentAsync(string name, CancellationToken cancellationToken)Gets a specific deployment. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/mirroringDeployments/{mirroring_deployment} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeployment |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeployments/[MIRRORING_DEPLOYMENT]";
// Make the request
MirroringDeployment response = await mirroringClient.GetMirroringDeploymentAsync(name);
GetMirroringDeploymentGroup(GetMirroringDeploymentGroupRequest, CallSettings)
public virtual MirroringDeploymentGroup GetMirroringDeploymentGroup(GetMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringDeploymentGroup |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
GetMirroringDeploymentGroupRequest request = new GetMirroringDeploymentGroupRequest
{
MirroringDeploymentGroupName = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]"),
};
// Make the request
MirroringDeploymentGroup response = mirroringClient.GetMirroringDeploymentGroup(request);
GetMirroringDeploymentGroup(MirroringDeploymentGroupName, CallSettings)
public virtual MirroringDeploymentGroup GetMirroringDeploymentGroup(MirroringDeploymentGroupName name, CallSettings callSettings = null)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentGroupNameRequired. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringDeploymentGroup |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringDeploymentGroupName name = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]");
// Make the request
MirroringDeploymentGroup response = mirroringClient.GetMirroringDeploymentGroup(name);
GetMirroringDeploymentGroup(string, CallSettings)
public virtual MirroringDeploymentGroup GetMirroringDeploymentGroup(string name, CallSettings callSettings = null)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringDeploymentGroup |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeploymentGroups/[MIRRORING_DEPLOYMENT_GROUP]";
// Make the request
MirroringDeploymentGroup response = mirroringClient.GetMirroringDeploymentGroup(name);
GetMirroringDeploymentGroupAsync(GetMirroringDeploymentGroupRequest, CallSettings)
public virtual Task<MirroringDeploymentGroup> GetMirroringDeploymentGroupAsync(GetMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeploymentGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringDeploymentGroupRequest request = new GetMirroringDeploymentGroupRequest
{
MirroringDeploymentGroupName = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]"),
};
// Make the request
MirroringDeploymentGroup response = await mirroringClient.GetMirroringDeploymentGroupAsync(request);
GetMirroringDeploymentGroupAsync(GetMirroringDeploymentGroupRequest, CancellationToken)
public virtual Task<MirroringDeploymentGroup> GetMirroringDeploymentGroupAsync(GetMirroringDeploymentGroupRequest request, CancellationToken cancellationToken)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeploymentGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringDeploymentGroupRequest request = new GetMirroringDeploymentGroupRequest
{
MirroringDeploymentGroupName = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]"),
};
// Make the request
MirroringDeploymentGroup response = await mirroringClient.GetMirroringDeploymentGroupAsync(request);
GetMirroringDeploymentGroupAsync(MirroringDeploymentGroupName, CallSettings)
public virtual Task<MirroringDeploymentGroup> GetMirroringDeploymentGroupAsync(MirroringDeploymentGroupName name, CallSettings callSettings = null)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentGroupNameRequired. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeploymentGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentGroupName name = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]");
// Make the request
MirroringDeploymentGroup response = await mirroringClient.GetMirroringDeploymentGroupAsync(name);
GetMirroringDeploymentGroupAsync(MirroringDeploymentGroupName, CancellationToken)
public virtual Task<MirroringDeploymentGroup> GetMirroringDeploymentGroupAsync(MirroringDeploymentGroupName name, CancellationToken cancellationToken)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringDeploymentGroupNameRequired. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeploymentGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentGroupName name = MirroringDeploymentGroupName.FromProjectLocationMirroringDeploymentGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_DEPLOYMENT_GROUP]");
// Make the request
MirroringDeploymentGroup response = await mirroringClient.GetMirroringDeploymentGroupAsync(name);
GetMirroringDeploymentGroupAsync(string, CallSettings)
public virtual Task<MirroringDeploymentGroup> GetMirroringDeploymentGroupAsync(string name, CallSettings callSettings = null)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeploymentGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeploymentGroups/[MIRRORING_DEPLOYMENT_GROUP]";
// Make the request
MirroringDeploymentGroup response = await mirroringClient.GetMirroringDeploymentGroupAsync(name);
GetMirroringDeploymentGroupAsync(string, CancellationToken)
public virtual Task<MirroringDeploymentGroup> GetMirroringDeploymentGroupAsync(string name, CancellationToken cancellationToken)Gets a specific deployment group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the deployment group to retrieve. Format: projects/{project}/locations/{location}/mirroringDeploymentGroups/{mirroring_deployment_group} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringDeploymentGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringDeploymentGroups/[MIRRORING_DEPLOYMENT_GROUP]";
// Make the request
MirroringDeploymentGroup response = await mirroringClient.GetMirroringDeploymentGroupAsync(name);
GetMirroringEndpointGroup(GetMirroringEndpointGroupRequest, CallSettings)
public virtual MirroringEndpointGroup GetMirroringEndpointGroup(GetMirroringEndpointGroupRequest request, CallSettings callSettings = null)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
GetMirroringEndpointGroupRequest request = new GetMirroringEndpointGroupRequest
{
MirroringEndpointGroupName = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]"),
};
// Make the request
MirroringEndpointGroup response = mirroringClient.GetMirroringEndpointGroup(request);
GetMirroringEndpointGroup(MirroringEndpointGroupName, CallSettings)
public virtual MirroringEndpointGroup GetMirroringEndpointGroup(MirroringEndpointGroupName name, CallSettings callSettings = null)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupNameRequired. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringEndpointGroupName name = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]");
// Make the request
MirroringEndpointGroup response = mirroringClient.GetMirroringEndpointGroup(name);
GetMirroringEndpointGroup(string, CallSettings)
public virtual MirroringEndpointGroup GetMirroringEndpointGroup(string name, CallSettings callSettings = null)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroup |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroups/[MIRRORING_ENDPOINT_GROUP]";
// Make the request
MirroringEndpointGroup response = mirroringClient.GetMirroringEndpointGroup(name);
GetMirroringEndpointGroupAssociation(GetMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual MirroringEndpointGroupAssociation GetMirroringEndpointGroupAssociation(GetMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroupAssociation |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
GetMirroringEndpointGroupAssociationRequest request = new GetMirroringEndpointGroupAssociationRequest
{
MirroringEndpointGroupAssociationName = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]"),
};
// Make the request
MirroringEndpointGroupAssociation response = mirroringClient.GetMirroringEndpointGroupAssociation(request);
GetMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociationName, CallSettings)
public virtual MirroringEndpointGroupAssociation GetMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociationName name, CallSettings callSettings = null)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupAssociationNameRequired. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroupAssociation |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringEndpointGroupAssociationName name = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
MirroringEndpointGroupAssociation response = mirroringClient.GetMirroringEndpointGroupAssociation(name);
GetMirroringEndpointGroupAssociation(string, CallSettings)
public virtual MirroringEndpointGroupAssociation GetMirroringEndpointGroupAssociation(string name, CallSettings callSettings = null)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MirroringEndpointGroupAssociation |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroupAssociations/[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
MirroringEndpointGroupAssociation response = mirroringClient.GetMirroringEndpointGroupAssociation(name);
GetMirroringEndpointGroupAssociationAsync(GetMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual Task<MirroringEndpointGroupAssociation> GetMirroringEndpointGroupAssociationAsync(GetMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroupAssociation |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringEndpointGroupAssociationRequest request = new GetMirroringEndpointGroupAssociationRequest
{
MirroringEndpointGroupAssociationName = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]"),
};
// Make the request
MirroringEndpointGroupAssociation response = await mirroringClient.GetMirroringEndpointGroupAssociationAsync(request);
GetMirroringEndpointGroupAssociationAsync(GetMirroringEndpointGroupAssociationRequest, CancellationToken)
public virtual Task<MirroringEndpointGroupAssociation> GetMirroringEndpointGroupAssociationAsync(GetMirroringEndpointGroupAssociationRequest request, CancellationToken cancellationToken)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroupAssociation |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringEndpointGroupAssociationRequest request = new GetMirroringEndpointGroupAssociationRequest
{
MirroringEndpointGroupAssociationName = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]"),
};
// Make the request
MirroringEndpointGroupAssociation response = await mirroringClient.GetMirroringEndpointGroupAssociationAsync(request);
GetMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName, CallSettings)
public virtual Task<MirroringEndpointGroupAssociation> GetMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName name, CallSettings callSettings = null)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupAssociationNameRequired. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroupAssociation |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupAssociationName name = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
MirroringEndpointGroupAssociation response = await mirroringClient.GetMirroringEndpointGroupAssociationAsync(name);
GetMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName, CancellationToken)
public virtual Task<MirroringEndpointGroupAssociation> GetMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociationName name, CancellationToken cancellationToken)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupAssociationNameRequired. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroupAssociation |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupAssociationName name = MirroringEndpointGroupAssociationName.FromProjectLocationMirroringEndpointGroupAssociation("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]");
// Make the request
MirroringEndpointGroupAssociation response = await mirroringClient.GetMirroringEndpointGroupAssociationAsync(name);
GetMirroringEndpointGroupAssociationAsync(string, CallSettings)
public virtual Task<MirroringEndpointGroupAssociation> GetMirroringEndpointGroupAssociationAsync(string name, CallSettings callSettings = null)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroupAssociation |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroupAssociations/[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
MirroringEndpointGroupAssociation response = await mirroringClient.GetMirroringEndpointGroupAssociationAsync(name);
GetMirroringEndpointGroupAssociationAsync(string, CancellationToken)
public virtual Task<MirroringEndpointGroupAssociation> GetMirroringEndpointGroupAssociationAsync(string name, CancellationToken cancellationToken)Gets a specific association. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the association to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroupAssociations/{mirroring_endpoint_group_association} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroupAssociation |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroupAssociations/[MIRRORING_ENDPOINT_GROUP_ASSOCIATION]";
// Make the request
MirroringEndpointGroupAssociation response = await mirroringClient.GetMirroringEndpointGroupAssociationAsync(name);
GetMirroringEndpointGroupAsync(GetMirroringEndpointGroupRequest, CallSettings)
public virtual Task<MirroringEndpointGroup> GetMirroringEndpointGroupAsync(GetMirroringEndpointGroupRequest request, CallSettings callSettings = null)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringEndpointGroupRequest request = new GetMirroringEndpointGroupRequest
{
MirroringEndpointGroupName = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]"),
};
// Make the request
MirroringEndpointGroup response = await mirroringClient.GetMirroringEndpointGroupAsync(request);
GetMirroringEndpointGroupAsync(GetMirroringEndpointGroupRequest, CancellationToken)
public virtual Task<MirroringEndpointGroup> GetMirroringEndpointGroupAsync(GetMirroringEndpointGroupRequest request, CancellationToken cancellationToken)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
request |
GetMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
GetMirroringEndpointGroupRequest request = new GetMirroringEndpointGroupRequest
{
MirroringEndpointGroupName = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]"),
};
// Make the request
MirroringEndpointGroup response = await mirroringClient.GetMirroringEndpointGroupAsync(request);
GetMirroringEndpointGroupAsync(MirroringEndpointGroupName, CallSettings)
public virtual Task<MirroringEndpointGroup> GetMirroringEndpointGroupAsync(MirroringEndpointGroupName name, CallSettings callSettings = null)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupNameRequired. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupName name = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]");
// Make the request
MirroringEndpointGroup response = await mirroringClient.GetMirroringEndpointGroupAsync(name);
GetMirroringEndpointGroupAsync(MirroringEndpointGroupName, CancellationToken)
public virtual Task<MirroringEndpointGroup> GetMirroringEndpointGroupAsync(MirroringEndpointGroupName name, CancellationToken cancellationToken)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
MirroringEndpointGroupNameRequired. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupName name = MirroringEndpointGroupName.FromProjectLocationMirroringEndpointGroup("[PROJECT]", "[LOCATION]", "[MIRRORING_ENDPOINT_GROUP]");
// Make the request
MirroringEndpointGroup response = await mirroringClient.GetMirroringEndpointGroupAsync(name);
GetMirroringEndpointGroupAsync(string, CallSettings)
public virtual Task<MirroringEndpointGroup> GetMirroringEndpointGroupAsync(string name, CallSettings callSettings = null)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group} |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroups/[MIRRORING_ENDPOINT_GROUP]";
// Make the request
MirroringEndpointGroup response = await mirroringClient.GetMirroringEndpointGroupAsync(name);
GetMirroringEndpointGroupAsync(string, CancellationToken)
public virtual Task<MirroringEndpointGroup> GetMirroringEndpointGroupAsync(string name, CancellationToken cancellationToken)Gets a specific endpoint group. See https://google.aip.dev/131.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the endpoint group to retrieve. Format: projects/{project}/locations/{location}/mirroringEndpointGroups/{mirroring_endpoint_group} |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMirroringEndpointGroup |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/mirroringEndpointGroups/[MIRRORING_ENDPOINT_GROUP]";
// Make the request
MirroringEndpointGroup response = await mirroringClient.GetMirroringEndpointGroupAsync(name);
ListMirroringDeploymentGroups(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> ListMirroringDeploymentGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployment groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of deployment groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringDeploymentGroupsResponseMirroringDeploymentGroup |
A pageable sequence of MirroringDeploymentGroup resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> response = mirroringClient.ListMirroringDeploymentGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringDeploymentGroup 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 (ListMirroringDeploymentGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeploymentGroup 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<MirroringDeploymentGroup> 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 (MirroringDeploymentGroup 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;
ListMirroringDeploymentGroups(ListMirroringDeploymentGroupsRequest, CallSettings)
public virtual PagedEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> ListMirroringDeploymentGroups(ListMirroringDeploymentGroupsRequest request, CallSettings callSettings = null)Lists deployment groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringDeploymentGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringDeploymentGroupsResponseMirroringDeploymentGroup |
A pageable sequence of MirroringDeploymentGroup resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
ListMirroringDeploymentGroupsRequest request = new ListMirroringDeploymentGroupsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> response = mirroringClient.ListMirroringDeploymentGroups(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringDeploymentGroup 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 (ListMirroringDeploymentGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeploymentGroup 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<MirroringDeploymentGroup> 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 (MirroringDeploymentGroup 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;
ListMirroringDeploymentGroups(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> ListMirroringDeploymentGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployment groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of deployment groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringDeploymentGroupsResponseMirroringDeploymentGroup |
A pageable sequence of MirroringDeploymentGroup resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> response = mirroringClient.ListMirroringDeploymentGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringDeploymentGroup 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 (ListMirroringDeploymentGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeploymentGroup 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<MirroringDeploymentGroup> 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 (MirroringDeploymentGroup 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;
ListMirroringDeploymentGroupsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> ListMirroringDeploymentGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployment groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of deployment groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringDeploymentGroupsResponseMirroringDeploymentGroup |
A pageable asynchronous sequence of MirroringDeploymentGroup resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> response = mirroringClient.ListMirroringDeploymentGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringDeploymentGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringDeploymentGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeploymentGroup 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<MirroringDeploymentGroup> 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 (MirroringDeploymentGroup 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;
ListMirroringDeploymentGroupsAsync(ListMirroringDeploymentGroupsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> ListMirroringDeploymentGroupsAsync(ListMirroringDeploymentGroupsRequest request, CallSettings callSettings = null)Lists deployment groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringDeploymentGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringDeploymentGroupsResponseMirroringDeploymentGroup |
A pageable asynchronous sequence of MirroringDeploymentGroup resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
ListMirroringDeploymentGroupsRequest request = new ListMirroringDeploymentGroupsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> response = mirroringClient.ListMirroringDeploymentGroupsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringDeploymentGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringDeploymentGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeploymentGroup 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<MirroringDeploymentGroup> 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 (MirroringDeploymentGroup 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;
ListMirroringDeploymentGroupsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> ListMirroringDeploymentGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployment groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of deployment groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringDeploymentGroupsResponseMirroringDeploymentGroup |
A pageable asynchronous sequence of MirroringDeploymentGroup resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListMirroringDeploymentGroupsResponse, MirroringDeploymentGroup> response = mirroringClient.ListMirroringDeploymentGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringDeploymentGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringDeploymentGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeploymentGroup 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<MirroringDeploymentGroup> 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 (MirroringDeploymentGroup 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;
ListMirroringDeployments(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> ListMirroringDeployments(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployments in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of deployments.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringDeploymentsResponseMirroringDeployment |
A pageable sequence of MirroringDeployment resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> response = mirroringClient.ListMirroringDeployments(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringDeployment 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 (ListMirroringDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeployment 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<MirroringDeployment> 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 (MirroringDeployment 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;
ListMirroringDeployments(ListMirroringDeploymentsRequest, CallSettings)
public virtual PagedEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> ListMirroringDeployments(ListMirroringDeploymentsRequest request, CallSettings callSettings = null)Lists deployments in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringDeploymentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringDeploymentsResponseMirroringDeployment |
A pageable sequence of MirroringDeployment resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
ListMirroringDeploymentsRequest request = new ListMirroringDeploymentsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> response = mirroringClient.ListMirroringDeployments(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringDeployment 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 (ListMirroringDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeployment 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<MirroringDeployment> 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 (MirroringDeployment 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;
ListMirroringDeployments(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> ListMirroringDeployments(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployments in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of deployments.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringDeploymentsResponseMirroringDeployment |
A pageable sequence of MirroringDeployment resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> response = mirroringClient.ListMirroringDeployments(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringDeployment 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 (ListMirroringDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeployment 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<MirroringDeployment> 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 (MirroringDeployment 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;
ListMirroringDeploymentsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> ListMirroringDeploymentsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployments in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of deployments.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringDeploymentsResponseMirroringDeployment |
A pageable asynchronous sequence of MirroringDeployment resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> response = mirroringClient.ListMirroringDeploymentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeployment 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<MirroringDeployment> 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 (MirroringDeployment 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;
ListMirroringDeploymentsAsync(ListMirroringDeploymentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> ListMirroringDeploymentsAsync(ListMirroringDeploymentsRequest request, CallSettings callSettings = null)Lists deployments in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringDeploymentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringDeploymentsResponseMirroringDeployment |
A pageable asynchronous sequence of MirroringDeployment resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
ListMirroringDeploymentsRequest request = new ListMirroringDeploymentsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> response = mirroringClient.ListMirroringDeploymentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeployment 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<MirroringDeployment> 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 (MirroringDeployment 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;
ListMirroringDeploymentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> ListMirroringDeploymentsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists deployments in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of deployments.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringDeploymentsResponseMirroringDeployment |
A pageable asynchronous sequence of MirroringDeployment resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListMirroringDeploymentsResponse, MirroringDeployment> response = mirroringClient.ListMirroringDeploymentsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringDeployment item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringDeploymentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringDeployment 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<MirroringDeployment> 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 (MirroringDeployment 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;
ListMirroringEndpointGroupAssociations(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> ListMirroringEndpointGroupAssociations(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists associations in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of associations.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringEndpointGroupAssociationsResponseMirroringEndpointGroupAssociation |
A pageable sequence of MirroringEndpointGroupAssociation resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> response = mirroringClient.ListMirroringEndpointGroupAssociations(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringEndpointGroupAssociation 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 (ListMirroringEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroupAssociation 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<MirroringEndpointGroupAssociation> 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 (MirroringEndpointGroupAssociation 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;
ListMirroringEndpointGroupAssociations(ListMirroringEndpointGroupAssociationsRequest, CallSettings)
public virtual PagedEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> ListMirroringEndpointGroupAssociations(ListMirroringEndpointGroupAssociationsRequest request, CallSettings callSettings = null)Lists associations in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringEndpointGroupAssociationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringEndpointGroupAssociationsResponseMirroringEndpointGroupAssociation |
A pageable sequence of MirroringEndpointGroupAssociation resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
ListMirroringEndpointGroupAssociationsRequest request = new ListMirroringEndpointGroupAssociationsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> response = mirroringClient.ListMirroringEndpointGroupAssociations(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringEndpointGroupAssociation 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 (ListMirroringEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroupAssociation 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<MirroringEndpointGroupAssociation> 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 (MirroringEndpointGroupAssociation 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;
ListMirroringEndpointGroupAssociations(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> ListMirroringEndpointGroupAssociations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists associations in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of associations.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringEndpointGroupAssociationsResponseMirroringEndpointGroupAssociation |
A pageable sequence of MirroringEndpointGroupAssociation resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> response = mirroringClient.ListMirroringEndpointGroupAssociations(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringEndpointGroupAssociation 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 (ListMirroringEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroupAssociation 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<MirroringEndpointGroupAssociation> 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 (MirroringEndpointGroupAssociation 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;
ListMirroringEndpointGroupAssociationsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> ListMirroringEndpointGroupAssociationsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists associations in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of associations.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringEndpointGroupAssociationsResponseMirroringEndpointGroupAssociation |
A pageable asynchronous sequence of MirroringEndpointGroupAssociation resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> response = mirroringClient.ListMirroringEndpointGroupAssociationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringEndpointGroupAssociation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroupAssociation 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<MirroringEndpointGroupAssociation> 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 (MirroringEndpointGroupAssociation 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;
ListMirroringEndpointGroupAssociationsAsync(ListMirroringEndpointGroupAssociationsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> ListMirroringEndpointGroupAssociationsAsync(ListMirroringEndpointGroupAssociationsRequest request, CallSettings callSettings = null)Lists associations in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringEndpointGroupAssociationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringEndpointGroupAssociationsResponseMirroringEndpointGroupAssociation |
A pageable asynchronous sequence of MirroringEndpointGroupAssociation resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
ListMirroringEndpointGroupAssociationsRequest request = new ListMirroringEndpointGroupAssociationsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> response = mirroringClient.ListMirroringEndpointGroupAssociationsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringEndpointGroupAssociation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroupAssociation 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<MirroringEndpointGroupAssociation> 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 (MirroringEndpointGroupAssociation 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;
ListMirroringEndpointGroupAssociationsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> ListMirroringEndpointGroupAssociationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists associations in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of associations.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringEndpointGroupAssociationsResponseMirroringEndpointGroupAssociation |
A pageable asynchronous sequence of MirroringEndpointGroupAssociation resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListMirroringEndpointGroupAssociationsResponse, MirroringEndpointGroupAssociation> response = mirroringClient.ListMirroringEndpointGroupAssociationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringEndpointGroupAssociation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringEndpointGroupAssociationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroupAssociation 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<MirroringEndpointGroupAssociation> 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 (MirroringEndpointGroupAssociation 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;
ListMirroringEndpointGroups(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> ListMirroringEndpointGroups(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists endpoint groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of endpoint groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringEndpointGroupsResponseMirroringEndpointGroup |
A pageable sequence of MirroringEndpointGroup resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> response = mirroringClient.ListMirroringEndpointGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringEndpointGroup 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 (ListMirroringEndpointGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroup 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<MirroringEndpointGroup> 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 (MirroringEndpointGroup 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;
ListMirroringEndpointGroups(ListMirroringEndpointGroupsRequest, CallSettings)
public virtual PagedEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> ListMirroringEndpointGroups(ListMirroringEndpointGroupsRequest request, CallSettings callSettings = null)Lists endpoint groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringEndpointGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringEndpointGroupsResponseMirroringEndpointGroup |
A pageable sequence of MirroringEndpointGroup resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
ListMirroringEndpointGroupsRequest request = new ListMirroringEndpointGroupsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> response = mirroringClient.ListMirroringEndpointGroups(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringEndpointGroup 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 (ListMirroringEndpointGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroup 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<MirroringEndpointGroup> 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 (MirroringEndpointGroup 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;
ListMirroringEndpointGroups(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> ListMirroringEndpointGroups(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists endpoint groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of endpoint groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListMirroringEndpointGroupsResponseMirroringEndpointGroup |
A pageable sequence of MirroringEndpointGroup resources. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> response = mirroringClient.ListMirroringEndpointGroups(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (MirroringEndpointGroup 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 (ListMirroringEndpointGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroup 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<MirroringEndpointGroup> 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 (MirroringEndpointGroup 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;
ListMirroringEndpointGroupsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> ListMirroringEndpointGroupsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists endpoint groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent, which owns this collection of endpoint groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringEndpointGroupsResponseMirroringEndpointGroup |
A pageable asynchronous sequence of MirroringEndpointGroup resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> response = mirroringClient.ListMirroringEndpointGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringEndpointGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringEndpointGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroup 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<MirroringEndpointGroup> 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 (MirroringEndpointGroup 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;
ListMirroringEndpointGroupsAsync(ListMirroringEndpointGroupsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> ListMirroringEndpointGroupsAsync(ListMirroringEndpointGroupsRequest request, CallSettings callSettings = null)Lists endpoint groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
request |
ListMirroringEndpointGroupsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringEndpointGroupsResponseMirroringEndpointGroup |
A pageable asynchronous sequence of MirroringEndpointGroup resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
ListMirroringEndpointGroupsRequest request = new ListMirroringEndpointGroupsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> response = mirroringClient.ListMirroringEndpointGroupsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringEndpointGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringEndpointGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroup 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<MirroringEndpointGroup> 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 (MirroringEndpointGroup 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;
ListMirroringEndpointGroupsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> ListMirroringEndpointGroupsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists endpoint groups in a given project and location. See https://google.aip.dev/132.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent, which owns this collection of endpoint groups.
Example: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListMirroringEndpointGroupsResponseMirroringEndpointGroup |
A pageable asynchronous sequence of MirroringEndpointGroup resources. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListMirroringEndpointGroupsResponse, MirroringEndpointGroup> response = mirroringClient.ListMirroringEndpointGroupsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (MirroringEndpointGroup item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (ListMirroringEndpointGroupsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (MirroringEndpointGroup 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<MirroringEndpointGroup> 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 (MirroringEndpointGroup 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;
PollOnceCreateMirroringDeployment(string, CallSettings)
public virtual Operation<MirroringDeployment, OperationMetadata> PollOnceCreateMirroringDeployment(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateMirroringDeployment.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentOperationMetadata |
The result of polling the operation. |
PollOnceCreateMirroringDeploymentAsync(string, CallSettings)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> PollOnceCreateMirroringDeploymentAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateMirroringDeployment.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateMirroringDeploymentGroup(string, CallSettings)
public virtual Operation<MirroringDeploymentGroup, OperationMetadata> PollOnceCreateMirroringDeploymentGroup(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateMirroringDeploymentGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentGroupOperationMetadata |
The result of polling the operation. |
PollOnceCreateMirroringDeploymentGroupAsync(string, CallSettings)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> PollOnceCreateMirroringDeploymentGroupAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateMirroringDeploymentGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateMirroringEndpointGroup(string, CallSettings)
public virtual Operation<MirroringEndpointGroup, OperationMetadata> PollOnceCreateMirroringEndpointGroup(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateMirroringEndpointGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupOperationMetadata |
The result of polling the operation. |
PollOnceCreateMirroringEndpointGroupAssociation(string, CallSettings)
public virtual Operation<MirroringEndpointGroupAssociation, OperationMetadata> PollOnceCreateMirroringEndpointGroupAssociation(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
CreateMirroringEndpointGroupAssociation.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupAssociationOperationMetadata |
The result of polling the operation. |
PollOnceCreateMirroringEndpointGroupAssociationAsync(string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> PollOnceCreateMirroringEndpointGroupAssociationAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateMirroringEndpointGroupAssociation.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateMirroringEndpointGroupAsync(string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> PollOnceCreateMirroringEndpointGroupAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateMirroringEndpointGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteMirroringDeployment(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteMirroringDeployment(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteMirroringDeployment.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteMirroringDeploymentAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteMirroringDeploymentAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteMirroringDeployment.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteMirroringDeploymentGroup(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteMirroringDeploymentGroup(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteMirroringDeploymentGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteMirroringDeploymentGroupAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteMirroringDeploymentGroupAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteMirroringDeploymentGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteMirroringEndpointGroup(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteMirroringEndpointGroup(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteMirroringEndpointGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteMirroringEndpointGroupAssociation(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteMirroringEndpointGroupAssociation(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
DeleteMirroringEndpointGroupAssociation.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteMirroringEndpointGroupAssociationAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteMirroringEndpointGroupAssociationAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteMirroringEndpointGroupAssociation.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteMirroringEndpointGroupAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteMirroringEndpointGroupAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteMirroringEndpointGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateMirroringDeployment(string, CallSettings)
public virtual Operation<MirroringDeployment, OperationMetadata> PollOnceUpdateMirroringDeployment(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
UpdateMirroringDeployment.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentOperationMetadata |
The result of polling the operation. |
PollOnceUpdateMirroringDeploymentAsync(string, CallSettings)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> PollOnceUpdateMirroringDeploymentAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateMirroringDeployment.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateMirroringDeploymentGroup(string, CallSettings)
public virtual Operation<MirroringDeploymentGroup, OperationMetadata> PollOnceUpdateMirroringDeploymentGroup(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
UpdateMirroringDeploymentGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentGroupOperationMetadata |
The result of polling the operation. |
PollOnceUpdateMirroringDeploymentGroupAsync(string, CallSettings)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> PollOnceUpdateMirroringDeploymentGroupAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateMirroringDeploymentGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateMirroringEndpointGroup(string, CallSettings)
public virtual Operation<MirroringEndpointGroup, OperationMetadata> PollOnceUpdateMirroringEndpointGroup(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
UpdateMirroringEndpointGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupOperationMetadata |
The result of polling the operation. |
PollOnceUpdateMirroringEndpointGroupAssociation(string, CallSettings)
public virtual Operation<MirroringEndpointGroupAssociation, OperationMetadata> PollOnceUpdateMirroringEndpointGroupAssociation(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
UpdateMirroringEndpointGroupAssociation.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupAssociationOperationMetadata |
The result of polling the operation. |
PollOnceUpdateMirroringEndpointGroupAssociationAsync(string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> PollOnceUpdateMirroringEndpointGroupAssociationAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateMirroringEndpointGroupAssociation.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateMirroringEndpointGroupAsync(string, CallSettings)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> PollOnceUpdateMirroringEndpointGroupAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateMirroringEndpointGroup.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A task representing the result of polling the operation. |
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateMirroringDeployment(MirroringDeployment, FieldMask, CallSettings)
public virtual Operation<MirroringDeployment, OperationMetadata> UpdateMirroringDeployment(MirroringDeployment mirroringDeployment, FieldMask updateMask, CallSettings callSettings = null)Updates a deployment. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the deployment
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringDeployment mirroringDeployment = new MirroringDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = mirroringClient.UpdateMirroringDeployment(mirroringDeployment, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeployment(UpdateMirroringDeploymentRequest, CallSettings)
public virtual Operation<MirroringDeployment, OperationMetadata> UpdateMirroringDeployment(UpdateMirroringDeploymentRequest request, CallSettings callSettings = null)Updates a deployment. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
UpdateMirroringDeploymentRequest request = new UpdateMirroringDeploymentRequest
{
UpdateMask = new FieldMask(),
MirroringDeployment = new MirroringDeployment(),
RequestId = "",
};
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = mirroringClient.UpdateMirroringDeployment(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringDeployment(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentAsync(MirroringDeployment, FieldMask, CallSettings)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> UpdateMirroringDeploymentAsync(MirroringDeployment mirroringDeployment, FieldMask updateMask, CallSettings callSettings = null)Updates a deployment. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the deployment
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeployment mirroringDeployment = new MirroringDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentAsync(mirroringDeployment, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentAsync(MirroringDeployment, FieldMask, CancellationToken)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> UpdateMirroringDeploymentAsync(MirroringDeployment mirroringDeployment, FieldMask updateMask, CancellationToken cancellationToken)Updates a deployment. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringDeployment |
MirroringDeploymentRequired. The deployment to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the deployment
(e.g. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeployment mirroringDeployment = new MirroringDeployment();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentAsync(mirroringDeployment, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentAsync(UpdateMirroringDeploymentRequest, CallSettings)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> UpdateMirroringDeploymentAsync(UpdateMirroringDeploymentRequest request, CallSettings callSettings = null)Updates a deployment. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringDeploymentRequest request = new UpdateMirroringDeploymentRequest
{
UpdateMask = new FieldMask(),
MirroringDeployment = new MirroringDeployment(),
RequestId = "",
};
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentAsync(UpdateMirroringDeploymentRequest, CancellationToken)
public virtual Task<Operation<MirroringDeployment, OperationMetadata>> UpdateMirroringDeploymentAsync(UpdateMirroringDeploymentRequest request, CancellationToken cancellationToken)Updates a deployment. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringDeploymentRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringDeploymentRequest request = new UpdateMirroringDeploymentRequest
{
UpdateMask = new FieldMask(),
MirroringDeployment = new MirroringDeployment(),
RequestId = "",
};
// Make the request
Operation<MirroringDeployment, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeployment, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeployment result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeployment, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeployment retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentGroup(MirroringDeploymentGroup, FieldMask, CallSettings)
public virtual Operation<MirroringDeploymentGroup, OperationMetadata> UpdateMirroringDeploymentGroup(MirroringDeploymentGroup mirroringDeploymentGroup, FieldMask updateMask, CallSettings callSettings = null)Updates a deployment group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the deployment group
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = mirroringClient.UpdateMirroringDeploymentGroup(mirroringDeploymentGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentGroup(UpdateMirroringDeploymentGroupRequest, CallSettings)
public virtual Operation<MirroringDeploymentGroup, OperationMetadata> UpdateMirroringDeploymentGroup(UpdateMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Updates a deployment group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringDeploymentGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
UpdateMirroringDeploymentGroupRequest request = new UpdateMirroringDeploymentGroupRequest
{
UpdateMask = new FieldMask(),
MirroringDeploymentGroup = new MirroringDeploymentGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = mirroringClient.UpdateMirroringDeploymentGroup(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringDeploymentGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentGroupAsync(MirroringDeploymentGroup, FieldMask, CallSettings)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> UpdateMirroringDeploymentGroupAsync(MirroringDeploymentGroup mirroringDeploymentGroup, FieldMask updateMask, CallSettings callSettings = null)Updates a deployment group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the deployment group
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentGroupAsync(mirroringDeploymentGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentGroupAsync(MirroringDeploymentGroup, FieldMask, CancellationToken)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> UpdateMirroringDeploymentGroupAsync(MirroringDeploymentGroup mirroringDeploymentGroup, FieldMask updateMask, CancellationToken cancellationToken)Updates a deployment group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringDeploymentGroup |
MirroringDeploymentGroupRequired. The deployment group to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the deployment group
(e.g. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringDeploymentGroup mirroringDeploymentGroup = new MirroringDeploymentGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentGroupAsync(mirroringDeploymentGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentGroupAsync(UpdateMirroringDeploymentGroupRequest, CallSettings)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> UpdateMirroringDeploymentGroupAsync(UpdateMirroringDeploymentGroupRequest request, CallSettings callSettings = null)Updates a deployment group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringDeploymentGroupRequest request = new UpdateMirroringDeploymentGroupRequest
{
UpdateMask = new FieldMask(),
MirroringDeploymentGroup = new MirroringDeploymentGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringDeploymentGroupAsync(UpdateMirroringDeploymentGroupRequest, CancellationToken)
public virtual Task<Operation<MirroringDeploymentGroup, OperationMetadata>> UpdateMirroringDeploymentGroupAsync(UpdateMirroringDeploymentGroupRequest request, CancellationToken cancellationToken)Updates a deployment group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringDeploymentGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringDeploymentGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringDeploymentGroupRequest request = new UpdateMirroringDeploymentGroupRequest
{
UpdateMask = new FieldMask(),
MirroringDeploymentGroup = new MirroringDeploymentGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringDeploymentGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringDeploymentGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringDeploymentGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringDeploymentGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringDeploymentGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringDeploymentGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringDeploymentGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroup(MirroringEndpointGroup, FieldMask, CallSettings)
public virtual Operation<MirroringEndpointGroup, OperationMetadata> UpdateMirroringEndpointGroup(MirroringEndpointGroup mirroringEndpointGroup, FieldMask updateMask, CallSettings callSettings = null)Updates an endpoint group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the endpoint group
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = mirroringClient.UpdateMirroringEndpointGroup(mirroringEndpointGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroup(UpdateMirroringEndpointGroupRequest, CallSettings)
public virtual Operation<MirroringEndpointGroup, OperationMetadata> UpdateMirroringEndpointGroup(UpdateMirroringEndpointGroupRequest request, CallSettings callSettings = null)Updates an endpoint group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
UpdateMirroringEndpointGroupRequest request = new UpdateMirroringEndpointGroupRequest
{
UpdateMask = new FieldMask(),
MirroringEndpointGroup = new MirroringEndpointGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = mirroringClient.UpdateMirroringEndpointGroup(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringEndpointGroup(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation, FieldMask, CallSettings)
public virtual Operation<MirroringEndpointGroupAssociation, OperationMetadata> UpdateMirroringEndpointGroupAssociation(MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, FieldMask updateMask, CallSettings callSettings = null)Updates an association. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the association
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupAssociationOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = mirroringClient.UpdateMirroringEndpointGroupAssociation(mirroringEndpointGroupAssociation, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAssociation(UpdateMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual Operation<MirroringEndpointGroupAssociation, OperationMetadata> UpdateMirroringEndpointGroupAssociation(UpdateMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Updates an association. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationMirroringEndpointGroupAssociationOperationMetadata |
The RPC response. |
// Create client
MirroringClient mirroringClient = MirroringClient.Create();
// Initialize request argument(s)
UpdateMirroringEndpointGroupAssociationRequest request = new UpdateMirroringEndpointGroupAssociationRequest
{
UpdateMask = new FieldMask(),
MirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = mirroringClient.UpdateMirroringEndpointGroupAssociation(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = mirroringClient.PollOnceUpdateMirroringEndpointGroupAssociation(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociation, FieldMask, CallSettings)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> UpdateMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, FieldMask updateMask, CallSettings callSettings = null)Updates an association. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the association
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAssociationAsync(mirroringEndpointGroupAssociation, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociation, FieldMask, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> UpdateMirroringEndpointGroupAssociationAsync(MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation, FieldMask updateMask, CancellationToken cancellationToken)Updates an association. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringEndpointGroupAssociation |
MirroringEndpointGroupAssociationRequired. The association to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the association
(e.g. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroupAssociation mirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAssociationAsync(mirroringEndpointGroupAssociation, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAssociationAsync(UpdateMirroringEndpointGroupAssociationRequest, CallSettings)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> UpdateMirroringEndpointGroupAssociationAsync(UpdateMirroringEndpointGroupAssociationRequest request, CallSettings callSettings = null)Updates an association. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringEndpointGroupAssociationRequest request = new UpdateMirroringEndpointGroupAssociationRequest
{
UpdateMask = new FieldMask(),
MirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAssociationAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAssociationAsync(UpdateMirroringEndpointGroupAssociationRequest, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroupAssociation, OperationMetadata>> UpdateMirroringEndpointGroupAssociationAsync(UpdateMirroringEndpointGroupAssociationRequest request, CancellationToken cancellationToken)Updates an association. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringEndpointGroupAssociationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupAssociationOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringEndpointGroupAssociationRequest request = new UpdateMirroringEndpointGroupAssociationRequest
{
UpdateMask = new FieldMask(),
MirroringEndpointGroupAssociation = new MirroringEndpointGroupAssociation(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroupAssociation, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAssociationAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroupAssociation, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroupAssociation result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroupAssociation, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAssociationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroupAssociation retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAsync(MirroringEndpointGroup, FieldMask, CallSettings)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> UpdateMirroringEndpointGroupAsync(MirroringEndpointGroup mirroringEndpointGroup, FieldMask updateMask, CallSettings callSettings = null)Updates an endpoint group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the endpoint group
(e.g. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAsync(mirroringEndpointGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAsync(MirroringEndpointGroup, FieldMask, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> UpdateMirroringEndpointGroupAsync(MirroringEndpointGroup mirroringEndpointGroup, FieldMask updateMask, CancellationToken cancellationToken)Updates an endpoint group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
mirroringEndpointGroup |
MirroringEndpointGroupRequired. The endpoint group to update. |
updateMask |
FieldMaskOptional. The list of fields to update.
Fields are specified relative to the endpoint group
(e.g. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
MirroringEndpointGroup mirroringEndpointGroup = new MirroringEndpointGroup();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAsync(mirroringEndpointGroup, updateMask);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAsync(UpdateMirroringEndpointGroupRequest, CallSettings)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> UpdateMirroringEndpointGroupAsync(UpdateMirroringEndpointGroupRequest request, CallSettings callSettings = null)Updates an endpoint group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringEndpointGroupRequest request = new UpdateMirroringEndpointGroupRequest
{
UpdateMask = new FieldMask(),
MirroringEndpointGroup = new MirroringEndpointGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}
UpdateMirroringEndpointGroupAsync(UpdateMirroringEndpointGroupRequest, CancellationToken)
public virtual Task<Operation<MirroringEndpointGroup, OperationMetadata>> UpdateMirroringEndpointGroupAsync(UpdateMirroringEndpointGroupRequest request, CancellationToken cancellationToken)Updates an endpoint group. See https://google.aip.dev/134.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateMirroringEndpointGroupRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationMirroringEndpointGroupOperationMetadata |
A Task containing the RPC response. |
// Create client
MirroringClient mirroringClient = await MirroringClient.CreateAsync();
// Initialize request argument(s)
UpdateMirroringEndpointGroupRequest request = new UpdateMirroringEndpointGroupRequest
{
UpdateMask = new FieldMask(),
MirroringEndpointGroup = new MirroringEndpointGroup(),
RequestId = "",
};
// Make the request
Operation<MirroringEndpointGroup, OperationMetadata> response = await mirroringClient.UpdateMirroringEndpointGroupAsync(request);
// Poll until the returned long-running operation is complete
Operation<MirroringEndpointGroup, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
MirroringEndpointGroup result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<MirroringEndpointGroup, OperationMetadata> retrievedResponse = await mirroringClient.PollOnceUpdateMirroringEndpointGroupAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
MirroringEndpointGroup retrievedResult = retrievedResponse.Result;
}