google-apis-analyticsadmin_v1alpha 0.44.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +330 -0
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +208 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +696 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7dbfc173e3af12d084481dadfde486f91260aead1fef1f73fdbc5f5fda4766c
|
4
|
+
data.tar.gz: d40bbd9f8f6f299edf6bf10cf50c520b259340acb8026fffa0dfcb725d8680bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b19de0f55a5d102d7ec8a78ac59ae8da5a27624ccc4bd2a593f04d1eaed3197e54431f99a30153eef75df37f90c071c298f801ef31d10ff235e15fc6c248752
|
7
|
+
data.tar.gz: b5f82b09f991c66cf589370e862ad104a303735e6196e1501118fa67d2b4299af54dd63d0a134b7ecd7e8e41690137288f718af07c133b815e8ed61aeed64cec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.46.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230203
|
6
|
+
|
7
|
+
### v0.45.0 (2023-02-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230131
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.44.0 (2022-12-07)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221205
|
@@ -47,6 +47,44 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
# A binding of a user to a set of roles.
|
51
|
+
class GoogleAnalyticsAdminV1alphaAccessBinding
|
52
|
+
include Google::Apis::Core::Hashable
|
53
|
+
|
54
|
+
# Output only. Resource name of this binding. Format: accounts/`account`/
|
55
|
+
# accessBindings/`access_binding` or properties/`property`/accessBindings/`
|
56
|
+
# access_binding` Example: "accounts/100/accessBindings/200"
|
57
|
+
# Corresponds to the JSON property `name`
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :name
|
60
|
+
|
61
|
+
# A list of roles for to grant to the parent resource. Valid values:
|
62
|
+
# predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor
|
63
|
+
# predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-
|
64
|
+
# data For users, if an empty list of roles is set, this AccessBinding will be
|
65
|
+
# deleted.
|
66
|
+
# Corresponds to the JSON property `roles`
|
67
|
+
# @return [Array<String>]
|
68
|
+
attr_accessor :roles
|
69
|
+
|
70
|
+
# If set, the email address of the user to set roles for. Format: "someuser@
|
71
|
+
# gmail.com"
|
72
|
+
# Corresponds to the JSON property `user`
|
73
|
+
# @return [String]
|
74
|
+
attr_accessor :user
|
75
|
+
|
76
|
+
def initialize(**args)
|
77
|
+
update!(**args)
|
78
|
+
end
|
79
|
+
|
80
|
+
# Update properties of this object
|
81
|
+
def update!(**args)
|
82
|
+
@name = args[:name] if args.key?(:name)
|
83
|
+
@roles = args[:roles] if args.key?(:roles)
|
84
|
+
@user = args[:user] if args.key?(:user)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
50
88
|
# A contiguous range of days: startDate, startDate + 1, ..., endDate.
|
51
89
|
class GoogleAnalyticsAdminV1alphaAccessDateRange
|
52
90
|
include Google::Apis::Core::Hashable
|
@@ -1438,6 +1476,45 @@ module Google
|
|
1438
1476
|
end
|
1439
1477
|
end
|
1440
1478
|
|
1479
|
+
# Request message for BatchCreateAccessBindings RPC.
|
1480
|
+
class GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest
|
1481
|
+
include Google::Apis::Core::Hashable
|
1482
|
+
|
1483
|
+
# Required. The requests specifying the access bindings to create. A maximum of
|
1484
|
+
# 1000 access bindings can be created in a batch.
|
1485
|
+
# Corresponds to the JSON property `requests`
|
1486
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest>]
|
1487
|
+
attr_accessor :requests
|
1488
|
+
|
1489
|
+
def initialize(**args)
|
1490
|
+
update!(**args)
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
# Update properties of this object
|
1494
|
+
def update!(**args)
|
1495
|
+
@requests = args[:requests] if args.key?(:requests)
|
1496
|
+
end
|
1497
|
+
end
|
1498
|
+
|
1499
|
+
# Response message for BatchCreateAccessBindings RPC.
|
1500
|
+
class GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse
|
1501
|
+
include Google::Apis::Core::Hashable
|
1502
|
+
|
1503
|
+
# The access bindings created.
|
1504
|
+
# Corresponds to the JSON property `accessBindings`
|
1505
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding>]
|
1506
|
+
attr_accessor :access_bindings
|
1507
|
+
|
1508
|
+
def initialize(**args)
|
1509
|
+
update!(**args)
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
# Update properties of this object
|
1513
|
+
def update!(**args)
|
1514
|
+
@access_bindings = args[:access_bindings] if args.key?(:access_bindings)
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1441
1518
|
# Request message for BatchCreateUserLinks RPC.
|
1442
1519
|
class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
|
1443
1520
|
include Google::Apis::Core::Hashable
|
@@ -1486,6 +1563,26 @@ module Google
|
|
1486
1563
|
end
|
1487
1564
|
end
|
1488
1565
|
|
1566
|
+
# Request message for BatchDeleteAccessBindings RPC.
|
1567
|
+
class GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest
|
1568
|
+
include Google::Apis::Core::Hashable
|
1569
|
+
|
1570
|
+
# Required. The requests specifying the access bindings to delete. A maximum of
|
1571
|
+
# 1000 access bindings can be deleted in a batch.
|
1572
|
+
# Corresponds to the JSON property `requests`
|
1573
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest>]
|
1574
|
+
attr_accessor :requests
|
1575
|
+
|
1576
|
+
def initialize(**args)
|
1577
|
+
update!(**args)
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
# Update properties of this object
|
1581
|
+
def update!(**args)
|
1582
|
+
@requests = args[:requests] if args.key?(:requests)
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1489
1586
|
# Request message for BatchDeleteUserLinks RPC.
|
1490
1587
|
class GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest
|
1491
1588
|
include Google::Apis::Core::Hashable
|
@@ -1506,6 +1603,25 @@ module Google
|
|
1506
1603
|
end
|
1507
1604
|
end
|
1508
1605
|
|
1606
|
+
# Response message for BatchGetAccessBindings RPC.
|
1607
|
+
class GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse
|
1608
|
+
include Google::Apis::Core::Hashable
|
1609
|
+
|
1610
|
+
# The requested access bindings.
|
1611
|
+
# Corresponds to the JSON property `accessBindings`
|
1612
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding>]
|
1613
|
+
attr_accessor :access_bindings
|
1614
|
+
|
1615
|
+
def initialize(**args)
|
1616
|
+
update!(**args)
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
# Update properties of this object
|
1620
|
+
def update!(**args)
|
1621
|
+
@access_bindings = args[:access_bindings] if args.key?(:access_bindings)
|
1622
|
+
end
|
1623
|
+
end
|
1624
|
+
|
1509
1625
|
# Response message for BatchGetUserLinks RPC.
|
1510
1626
|
class GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
|
1511
1627
|
include Google::Apis::Core::Hashable
|
@@ -1525,6 +1641,45 @@ module Google
|
|
1525
1641
|
end
|
1526
1642
|
end
|
1527
1643
|
|
1644
|
+
# Request message for BatchUpdateAccessBindings RPC.
|
1645
|
+
class GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest
|
1646
|
+
include Google::Apis::Core::Hashable
|
1647
|
+
|
1648
|
+
# Required. The requests specifying the access bindings to update. A maximum of
|
1649
|
+
# 1000 access bindings can be updated in a batch.
|
1650
|
+
# Corresponds to the JSON property `requests`
|
1651
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest>]
|
1652
|
+
attr_accessor :requests
|
1653
|
+
|
1654
|
+
def initialize(**args)
|
1655
|
+
update!(**args)
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
# Update properties of this object
|
1659
|
+
def update!(**args)
|
1660
|
+
@requests = args[:requests] if args.key?(:requests)
|
1661
|
+
end
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
# Response message for BatchUpdateAccessBindings RPC.
|
1665
|
+
class GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse
|
1666
|
+
include Google::Apis::Core::Hashable
|
1667
|
+
|
1668
|
+
# The access bindings updated.
|
1669
|
+
# Corresponds to the JSON property `accessBindings`
|
1670
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding>]
|
1671
|
+
attr_accessor :access_bindings
|
1672
|
+
|
1673
|
+
def initialize(**args)
|
1674
|
+
update!(**args)
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
# Update properties of this object
|
1678
|
+
def update!(**args)
|
1679
|
+
@access_bindings = args[:access_bindings] if args.key?(:access_bindings)
|
1680
|
+
end
|
1681
|
+
end
|
1682
|
+
|
1528
1683
|
# Request message for BatchUpdateUserLinks RPC.
|
1529
1684
|
class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest
|
1530
1685
|
include Google::Apis::Core::Hashable
|
@@ -1919,6 +2074,31 @@ module Google
|
|
1919
2074
|
end
|
1920
2075
|
end
|
1921
2076
|
|
2077
|
+
# Request message for CreateAccessBinding RPC.
|
2078
|
+
class GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest
|
2079
|
+
include Google::Apis::Core::Hashable
|
2080
|
+
|
2081
|
+
# A binding of a user to a set of roles.
|
2082
|
+
# Corresponds to the JSON property `accessBinding`
|
2083
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding]
|
2084
|
+
attr_accessor :access_binding
|
2085
|
+
|
2086
|
+
# Required. Formats: - accounts/`account` - properties/`property`
|
2087
|
+
# Corresponds to the JSON property `parent`
|
2088
|
+
# @return [String]
|
2089
|
+
attr_accessor :parent
|
2090
|
+
|
2091
|
+
def initialize(**args)
|
2092
|
+
update!(**args)
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
# Update properties of this object
|
2096
|
+
def update!(**args)
|
2097
|
+
@access_binding = args[:access_binding] if args.key?(:access_binding)
|
2098
|
+
@parent = args[:parent] if args.key?(:parent)
|
2099
|
+
end
|
2100
|
+
end
|
2101
|
+
|
1922
2102
|
# Request message for CreateUserLink RPC. Users can have multiple email
|
1923
2103
|
# addresses associated with their Google account, and one of these email
|
1924
2104
|
# addresses is the "primary" email address. Any of the email addresses
|
@@ -2328,6 +2508,26 @@ module Google
|
|
2328
2508
|
end
|
2329
2509
|
end
|
2330
2510
|
|
2511
|
+
# Request message for DeleteAccessBinding RPC.
|
2512
|
+
class GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest
|
2513
|
+
include Google::Apis::Core::Hashable
|
2514
|
+
|
2515
|
+
# Required. Formats: - accounts/`account`/accessBindings/`accessBinding` -
|
2516
|
+
# properties/`property`/accessBindings/`accessBinding`
|
2517
|
+
# Corresponds to the JSON property `name`
|
2518
|
+
# @return [String]
|
2519
|
+
attr_accessor :name
|
2520
|
+
|
2521
|
+
def initialize(**args)
|
2522
|
+
update!(**args)
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# Update properties of this object
|
2526
|
+
def update!(**args)
|
2527
|
+
@name = args[:name] if args.key?(:name)
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
|
2331
2531
|
# Request message for DeleteUserLink RPC.
|
2332
2532
|
class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
|
2333
2533
|
include Google::Apis::Core::Hashable
|
@@ -2692,6 +2892,48 @@ module Google
|
|
2692
2892
|
end
|
2693
2893
|
end
|
2694
2894
|
|
2895
|
+
# Request for fetching the opt out status for the automated GA4 setup process.
|
2896
|
+
class GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest
|
2897
|
+
include Google::Apis::Core::Hashable
|
2898
|
+
|
2899
|
+
# Required. The UA property to get the opt out status. Note this request uses
|
2900
|
+
# the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format:
|
2901
|
+
# properties/`internalWebPropertyId` Example: properties/1234
|
2902
|
+
# Corresponds to the JSON property `property`
|
2903
|
+
# @return [String]
|
2904
|
+
attr_accessor :property
|
2905
|
+
|
2906
|
+
def initialize(**args)
|
2907
|
+
update!(**args)
|
2908
|
+
end
|
2909
|
+
|
2910
|
+
# Update properties of this object
|
2911
|
+
def update!(**args)
|
2912
|
+
@property = args[:property] if args.key?(:property)
|
2913
|
+
end
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
# Response message for fetching the opt out status for the automated GA4 setup
|
2917
|
+
# process.
|
2918
|
+
class GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse
|
2919
|
+
include Google::Apis::Core::Hashable
|
2920
|
+
|
2921
|
+
# The opt out status for the UA property.
|
2922
|
+
# Corresponds to the JSON property `optOut`
|
2923
|
+
# @return [Boolean]
|
2924
|
+
attr_accessor :opt_out
|
2925
|
+
alias_method :opt_out?, :opt_out
|
2926
|
+
|
2927
|
+
def initialize(**args)
|
2928
|
+
update!(**args)
|
2929
|
+
end
|
2930
|
+
|
2931
|
+
# Update properties of this object
|
2932
|
+
def update!(**args)
|
2933
|
+
@opt_out = args[:opt_out] if args.key?(:opt_out)
|
2934
|
+
end
|
2935
|
+
end
|
2936
|
+
|
2695
2937
|
# A link between a GA4 property and a Firebase project.
|
2696
2938
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
2697
2939
|
include Google::Apis::Core::Hashable
|
@@ -2881,6 +3123,33 @@ module Google
|
|
2881
3123
|
end
|
2882
3124
|
end
|
2883
3125
|
|
3126
|
+
# Response message for ListAccessBindings RPC.
|
3127
|
+
class GoogleAnalyticsAdminV1alphaListAccessBindingsResponse
|
3128
|
+
include Google::Apis::Core::Hashable
|
3129
|
+
|
3130
|
+
# List of AccessBindings. These will be ordered stably, but in an arbitrary
|
3131
|
+
# order.
|
3132
|
+
# Corresponds to the JSON property `accessBindings`
|
3133
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding>]
|
3134
|
+
attr_accessor :access_bindings
|
3135
|
+
|
3136
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
3137
|
+
# field is omitted, there are no subsequent pages.
|
3138
|
+
# Corresponds to the JSON property `nextPageToken`
|
3139
|
+
# @return [String]
|
3140
|
+
attr_accessor :next_page_token
|
3141
|
+
|
3142
|
+
def initialize(**args)
|
3143
|
+
update!(**args)
|
3144
|
+
end
|
3145
|
+
|
3146
|
+
# Update properties of this object
|
3147
|
+
def update!(**args)
|
3148
|
+
@access_bindings = args[:access_bindings] if args.key?(:access_bindings)
|
3149
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3150
|
+
end
|
3151
|
+
end
|
3152
|
+
|
2884
3153
|
# Response message for ListAccountSummaries RPC.
|
2885
3154
|
class GoogleAnalyticsAdminV1alphaListAccountSummariesResponse
|
2886
3155
|
include Google::Apis::Core::Hashable
|
@@ -3870,6 +4139,67 @@ module Google
|
|
3870
4139
|
end
|
3871
4140
|
end
|
3872
4141
|
|
4142
|
+
# Request for setting the opt out status for the automated GA4 setup process.
|
4143
|
+
class GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest
|
4144
|
+
include Google::Apis::Core::Hashable
|
4145
|
+
|
4146
|
+
# The status to set.
|
4147
|
+
# Corresponds to the JSON property `optOut`
|
4148
|
+
# @return [Boolean]
|
4149
|
+
attr_accessor :opt_out
|
4150
|
+
alias_method :opt_out?, :opt_out
|
4151
|
+
|
4152
|
+
# Required. The UA property to set the opt out status. Note this request uses
|
4153
|
+
# the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format:
|
4154
|
+
# properties/`internalWebPropertyId` Example: properties/1234
|
4155
|
+
# Corresponds to the JSON property `property`
|
4156
|
+
# @return [String]
|
4157
|
+
attr_accessor :property
|
4158
|
+
|
4159
|
+
def initialize(**args)
|
4160
|
+
update!(**args)
|
4161
|
+
end
|
4162
|
+
|
4163
|
+
# Update properties of this object
|
4164
|
+
def update!(**args)
|
4165
|
+
@opt_out = args[:opt_out] if args.key?(:opt_out)
|
4166
|
+
@property = args[:property] if args.key?(:property)
|
4167
|
+
end
|
4168
|
+
end
|
4169
|
+
|
4170
|
+
# Response message for setting the opt out status for the automated GA4 setup
|
4171
|
+
# process.
|
4172
|
+
class GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse
|
4173
|
+
include Google::Apis::Core::Hashable
|
4174
|
+
|
4175
|
+
def initialize(**args)
|
4176
|
+
update!(**args)
|
4177
|
+
end
|
4178
|
+
|
4179
|
+
# Update properties of this object
|
4180
|
+
def update!(**args)
|
4181
|
+
end
|
4182
|
+
end
|
4183
|
+
|
4184
|
+
# Request message for UpdateAccessBinding RPC.
|
4185
|
+
class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest
|
4186
|
+
include Google::Apis::Core::Hashable
|
4187
|
+
|
4188
|
+
# A binding of a user to a set of roles.
|
4189
|
+
# Corresponds to the JSON property `accessBinding`
|
4190
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessBinding]
|
4191
|
+
attr_accessor :access_binding
|
4192
|
+
|
4193
|
+
def initialize(**args)
|
4194
|
+
update!(**args)
|
4195
|
+
end
|
4196
|
+
|
4197
|
+
# Update properties of this object
|
4198
|
+
def update!(**args)
|
4199
|
+
@access_binding = args[:access_binding] if args.key?(:access_binding)
|
4200
|
+
end
|
4201
|
+
end
|
4202
|
+
|
3873
4203
|
# Request message for UpdateUserLink RPC.
|
3874
4204
|
class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
|
3875
4205
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticsadminV1alpha
|
18
18
|
# Version of the google-apis-analyticsadmin_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.46.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|