google-apis-analyticsadmin_v1alpha 0.63.0 → 0.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1418,103 +1418,6 @@ module Google
1418
1418
  end
1419
1419
  end
1420
1420
 
1421
- # Read-only resource used to summarize a principal's effective roles.
1422
- class GoogleAnalyticsAdminV1alphaAuditUserLink
1423
- include Google::Apis::Core::Hashable
1424
-
1425
- # Roles directly assigned to this user for this entity. Format: predefinedRoles/
1426
- # viewer Excludes roles that are inherited from an account (if this is for a
1427
- # property), group, or organization admin role.
1428
- # Corresponds to the JSON property `directRoles`
1429
- # @return [Array<String>]
1430
- attr_accessor :direct_roles
1431
-
1432
- # Union of all permissions a user has at this account or property (includes
1433
- # direct permissions, group-inherited permissions, etc.). Format:
1434
- # predefinedRoles/viewer
1435
- # Corresponds to the JSON property `effectiveRoles`
1436
- # @return [Array<String>]
1437
- attr_accessor :effective_roles
1438
-
1439
- # Email address of the linked user
1440
- # Corresponds to the JSON property `emailAddress`
1441
- # @return [String]
1442
- attr_accessor :email_address
1443
-
1444
- # Example format: properties/1234/userLinks/5678
1445
- # Corresponds to the JSON property `name`
1446
- # @return [String]
1447
- attr_accessor :name
1448
-
1449
- def initialize(**args)
1450
- update!(**args)
1451
- end
1452
-
1453
- # Update properties of this object
1454
- def update!(**args)
1455
- @direct_roles = args[:direct_roles] if args.key?(:direct_roles)
1456
- @effective_roles = args[:effective_roles] if args.key?(:effective_roles)
1457
- @email_address = args[:email_address] if args.key?(:email_address)
1458
- @name = args[:name] if args.key?(:name)
1459
- end
1460
- end
1461
-
1462
- # Request message for AuditUserLinks RPC.
1463
- class GoogleAnalyticsAdminV1alphaAuditUserLinksRequest
1464
- include Google::Apis::Core::Hashable
1465
-
1466
- # The maximum number of user links to return. The service may return fewer than
1467
- # this value. If unspecified, at most 1000 user links will be returned. The
1468
- # maximum value is 5000; values above 5000 will be coerced to 5000.
1469
- # Corresponds to the JSON property `pageSize`
1470
- # @return [Fixnum]
1471
- attr_accessor :page_size
1472
-
1473
- # A page token, received from a previous `AuditUserLinks` call. Provide this to
1474
- # retrieve the subsequent page. When paginating, all other parameters provided
1475
- # to `AuditUserLinks` must match the call that provided the page token.
1476
- # Corresponds to the JSON property `pageToken`
1477
- # @return [String]
1478
- attr_accessor :page_token
1479
-
1480
- def initialize(**args)
1481
- update!(**args)
1482
- end
1483
-
1484
- # Update properties of this object
1485
- def update!(**args)
1486
- @page_size = args[:page_size] if args.key?(:page_size)
1487
- @page_token = args[:page_token] if args.key?(:page_token)
1488
- end
1489
- end
1490
-
1491
- # Response message for AuditUserLinks RPC.
1492
- class GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
1493
- include Google::Apis::Core::Hashable
1494
-
1495
- # A token, which can be sent as `page_token` to retrieve the next page. If this
1496
- # field is omitted, there are no subsequent pages.
1497
- # Corresponds to the JSON property `nextPageToken`
1498
- # @return [String]
1499
- attr_accessor :next_page_token
1500
-
1501
- # List of AuditUserLinks. These will be ordered stably, but in an arbitrary
1502
- # order.
1503
- # Corresponds to the JSON property `userLinks`
1504
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink>]
1505
- attr_accessor :user_links
1506
-
1507
- def initialize(**args)
1508
- update!(**args)
1509
- end
1510
-
1511
- # Update properties of this object
1512
- def update!(**args)
1513
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1514
- @user_links = args[:user_links] if args.key?(:user_links)
1515
- end
1516
- end
1517
-
1518
1421
  # Request message for BatchCreateAccessBindings RPC.
1519
1422
  class GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest
1520
1423
  include Google::Apis::Core::Hashable
@@ -1554,54 +1457,6 @@ module Google
1554
1457
  end
1555
1458
  end
1556
1459
 
1557
- # Request message for BatchCreateUserLinks RPC.
1558
- class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
1559
- include Google::Apis::Core::Hashable
1560
-
1561
- # Optional. If set, then email the new users notifying them that they've been
1562
- # granted permissions to the resource. Regardless of whether this is set or not,
1563
- # notify_new_user field inside each individual request is ignored.
1564
- # Corresponds to the JSON property `notifyNewUsers`
1565
- # @return [Boolean]
1566
- attr_accessor :notify_new_users
1567
- alias_method :notify_new_users?, :notify_new_users
1568
-
1569
- # Required. The requests specifying the user links to create. A maximum of 1000
1570
- # user links can be created in a batch.
1571
- # Corresponds to the JSON property `requests`
1572
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest>]
1573
- attr_accessor :requests
1574
-
1575
- def initialize(**args)
1576
- update!(**args)
1577
- end
1578
-
1579
- # Update properties of this object
1580
- def update!(**args)
1581
- @notify_new_users = args[:notify_new_users] if args.key?(:notify_new_users)
1582
- @requests = args[:requests] if args.key?(:requests)
1583
- end
1584
- end
1585
-
1586
- # Response message for BatchCreateUserLinks RPC.
1587
- class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
1588
- include Google::Apis::Core::Hashable
1589
-
1590
- # The user links created.
1591
- # Corresponds to the JSON property `userLinks`
1592
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
1593
- attr_accessor :user_links
1594
-
1595
- def initialize(**args)
1596
- update!(**args)
1597
- end
1598
-
1599
- # Update properties of this object
1600
- def update!(**args)
1601
- @user_links = args[:user_links] if args.key?(:user_links)
1602
- end
1603
- end
1604
-
1605
1460
  # Request message for BatchDeleteAccessBindings RPC.
1606
1461
  class GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest
1607
1462
  include Google::Apis::Core::Hashable
@@ -1622,26 +1477,6 @@ module Google
1622
1477
  end
1623
1478
  end
1624
1479
 
1625
- # Request message for BatchDeleteUserLinks RPC.
1626
- class GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest
1627
- include Google::Apis::Core::Hashable
1628
-
1629
- # Required. The requests specifying the user links to update. A maximum of 1000
1630
- # user links can be updated in a batch.
1631
- # Corresponds to the JSON property `requests`
1632
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest>]
1633
- attr_accessor :requests
1634
-
1635
- def initialize(**args)
1636
- update!(**args)
1637
- end
1638
-
1639
- # Update properties of this object
1640
- def update!(**args)
1641
- @requests = args[:requests] if args.key?(:requests)
1642
- end
1643
- end
1644
-
1645
1480
  # Response message for BatchGetAccessBindings RPC.
1646
1481
  class GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse
1647
1482
  include Google::Apis::Core::Hashable
@@ -1661,25 +1496,6 @@ module Google
1661
1496
  end
1662
1497
  end
1663
1498
 
1664
- # Response message for BatchGetUserLinks RPC.
1665
- class GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
1666
- include Google::Apis::Core::Hashable
1667
-
1668
- # The requested user links.
1669
- # Corresponds to the JSON property `userLinks`
1670
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
1671
- attr_accessor :user_links
1672
-
1673
- def initialize(**args)
1674
- update!(**args)
1675
- end
1676
-
1677
- # Update properties of this object
1678
- def update!(**args)
1679
- @user_links = args[:user_links] if args.key?(:user_links)
1680
- end
1681
- end
1682
-
1683
1499
  # Request message for BatchUpdateAccessBindings RPC.
1684
1500
  class GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest
1685
1501
  include Google::Apis::Core::Hashable
@@ -1719,45 +1535,6 @@ module Google
1719
1535
  end
1720
1536
  end
1721
1537
 
1722
- # Request message for BatchUpdateUserLinks RPC.
1723
- class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest
1724
- include Google::Apis::Core::Hashable
1725
-
1726
- # Required. The requests specifying the user links to update. A maximum of 1000
1727
- # user links can be updated in a batch.
1728
- # Corresponds to the JSON property `requests`
1729
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest>]
1730
- attr_accessor :requests
1731
-
1732
- def initialize(**args)
1733
- update!(**args)
1734
- end
1735
-
1736
- # Update properties of this object
1737
- def update!(**args)
1738
- @requests = args[:requests] if args.key?(:requests)
1739
- end
1740
- end
1741
-
1742
- # Response message for BatchUpdateUserLinks RPC.
1743
- class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
1744
- include Google::Apis::Core::Hashable
1745
-
1746
- # The user links updated.
1747
- # Corresponds to the JSON property `userLinks`
1748
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
1749
- attr_accessor :user_links
1750
-
1751
- def initialize(**args)
1752
- update!(**args)
1753
- end
1754
-
1755
- # Update properties of this object
1756
- def update!(**args)
1757
- @user_links = args[:user_links] if args.key?(:user_links)
1758
- end
1759
- end
1760
-
1761
1538
  # A link between a GA4 Property and BigQuery project.
1762
1539
  class GoogleAnalyticsAdminV1alphaBigQueryLink
1763
1540
  include Google::Apis::Core::Hashable
@@ -2140,7 +1917,9 @@ module Google
2140
1917
  # @return [String]
2141
1918
  attr_accessor :name
2142
1919
 
2143
- # Output only. Default Channel Group defined by Google, which cannot be updated.
1920
+ # Output only. If true, then this channel group is the Default Channel Group
1921
+ # predefined by Google Analytics. Display name and grouping rules cannot be
1922
+ # updated for this channel group.
2144
1923
  # Corresponds to the JSON property `systemDefined`
2145
1924
  # @return [Boolean]
2146
1925
  attr_accessor :system_defined
@@ -2502,32 +2281,76 @@ module Google
2502
2281
  end
2503
2282
  end
2504
2283
 
2505
- # Request message for CreateUserLink RPC. Users can have multiple email
2506
- # addresses associated with their Google account, and one of these email
2507
- # addresses is the "primary" email address. Any of the email addresses
2508
- # associated with a Google account may be used for a new UserLink, but the
2509
- # returned UserLink will always contain the "primary" email address. As a result,
2510
- # the input and output email address for this request may differ.
2511
- class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
2284
+ # Request message for CreateRollupProperty RPC.
2285
+ class GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest
2512
2286
  include Google::Apis::Core::Hashable
2513
2287
 
2514
- # Optional. If set, then email the new user notifying them that they've been
2515
- # granted permissions to the resource.
2516
- # Corresponds to the JSON property `notifyNewUser`
2517
- # @return [Boolean]
2518
- attr_accessor :notify_new_user
2519
- alias_method :notify_new_user?, :notify_new_user
2288
+ # A resource message representing a Google Analytics GA4 property.
2289
+ # Corresponds to the JSON property `rollupProperty`
2290
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2291
+ attr_accessor :rollup_property
2292
+
2293
+ # Optional. The resource names of properties that will be sources to the created
2294
+ # roll-up property.
2295
+ # Corresponds to the JSON property `sourceProperties`
2296
+ # @return [Array<String>]
2297
+ attr_accessor :source_properties
2298
+
2299
+ def initialize(**args)
2300
+ update!(**args)
2301
+ end
2302
+
2303
+ # Update properties of this object
2304
+ def update!(**args)
2305
+ @rollup_property = args[:rollup_property] if args.key?(:rollup_property)
2306
+ @source_properties = args[:source_properties] if args.key?(:source_properties)
2307
+ end
2308
+ end
2309
+
2310
+ # Response message for CreateRollupProperty RPC.
2311
+ class GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse
2312
+ include Google::Apis::Core::Hashable
2313
+
2314
+ # A resource message representing a Google Analytics GA4 property.
2315
+ # Corresponds to the JSON property `rollupProperty`
2316
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2317
+ attr_accessor :rollup_property
2318
+
2319
+ # The created roll-up property source links.
2320
+ # Corresponds to the JSON property `rollupPropertySourceLinks`
2321
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink>]
2322
+ attr_accessor :rollup_property_source_links
2323
+
2324
+ def initialize(**args)
2325
+ update!(**args)
2326
+ end
2327
+
2328
+ # Update properties of this object
2329
+ def update!(**args)
2330
+ @rollup_property = args[:rollup_property] if args.key?(:rollup_property)
2331
+ @rollup_property_source_links = args[:rollup_property_source_links] if args.key?(:rollup_property_source_links)
2332
+ end
2333
+ end
2520
2334
 
2521
- # Required. Example format: accounts/1234
2335
+ # Request message for CreateSubproperty RPC.
2336
+ class GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest
2337
+ include Google::Apis::Core::Hashable
2338
+
2339
+ # Required. The ordinary property for which to create a subproperty. Format:
2340
+ # properties/property_id Example: properties/123
2522
2341
  # Corresponds to the JSON property `parent`
2523
2342
  # @return [String]
2524
2343
  attr_accessor :parent
2525
2344
 
2526
- # A resource message representing a user's permissions on an Account or Property
2527
- # resource.
2528
- # Corresponds to the JSON property `userLink`
2529
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
2530
- attr_accessor :user_link
2345
+ # A resource message representing a Google Analytics GA4 property.
2346
+ # Corresponds to the JSON property `subproperty`
2347
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2348
+ attr_accessor :subproperty
2349
+
2350
+ # A resource message representing a GA4 Subproperty event filter.
2351
+ # Corresponds to the JSON property `subpropertyEventFilter`
2352
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
2353
+ attr_accessor :subproperty_event_filter
2531
2354
 
2532
2355
  def initialize(**args)
2533
2356
  update!(**args)
@@ -2535,9 +2358,34 @@ module Google
2535
2358
 
2536
2359
  # Update properties of this object
2537
2360
  def update!(**args)
2538
- @notify_new_user = args[:notify_new_user] if args.key?(:notify_new_user)
2539
2361
  @parent = args[:parent] if args.key?(:parent)
2540
- @user_link = args[:user_link] if args.key?(:user_link)
2362
+ @subproperty = args[:subproperty] if args.key?(:subproperty)
2363
+ @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
2364
+ end
2365
+ end
2366
+
2367
+ # Response message for CreateSubproperty RPC.
2368
+ class GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse
2369
+ include Google::Apis::Core::Hashable
2370
+
2371
+ # A resource message representing a Google Analytics GA4 property.
2372
+ # Corresponds to the JSON property `subproperty`
2373
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2374
+ attr_accessor :subproperty
2375
+
2376
+ # A resource message representing a GA4 Subproperty event filter.
2377
+ # Corresponds to the JSON property `subpropertyEventFilter`
2378
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
2379
+ attr_accessor :subproperty_event_filter
2380
+
2381
+ def initialize(**args)
2382
+ update!(**args)
2383
+ end
2384
+
2385
+ # Update properties of this object
2386
+ def update!(**args)
2387
+ @subproperty = args[:subproperty] if args.key?(:subproperty)
2388
+ @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
2541
2389
  end
2542
2390
  end
2543
2391
 
@@ -3007,25 +2855,6 @@ module Google
3007
2855
  end
3008
2856
  end
3009
2857
 
3010
- # Request message for DeleteUserLink RPC.
3011
- class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
3012
- include Google::Apis::Core::Hashable
3013
-
3014
- # Required. Example format: accounts/1234/userLinks/5678
3015
- # Corresponds to the JSON property `name`
3016
- # @return [String]
3017
- attr_accessor :name
3018
-
3019
- def initialize(**args)
3020
- update!(**args)
3021
- end
3022
-
3023
- # Update properties of this object
3024
- def update!(**args)
3025
- @name = args[:name] if args.key?(:name)
3026
- end
3027
- end
3028
-
3029
2858
  # A link between a GA4 property and a Display & Video 360 advertiser.
3030
2859
  class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
3031
2860
  include Google::Apis::Core::Hashable
@@ -4395,6 +4224,32 @@ module Google
4395
4224
  end
4396
4225
  end
4397
4226
 
4227
+ # Response message for ListRollupPropertySourceLinks RPC.
4228
+ class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse
4229
+ include Google::Apis::Core::Hashable
4230
+
4231
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4232
+ # field is omitted, there are no subsequent pages.
4233
+ # Corresponds to the JSON property `nextPageToken`
4234
+ # @return [String]
4235
+ attr_accessor :next_page_token
4236
+
4237
+ # List of RollupPropertySourceLinks.
4238
+ # Corresponds to the JSON property `rollupPropertySourceLinks`
4239
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink>]
4240
+ attr_accessor :rollup_property_source_links
4241
+
4242
+ def initialize(**args)
4243
+ update!(**args)
4244
+ end
4245
+
4246
+ # Update properties of this object
4247
+ def update!(**args)
4248
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4249
+ @rollup_property_source_links = args[:rollup_property_source_links] if args.key?(:rollup_property_source_links)
4250
+ end
4251
+ end
4252
+
4398
4253
  # Response message for ListSKAdNetworkConversionValueSchemas RPC
4399
4254
  class GoogleAnalyticsAdminV1alphaListSkAdNetworkConversionValueSchemasResponse
4400
4255
  include Google::Apis::Core::Hashable
@@ -4449,8 +4304,8 @@ module Google
4449
4304
  end
4450
4305
  end
4451
4306
 
4452
- # Response message for ListUserLinks RPC.
4453
- class GoogleAnalyticsAdminV1alphaListUserLinksResponse
4307
+ # Response message for ListSubpropertyEventFilter RPC.
4308
+ class GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse
4454
4309
  include Google::Apis::Core::Hashable
4455
4310
 
4456
4311
  # A token, which can be sent as `page_token` to retrieve the next page. If this
@@ -4459,10 +4314,10 @@ module Google
4459
4314
  # @return [String]
4460
4315
  attr_accessor :next_page_token
4461
4316
 
4462
- # List of UserLinks. These will be ordered stably, but in an arbitrary order.
4463
- # Corresponds to the JSON property `userLinks`
4464
- # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
4465
- attr_accessor :user_links
4317
+ # List of subproperty event filters.
4318
+ # Corresponds to the JSON property `subpropertyEventFilters`
4319
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter>]
4320
+ attr_accessor :subproperty_event_filters
4466
4321
 
4467
4322
  def initialize(**args)
4468
4323
  update!(**args)
@@ -4471,7 +4326,7 @@ module Google
4471
4326
  # Update properties of this object
4472
4327
  def update!(**args)
4473
4328
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4474
- @user_links = args[:user_links] if args.key?(:user_links)
4329
+ @subproperty_event_filters = args[:subproperty_event_filters] if args.key?(:subproperty_event_filters)
4475
4330
  end
4476
4331
  end
4477
4332
 
@@ -4706,8 +4561,7 @@ module Google
4706
4561
 
4707
4562
  # Immutable. The property type for this Property resource. When creating a
4708
4563
  # property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY"
4709
- # will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be
4710
- # created with the Google Analytics Admin API.
4564
+ # will be implied.
4711
4565
  # Corresponds to the JSON property `propertyType`
4712
4566
  # @return [String]
4713
4567
  attr_accessor :property_type
@@ -4838,6 +4692,35 @@ module Google
4838
4692
  end
4839
4693
  end
4840
4694
 
4695
+ # A link that references a source property under the parent rollup property.
4696
+ class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
4697
+ include Google::Apis::Core::Hashable
4698
+
4699
+ # Output only. Resource name of this RollupPropertySourceLink. Format: '
4700
+ # properties/`property_id`/rollupPropertySourceLinks/`
4701
+ # rollup_property_source_link`' Format: 'properties/123/
4702
+ # rollupPropertySourceLinks/456'
4703
+ # Corresponds to the JSON property `name`
4704
+ # @return [String]
4705
+ attr_accessor :name
4706
+
4707
+ # Immutable. Resource name of the source property. Format: properties/`
4708
+ # property_id` Example: "properties/789"
4709
+ # Corresponds to the JSON property `sourceProperty`
4710
+ # @return [String]
4711
+ attr_accessor :source_property
4712
+
4713
+ def initialize(**args)
4714
+ update!(**args)
4715
+ end
4716
+
4717
+ # Update properties of this object
4718
+ def update!(**args)
4719
+ @name = args[:name] if args.key?(:name)
4720
+ @source_property = args[:source_property] if args.key?(:source_property)
4721
+ end
4722
+ end
4723
+
4841
4724
  # The request for a Data Access Record Report.
4842
4725
  class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
4843
4726
  include Google::Apis::Core::Hashable
@@ -4862,6 +4745,25 @@ module Google
4862
4745
  # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension>]
4863
4746
  attr_accessor :dimensions
4864
4747
 
4748
+ # Optional. Decides whether to return the users within user groups. This field
4749
+ # works only when include_all_users is set to true. If true, it will return all
4750
+ # users with access to the specified property or account. If false, only the
4751
+ # users with direct access will be returned.
4752
+ # Corresponds to the JSON property `expandGroups`
4753
+ # @return [Boolean]
4754
+ attr_accessor :expand_groups
4755
+ alias_method :expand_groups?, :expand_groups
4756
+
4757
+ # Optional. Determines whether to include users who have never made an API call
4758
+ # in the response. If true, all users with access to the specified property or
4759
+ # account are included in the response, regardless of whether they have made an
4760
+ # API call or not. If false, only the users who have made an API call will be
4761
+ # included.
4762
+ # Corresponds to the JSON property `includeAllUsers`
4763
+ # @return [Boolean]
4764
+ attr_accessor :include_all_users
4765
+ alias_method :include_all_users?, :include_all_users
4766
+
4865
4767
  # The number of rows to return. If unspecified, 10,000 rows are returned. The
4866
4768
  # API returns a maximum of 100,000 rows per request, no matter how many you ask
4867
4769
  # for. `limit` must be positive. The API may return fewer rows than the
@@ -4927,6 +4829,8 @@ module Google
4927
4829
  @date_ranges = args[:date_ranges] if args.key?(:date_ranges)
4928
4830
  @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
4929
4831
  @dimensions = args[:dimensions] if args.key?(:dimensions)
4832
+ @expand_groups = args[:expand_groups] if args.key?(:expand_groups)
4833
+ @include_all_users = args[:include_all_users] if args.key?(:include_all_users)
4930
4834
  @limit = args[:limit] if args.key?(:limit)
4931
4835
  @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
4932
4836
  @metrics = args[:metrics] if args.key?(:metrics)
@@ -5251,14 +5155,28 @@ module Google
5251
5155
  end
5252
5156
  end
5253
5157
 
5254
- # Request message for UpdateAccessBinding RPC.
5255
- class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest
5158
+ # A resource message representing a GA4 Subproperty event filter.
5159
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
5256
5160
  include Google::Apis::Core::Hashable
5257
5161
 
5258
- # A binding of a user to a set of roles.
5259
- # Corresponds to the JSON property `accessBinding`
5260
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding]
5261
- attr_accessor :access_binding
5162
+ # Immutable. Resource name of the Subproperty that uses this filter.
5163
+ # Corresponds to the JSON property `applyToProperty`
5164
+ # @return [String]
5165
+ attr_accessor :apply_to_property
5166
+
5167
+ # Required. Unordered list. Filter clauses that define the
5168
+ # SubpropertyEventFilter. All clauses are AND'ed together to determine what data
5169
+ # is sent to the subproperty.
5170
+ # Corresponds to the JSON property `filterClauses`
5171
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause>]
5172
+ attr_accessor :filter_clauses
5173
+
5174
+ # Output only. Format: properties/`ordinary_property_id`/subpropertyEventFilters/
5175
+ # `sub_property_event_filter` Example: properties/1234/subpropertyEventFilters/
5176
+ # 5678
5177
+ # Corresponds to the JSON property `name`
5178
+ # @return [String]
5179
+ attr_accessor :name
5262
5180
 
5263
5181
  def initialize(**args)
5264
5182
  update!(**args)
@@ -5266,19 +5184,27 @@ module Google
5266
5184
 
5267
5185
  # Update properties of this object
5268
5186
  def update!(**args)
5269
- @access_binding = args[:access_binding] if args.key?(:access_binding)
5187
+ @apply_to_property = args[:apply_to_property] if args.key?(:apply_to_property)
5188
+ @filter_clauses = args[:filter_clauses] if args.key?(:filter_clauses)
5189
+ @name = args[:name] if args.key?(:name)
5270
5190
  end
5271
5191
  end
5272
5192
 
5273
- # Request message for UpdateUserLink RPC.
5274
- class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
5193
+ # A clause for defining a filter. A filter may be inclusive (events satisfying
5194
+ # the filter clause are included in the subproperty's data) or exclusive (events
5195
+ # satisfying the filter clause are excluded from the subproperty's data).
5196
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause
5275
5197
  include Google::Apis::Core::Hashable
5276
5198
 
5277
- # A resource message representing a user's permissions on an Account or Property
5278
- # resource.
5279
- # Corresponds to the JSON property `userLink`
5280
- # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
5281
- attr_accessor :user_link
5199
+ # Required. The type for the filter clause.
5200
+ # Corresponds to the JSON property `filterClauseType`
5201
+ # @return [String]
5202
+ attr_accessor :filter_clause_type
5203
+
5204
+ # A logical expression of Subproperty event filters.
5205
+ # Corresponds to the JSON property `filterExpression`
5206
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression]
5207
+ attr_accessor :filter_expression
5282
5208
 
5283
5209
  def initialize(**args)
5284
5210
  update!(**args)
@@ -5286,34 +5212,63 @@ module Google
5286
5212
 
5287
5213
  # Update properties of this object
5288
5214
  def update!(**args)
5289
- @user_link = args[:user_link] if args.key?(:user_link)
5215
+ @filter_clause_type = args[:filter_clause_type] if args.key?(:filter_clause_type)
5216
+ @filter_expression = args[:filter_expression] if args.key?(:filter_expression)
5290
5217
  end
5291
5218
  end
5292
5219
 
5293
- # A resource message representing a user's permissions on an Account or Property
5294
- # resource.
5295
- class GoogleAnalyticsAdminV1alphaUserLink
5220
+ # A specific filter expression
5221
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition
5296
5222
  include Google::Apis::Core::Hashable
5297
5223
 
5298
- # Roles directly assigned to this user for this account or property. Valid
5299
- # values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor
5300
- # predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-
5301
- # data Excludes roles that are inherited from a higher-level entity, group, or
5302
- # organization admin role. A UserLink that is updated to have an empty list of
5303
- # direct_roles will be deleted.
5304
- # Corresponds to the JSON property `directRoles`
5305
- # @return [Array<String>]
5306
- attr_accessor :direct_roles
5224
+ # Required. The field that is being filtered.
5225
+ # Corresponds to the JSON property `fieldName`
5226
+ # @return [String]
5227
+ attr_accessor :field_name
5228
+
5229
+ # A filter for null values.
5230
+ # Corresponds to the JSON property `nullFilter`
5231
+ # @return [Boolean]
5232
+ attr_accessor :null_filter
5233
+ alias_method :null_filter?, :null_filter
5234
+
5235
+ # A filter for a string-type dimension that matches a particular pattern.
5236
+ # Corresponds to the JSON property `stringFilter`
5237
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter]
5238
+ attr_accessor :string_filter
5239
+
5240
+ def initialize(**args)
5241
+ update!(**args)
5242
+ end
5243
+
5244
+ # Update properties of this object
5245
+ def update!(**args)
5246
+ @field_name = args[:field_name] if args.key?(:field_name)
5247
+ @null_filter = args[:null_filter] if args.key?(:null_filter)
5248
+ @string_filter = args[:string_filter] if args.key?(:string_filter)
5249
+ end
5250
+ end
5251
+
5252
+ # A filter for a string-type dimension that matches a particular pattern.
5253
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter
5254
+ include Google::Apis::Core::Hashable
5255
+
5256
+ # Optional. If true, the string value is case sensitive. If false, the match is
5257
+ # case-insensitive.
5258
+ # Corresponds to the JSON property `caseSensitive`
5259
+ # @return [Boolean]
5260
+ attr_accessor :case_sensitive
5261
+ alias_method :case_sensitive?, :case_sensitive
5307
5262
 
5308
- # Immutable. Email address of the user to link
5309
- # Corresponds to the JSON property `emailAddress`
5263
+ # Required. The match type for the string filter.
5264
+ # Corresponds to the JSON property `matchType`
5310
5265
  # @return [String]
5311
- attr_accessor :email_address
5266
+ attr_accessor :match_type
5312
5267
 
5313
- # Output only. Example format: properties/1234/userLinks/5678
5314
- # Corresponds to the JSON property `name`
5268
+ # Required. The string value used for the matching.
5269
+ # Corresponds to the JSON property `value`
5315
5270
  # @return [String]
5316
- attr_accessor :name
5271
+ attr_accessor :value
5317
5272
 
5318
5273
  def initialize(**args)
5319
5274
  update!(**args)
@@ -5321,9 +5276,78 @@ module Google
5321
5276
 
5322
5277
  # Update properties of this object
5323
5278
  def update!(**args)
5324
- @direct_roles = args[:direct_roles] if args.key?(:direct_roles)
5325
- @email_address = args[:email_address] if args.key?(:email_address)
5326
- @name = args[:name] if args.key?(:name)
5279
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
5280
+ @match_type = args[:match_type] if args.key?(:match_type)
5281
+ @value = args[:value] if args.key?(:value)
5282
+ end
5283
+ end
5284
+
5285
+ # A logical expression of Subproperty event filters.
5286
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression
5287
+ include Google::Apis::Core::Hashable
5288
+
5289
+ # A specific filter expression
5290
+ # Corresponds to the JSON property `filterCondition`
5291
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition]
5292
+ attr_accessor :filter_condition
5293
+
5294
+ # A logical expression of Subproperty event filters.
5295
+ # Corresponds to the JSON property `notExpression`
5296
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression]
5297
+ attr_accessor :not_expression
5298
+
5299
+ # A list of Subproperty event filter expressions.
5300
+ # Corresponds to the JSON property `orGroup`
5301
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList]
5302
+ attr_accessor :or_group
5303
+
5304
+ def initialize(**args)
5305
+ update!(**args)
5306
+ end
5307
+
5308
+ # Update properties of this object
5309
+ def update!(**args)
5310
+ @filter_condition = args[:filter_condition] if args.key?(:filter_condition)
5311
+ @not_expression = args[:not_expression] if args.key?(:not_expression)
5312
+ @or_group = args[:or_group] if args.key?(:or_group)
5313
+ end
5314
+ end
5315
+
5316
+ # A list of Subproperty event filter expressions.
5317
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList
5318
+ include Google::Apis::Core::Hashable
5319
+
5320
+ # Required. Unordered list. A list of Subproperty event filter expressions
5321
+ # Corresponds to the JSON property `filterExpressions`
5322
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression>]
5323
+ attr_accessor :filter_expressions
5324
+
5325
+ def initialize(**args)
5326
+ update!(**args)
5327
+ end
5328
+
5329
+ # Update properties of this object
5330
+ def update!(**args)
5331
+ @filter_expressions = args[:filter_expressions] if args.key?(:filter_expressions)
5332
+ end
5333
+ end
5334
+
5335
+ # Request message for UpdateAccessBinding RPC.
5336
+ class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest
5337
+ include Google::Apis::Core::Hashable
5338
+
5339
+ # A binding of a user to a set of roles.
5340
+ # Corresponds to the JSON property `accessBinding`
5341
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding]
5342
+ attr_accessor :access_binding
5343
+
5344
+ def initialize(**args)
5345
+ update!(**args)
5346
+ end
5347
+
5348
+ # Update properties of this object
5349
+ def update!(**args)
5350
+ @access_binding = args[:access_binding] if args.key?(:access_binding)
5327
5351
  end
5328
5352
  end
5329
5353