Class CustomBiddingAlgorithmsResource.RulesResource
The "rules" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class CustomBiddingAlgorithmsResource.RulesResource
Constructors
RulesResource(IClientService)
Constructs a new resource.
Declaration
public RulesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(CustomBiddingAlgorithmRules, long)
Creates a new rules resource. Returns the newly created rules resource if successful.
Declaration
public virtual CustomBiddingAlgorithmsResource.RulesResource.CreateRequest Create(CustomBiddingAlgorithmRules body, long customBiddingAlgorithmId)
Parameters
Type | Name | Description |
---|---|---|
CustomBiddingAlgorithmRules | body | The body of the request. |
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm that owns the rules resource. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.RulesResource.CreateRequest |
Get(long, long)
Retrieves a rules resource.
Declaration
public virtual CustomBiddingAlgorithmsResource.RulesResource.GetRequest Get(long customBiddingAlgorithmId, long customBiddingAlgorithmRulesId)
Parameters
Type | Name | Description |
---|---|---|
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm that owns the rules resource. |
long | customBiddingAlgorithmRulesId | Required. The ID of the rules resource to fetch. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.RulesResource.GetRequest |
List(long)
Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter.
Declaration
public virtual CustomBiddingAlgorithmsResource.RulesResource.ListRequest List(long customBiddingAlgorithmId)
Parameters
Type | Name | Description |
---|---|---|
long | customBiddingAlgorithmId | Required. The ID of the custom bidding algorithm that owns the rules resource. |
Returns
Type | Description |
---|---|
CustomBiddingAlgorithmsResource.RulesResource.ListRequest |