| Index: generated/googleapis/lib/partners/v2.dart
|
| diff --git a/generated/googleapis/lib/partners/v2.dart b/generated/googleapis/lib/partners/v2.dart
|
| index df3855ed17c098c93f04e05184570e00617a67fd..9db967f0f7cc35712e2c8262acd2884250b0ffce 100644
|
| --- a/generated/googleapis/lib/partners/v2.dart
|
| +++ b/generated/googleapis/lib/partners/v2.dart
|
| @@ -50,11 +50,11 @@ class AnalyticsResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| + * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| + *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| - * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| - *
|
| * [pageToken] - A token identifying a page of results that the server
|
| * returns.
|
| * Typically, this is the value of `ListAnalyticsResponse.next_page_token`
|
| @@ -99,7 +99,7 @@ class AnalyticsResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListAnalyticsResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| + async.Future<ListAnalyticsResponse> list({core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -107,12 +107,12 @@ class AnalyticsResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (requestMetadata_userOverrides_userId != null) {
|
| - _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| - }
|
| if (requestMetadata_partnersSessionId != null) {
|
| _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| }
|
| + if (requestMetadata_userOverrides_userId != null) {
|
| + _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| @@ -215,6 +215,13 @@ class CompaniesResourceApi {
|
| *
|
| * [companyId] - The ID of the company to retrieve.
|
| *
|
| + * [address] - The address to use for sorting the company's addresses by
|
| + * proximity.
|
| + * If not given, the geo-located address of the request is used.
|
| + * Used when order_by is set.
|
| + *
|
| + * [requestMetadata_locale] - Locale to use for the current request.
|
| + *
|
| * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
|
| * where the traffic comes from.
|
| * An identifier has multiple letters created by a team which redirected the
|
| @@ -223,42 +230,35 @@ class CompaniesResourceApi {
|
| * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| * the user's geo-located IP address.
|
| *
|
| - * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| - * belongs to.
|
| - *
|
| * [currencyCode] - If the company's budget is in a different currency code
|
| * than this one, then
|
| * the converted budget is converted to this currency code.
|
| *
|
| - * [orderBy] - How to order addresses within the returned company. Currently,
|
| - * only
|
| - * `address` and `address desc` is supported which will sorted by closest to
|
| - * farthest in distance from given address and farthest to closest distance
|
| - * from given address respectively.
|
| + * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| + * belongs to.
|
| *
|
| * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| * indicate where the traffic comes from.
|
| * An identifier has multiple letters created by a team which redirected the
|
| * traffic to us.
|
| *
|
| - * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| + * [orderBy] - How to order addresses within the returned company. Currently,
|
| + * only
|
| + * `address` and `address desc` is supported which will sorted by closest to
|
| + * farthest in distance from given address and farthest to closest distance
|
| + * from given address respectively.
|
| *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| + * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| + *
|
| * [view] - The view of `Company` resource to be returned. This must not be
|
| * `COMPANY_VIEW_UNSPECIFIED`.
|
| * Possible string values are:
|
| * - "COMPANY_VIEW_UNSPECIFIED" : A COMPANY_VIEW_UNSPECIFIED.
|
| * - "CV_GOOGLE_PARTNER_SEARCH" : A CV_GOOGLE_PARTNER_SEARCH.
|
| *
|
| - * [address] - The address to use for sorting the company's addresses by
|
| - * proximity.
|
| - * If not given, the geo-located address of the request is used.
|
| - * Used when order_by is set.
|
| - *
|
| - * [requestMetadata_locale] - Locale to use for the current request.
|
| - *
|
| * Completes with a [GetCompanyResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -267,7 +267,7 @@ class CompaniesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<GetCompanyResponse> get(core.String companyId, {core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String currencyCode, core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String view, core.String address, core.String requestMetadata_locale}) {
|
| + async.Future<GetCompanyResponse> get(core.String companyId, {core.String address, core.String requestMetadata_locale, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_userOverrides_ipAddress, core.String currencyCode, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String view}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -278,39 +278,39 @@ class CompaniesResourceApi {
|
| if (companyId == null) {
|
| throw new core.ArgumentError("Parameter companyId is required.");
|
| }
|
| + if (address != null) {
|
| + _queryParams["address"] = [address];
|
| + }
|
| + if (requestMetadata_locale != null) {
|
| + _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
|
| + }
|
| if (requestMetadata_trafficSource_trafficSourceId != null) {
|
| _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
|
| }
|
| if (requestMetadata_userOverrides_ipAddress != null) {
|
| _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
|
| }
|
| - if (requestMetadata_experimentIds != null) {
|
| - _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| - }
|
| if (currencyCode != null) {
|
| _queryParams["currencyCode"] = [currencyCode];
|
| }
|
| - if (orderBy != null) {
|
| - _queryParams["orderBy"] = [orderBy];
|
| + if (requestMetadata_experimentIds != null) {
|
| + _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| }
|
| if (requestMetadata_trafficSource_trafficSubId != null) {
|
| _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| }
|
| - if (requestMetadata_partnersSessionId != null) {
|
| - _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| + if (orderBy != null) {
|
| + _queryParams["orderBy"] = [orderBy];
|
| }
|
| if (requestMetadata_userOverrides_userId != null) {
|
| _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| }
|
| + if (requestMetadata_partnersSessionId != null) {
|
| + _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| + }
|
| if (view != null) {
|
| _queryParams["view"] = [view];
|
| }
|
| - if (address != null) {
|
| - _queryParams["address"] = [address];
|
| - }
|
| - if (requestMetadata_locale != null) {
|
| - _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
|
| - }
|
|
|
| _url = 'v2/companies/' + commons.Escaper.ecapeVariable('$companyId');
|
|
|
| @@ -329,12 +329,58 @@ class CompaniesResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| - * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| - * instead of the user's ID.
|
| + * [companyName] - Company name to search for.
|
| + *
|
| + * [pageToken] - A token identifying a page of results that the server
|
| + * returns.
|
| + * Typically, this is the value of `ListCompaniesResponse.next_page_token`
|
| + * returned from the previous call to
|
| + * ListCompanies.
|
| + *
|
| + * [industries] - List of industries the company can help with.
|
| + *
|
| + * [websiteUrl] - Website URL that will help to find a better matched company.
|
| + * .
|
| + *
|
| + * [gpsMotivations] - List of reasons for using Google Partner Search to get
|
| + * companies.
|
| + *
|
| + * [languageCodes] - List of language codes that company can support. Only
|
| + * primary language
|
| + * subtags are accepted as defined by
|
| + * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
|
| + * (IETF BCP 47, "Tags for Identifying Languages").
|
| + *
|
| + * [pageSize] - Requested page size. Server may return fewer companies than
|
| + * requested.
|
| + * If unspecified, server picks an appropriate default.
|
| + *
|
| + * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| + * the user's geo-located IP address.
|
| + *
|
| + * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| + * belongs to.
|
| + *
|
| + * [orderBy] - How to order addresses within the returned companies.
|
| + * Currently, only
|
| + * `address` and `address desc` is supported which will sorted by closest to
|
| + * farthest in distance from given address and farthest to closest distance
|
| + * from given address respectively.
|
| + *
|
| + * [specializations] - List of specializations that the returned agencies
|
| + * should provide. If this
|
| + * is not empty, any returned agency must have at least one of these
|
| + * specializations, or one of the services in the "services" field.
|
| + *
|
| + * [maxMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
|
| + * 4217.
|
| *
|
| * [minMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
|
| * 4217.
|
| *
|
| + * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| + * instead of the user's ID.
|
| + *
|
| * [view] - The view of the `Company` resource to be returned. This must not
|
| * be
|
| * `COMPANY_VIEW_UNSPECIFIED`.
|
| @@ -362,14 +408,14 @@ class CompaniesResourceApi {
|
| * not empty, any returned agency must have at least one of these services,
|
| * or one of the specializations in the "specializations" field.
|
| *
|
| + * [maxMonthlyBudget_units] - The whole units of the amount.
|
| + * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
| + *
|
| * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
|
| * where the traffic comes from.
|
| * An identifier has multiple letters created by a team which redirected the
|
| * traffic to us.
|
| *
|
| - * [maxMonthlyBudget_units] - The whole units of the amount.
|
| - * For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
| - *
|
| * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| * indicate where the traffic comes from.
|
| * An identifier has multiple letters created by a team which redirected the
|
| @@ -384,52 +430,6 @@ class CompaniesResourceApi {
|
| *
|
| * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| *
|
| - * [companyName] - Company name to search for.
|
| - *
|
| - * [pageToken] - A token identifying a page of results that the server
|
| - * returns.
|
| - * Typically, this is the value of `ListCompaniesResponse.next_page_token`
|
| - * returned from the previous call to
|
| - * ListCompanies.
|
| - *
|
| - * [industries] - List of industries the company can help with.
|
| - *
|
| - * [websiteUrl] - Website URL that will help to find a better matched company.
|
| - * .
|
| - *
|
| - * [gpsMotivations] - List of reasons for using Google Partner Search to get
|
| - * companies.
|
| - *
|
| - * [languageCodes] - List of language codes that company can support. Only
|
| - * primary language
|
| - * subtags are accepted as defined by
|
| - * <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
|
| - * (IETF BCP 47, "Tags for Identifying Languages").
|
| - *
|
| - * [pageSize] - Requested page size. Server may return fewer companies than
|
| - * requested.
|
| - * If unspecified, server picks an appropriate default.
|
| - *
|
| - * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| - * the user's geo-located IP address.
|
| - *
|
| - * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| - * belongs to.
|
| - *
|
| - * [orderBy] - How to order addresses within the returned companies.
|
| - * Currently, only
|
| - * `address` and `address desc` is supported which will sorted by closest to
|
| - * farthest in distance from given address and farthest to closest distance
|
| - * from given address respectively.
|
| - *
|
| - * [specializations] - List of specializations that the returned agencies
|
| - * should provide. If this
|
| - * is not empty, any returned agency must have at least one of these
|
| - * specializations, or one of the services in the "services" field.
|
| - *
|
| - * [maxMonthlyBudget_currencyCode] - The 3-letter currency code defined in ISO
|
| - * 4217.
|
| - *
|
| * Completes with a [ListCompaniesResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -438,7 +438,7 @@ class CompaniesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListCompaniesResponse> list({core.String requestMetadata_userOverrides_userId, core.String minMonthlyBudget_currencyCode, core.String view, core.String requestMetadata_locale, core.String address, core.String minMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> services, core.String requestMetadata_trafficSource_trafficSourceId, core.String maxMonthlyBudget_units, core.String requestMetadata_trafficSource_trafficSubId, core.int minMonthlyBudget_nanos, core.String requestMetadata_partnersSessionId, core.String companyName, core.String pageToken, core.List<core.String> industries, core.String websiteUrl, core.List<core.String> gpsMotivations, core.List<core.String> languageCodes, core.int pageSize, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.List<core.String> specializations, core.String maxMonthlyBudget_currencyCode}) {
|
| + async.Future<ListCompaniesResponse> list({core.String companyName, core.String pageToken, core.List<core.String> industries, core.String websiteUrl, core.List<core.String> gpsMotivations, core.List<core.String> languageCodes, core.int pageSize, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.List<core.String> specializations, core.String maxMonthlyBudget_currencyCode, core.String minMonthlyBudget_currencyCode, core.String requestMetadata_userOverrides_userId, core.String view, core.String requestMetadata_locale, core.String address, core.String minMonthlyBudget_units, core.int maxMonthlyBudget_nanos, core.List<core.String> services, core.String maxMonthlyBudget_units, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_trafficSource_trafficSubId, core.int minMonthlyBudget_nanos, core.String requestMetadata_partnersSessionId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -446,45 +446,6 @@ class CompaniesResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (requestMetadata_userOverrides_userId != null) {
|
| - _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| - }
|
| - if (minMonthlyBudget_currencyCode != null) {
|
| - _queryParams["minMonthlyBudget.currencyCode"] = [minMonthlyBudget_currencyCode];
|
| - }
|
| - if (view != null) {
|
| - _queryParams["view"] = [view];
|
| - }
|
| - if (requestMetadata_locale != null) {
|
| - _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
|
| - }
|
| - if (address != null) {
|
| - _queryParams["address"] = [address];
|
| - }
|
| - if (minMonthlyBudget_units != null) {
|
| - _queryParams["minMonthlyBudget.units"] = [minMonthlyBudget_units];
|
| - }
|
| - if (maxMonthlyBudget_nanos != null) {
|
| - _queryParams["maxMonthlyBudget.nanos"] = ["${maxMonthlyBudget_nanos}"];
|
| - }
|
| - if (services != null) {
|
| - _queryParams["services"] = services;
|
| - }
|
| - if (requestMetadata_trafficSource_trafficSourceId != null) {
|
| - _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
|
| - }
|
| - if (maxMonthlyBudget_units != null) {
|
| - _queryParams["maxMonthlyBudget.units"] = [maxMonthlyBudget_units];
|
| - }
|
| - if (requestMetadata_trafficSource_trafficSubId != null) {
|
| - _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| - }
|
| - if (minMonthlyBudget_nanos != null) {
|
| - _queryParams["minMonthlyBudget.nanos"] = ["${minMonthlyBudget_nanos}"];
|
| - }
|
| - if (requestMetadata_partnersSessionId != null) {
|
| - _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| - }
|
| if (companyName != null) {
|
| _queryParams["companyName"] = [companyName];
|
| }
|
| @@ -521,6 +482,45 @@ class CompaniesResourceApi {
|
| if (maxMonthlyBudget_currencyCode != null) {
|
| _queryParams["maxMonthlyBudget.currencyCode"] = [maxMonthlyBudget_currencyCode];
|
| }
|
| + if (minMonthlyBudget_currencyCode != null) {
|
| + _queryParams["minMonthlyBudget.currencyCode"] = [minMonthlyBudget_currencyCode];
|
| + }
|
| + if (requestMetadata_userOverrides_userId != null) {
|
| + _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + }
|
| + if (view != null) {
|
| + _queryParams["view"] = [view];
|
| + }
|
| + if (requestMetadata_locale != null) {
|
| + _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
|
| + }
|
| + if (address != null) {
|
| + _queryParams["address"] = [address];
|
| + }
|
| + if (minMonthlyBudget_units != null) {
|
| + _queryParams["minMonthlyBudget.units"] = [minMonthlyBudget_units];
|
| + }
|
| + if (maxMonthlyBudget_nanos != null) {
|
| + _queryParams["maxMonthlyBudget.nanos"] = ["${maxMonthlyBudget_nanos}"];
|
| + }
|
| + if (services != null) {
|
| + _queryParams["services"] = services;
|
| + }
|
| + if (maxMonthlyBudget_units != null) {
|
| + _queryParams["maxMonthlyBudget.units"] = [maxMonthlyBudget_units];
|
| + }
|
| + if (requestMetadata_trafficSource_trafficSourceId != null) {
|
| + _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
|
| + }
|
| + if (requestMetadata_trafficSource_trafficSubId != null) {
|
| + _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| + }
|
| + if (minMonthlyBudget_nanos != null) {
|
| + _queryParams["minMonthlyBudget.nanos"] = ["${minMonthlyBudget_nanos}"];
|
| + }
|
| + if (requestMetadata_partnersSessionId != null) {
|
| + _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| + }
|
|
|
| _url = 'v2/companies';
|
|
|
| @@ -707,11 +707,11 @@ class LeadsResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| + * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| + *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| - * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| - *
|
| * [pageToken] - A token identifying a page of results that the server
|
| * returns.
|
| * Typically, this is the value of `ListLeadsResponse.next_page_token`
|
| @@ -751,7 +751,7 @@ class LeadsResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListLeadsResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| + async.Future<ListLeadsResponse> list({core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String orderBy, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -759,12 +759,12 @@ class LeadsResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (requestMetadata_userOverrides_userId != null) {
|
| - _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| - }
|
| if (requestMetadata_partnersSessionId != null) {
|
| _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| }
|
| + if (requestMetadata_userOverrides_userId != null) {
|
| + _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| @@ -836,11 +836,11 @@ class OffersResourceApi {
|
| * An identifier has multiple letters created by a team which redirected the
|
| * traffic to us.
|
| *
|
| - * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| - *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| + * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| + *
|
| * Completes with a [ListOffersResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -849,7 +849,7 @@ class OffersResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListOffersResponse> list({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId}) {
|
| + async.Future<ListOffersResponse> list({core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -872,12 +872,12 @@ class OffersResourceApi {
|
| if (requestMetadata_trafficSource_trafficSubId != null) {
|
| _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| }
|
| - if (requestMetadata_partnersSessionId != null) {
|
| - _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| - }
|
| if (requestMetadata_userOverrides_userId != null) {
|
| _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| }
|
| + if (requestMetadata_partnersSessionId != null) {
|
| + _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| + }
|
|
|
| _url = 'v2/offers';
|
|
|
| @@ -905,11 +905,23 @@ class OffersHistoryResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| - * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| - * instead of the user's ID.
|
| + * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| + * indicate where the traffic comes from.
|
| + * An identifier has multiple letters created by a team which redirected the
|
| + * traffic to us.
|
| + *
|
| + * [orderBy] - Comma-separated list of fields to order by, e.g.:
|
| + * "foo,bar,baz".
|
| + * Use "foo desc" to sort descending.
|
| + * List of valid field names is: name, offer_code, expiration_time, status,
|
| + * last_modified_time, sender_name, creation_time, country_code,
|
| + * offer_type.
|
| *
|
| * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| *
|
| + * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| + * instead of the user's ID.
|
| + *
|
| * [pageToken] - Token to retrieve a specific page.
|
| *
|
| * [pageSize] - Maximum number of rows to return per page.
|
| @@ -924,23 +936,11 @@ class OffersHistoryResourceApi {
|
| * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| * the user's geo-located IP address.
|
| *
|
| - * [entireCompany] - if true, show history for the entire company. Requires
|
| - * user to be admin.
|
| - *
|
| * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| * belongs to.
|
| *
|
| - * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| - * indicate where the traffic comes from.
|
| - * An identifier has multiple letters created by a team which redirected the
|
| - * traffic to us.
|
| - *
|
| - * [orderBy] - Comma-separated list of fields to order by, e.g.:
|
| - * "foo,bar,baz".
|
| - * Use "foo desc" to sort descending.
|
| - * List of valid field names is: name, offer_code, expiration_time, status,
|
| - * last_modified_time, sender_name, creation_time, country_code,
|
| - * offer_type.
|
| + * [entireCompany] - if true, show history for the entire company. Requires
|
| + * user to be admin.
|
| *
|
| * Completes with a [ListOffersHistoryResponse].
|
| *
|
| @@ -950,7 +950,7 @@ class OffersHistoryResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListOffersHistoryResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.bool entireCompany, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy}) {
|
| + async.Future<ListOffersHistoryResponse> list({core.String requestMetadata_trafficSource_trafficSubId, core.String orderBy, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String pageToken, core.int pageSize, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.bool entireCompany}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -958,12 +958,18 @@ class OffersHistoryResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (requestMetadata_userOverrides_userId != null) {
|
| - _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + if (requestMetadata_trafficSource_trafficSubId != null) {
|
| + _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| + }
|
| + if (orderBy != null) {
|
| + _queryParams["orderBy"] = [orderBy];
|
| }
|
| if (requestMetadata_partnersSessionId != null) {
|
| _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| }
|
| + if (requestMetadata_userOverrides_userId != null) {
|
| + _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| @@ -979,17 +985,11 @@ class OffersHistoryResourceApi {
|
| if (requestMetadata_userOverrides_ipAddress != null) {
|
| _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
|
| }
|
| - if (entireCompany != null) {
|
| - _queryParams["entireCompany"] = ["${entireCompany}"];
|
| - }
|
| if (requestMetadata_experimentIds != null) {
|
| _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| }
|
| - if (requestMetadata_trafficSource_trafficSubId != null) {
|
| - _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| - }
|
| - if (orderBy != null) {
|
| - _queryParams["orderBy"] = [orderBy];
|
| + if (entireCompany != null) {
|
| + _queryParams["entireCompany"] = ["${entireCompany}"];
|
| }
|
|
|
| _url = 'v2/offers/history';
|
| @@ -1066,17 +1066,6 @@ class UserStatesResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| - * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| - * the user's geo-located IP address.
|
| - *
|
| - * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| - * belongs to.
|
| - *
|
| - * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| - * indicate where the traffic comes from.
|
| - * An identifier has multiple letters created by a team which redirected the
|
| - * traffic to us.
|
| - *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| @@ -1089,6 +1078,17 @@ class UserStatesResourceApi {
|
| *
|
| * [requestMetadata_locale] - Locale to use for the current request.
|
| *
|
| + * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| + * the user's geo-located IP address.
|
| + *
|
| + * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| + * belongs to.
|
| + *
|
| + * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| + * indicate where the traffic comes from.
|
| + * An identifier has multiple letters created by a team which redirected the
|
| + * traffic to us.
|
| + *
|
| * Completes with a [ListUserStatesResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1097,7 +1097,7 @@ class UserStatesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListUserStatesResponse> list({core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale}) {
|
| + async.Future<ListUserStatesResponse> list({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1105,15 +1105,6 @@ class UserStatesResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (requestMetadata_userOverrides_ipAddress != null) {
|
| - _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
|
| - }
|
| - if (requestMetadata_experimentIds != null) {
|
| - _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| - }
|
| - if (requestMetadata_trafficSource_trafficSubId != null) {
|
| - _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| - }
|
| if (requestMetadata_userOverrides_userId != null) {
|
| _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| }
|
| @@ -1126,6 +1117,15 @@ class UserStatesResourceApi {
|
| if (requestMetadata_locale != null) {
|
| _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
|
| }
|
| + if (requestMetadata_userOverrides_ipAddress != null) {
|
| + _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
|
| + }
|
| + if (requestMetadata_experimentIds != null) {
|
| + _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| + }
|
| + if (requestMetadata_trafficSource_trafficSubId != null) {
|
| + _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| + }
|
|
|
| _url = 'v2/userStates';
|
|
|
| @@ -1158,19 +1158,11 @@ class UsersResourceApi {
|
| * [userId] - The ID of the user. Can be set to <code>me</code> to mean
|
| * the currently authenticated user.
|
| *
|
| - * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| - * belongs to.
|
| - *
|
| - * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| - * indicate where the traffic comes from.
|
| - * An identifier has multiple letters created by a team which redirected the
|
| - * traffic to us.
|
| + * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| - * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| - *
|
| * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
|
| * where the traffic comes from.
|
| * An identifier has multiple letters created by a team which redirected the
|
| @@ -1181,6 +1173,14 @@ class UsersResourceApi {
|
| * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| * the user's geo-located IP address.
|
| *
|
| + * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| + * belongs to.
|
| + *
|
| + * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| + * indicate where the traffic comes from.
|
| + * An identifier has multiple letters created by a team which redirected the
|
| + * traffic to us.
|
| + *
|
| * Completes with a [CompanyRelation].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1189,7 +1189,7 @@ class UsersResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<CompanyRelation> createCompanyRelation(CompanyRelation request, core.String userId, {core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
|
| + async.Future<CompanyRelation> createCompanyRelation(CompanyRelation request, core.String userId, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1203,18 +1203,12 @@ class UsersResourceApi {
|
| if (userId == null) {
|
| throw new core.ArgumentError("Parameter userId is required.");
|
| }
|
| - if (requestMetadata_experimentIds != null) {
|
| - _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| - }
|
| - if (requestMetadata_trafficSource_trafficSubId != null) {
|
| - _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| + if (requestMetadata_partnersSessionId != null) {
|
| + _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| }
|
| if (requestMetadata_userOverrides_userId != null) {
|
| _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| }
|
| - if (requestMetadata_partnersSessionId != null) {
|
| - _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| - }
|
| if (requestMetadata_trafficSource_trafficSourceId != null) {
|
| _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
|
| }
|
| @@ -1224,6 +1218,12 @@ class UsersResourceApi {
|
| if (requestMetadata_userOverrides_ipAddress != null) {
|
| _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
|
| }
|
| + if (requestMetadata_experimentIds != null) {
|
| + _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| + }
|
| + if (requestMetadata_trafficSource_trafficSubId != null) {
|
| + _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| + }
|
|
|
| _url = 'v2/users/' + commons.Escaper.ecapeVariable('$userId') + '/companyRelation';
|
|
|
| @@ -1330,11 +1330,11 @@ class UsersResourceApi {
|
| * the currently
|
| * authenticated user.
|
| *
|
| + * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| + *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| - * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| - *
|
| * [userView] - Specifies what parts of the user information to return.
|
| * Possible string values are:
|
| * - "BASIC" : A BASIC.
|
| @@ -1367,7 +1367,7 @@ class UsersResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<User> get(core.String userId, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String userView, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| + async.Future<User> get(core.String userId, {core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String userView, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1378,12 +1378,12 @@ class UsersResourceApi {
|
| if (userId == null) {
|
| throw new core.ArgumentError("Parameter userId is required.");
|
| }
|
| - if (requestMetadata_userOverrides_userId != null) {
|
| - _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| - }
|
| if (requestMetadata_partnersSessionId != null) {
|
| _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| }
|
| + if (requestMetadata_userOverrides_userId != null) {
|
| + _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + }
|
| if (userView != null) {
|
| _queryParams["userView"] = [userView];
|
| }
|
| @@ -1514,11 +1514,19 @@ class V2ResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| - * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| - * instead of the user's ID.
|
| + * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| + * belongs to.
|
| + *
|
| + * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| + * indicate where the traffic comes from.
|
| + * An identifier has multiple letters created by a team which redirected the
|
| + * traffic to us.
|
| *
|
| * [requestMetadata_partnersSessionId] - Google Partners session ID.
|
| *
|
| + * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| + * instead of the user's ID.
|
| + *
|
| * [requestMetadata_trafficSource_trafficSourceId] - Identifier to indicate
|
| * where the traffic comes from.
|
| * An identifier has multiple letters created by a team which redirected the
|
| @@ -1529,14 +1537,6 @@ class V2ResourceApi {
|
| * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| * the user's geo-located IP address.
|
| *
|
| - * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| - * belongs to.
|
| - *
|
| - * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| - * indicate where the traffic comes from.
|
| - * An identifier has multiple letters created by a team which redirected the
|
| - * traffic to us.
|
| - *
|
| * Completes with a [GetPartnersStatusResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1545,7 +1545,7 @@ class V2ResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<GetPartnersStatusResponse> getPartnersstatus({core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| + async.Future<GetPartnersStatusResponse> getPartnersstatus({core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1553,12 +1553,18 @@ class V2ResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (requestMetadata_userOverrides_userId != null) {
|
| - _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + if (requestMetadata_experimentIds != null) {
|
| + _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| + }
|
| + if (requestMetadata_trafficSource_trafficSubId != null) {
|
| + _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| }
|
| if (requestMetadata_partnersSessionId != null) {
|
| _queryParams["requestMetadata.partnersSessionId"] = [requestMetadata_partnersSessionId];
|
| }
|
| + if (requestMetadata_userOverrides_userId != null) {
|
| + _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| + }
|
| if (requestMetadata_trafficSource_trafficSourceId != null) {
|
| _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
|
| }
|
| @@ -1568,12 +1574,6 @@ class V2ResourceApi {
|
| if (requestMetadata_userOverrides_ipAddress != null) {
|
| _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
|
| }
|
| - if (requestMetadata_experimentIds != null) {
|
| - _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| - }
|
| - if (requestMetadata_trafficSource_trafficSubId != null) {
|
| - _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| - }
|
|
|
| _url = 'v2/partnersstatus';
|
|
|
| @@ -1595,6 +1595,11 @@ class V2ResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| + * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| + * indicate where the traffic comes from.
|
| + * An identifier has multiple letters created by a team which redirected the
|
| + * traffic to us.
|
| + *
|
| * [requestMetadata_userOverrides_userId] - Logged-in user ID to impersonate
|
| * instead of the user's ID.
|
| *
|
| @@ -1616,11 +1621,6 @@ class V2ResourceApi {
|
| * [requestMetadata_experimentIds] - Experiment IDs the current request
|
| * belongs to.
|
| *
|
| - * [requestMetadata_trafficSource_trafficSubId] - Second level identifier to
|
| - * indicate where the traffic comes from.
|
| - * An identifier has multiple letters created by a team which redirected the
|
| - * traffic to us.
|
| - *
|
| * Completes with a [Company].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1629,7 +1629,7 @@ class V2ResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<Company> updateCompanies(Company request, {core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId}) {
|
| + async.Future<Company> updateCompanies(Company request, {core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1640,6 +1640,9 @@ class V2ResourceApi {
|
| if (request != null) {
|
| _body = convert.JSON.encode((request).toJson());
|
| }
|
| + if (requestMetadata_trafficSource_trafficSubId != null) {
|
| + _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| + }
|
| if (requestMetadata_userOverrides_userId != null) {
|
| _queryParams["requestMetadata.userOverrides.userId"] = [requestMetadata_userOverrides_userId];
|
| }
|
| @@ -1661,9 +1664,6 @@ class V2ResourceApi {
|
| if (requestMetadata_experimentIds != null) {
|
| _queryParams["requestMetadata.experimentIds"] = requestMetadata_experimentIds;
|
| }
|
| - if (requestMetadata_trafficSource_trafficSubId != null) {
|
| - _queryParams["requestMetadata.trafficSource.trafficSubId"] = [requestMetadata_trafficSource_trafficSubId];
|
| - }
|
|
|
| _url = 'v2/companies';
|
|
|
| @@ -1684,6 +1684,8 @@ class V2ResourceApi {
|
| *
|
| * Request parameters:
|
| *
|
| + * [requestMetadata_locale] - Locale to use for the current request.
|
| + *
|
| * [requestMetadata_userOverrides_ipAddress] - IP address to use instead of
|
| * the user's geo-located IP address.
|
| *
|
| @@ -1709,8 +1711,6 @@ class V2ResourceApi {
|
| * An identifier has multiple letters created by a team which redirected the
|
| * traffic to us.
|
| *
|
| - * [requestMetadata_locale] - Locale to use for the current request.
|
| - *
|
| * Completes with a [Lead].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1719,7 +1719,7 @@ class V2ResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<Lead> updateLeads(Lead request, {core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId, core.String requestMetadata_locale}) {
|
| + async.Future<Lead> updateLeads(Lead request, {core.String requestMetadata_locale, core.String requestMetadata_userOverrides_ipAddress, core.String updateMask, core.List<core.String> requestMetadata_experimentIds, core.String requestMetadata_trafficSource_trafficSubId, core.String requestMetadata_userOverrides_userId, core.String requestMetadata_partnersSessionId, core.String requestMetadata_trafficSource_trafficSourceId}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1730,6 +1730,9 @@ class V2ResourceApi {
|
| if (request != null) {
|
| _body = convert.JSON.encode((request).toJson());
|
| }
|
| + if (requestMetadata_locale != null) {
|
| + _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
|
| + }
|
| if (requestMetadata_userOverrides_ipAddress != null) {
|
| _queryParams["requestMetadata.userOverrides.ipAddress"] = [requestMetadata_userOverrides_ipAddress];
|
| }
|
| @@ -1751,9 +1754,6 @@ class V2ResourceApi {
|
| if (requestMetadata_trafficSource_trafficSourceId != null) {
|
| _queryParams["requestMetadata.trafficSource.trafficSourceId"] = [requestMetadata_trafficSource_trafficSourceId];
|
| }
|
| - if (requestMetadata_locale != null) {
|
| - _queryParams["requestMetadata.locale"] = [requestMetadata_locale];
|
| - }
|
|
|
| _url = 'v2/leads';
|
|
|
| @@ -4332,6 +4332,8 @@ class LogUserEventRequest {
|
| * certificate help icon.
|
| * - "SMB_CLICKED_VIDEO_ADS_CERTIFICATE_HELP_ICON" : Advertiser clicked
|
| * VideoAds certificate help icon.
|
| + * - "SMB_VIEWED_DIGITAL_SALES_CERTIFICATE" : Advertiser viewed Digital Sales
|
| + * certificate.
|
| * - "CLICKED_HELP_AT_BOTTOM" : Clicked `help` at bottom.
|
| * - "CLICKED_HELP_AT_TOP" : Clicked `help` at top.
|
| * - "CLIENT_ERROR" : Client error occurred.
|
|
|