google-apis-analyticsadmin_v1alpha 0.6.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -2
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +132 -22
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +52 -3
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +619 -38
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a7b64b3e8e4bcadf7c50129153fe0e225228f55abc69dad3ec81d62a4ea4185
|
4
|
+
data.tar.gz: e2d4d75d10d60a3cf28b678cea8823fd80a75ad22160372521632f1b023cf223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65924f1dae87b8f45abcebedafe36e9555841e9e9be407f4d80873473586c51abc3ad8025c839e769f2346d0dc8c1ecf1b6c4f4e898435bbf029a968d197a1f6
|
7
|
+
data.tar.gz: c0ef4b74e85e83dca84532f596c6f244efe1c1d97a803690e2559ab71b1f5b043c531ad5ac8c8294962da9c504667116cd91373ed8774c49abcb5c5ee752dfbe
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,29 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
-
### v0.
|
3
|
+
### v0.11.0 (2021-06-29)
|
4
4
|
|
5
|
-
* Regenerated
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.10.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210622
|
10
|
+
|
11
|
+
### v0.9.0 (2021-06-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210613
|
14
|
+
|
15
|
+
### v0.8.0 (2021-06-11)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210610
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
20
|
+
### v0.7.0 (2021-05-19)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210517
|
23
|
+
|
24
|
+
### v0.6.0 (2021-05-18)
|
25
|
+
|
26
|
+
* Regenerated from discovery document revision 20210514
|
6
27
|
|
7
28
|
### v0.5.0 (2021-03-24)
|
8
29
|
|
@@ -496,11 +496,21 @@ module Google
|
|
496
496
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink]
|
497
497
|
attr_accessor :google_ads_link
|
498
498
|
|
499
|
+
# Settings values for Google Signals. This is a singleton resource.
|
500
|
+
# Corresponds to the JSON property `googleSignalsSettings`
|
501
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
|
502
|
+
attr_accessor :google_signals_settings
|
503
|
+
|
499
504
|
# A resource message representing a Google Analytics IOS app stream.
|
500
505
|
# Corresponds to the JSON property `iosAppDataStream`
|
501
506
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream]
|
502
507
|
attr_accessor :ios_app_data_stream
|
503
508
|
|
509
|
+
# A secret value used for sending hits to Measurement Protocol.
|
510
|
+
# Corresponds to the JSON property `measurementProtocolSecret`
|
511
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
512
|
+
attr_accessor :measurement_protocol_secret
|
513
|
+
|
504
514
|
# A resource message representing a Google Analytics GA4 property.
|
505
515
|
# Corresponds to the JSON property `property`
|
506
516
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty]
|
@@ -524,7 +534,9 @@ module Google
|
|
524
534
|
@custom_metric = args[:custom_metric] if args.key?(:custom_metric)
|
525
535
|
@firebase_link = args[:firebase_link] if args.key?(:firebase_link)
|
526
536
|
@google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
|
537
|
+
@google_signals_settings = args[:google_signals_settings] if args.key?(:google_signals_settings)
|
527
538
|
@ios_app_data_stream = args[:ios_app_data_stream] if args.key?(:ios_app_data_stream)
|
539
|
+
@measurement_protocol_secret = args[:measurement_protocol_secret] if args.key?(:measurement_protocol_secret)
|
528
540
|
@property = args[:property] if args.key?(:property)
|
529
541
|
@web_data_stream = args[:web_data_stream] if args.key?(:web_data_stream)
|
530
542
|
end
|
@@ -596,19 +608,30 @@ module Google
|
|
596
608
|
# @return [String]
|
597
609
|
attr_accessor :create_time
|
598
610
|
|
611
|
+
# Output only. If set to true, this conversion event refers to a custom event.
|
612
|
+
# If set to false, this conversion event refers to a default event in GA.
|
613
|
+
# Default events typically have special meaning in GA. Default events are
|
614
|
+
# usually created for you by the GA system, but in some cases can be created by
|
615
|
+
# property admins. Custom events count towards the maximum number of custom
|
616
|
+
# conversion events that may be created per property.
|
617
|
+
# Corresponds to the JSON property `custom`
|
618
|
+
# @return [Boolean]
|
619
|
+
attr_accessor :custom
|
620
|
+
alias_method :custom?, :custom
|
621
|
+
|
622
|
+
# Output only. If set, this event can currently be deleted via
|
623
|
+
# DeleteConversionEvent.
|
624
|
+
# Corresponds to the JSON property `deletable`
|
625
|
+
# @return [Boolean]
|
626
|
+
attr_accessor :deletable
|
627
|
+
alias_method :deletable?, :deletable
|
628
|
+
|
599
629
|
# Immutable. The event name for this conversion event. Examples: 'click', '
|
600
630
|
# purchase'
|
601
631
|
# Corresponds to the JSON property `eventName`
|
602
632
|
# @return [String]
|
603
633
|
attr_accessor :event_name
|
604
634
|
|
605
|
-
# Output only. If set, this event can currently be deleted via
|
606
|
-
# DeleteConversionEvent.
|
607
|
-
# Corresponds to the JSON property `isDeletable`
|
608
|
-
# @return [Boolean]
|
609
|
-
attr_accessor :is_deletable
|
610
|
-
alias_method :is_deletable?, :is_deletable
|
611
|
-
|
612
635
|
# Output only. Resource name of this conversion event. Format: properties/`
|
613
636
|
# property`/conversionEvents/`conversion_event`
|
614
637
|
# Corresponds to the JSON property `name`
|
@@ -622,8 +645,9 @@ module Google
|
|
622
645
|
# Update properties of this object
|
623
646
|
def update!(**args)
|
624
647
|
@create_time = args[:create_time] if args.key?(:create_time)
|
648
|
+
@custom = args[:custom] if args.key?(:custom)
|
649
|
+
@deletable = args[:deletable] if args.key?(:deletable)
|
625
650
|
@event_name = args[:event_name] if args.key?(:event_name)
|
626
|
-
@is_deletable = args[:is_deletable] if args.key?(:is_deletable)
|
627
651
|
@name = args[:name] if args.key?(:name)
|
628
652
|
end
|
629
653
|
end
|
@@ -978,12 +1002,6 @@ module Google
|
|
978
1002
|
# @return [String]
|
979
1003
|
attr_accessor :create_time
|
980
1004
|
|
981
|
-
# Maximum user access to the GA4 property allowed to admins of the linked
|
982
|
-
# Firebase project.
|
983
|
-
# Corresponds to the JSON property `maximumUserAccess`
|
984
|
-
# @return [String]
|
985
|
-
attr_accessor :maximum_user_access
|
986
|
-
|
987
1005
|
# Output only. Example format: properties/1234/firebaseLinks/5678
|
988
1006
|
# Corresponds to the JSON property `name`
|
989
1007
|
# @return [String]
|
@@ -1005,7 +1023,6 @@ module Google
|
|
1005
1023
|
# Update properties of this object
|
1006
1024
|
def update!(**args)
|
1007
1025
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1008
|
-
@maximum_user_access = args[:maximum_user_access] if args.key?(:maximum_user_access)
|
1009
1026
|
@name = args[:name] if args.key?(:name)
|
1010
1027
|
@project = args[:project] if args.key?(:project)
|
1011
1028
|
end
|
@@ -1063,17 +1080,17 @@ module Google
|
|
1063
1080
|
# @return [String]
|
1064
1081
|
attr_accessor :create_time
|
1065
1082
|
|
1083
|
+
# Output only. Email address of the user that created the link. An empty string
|
1084
|
+
# will be returned if the email address can't be retrieved.
|
1085
|
+
# Corresponds to the JSON property `creatorEmailAddress`
|
1086
|
+
# @return [String]
|
1087
|
+
attr_accessor :creator_email_address
|
1088
|
+
|
1066
1089
|
# Immutable. Google Ads customer ID.
|
1067
1090
|
# Corresponds to the JSON property `customerId`
|
1068
1091
|
# @return [String]
|
1069
1092
|
attr_accessor :customer_id
|
1070
1093
|
|
1071
|
-
# Output only. Email address of the user that created the link. An empty string
|
1072
|
-
# will be returned if the email address can't be retrieved.
|
1073
|
-
# Corresponds to the JSON property `emailAddress`
|
1074
|
-
# @return [String]
|
1075
|
-
attr_accessor :email_address
|
1076
|
-
|
1077
1094
|
# Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
|
1078
1095
|
# Note: googleAdsLinkId is not the Google Ads customer ID.
|
1079
1096
|
# Corresponds to the JSON property `name`
|
@@ -1094,13 +1111,45 @@ module Google
|
|
1094
1111
|
@ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled)
|
1095
1112
|
@can_manage_clients = args[:can_manage_clients] if args.key?(:can_manage_clients)
|
1096
1113
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1114
|
+
@creator_email_address = args[:creator_email_address] if args.key?(:creator_email_address)
|
1097
1115
|
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
1098
|
-
@email_address = args[:email_address] if args.key?(:email_address)
|
1099
1116
|
@name = args[:name] if args.key?(:name)
|
1100
1117
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1101
1118
|
end
|
1102
1119
|
end
|
1103
1120
|
|
1121
|
+
# Settings values for Google Signals. This is a singleton resource.
|
1122
|
+
class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
1123
|
+
include Google::Apis::Core::Hashable
|
1124
|
+
|
1125
|
+
# Output only. Terms of Service acceptance.
|
1126
|
+
# Corresponds to the JSON property `consent`
|
1127
|
+
# @return [String]
|
1128
|
+
attr_accessor :consent
|
1129
|
+
|
1130
|
+
# Output only. Resource name of this setting. Format: properties/`property_id`/
|
1131
|
+
# googleSignalsSettings Example: "properties/1000/googleSignalsSettings"
|
1132
|
+
# Corresponds to the JSON property `name`
|
1133
|
+
# @return [String]
|
1134
|
+
attr_accessor :name
|
1135
|
+
|
1136
|
+
# Status of this setting.
|
1137
|
+
# Corresponds to the JSON property `state`
|
1138
|
+
# @return [String]
|
1139
|
+
attr_accessor :state
|
1140
|
+
|
1141
|
+
def initialize(**args)
|
1142
|
+
update!(**args)
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# Update properties of this object
|
1146
|
+
def update!(**args)
|
1147
|
+
@consent = args[:consent] if args.key?(:consent)
|
1148
|
+
@name = args[:name] if args.key?(:name)
|
1149
|
+
@state = args[:state] if args.key?(:state)
|
1150
|
+
end
|
1151
|
+
end
|
1152
|
+
|
1104
1153
|
# A resource message representing a Google Analytics IOS app stream.
|
1105
1154
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
1106
1155
|
include Google::Apis::Core::Hashable
|
@@ -1390,6 +1439,32 @@ module Google
|
|
1390
1439
|
end
|
1391
1440
|
end
|
1392
1441
|
|
1442
|
+
# Response message for ListMeasurementProtocolSecret RPC
|
1443
|
+
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
1444
|
+
include Google::Apis::Core::Hashable
|
1445
|
+
|
1446
|
+
# A list of secrets for the parent stream specified in the request.
|
1447
|
+
# Corresponds to the JSON property `measurementProtocolSecrets`
|
1448
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret>]
|
1449
|
+
attr_accessor :measurement_protocol_secrets
|
1450
|
+
|
1451
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
1452
|
+
# field is omitted, there are no subsequent pages.
|
1453
|
+
# Corresponds to the JSON property `nextPageToken`
|
1454
|
+
# @return [String]
|
1455
|
+
attr_accessor :next_page_token
|
1456
|
+
|
1457
|
+
def initialize(**args)
|
1458
|
+
update!(**args)
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
# Update properties of this object
|
1462
|
+
def update!(**args)
|
1463
|
+
@measurement_protocol_secrets = args[:measurement_protocol_secrets] if args.key?(:measurement_protocol_secrets)
|
1464
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1465
|
+
end
|
1466
|
+
end
|
1467
|
+
|
1393
1468
|
# Response message for ListProperties RPC.
|
1394
1469
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
1395
1470
|
include Google::Apis::Core::Hashable
|
@@ -1468,6 +1543,41 @@ module Google
|
|
1468
1543
|
end
|
1469
1544
|
end
|
1470
1545
|
|
1546
|
+
# A secret value used for sending hits to Measurement Protocol.
|
1547
|
+
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1548
|
+
include Google::Apis::Core::Hashable
|
1549
|
+
|
1550
|
+
# Required. Human-readable display name for this secret.
|
1551
|
+
# Corresponds to the JSON property `displayName`
|
1552
|
+
# @return [String]
|
1553
|
+
attr_accessor :display_name
|
1554
|
+
|
1555
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
1556
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
1557
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
1558
|
+
# Corresponds to the JSON property `name`
|
1559
|
+
# @return [String]
|
1560
|
+
attr_accessor :name
|
1561
|
+
|
1562
|
+
# Output only. The measurement protocol secret value. Pass this value to the
|
1563
|
+
# api_secret field of the Measurement Protocol API when sending hits to this
|
1564
|
+
# secret's parent property.
|
1565
|
+
# Corresponds to the JSON property `secretValue`
|
1566
|
+
# @return [String]
|
1567
|
+
attr_accessor :secret_value
|
1568
|
+
|
1569
|
+
def initialize(**args)
|
1570
|
+
update!(**args)
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
# Update properties of this object
|
1574
|
+
def update!(**args)
|
1575
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1576
|
+
@name = args[:name] if args.key?(:name)
|
1577
|
+
@secret_value = args[:secret_value] if args.key?(:secret_value)
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|
1471
1581
|
# A resource message representing a Google Analytics GA4 property.
|
1472
1582
|
class GoogleAnalyticsAdminV1alphaProperty
|
1473
1583
|
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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210622"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,12 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
187
193
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
195
|
|
@@ -244,6 +250,12 @@ module Google
|
|
244
250
|
include Google::Apis::Core::JsonObjectSupport
|
245
251
|
end
|
246
252
|
|
253
|
+
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
247
259
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
248
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
261
|
|
@@ -262,6 +274,12 @@ module Google
|
|
262
274
|
include Google::Apis::Core::JsonObjectSupport
|
263
275
|
end
|
264
276
|
|
277
|
+
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
265
283
|
class GoogleAnalyticsAdminV1alphaProperty
|
266
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
285
|
|
@@ -474,8 +492,12 @@ module Google
|
|
474
492
|
|
475
493
|
property :google_ads_link, as: 'googleAdsLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink::Representation
|
476
494
|
|
495
|
+
property :google_signals_settings, as: 'googleSignalsSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
496
|
+
|
477
497
|
property :ios_app_data_stream, as: 'iosAppDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream::Representation
|
478
498
|
|
499
|
+
property :measurement_protocol_secret, as: 'measurementProtocolSecret', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
500
|
+
|
479
501
|
property :property, as: 'property', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty::Representation
|
480
502
|
|
481
503
|
property :web_data_stream, as: 'webDataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream::Representation
|
@@ -500,8 +522,9 @@ module Google
|
|
500
522
|
# @private
|
501
523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
502
524
|
property :create_time, as: 'createTime'
|
525
|
+
property :custom, as: 'custom'
|
526
|
+
property :deletable, as: 'deletable'
|
503
527
|
property :event_name, as: 'eventName'
|
504
|
-
property :is_deletable, as: 'isDeletable'
|
505
528
|
property :name, as: 'name'
|
506
529
|
end
|
507
530
|
end
|
@@ -581,7 +604,6 @@ module Google
|
|
581
604
|
# @private
|
582
605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
583
606
|
property :create_time, as: 'createTime'
|
584
|
-
property :maximum_user_access, as: 'maximumUserAccess'
|
585
607
|
property :name, as: 'name'
|
586
608
|
property :project, as: 'project'
|
587
609
|
end
|
@@ -601,13 +623,22 @@ module Google
|
|
601
623
|
property :ads_personalization_enabled, as: 'adsPersonalizationEnabled'
|
602
624
|
property :can_manage_clients, as: 'canManageClients'
|
603
625
|
property :create_time, as: 'createTime'
|
626
|
+
property :creator_email_address, as: 'creatorEmailAddress'
|
604
627
|
property :customer_id, as: 'customerId'
|
605
|
-
property :email_address, as: 'emailAddress'
|
606
628
|
property :name, as: 'name'
|
607
629
|
property :update_time, as: 'updateTime'
|
608
630
|
end
|
609
631
|
end
|
610
632
|
|
633
|
+
class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
property :consent, as: 'consent'
|
637
|
+
property :name, as: 'name'
|
638
|
+
property :state, as: 'state'
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
611
642
|
class GoogleAnalyticsAdminV1alphaIosAppDataStream
|
612
643
|
# @private
|
613
644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -701,6 +732,15 @@ module Google
|
|
701
732
|
end
|
702
733
|
end
|
703
734
|
|
735
|
+
class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
736
|
+
# @private
|
737
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
738
|
+
collection :measurement_protocol_secrets, as: 'measurementProtocolSecrets', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
739
|
+
|
740
|
+
property :next_page_token, as: 'nextPageToken'
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
704
744
|
class GoogleAnalyticsAdminV1alphaListPropertiesResponse
|
705
745
|
# @private
|
706
746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -728,6 +768,15 @@ module Google
|
|
728
768
|
end
|
729
769
|
end
|
730
770
|
|
771
|
+
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
772
|
+
# @private
|
773
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
774
|
+
property :display_name, as: 'displayName'
|
775
|
+
property :name, as: 'name'
|
776
|
+
property :secret_value, as: 'secretValue'
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
731
780
|
class GoogleAnalyticsAdminV1alphaProperty
|
732
781
|
# @private
|
733
782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -787,6 +787,37 @@ module Google
|
|
787
787
|
execute_or_queue_command(command, &block)
|
788
788
|
end
|
789
789
|
|
790
|
+
# Lookup for Google Signals settings for a property.
|
791
|
+
# @param [String] name
|
792
|
+
# Required. The name of the google signals settings to retrieve. Format:
|
793
|
+
# properties/`property`/googleSignalsSettings
|
794
|
+
# @param [String] fields
|
795
|
+
# Selector specifying which fields to include in a partial response.
|
796
|
+
# @param [String] quota_user
|
797
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
798
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
799
|
+
# @param [Google::Apis::RequestOptions] options
|
800
|
+
# Request-specific options
|
801
|
+
#
|
802
|
+
# @yield [result, err] Result & error if block supplied
|
803
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] parsed result object
|
804
|
+
# @yieldparam err [StandardError] error object if request failed
|
805
|
+
#
|
806
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
|
807
|
+
#
|
808
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
809
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
810
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
811
|
+
def get_property_google_signals_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
812
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
813
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
814
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
815
|
+
command.params['name'] = name unless name.nil?
|
816
|
+
command.query['fields'] = fields unless fields.nil?
|
817
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
818
|
+
execute_or_queue_command(command, &block)
|
819
|
+
end
|
820
|
+
|
790
821
|
# Returns child Properties under the specified parent Account. Only "GA4"
|
791
822
|
# properties will be returned. Properties will be excluded if the caller does
|
792
823
|
# not have access. Soft-deleted (ie: "trashed") properties are excluded by
|
@@ -881,6 +912,45 @@ module Google
|
|
881
912
|
execute_or_queue_command(command, &block)
|
882
913
|
end
|
883
914
|
|
915
|
+
# Updates Google Signals settings for a property.
|
916
|
+
# @param [String] name
|
917
|
+
# Output only. Resource name of this setting. Format: properties/`property_id`/
|
918
|
+
# googleSignalsSettings Example: "properties/1000/googleSignalsSettings"
|
919
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] google_analytics_admin_v1alpha_google_signals_settings_object
|
920
|
+
# @param [String] update_mask
|
921
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
922
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
923
|
+
# entire entity, use one path with the string "*" to match all fields.
|
924
|
+
# @param [String] fields
|
925
|
+
# Selector specifying which fields to include in a partial response.
|
926
|
+
# @param [String] quota_user
|
927
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
928
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
929
|
+
# @param [Google::Apis::RequestOptions] options
|
930
|
+
# Request-specific options
|
931
|
+
#
|
932
|
+
# @yield [result, err] Result & error if block supplied
|
933
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings] parsed result object
|
934
|
+
# @yieldparam err [StandardError] error object if request failed
|
935
|
+
#
|
936
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]
|
937
|
+
#
|
938
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
939
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
940
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
941
|
+
def update_property_google_signals_settings(name, google_analytics_admin_v1alpha_google_signals_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
942
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
943
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
944
|
+
command.request_object = google_analytics_admin_v1alpha_google_signals_settings_object
|
945
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings::Representation
|
946
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleSignalsSettings
|
947
|
+
command.params['name'] = name unless name.nil?
|
948
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
949
|
+
command.query['fields'] = fields unless fields.nil?
|
950
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
951
|
+
execute_or_queue_command(command, &block)
|
952
|
+
end
|
953
|
+
|
884
954
|
# Deletes an android app stream on a property.
|
885
955
|
# @param [String] name
|
886
956
|
# Required. The name of the android app data stream to delete. Format:
|
@@ -1028,6 +1098,189 @@ module Google
|
|
1028
1098
|
execute_or_queue_command(command, &block)
|
1029
1099
|
end
|
1030
1100
|
|
1101
|
+
# Creates a measurement protocol secret.
|
1102
|
+
# @param [String] parent
|
1103
|
+
# Required. The parent resource where this secret will be created. Any type of
|
1104
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1105
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
1106
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1107
|
+
# @param [String] fields
|
1108
|
+
# Selector specifying which fields to include in a partial response.
|
1109
|
+
# @param [String] quota_user
|
1110
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1111
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1112
|
+
# @param [Google::Apis::RequestOptions] options
|
1113
|
+
# Request-specific options
|
1114
|
+
#
|
1115
|
+
# @yield [result, err] Result & error if block supplied
|
1116
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1117
|
+
# @yieldparam err [StandardError] error object if request failed
|
1118
|
+
#
|
1119
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1120
|
+
#
|
1121
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1122
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1123
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1124
|
+
def create_property_android_app_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1125
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1126
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1127
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1128
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1129
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1130
|
+
command.params['parent'] = parent unless parent.nil?
|
1131
|
+
command.query['fields'] = fields unless fields.nil?
|
1132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1133
|
+
execute_or_queue_command(command, &block)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# Deletes target MeasurementProtocolSecret.
|
1137
|
+
# @param [String] name
|
1138
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
1139
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
1140
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
1141
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1142
|
+
# @param [String] fields
|
1143
|
+
# Selector specifying which fields to include in a partial response.
|
1144
|
+
# @param [String] quota_user
|
1145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1147
|
+
# @param [Google::Apis::RequestOptions] options
|
1148
|
+
# Request-specific options
|
1149
|
+
#
|
1150
|
+
# @yield [result, err] Result & error if block supplied
|
1151
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
1152
|
+
# @yieldparam err [StandardError] error object if request failed
|
1153
|
+
#
|
1154
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
1155
|
+
#
|
1156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1159
|
+
def delete_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1160
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1161
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
1162
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
1163
|
+
command.params['name'] = name unless name.nil?
|
1164
|
+
command.query['fields'] = fields unless fields.nil?
|
1165
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1166
|
+
execute_or_queue_command(command, &block)
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
1170
|
+
# @param [String] name
|
1171
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
1172
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
1173
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
1174
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
1175
|
+
# @param [String] fields
|
1176
|
+
# Selector specifying which fields to include in a partial response.
|
1177
|
+
# @param [String] quota_user
|
1178
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1179
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1180
|
+
# @param [Google::Apis::RequestOptions] options
|
1181
|
+
# Request-specific options
|
1182
|
+
#
|
1183
|
+
# @yield [result, err] Result & error if block supplied
|
1184
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1185
|
+
# @yieldparam err [StandardError] error object if request failed
|
1186
|
+
#
|
1187
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1188
|
+
#
|
1189
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1190
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1191
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1192
|
+
def get_property_android_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1193
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1194
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1195
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1196
|
+
command.params['name'] = name unless name.nil?
|
1197
|
+
command.query['fields'] = fields unless fields.nil?
|
1198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1199
|
+
execute_or_queue_command(command, &block)
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
1203
|
+
# @param [String] parent
|
1204
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
1205
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
1206
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
1207
|
+
# measurementProtocolSecrets
|
1208
|
+
# @param [Fixnum] page_size
|
1209
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
1210
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
1211
|
+
# coerced to the maximum.
|
1212
|
+
# @param [String] page_token
|
1213
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
1214
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
1215
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
1216
|
+
# that provided the page token.
|
1217
|
+
# @param [String] fields
|
1218
|
+
# Selector specifying which fields to include in a partial response.
|
1219
|
+
# @param [String] quota_user
|
1220
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1221
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1222
|
+
# @param [Google::Apis::RequestOptions] options
|
1223
|
+
# Request-specific options
|
1224
|
+
#
|
1225
|
+
# @yield [result, err] Result & error if block supplied
|
1226
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
1227
|
+
# @yieldparam err [StandardError] error object if request failed
|
1228
|
+
#
|
1229
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
1230
|
+
#
|
1231
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1232
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1233
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1234
|
+
def list_property_android_app_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1235
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
1236
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
1237
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
1238
|
+
command.params['parent'] = parent unless parent.nil?
|
1239
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1240
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1241
|
+
command.query['fields'] = fields unless fields.nil?
|
1242
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1243
|
+
execute_or_queue_command(command, &block)
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# Updates a measurement protocol secret.
|
1247
|
+
# @param [String] name
|
1248
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
1249
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
1250
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
1251
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1252
|
+
# @param [String] update_mask
|
1253
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
1254
|
+
# @param [String] fields
|
1255
|
+
# Selector specifying which fields to include in a partial response.
|
1256
|
+
# @param [String] quota_user
|
1257
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1258
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1259
|
+
# @param [Google::Apis::RequestOptions] options
|
1260
|
+
# Request-specific options
|
1261
|
+
#
|
1262
|
+
# @yield [result, err] Result & error if block supplied
|
1263
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
1264
|
+
# @yieldparam err [StandardError] error object if request failed
|
1265
|
+
#
|
1266
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
1267
|
+
#
|
1268
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1269
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1270
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1271
|
+
def patch_property_android_app_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1272
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1273
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1274
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
1275
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
1276
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
1277
|
+
command.params['name'] = name unless name.nil?
|
1278
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1279
|
+
command.query['fields'] = fields unless fields.nil?
|
1280
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1281
|
+
execute_or_queue_command(command, &block)
|
1282
|
+
end
|
1283
|
+
|
1031
1284
|
# Creates a conversion event with the specified attributes.
|
1032
1285
|
# @param [String] parent
|
1033
1286
|
# Required. The resource name of the parent property where this conversion event
|
@@ -1630,44 +1883,6 @@ module Google
|
|
1630
1883
|
execute_or_queue_command(command, &block)
|
1631
1884
|
end
|
1632
1885
|
|
1633
|
-
# Updates a FirebaseLink on a property
|
1634
|
-
# @param [String] name
|
1635
|
-
# Output only. Example format: properties/1234/firebaseLinks/5678
|
1636
|
-
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] google_analytics_admin_v1alpha_firebase_link_object
|
1637
|
-
# @param [String] update_mask
|
1638
|
-
# Required. The list of fields to be updated. Field names must be in snake case (
|
1639
|
-
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
1640
|
-
# entire entity, use one path with the string "*" to match all fields.
|
1641
|
-
# @param [String] fields
|
1642
|
-
# Selector specifying which fields to include in a partial response.
|
1643
|
-
# @param [String] quota_user
|
1644
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1645
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1646
|
-
# @param [Google::Apis::RequestOptions] options
|
1647
|
-
# Request-specific options
|
1648
|
-
#
|
1649
|
-
# @yield [result, err] Result & error if block supplied
|
1650
|
-
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink] parsed result object
|
1651
|
-
# @yieldparam err [StandardError] error object if request failed
|
1652
|
-
#
|
1653
|
-
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink]
|
1654
|
-
#
|
1655
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1656
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1657
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1658
|
-
def patch_property_firebase_link(name, google_analytics_admin_v1alpha_firebase_link_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1659
|
-
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1660
|
-
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1661
|
-
command.request_object = google_analytics_admin_v1alpha_firebase_link_object
|
1662
|
-
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
1663
|
-
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink
|
1664
|
-
command.params['name'] = name unless name.nil?
|
1665
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1666
|
-
command.query['fields'] = fields unless fields.nil?
|
1667
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1668
|
-
execute_or_queue_command(command, &block)
|
1669
|
-
end
|
1670
|
-
|
1671
1886
|
# Creates a GoogleAdsLink.
|
1672
1887
|
# @param [String] parent
|
1673
1888
|
# Required. Example format: properties/1234
|
@@ -1959,6 +2174,189 @@ module Google
|
|
1959
2174
|
execute_or_queue_command(command, &block)
|
1960
2175
|
end
|
1961
2176
|
|
2177
|
+
# Creates a measurement protocol secret.
|
2178
|
+
# @param [String] parent
|
2179
|
+
# Required. The parent resource where this secret will be created. Any type of
|
2180
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2181
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
2182
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2183
|
+
# @param [String] fields
|
2184
|
+
# Selector specifying which fields to include in a partial response.
|
2185
|
+
# @param [String] quota_user
|
2186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2188
|
+
# @param [Google::Apis::RequestOptions] options
|
2189
|
+
# Request-specific options
|
2190
|
+
#
|
2191
|
+
# @yield [result, err] Result & error if block supplied
|
2192
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2193
|
+
# @yieldparam err [StandardError] error object if request failed
|
2194
|
+
#
|
2195
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2196
|
+
#
|
2197
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2198
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2199
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2200
|
+
def create_property_ios_app_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2201
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2202
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2203
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2204
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2205
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2206
|
+
command.params['parent'] = parent unless parent.nil?
|
2207
|
+
command.query['fields'] = fields unless fields.nil?
|
2208
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2209
|
+
execute_or_queue_command(command, &block)
|
2210
|
+
end
|
2211
|
+
|
2212
|
+
# Deletes target MeasurementProtocolSecret.
|
2213
|
+
# @param [String] name
|
2214
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
2215
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2216
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2217
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2218
|
+
# @param [String] fields
|
2219
|
+
# Selector specifying which fields to include in a partial response.
|
2220
|
+
# @param [String] quota_user
|
2221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2223
|
+
# @param [Google::Apis::RequestOptions] options
|
2224
|
+
# Request-specific options
|
2225
|
+
#
|
2226
|
+
# @yield [result, err] Result & error if block supplied
|
2227
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
2228
|
+
# @yieldparam err [StandardError] error object if request failed
|
2229
|
+
#
|
2230
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
2231
|
+
#
|
2232
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2233
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2234
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2235
|
+
def delete_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2236
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
2237
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
2238
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
2239
|
+
command.params['name'] = name unless name.nil?
|
2240
|
+
command.query['fields'] = fields unless fields.nil?
|
2241
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2242
|
+
execute_or_queue_command(command, &block)
|
2243
|
+
end
|
2244
|
+
|
2245
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
2246
|
+
# @param [String] name
|
2247
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
2248
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2249
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
2250
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
2251
|
+
# @param [String] fields
|
2252
|
+
# Selector specifying which fields to include in a partial response.
|
2253
|
+
# @param [String] quota_user
|
2254
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2255
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2256
|
+
# @param [Google::Apis::RequestOptions] options
|
2257
|
+
# Request-specific options
|
2258
|
+
#
|
2259
|
+
# @yield [result, err] Result & error if block supplied
|
2260
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2261
|
+
# @yieldparam err [StandardError] error object if request failed
|
2262
|
+
#
|
2263
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2264
|
+
#
|
2265
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2266
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2267
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2268
|
+
def get_property_ios_app_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
2269
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
2270
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2271
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2272
|
+
command.params['name'] = name unless name.nil?
|
2273
|
+
command.query['fields'] = fields unless fields.nil?
|
2274
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2275
|
+
execute_or_queue_command(command, &block)
|
2276
|
+
end
|
2277
|
+
|
2278
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
2279
|
+
# @param [String] parent
|
2280
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
2281
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
2282
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
2283
|
+
# measurementProtocolSecrets
|
2284
|
+
# @param [Fixnum] page_size
|
2285
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
2286
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
2287
|
+
# coerced to the maximum.
|
2288
|
+
# @param [String] page_token
|
2289
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
2290
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
2291
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
2292
|
+
# that provided the page token.
|
2293
|
+
# @param [String] fields
|
2294
|
+
# Selector specifying which fields to include in a partial response.
|
2295
|
+
# @param [String] quota_user
|
2296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2298
|
+
# @param [Google::Apis::RequestOptions] options
|
2299
|
+
# Request-specific options
|
2300
|
+
#
|
2301
|
+
# @yield [result, err] Result & error if block supplied
|
2302
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
2303
|
+
# @yieldparam err [StandardError] error object if request failed
|
2304
|
+
#
|
2305
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
2306
|
+
#
|
2307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2310
|
+
def list_property_ios_app_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2311
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
2312
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
2313
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
2314
|
+
command.params['parent'] = parent unless parent.nil?
|
2315
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2316
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2317
|
+
command.query['fields'] = fields unless fields.nil?
|
2318
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2319
|
+
execute_or_queue_command(command, &block)
|
2320
|
+
end
|
2321
|
+
|
2322
|
+
# Updates a measurement protocol secret.
|
2323
|
+
# @param [String] name
|
2324
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
2325
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
2326
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
2327
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2328
|
+
# @param [String] update_mask
|
2329
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
2330
|
+
# @param [String] fields
|
2331
|
+
# Selector specifying which fields to include in a partial response.
|
2332
|
+
# @param [String] quota_user
|
2333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2335
|
+
# @param [Google::Apis::RequestOptions] options
|
2336
|
+
# Request-specific options
|
2337
|
+
#
|
2338
|
+
# @yield [result, err] Result & error if block supplied
|
2339
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
2340
|
+
# @yieldparam err [StandardError] error object if request failed
|
2341
|
+
#
|
2342
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
2343
|
+
#
|
2344
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2345
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2346
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2347
|
+
def patch_property_ios_app_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2348
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
2349
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2350
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
2351
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
2352
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2353
|
+
command.params['name'] = name unless name.nil?
|
2354
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2355
|
+
command.query['fields'] = fields unless fields.nil?
|
2356
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2357
|
+
execute_or_queue_command(command, &block)
|
2358
|
+
end
|
2359
|
+
|
1962
2360
|
# Lists all user links on an account or property, including implicit ones that
|
1963
2361
|
# come from effective permissions granted by groups or organization admin roles.
|
1964
2362
|
# If a returned user link does not have direct permissions, they cannot be
|
@@ -2605,6 +3003,189 @@ module Google
|
|
2605
3003
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2606
3004
|
execute_or_queue_command(command, &block)
|
2607
3005
|
end
|
3006
|
+
|
3007
|
+
# Creates a measurement protocol secret.
|
3008
|
+
# @param [String] parent
|
3009
|
+
# Required. The parent resource where this secret will be created. Any type of
|
3010
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3011
|
+
# Format: properties/`property`/webDataStreams/`webDataStream`
|
3012
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3013
|
+
# @param [String] fields
|
3014
|
+
# Selector specifying which fields to include in a partial response.
|
3015
|
+
# @param [String] quota_user
|
3016
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3017
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3018
|
+
# @param [Google::Apis::RequestOptions] options
|
3019
|
+
# Request-specific options
|
3020
|
+
#
|
3021
|
+
# @yield [result, err] Result & error if block supplied
|
3022
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3023
|
+
# @yieldparam err [StandardError] error object if request failed
|
3024
|
+
#
|
3025
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3026
|
+
#
|
3027
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3028
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3029
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3030
|
+
def create_property_web_data_stream_measurement_protocol_secret(parent, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3031
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3032
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3033
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3034
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3035
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3036
|
+
command.params['parent'] = parent unless parent.nil?
|
3037
|
+
command.query['fields'] = fields unless fields.nil?
|
3038
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3039
|
+
execute_or_queue_command(command, &block)
|
3040
|
+
end
|
3041
|
+
|
3042
|
+
# Deletes target MeasurementProtocolSecret.
|
3043
|
+
# @param [String] name
|
3044
|
+
# Required. The name of the MeasurementProtocolSecret to delete. Format:
|
3045
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3046
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3047
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3048
|
+
# @param [String] fields
|
3049
|
+
# Selector specifying which fields to include in a partial response.
|
3050
|
+
# @param [String] quota_user
|
3051
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3052
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3053
|
+
# @param [Google::Apis::RequestOptions] options
|
3054
|
+
# Request-specific options
|
3055
|
+
#
|
3056
|
+
# @yield [result, err] Result & error if block supplied
|
3057
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3058
|
+
# @yieldparam err [StandardError] error object if request failed
|
3059
|
+
#
|
3060
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3061
|
+
#
|
3062
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3063
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3064
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3065
|
+
def delete_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3066
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3067
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
3068
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
3069
|
+
command.params['name'] = name unless name.nil?
|
3070
|
+
command.query['fields'] = fields unless fields.nil?
|
3071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3072
|
+
execute_or_queue_command(command, &block)
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
# Lookup for a single "GA4" MeasurementProtocolSecret.
|
3076
|
+
# @param [String] name
|
3077
|
+
# Required. The name of the measurement protocol secret to lookup. Format:
|
3078
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3079
|
+
# measurementProtocolSecrets/`measurementProtocolSecret` Note: Any type of
|
3080
|
+
# stream (WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent.
|
3081
|
+
# @param [String] fields
|
3082
|
+
# Selector specifying which fields to include in a partial response.
|
3083
|
+
# @param [String] quota_user
|
3084
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3085
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3086
|
+
# @param [Google::Apis::RequestOptions] options
|
3087
|
+
# Request-specific options
|
3088
|
+
#
|
3089
|
+
# @yield [result, err] Result & error if block supplied
|
3090
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3091
|
+
# @yieldparam err [StandardError] error object if request failed
|
3092
|
+
#
|
3093
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3094
|
+
#
|
3095
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3096
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3097
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3098
|
+
def get_property_web_data_stream_measurement_protocol_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
3099
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3100
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3101
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3102
|
+
command.params['name'] = name unless name.nil?
|
3103
|
+
command.query['fields'] = fields unless fields.nil?
|
3104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3105
|
+
execute_or_queue_command(command, &block)
|
3106
|
+
end
|
3107
|
+
|
3108
|
+
# Returns child MeasurementProtocolSecrets under the specified parent Property.
|
3109
|
+
# @param [String] parent
|
3110
|
+
# Required. The resource name of the parent stream. Any type of stream (
|
3111
|
+
# WebDataStream, IosAppDataStream, AndroidAppDataStream) may be a parent. Format:
|
3112
|
+
# properties/`property`/webDataStreams/`webDataStream`/
|
3113
|
+
# measurementProtocolSecrets
|
3114
|
+
# @param [Fixnum] page_size
|
3115
|
+
# The maximum number of resources to return. If unspecified, at most 10
|
3116
|
+
# resources will be returned. The maximum value is 10. Higher values will be
|
3117
|
+
# coerced to the maximum.
|
3118
|
+
# @param [String] page_token
|
3119
|
+
# A page token, received from a previous `ListMeasurementProtocolSecrets` call.
|
3120
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
3121
|
+
# parameters provided to `ListMeasurementProtocolSecrets` must match the call
|
3122
|
+
# that provided the page token.
|
3123
|
+
# @param [String] fields
|
3124
|
+
# Selector specifying which fields to include in a partial response.
|
3125
|
+
# @param [String] quota_user
|
3126
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3127
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3128
|
+
# @param [Google::Apis::RequestOptions] options
|
3129
|
+
# Request-specific options
|
3130
|
+
#
|
3131
|
+
# @yield [result, err] Result & error if block supplied
|
3132
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse] parsed result object
|
3133
|
+
# @yieldparam err [StandardError] error object if request failed
|
3134
|
+
#
|
3135
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]
|
3136
|
+
#
|
3137
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3138
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3139
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3140
|
+
def list_property_web_data_stream_measurement_protocol_secrets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3141
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/measurementProtocolSecrets', options)
|
3142
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse::Representation
|
3143
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse
|
3144
|
+
command.params['parent'] = parent unless parent.nil?
|
3145
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3146
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3147
|
+
command.query['fields'] = fields unless fields.nil?
|
3148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3149
|
+
execute_or_queue_command(command, &block)
|
3150
|
+
end
|
3151
|
+
|
3152
|
+
# Updates a measurement protocol secret.
|
3153
|
+
# @param [String] name
|
3154
|
+
# Output only. Resource name of this secret. This secret may be a child of any
|
3155
|
+
# type of stream. Format: properties/`property`/webDataStreams/`webDataStream`/
|
3156
|
+
# measurementProtocolSecrets/`measurementProtocolSecret`
|
3157
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3158
|
+
# @param [String] update_mask
|
3159
|
+
# The list of fields to be updated. Omitted fields will not be updated.
|
3160
|
+
# @param [String] fields
|
3161
|
+
# Selector specifying which fields to include in a partial response.
|
3162
|
+
# @param [String] quota_user
|
3163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3165
|
+
# @param [Google::Apis::RequestOptions] options
|
3166
|
+
# Request-specific options
|
3167
|
+
#
|
3168
|
+
# @yield [result, err] Result & error if block supplied
|
3169
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret] parsed result object
|
3170
|
+
# @yieldparam err [StandardError] error object if request failed
|
3171
|
+
#
|
3172
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]
|
3173
|
+
#
|
3174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3177
|
+
def patch_property_web_data_stream_measurement_protocol_secret(name, google_analytics_admin_v1alpha_measurement_protocol_secret_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3178
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3179
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3180
|
+
command.request_object = google_analytics_admin_v1alpha_measurement_protocol_secret_object
|
3181
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret::Representation
|
3182
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
3183
|
+
command.params['name'] = name unless name.nil?
|
3184
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3185
|
+
command.query['fields'] = fields unless fields.nil?
|
3186
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3187
|
+
execute_or_queue_command(command, &block)
|
3188
|
+
end
|
2608
3189
|
|
2609
3190
|
protected
|
2610
3191
|
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticsadmin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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: 2021-05
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Google Analytics Admin API V1alpha.
|
28
34
|
Simple REST clients are Ruby client libraries that provide access to Google services
|
29
35
|
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.11.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-analyticsadmin_v1alpha
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|