@maxim_mazurok/gapi.client.analyticsadmin-v1alpha 0.0.20230927 → 0.0.20231002

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.d.ts +923 -127
  2. package/package.json +1 -1
  3. package/readme.md +10 -0
  4. package/tests.ts +157 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://analyticsadmin.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20230927
12
+ // Revision: 20231002
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -908,6 +908,41 @@ declare namespace gapi.client {
908
908
  // tslint:disable-next-line:no-empty-interface
909
909
  interface GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse {
910
910
  }
911
+ interface GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest {
912
+ /** Required. The roll-up property to create. */
913
+ rollupProperty?:
914
+ GoogleAnalyticsAdminV1alphaProperty;
915
+ /** Optional. The resource names of properties that will be sources to the created roll-up property. */
916
+ sourceProperties?:
917
+ string[];
918
+ }
919
+ interface GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse {
920
+ /** The created roll-up property. */
921
+ rollupProperty?:
922
+ GoogleAnalyticsAdminV1alphaProperty;
923
+ /** The created roll-up property source links. */
924
+ rollupPropertySourceLinks?:
925
+ GoogleAnalyticsAdminV1alphaRollupPropertySourceLink[];
926
+ }
927
+ interface GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest {
928
+ /** Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123 */
929
+ parent?:
930
+ string;
931
+ /** Required. The subproperty to create. */
932
+ subproperty?:
933
+ GoogleAnalyticsAdminV1alphaProperty;
934
+ /** Optional. The subproperty event filter to create on an ordinary property. */
935
+ subpropertyEventFilter?:
936
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilter;
937
+ }
938
+ interface GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse {
939
+ /** The created subproperty. */
940
+ subproperty?:
941
+ GoogleAnalyticsAdminV1alphaProperty;
942
+ /** The created subproperty event filter. */
943
+ subpropertyEventFilter?:
944
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilter;
945
+ }
911
946
  interface GoogleAnalyticsAdminV1alphaCreateUserLinkRequest {
912
947
  /** Optional. If set, then email the new user notifying them that they've been granted permissions to the resource. */
913
948
  notifyNewUser?:
@@ -1600,6 +1635,14 @@ declare namespace gapi.client {
1600
1635
  properties?:
1601
1636
  GoogleAnalyticsAdminV1alphaProperty[];
1602
1637
  }
1638
+ interface GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse {
1639
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
1640
+ nextPageToken?:
1641
+ string;
1642
+ /** List of RollupPropertySourceLinks. */
1643
+ rollupPropertySourceLinks?:
1644
+ GoogleAnalyticsAdminV1alphaRollupPropertySourceLink[];
1645
+ }
1603
1646
  interface GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse {
1604
1647
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
1605
1648
  nextPageToken?:
@@ -1619,6 +1662,14 @@ declare namespace gapi.client {
1619
1662
  skadnetworkConversionValueSchemas?:
1620
1663
  GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema[];
1621
1664
  }
1665
+ interface GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse {
1666
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
1667
+ nextPageToken?:
1668
+ string;
1669
+ /** List of subproperty event filters. */
1670
+ subpropertyEventFilters?:
1671
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilter[];
1672
+ }
1622
1673
  interface GoogleAnalyticsAdminV1alphaListUserLinksResponse {
1623
1674
  /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
1624
1675
  nextPageToken?:
@@ -1733,10 +1784,7 @@ declare namespace gapi.client {
1733
1784
  */
1734
1785
  parent?:
1735
1786
  string;
1736
- /**
1737
- * Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied.
1738
- * "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created with the Google Analytics Admin API.
1739
- */
1787
+ /** Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied. */
1740
1788
  propertyType?:
1741
1789
  string;
1742
1790
  /** Output only. The Google Analytics service level that applies to this property. */
@@ -1782,6 +1830,17 @@ declare namespace gapi.client {
1782
1830
  accountTicketId?:
1783
1831
  string;
1784
1832
  }
1833
+ interface GoogleAnalyticsAdminV1alphaRollupPropertySourceLink {
1834
+ /**
1835
+ * Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format:
1836
+ * 'properties/123/rollupPropertySourceLinks/456'
1837
+ */
1838
+ name?:
1839
+ string;
1840
+ /** Immutable. Resource name of the source property. Format: properties/{property_id} Example: "properties/789" */
1841
+ sourceProperty?:
1842
+ string;
1843
+ }
1785
1844
  interface GoogleAnalyticsAdminV1alphaRunAccessReportRequest {
1786
1845
  /**
1787
1846
  * Date ranges of access records to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the access
@@ -1978,6 +2037,63 @@ declare namespace gapi.client {
1978
2037
  postbackWindowTwo?:
1979
2038
  GoogleAnalyticsAdminV1alphaPostbackWindow;
1980
2039
  }
2040
+ interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilter {
2041
+ /** Immutable. Resource name of the Subproperty that uses this filter. */
2042
+ applyToProperty?:
2043
+ string;
2044
+ /** Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty. */
2045
+ filterClauses?:
2046
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause[];
2047
+ /** Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678 */
2048
+ name?:
2049
+ string;
2050
+ }
2051
+ interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause {
2052
+ /** Required. The type for the filter clause. */
2053
+ filterClauseType?:
2054
+ string;
2055
+ /** Required. The logical expression for what events are sent to the subproperty. */
2056
+ filterExpression?:
2057
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression;
2058
+ }
2059
+ interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition {
2060
+ /** Required. The field that is being filtered. */
2061
+ fieldName?:
2062
+ string;
2063
+ /** A filter for null values. */
2064
+ nullFilter?:
2065
+ boolean;
2066
+ /** A filter for a string-type dimension that matches a particular pattern. */
2067
+ stringFilter?:
2068
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter;
2069
+ }
2070
+ interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter {
2071
+ /** Optional. If true, the string value is case sensitive. If false, the match is case-insensitive. */
2072
+ caseSensitive?:
2073
+ boolean;
2074
+ /** Required. The match type for the string filter. */
2075
+ matchType?:
2076
+ string;
2077
+ /** Required. The string value used for the matching. */
2078
+ value?:
2079
+ string;
2080
+ }
2081
+ interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression {
2082
+ /** Creates a filter that matches a specific event. This cannot be set on the top level SubpropertyEventFilterExpression. */
2083
+ filterCondition?:
2084
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition;
2085
+ /** A filter expression to be NOT'ed (inverted, complemented). It can only include a filter. This cannot be set on the top level SubpropertyEventFilterExpression. */
2086
+ notExpression?:
2087
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression;
2088
+ /** A list of expressions to OR’ed together. Must only contain not_expression or filter_condition expressions. */
2089
+ orGroup?:
2090
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList;
2091
+ }
2092
+ interface GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList {
2093
+ /** Required. Unordered list. A list of Subproperty event filter expressions */
2094
+ filterExpressions?:
2095
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression[];
2096
+ }
1981
2097
  interface GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest {
1982
2098
  /** Required. The access binding to update. */
1983
2099
  accessBinding?:
@@ -9379,8 +9495,8 @@ declare namespace gapi.client {
9379
9495
  },
9380
9496
  body: GoogleAnalyticsAdminV1alphaGoogleAdsLink): Request<GoogleAnalyticsAdminV1alphaGoogleAdsLink>;
9381
9497
  }
9382
- interface SearchAds360LinksResource {
9383
- /** Creates a SearchAds360Link. */
9498
+ interface RollupPropertySourceLinksResource {
9499
+ /** Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
9384
9500
  create(request: {
9385
9501
  /** V1 error format. */
9386
9502
  "$.xgafv"?:
@@ -9403,7 +9519,7 @@ declare namespace gapi.client {
9403
9519
  /** OAuth 2.0 token for the current user. */
9404
9520
  oauth_token?:
9405
9521
  string;
9406
- /** Required. Example format: properties/1234 */
9522
+ /** Required. Format: properties/{property_id} Example: properties/1234 */
9407
9523
  parent:
9408
9524
  string;
9409
9525
  /** Returns response with indentations and line breaks. */
@@ -9420,8 +9536,8 @@ declare namespace gapi.client {
9420
9536
  string;
9421
9537
  /** Request body */
9422
9538
  resource:
9423
- GoogleAnalyticsAdminV1alphaSearchAds360Link;
9424
- }): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
9539
+ GoogleAnalyticsAdminV1alphaRollupPropertySourceLink;
9540
+ }): Request<GoogleAnalyticsAdminV1alphaRollupPropertySourceLink>;
9425
9541
  create(request: {
9426
9542
  /** V1 error format. */
9427
9543
  "$.xgafv"?:
@@ -9444,7 +9560,7 @@ declare namespace gapi.client {
9444
9560
  /** OAuth 2.0 token for the current user. */
9445
9561
  oauth_token?:
9446
9562
  string;
9447
- /** Required. Example format: properties/1234 */
9563
+ /** Required. Format: properties/{property_id} Example: properties/1234 */
9448
9564
  parent:
9449
9565
  string;
9450
9566
  /** Returns response with indentations and line breaks. */
@@ -9460,8 +9576,8 @@ declare namespace gapi.client {
9460
9576
  uploadType?:
9461
9577
  string;
9462
9578
  },
9463
- body: GoogleAnalyticsAdminV1alphaSearchAds360Link): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
9464
- /** Deletes a SearchAds360Link on a property. */
9579
+ body: GoogleAnalyticsAdminV1alphaRollupPropertySourceLink): Request<GoogleAnalyticsAdminV1alphaRollupPropertySourceLink>;
9580
+ /** Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
9465
9581
  delete(request?: {
9466
9582
  /** V1 error format. */
9467
9583
  "$.xgafv"?:
@@ -9481,7 +9597,7 @@ declare namespace gapi.client {
9481
9597
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9482
9598
  key?:
9483
9599
  string;
9484
- /** Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 */
9600
+ /** Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678 */
9485
9601
  name:
9486
9602
  string;
9487
9603
  /** OAuth 2.0 token for the current user. */
@@ -9500,7 +9616,7 @@ declare namespace gapi.client {
9500
9616
  uploadType?:
9501
9617
  string;
9502
9618
  }): Request<{}>;
9503
- /** Look up a single SearchAds360Link */
9619
+ /** Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
9504
9620
  get(request?: {
9505
9621
  /** V1 error format. */
9506
9622
  "$.xgafv"?:
@@ -9520,7 +9636,10 @@ declare namespace gapi.client {
9520
9636
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9521
9637
  key?:
9522
9638
  string;
9523
- /** Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 */
9639
+ /**
9640
+ * Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example:
9641
+ * properties/123/rollupPropertySourceLinks/456
9642
+ */
9524
9643
  name:
9525
9644
  string;
9526
9645
  /** OAuth 2.0 token for the current user. */
@@ -9538,8 +9657,8 @@ declare namespace gapi.client {
9538
9657
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9539
9658
  uploadType?:
9540
9659
  string;
9541
- }): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
9542
- /** Lists all SearchAds360Links on a property. */
9660
+ }): Request<GoogleAnalyticsAdminV1alphaRollupPropertySourceLink>;
9661
+ /** Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties. */
9543
9662
  list(request?: {
9544
9663
  /** V1 error format. */
9545
9664
  "$.xgafv"?:
@@ -9562,16 +9681,19 @@ declare namespace gapi.client {
9562
9681
  /** OAuth 2.0 token for the current user. */
9563
9682
  oauth_token?:
9564
9683
  string;
9565
- /** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
9684
+ /**
9685
+ * Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will
9686
+ * be returned. The maximum value is 200; (higher values will be coerced to the maximum)
9687
+ */
9566
9688
  pageSize?:
9567
9689
  number;
9568
9690
  /**
9569
- * A page token, received from a previous `ListSearchAds360Links` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
9570
- * `ListSearchAds360Links` must match the call that provided the page token.
9691
+ * Optional. A page token, received from a previous `ListRollupPropertySourceLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters
9692
+ * provided to `ListRollupPropertySourceLinks` must match the call that provided the page token.
9571
9693
  */
9572
9694
  pageToken?:
9573
9695
  string;
9574
- /** Required. Example format: properties/1234 */
9696
+ /** Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234 */
9575
9697
  parent:
9576
9698
  string;
9577
9699
  /** Returns response with indentations and line breaks. */
@@ -9586,9 +9708,11 @@ declare namespace gapi.client {
9586
9708
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9587
9709
  uploadType?:
9588
9710
  string;
9589
- }): Request<GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse>;
9590
- /** Updates a SearchAds360Link on a property. */
9591
- patch(request: {
9711
+ }): Request<GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse>;
9712
+ }
9713
+ interface SearchAds360LinksResource {
9714
+ /** Creates a SearchAds360Link. */
9715
+ create(request: {
9592
9716
  /** V1 error format. */
9593
9717
  "$.xgafv"?:
9594
9718
  string;
@@ -9607,24 +9731,18 @@ declare namespace gapi.client {
9607
9731
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9608
9732
  key?:
9609
9733
  string;
9610
- /**
9611
- * Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser
9612
- * ID
9613
- */
9614
- name:
9615
- string;
9616
9734
  /** OAuth 2.0 token for the current user. */
9617
9735
  oauth_token?:
9618
9736
  string;
9737
+ /** Required. Example format: properties/1234 */
9738
+ parent:
9739
+ string;
9619
9740
  /** Returns response with indentations and line breaks. */
9620
9741
  prettyPrint?:
9621
9742
  boolean;
9622
9743
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
9623
9744
  quotaUser?:
9624
9745
  string;
9625
- /** Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. */
9626
- updateMask?:
9627
- string;
9628
9746
  /** Upload protocol for media (e.g. "raw", "multipart"). */
9629
9747
  upload_protocol?:
9630
9748
  string;
@@ -9635,7 +9753,7 @@ declare namespace gapi.client {
9635
9753
  resource:
9636
9754
  GoogleAnalyticsAdminV1alphaSearchAds360Link;
9637
9755
  }): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
9638
- patch(request: {
9756
+ create(request: {
9639
9757
  /** V1 error format. */
9640
9758
  "$.xgafv"?:
9641
9759
  string;
@@ -9654,24 +9772,18 @@ declare namespace gapi.client {
9654
9772
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9655
9773
  key?:
9656
9774
  string;
9657
- /**
9658
- * Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser
9659
- * ID
9660
- */
9661
- name:
9662
- string;
9663
9775
  /** OAuth 2.0 token for the current user. */
9664
9776
  oauth_token?:
9665
9777
  string;
9778
+ /** Required. Example format: properties/1234 */
9779
+ parent:
9780
+ string;
9666
9781
  /** Returns response with indentations and line breaks. */
9667
9782
  prettyPrint?:
9668
9783
  boolean;
9669
9784
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
9670
9785
  quotaUser?:
9671
9786
  string;
9672
- /** Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. */
9673
- updateMask?:
9674
- string;
9675
9787
  /** Upload protocol for media (e.g. "raw", "multipart"). */
9676
9788
  upload_protocol?:
9677
9789
  string;
@@ -9680,14 +9792,8 @@ declare namespace gapi.client {
9680
9792
  string;
9681
9793
  },
9682
9794
  body: GoogleAnalyticsAdminV1alphaSearchAds360Link): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
9683
- }
9684
- interface UserLinksResource {
9685
- /**
9686
- * Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link
9687
- * does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives
9688
- * them permissions, which is currently only usable/discoverable in the GA or GMP UIs.
9689
- */
9690
- audit(request: {
9795
+ /** Deletes a SearchAds360Link on a property. */
9796
+ delete(request?: {
9691
9797
  /** V1 error format. */
9692
9798
  "$.xgafv"?:
9693
9799
  string;
@@ -9706,12 +9812,12 @@ declare namespace gapi.client {
9706
9812
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9707
9813
  key?:
9708
9814
  string;
9815
+ /** Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678 */
9816
+ name:
9817
+ string;
9709
9818
  /** OAuth 2.0 token for the current user. */
9710
9819
  oauth_token?:
9711
9820
  string;
9712
- /** Required. Example format: accounts/1234 */
9713
- parent:
9714
- string;
9715
9821
  /** Returns response with indentations and line breaks. */
9716
9822
  prettyPrint?:
9717
9823
  boolean;
@@ -9724,11 +9830,9 @@ declare namespace gapi.client {
9724
9830
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9725
9831
  uploadType?:
9726
9832
  string;
9727
- /** Request body */
9728
- resource:
9729
- GoogleAnalyticsAdminV1alphaAuditUserLinksRequest;
9730
- }): Request<GoogleAnalyticsAdminV1alphaAuditUserLinksResponse>;
9731
- audit(request: {
9833
+ }): Request<{}>;
9834
+ /** Look up a single SearchAds360Link */
9835
+ get(request?: {
9732
9836
  /** V1 error format. */
9733
9837
  "$.xgafv"?:
9734
9838
  string;
@@ -9747,12 +9851,12 @@ declare namespace gapi.client {
9747
9851
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9748
9852
  key?:
9749
9853
  string;
9854
+ /** Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678 */
9855
+ name:
9856
+ string;
9750
9857
  /** OAuth 2.0 token for the current user. */
9751
9858
  oauth_token?:
9752
9859
  string;
9753
- /** Required. Example format: accounts/1234 */
9754
- parent:
9755
- string;
9756
9860
  /** Returns response with indentations and line breaks. */
9757
9861
  prettyPrint?:
9758
9862
  boolean;
@@ -9765,10 +9869,9 @@ declare namespace gapi.client {
9765
9869
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9766
9870
  uploadType?:
9767
9871
  string;
9768
- },
9769
- body: GoogleAnalyticsAdminV1alphaAuditUserLinksRequest): Request<GoogleAnalyticsAdminV1alphaAuditUserLinksResponse>;
9770
- /** Creates information about multiple users' links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created. */
9771
- batchCreate(request: {
9872
+ }): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
9873
+ /** Lists all SearchAds360Links on a property. */
9874
+ list(request?: {
9772
9875
  /** V1 error format. */
9773
9876
  "$.xgafv"?:
9774
9877
  string;
@@ -9790,10 +9893,16 @@ declare namespace gapi.client {
9790
9893
  /** OAuth 2.0 token for the current user. */
9791
9894
  oauth_token?:
9792
9895
  string;
9896
+ /** The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum). */
9897
+ pageSize?:
9898
+ number;
9793
9899
  /**
9794
- * Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty
9795
- * or match this field. Example format: accounts/1234
9900
+ * A page token, received from a previous `ListSearchAds360Links` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
9901
+ * `ListSearchAds360Links` must match the call that provided the page token.
9796
9902
  */
9903
+ pageToken?:
9904
+ string;
9905
+ /** Required. Example format: properties/1234 */
9797
9906
  parent:
9798
9907
  string;
9799
9908
  /** Returns response with indentations and line breaks. */
@@ -9808,11 +9917,9 @@ declare namespace gapi.client {
9808
9917
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9809
9918
  uploadType?:
9810
9919
  string;
9811
- /** Request body */
9812
- resource:
9813
- GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest;
9814
- }): Request<GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse>;
9815
- batchCreate(request: {
9920
+ }): Request<GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse>;
9921
+ /** Updates a SearchAds360Link on a property. */
9922
+ patch(request: {
9816
9923
  /** V1 error format. */
9817
9924
  "$.xgafv"?:
9818
9925
  string;
@@ -9831,14 +9938,14 @@ declare namespace gapi.client {
9831
9938
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9832
9939
  key?:
9833
9940
  string;
9834
- /** OAuth 2.0 token for the current user. */
9835
- oauth_token?:
9836
- string;
9837
9941
  /**
9838
- * Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty
9839
- * or match this field. Example format: accounts/1234
9942
+ * Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser
9943
+ * ID
9840
9944
  */
9841
- parent:
9945
+ name:
9946
+ string;
9947
+ /** OAuth 2.0 token for the current user. */
9948
+ oauth_token?:
9842
9949
  string;
9843
9950
  /** Returns response with indentations and line breaks. */
9844
9951
  prettyPrint?:
@@ -9846,16 +9953,20 @@ declare namespace gapi.client {
9846
9953
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
9847
9954
  quotaUser?:
9848
9955
  string;
9956
+ /** Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. */
9957
+ updateMask?:
9958
+ string;
9849
9959
  /** Upload protocol for media (e.g. "raw", "multipart"). */
9850
9960
  upload_protocol?:
9851
9961
  string;
9852
9962
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9853
9963
  uploadType?:
9854
9964
  string;
9855
- },
9856
- body: GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest): Request<GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse>;
9857
- /** Deletes information about multiple users' links to an account or property. */
9858
- batchDelete(request: {
9965
+ /** Request body */
9966
+ resource:
9967
+ GoogleAnalyticsAdminV1alphaSearchAds360Link;
9968
+ }): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
9969
+ patch(request: {
9859
9970
  /** V1 error format. */
9860
9971
  "$.xgafv"?:
9861
9972
  string;
@@ -9874,14 +9985,14 @@ declare namespace gapi.client {
9874
9985
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9875
9986
  key?:
9876
9987
  string;
9877
- /** OAuth 2.0 token for the current user. */
9878
- oauth_token?:
9879
- string;
9880
9988
  /**
9881
- * Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format:
9882
- * accounts/1234
9989
+ * Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser
9990
+ * ID
9883
9991
  */
9884
- parent:
9992
+ name:
9993
+ string;
9994
+ /** OAuth 2.0 token for the current user. */
9995
+ oauth_token?:
9885
9996
  string;
9886
9997
  /** Returns response with indentations and line breaks. */
9887
9998
  prettyPrint?:
@@ -9889,17 +10000,21 @@ declare namespace gapi.client {
9889
10000
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
9890
10001
  quotaUser?:
9891
10002
  string;
10003
+ /** Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. */
10004
+ updateMask?:
10005
+ string;
9892
10006
  /** Upload protocol for media (e.g. "raw", "multipart"). */
9893
10007
  upload_protocol?:
9894
10008
  string;
9895
10009
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9896
10010
  uploadType?:
9897
10011
  string;
9898
- /** Request body */
9899
- resource:
9900
- GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest;
9901
- }): Request<{}>;
9902
- batchDelete(request: {
10012
+ },
10013
+ body: GoogleAnalyticsAdminV1alphaSearchAds360Link): Request<GoogleAnalyticsAdminV1alphaSearchAds360Link>;
10014
+ }
10015
+ interface SubpropertyEventFiltersResource {
10016
+ /** Creates a subproperty Event Filter. */
10017
+ create(request: {
9903
10018
  /** V1 error format. */
9904
10019
  "$.xgafv"?:
9905
10020
  string;
@@ -9921,10 +10036,7 @@ declare namespace gapi.client {
9921
10036
  /** OAuth 2.0 token for the current user. */
9922
10037
  oauth_token?:
9923
10038
  string;
9924
- /**
9925
- * Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format:
9926
- * accounts/1234
9927
- */
10039
+ /** Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 */
9928
10040
  parent:
9929
10041
  string;
9930
10042
  /** Returns response with indentations and line breaks. */
@@ -9939,10 +10051,11 @@ declare namespace gapi.client {
9939
10051
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9940
10052
  uploadType?:
9941
10053
  string;
9942
- },
9943
- body: GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest): Request<{}>;
9944
- /** Gets information about multiple users' links to an account or property. */
9945
- batchGet(request?: {
10054
+ /** Request body */
10055
+ resource:
10056
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilter;
10057
+ }): Request<GoogleAnalyticsAdminV1alphaSubpropertyEventFilter>;
10058
+ create(request: {
9946
10059
  /** V1 error format. */
9947
10060
  "$.xgafv"?:
9948
10061
  string;
@@ -9961,16 +10074,10 @@ declare namespace gapi.client {
9961
10074
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9962
10075
  key?:
9963
10076
  string;
9964
- /** Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId} */
9965
- names?:
9966
- string | string[];
9967
10077
  /** OAuth 2.0 token for the current user. */
9968
10078
  oauth_token?:
9969
10079
  string;
9970
- /**
9971
- * Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field. Example format:
9972
- * accounts/1234
9973
- */
10080
+ /** Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123 */
9974
10081
  parent:
9975
10082
  string;
9976
10083
  /** Returns response with indentations and line breaks. */
@@ -9985,9 +10092,10 @@ declare namespace gapi.client {
9985
10092
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9986
10093
  uploadType?:
9987
10094
  string;
9988
- }): Request<GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse>;
9989
- /** Updates information about multiple users' links to an account or property. */
9990
- batchUpdate(request: {
10095
+ },
10096
+ body: GoogleAnalyticsAdminV1alphaSubpropertyEventFilter): Request<GoogleAnalyticsAdminV1alphaSubpropertyEventFilter>;
10097
+ /** Deletes a subproperty event filter. */
10098
+ delete(request?: {
9991
10099
  /** V1 error format. */
9992
10100
  "$.xgafv"?:
9993
10101
  string;
@@ -10006,14 +10114,14 @@ declare namespace gapi.client {
10006
10114
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10007
10115
  key?:
10008
10116
  string;
10009
- /** OAuth 2.0 token for the current user. */
10010
- oauth_token?:
10011
- string;
10012
10117
  /**
10013
- * Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field.
10014
- * Example format: accounts/1234
10118
+ * Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example:
10119
+ * properties/123/subpropertyEventFilters/456
10015
10120
  */
10016
- parent:
10121
+ name:
10122
+ string;
10123
+ /** OAuth 2.0 token for the current user. */
10124
+ oauth_token?:
10017
10125
  string;
10018
10126
  /** Returns response with indentations and line breaks. */
10019
10127
  prettyPrint?:
@@ -10027,11 +10135,9 @@ declare namespace gapi.client {
10027
10135
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10028
10136
  uploadType?:
10029
10137
  string;
10030
- /** Request body */
10031
- resource:
10032
- GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest;
10033
- }): Request<GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse>;
10034
- batchUpdate(request: {
10138
+ }): Request<{}>;
10139
+ /** Lookup for a single subproperty Event Filter. */
10140
+ get(request?: {
10035
10141
  /** V1 error format. */
10036
10142
  "$.xgafv"?:
10037
10143
  string;
@@ -10050,9 +10156,545 @@ declare namespace gapi.client {
10050
10156
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10051
10157
  key?:
10052
10158
  string;
10053
- /** OAuth 2.0 token for the current user. */
10054
- oauth_token?:
10055
- string;
10159
+ /**
10160
+ * Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example:
10161
+ * properties/123/subpropertyEventFilters/456
10162
+ */
10163
+ name:
10164
+ string;
10165
+ /** OAuth 2.0 token for the current user. */
10166
+ oauth_token?:
10167
+ string;
10168
+ /** Returns response with indentations and line breaks. */
10169
+ prettyPrint?:
10170
+ boolean;
10171
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10172
+ quotaUser?:
10173
+ string;
10174
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10175
+ upload_protocol?:
10176
+ string;
10177
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10178
+ uploadType?:
10179
+ string;
10180
+ }): Request<GoogleAnalyticsAdminV1alphaSubpropertyEventFilter>;
10181
+ /** List all subproperty Event Filters on a property. */
10182
+ list(request?: {
10183
+ /** V1 error format. */
10184
+ "$.xgafv"?:
10185
+ string;
10186
+ /** OAuth access token. */
10187
+ access_token?:
10188
+ string;
10189
+ /** Data format for response. */
10190
+ alt?:
10191
+ string;
10192
+ /** JSONP */
10193
+ callback?:
10194
+ string;
10195
+ /** Selector specifying which fields to include in a partial response. */
10196
+ fields?:
10197
+ string;
10198
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10199
+ key?:
10200
+ string;
10201
+ /** OAuth 2.0 token for the current user. */
10202
+ oauth_token?:
10203
+ string;
10204
+ /**
10205
+ * Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will
10206
+ * be returned. The maximum value is 200; (higher values will be coerced to the maximum)
10207
+ */
10208
+ pageSize?:
10209
+ number;
10210
+ /**
10211
+ * Optional. A page token, received from a previous `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided
10212
+ * to `ListSubpropertyEventFilters` must match the call that provided the page token.
10213
+ */
10214
+ pageToken?:
10215
+ string;
10216
+ /** Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123 */
10217
+ parent:
10218
+ string;
10219
+ /** Returns response with indentations and line breaks. */
10220
+ prettyPrint?:
10221
+ boolean;
10222
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10223
+ quotaUser?:
10224
+ string;
10225
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10226
+ upload_protocol?:
10227
+ string;
10228
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10229
+ uploadType?:
10230
+ string;
10231
+ }): Request<GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse>;
10232
+ /** Updates a subproperty Event Filter. */
10233
+ patch(request: {
10234
+ /** V1 error format. */
10235
+ "$.xgafv"?:
10236
+ string;
10237
+ /** OAuth access token. */
10238
+ access_token?:
10239
+ string;
10240
+ /** Data format for response. */
10241
+ alt?:
10242
+ string;
10243
+ /** JSONP */
10244
+ callback?:
10245
+ string;
10246
+ /** Selector specifying which fields to include in a partial response. */
10247
+ fields?:
10248
+ string;
10249
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10250
+ key?:
10251
+ string;
10252
+ /** Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678 */
10253
+ name:
10254
+ string;
10255
+ /** OAuth 2.0 token for the current user. */
10256
+ oauth_token?:
10257
+ string;
10258
+ /** Returns response with indentations and line breaks. */
10259
+ prettyPrint?:
10260
+ boolean;
10261
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10262
+ quotaUser?:
10263
+ string;
10264
+ /**
10265
+ * Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use
10266
+ * one path with the string "*" to match all fields.
10267
+ */
10268
+ updateMask?:
10269
+ string;
10270
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10271
+ upload_protocol?:
10272
+ string;
10273
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10274
+ uploadType?:
10275
+ string;
10276
+ /** Request body */
10277
+ resource:
10278
+ GoogleAnalyticsAdminV1alphaSubpropertyEventFilter;
10279
+ }): Request<GoogleAnalyticsAdminV1alphaSubpropertyEventFilter>;
10280
+ patch(request: {
10281
+ /** V1 error format. */
10282
+ "$.xgafv"?:
10283
+ string;
10284
+ /** OAuth access token. */
10285
+ access_token?:
10286
+ string;
10287
+ /** Data format for response. */
10288
+ alt?:
10289
+ string;
10290
+ /** JSONP */
10291
+ callback?:
10292
+ string;
10293
+ /** Selector specifying which fields to include in a partial response. */
10294
+ fields?:
10295
+ string;
10296
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10297
+ key?:
10298
+ string;
10299
+ /** Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678 */
10300
+ name:
10301
+ string;
10302
+ /** OAuth 2.0 token for the current user. */
10303
+ oauth_token?:
10304
+ string;
10305
+ /** Returns response with indentations and line breaks. */
10306
+ prettyPrint?:
10307
+ boolean;
10308
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10309
+ quotaUser?:
10310
+ string;
10311
+ /**
10312
+ * Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use
10313
+ * one path with the string "*" to match all fields.
10314
+ */
10315
+ updateMask?:
10316
+ string;
10317
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10318
+ upload_protocol?:
10319
+ string;
10320
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10321
+ uploadType?:
10322
+ string;
10323
+ },
10324
+ body: GoogleAnalyticsAdminV1alphaSubpropertyEventFilter): Request<GoogleAnalyticsAdminV1alphaSubpropertyEventFilter>;
10325
+ }
10326
+ interface UserLinksResource {
10327
+ /**
10328
+ * Lists all user links on an account or property, including implicit ones that come from effective permissions granted by groups or organization admin roles. If a returned user link
10329
+ * does not have direct permissions, they cannot be removed from the account or property directly with the DeleteUserLink command. They have to be removed from the group/etc that gives
10330
+ * them permissions, which is currently only usable/discoverable in the GA or GMP UIs.
10331
+ */
10332
+ audit(request: {
10333
+ /** V1 error format. */
10334
+ "$.xgafv"?:
10335
+ string;
10336
+ /** OAuth access token. */
10337
+ access_token?:
10338
+ string;
10339
+ /** Data format for response. */
10340
+ alt?:
10341
+ string;
10342
+ /** JSONP */
10343
+ callback?:
10344
+ string;
10345
+ /** Selector specifying which fields to include in a partial response. */
10346
+ fields?:
10347
+ string;
10348
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10349
+ key?:
10350
+ string;
10351
+ /** OAuth 2.0 token for the current user. */
10352
+ oauth_token?:
10353
+ string;
10354
+ /** Required. Example format: accounts/1234 */
10355
+ parent:
10356
+ string;
10357
+ /** Returns response with indentations and line breaks. */
10358
+ prettyPrint?:
10359
+ boolean;
10360
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10361
+ quotaUser?:
10362
+ string;
10363
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10364
+ upload_protocol?:
10365
+ string;
10366
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10367
+ uploadType?:
10368
+ string;
10369
+ /** Request body */
10370
+ resource:
10371
+ GoogleAnalyticsAdminV1alphaAuditUserLinksRequest;
10372
+ }): Request<GoogleAnalyticsAdminV1alphaAuditUserLinksResponse>;
10373
+ audit(request: {
10374
+ /** V1 error format. */
10375
+ "$.xgafv"?:
10376
+ string;
10377
+ /** OAuth access token. */
10378
+ access_token?:
10379
+ string;
10380
+ /** Data format for response. */
10381
+ alt?:
10382
+ string;
10383
+ /** JSONP */
10384
+ callback?:
10385
+ string;
10386
+ /** Selector specifying which fields to include in a partial response. */
10387
+ fields?:
10388
+ string;
10389
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10390
+ key?:
10391
+ string;
10392
+ /** OAuth 2.0 token for the current user. */
10393
+ oauth_token?:
10394
+ string;
10395
+ /** Required. Example format: accounts/1234 */
10396
+ parent:
10397
+ string;
10398
+ /** Returns response with indentations and line breaks. */
10399
+ prettyPrint?:
10400
+ boolean;
10401
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10402
+ quotaUser?:
10403
+ string;
10404
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10405
+ upload_protocol?:
10406
+ string;
10407
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10408
+ uploadType?:
10409
+ string;
10410
+ },
10411
+ body: GoogleAnalyticsAdminV1alphaAuditUserLinksRequest): Request<GoogleAnalyticsAdminV1alphaAuditUserLinksResponse>;
10412
+ /** Creates information about multiple users' links to an account or property. This method is transactional. If any UserLink cannot be created, none of the UserLinks will be created. */
10413
+ batchCreate(request: {
10414
+ /** V1 error format. */
10415
+ "$.xgafv"?:
10416
+ string;
10417
+ /** OAuth access token. */
10418
+ access_token?:
10419
+ string;
10420
+ /** Data format for response. */
10421
+ alt?:
10422
+ string;
10423
+ /** JSONP */
10424
+ callback?:
10425
+ string;
10426
+ /** Selector specifying which fields to include in a partial response. */
10427
+ fields?:
10428
+ string;
10429
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10430
+ key?:
10431
+ string;
10432
+ /** OAuth 2.0 token for the current user. */
10433
+ oauth_token?:
10434
+ string;
10435
+ /**
10436
+ * Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty
10437
+ * or match this field. Example format: accounts/1234
10438
+ */
10439
+ parent:
10440
+ string;
10441
+ /** Returns response with indentations and line breaks. */
10442
+ prettyPrint?:
10443
+ boolean;
10444
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10445
+ quotaUser?:
10446
+ string;
10447
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10448
+ upload_protocol?:
10449
+ string;
10450
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10451
+ uploadType?:
10452
+ string;
10453
+ /** Request body */
10454
+ resource:
10455
+ GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest;
10456
+ }): Request<GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse>;
10457
+ batchCreate(request: {
10458
+ /** V1 error format. */
10459
+ "$.xgafv"?:
10460
+ string;
10461
+ /** OAuth access token. */
10462
+ access_token?:
10463
+ string;
10464
+ /** Data format for response. */
10465
+ alt?:
10466
+ string;
10467
+ /** JSONP */
10468
+ callback?:
10469
+ string;
10470
+ /** Selector specifying which fields to include in a partial response. */
10471
+ fields?:
10472
+ string;
10473
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10474
+ key?:
10475
+ string;
10476
+ /** OAuth 2.0 token for the current user. */
10477
+ oauth_token?:
10478
+ string;
10479
+ /**
10480
+ * Required. The account or property that all user links in the request are for. This field is required. The parent field in the CreateUserLinkRequest messages must either be empty
10481
+ * or match this field. Example format: accounts/1234
10482
+ */
10483
+ parent:
10484
+ string;
10485
+ /** Returns response with indentations and line breaks. */
10486
+ prettyPrint?:
10487
+ boolean;
10488
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10489
+ quotaUser?:
10490
+ string;
10491
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10492
+ upload_protocol?:
10493
+ string;
10494
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10495
+ uploadType?:
10496
+ string;
10497
+ },
10498
+ body: GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest): Request<GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse>;
10499
+ /** Deletes information about multiple users' links to an account or property. */
10500
+ batchDelete(request: {
10501
+ /** V1 error format. */
10502
+ "$.xgafv"?:
10503
+ string;
10504
+ /** OAuth access token. */
10505
+ access_token?:
10506
+ string;
10507
+ /** Data format for response. */
10508
+ alt?:
10509
+ string;
10510
+ /** JSONP */
10511
+ callback?:
10512
+ string;
10513
+ /** Selector specifying which fields to include in a partial response. */
10514
+ fields?:
10515
+ string;
10516
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10517
+ key?:
10518
+ string;
10519
+ /** OAuth 2.0 token for the current user. */
10520
+ oauth_token?:
10521
+ string;
10522
+ /**
10523
+ * Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format:
10524
+ * accounts/1234
10525
+ */
10526
+ parent:
10527
+ string;
10528
+ /** Returns response with indentations and line breaks. */
10529
+ prettyPrint?:
10530
+ boolean;
10531
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10532
+ quotaUser?:
10533
+ string;
10534
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10535
+ upload_protocol?:
10536
+ string;
10537
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10538
+ uploadType?:
10539
+ string;
10540
+ /** Request body */
10541
+ resource:
10542
+ GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest;
10543
+ }): Request<{}>;
10544
+ batchDelete(request: {
10545
+ /** V1 error format. */
10546
+ "$.xgafv"?:
10547
+ string;
10548
+ /** OAuth access token. */
10549
+ access_token?:
10550
+ string;
10551
+ /** Data format for response. */
10552
+ alt?:
10553
+ string;
10554
+ /** JSONP */
10555
+ callback?:
10556
+ string;
10557
+ /** Selector specifying which fields to include in a partial response. */
10558
+ fields?:
10559
+ string;
10560
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10561
+ key?:
10562
+ string;
10563
+ /** OAuth 2.0 token for the current user. */
10564
+ oauth_token?:
10565
+ string;
10566
+ /**
10567
+ * Required. The account or property that all user links in the request are for. The parent of all values for user link names to delete must match this field. Example format:
10568
+ * accounts/1234
10569
+ */
10570
+ parent:
10571
+ string;
10572
+ /** Returns response with indentations and line breaks. */
10573
+ prettyPrint?:
10574
+ boolean;
10575
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10576
+ quotaUser?:
10577
+ string;
10578
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10579
+ upload_protocol?:
10580
+ string;
10581
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10582
+ uploadType?:
10583
+ string;
10584
+ },
10585
+ body: GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest): Request<{}>;
10586
+ /** Gets information about multiple users' links to an account or property. */
10587
+ batchGet(request?: {
10588
+ /** V1 error format. */
10589
+ "$.xgafv"?:
10590
+ string;
10591
+ /** OAuth access token. */
10592
+ access_token?:
10593
+ string;
10594
+ /** Data format for response. */
10595
+ alt?:
10596
+ string;
10597
+ /** JSONP */
10598
+ callback?:
10599
+ string;
10600
+ /** Selector specifying which fields to include in a partial response. */
10601
+ fields?:
10602
+ string;
10603
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10604
+ key?:
10605
+ string;
10606
+ /** Required. The names of the user links to retrieve. A maximum of 1000 user links can be retrieved in a batch. Format: accounts/{accountId}/userLinks/{userLinkId} */
10607
+ names?:
10608
+ string | string[];
10609
+ /** OAuth 2.0 token for the current user. */
10610
+ oauth_token?:
10611
+ string;
10612
+ /**
10613
+ * Required. The account or property that all user links in the request are for. The parent of all provided values for the 'names' field must match this field. Example format:
10614
+ * accounts/1234
10615
+ */
10616
+ parent:
10617
+ string;
10618
+ /** Returns response with indentations and line breaks. */
10619
+ prettyPrint?:
10620
+ boolean;
10621
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10622
+ quotaUser?:
10623
+ string;
10624
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10625
+ upload_protocol?:
10626
+ string;
10627
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10628
+ uploadType?:
10629
+ string;
10630
+ }): Request<GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse>;
10631
+ /** Updates information about multiple users' links to an account or property. */
10632
+ batchUpdate(request: {
10633
+ /** V1 error format. */
10634
+ "$.xgafv"?:
10635
+ string;
10636
+ /** OAuth access token. */
10637
+ access_token?:
10638
+ string;
10639
+ /** Data format for response. */
10640
+ alt?:
10641
+ string;
10642
+ /** JSONP */
10643
+ callback?:
10644
+ string;
10645
+ /** Selector specifying which fields to include in a partial response. */
10646
+ fields?:
10647
+ string;
10648
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10649
+ key?:
10650
+ string;
10651
+ /** OAuth 2.0 token for the current user. */
10652
+ oauth_token?:
10653
+ string;
10654
+ /**
10655
+ * Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field.
10656
+ * Example format: accounts/1234
10657
+ */
10658
+ parent:
10659
+ string;
10660
+ /** Returns response with indentations and line breaks. */
10661
+ prettyPrint?:
10662
+ boolean;
10663
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10664
+ quotaUser?:
10665
+ string;
10666
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10667
+ upload_protocol?:
10668
+ string;
10669
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10670
+ uploadType?:
10671
+ string;
10672
+ /** Request body */
10673
+ resource:
10674
+ GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest;
10675
+ }): Request<GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse>;
10676
+ batchUpdate(request: {
10677
+ /** V1 error format. */
10678
+ "$.xgafv"?:
10679
+ string;
10680
+ /** OAuth access token. */
10681
+ access_token?:
10682
+ string;
10683
+ /** Data format for response. */
10684
+ alt?:
10685
+ string;
10686
+ /** JSONP */
10687
+ callback?:
10688
+ string;
10689
+ /** Selector specifying which fields to include in a partial response. */
10690
+ fields?:
10691
+ string;
10692
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10693
+ key?:
10694
+ string;
10695
+ /** OAuth 2.0 token for the current user. */
10696
+ oauth_token?:
10697
+ string;
10056
10698
  /**
10057
10699
  * Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field.
10058
10700
  * Example format: accounts/1234
@@ -10609,6 +11251,156 @@ declare namespace gapi.client {
10609
11251
  string;
10610
11252
  },
10611
11253
  body: GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest): Request<{}>;
11254
+ /** Create a roll-up property and all roll-up property source links. */
11255
+ createRollupProperty(request: {
11256
+ /** V1 error format. */
11257
+ "$.xgafv"?:
11258
+ string;
11259
+ /** OAuth access token. */
11260
+ access_token?:
11261
+ string;
11262
+ /** Data format for response. */
11263
+ alt?:
11264
+ string;
11265
+ /** JSONP */
11266
+ callback?:
11267
+ string;
11268
+ /** Selector specifying which fields to include in a partial response. */
11269
+ fields?:
11270
+ string;
11271
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
11272
+ key?:
11273
+ string;
11274
+ /** OAuth 2.0 token for the current user. */
11275
+ oauth_token?:
11276
+ string;
11277
+ /** Returns response with indentations and line breaks. */
11278
+ prettyPrint?:
11279
+ boolean;
11280
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11281
+ quotaUser?:
11282
+ string;
11283
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11284
+ upload_protocol?:
11285
+ string;
11286
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11287
+ uploadType?:
11288
+ string;
11289
+ /** Request body */
11290
+ resource:
11291
+ GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest;
11292
+ }): Request<GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse>;
11293
+ createRollupProperty(request: {
11294
+ /** V1 error format. */
11295
+ "$.xgafv"?:
11296
+ string;
11297
+ /** OAuth access token. */
11298
+ access_token?:
11299
+ string;
11300
+ /** Data format for response. */
11301
+ alt?:
11302
+ string;
11303
+ /** JSONP */
11304
+ callback?:
11305
+ string;
11306
+ /** Selector specifying which fields to include in a partial response. */
11307
+ fields?:
11308
+ string;
11309
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
11310
+ key?:
11311
+ string;
11312
+ /** OAuth 2.0 token for the current user. */
11313
+ oauth_token?:
11314
+ string;
11315
+ /** Returns response with indentations and line breaks. */
11316
+ prettyPrint?:
11317
+ boolean;
11318
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11319
+ quotaUser?:
11320
+ string;
11321
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11322
+ upload_protocol?:
11323
+ string;
11324
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11325
+ uploadType?:
11326
+ string;
11327
+ },
11328
+ body: GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest): Request<GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse>;
11329
+ /** Create a subproperty and a subproperty event filter that applies to the created subproperty. */
11330
+ createSubproperty(request: {
11331
+ /** V1 error format. */
11332
+ "$.xgafv"?:
11333
+ string;
11334
+ /** OAuth access token. */
11335
+ access_token?:
11336
+ string;
11337
+ /** Data format for response. */
11338
+ alt?:
11339
+ string;
11340
+ /** JSONP */
11341
+ callback?:
11342
+ string;
11343
+ /** Selector specifying which fields to include in a partial response. */
11344
+ fields?:
11345
+ string;
11346
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
11347
+ key?:
11348
+ string;
11349
+ /** OAuth 2.0 token for the current user. */
11350
+ oauth_token?:
11351
+ string;
11352
+ /** Returns response with indentations and line breaks. */
11353
+ prettyPrint?:
11354
+ boolean;
11355
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11356
+ quotaUser?:
11357
+ string;
11358
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11359
+ upload_protocol?:
11360
+ string;
11361
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11362
+ uploadType?:
11363
+ string;
11364
+ /** Request body */
11365
+ resource:
11366
+ GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest;
11367
+ }): Request<GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse>;
11368
+ createSubproperty(request: {
11369
+ /** V1 error format. */
11370
+ "$.xgafv"?:
11371
+ string;
11372
+ /** OAuth access token. */
11373
+ access_token?:
11374
+ string;
11375
+ /** Data format for response. */
11376
+ alt?:
11377
+ string;
11378
+ /** JSONP */
11379
+ callback?:
11380
+ string;
11381
+ /** Selector specifying which fields to include in a partial response. */
11382
+ fields?:
11383
+ string;
11384
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
11385
+ key?:
11386
+ string;
11387
+ /** OAuth 2.0 token for the current user. */
11388
+ oauth_token?:
11389
+ string;
11390
+ /** Returns response with indentations and line breaks. */
11391
+ prettyPrint?:
11392
+ boolean;
11393
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11394
+ quotaUser?:
11395
+ string;
11396
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11397
+ upload_protocol?:
11398
+ string;
11399
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11400
+ uploadType?:
11401
+ string;
11402
+ },
11403
+ body: GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest): Request<GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse>;
10612
11404
  /**
10613
11405
  * Marks target Property as soft-deleted (ie: "trashed") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the
10614
11406
  * Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) will be permanently
@@ -11708,8 +12500,12 @@ declare namespace gapi.client {
11708
12500
  FirebaseLinksResource;
11709
12501
  googleAdsLinks:
11710
12502
  GoogleAdsLinksResource;
12503
+ rollupPropertySourceLinks:
12504
+ RollupPropertySourceLinksResource;
11711
12505
  searchAds360Links:
11712
12506
  SearchAds360LinksResource;
12507
+ subpropertyEventFilters:
12508
+ SubpropertyEventFiltersResource;
11713
12509
  userLinks:
11714
12510
  UserLinksResource;
11715
12511
  }