google-analytics-admin-v1alpha 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/analytics/admin/v1alpha/analytics_admin_pb.rb +90 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/client.rb +1614 -274
- data/lib/google/analytics/admin/v1alpha/analytics_admin_service/paths.rb +56 -0
- data/lib/google/analytics/admin/v1alpha/analytics_admin_services_pb.rb +35 -1
- data/lib/google/analytics/admin/v1alpha/resources_pb.rb +8 -0
- data/lib/google/analytics/admin/v1alpha/version.rb +1 -1
- data/proto_docs/google/analytics/admin/v1alpha/analytics_admin.rb +268 -4
- data/proto_docs/google/analytics/admin/v1alpha/resources.rb +33 -0
- metadata +6 -6
@@ -24,6 +24,45 @@ module Google
|
|
24
24
|
module AnalyticsAdminService
|
25
25
|
# Path helper methods for the AnalyticsAdminService API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified AccessBinding resource string.
|
29
|
+
#
|
30
|
+
# @overload access_binding_path(account:, access_binding:)
|
31
|
+
# The resource will be in the following format:
|
32
|
+
#
|
33
|
+
# `accounts/{account}/accessBindings/{access_binding}`
|
34
|
+
#
|
35
|
+
# @param account [String]
|
36
|
+
# @param access_binding [String]
|
37
|
+
#
|
38
|
+
# @overload access_binding_path(property:, access_binding:)
|
39
|
+
# The resource will be in the following format:
|
40
|
+
#
|
41
|
+
# `properties/{property}/accessBindings/{access_binding}`
|
42
|
+
#
|
43
|
+
# @param property [String]
|
44
|
+
# @param access_binding [String]
|
45
|
+
#
|
46
|
+
# @return [::String]
|
47
|
+
def access_binding_path **args
|
48
|
+
resources = {
|
49
|
+
"access_binding:account" => (proc do |account:, access_binding:|
|
50
|
+
raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
|
51
|
+
|
52
|
+
"accounts/#{account}/accessBindings/#{access_binding}"
|
53
|
+
end),
|
54
|
+
"access_binding:property" => (proc do |property:, access_binding:|
|
55
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
56
|
+
|
57
|
+
"properties/#{property}/accessBindings/#{access_binding}"
|
58
|
+
end)
|
59
|
+
}
|
60
|
+
|
61
|
+
resource = resources[args.keys.sort.join(":")]
|
62
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
63
|
+
resource.call(**args)
|
64
|
+
end
|
65
|
+
|
27
66
|
##
|
28
67
|
# Create a fully-qualified Account resource string.
|
29
68
|
#
|
@@ -216,6 +255,23 @@ module Google
|
|
216
255
|
"properties/#{property}/displayVideo360AdvertiserLinkProposals/#{display_video_360_advertiser_link_proposal}"
|
217
256
|
end
|
218
257
|
|
258
|
+
##
|
259
|
+
# Create a fully-qualified ExpandedDataSet resource string.
|
260
|
+
#
|
261
|
+
# The resource will be in the following format:
|
262
|
+
#
|
263
|
+
# `properties/{property}/expandedDataSets/{expanded_data_set}`
|
264
|
+
#
|
265
|
+
# @param property [String]
|
266
|
+
# @param expanded_data_set [String]
|
267
|
+
#
|
268
|
+
# @return [::String]
|
269
|
+
def expanded_data_set_path property:, expanded_data_set:
|
270
|
+
raise ::ArgumentError, "property cannot contain /" if property.to_s.include? "/"
|
271
|
+
|
272
|
+
"properties/#{property}/expandedDataSets/#{expanded_data_set}"
|
273
|
+
end
|
274
|
+
|
219
275
|
##
|
220
276
|
# Create a fully-qualified FirebaseLink resource string.
|
221
277
|
#
|
@@ -156,7 +156,8 @@ module Google
|
|
156
156
|
# Acknowledges the terms of user data collection for the specified property.
|
157
157
|
#
|
158
158
|
# This acknowledgement must be completed (either in the Google Analytics UI
|
159
|
-
# or
|
159
|
+
# or through this API) before MeasurementProtocolSecret resources may be
|
160
|
+
# created.
|
160
161
|
rpc :AcknowledgeUserDataCollection, ::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionRequest, ::Google::Analytics::Admin::V1alpha::AcknowledgeUserDataCollectionResponse
|
161
162
|
# Searches through all changes to an account or its children given the
|
162
163
|
# specified set of filters.
|
@@ -284,6 +285,39 @@ module Google
|
|
284
285
|
# property's time zone. For configuration change history, see
|
285
286
|
# [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
|
286
287
|
rpc :RunAccessReport, ::Google::Analytics::Admin::V1alpha::RunAccessReportRequest, ::Google::Analytics::Admin::V1alpha::RunAccessReportResponse
|
288
|
+
# Creates an access binding on an account or property.
|
289
|
+
rpc :CreateAccessBinding, ::Google::Analytics::Admin::V1alpha::CreateAccessBindingRequest, ::Google::Analytics::Admin::V1alpha::AccessBinding
|
290
|
+
# Gets information about an access binding.
|
291
|
+
rpc :GetAccessBinding, ::Google::Analytics::Admin::V1alpha::GetAccessBindingRequest, ::Google::Analytics::Admin::V1alpha::AccessBinding
|
292
|
+
# Updates an access binding on an account or property.
|
293
|
+
rpc :UpdateAccessBinding, ::Google::Analytics::Admin::V1alpha::UpdateAccessBindingRequest, ::Google::Analytics::Admin::V1alpha::AccessBinding
|
294
|
+
# Deletes an access binding on an account or property.
|
295
|
+
rpc :DeleteAccessBinding, ::Google::Analytics::Admin::V1alpha::DeleteAccessBindingRequest, ::Google::Protobuf::Empty
|
296
|
+
# Lists all access bindings on an account or property.
|
297
|
+
rpc :ListAccessBindings, ::Google::Analytics::Admin::V1alpha::ListAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::ListAccessBindingsResponse
|
298
|
+
# Creates information about multiple access bindings to an account or
|
299
|
+
# property.
|
300
|
+
#
|
301
|
+
# This method is transactional. If any AccessBinding cannot be created, none
|
302
|
+
# of the AccessBindings will be created.
|
303
|
+
rpc :BatchCreateAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::BatchCreateAccessBindingsResponse
|
304
|
+
# Gets information about multiple access bindings to an account or property.
|
305
|
+
rpc :BatchGetAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::BatchGetAccessBindingsResponse
|
306
|
+
# Updates information about multiple access bindings to an account or
|
307
|
+
# property.
|
308
|
+
rpc :BatchUpdateAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsRequest, ::Google::Analytics::Admin::V1alpha::BatchUpdateAccessBindingsResponse
|
309
|
+
# Deletes information about multiple users' links to an account or property.
|
310
|
+
rpc :BatchDeleteAccessBindings, ::Google::Analytics::Admin::V1alpha::BatchDeleteAccessBindingsRequest, ::Google::Protobuf::Empty
|
311
|
+
# Lookup for a single ExpandedDataSet.
|
312
|
+
rpc :GetExpandedDataSet, ::Google::Analytics::Admin::V1alpha::GetExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
|
313
|
+
# Lists ExpandedDataSets on a property.
|
314
|
+
rpc :ListExpandedDataSets, ::Google::Analytics::Admin::V1alpha::ListExpandedDataSetsRequest, ::Google::Analytics::Admin::V1alpha::ListExpandedDataSetsResponse
|
315
|
+
# Creates a ExpandedDataSet.
|
316
|
+
rpc :CreateExpandedDataSet, ::Google::Analytics::Admin::V1alpha::CreateExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
|
317
|
+
# Updates a ExpandedDataSet on a property.
|
318
|
+
rpc :UpdateExpandedDataSet, ::Google::Analytics::Admin::V1alpha::UpdateExpandedDataSetRequest, ::Google::Analytics::Admin::V1alpha::ExpandedDataSet
|
319
|
+
# Deletes a ExpandedDataSet on a property.
|
320
|
+
rpc :DeleteExpandedDataSet, ::Google::Analytics::Admin::V1alpha::DeleteExpandedDataSetRequest, ::Google::Protobuf::Empty
|
287
321
|
# Sets the opt out status for the automated GA4 setup process for a UA
|
288
322
|
# property.
|
289
323
|
# Note: this has no effect on GA4 property.
|
@@ -282,6 +282,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
282
282
|
value :CROSS_CHANNEL_TIME_DECAY, 6
|
283
283
|
value :ADS_PREFERRED_LAST_CLICK, 7
|
284
284
|
end
|
285
|
+
add_message "google.analytics.admin.v1alpha.AccessBinding" do
|
286
|
+
optional :name, :string, 1
|
287
|
+
repeated :roles, :string, 3
|
288
|
+
oneof :access_target do
|
289
|
+
optional :user, :string, 2
|
290
|
+
end
|
291
|
+
end
|
285
292
|
add_message "google.analytics.admin.v1alpha.BigQueryLink" do
|
286
293
|
optional :name, :string, 1
|
287
294
|
optional :project, :string, 2
|
@@ -432,6 +439,7 @@ module Google
|
|
432
439
|
AttributionSettings::AcquisitionConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow").enummodule
|
433
440
|
AttributionSettings::OtherConversionEventLookbackWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow").enummodule
|
434
441
|
AttributionSettings::ReportingAttributionModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel").enummodule
|
442
|
+
AccessBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AccessBinding").msgclass
|
435
443
|
BigQueryLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.BigQueryLink").msgclass
|
436
444
|
IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule
|
437
445
|
ServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ServiceLevel").enummodule
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# to 2 date ranges.
|
45
45
|
# @!attribute [rw] dimension_filter
|
46
46
|
# @return [::Google::Analytics::Admin::V1alpha::AccessFilterExpression]
|
47
|
-
# Dimension filters
|
47
|
+
# Dimension filters let you restrict report response to specific
|
48
48
|
# dimension values which match the filter. For example, filtering on access
|
49
49
|
# records of a single user. To learn more, see [Fundamentals of Dimension
|
50
50
|
# Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters)
|
@@ -196,8 +196,8 @@ module Google
|
|
196
196
|
# @!attribute [rw] update_mask
|
197
197
|
# @return [::Google::Protobuf::FieldMask]
|
198
198
|
# Required. The list of fields to be updated. Field names must be in snake
|
199
|
-
# case (
|
200
|
-
# replace the entire entity, use one path with the string "*" to match all
|
199
|
+
# case (for example, "field_to_update"). Omitted fields will not be updated.
|
200
|
+
# To replace the entire entity, use one path with the string "*" to match all
|
201
201
|
# fields.
|
202
202
|
class UpdateAccountRequest
|
203
203
|
include ::Google::Protobuf::MessageExts
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
# @!attribute [rw] redirect_uri
|
212
212
|
# @return [::String]
|
213
213
|
# Redirect URI where the user will be sent after accepting Terms of Service.
|
214
|
-
# Must be configured in Developers Console as a Redirect URI
|
214
|
+
# Must be configured in Developers Console as a Redirect URI.
|
215
215
|
class ProvisionAccountTicketRequest
|
216
216
|
include ::Google::Protobuf::MessageExts
|
217
217
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1624,6 +1624,270 @@ module Google
|
|
1624
1624
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1625
1625
|
end
|
1626
1626
|
|
1627
|
+
# Request message for GetAccessBinding RPC.
|
1628
|
+
# @!attribute [rw] name
|
1629
|
+
# @return [::String]
|
1630
|
+
# Required. The name of the access binding to retrieve.
|
1631
|
+
# Formats:
|
1632
|
+
# - accounts/\\{account}/accessBindings/\\{accessBinding}
|
1633
|
+
# - properties/\\{property}/accessBindings/\\{accessBinding}
|
1634
|
+
class GetAccessBindingRequest
|
1635
|
+
include ::Google::Protobuf::MessageExts
|
1636
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# Request message for BatchGetAccessBindings RPC.
|
1640
|
+
# @!attribute [rw] parent
|
1641
|
+
# @return [::String]
|
1642
|
+
# Required. The account or property that owns the access bindings. The parent
|
1643
|
+
# of all provided values for the 'names' field must match this field.
|
1644
|
+
# Formats:
|
1645
|
+
# - accounts/\\{account}
|
1646
|
+
# - properties/\\{property}
|
1647
|
+
# @!attribute [rw] names
|
1648
|
+
# @return [::Array<::String>]
|
1649
|
+
# Required. The names of the access bindings to retrieve.
|
1650
|
+
# A maximum of 1000 access bindings can be retrieved in a batch.
|
1651
|
+
# Formats:
|
1652
|
+
# - accounts/\\{account}/accessBindings/\\{accessBinding}
|
1653
|
+
# - properties/\\{property}/accessBindings/\\{accessBinding}
|
1654
|
+
class BatchGetAccessBindingsRequest
|
1655
|
+
include ::Google::Protobuf::MessageExts
|
1656
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# Response message for BatchGetAccessBindings RPC.
|
1660
|
+
# @!attribute [rw] access_bindings
|
1661
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::AccessBinding>]
|
1662
|
+
# The requested access bindings.
|
1663
|
+
class BatchGetAccessBindingsResponse
|
1664
|
+
include ::Google::Protobuf::MessageExts
|
1665
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1666
|
+
end
|
1667
|
+
|
1668
|
+
# Request message for ListAccessBindings RPC.
|
1669
|
+
# @!attribute [rw] parent
|
1670
|
+
# @return [::String]
|
1671
|
+
# Required. Formats:
|
1672
|
+
# - accounts/\\{account}
|
1673
|
+
# - properties/\\{property}
|
1674
|
+
# @!attribute [rw] page_size
|
1675
|
+
# @return [::Integer]
|
1676
|
+
# The maximum number of access bindings to return.
|
1677
|
+
# The service may return fewer than this value.
|
1678
|
+
# If unspecified, at most 200 access bindings will be returned.
|
1679
|
+
# The maximum value is 500; values above 500 will be coerced to 500.
|
1680
|
+
# @!attribute [rw] page_token
|
1681
|
+
# @return [::String]
|
1682
|
+
# A page token, received from a previous `ListAccessBindings` call.
|
1683
|
+
# Provide this to retrieve the subsequent page.
|
1684
|
+
# When paginating, all other parameters provided to `ListAccessBindings` must
|
1685
|
+
# match the call that provided the page token.
|
1686
|
+
class ListAccessBindingsRequest
|
1687
|
+
include ::Google::Protobuf::MessageExts
|
1688
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# Response message for ListAccessBindings RPC.
|
1692
|
+
# @!attribute [rw] access_bindings
|
1693
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::AccessBinding>]
|
1694
|
+
# List of AccessBindings. These will be ordered stably, but in an arbitrary
|
1695
|
+
# order.
|
1696
|
+
# @!attribute [rw] next_page_token
|
1697
|
+
# @return [::String]
|
1698
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
1699
|
+
# If this field is omitted, there are no subsequent pages.
|
1700
|
+
class ListAccessBindingsResponse
|
1701
|
+
include ::Google::Protobuf::MessageExts
|
1702
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# Request message for CreateAccessBinding RPC.
|
1706
|
+
# @!attribute [rw] parent
|
1707
|
+
# @return [::String]
|
1708
|
+
# Required. Formats:
|
1709
|
+
# - accounts/\\{account}
|
1710
|
+
# - properties/\\{property}
|
1711
|
+
# @!attribute [rw] access_binding
|
1712
|
+
# @return [::Google::Analytics::Admin::V1alpha::AccessBinding]
|
1713
|
+
# Required. The access binding to create.
|
1714
|
+
class CreateAccessBindingRequest
|
1715
|
+
include ::Google::Protobuf::MessageExts
|
1716
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
# Request message for BatchCreateAccessBindings RPC.
|
1720
|
+
# @!attribute [rw] parent
|
1721
|
+
# @return [::String]
|
1722
|
+
# Required. The account or property that owns the access bindings. The parent
|
1723
|
+
# field in the CreateAccessBindingRequest messages must either be empty or
|
1724
|
+
# match this field. Formats:
|
1725
|
+
# - accounts/\\{account}
|
1726
|
+
# - properties/\\{property}
|
1727
|
+
# @!attribute [rw] requests
|
1728
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::CreateAccessBindingRequest>]
|
1729
|
+
# Required. The requests specifying the access bindings to create.
|
1730
|
+
# A maximum of 1000 access bindings can be created in a batch.
|
1731
|
+
class BatchCreateAccessBindingsRequest
|
1732
|
+
include ::Google::Protobuf::MessageExts
|
1733
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
# Response message for BatchCreateAccessBindings RPC.
|
1737
|
+
# @!attribute [rw] access_bindings
|
1738
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::AccessBinding>]
|
1739
|
+
# The access bindings created.
|
1740
|
+
class BatchCreateAccessBindingsResponse
|
1741
|
+
include ::Google::Protobuf::MessageExts
|
1742
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
# Request message for UpdateAccessBinding RPC.
|
1746
|
+
# @!attribute [rw] access_binding
|
1747
|
+
# @return [::Google::Analytics::Admin::V1alpha::AccessBinding]
|
1748
|
+
# Required. The access binding to update.
|
1749
|
+
class UpdateAccessBindingRequest
|
1750
|
+
include ::Google::Protobuf::MessageExts
|
1751
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1752
|
+
end
|
1753
|
+
|
1754
|
+
# Request message for BatchUpdateAccessBindings RPC.
|
1755
|
+
# @!attribute [rw] parent
|
1756
|
+
# @return [::String]
|
1757
|
+
# Required. The account or property that owns the access bindings. The parent
|
1758
|
+
# field in the UpdateAccessBindingRequest messages must either be empty or
|
1759
|
+
# match this field. Formats:
|
1760
|
+
# - accounts/\\{account}
|
1761
|
+
# - properties/\\{property}
|
1762
|
+
# @!attribute [rw] requests
|
1763
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::UpdateAccessBindingRequest>]
|
1764
|
+
# Required. The requests specifying the access bindings to update.
|
1765
|
+
# A maximum of 1000 access bindings can be updated in a batch.
|
1766
|
+
class BatchUpdateAccessBindingsRequest
|
1767
|
+
include ::Google::Protobuf::MessageExts
|
1768
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# Response message for BatchUpdateAccessBindings RPC.
|
1772
|
+
# @!attribute [rw] access_bindings
|
1773
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::AccessBinding>]
|
1774
|
+
# The access bindings updated.
|
1775
|
+
class BatchUpdateAccessBindingsResponse
|
1776
|
+
include ::Google::Protobuf::MessageExts
|
1777
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
# Request message for DeleteAccessBinding RPC.
|
1781
|
+
# @!attribute [rw] name
|
1782
|
+
# @return [::String]
|
1783
|
+
# Required. Formats:
|
1784
|
+
# - accounts/\\{account}/accessBindings/\\{accessBinding}
|
1785
|
+
# - properties/\\{property}/accessBindings/\\{accessBinding}
|
1786
|
+
class DeleteAccessBindingRequest
|
1787
|
+
include ::Google::Protobuf::MessageExts
|
1788
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
# Request message for BatchDeleteAccessBindings RPC.
|
1792
|
+
# @!attribute [rw] parent
|
1793
|
+
# @return [::String]
|
1794
|
+
# Required. The account or property that owns the access bindings. The parent
|
1795
|
+
# field in the DeleteAccessBindingRequest messages must either be empty or
|
1796
|
+
# match this field. Formats:
|
1797
|
+
# - accounts/\\{account}
|
1798
|
+
# - properties/\\{property}
|
1799
|
+
# @!attribute [rw] requests
|
1800
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::DeleteAccessBindingRequest>]
|
1801
|
+
# Required. The requests specifying the access bindings to delete.
|
1802
|
+
# A maximum of 1000 access bindings can be deleted in a batch.
|
1803
|
+
class BatchDeleteAccessBindingsRequest
|
1804
|
+
include ::Google::Protobuf::MessageExts
|
1805
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1806
|
+
end
|
1807
|
+
|
1808
|
+
# Request message for CreateExpandedDataSet RPC.
|
1809
|
+
# @!attribute [rw] parent
|
1810
|
+
# @return [::String]
|
1811
|
+
# Required. Example format: properties/1234
|
1812
|
+
# @!attribute [rw] expanded_data_set
|
1813
|
+
# @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSet]
|
1814
|
+
# Required. The ExpandedDataSet to create.
|
1815
|
+
class CreateExpandedDataSetRequest
|
1816
|
+
include ::Google::Protobuf::MessageExts
|
1817
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1818
|
+
end
|
1819
|
+
|
1820
|
+
# Request message for UpdateExpandedDataSet RPC.
|
1821
|
+
# @!attribute [rw] expanded_data_set
|
1822
|
+
# @return [::Google::Analytics::Admin::V1alpha::ExpandedDataSet]
|
1823
|
+
# Required. The ExpandedDataSet to update.
|
1824
|
+
# The resource's `name` field is used to identify the ExpandedDataSet to be
|
1825
|
+
# updated.
|
1826
|
+
# @!attribute [rw] update_mask
|
1827
|
+
# @return [::Google::Protobuf::FieldMask]
|
1828
|
+
# Required. The list of fields to be updated. Field names must be in snake
|
1829
|
+
# case (e.g., "field_to_update"). Omitted fields will not be updated. To
|
1830
|
+
# replace the entire entity, use one path with the string "*" to match all
|
1831
|
+
# fields.
|
1832
|
+
class UpdateExpandedDataSetRequest
|
1833
|
+
include ::Google::Protobuf::MessageExts
|
1834
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
# Request message for DeleteExpandedDataSet RPC.
|
1838
|
+
# @!attribute [rw] name
|
1839
|
+
# @return [::String]
|
1840
|
+
# Required. Example format: properties/1234/expandedDataSets/5678
|
1841
|
+
class DeleteExpandedDataSetRequest
|
1842
|
+
include ::Google::Protobuf::MessageExts
|
1843
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Request message for GetExpandedDataSet RPC.
|
1847
|
+
# @!attribute [rw] name
|
1848
|
+
# @return [::String]
|
1849
|
+
# Required. The name of the Audience to get.
|
1850
|
+
# Example format: properties/1234/expandedDataSets/5678
|
1851
|
+
class GetExpandedDataSetRequest
|
1852
|
+
include ::Google::Protobuf::MessageExts
|
1853
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1854
|
+
end
|
1855
|
+
|
1856
|
+
# Request message for ListExpandedDataSets RPC.
|
1857
|
+
# @!attribute [rw] parent
|
1858
|
+
# @return [::String]
|
1859
|
+
# Required. Example format: properties/1234
|
1860
|
+
# @!attribute [rw] page_size
|
1861
|
+
# @return [::Integer]
|
1862
|
+
# The maximum number of resources to return.
|
1863
|
+
# If unspecified, at most 50 resources will be returned.
|
1864
|
+
# The maximum value is 200 (higher values will be coerced to the maximum).
|
1865
|
+
# @!attribute [rw] page_token
|
1866
|
+
# @return [::String]
|
1867
|
+
# A page token, received from a previous `ListExpandedDataSets` call. Provide
|
1868
|
+
# this to retrieve the subsequent page.
|
1869
|
+
#
|
1870
|
+
# When paginating, all other parameters provided to `ListExpandedDataSet`
|
1871
|
+
# must match the call that provided the page token.
|
1872
|
+
class ListExpandedDataSetsRequest
|
1873
|
+
include ::Google::Protobuf::MessageExts
|
1874
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
# Response message for ListExpandedDataSets RPC.
|
1878
|
+
# @!attribute [rw] expanded_data_sets
|
1879
|
+
# @return [::Array<::Google::Analytics::Admin::V1alpha::ExpandedDataSet>]
|
1880
|
+
# List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
|
1881
|
+
# order.
|
1882
|
+
# @!attribute [rw] next_page_token
|
1883
|
+
# @return [::String]
|
1884
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
1885
|
+
# If this field is omitted, there are no subsequent pages.
|
1886
|
+
class ListExpandedDataSetsResponse
|
1887
|
+
include ::Google::Protobuf::MessageExts
|
1888
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1889
|
+
end
|
1890
|
+
|
1627
1891
|
# Request for setting the opt out status for the automated GA4 setup process.
|
1628
1892
|
# @!attribute [rw] property
|
1629
1893
|
# @return [::String]
|
@@ -1038,6 +1038,39 @@ module Google
|
|
1038
1038
|
end
|
1039
1039
|
end
|
1040
1040
|
|
1041
|
+
# A binding of a user to a set of roles.
|
1042
|
+
# @!attribute [rw] user
|
1043
|
+
# @return [::String]
|
1044
|
+
# If set, the email address of the user to set roles for.
|
1045
|
+
# Format: "someuser@gmail.com"
|
1046
|
+
# @!attribute [r] name
|
1047
|
+
# @return [::String]
|
1048
|
+
# Output only. Resource name of this binding.
|
1049
|
+
#
|
1050
|
+
# Format: accounts/\\{account}/accessBindings/\\{access_binding} or
|
1051
|
+
# properties/\\{property}/accessBindings/\\{access_binding}
|
1052
|
+
#
|
1053
|
+
# Example:
|
1054
|
+
# "accounts/100/accessBindings/200"
|
1055
|
+
# @!attribute [rw] roles
|
1056
|
+
# @return [::Array<::String>]
|
1057
|
+
# A list of roles for to grant to the parent resource.
|
1058
|
+
#
|
1059
|
+
# Valid values:
|
1060
|
+
# predefinedRoles/viewer
|
1061
|
+
# predefinedRoles/analyst
|
1062
|
+
# predefinedRoles/editor
|
1063
|
+
# predefinedRoles/admin
|
1064
|
+
# predefinedRoles/no-cost-data
|
1065
|
+
# predefinedRoles/no-revenue-data
|
1066
|
+
#
|
1067
|
+
# For users, if an empty list of roles is set, this AccessBinding will be
|
1068
|
+
# deleted.
|
1069
|
+
class AccessBinding
|
1070
|
+
include ::Google::Protobuf::MessageExts
|
1071
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1072
|
+
end
|
1073
|
+
|
1041
1074
|
# A link between a GA4 Property and BigQuery project.
|
1042
1075
|
# @!attribute [r] name
|
1043
1076
|
# @return [::String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-analytics-admin-v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.17.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.17.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|