Show / Hide Table of Contents

Class EntitySignalsMappingServiceClient

EntitySignalsMappingService client wrapper, for convenient use.

Inheritance
object
EntitySignalsMappingServiceClient
EntitySignalsMappingServiceClientImpl
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public abstract class EntitySignalsMappingServiceClient
Remarks

Provides methods for handling EntitySignalsMapping objects.

Properties

DefaultEndpoint

The default endpoint for the EntitySignalsMappingService service, which is a host of "admanager.googleapis.com" and a port of 443.

Declaration
public static string DefaultEndpoint { get; }
Property Value
Type Description
string

DefaultScopes

The default EntitySignalsMappingService scopes.

Declaration
public static IReadOnlyList<string> DefaultScopes { get; }
Property Value
Type Description
IReadOnlyList<string>
Remarks

The default EntitySignalsMappingService scopes are:

  • https://www.googleapis.com/auth/admanager

GrpcClient

The underlying gRPC EntitySignalsMappingService client

Declaration
public virtual EntitySignalsMappingService.EntitySignalsMappingServiceClient GrpcClient { get; }
Property Value
Type Description
EntitySignalsMappingService.EntitySignalsMappingServiceClient

ServiceMetadata

The service metadata associated with this client type.

Declaration
public static ServiceMetadata ServiceMetadata { get; }
Property Value
Type Description
ServiceMetadata

Methods

BatchCreateEntitySignalsMappings(BatchCreateEntitySignalsMappingsRequest, CallSettings)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual BatchCreateEntitySignalsMappingsResponse BatchCreateEntitySignalsMappings(BatchCreateEntitySignalsMappingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BatchCreateEntitySignalsMappingsResponse

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
BatchCreateEntitySignalsMappingsRequest request = new BatchCreateEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Requests =
    {
        new CreateEntitySignalsMappingRequest(),
    },
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappings(request);

BatchCreateEntitySignalsMappings(NetworkName, IEnumerable<CreateEntitySignalsMappingRequest>, CallSettings)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual BatchCreateEntitySignalsMappingsResponse BatchCreateEntitySignalsMappings(NetworkName parent, IEnumerable<CreateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where EntitySignalsMappings will be created. Format: networks/{network_code} The parent field in the CreateEntitySignalsMappingRequest must match this field.

IEnumerable<CreateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to create. A maximum of 100 objects can be created in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BatchCreateEntitySignalsMappingsResponse

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<CreateEntitySignalsMappingRequest> requests = new CreateEntitySignalsMappingRequest[]
{
    new CreateEntitySignalsMappingRequest(),
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappings(parent, requests);

BatchCreateEntitySignalsMappings(string, IEnumerable<CreateEntitySignalsMappingRequest>, CallSettings)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual BatchCreateEntitySignalsMappingsResponse BatchCreateEntitySignalsMappings(string parent, IEnumerable<CreateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent resource where EntitySignalsMappings will be created. Format: networks/{network_code} The parent field in the CreateEntitySignalsMappingRequest must match this field.

IEnumerable<CreateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to create. A maximum of 100 objects can be created in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BatchCreateEntitySignalsMappingsResponse

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<CreateEntitySignalsMappingRequest> requests = new CreateEntitySignalsMappingRequest[]
{
    new CreateEntitySignalsMappingRequest(),
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappings(parent, requests);

BatchCreateEntitySignalsMappingsAsync(BatchCreateEntitySignalsMappingsRequest, CallSettings)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual Task<BatchCreateEntitySignalsMappingsResponse> BatchCreateEntitySignalsMappingsAsync(BatchCreateEntitySignalsMappingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchCreateEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<BatchCreateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateEntitySignalsMappingsRequest request = new BatchCreateEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Requests =
    {
        new CreateEntitySignalsMappingRequest(),
    },
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappingsAsync(request);

BatchCreateEntitySignalsMappingsAsync(BatchCreateEntitySignalsMappingsRequest, CancellationToken)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual Task<BatchCreateEntitySignalsMappingsResponse> BatchCreateEntitySignalsMappingsAsync(BatchCreateEntitySignalsMappingsRequest request, CancellationToken cancellationToken)
Parameters
Type Name Description
BatchCreateEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<BatchCreateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
BatchCreateEntitySignalsMappingsRequest request = new BatchCreateEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Requests =
    {
        new CreateEntitySignalsMappingRequest(),
    },
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappingsAsync(request);

BatchCreateEntitySignalsMappingsAsync(NetworkName, IEnumerable<CreateEntitySignalsMappingRequest>, CallSettings)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual Task<BatchCreateEntitySignalsMappingsResponse> BatchCreateEntitySignalsMappingsAsync(NetworkName parent, IEnumerable<CreateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where EntitySignalsMappings will be created. Format: networks/{network_code} The parent field in the CreateEntitySignalsMappingRequest must match this field.

IEnumerable<CreateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to create. A maximum of 100 objects can be created in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<BatchCreateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<CreateEntitySignalsMappingRequest> requests = new CreateEntitySignalsMappingRequest[]
{
    new CreateEntitySignalsMappingRequest(),
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappingsAsync(parent, requests);

BatchCreateEntitySignalsMappingsAsync(NetworkName, IEnumerable<CreateEntitySignalsMappingRequest>, CancellationToken)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual Task<BatchCreateEntitySignalsMappingsResponse> BatchCreateEntitySignalsMappingsAsync(NetworkName parent, IEnumerable<CreateEntitySignalsMappingRequest> requests, CancellationToken cancellationToken)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where EntitySignalsMappings will be created. Format: networks/{network_code} The parent field in the CreateEntitySignalsMappingRequest must match this field.

IEnumerable<CreateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to create. A maximum of 100 objects can be created in a batch.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<BatchCreateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<CreateEntitySignalsMappingRequest> requests = new CreateEntitySignalsMappingRequest[]
{
    new CreateEntitySignalsMappingRequest(),
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappingsAsync(parent, requests);

BatchCreateEntitySignalsMappingsAsync(string, IEnumerable<CreateEntitySignalsMappingRequest>, CallSettings)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual Task<BatchCreateEntitySignalsMappingsResponse> BatchCreateEntitySignalsMappingsAsync(string parent, IEnumerable<CreateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent resource where EntitySignalsMappings will be created. Format: networks/{network_code} The parent field in the CreateEntitySignalsMappingRequest must match this field.

IEnumerable<CreateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to create. A maximum of 100 objects can be created in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<BatchCreateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<CreateEntitySignalsMappingRequest> requests = new CreateEntitySignalsMappingRequest[]
{
    new CreateEntitySignalsMappingRequest(),
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappingsAsync(parent, requests);

BatchCreateEntitySignalsMappingsAsync(string, IEnumerable<CreateEntitySignalsMappingRequest>, CancellationToken)

API to batch create EntitySignalsMapping objects.

Declaration
public virtual Task<BatchCreateEntitySignalsMappingsResponse> BatchCreateEntitySignalsMappingsAsync(string parent, IEnumerable<CreateEntitySignalsMappingRequest> requests, CancellationToken cancellationToken)
Parameters
Type Name Description
string parent

Required. The parent resource where EntitySignalsMappings will be created. Format: networks/{network_code} The parent field in the CreateEntitySignalsMappingRequest must match this field.

IEnumerable<CreateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to create. A maximum of 100 objects can be created in a batch.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<BatchCreateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<CreateEntitySignalsMappingRequest> requests = new CreateEntitySignalsMappingRequest[]
{
    new CreateEntitySignalsMappingRequest(),
};
// Make the request
BatchCreateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchCreateEntitySignalsMappingsAsync(parent, requests);

BatchUpdateEntitySignalsMappings(BatchUpdateEntitySignalsMappingsRequest, CallSettings)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual BatchUpdateEntitySignalsMappingsResponse BatchUpdateEntitySignalsMappings(BatchUpdateEntitySignalsMappingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BatchUpdateEntitySignalsMappingsResponse

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
BatchUpdateEntitySignalsMappingsRequest request = new BatchUpdateEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Requests =
    {
        new UpdateEntitySignalsMappingRequest(),
    },
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappings(request);

BatchUpdateEntitySignalsMappings(NetworkName, IEnumerable<UpdateEntitySignalsMappingRequest>, CallSettings)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual BatchUpdateEntitySignalsMappingsResponse BatchUpdateEntitySignalsMappings(NetworkName parent, IEnumerable<UpdateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where EntitySignalsMappings will be updated. Format: networks/{network_code} The parent field in the UpdateEntitySignalsMappingRequest must match this field.

IEnumerable<UpdateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to update. A maximum of 100 objects can be updated in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BatchUpdateEntitySignalsMappingsResponse

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<UpdateEntitySignalsMappingRequest> requests = new UpdateEntitySignalsMappingRequest[]
{
    new UpdateEntitySignalsMappingRequest(),
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappings(parent, requests);

BatchUpdateEntitySignalsMappings(string, IEnumerable<UpdateEntitySignalsMappingRequest>, CallSettings)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual BatchUpdateEntitySignalsMappingsResponse BatchUpdateEntitySignalsMappings(string parent, IEnumerable<UpdateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent resource where EntitySignalsMappings will be updated. Format: networks/{network_code} The parent field in the UpdateEntitySignalsMappingRequest must match this field.

IEnumerable<UpdateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to update. A maximum of 100 objects can be updated in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BatchUpdateEntitySignalsMappingsResponse

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<UpdateEntitySignalsMappingRequest> requests = new UpdateEntitySignalsMappingRequest[]
{
    new UpdateEntitySignalsMappingRequest(),
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappings(parent, requests);

BatchUpdateEntitySignalsMappingsAsync(BatchUpdateEntitySignalsMappingsRequest, CallSettings)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual Task<BatchUpdateEntitySignalsMappingsResponse> BatchUpdateEntitySignalsMappingsAsync(BatchUpdateEntitySignalsMappingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchUpdateEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<BatchUpdateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
BatchUpdateEntitySignalsMappingsRequest request = new BatchUpdateEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Requests =
    {
        new UpdateEntitySignalsMappingRequest(),
    },
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappingsAsync(request);

BatchUpdateEntitySignalsMappingsAsync(BatchUpdateEntitySignalsMappingsRequest, CancellationToken)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual Task<BatchUpdateEntitySignalsMappingsResponse> BatchUpdateEntitySignalsMappingsAsync(BatchUpdateEntitySignalsMappingsRequest request, CancellationToken cancellationToken)
Parameters
Type Name Description
BatchUpdateEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<BatchUpdateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
BatchUpdateEntitySignalsMappingsRequest request = new BatchUpdateEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Requests =
    {
        new UpdateEntitySignalsMappingRequest(),
    },
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappingsAsync(request);

BatchUpdateEntitySignalsMappingsAsync(NetworkName, IEnumerable<UpdateEntitySignalsMappingRequest>, CallSettings)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual Task<BatchUpdateEntitySignalsMappingsResponse> BatchUpdateEntitySignalsMappingsAsync(NetworkName parent, IEnumerable<UpdateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where EntitySignalsMappings will be updated. Format: networks/{network_code} The parent field in the UpdateEntitySignalsMappingRequest must match this field.

IEnumerable<UpdateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to update. A maximum of 100 objects can be updated in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<BatchUpdateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<UpdateEntitySignalsMappingRequest> requests = new UpdateEntitySignalsMappingRequest[]
{
    new UpdateEntitySignalsMappingRequest(),
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappingsAsync(parent, requests);

BatchUpdateEntitySignalsMappingsAsync(NetworkName, IEnumerable<UpdateEntitySignalsMappingRequest>, CancellationToken)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual Task<BatchUpdateEntitySignalsMappingsResponse> BatchUpdateEntitySignalsMappingsAsync(NetworkName parent, IEnumerable<UpdateEntitySignalsMappingRequest> requests, CancellationToken cancellationToken)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where EntitySignalsMappings will be updated. Format: networks/{network_code} The parent field in the UpdateEntitySignalsMappingRequest must match this field.

IEnumerable<UpdateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to update. A maximum of 100 objects can be updated in a batch.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<BatchUpdateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
IEnumerable<UpdateEntitySignalsMappingRequest> requests = new UpdateEntitySignalsMappingRequest[]
{
    new UpdateEntitySignalsMappingRequest(),
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappingsAsync(parent, requests);

BatchUpdateEntitySignalsMappingsAsync(string, IEnumerable<UpdateEntitySignalsMappingRequest>, CallSettings)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual Task<BatchUpdateEntitySignalsMappingsResponse> BatchUpdateEntitySignalsMappingsAsync(string parent, IEnumerable<UpdateEntitySignalsMappingRequest> requests, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent resource where EntitySignalsMappings will be updated. Format: networks/{network_code} The parent field in the UpdateEntitySignalsMappingRequest must match this field.

IEnumerable<UpdateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to update. A maximum of 100 objects can be updated in a batch.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<BatchUpdateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<UpdateEntitySignalsMappingRequest> requests = new UpdateEntitySignalsMappingRequest[]
{
    new UpdateEntitySignalsMappingRequest(),
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappingsAsync(parent, requests);

BatchUpdateEntitySignalsMappingsAsync(string, IEnumerable<UpdateEntitySignalsMappingRequest>, CancellationToken)

API to batch update EntitySignalsMapping objects.

Declaration
public virtual Task<BatchUpdateEntitySignalsMappingsResponse> BatchUpdateEntitySignalsMappingsAsync(string parent, IEnumerable<UpdateEntitySignalsMappingRequest> requests, CancellationToken cancellationToken)
Parameters
Type Name Description
string parent

Required. The parent resource where EntitySignalsMappings will be updated. Format: networks/{network_code} The parent field in the UpdateEntitySignalsMappingRequest must match this field.

IEnumerable<UpdateEntitySignalsMappingRequest> requests

Required. The EntitySignalsMapping objects to update. A maximum of 100 objects can be updated in a batch.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<BatchUpdateEntitySignalsMappingsResponse>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
IEnumerable<UpdateEntitySignalsMappingRequest> requests = new UpdateEntitySignalsMappingRequest[]
{
    new UpdateEntitySignalsMappingRequest(),
};
// Make the request
BatchUpdateEntitySignalsMappingsResponse response = await entitySignalsMappingServiceClient.BatchUpdateEntitySignalsMappingsAsync(parent, requests);

Create()

Synchronously creates a EntitySignalsMappingServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use EntitySignalsMappingServiceClientBuilder.

Declaration
public static EntitySignalsMappingServiceClient Create()
Returns
Type Description
EntitySignalsMappingServiceClient

The created EntitySignalsMappingServiceClient.

CreateAsync(CancellationToken)

Asynchronously creates a EntitySignalsMappingServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use EntitySignalsMappingServiceClientBuilder.

Declaration
public static Task<EntitySignalsMappingServiceClient> CreateAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
Task<EntitySignalsMappingServiceClient>

The task representing the created EntitySignalsMappingServiceClient.

CreateEntitySignalsMapping(CreateEntitySignalsMappingRequest, CallSettings)

API to create an EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping CreateEntitySignalsMapping(CreateEntitySignalsMappingRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
CreateEntitySignalsMappingRequest request = new CreateEntitySignalsMappingRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    EntitySignalsMapping = new EntitySignalsMapping(),
};
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.CreateEntitySignalsMapping(request);

CreateEntitySignalsMapping(NetworkName, EntitySignalsMapping, CallSettings)

API to create an EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping CreateEntitySignalsMapping(NetworkName parent, EntitySignalsMapping entitySignalsMapping, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where this EntitySignalsMapping will be created. Format: networks/{network_code}

EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping object to create.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.CreateEntitySignalsMapping(parent, entitySignalsMapping);

CreateEntitySignalsMapping(string, EntitySignalsMapping, CallSettings)

API to create an EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping CreateEntitySignalsMapping(string parent, EntitySignalsMapping entitySignalsMapping, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent resource where this EntitySignalsMapping will be created. Format: networks/{network_code}

EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping object to create.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.CreateEntitySignalsMapping(parent, entitySignalsMapping);

CreateEntitySignalsMappingAsync(CreateEntitySignalsMappingRequest, CallSettings)

API to create an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> CreateEntitySignalsMappingAsync(CreateEntitySignalsMappingRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
CreateEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEntitySignalsMappingRequest request = new CreateEntitySignalsMappingRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    EntitySignalsMapping = new EntitySignalsMapping(),
};
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.CreateEntitySignalsMappingAsync(request);

CreateEntitySignalsMappingAsync(CreateEntitySignalsMappingRequest, CancellationToken)

API to create an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> CreateEntitySignalsMappingAsync(CreateEntitySignalsMappingRequest request, CancellationToken cancellationToken)
Parameters
Type Name Description
CreateEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
CreateEntitySignalsMappingRequest request = new CreateEntitySignalsMappingRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    EntitySignalsMapping = new EntitySignalsMapping(),
};
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.CreateEntitySignalsMappingAsync(request);

CreateEntitySignalsMappingAsync(NetworkName, EntitySignalsMapping, CallSettings)

API to create an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> CreateEntitySignalsMappingAsync(NetworkName parent, EntitySignalsMapping entitySignalsMapping, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where this EntitySignalsMapping will be created. Format: networks/{network_code}

EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping object to create.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.CreateEntitySignalsMappingAsync(parent, entitySignalsMapping);

CreateEntitySignalsMappingAsync(NetworkName, EntitySignalsMapping, CancellationToken)

API to create an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> CreateEntitySignalsMappingAsync(NetworkName parent, EntitySignalsMapping entitySignalsMapping, CancellationToken cancellationToken)
Parameters
Type Name Description
NetworkName parent

Required. The parent resource where this EntitySignalsMapping will be created. Format: networks/{network_code}

EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping object to create.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.CreateEntitySignalsMappingAsync(parent, entitySignalsMapping);

CreateEntitySignalsMappingAsync(string, EntitySignalsMapping, CallSettings)

API to create an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> CreateEntitySignalsMappingAsync(string parent, EntitySignalsMapping entitySignalsMapping, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent resource where this EntitySignalsMapping will be created. Format: networks/{network_code}

EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping object to create.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.CreateEntitySignalsMappingAsync(parent, entitySignalsMapping);

CreateEntitySignalsMappingAsync(string, EntitySignalsMapping, CancellationToken)

API to create an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> CreateEntitySignalsMappingAsync(string parent, EntitySignalsMapping entitySignalsMapping, CancellationToken cancellationToken)
Parameters
Type Name Description
string parent

Required. The parent resource where this EntitySignalsMapping will be created. Format: networks/{network_code}

EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping object to create.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.CreateEntitySignalsMappingAsync(parent, entitySignalsMapping);

GetEntitySignalsMapping(EntitySignalsMappingName, CallSettings)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping GetEntitySignalsMapping(EntitySignalsMappingName name, CallSettings callSettings = null)
Parameters
Type Name Description
EntitySignalsMappingName name

Required. The resource name of the EntitySignalsMapping. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
EntitySignalsMappingName name = EntitySignalsMappingName.FromNetworkCodeEntitySignalsMapping("[NETWORK_CODE]", "[ENTITY_SIGNALS_MAPPING]");
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.GetEntitySignalsMapping(name);

GetEntitySignalsMapping(GetEntitySignalsMappingRequest, CallSettings)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping GetEntitySignalsMapping(GetEntitySignalsMappingRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
GetEntitySignalsMappingRequest request = new GetEntitySignalsMappingRequest
{
    EntitySignalsMappingName = EntitySignalsMappingName.FromNetworkCodeEntitySignalsMapping("[NETWORK_CODE]", "[ENTITY_SIGNALS_MAPPING]"),
};
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.GetEntitySignalsMapping(request);

GetEntitySignalsMapping(string, CallSettings)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping GetEntitySignalsMapping(string name, CallSettings callSettings = null)
Parameters
Type Name Description
string name

Required. The resource name of the EntitySignalsMapping. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
string name = "networks/[NETWORK_CODE]/entitySignalsMappings/[ENTITY_SIGNALS_MAPPING]";
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.GetEntitySignalsMapping(name);

GetEntitySignalsMappingAsync(EntitySignalsMappingName, CallSettings)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> GetEntitySignalsMappingAsync(EntitySignalsMappingName name, CallSettings callSettings = null)
Parameters
Type Name Description
EntitySignalsMappingName name

Required. The resource name of the EntitySignalsMapping. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
EntitySignalsMappingName name = EntitySignalsMappingName.FromNetworkCodeEntitySignalsMapping("[NETWORK_CODE]", "[ENTITY_SIGNALS_MAPPING]");
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.GetEntitySignalsMappingAsync(name);

GetEntitySignalsMappingAsync(EntitySignalsMappingName, CancellationToken)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> GetEntitySignalsMappingAsync(EntitySignalsMappingName name, CancellationToken cancellationToken)
Parameters
Type Name Description
EntitySignalsMappingName name

Required. The resource name of the EntitySignalsMapping. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
EntitySignalsMappingName name = EntitySignalsMappingName.FromNetworkCodeEntitySignalsMapping("[NETWORK_CODE]", "[ENTITY_SIGNALS_MAPPING]");
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.GetEntitySignalsMappingAsync(name);

GetEntitySignalsMappingAsync(GetEntitySignalsMappingRequest, CallSettings)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> GetEntitySignalsMappingAsync(GetEntitySignalsMappingRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
GetEntitySignalsMappingRequest request = new GetEntitySignalsMappingRequest
{
    EntitySignalsMappingName = EntitySignalsMappingName.FromNetworkCodeEntitySignalsMapping("[NETWORK_CODE]", "[ENTITY_SIGNALS_MAPPING]"),
};
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.GetEntitySignalsMappingAsync(request);

GetEntitySignalsMappingAsync(GetEntitySignalsMappingRequest, CancellationToken)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> GetEntitySignalsMappingAsync(GetEntitySignalsMappingRequest request, CancellationToken cancellationToken)
Parameters
Type Name Description
GetEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
GetEntitySignalsMappingRequest request = new GetEntitySignalsMappingRequest
{
    EntitySignalsMappingName = EntitySignalsMappingName.FromNetworkCodeEntitySignalsMapping("[NETWORK_CODE]", "[ENTITY_SIGNALS_MAPPING]"),
};
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.GetEntitySignalsMappingAsync(request);

GetEntitySignalsMappingAsync(string, CallSettings)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> GetEntitySignalsMappingAsync(string name, CallSettings callSettings = null)
Parameters
Type Name Description
string name

Required. The resource name of the EntitySignalsMapping. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "networks/[NETWORK_CODE]/entitySignalsMappings/[ENTITY_SIGNALS_MAPPING]";
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.GetEntitySignalsMappingAsync(name);

GetEntitySignalsMappingAsync(string, CancellationToken)

API to retrieve a EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> GetEntitySignalsMappingAsync(string name, CancellationToken cancellationToken)
Parameters
Type Name Description
string name

Required. The resource name of the EntitySignalsMapping. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "networks/[NETWORK_CODE]/entitySignalsMappings/[ENTITY_SIGNALS_MAPPING]";
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.GetEntitySignalsMappingAsync(name);

ListEntitySignalsMappings(ListEntitySignalsMappingsRequest, CallSettings)

API to retrieve a list of EntitySignalsMapping objects.

Declaration
public virtual PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> ListEntitySignalsMappings(ListEntitySignalsMappingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping>

A pageable sequence of EntitySignalsMapping resources.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
ListEntitySignalsMappingsRequest request = new ListEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Filter = "",
    OrderBy = "",
    Skip = 0,
};
// Make the request
PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> response = entitySignalsMappingServiceClient.ListEntitySignalsMappings(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (EntitySignalsMapping 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 (ListEntitySignalsMappingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntitySignalsMapping 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<EntitySignalsMapping> 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 (EntitySignalsMapping 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;

ListEntitySignalsMappings(NetworkName, string, int?, CallSettings)

API to retrieve a list of EntitySignalsMapping objects.

Declaration
public virtual PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> ListEntitySignalsMappings(NetworkName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent, which owns this collection of EntitySignalsMappings. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping>

A pageable sequence of EntitySignalsMapping resources.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
// Make the request
PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> response = entitySignalsMappingServiceClient.ListEntitySignalsMappings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (EntitySignalsMapping 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 (ListEntitySignalsMappingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntitySignalsMapping 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<EntitySignalsMapping> 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 (EntitySignalsMapping 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;

ListEntitySignalsMappings(string, string, int?, CallSettings)

API to retrieve a list of EntitySignalsMapping objects.

Declaration
public virtual PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> ListEntitySignalsMappings(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of EntitySignalsMappings. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping>

A pageable sequence of EntitySignalsMapping resources.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
// Make the request
PagedEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> response = entitySignalsMappingServiceClient.ListEntitySignalsMappings(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (EntitySignalsMapping 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 (ListEntitySignalsMappingsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntitySignalsMapping 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<EntitySignalsMapping> 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 (EntitySignalsMapping 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;

ListEntitySignalsMappingsAsync(ListEntitySignalsMappingsRequest, CallSettings)

API to retrieve a list of EntitySignalsMapping objects.

Declaration
public virtual PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> ListEntitySignalsMappingsAsync(ListEntitySignalsMappingsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListEntitySignalsMappingsRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping>

A pageable asynchronous sequence of EntitySignalsMapping resources.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
ListEntitySignalsMappingsRequest request = new ListEntitySignalsMappingsRequest
{
    ParentAsNetworkName = NetworkName.FromNetworkCode("[NETWORK_CODE]"),
    Filter = "",
    OrderBy = "",
    Skip = 0,
};
// Make the request
PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> response = entitySignalsMappingServiceClient.ListEntitySignalsMappingsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntitySignalsMapping item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntitySignalsMappingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntitySignalsMapping 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<EntitySignalsMapping> 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 (EntitySignalsMapping 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;

ListEntitySignalsMappingsAsync(NetworkName, string, int?, CallSettings)

API to retrieve a list of EntitySignalsMapping objects.

Declaration
public virtual PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> ListEntitySignalsMappingsAsync(NetworkName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
NetworkName parent

Required. The parent, which owns this collection of EntitySignalsMappings. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping>

A pageable asynchronous sequence of EntitySignalsMapping resources.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
NetworkName parent = NetworkName.FromNetworkCode("[NETWORK_CODE]");
// Make the request
PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> response = entitySignalsMappingServiceClient.ListEntitySignalsMappingsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntitySignalsMapping item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntitySignalsMappingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntitySignalsMapping 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<EntitySignalsMapping> 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 (EntitySignalsMapping 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;

ListEntitySignalsMappingsAsync(string, string, int?, CallSettings)

API to retrieve a list of EntitySignalsMapping objects.

Declaration
public virtual PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> ListEntitySignalsMappingsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of EntitySignalsMappings. Format: networks/{network_code}

string pageToken

The token returned from the previous request. A value of null or an empty string retrieves the first page.

int? pageSize

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping>

A pageable asynchronous sequence of EntitySignalsMapping resources.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "networks/[NETWORK_CODE]";
// Make the request
PagedAsyncEnumerable<ListEntitySignalsMappingsResponse, EntitySignalsMapping> response = entitySignalsMappingServiceClient.ListEntitySignalsMappingsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((EntitySignalsMapping item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListEntitySignalsMappingsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (EntitySignalsMapping 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<EntitySignalsMapping> 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 (EntitySignalsMapping 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;

ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Declaration
public static Task ShutdownDefaultChannelsAsync()
Returns
Type Description
Task

A task representing the asynchronous shutdown operation.

Remarks

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.

UpdateEntitySignalsMapping(EntitySignalsMapping, FieldMask, CallSettings)

API to update an EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping UpdateEntitySignalsMapping(EntitySignalsMapping entitySignalsMapping, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type Name Description
EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping to update.

The EntitySignalsMapping's name is used to identify the EntitySignalsMapping to update. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}

FieldMask updateMask

Required. The list of fields to update.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
FieldMask updateMask = new FieldMask();
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.UpdateEntitySignalsMapping(entitySignalsMapping, updateMask);

UpdateEntitySignalsMapping(UpdateEntitySignalsMappingRequest, CallSettings)

API to update an EntitySignalsMapping object.

Declaration
public virtual EntitySignalsMapping UpdateEntitySignalsMapping(UpdateEntitySignalsMappingRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EntitySignalsMapping

The RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = EntitySignalsMappingServiceClient.Create();
// Initialize request argument(s)
UpdateEntitySignalsMappingRequest request = new UpdateEntitySignalsMappingRequest
{
    EntitySignalsMapping = new EntitySignalsMapping(),
    UpdateMask = new FieldMask(),
};
// Make the request
EntitySignalsMapping response = entitySignalsMappingServiceClient.UpdateEntitySignalsMapping(request);

UpdateEntitySignalsMappingAsync(EntitySignalsMapping, FieldMask, CallSettings)

API to update an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> UpdateEntitySignalsMappingAsync(EntitySignalsMapping entitySignalsMapping, FieldMask updateMask, CallSettings callSettings = null)
Parameters
Type Name Description
EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping to update.

The EntitySignalsMapping's name is used to identify the EntitySignalsMapping to update. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}

FieldMask updateMask

Required. The list of fields to update.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
FieldMask updateMask = new FieldMask();
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.UpdateEntitySignalsMappingAsync(entitySignalsMapping, updateMask);

UpdateEntitySignalsMappingAsync(EntitySignalsMapping, FieldMask, CancellationToken)

API to update an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> UpdateEntitySignalsMappingAsync(EntitySignalsMapping entitySignalsMapping, FieldMask updateMask, CancellationToken cancellationToken)
Parameters
Type Name Description
EntitySignalsMapping entitySignalsMapping

Required. The EntitySignalsMapping to update.

The EntitySignalsMapping's name is used to identify the EntitySignalsMapping to update. Format: networks/{network_code}/entitySignalsMappings/{entity_signals_mapping}

FieldMask updateMask

Required. The list of fields to update.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
EntitySignalsMapping entitySignalsMapping = new EntitySignalsMapping();
FieldMask updateMask = new FieldMask();
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.UpdateEntitySignalsMappingAsync(entitySignalsMapping, updateMask);

UpdateEntitySignalsMappingAsync(UpdateEntitySignalsMappingRequest, CallSettings)

API to update an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> UpdateEntitySignalsMappingAsync(UpdateEntitySignalsMappingRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEntitySignalsMappingRequest request = new UpdateEntitySignalsMappingRequest
{
    EntitySignalsMapping = new EntitySignalsMapping(),
    UpdateMask = new FieldMask(),
};
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.UpdateEntitySignalsMappingAsync(request);

UpdateEntitySignalsMappingAsync(UpdateEntitySignalsMappingRequest, CancellationToken)

API to update an EntitySignalsMapping object.

Declaration
public virtual Task<EntitySignalsMapping> UpdateEntitySignalsMappingAsync(UpdateEntitySignalsMappingRequest request, CancellationToken cancellationToken)
Parameters
Type Name Description
UpdateEntitySignalsMappingRequest request

The request object containing all of the parameters for the API call.

CancellationToken cancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task<EntitySignalsMapping>

A Task containing the RPC response.

Sample code
// Create client
EntitySignalsMappingServiceClient entitySignalsMappingServiceClient = await EntitySignalsMappingServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateEntitySignalsMappingRequest request = new UpdateEntitySignalsMappingRequest
{
    EntitySignalsMapping = new EntitySignalsMapping(),
    UpdateMask = new FieldMask(),
};
// Make the request
EntitySignalsMapping response = await entitySignalsMappingServiceClient.UpdateEntitySignalsMappingAsync(request);
In this article
Back to top Generated by DocFX