Class AccountTypesResource.AccountsResource.PartnerLinksResource.SearchRequest
Searches for all partner links to and from a given account. Authorization Headers: This method
supports the following optional headers to define how the API authorizes access for the request: *
login-account: (Optional) The resource name of the account where the Google Account of the
credentials is a user. If not set, defaults to the account of the request. Format:
accountTypes/{loginAccountType}/accounts/{loginAccountId} * linked-account: (Optional) The
resource name of the account with an established product link to the login-account. Format:
accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Inheritance
Inherited Members
Namespace: Google.Apis.DataManager.v1
Assembly: Google.Apis.DataManager.v1.dll
Syntax
public class AccountTypesResource.AccountsResource.PartnerLinksResource.SearchRequest : DataManagerBaseServiceRequest<SearchPartnerLinksResponse>, IClientServiceRequest<SearchPartnerLinksResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, string)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
Properties
Filter
Optional. A filter string. All fields need to be on the left hand side
of each condition (for example: partner_link_id = 123456789). Supported operations: - AND -
= - != Supported fields: - partner_link_id - owning_account.account_type -
owning_account.account_id - partner_account.account_type - partner_account.account_id
Example: owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id = 987654321
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
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
PageSize
The maximum number of partner links to return. The service may return fewer than this value. If unspecified, at most 10 partner links will be returned. The maximum value is 100; values above 100 will be coerced to 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
A page token, received from a previous SearchPartnerLinks call. Provide this to retrieve the
subsequent page. When paginating, all other parameters provided to SearchPartnerLinks must
match the call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. Account to search for partner links. If no filter is specified, all partner links
where this account is either the owning_account or partner_account are returned. Format:
accountTypes/{account_type}/accounts/{account}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()