Class ProjectsResource.LocationsResource.ConnectionsResource.EntityTypesResource.EntitiesResource.UpdateEntitiesWithConditionsRequest
Updates entities based on conditions specified in the request and not on entity id.
Inheritance
Inherited Members
Namespace: Google.Apis.Connectors.v2
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.EntityTypesResource.EntitiesResource.UpdateEntitiesWithConditionsRequest : ConnectorsBaseServiceRequest<UpdateEntitiesWithConditionsResponse>, IClientServiceRequest<UpdateEntitiesWithConditionsResponse>, IClientServiceRequest
Constructors
UpdateEntitiesWithConditionsRequest(IClientService, Entity, string)
Constructs a new UpdateEntitiesWithConditions request.
Declaration
public UpdateEntitiesWithConditionsRequest(IClientService service, Entity body, string entityType)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Entity | body | |
string | entityType |
Properties
Conditions
Required. Conditions to be used when updating entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.
Declaration
[RequestParameter("conditions", RequestParameterType.Query)]
public virtual string Conditions { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityType
Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}
Declaration
[RequestParameter("entityType", RequestParameterType.Path)]
public virtual string EntityType { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateEntitiesWithConditions parameter list.
Declaration
protected override void InitParameters()