google-apis-analyticsadmin_v1alpha 0.63.0 → 0.64.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
@@ -2502,32 +2279,76 @@ module Google
2502
2279
  end
2503
2280
  end
2504
2281
 
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
2282
+ # Request message for CreateRollupProperty RPC.
2283
+ class GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest
2512
2284
  include Google::Apis::Core::Hashable
2513
2285
 
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
2286
+ # A resource message representing a Google Analytics GA4 property.
2287
+ # Corresponds to the JSON property `rollupProperty`
2288
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2289
+ attr_accessor :rollup_property
2290
+
2291
+ # Optional. The resource names of properties that will be sources to the created
2292
+ # roll-up property.
2293
+ # Corresponds to the JSON property `sourceProperties`
2294
+ # @return [Array<String>]
2295
+ attr_accessor :source_properties
2296
+
2297
+ def initialize(**args)
2298
+ update!(**args)
2299
+ end
2300
+
2301
+ # Update properties of this object
2302
+ def update!(**args)
2303
+ @rollup_property = args[:rollup_property] if args.key?(:rollup_property)
2304
+ @source_properties = args[:source_properties] if args.key?(:source_properties)
2305
+ end
2306
+ end
2307
+
2308
+ # Response message for CreateRollupProperty RPC.
2309
+ class GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse
2310
+ include Google::Apis::Core::Hashable
2311
+
2312
+ # A resource message representing a Google Analytics GA4 property.
2313
+ # Corresponds to the JSON property `rollupProperty`
2314
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2315
+ attr_accessor :rollup_property
2316
+
2317
+ # The created roll-up property source links.
2318
+ # Corresponds to the JSON property `rollupPropertySourceLinks`
2319
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink>]
2320
+ attr_accessor :rollup_property_source_links
2321
+
2322
+ def initialize(**args)
2323
+ update!(**args)
2324
+ end
2325
+
2326
+ # Update properties of this object
2327
+ def update!(**args)
2328
+ @rollup_property = args[:rollup_property] if args.key?(:rollup_property)
2329
+ @rollup_property_source_links = args[:rollup_property_source_links] if args.key?(:rollup_property_source_links)
2330
+ end
2331
+ end
2520
2332
 
2521
- # Required. Example format: accounts/1234
2333
+ # Request message for CreateSubproperty RPC.
2334
+ class GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest
2335
+ include Google::Apis::Core::Hashable
2336
+
2337
+ # Required. The ordinary property for which to create a subproperty. Format:
2338
+ # properties/property_id Example: properties/123
2522
2339
  # Corresponds to the JSON property `parent`
2523
2340
  # @return [String]
2524
2341
  attr_accessor :parent
2525
2342
 
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
2343
+ # A resource message representing a Google Analytics GA4 property.
2344
+ # Corresponds to the JSON property `subproperty`
2345
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2346
+ attr_accessor :subproperty
2347
+
2348
+ # A resource message representing a GA4 Subproperty event filter.
2349
+ # Corresponds to the JSON property `subpropertyEventFilter`
2350
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
2351
+ attr_accessor :subproperty_event_filter
2531
2352
 
2532
2353
  def initialize(**args)
2533
2354
  update!(**args)
@@ -2535,9 +2356,34 @@ module Google
2535
2356
 
2536
2357
  # Update properties of this object
2537
2358
  def update!(**args)
2538
- @notify_new_user = args[:notify_new_user] if args.key?(:notify_new_user)
2539
2359
  @parent = args[:parent] if args.key?(:parent)
2540
- @user_link = args[:user_link] if args.key?(:user_link)
2360
+ @subproperty = args[:subproperty] if args.key?(:subproperty)
2361
+ @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
2362
+ end
2363
+ end
2364
+
2365
+ # Response message for CreateSubproperty RPC.
2366
+ class GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse
2367
+ include Google::Apis::Core::Hashable
2368
+
2369
+ # A resource message representing a Google Analytics GA4 property.
2370
+ # Corresponds to the JSON property `subproperty`
2371
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
2372
+ attr_accessor :subproperty
2373
+
2374
+ # A resource message representing a GA4 Subproperty event filter.
2375
+ # Corresponds to the JSON property `subpropertyEventFilter`
2376
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]
2377
+ attr_accessor :subproperty_event_filter
2378
+
2379
+ def initialize(**args)
2380
+ update!(**args)
2381
+ end
2382
+
2383
+ # Update properties of this object
2384
+ def update!(**args)
2385
+ @subproperty = args[:subproperty] if args.key?(:subproperty)
2386
+ @subproperty_event_filter = args[:subproperty_event_filter] if args.key?(:subproperty_event_filter)
2541
2387
  end
2542
2388
  end
2543
2389
 
@@ -3007,25 +2853,6 @@ module Google
3007
2853
  end
3008
2854
  end
3009
2855
 
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
2856
  # A link between a GA4 property and a Display & Video 360 advertiser.
3030
2857
  class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink
3031
2858
  include Google::Apis::Core::Hashable
@@ -4395,6 +4222,32 @@ module Google
4395
4222
  end
4396
4223
  end
4397
4224
 
4225
+ # Response message for ListRollupPropertySourceLinks RPC.
4226
+ class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse
4227
+ include Google::Apis::Core::Hashable
4228
+
4229
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4230
+ # field is omitted, there are no subsequent pages.
4231
+ # Corresponds to the JSON property `nextPageToken`
4232
+ # @return [String]
4233
+ attr_accessor :next_page_token
4234
+
4235
+ # List of RollupPropertySourceLinks.
4236
+ # Corresponds to the JSON property `rollupPropertySourceLinks`
4237
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRollupPropertySourceLink>]
4238
+ attr_accessor :rollup_property_source_links
4239
+
4240
+ def initialize(**args)
4241
+ update!(**args)
4242
+ end
4243
+
4244
+ # Update properties of this object
4245
+ def update!(**args)
4246
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4247
+ @rollup_property_source_links = args[:rollup_property_source_links] if args.key?(:rollup_property_source_links)
4248
+ end
4249
+ end
4250
+
4398
4251
  # Response message for ListSKAdNetworkConversionValueSchemas RPC
4399
4252
  class GoogleAnalyticsAdminV1alphaListSkAdNetworkConversionValueSchemasResponse
4400
4253
  include Google::Apis::Core::Hashable
@@ -4449,8 +4302,8 @@ module Google
4449
4302
  end
4450
4303
  end
4451
4304
 
4452
- # Response message for ListUserLinks RPC.
4453
- class GoogleAnalyticsAdminV1alphaListUserLinksResponse
4305
+ # Response message for ListSubpropertyEventFilter RPC.
4306
+ class GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse
4454
4307
  include Google::Apis::Core::Hashable
4455
4308
 
4456
4309
  # A token, which can be sent as `page_token` to retrieve the next page. If this
@@ -4459,10 +4312,10 @@ module Google
4459
4312
  # @return [String]
4460
4313
  attr_accessor :next_page_token
4461
4314
 
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
4315
+ # List of subproperty event filters.
4316
+ # Corresponds to the JSON property `subpropertyEventFilters`
4317
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilter>]
4318
+ attr_accessor :subproperty_event_filters
4466
4319
 
4467
4320
  def initialize(**args)
4468
4321
  update!(**args)
@@ -4471,7 +4324,7 @@ module Google
4471
4324
  # Update properties of this object
4472
4325
  def update!(**args)
4473
4326
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4474
- @user_links = args[:user_links] if args.key?(:user_links)
4327
+ @subproperty_event_filters = args[:subproperty_event_filters] if args.key?(:subproperty_event_filters)
4475
4328
  end
4476
4329
  end
4477
4330
 
@@ -4706,8 +4559,7 @@ module Google
4706
4559
 
4707
4560
  # Immutable. The property type for this Property resource. When creating a
4708
4561
  # 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.
4562
+ # will be implied.
4711
4563
  # Corresponds to the JSON property `propertyType`
4712
4564
  # @return [String]
4713
4565
  attr_accessor :property_type
@@ -4838,6 +4690,35 @@ module Google
4838
4690
  end
4839
4691
  end
4840
4692
 
4693
+ # A link that references a source property under the parent rollup property.
4694
+ class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink
4695
+ include Google::Apis::Core::Hashable
4696
+
4697
+ # Output only. Resource name of this RollupPropertySourceLink. Format: '
4698
+ # properties/`property_id`/rollupPropertySourceLinks/`
4699
+ # rollup_property_source_link`' Format: 'properties/123/
4700
+ # rollupPropertySourceLinks/456'
4701
+ # Corresponds to the JSON property `name`
4702
+ # @return [String]
4703
+ attr_accessor :name
4704
+
4705
+ # Immutable. Resource name of the source property. Format: properties/`
4706
+ # property_id` Example: "properties/789"
4707
+ # Corresponds to the JSON property `sourceProperty`
4708
+ # @return [String]
4709
+ attr_accessor :source_property
4710
+
4711
+ def initialize(**args)
4712
+ update!(**args)
4713
+ end
4714
+
4715
+ # Update properties of this object
4716
+ def update!(**args)
4717
+ @name = args[:name] if args.key?(:name)
4718
+ @source_property = args[:source_property] if args.key?(:source_property)
4719
+ end
4720
+ end
4721
+
4841
4722
  # The request for a Data Access Record Report.
4842
4723
  class GoogleAnalyticsAdminV1alphaRunAccessReportRequest
4843
4724
  include Google::Apis::Core::Hashable
@@ -4862,6 +4743,25 @@ module Google
4862
4743
  # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension>]
4863
4744
  attr_accessor :dimensions
4864
4745
 
4746
+ # Optional. Decides whether to return the users within user groups. This field
4747
+ # works only when include_all_users is set to true. If true, it will return all
4748
+ # users with access to the specified property or account. If false, only the
4749
+ # users with direct access will be returned.
4750
+ # Corresponds to the JSON property `expandGroups`
4751
+ # @return [Boolean]
4752
+ attr_accessor :expand_groups
4753
+ alias_method :expand_groups?, :expand_groups
4754
+
4755
+ # Optional. Determines whether to include users who have never made an API call
4756
+ # in the response. If true, all users with access to the specified property or
4757
+ # account are included in the response, regardless of whether they have made an
4758
+ # API call or not. If false, only the users who have made an API call will be
4759
+ # included.
4760
+ # Corresponds to the JSON property `includeAllUsers`
4761
+ # @return [Boolean]
4762
+ attr_accessor :include_all_users
4763
+ alias_method :include_all_users?, :include_all_users
4764
+
4865
4765
  # The number of rows to return. If unspecified, 10,000 rows are returned. The
4866
4766
  # API returns a maximum of 100,000 rows per request, no matter how many you ask
4867
4767
  # for. `limit` must be positive. The API may return fewer rows than the
@@ -4927,6 +4827,8 @@ module Google
4927
4827
  @date_ranges = args[:date_ranges] if args.key?(:date_ranges)
4928
4828
  @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
4929
4829
  @dimensions = args[:dimensions] if args.key?(:dimensions)
4830
+ @expand_groups = args[:expand_groups] if args.key?(:expand_groups)
4831
+ @include_all_users = args[:include_all_users] if args.key?(:include_all_users)
4930
4832
  @limit = args[:limit] if args.key?(:limit)
4931
4833
  @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
4932
4834
  @metrics = args[:metrics] if args.key?(:metrics)
@@ -5251,14 +5153,28 @@ module Google
5251
5153
  end
5252
5154
  end
5253
5155
 
5254
- # Request message for UpdateAccessBinding RPC.
5255
- class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest
5156
+ # A resource message representing a GA4 Subproperty event filter.
5157
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter
5256
5158
  include Google::Apis::Core::Hashable
5257
5159
 
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
5160
+ # Immutable. Resource name of the Subproperty that uses this filter.
5161
+ # Corresponds to the JSON property `applyToProperty`
5162
+ # @return [String]
5163
+ attr_accessor :apply_to_property
5164
+
5165
+ # Required. Unordered list. Filter clauses that define the
5166
+ # SubpropertyEventFilter. All clauses are AND'ed together to determine what data
5167
+ # is sent to the subproperty.
5168
+ # Corresponds to the JSON property `filterClauses`
5169
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause>]
5170
+ attr_accessor :filter_clauses
5171
+
5172
+ # Output only. Format: properties/`ordinary_property_id`/subpropertyEventFilters/
5173
+ # `sub_property_event_filter` Example: properties/1234/subpropertyEventFilters/
5174
+ # 5678
5175
+ # Corresponds to the JSON property `name`
5176
+ # @return [String]
5177
+ attr_accessor :name
5262
5178
 
5263
5179
  def initialize(**args)
5264
5180
  update!(**args)
@@ -5266,19 +5182,27 @@ module Google
5266
5182
 
5267
5183
  # Update properties of this object
5268
5184
  def update!(**args)
5269
- @access_binding = args[:access_binding] if args.key?(:access_binding)
5185
+ @apply_to_property = args[:apply_to_property] if args.key?(:apply_to_property)
5186
+ @filter_clauses = args[:filter_clauses] if args.key?(:filter_clauses)
5187
+ @name = args[:name] if args.key?(:name)
5270
5188
  end
5271
5189
  end
5272
5190
 
5273
- # Request message for UpdateUserLink RPC.
5274
- class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
5191
+ # A clause for defining a filter. A filter may be inclusive (events satisfying
5192
+ # the filter clause are included in the subproperty's data) or exclusive (events
5193
+ # satisfying the filter clause are excluded from the subproperty's data).
5194
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause
5275
5195
  include Google::Apis::Core::Hashable
5276
5196
 
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
5197
+ # Required. The type for the filter clause.
5198
+ # Corresponds to the JSON property `filterClauseType`
5199
+ # @return [String]
5200
+ attr_accessor :filter_clause_type
5201
+
5202
+ # A logical expression of Subproperty event filters.
5203
+ # Corresponds to the JSON property `filterExpression`
5204
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression]
5205
+ attr_accessor :filter_expression
5282
5206
 
5283
5207
  def initialize(**args)
5284
5208
  update!(**args)
@@ -5286,34 +5210,63 @@ module Google
5286
5210
 
5287
5211
  # Update properties of this object
5288
5212
  def update!(**args)
5289
- @user_link = args[:user_link] if args.key?(:user_link)
5213
+ @filter_clause_type = args[:filter_clause_type] if args.key?(:filter_clause_type)
5214
+ @filter_expression = args[:filter_expression] if args.key?(:filter_expression)
5290
5215
  end
5291
5216
  end
5292
5217
 
5293
- # A resource message representing a user's permissions on an Account or Property
5294
- # resource.
5295
- class GoogleAnalyticsAdminV1alphaUserLink
5218
+ # A specific filter expression
5219
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition
5296
5220
  include Google::Apis::Core::Hashable
5297
5221
 
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
5222
+ # Required. The field that is being filtered.
5223
+ # Corresponds to the JSON property `fieldName`
5224
+ # @return [String]
5225
+ attr_accessor :field_name
5226
+
5227
+ # A filter for null values.
5228
+ # Corresponds to the JSON property `nullFilter`
5229
+ # @return [Boolean]
5230
+ attr_accessor :null_filter
5231
+ alias_method :null_filter?, :null_filter
5232
+
5233
+ # A filter for a string-type dimension that matches a particular pattern.
5234
+ # Corresponds to the JSON property `stringFilter`
5235
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter]
5236
+ attr_accessor :string_filter
5237
+
5238
+ def initialize(**args)
5239
+ update!(**args)
5240
+ end
5241
+
5242
+ # Update properties of this object
5243
+ def update!(**args)
5244
+ @field_name = args[:field_name] if args.key?(:field_name)
5245
+ @null_filter = args[:null_filter] if args.key?(:null_filter)
5246
+ @string_filter = args[:string_filter] if args.key?(:string_filter)
5247
+ end
5248
+ end
5249
+
5250
+ # A filter for a string-type dimension that matches a particular pattern.
5251
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter
5252
+ include Google::Apis::Core::Hashable
5253
+
5254
+ # Optional. If true, the string value is case sensitive. If false, the match is
5255
+ # case-insensitive.
5256
+ # Corresponds to the JSON property `caseSensitive`
5257
+ # @return [Boolean]
5258
+ attr_accessor :case_sensitive
5259
+ alias_method :case_sensitive?, :case_sensitive
5307
5260
 
5308
- # Immutable. Email address of the user to link
5309
- # Corresponds to the JSON property `emailAddress`
5261
+ # Required. The match type for the string filter.
5262
+ # Corresponds to the JSON property `matchType`
5310
5263
  # @return [String]
5311
- attr_accessor :email_address
5264
+ attr_accessor :match_type
5312
5265
 
5313
- # Output only. Example format: properties/1234/userLinks/5678
5314
- # Corresponds to the JSON property `name`
5266
+ # Required. The string value used for the matching.
5267
+ # Corresponds to the JSON property `value`
5315
5268
  # @return [String]
5316
- attr_accessor :name
5269
+ attr_accessor :value
5317
5270
 
5318
5271
  def initialize(**args)
5319
5272
  update!(**args)
@@ -5321,9 +5274,78 @@ module Google
5321
5274
 
5322
5275
  # Update properties of this object
5323
5276
  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)
5277
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
5278
+ @match_type = args[:match_type] if args.key?(:match_type)
5279
+ @value = args[:value] if args.key?(:value)
5280
+ end
5281
+ end
5282
+
5283
+ # A logical expression of Subproperty event filters.
5284
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression
5285
+ include Google::Apis::Core::Hashable
5286
+
5287
+ # A specific filter expression
5288
+ # Corresponds to the JSON property `filterCondition`
5289
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition]
5290
+ attr_accessor :filter_condition
5291
+
5292
+ # A logical expression of Subproperty event filters.
5293
+ # Corresponds to the JSON property `notExpression`
5294
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression]
5295
+ attr_accessor :not_expression
5296
+
5297
+ # A list of Subproperty event filter expressions.
5298
+ # Corresponds to the JSON property `orGroup`
5299
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList]
5300
+ attr_accessor :or_group
5301
+
5302
+ def initialize(**args)
5303
+ update!(**args)
5304
+ end
5305
+
5306
+ # Update properties of this object
5307
+ def update!(**args)
5308
+ @filter_condition = args[:filter_condition] if args.key?(:filter_condition)
5309
+ @not_expression = args[:not_expression] if args.key?(:not_expression)
5310
+ @or_group = args[:or_group] if args.key?(:or_group)
5311
+ end
5312
+ end
5313
+
5314
+ # A list of Subproperty event filter expressions.
5315
+ class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList
5316
+ include Google::Apis::Core::Hashable
5317
+
5318
+ # Required. Unordered list. A list of Subproperty event filter expressions
5319
+ # Corresponds to the JSON property `filterExpressions`
5320
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression>]
5321
+ attr_accessor :filter_expressions
5322
+
5323
+ def initialize(**args)
5324
+ update!(**args)
5325
+ end
5326
+
5327
+ # Update properties of this object
5328
+ def update!(**args)
5329
+ @filter_expressions = args[:filter_expressions] if args.key?(:filter_expressions)
5330
+ end
5331
+ end
5332
+
5333
+ # Request message for UpdateAccessBinding RPC.
5334
+ class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest
5335
+ include Google::Apis::Core::Hashable
5336
+
5337
+ # A binding of a user to a set of roles.
5338
+ # Corresponds to the JSON property `accessBinding`
5339
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding]
5340
+ attr_accessor :access_binding
5341
+
5342
+ def initialize(**args)
5343
+ update!(**args)
5344
+ end
5345
+
5346
+ # Update properties of this object
5347
+ def update!(**args)
5348
+ @access_binding = args[:access_binding] if args.key?(:access_binding)
5327
5349
  end
5328
5350
  end
5329
5351