Class BiddersResource.FilterSetsResource.CreateRequest
Creates the specified filter set for the account with the given account ID.
Inheritance
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class BiddersResource.FilterSetsResource.CreateRequest : AdExchangeBuyerIIBaseServiceRequest<FilterSet>, IClientServiceRequest<FilterSet>, IClientServiceRequest
Constructors
CreateRequest(IClientService, FilterSet, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, FilterSet body, string ownerName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FilterSet | body | |
string | ownerName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
IsTransient
Whether the filter set is transient, or should be persisted indefinitely. By default, filter sets are not transient. If transient, it will be available for at least 1 hour after creation.
Declaration
[RequestParameter("isTransient", RequestParameterType.Query)]
public virtual bool? IsTransient { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OwnerName
Name of the owner (bidder or account) of the filter set to be created. For example: - For a
bidder-level filter set for bidder 123: bidders/123
- For an account-level filter set for the
buyer account representing bidder 123: bidders/123/accounts/123
- For an account-level filter set
for the child seat buyer account 456 whose bidder is 123: bidders/123/accounts/456
Declaration
[RequestParameter("ownerName", RequestParameterType.Path)]
public virtual string OwnerName { get; }
Property Value
Type | Description |
---|---|
string |
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 Create parameter list.
Declaration
protected override void InitParameters()