google-api-client 0.45.0 → 0.45.1

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.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +56 -0
  3. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  6. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  7. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  8. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  9. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  10. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  11. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  12. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  13. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  14. data/generated/google/apis/apigee_v1.rb +1 -1
  15. data/generated/google/apis/apigee_v1/classes.rb +0 -6
  16. data/generated/google/apis/apigee_v1/representations.rb +0 -1
  17. data/generated/google/apis/apigee_v1/service.rb +1 -5
  18. data/generated/google/apis/appsmarket_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +22 -0
  21. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  22. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  24. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  25. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  26. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  27. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  28. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  29. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  32. data/generated/google/apis/chat_v1.rb +1 -1
  33. data/generated/google/apis/chat_v1/classes.rb +76 -2
  34. data/generated/google/apis/chat_v1/representations.rb +35 -0
  35. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  36. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  37. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  38. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  39. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  40. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  41. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  42. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  43. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -34
  44. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  45. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +185 -0
  47. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  48. data/generated/google/apis/cloudidentity_v1beta1/service.rb +164 -0
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  51. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  53. data/generated/google/apis/content_v2_1.rb +1 -1
  54. data/generated/google/apis/content_v2_1/service.rb +1 -1
  55. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  56. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  57. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
  59. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  60. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  61. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  62. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  63. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  64. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  65. data/generated/google/apis/dialogflow_v2.rb +1 -1
  66. data/generated/google/apis/dialogflow_v2/classes.rb +73 -0
  67. data/generated/google/apis/dialogflow_v2/representations.rb +51 -0
  68. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2beta1/classes.rb +73 -0
  70. data/generated/google/apis/dialogflow_v2beta1/representations.rb +51 -0
  71. data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
  72. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v3beta1/classes.rb +142 -0
  74. data/generated/google/apis/dialogflow_v3beta1/representations.rb +83 -0
  75. data/generated/google/apis/displayvideo_v1.rb +1 -1
  76. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  77. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  78. data/generated/google/apis/dlp_v2.rb +1 -1
  79. data/generated/google/apis/dlp_v2/classes.rb +26 -0
  80. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  81. data/generated/google/apis/dlp_v2/service.rb +328 -328
  82. data/generated/google/apis/firestore_v1.rb +1 -1
  83. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  84. data/generated/google/apis/gmail_v1.rb +1 -1
  85. data/generated/google/apis/gmail_v1/service.rb +1 -1
  86. data/generated/google/apis/healthcare_v1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1/classes.rb +3 -1
  88. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1beta1/classes.rb +1014 -16
  90. data/generated/google/apis/healthcare_v1beta1/representations.rb +453 -0
  91. data/generated/google/apis/healthcare_v1beta1/service.rb +1226 -0
  92. data/generated/google/apis/logging_v2.rb +1 -1
  93. data/generated/google/apis/logging_v2/classes.rb +98 -55
  94. data/generated/google/apis/logging_v2/representations.rb +32 -0
  95. data/generated/google/apis/logging_v2/service.rb +1214 -264
  96. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  97. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  98. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  99. data/generated/google/apis/people_v1.rb +1 -1
  100. data/generated/google/apis/people_v1/service.rb +8 -6
  101. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  102. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  103. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  104. data/generated/google/apis/run_v1.rb +1 -1
  105. data/generated/google/apis/run_v1/classes.rb +0 -124
  106. data/generated/google/apis/run_v1/representations.rb +0 -61
  107. data/generated/google/apis/run_v1/service.rb +0 -342
  108. data/generated/google/apis/searchconsole_v1.rb +7 -1
  109. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  110. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  111. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  112. data/generated/google/apis/securitycenter_v1.rb +1 -1
  113. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  114. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  115. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  116. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  117. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  118. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  119. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  120. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  121. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  122. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -2
  123. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  124. data/generated/google/apis/servicecontrol_v2/classes.rb +1 -2
  125. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  126. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  127. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  128. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  129. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  130. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  131. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  132. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  133. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  134. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  135. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  136. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  137. data/generated/google/apis/sqladmin_v1beta4/classes.rb +83 -52
  138. data/generated/google/apis/sqladmin_v1beta4/representations.rb +33 -17
  139. data/generated/google/apis/storage_v1.rb +1 -1
  140. data/generated/google/apis/sts_v1beta.rb +1 -1
  141. data/generated/google/apis/sts_v1beta/classes.rb +4 -1
  142. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  143. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  144. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  145. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  146. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  147. data/generated/google/apis/youtube_v3.rb +1 -1
  148. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  149. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  150. data/generated/google/apis/youtube_v3/service.rb +2 -2
  151. data/lib/google/apis/version.rb +1 -1
  152. metadata +15 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1529a9fc7f8869be198f4e956cc83975c5e45e03127741d5088839c35186959
4
- data.tar.gz: 8cfcff29dc57b1a14f5efd542ed9c94a2dd5bd87b1376b3c7b69f312ce337fa2
3
+ metadata.gz: 7a8245cc5ac7576b460b1366c4a90a6ca26657ca113b5b5b486bf0436b1fb6b8
4
+ data.tar.gz: f858433514a363b2603e5a9db7baf8b63b5a305db2c375b5230bec1dec1cd87b
5
5
  SHA512:
6
- metadata.gz: 1bc6545c332ee83706ca9e5c39cbacf9f6cddab9ec659edb54c2c8e19d198dd13dfb28e6564be0c60ded7084425df1bc97af905cfb993505c2927bef71f5c9b4
7
- data.tar.gz: ad7fbb9b03fc5b318fcd892b152d20180280f5840fe185964191184700f5e3fd35ff9a1d97d535408c56af686e16f575491ed54d366945f7ebf0bc045cafb8f9
6
+ metadata.gz: 6e3139348e4cea02fb95f645c6aae18d7d8ba3a8f34baee6fc3e9888c387ec3e617ff8118b96a5a97cb28206bf267b74a578d2145ce23938a5fa56d151075033
7
+ data.tar.gz: acda1f83a9cbd2b6473294ce49d490415e353bc434eee5a3c47330cca785838ad412be70725c862e6348bcaa2634db4351e3c137de77023ff1063fd0f168d46e
@@ -1,3 +1,59 @@
1
+ # 0.45.1
2
+ * Backwards compatible changes:
3
+ * Added `analyticsadmin_v1alpha`
4
+ * Added `apigateway_v1alpha2`
5
+ * Added `smartdevicemanagement_v1`
6
+ * Updated `acceleratedmobilepageurl_v1`
7
+ * Updated `apigee_v1`
8
+ * Updated `appsmarket_v2`
9
+ * Updated `bigquery_v2`
10
+ * Updated `binaryauthorization_v1`
11
+ * Updated `binaryauthorization_v1beta1`
12
+ * Updated `calendar_v3`
13
+ * Updated `chat_v1`
14
+ * Updated `cloudbuild_v1`
15
+ * Updated `cloudfunctions_v1`
16
+ * Updated `cloudidentity_v1`
17
+ * Updated `cloudidentity_v1beta1`
18
+ * Updated `cloudresourcemanager_v1`
19
+ * Updated `cloudresourcemanager_v1beta1`
20
+ * Updated `content_v2_1`
21
+ * Updated `datacatalog_v1beta1`
22
+ * Updated `dataflow_v1b3`
23
+ * Updated `dfareporting_v3_3`
24
+ * Updated `dfareporting_v3_4`
25
+ * Updated `dialogflow_v2`
26
+ * Updated `dialogflow_v2beta1`
27
+ * Updated `dialogflow_v3beta1`
28
+ * Updated `displayvideo_v1`
29
+ * Updated `dlp_v2`
30
+ * Updated `firestore_v1`
31
+ * Updated `firestore_v1beta1`
32
+ * Updated `gmail_v1`
33
+ * Updated `healthcare_v1`
34
+ * Updated `healthcare_v1beta1`
35
+ * Updated `logging_v2`
36
+ * Updated `oslogin_v1alpha`
37
+ * Updated `people_v1`
38
+ * Updated `realtimebidding_v1`
39
+ * Updated `run_v1`
40
+ * Updated `searchconsole_v1`
41
+ * Updated `securitycenter_v1`
42
+ * Updated `securitycenter_v1beta1`
43
+ * Updated `securitycenter_v1beta2`
44
+ * Updated `servicecontrol_v1`
45
+ * Updated `servicecontrol_v2`
46
+ * Updated `servicemanagement_v1`
47
+ * Updated `sourcerepo_v1`
48
+ * Updated `sqladmin_v1beta4`
49
+ * Updated `storage_v1`
50
+ * Updated `sts_v1beta`
51
+ * Updated `websecurityscanner_v1`
52
+ * Updated `websecurityscanner_v1beta`
53
+ * Updated `workflowexecutions_v1beta`
54
+ * Updated `youtube_partner_v1`
55
+ * Updated `youtube_v3`
56
+
1
57
  # 0.45.0
2
58
  * Breaking changes:
3
59
  * Deleted `plus_v1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/amp/cache/
27
27
  module AcceleratedmobilepageurlV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200215'
29
+ REVISION = '20200916'
30
30
  end
31
31
  end
32
32
  end
@@ -31,8 +31,8 @@ module Google
31
31
  # @return [String]
32
32
  attr_accessor :amp_url
33
33
 
34
- # The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to
35
- # the cached document in the Google AMP Cache.
34
+ # The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to the
35
+ # cached document in the Google AMP Cache.
36
36
  # Corresponds to the JSON property `cdnAmpUrl`
37
37
  # @return [String]
38
38
  attr_accessor :cdn_amp_url
@@ -94,9 +94,8 @@ module Google
94
94
  # @return [String]
95
95
  attr_accessor :lookup_strategy
96
96
 
97
- # List of URLs to look up for the paired AMP URLs.
98
- # The URLs are case-sensitive. Up to 50 URLs per lookup
99
- # (see [Usage Limits](/amp/cache/reference/limits)).
97
+ # List of URLs to look up for the paired AMP URLs. The URLs are case-sensitive.
98
+ # Up to 50 URLs per lookup (see [Usage Limits](/amp/cache/reference/limits)).
100
99
  # Corresponds to the JSON property `urls`
101
100
  # @return [Array<String>]
102
101
  attr_accessor :urls
@@ -116,10 +115,9 @@ module Google
116
115
  class BatchGetAmpUrlsResponse
117
116
  include Google::Apis::Core::Hashable
118
117
 
119
- # For each URL in BatchAmpUrlsRequest, the URL response. The response might
120
- # not be in the same order as URLs in the batch request.
121
- # If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated
122
- # only once.
118
+ # For each URL in BatchAmpUrlsRequest, the URL response. The response might not
119
+ # be in the same order as URLs in the batch request. If BatchAmpUrlsRequest
120
+ # contains duplicate URLs, AmpUrl is generated only once.
123
121
  # Corresponds to the JSON property `ampUrls`
124
122
  # @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrl>]
125
123
  attr_accessor :amp_urls
@@ -48,8 +48,8 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Returns AMP URL(s) and equivalent
52
- # [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).
51
+ # Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-
52
+ # cache-url-format).
53
53
  # @param [Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest] batch_get_amp_urls_request_object
54
54
  # @param [String] fields
55
55
  # Selector specifying which fields to include in a partial response.
@@ -0,0 +1,43 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/analyticsadmin_v1alpha/service.rb'
16
+ require 'google/apis/analyticsadmin_v1alpha/classes.rb'
17
+ require 'google/apis/analyticsadmin_v1alpha/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Analytics Admin API
22
+ #
23
+ #
24
+ #
25
+ # @see http://code.google.com/apis/analytics/docs/mgmt/home.html
26
+ module AnalyticsadminV1alpha
27
+ VERSION = 'V1alpha'
28
+ REVISION = '20200924'
29
+
30
+ # Edit Google Analytics management entities
31
+ AUTH_ANALYTICS_EDIT = 'https://www.googleapis.com/auth/analytics.edit'
32
+
33
+ # Manage Google Analytics Account users by email address
34
+ AUTH_ANALYTICS_MANAGE_USERS = 'https://www.googleapis.com/auth/analytics.manage.users'
35
+
36
+ # View Google Analytics user permissions
37
+ AUTH_ANALYTICS_MANAGE_USERS_READONLY = 'https://www.googleapis.com/auth/analytics.manage.users.readonly'
38
+
39
+ # View your Google Analytics data
40
+ AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,1361 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AnalyticsadminV1alpha
24
+
25
+ # A resource message representing a Google Analytics account.
26
+ class GoogleAnalyticsAdminV1alphaAccount
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Country of business. Must be a non-deprecated code for a UN M.49 region. https:
30
+ # //unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.
31
+ # html
32
+ # Corresponds to the JSON property `countryCode`
33
+ # @return [String]
34
+ attr_accessor :country_code
35
+
36
+ # Output only. Time when this account was originally created.
37
+ # Corresponds to the JSON property `createTime`
38
+ # @return [String]
39
+ attr_accessor :create_time
40
+
41
+ # Output only. Indicates whether this Account is soft-deleted or not. Deleted
42
+ # accounts are excluded from List results unless specifically requested.
43
+ # Corresponds to the JSON property `deleted`
44
+ # @return [Boolean]
45
+ attr_accessor :deleted
46
+ alias_method :deleted?, :deleted
47
+
48
+ # Required. Human-readable display name for this account.
49
+ # Corresponds to the JSON property `displayName`
50
+ # @return [String]
51
+ attr_accessor :display_name
52
+
53
+ # Output only. Resource name of this account. Format: accounts/`account` Example:
54
+ # "accounts/100"
55
+ # Corresponds to the JSON property `name`
56
+ # @return [String]
57
+ attr_accessor :name
58
+
59
+ # Output only. Time when account payload fields were last updated.
60
+ # Corresponds to the JSON property `updateTime`
61
+ # @return [String]
62
+ attr_accessor :update_time
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @country_code = args[:country_code] if args.key?(:country_code)
71
+ @create_time = args[:create_time] if args.key?(:create_time)
72
+ @deleted = args[:deleted] if args.key?(:deleted)
73
+ @display_name = args[:display_name] if args.key?(:display_name)
74
+ @name = args[:name] if args.key?(:name)
75
+ @update_time = args[:update_time] if args.key?(:update_time)
76
+ end
77
+ end
78
+
79
+ # A virtual resource representing an overview of an account and all its child
80
+ # App+Web properties.
81
+ class GoogleAnalyticsAdminV1alphaAccountSummary
82
+ include Google::Apis::Core::Hashable
83
+
84
+ # Resource name of account referred to by this account summary Format: accounts/`
85
+ # account_id` Example: "accounts/1000"
86
+ # Corresponds to the JSON property `account`
87
+ # @return [String]
88
+ attr_accessor :account
89
+
90
+ # Display name for the account referred to in this account summary.
91
+ # Corresponds to the JSON property `displayName`
92
+ # @return [String]
93
+ attr_accessor :display_name
94
+
95
+ # Resource name for this account summary. Format: accountSummaries/`account_id`
96
+ # Example: "accountSummaries/1000"
97
+ # Corresponds to the JSON property `name`
98
+ # @return [String]
99
+ attr_accessor :name
100
+
101
+ # List of summaries for child accounts of this account.
102
+ # Corresponds to the JSON property `propertySummaries`
103
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary>]
104
+ attr_accessor :property_summaries
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @account = args[:account] if args.key?(:account)
113
+ @display_name = args[:display_name] if args.key?(:display_name)
114
+ @name = args[:name] if args.key?(:name)
115
+ @property_summaries = args[:property_summaries] if args.key?(:property_summaries)
116
+ end
117
+ end
118
+
119
+ # A resource message representing a Google Analytics Android app stream.
120
+ class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
121
+ include Google::Apis::Core::Hashable
122
+
123
+ # Output only. Time when this stream was originally created.
124
+ # Corresponds to the JSON property `createTime`
125
+ # @return [String]
126
+ attr_accessor :create_time
127
+
128
+ # Human-readable display name for the Data Stream. The max allowed display name
129
+ # length is 255 UTF-16 code units.
130
+ # Corresponds to the JSON property `displayName`
131
+ # @return [String]
132
+ attr_accessor :display_name
133
+
134
+ # Output only. ID of the corresponding Android app in Firebase, if any. This ID
135
+ # can change if the Android app is deleted and recreated.
136
+ # Corresponds to the JSON property `firebaseAppId`
137
+ # @return [String]
138
+ attr_accessor :firebase_app_id
139
+
140
+ # Output only. Resource name of this Data Stream. Format: properties/`
141
+ # property_id`/androidAppDataStreams/`stream_id` Example: "properties/1000/
142
+ # androidAppDataStreams/2000"
143
+ # Corresponds to the JSON property `name`
144
+ # @return [String]
145
+ attr_accessor :name
146
+
147
+ # Immutable. The package name for the app being measured. Example: "com.example.
148
+ # myandroidapp"
149
+ # Corresponds to the JSON property `packageName`
150
+ # @return [String]
151
+ attr_accessor :package_name
152
+
153
+ # Output only. Time when stream payload fields were last updated.
154
+ # Corresponds to the JSON property `updateTime`
155
+ # @return [String]
156
+ attr_accessor :update_time
157
+
158
+ def initialize(**args)
159
+ update!(**args)
160
+ end
161
+
162
+ # Update properties of this object
163
+ def update!(**args)
164
+ @create_time = args[:create_time] if args.key?(:create_time)
165
+ @display_name = args[:display_name] if args.key?(:display_name)
166
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
167
+ @name = args[:name] if args.key?(:name)
168
+ @package_name = args[:package_name] if args.key?(:package_name)
169
+ @update_time = args[:update_time] if args.key?(:update_time)
170
+ end
171
+ end
172
+
173
+ # Read-only resource used to summarize a principal's effective roles.
174
+ class GoogleAnalyticsAdminV1alphaAuditUserLink
175
+ include Google::Apis::Core::Hashable
176
+
177
+ # Roles directly assigned to this user for this entity. Format: predefinedRoles/
178
+ # read Excludes roles that are inherited from an account (if this is for a
179
+ # property), group, or organization admin role.
180
+ # Corresponds to the JSON property `directRoles`
181
+ # @return [Array<String>]
182
+ attr_accessor :direct_roles
183
+
184
+ # Union of all permissions a user has at this account or property (includes
185
+ # direct permissions, group-inherited permissions, etc.). Format:
186
+ # predefinedRoles/read
187
+ # Corresponds to the JSON property `effectiveRoles`
188
+ # @return [Array<String>]
189
+ attr_accessor :effective_roles
190
+
191
+ # Email address of the linked user
192
+ # Corresponds to the JSON property `emailAddress`
193
+ # @return [String]
194
+ attr_accessor :email_address
195
+
196
+ # Example format: properties/1234/userLinks/5678
197
+ # Corresponds to the JSON property `name`
198
+ # @return [String]
199
+ attr_accessor :name
200
+
201
+ def initialize(**args)
202
+ update!(**args)
203
+ end
204
+
205
+ # Update properties of this object
206
+ def update!(**args)
207
+ @direct_roles = args[:direct_roles] if args.key?(:direct_roles)
208
+ @effective_roles = args[:effective_roles] if args.key?(:effective_roles)
209
+ @email_address = args[:email_address] if args.key?(:email_address)
210
+ @name = args[:name] if args.key?(:name)
211
+ end
212
+ end
213
+
214
+ # Request message for AuditUserLinks RPC.
215
+ class GoogleAnalyticsAdminV1alphaAuditUserLinksRequest
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # The maximum number of user links to return. The service may return fewer than
219
+ # this value. If unspecified, at most 1000 user links will be returned. The
220
+ # maximum value is 5000; values above 5000 will be coerced to 5000.
221
+ # Corresponds to the JSON property `pageSize`
222
+ # @return [Fixnum]
223
+ attr_accessor :page_size
224
+
225
+ # A page token, received from a previous `AuditUserLinks` call. Provide this to
226
+ # retrieve the subsequent page. When paginating, all other parameters provided
227
+ # to `AuditUserLinks` must match the call that provided the page token.
228
+ # Corresponds to the JSON property `pageToken`
229
+ # @return [String]
230
+ attr_accessor :page_token
231
+
232
+ def initialize(**args)
233
+ update!(**args)
234
+ end
235
+
236
+ # Update properties of this object
237
+ def update!(**args)
238
+ @page_size = args[:page_size] if args.key?(:page_size)
239
+ @page_token = args[:page_token] if args.key?(:page_token)
240
+ end
241
+ end
242
+
243
+ # Response message for AuditUserLinks RPC.
244
+ class GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
245
+ include Google::Apis::Core::Hashable
246
+
247
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
248
+ # field is omitted, there are no subsequent pages.
249
+ # Corresponds to the JSON property `nextPageToken`
250
+ # @return [String]
251
+ attr_accessor :next_page_token
252
+
253
+ # List of AuditUserLinks. These will be ordered stably, but in an arbitrary
254
+ # order.
255
+ # Corresponds to the JSON property `userLinks`
256
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink>]
257
+ attr_accessor :user_links
258
+
259
+ def initialize(**args)
260
+ update!(**args)
261
+ end
262
+
263
+ # Update properties of this object
264
+ def update!(**args)
265
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
266
+ @user_links = args[:user_links] if args.key?(:user_links)
267
+ end
268
+ end
269
+
270
+ # Request message for BatchCreateUserLinks RPC.
271
+ class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
272
+ include Google::Apis::Core::Hashable
273
+
274
+ # Optional. If notify_new_users is set, then email new users that they've been
275
+ # given permissions on the resource.
276
+ # Corresponds to the JSON property `notifyNewUsers`
277
+ # @return [Boolean]
278
+ attr_accessor :notify_new_users
279
+ alias_method :notify_new_users?, :notify_new_users
280
+
281
+ # The requests specifying the user links to create. A maximum of 1000 user links
282
+ # can be created in a batch.
283
+ # Corresponds to the JSON property `requests`
284
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest>]
285
+ attr_accessor :requests
286
+
287
+ def initialize(**args)
288
+ update!(**args)
289
+ end
290
+
291
+ # Update properties of this object
292
+ def update!(**args)
293
+ @notify_new_users = args[:notify_new_users] if args.key?(:notify_new_users)
294
+ @requests = args[:requests] if args.key?(:requests)
295
+ end
296
+ end
297
+
298
+ # Response message for BatchCreateUserLinks RPC.
299
+ class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # The user links created.
303
+ # Corresponds to the JSON property `userLinks`
304
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
305
+ attr_accessor :user_links
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @user_links = args[:user_links] if args.key?(:user_links)
314
+ end
315
+ end
316
+
317
+ # Request message for BatchDeleteUserLinks RPC.
318
+ class GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # The requests specifying the user links to update. A maximum of 1000 user links
322
+ # can be updated in a batch.
323
+ # Corresponds to the JSON property `requests`
324
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest>]
325
+ attr_accessor :requests
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @requests = args[:requests] if args.key?(:requests)
334
+ end
335
+ end
336
+
337
+ # Response message for BatchGetUserLinks RPC.
338
+ class GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
339
+ include Google::Apis::Core::Hashable
340
+
341
+ # The requested user links.
342
+ # Corresponds to the JSON property `userLinks`
343
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
344
+ attr_accessor :user_links
345
+
346
+ def initialize(**args)
347
+ update!(**args)
348
+ end
349
+
350
+ # Update properties of this object
351
+ def update!(**args)
352
+ @user_links = args[:user_links] if args.key?(:user_links)
353
+ end
354
+ end
355
+
356
+ # Request message for BatchUpdateUserLinks RPC.
357
+ class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest
358
+ include Google::Apis::Core::Hashable
359
+
360
+ # The requests specifying the user links to update. A maximum of 1000 user links
361
+ # can be updated in a batch.
362
+ # Corresponds to the JSON property `requests`
363
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest>]
364
+ attr_accessor :requests
365
+
366
+ def initialize(**args)
367
+ update!(**args)
368
+ end
369
+
370
+ # Update properties of this object
371
+ def update!(**args)
372
+ @requests = args[:requests] if args.key?(:requests)
373
+ end
374
+ end
375
+
376
+ # Response message for BatchUpdateUserLinks RPC.
377
+ class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # The user links updated.
381
+ # Corresponds to the JSON property `userLinks`
382
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
383
+ attr_accessor :user_links
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @user_links = args[:user_links] if args.key?(:user_links)
392
+ end
393
+ end
394
+
395
+ # Request message for CreateUserLink RPC. Users can have multiple email
396
+ # addresses associated with their Google account, and one of these email
397
+ # addresses is the "primary" email address. Any of the email addresses
398
+ # associated with a Google account may be used for a new UserLink, but the
399
+ # returned UserLink will always contain the "primary" email address. As a result,
400
+ # the input and output email address for this request may differ.
401
+ class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
402
+ include Google::Apis::Core::Hashable
403
+
404
+ # Optional. If notify_new_user is set, then email new user that they've been
405
+ # given permissions on the resource.
406
+ # Corresponds to the JSON property `notifyNewUser`
407
+ # @return [Boolean]
408
+ attr_accessor :notify_new_user
409
+ alias_method :notify_new_user?, :notify_new_user
410
+
411
+ # Required. Example format: accounts/1234
412
+ # Corresponds to the JSON property `parent`
413
+ # @return [String]
414
+ attr_accessor :parent
415
+
416
+ # A resource message representing a user's permissions on an Account or Property
417
+ # resource.
418
+ # Corresponds to the JSON property `userLink`
419
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
420
+ attr_accessor :user_link
421
+
422
+ def initialize(**args)
423
+ update!(**args)
424
+ end
425
+
426
+ # Update properties of this object
427
+ def update!(**args)
428
+ @notify_new_user = args[:notify_new_user] if args.key?(:notify_new_user)
429
+ @parent = args[:parent] if args.key?(:parent)
430
+ @user_link = args[:user_link] if args.key?(:user_link)
431
+ end
432
+ end
433
+
434
+ # A resource message representing data sharing settings of a Google Analytics
435
+ # account.
436
+ class GoogleAnalyticsAdminV1alphaDataSharingSettings
437
+ include Google::Apis::Core::Hashable
438
+
439
+ # Output only. Resource name. Format: accounts/`account`/dataSharingSettings
440
+ # Example: "accounts/1000/dataSharingSettings"
441
+ # Corresponds to the JSON property `name`
442
+ # @return [String]
443
+ attr_accessor :name
444
+
445
+ # Allows any of Google sales to access the data in order to suggest
446
+ # configuration changes to improve results.
447
+ # Corresponds to the JSON property `sharingWithGoogleAnySalesEnabled`
448
+ # @return [Boolean]
449
+ attr_accessor :sharing_with_google_any_sales_enabled
450
+ alias_method :sharing_with_google_any_sales_enabled?, :sharing_with_google_any_sales_enabled
451
+
452
+ # Allows Google sales teams that are assigned to the customer to access the data
453
+ # in order to suggest configuration changes to improve results. Sales team
454
+ # restrictions still apply when enabled.
455
+ # Corresponds to the JSON property `sharingWithGoogleAssignedSalesEnabled`
456
+ # @return [Boolean]
457
+ attr_accessor :sharing_with_google_assigned_sales_enabled
458
+ alias_method :sharing_with_google_assigned_sales_enabled?, :sharing_with_google_assigned_sales_enabled
459
+
460
+ # Allows Google to use the data to improve other Google products or services.
461
+ # Corresponds to the JSON property `sharingWithGoogleProductsEnabled`
462
+ # @return [Boolean]
463
+ attr_accessor :sharing_with_google_products_enabled
464
+ alias_method :sharing_with_google_products_enabled?, :sharing_with_google_products_enabled
465
+
466
+ # Allows Google support to access the data in order to help troubleshoot issues.
467
+ # Corresponds to the JSON property `sharingWithGoogleSupportEnabled`
468
+ # @return [Boolean]
469
+ attr_accessor :sharing_with_google_support_enabled
470
+ alias_method :sharing_with_google_support_enabled?, :sharing_with_google_support_enabled
471
+
472
+ # Allows Google to share the data anonymously in aggregate form with others.
473
+ # Corresponds to the JSON property `sharingWithOthersEnabled`
474
+ # @return [Boolean]
475
+ attr_accessor :sharing_with_others_enabled
476
+ alias_method :sharing_with_others_enabled?, :sharing_with_others_enabled
477
+
478
+ def initialize(**args)
479
+ update!(**args)
480
+ end
481
+
482
+ # Update properties of this object
483
+ def update!(**args)
484
+ @name = args[:name] if args.key?(:name)
485
+ @sharing_with_google_any_sales_enabled = args[:sharing_with_google_any_sales_enabled] if args.key?(:sharing_with_google_any_sales_enabled)
486
+ @sharing_with_google_assigned_sales_enabled = args[:sharing_with_google_assigned_sales_enabled] if args.key?(:sharing_with_google_assigned_sales_enabled)
487
+ @sharing_with_google_products_enabled = args[:sharing_with_google_products_enabled] if args.key?(:sharing_with_google_products_enabled)
488
+ @sharing_with_google_support_enabled = args[:sharing_with_google_support_enabled] if args.key?(:sharing_with_google_support_enabled)
489
+ @sharing_with_others_enabled = args[:sharing_with_others_enabled] if args.key?(:sharing_with_others_enabled)
490
+ end
491
+ end
492
+
493
+ # Request message for DeleteUserLink RPC.
494
+ class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
495
+ include Google::Apis::Core::Hashable
496
+
497
+ # Required. Example format: accounts/1234/userLinks/5678
498
+ # Corresponds to the JSON property `name`
499
+ # @return [String]
500
+ attr_accessor :name
501
+
502
+ def initialize(**args)
503
+ update!(**args)
504
+ end
505
+
506
+ # Update properties of this object
507
+ def update!(**args)
508
+ @name = args[:name] if args.key?(:name)
509
+ end
510
+ end
511
+
512
+ # Singleton resource under a WebDataStream, configuring measurement of
513
+ # additional site interactions and content.
514
+ class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # Capture events when your visitors view content on your site that has articles
518
+ # or blog posts.
519
+ # Corresponds to the JSON property `articlesAndBlogsEnabled`
520
+ # @return [Boolean]
521
+ attr_accessor :articles_and_blogs_enabled
522
+ alias_method :articles_and_blogs_enabled?, :articles_and_blogs_enabled
523
+
524
+ # Capture events when your visitors view content on your site that has
525
+ # structured data (eg, articles, blog posts, product details screens, etc.).
526
+ # Corresponds to the JSON property `contentViewsEnabled`
527
+ # @return [Boolean]
528
+ attr_accessor :content_views_enabled
529
+ alias_method :content_views_enabled?, :content_views_enabled
530
+
531
+ # If enabled, capture a click event each time a visitor clicks a link or element
532
+ # that has data attributes beginning with "data-ga".
533
+ # Corresponds to the JSON property `dataTaggedElementClicksEnabled`
534
+ # @return [Boolean]
535
+ attr_accessor :data_tagged_element_clicks_enabled
536
+ alias_method :data_tagged_element_clicks_enabled?, :data_tagged_element_clicks_enabled
537
+
538
+ # Domains to exclude from measurement. Max length is 1024 characters.
539
+ # Corresponds to the JSON property `excludedDomains`
540
+ # @return [String]
541
+ attr_accessor :excluded_domains
542
+
543
+ # If enabled, capture a file download event each time a link is clicked with a
544
+ # common document, compressed file, application, video, or audio extension.
545
+ # Corresponds to the JSON property `fileDownloadsEnabled`
546
+ # @return [Boolean]
547
+ attr_accessor :file_downloads_enabled
548
+ alias_method :file_downloads_enabled?, :file_downloads_enabled
549
+
550
+ # If enabled, capture a view search results event each time a visitor interacts
551
+ # with a form on your site.
552
+ # Corresponds to the JSON property `formInteractionsEnabled`
553
+ # @return [Boolean]
554
+ attr_accessor :form_interactions_enabled
555
+ alias_method :form_interactions_enabled?, :form_interactions_enabled
556
+
557
+ # Output only. Resource name of this Data Stream. Format: properties/`
558
+ # property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
559
+ # properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
560
+ # Corresponds to the JSON property `name`
561
+ # @return [String]
562
+ attr_accessor :name
563
+
564
+ # If enabled, capture an outbound click event each time a visitor clicks a link
565
+ # that leads them away from your domain.
566
+ # Corresponds to the JSON property `outboundClicksEnabled`
567
+ # @return [Boolean]
568
+ attr_accessor :outbound_clicks_enabled
569
+ alias_method :outbound_clicks_enabled?, :outbound_clicks_enabled
570
+
571
+ # If enabled, capture a page view event each time the website changes the
572
+ # browser history state.
573
+ # Corresponds to the JSON property `pageChangesEnabled`
574
+ # @return [Boolean]
575
+ attr_accessor :page_changes_enabled
576
+ alias_method :page_changes_enabled?, :page_changes_enabled
577
+
578
+ # If enabled, capture a page view event each time a page loads.
579
+ # Corresponds to the JSON property `pageLoadsEnabled`
580
+ # @return [Boolean]
581
+ attr_accessor :page_loads_enabled
582
+ alias_method :page_loads_enabled?, :page_loads_enabled
583
+
584
+ # Output only. If enabled, capture a page view event each time a page loads or
585
+ # the website changes the browser history state.
586
+ # Corresponds to the JSON property `pageViewsEnabled`
587
+ # @return [Boolean]
588
+ attr_accessor :page_views_enabled
589
+ alias_method :page_views_enabled?, :page_views_enabled
590
+
591
+ # Capture events when your visitors view content on your site that has product
592
+ # details screens, etc.
593
+ # Corresponds to the JSON property `productsAndEcommerceEnabled`
594
+ # @return [Boolean]
595
+ attr_accessor :products_and_ecommerce_enabled
596
+ alias_method :products_and_ecommerce_enabled?, :products_and_ecommerce_enabled
597
+
598
+ # If enabled, capture scroll events each time a visitor gets to the bottom of a
599
+ # page.
600
+ # Corresponds to the JSON property `scrollsEnabled`
601
+ # @return [Boolean]
602
+ attr_accessor :scrolls_enabled
603
+ alias_method :scrolls_enabled?, :scrolls_enabled
604
+
605
+ # Required. URL query parameters to interpret as site search parameters. Max
606
+ # length is 1024 characters. Must not be empty.
607
+ # Corresponds to the JSON property `searchQueryParameter`
608
+ # @return [String]
609
+ attr_accessor :search_query_parameter
610
+
611
+ # If enabled, capture a view search results event each time a visitor performs a
612
+ # search on your site (based on a query parameter).
613
+ # Corresponds to the JSON property `siteSearchEnabled`
614
+ # @return [Boolean]
615
+ attr_accessor :site_search_enabled
616
+ alias_method :site_search_enabled?, :site_search_enabled
617
+
618
+ # Indicates whether Enhanced Measurement Settings will be used to automatically
619
+ # measure interactions and content on this web stream. Changing this value does
620
+ # not affect the settings themselves, but determines whether they are respected.
621
+ # Corresponds to the JSON property `streamEnabled`
622
+ # @return [Boolean]
623
+ attr_accessor :stream_enabled
624
+ alias_method :stream_enabled?, :stream_enabled
625
+
626
+ # Additional URL query parameters. Max length is 1024 characters.
627
+ # Corresponds to the JSON property `urlQueryParameter`
628
+ # @return [String]
629
+ attr_accessor :url_query_parameter
630
+
631
+ # If enabled, capture video play, progress, and complete events as visitors view
632
+ # embedded videos on your site.
633
+ # Corresponds to the JSON property `videoEngagementEnabled`
634
+ # @return [Boolean]
635
+ attr_accessor :video_engagement_enabled
636
+ alias_method :video_engagement_enabled?, :video_engagement_enabled
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @articles_and_blogs_enabled = args[:articles_and_blogs_enabled] if args.key?(:articles_and_blogs_enabled)
645
+ @content_views_enabled = args[:content_views_enabled] if args.key?(:content_views_enabled)
646
+ @data_tagged_element_clicks_enabled = args[:data_tagged_element_clicks_enabled] if args.key?(:data_tagged_element_clicks_enabled)
647
+ @excluded_domains = args[:excluded_domains] if args.key?(:excluded_domains)
648
+ @file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
649
+ @form_interactions_enabled = args[:form_interactions_enabled] if args.key?(:form_interactions_enabled)
650
+ @name = args[:name] if args.key?(:name)
651
+ @outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
652
+ @page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
653
+ @page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
654
+ @page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
655
+ @products_and_ecommerce_enabled = args[:products_and_ecommerce_enabled] if args.key?(:products_and_ecommerce_enabled)
656
+ @scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
657
+ @search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
658
+ @site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
659
+ @stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
660
+ @url_query_parameter = args[:url_query_parameter] if args.key?(:url_query_parameter)
661
+ @video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
662
+ end
663
+ end
664
+
665
+ # A link between an App+Web property and a Firebase project.
666
+ class GoogleAnalyticsAdminV1alphaFirebaseLink
667
+ include Google::Apis::Core::Hashable
668
+
669
+ # Output only. Time when this FirebaseLink was originally created.
670
+ # Corresponds to the JSON property `createTime`
671
+ # @return [String]
672
+ attr_accessor :create_time
673
+
674
+ # Maximum user access to the App + Web property allowed to admins of the linked
675
+ # Firebase project.
676
+ # Corresponds to the JSON property `maximumUserAccess`
677
+ # @return [String]
678
+ attr_accessor :maximum_user_access
679
+
680
+ # Output only. Example format: properties/1234/firebaseLinks/5678
681
+ # Corresponds to the JSON property `name`
682
+ # @return [String]
683
+ attr_accessor :name
684
+
685
+ # Immutable. Firebase project resource name. When creating a FirebaseLink, you
686
+ # may provide this resource name using either a project number or project ID.
687
+ # Once this resource has been created, returned FirebaseLinks will always have a
688
+ # project_name that contains a project number. Format: 'projects/`project number`
689
+ # ' Example: 'projects/1234'
690
+ # Corresponds to the JSON property `project`
691
+ # @return [String]
692
+ attr_accessor :project
693
+
694
+ def initialize(**args)
695
+ update!(**args)
696
+ end
697
+
698
+ # Update properties of this object
699
+ def update!(**args)
700
+ @create_time = args[:create_time] if args.key?(:create_time)
701
+ @maximum_user_access = args[:maximum_user_access] if args.key?(:maximum_user_access)
702
+ @name = args[:name] if args.key?(:name)
703
+ @project = args[:project] if args.key?(:project)
704
+ end
705
+ end
706
+
707
+ # Read-only resource with the tag for sending data from a website to a
708
+ # WebDataStream.
709
+ class GoogleAnalyticsAdminV1alphaGlobalSiteTag
710
+ include Google::Apis::Core::Hashable
711
+
712
+ # Immutable. JavaScript code snippet to be pasted as the first item into the
713
+ # head tag of every webpage to measure.
714
+ # Corresponds to the JSON property `snippet`
715
+ # @return [String]
716
+ attr_accessor :snippet
717
+
718
+ def initialize(**args)
719
+ update!(**args)
720
+ end
721
+
722
+ # Update properties of this object
723
+ def update!(**args)
724
+ @snippet = args[:snippet] if args.key?(:snippet)
725
+ end
726
+ end
727
+
728
+ # A link between an App+Web property and a Google Ads account.
729
+ class GoogleAnalyticsAdminV1alphaGoogleAdsLink
730
+ include Google::Apis::Core::Hashable
731
+
732
+ # Enable personalized advertising features with this integration. Automatically
733
+ # publish my Google Analytics audience lists and Google Analytics remarketing
734
+ # events/parameters to the linked Google Ads account. If this field is not set
735
+ # on create/update it will be defaulted to true.
736
+ # Corresponds to the JSON property `adsPersonalizationEnabled`
737
+ # @return [Boolean]
738
+ attr_accessor :ads_personalization_enabled
739
+ alias_method :ads_personalization_enabled?, :ads_personalization_enabled
740
+
741
+ # Output only. If true, this link is for a Google Ads manager account.
742
+ # Corresponds to the JSON property `canManageClients`
743
+ # @return [Boolean]
744
+ attr_accessor :can_manage_clients
745
+ alias_method :can_manage_clients?, :can_manage_clients
746
+
747
+ # Output only. Time when this link was originally created.
748
+ # Corresponds to the JSON property `createTime`
749
+ # @return [String]
750
+ attr_accessor :create_time
751
+
752
+ # Immutable. Google Ads customer ID.
753
+ # Corresponds to the JSON property `customerId`
754
+ # @return [String]
755
+ attr_accessor :customer_id
756
+
757
+ # Output only. Email address of the user that created the link. An empty string
758
+ # will be returned if the email address can't be retrieved.
759
+ # Corresponds to the JSON property `emailAddress`
760
+ # @return [String]
761
+ attr_accessor :email_address
762
+
763
+ # Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
764
+ # Note: googleAdsLinkId is not the Google Ads customer ID.
765
+ # Corresponds to the JSON property `name`
766
+ # @return [String]
767
+ attr_accessor :name
768
+
769
+ # Immutable. Format: properties/`propertyId`
770
+ # Corresponds to the JSON property `parent`
771
+ # @return [String]
772
+ attr_accessor :parent
773
+
774
+ # Output only. Time when this link was last updated.
775
+ # Corresponds to the JSON property `updateTime`
776
+ # @return [String]
777
+ attr_accessor :update_time
778
+
779
+ def initialize(**args)
780
+ update!(**args)
781
+ end
782
+
783
+ # Update properties of this object
784
+ def update!(**args)
785
+ @ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled)
786
+ @can_manage_clients = args[:can_manage_clients] if args.key?(:can_manage_clients)
787
+ @create_time = args[:create_time] if args.key?(:create_time)
788
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
789
+ @email_address = args[:email_address] if args.key?(:email_address)
790
+ @name = args[:name] if args.key?(:name)
791
+ @parent = args[:parent] if args.key?(:parent)
792
+ @update_time = args[:update_time] if args.key?(:update_time)
793
+ end
794
+ end
795
+
796
+ # A resource message representing a Google Analytics IOS app stream.
797
+ class GoogleAnalyticsAdminV1alphaIosAppDataStream
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # Required. Immutable. The Apple App Store Bundle ID for the app Example: "com.
801
+ # example.myiosapp"
802
+ # Corresponds to the JSON property `bundleId`
803
+ # @return [String]
804
+ attr_accessor :bundle_id
805
+
806
+ # Output only. Time when this stream was originally created.
807
+ # Corresponds to the JSON property `createTime`
808
+ # @return [String]
809
+ attr_accessor :create_time
810
+
811
+ # Human-readable display name for the Data Stream. The max allowed display name
812
+ # length is 255 UTF-16 code units.
813
+ # Corresponds to the JSON property `displayName`
814
+ # @return [String]
815
+ attr_accessor :display_name
816
+
817
+ # Output only. ID of the corresponding iOS app in Firebase, if any. This ID can
818
+ # change if the iOS app is deleted and recreated.
819
+ # Corresponds to the JSON property `firebaseAppId`
820
+ # @return [String]
821
+ attr_accessor :firebase_app_id
822
+
823
+ # Output only. Resource name of this Data Stream. Format: properties/`
824
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
825
+ # iosAppDataStreams/2000"
826
+ # Corresponds to the JSON property `name`
827
+ # @return [String]
828
+ attr_accessor :name
829
+
830
+ # Output only. Time when stream payload fields were last updated.
831
+ # Corresponds to the JSON property `updateTime`
832
+ # @return [String]
833
+ attr_accessor :update_time
834
+
835
+ def initialize(**args)
836
+ update!(**args)
837
+ end
838
+
839
+ # Update properties of this object
840
+ def update!(**args)
841
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
842
+ @create_time = args[:create_time] if args.key?(:create_time)
843
+ @display_name = args[:display_name] if args.key?(:display_name)
844
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
845
+ @name = args[:name] if args.key?(:name)
846
+ @update_time = args[:update_time] if args.key?(:update_time)
847
+ end
848
+ end
849
+
850
+ # Response message for ListAccountSummaries RPC.
851
+ class GoogleAnalyticsAdminV1alphaListAccountSummariesResponse
852
+ include Google::Apis::Core::Hashable
853
+
854
+ # Account summaries of all accounts the caller has access to.
855
+ # Corresponds to the JSON property `accountSummaries`
856
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccountSummary>]
857
+ attr_accessor :account_summaries
858
+
859
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
860
+ # field is omitted, there are no subsequent pages.
861
+ # Corresponds to the JSON property `nextPageToken`
862
+ # @return [String]
863
+ attr_accessor :next_page_token
864
+
865
+ def initialize(**args)
866
+ update!(**args)
867
+ end
868
+
869
+ # Update properties of this object
870
+ def update!(**args)
871
+ @account_summaries = args[:account_summaries] if args.key?(:account_summaries)
872
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
873
+ end
874
+ end
875
+
876
+ # Request message for ListAccounts RPC.
877
+ class GoogleAnalyticsAdminV1alphaListAccountsResponse
878
+ include Google::Apis::Core::Hashable
879
+
880
+ # Results that were accessible to the caller.
881
+ # Corresponds to the JSON property `accounts`
882
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount>]
883
+ attr_accessor :accounts
884
+
885
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
886
+ # field is omitted, there are no subsequent pages.
887
+ # Corresponds to the JSON property `nextPageToken`
888
+ # @return [String]
889
+ attr_accessor :next_page_token
890
+
891
+ def initialize(**args)
892
+ update!(**args)
893
+ end
894
+
895
+ # Update properties of this object
896
+ def update!(**args)
897
+ @accounts = args[:accounts] if args.key?(:accounts)
898
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
899
+ end
900
+ end
901
+
902
+ # Request message for ListAndroidDataStreams RPC.
903
+ class GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
904
+ include Google::Apis::Core::Hashable
905
+
906
+ # Results that matched the filter criteria and were accessible to the caller.
907
+ # Corresponds to the JSON property `androidAppDataStreams`
908
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream>]
909
+ attr_accessor :android_app_data_streams
910
+
911
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
912
+ # field is omitted, there are no subsequent pages.
913
+ # Corresponds to the JSON property `nextPageToken`
914
+ # @return [String]
915
+ attr_accessor :next_page_token
916
+
917
+ def initialize(**args)
918
+ update!(**args)
919
+ end
920
+
921
+ # Update properties of this object
922
+ def update!(**args)
923
+ @android_app_data_streams = args[:android_app_data_streams] if args.key?(:android_app_data_streams)
924
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
925
+ end
926
+ end
927
+
928
+ # Response message for ListFirebaseLinks RPC
929
+ class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
930
+ include Google::Apis::Core::Hashable
931
+
932
+ # List of FirebaseLinks. This will have at most one value.
933
+ # Corresponds to the JSON property `firebaseLinks`
934
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink>]
935
+ attr_accessor :firebase_links
936
+
937
+ def initialize(**args)
938
+ update!(**args)
939
+ end
940
+
941
+ # Update properties of this object
942
+ def update!(**args)
943
+ @firebase_links = args[:firebase_links] if args.key?(:firebase_links)
944
+ end
945
+ end
946
+
947
+ # Response message for ListGoogleAdsLinks RPC.
948
+ class GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
949
+ include Google::Apis::Core::Hashable
950
+
951
+ # List of GoogleAdsLinks.
952
+ # Corresponds to the JSON property `googleAdsLinks`
953
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink>]
954
+ attr_accessor :google_ads_links
955
+
956
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
957
+ # field is omitted, there are no subsequent pages.
958
+ # Corresponds to the JSON property `nextPageToken`
959
+ # @return [String]
960
+ attr_accessor :next_page_token
961
+
962
+ def initialize(**args)
963
+ update!(**args)
964
+ end
965
+
966
+ # Update properties of this object
967
+ def update!(**args)
968
+ @google_ads_links = args[:google_ads_links] if args.key?(:google_ads_links)
969
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
970
+ end
971
+ end
972
+
973
+ # Request message for ListIosAppDataStreams RPC.
974
+ class GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
975
+ include Google::Apis::Core::Hashable
976
+
977
+ # Results that matched the filter criteria and were accessible to the caller.
978
+ # Corresponds to the JSON property `iosAppDataStreams`
979
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream>]
980
+ attr_accessor :ios_app_data_streams
981
+
982
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
983
+ # field is omitted, there are no subsequent pages.
984
+ # Corresponds to the JSON property `nextPageToken`
985
+ # @return [String]
986
+ attr_accessor :next_page_token
987
+
988
+ def initialize(**args)
989
+ update!(**args)
990
+ end
991
+
992
+ # Update properties of this object
993
+ def update!(**args)
994
+ @ios_app_data_streams = args[:ios_app_data_streams] if args.key?(:ios_app_data_streams)
995
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
996
+ end
997
+ end
998
+
999
+ # Response message for ListProperties RPC.
1000
+ class GoogleAnalyticsAdminV1alphaListPropertiesResponse
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1004
+ # field is omitted, there are no subsequent pages.
1005
+ # Corresponds to the JSON property `nextPageToken`
1006
+ # @return [String]
1007
+ attr_accessor :next_page_token
1008
+
1009
+ # Results that matched the filter criteria and were accessible to the caller.
1010
+ # Corresponds to the JSON property `properties`
1011
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty>]
1012
+ attr_accessor :properties
1013
+
1014
+ def initialize(**args)
1015
+ update!(**args)
1016
+ end
1017
+
1018
+ # Update properties of this object
1019
+ def update!(**args)
1020
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1021
+ @properties = args[:properties] if args.key?(:properties)
1022
+ end
1023
+ end
1024
+
1025
+ # Response message for ListUserLinks RPC.
1026
+ class GoogleAnalyticsAdminV1alphaListUserLinksResponse
1027
+ include Google::Apis::Core::Hashable
1028
+
1029
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1030
+ # field is omitted, there are no subsequent pages.
1031
+ # Corresponds to the JSON property `nextPageToken`
1032
+ # @return [String]
1033
+ attr_accessor :next_page_token
1034
+
1035
+ # List of UserLinks. These will be ordered stably, but in an arbitrary order.
1036
+ # Corresponds to the JSON property `userLinks`
1037
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
1038
+ attr_accessor :user_links
1039
+
1040
+ def initialize(**args)
1041
+ update!(**args)
1042
+ end
1043
+
1044
+ # Update properties of this object
1045
+ def update!(**args)
1046
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1047
+ @user_links = args[:user_links] if args.key?(:user_links)
1048
+ end
1049
+ end
1050
+
1051
+ # Request message for ListWebDataStreams RPC.
1052
+ class GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
1053
+ include Google::Apis::Core::Hashable
1054
+
1055
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1056
+ # field is omitted, there are no subsequent pages.
1057
+ # Corresponds to the JSON property `nextPageToken`
1058
+ # @return [String]
1059
+ attr_accessor :next_page_token
1060
+
1061
+ # Results that matched the filter criteria and were accessible to the caller.
1062
+ # Corresponds to the JSON property `webDataStreams`
1063
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream>]
1064
+ attr_accessor :web_data_streams
1065
+
1066
+ def initialize(**args)
1067
+ update!(**args)
1068
+ end
1069
+
1070
+ # Update properties of this object
1071
+ def update!(**args)
1072
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1073
+ @web_data_streams = args[:web_data_streams] if args.key?(:web_data_streams)
1074
+ end
1075
+ end
1076
+
1077
+ # A resource message representing a Google Analytics App+Web property.
1078
+ class GoogleAnalyticsAdminV1alphaProperty
1079
+ include Google::Apis::Core::Hashable
1080
+
1081
+ # Output only. Time when the entity was originally created.
1082
+ # Corresponds to the JSON property `createTime`
1083
+ # @return [String]
1084
+ attr_accessor :create_time
1085
+
1086
+ # The currency type used in reports involving monetary values. Format: https://
1087
+ # en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY"
1088
+ # Corresponds to the JSON property `currencyCode`
1089
+ # @return [String]
1090
+ attr_accessor :currency_code
1091
+
1092
+ # Output only. Indicates whether this Property is soft-deleted or not. Deleted
1093
+ # properties are excluded from List results unless specifically requested.
1094
+ # Corresponds to the JSON property `deleted`
1095
+ # @return [Boolean]
1096
+ attr_accessor :deleted
1097
+ alias_method :deleted?, :deleted
1098
+
1099
+ # Required. Human-readable display name for this property. The max allowed
1100
+ # display name length is 100 UTF-16 code units.
1101
+ # Corresponds to the JSON property `displayName`
1102
+ # @return [String]
1103
+ attr_accessor :display_name
1104
+
1105
+ # Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
1106
+ # Corresponds to the JSON property `industryCategory`
1107
+ # @return [String]
1108
+ attr_accessor :industry_category
1109
+
1110
+ # Output only. Resource name of this property. Format: properties/`property_id`
1111
+ # Example: "properties/1000"
1112
+ # Corresponds to the JSON property `name`
1113
+ # @return [String]
1114
+ attr_accessor :name
1115
+
1116
+ # Immutable. Resource name of this property's logical parent. Note: The Property-
1117
+ # Moving UI can be used to change the parent. Format: accounts/`account` Example:
1118
+ # "accounts/100"
1119
+ # Corresponds to the JSON property `parent`
1120
+ # @return [String]
1121
+ attr_accessor :parent
1122
+
1123
+ # Reporting Time Zone, used as the day boundary for reports, regardless of where
1124
+ # the data originates. If the time zone honors DST, Analytics will automatically
1125
+ # adjust for the changes. NOTE: Changing the time zone only affects data going
1126
+ # forward, and is not applied retroactively. Format: https://www.iana.org/time-
1127
+ # zones Example: "America/Los_Angeles"
1128
+ # Corresponds to the JSON property `timeZone`
1129
+ # @return [String]
1130
+ attr_accessor :time_zone
1131
+
1132
+ # Output only. Time when entity payload fields were last updated.
1133
+ # Corresponds to the JSON property `updateTime`
1134
+ # @return [String]
1135
+ attr_accessor :update_time
1136
+
1137
+ def initialize(**args)
1138
+ update!(**args)
1139
+ end
1140
+
1141
+ # Update properties of this object
1142
+ def update!(**args)
1143
+ @create_time = args[:create_time] if args.key?(:create_time)
1144
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
1145
+ @deleted = args[:deleted] if args.key?(:deleted)
1146
+ @display_name = args[:display_name] if args.key?(:display_name)
1147
+ @industry_category = args[:industry_category] if args.key?(:industry_category)
1148
+ @name = args[:name] if args.key?(:name)
1149
+ @parent = args[:parent] if args.key?(:parent)
1150
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
1151
+ @update_time = args[:update_time] if args.key?(:update_time)
1152
+ end
1153
+ end
1154
+
1155
+ # A virtual resource representing metadata for an App+Web property.
1156
+ class GoogleAnalyticsAdminV1alphaPropertySummary
1157
+ include Google::Apis::Core::Hashable
1158
+
1159
+ # Display name for the property referred to in this account summary.
1160
+ # Corresponds to the JSON property `displayName`
1161
+ # @return [String]
1162
+ attr_accessor :display_name
1163
+
1164
+ # Resource name of property referred to by this property summary Format:
1165
+ # properties/`property_id` Example: "properties/1000"
1166
+ # Corresponds to the JSON property `property`
1167
+ # @return [String]
1168
+ attr_accessor :property
1169
+
1170
+ def initialize(**args)
1171
+ update!(**args)
1172
+ end
1173
+
1174
+ # Update properties of this object
1175
+ def update!(**args)
1176
+ @display_name = args[:display_name] if args.key?(:display_name)
1177
+ @property = args[:property] if args.key?(:property)
1178
+ end
1179
+ end
1180
+
1181
+ # Request message for ProvisionAccountTicket RPC.
1182
+ class GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest
1183
+ include Google::Apis::Core::Hashable
1184
+
1185
+ # A resource message representing a Google Analytics account.
1186
+ # Corresponds to the JSON property `account`
1187
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
1188
+ attr_accessor :account
1189
+
1190
+ # Redirect URI where the user will be sent after accepting Terms of Service.
1191
+ # Must be configured in Developers Console as a Redirect URI
1192
+ # Corresponds to the JSON property `redirectUri`
1193
+ # @return [String]
1194
+ attr_accessor :redirect_uri
1195
+
1196
+ def initialize(**args)
1197
+ update!(**args)
1198
+ end
1199
+
1200
+ # Update properties of this object
1201
+ def update!(**args)
1202
+ @account = args[:account] if args.key?(:account)
1203
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
1204
+ end
1205
+ end
1206
+
1207
+ # Response message for ProvisionAccountTicket RPC.
1208
+ class GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse
1209
+ include Google::Apis::Core::Hashable
1210
+
1211
+ # The param to be passed in the ToS link.
1212
+ # Corresponds to the JSON property `accountTicketId`
1213
+ # @return [String]
1214
+ attr_accessor :account_ticket_id
1215
+
1216
+ def initialize(**args)
1217
+ update!(**args)
1218
+ end
1219
+
1220
+ # Update properties of this object
1221
+ def update!(**args)
1222
+ @account_ticket_id = args[:account_ticket_id] if args.key?(:account_ticket_id)
1223
+ end
1224
+ end
1225
+
1226
+ # Request message for UpdateUserLink RPC.
1227
+ class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
1228
+ include Google::Apis::Core::Hashable
1229
+
1230
+ # A resource message representing a user's permissions on an Account or Property
1231
+ # resource.
1232
+ # Corresponds to the JSON property `userLink`
1233
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
1234
+ attr_accessor :user_link
1235
+
1236
+ def initialize(**args)
1237
+ update!(**args)
1238
+ end
1239
+
1240
+ # Update properties of this object
1241
+ def update!(**args)
1242
+ @user_link = args[:user_link] if args.key?(:user_link)
1243
+ end
1244
+ end
1245
+
1246
+ # A resource message representing a user's permissions on an Account or Property
1247
+ # resource.
1248
+ class GoogleAnalyticsAdminV1alphaUserLink
1249
+ include Google::Apis::Core::Hashable
1250
+
1251
+ # Roles directly assigned to this user for this account or property. Valid
1252
+ # values: predefinedRoles/read predefinedRoles/collaborate predefinedRoles/edit
1253
+ # predefinedRoles/manage-users Excludes roles that are inherited from a higher-
1254
+ # level entity, group, or organization admin role. A UserLink that is updated to
1255
+ # have an empty list of direct_roles will be deleted.
1256
+ # Corresponds to the JSON property `directRoles`
1257
+ # @return [Array<String>]
1258
+ attr_accessor :direct_roles
1259
+
1260
+ # Email address of the user to link
1261
+ # Corresponds to the JSON property `emailAddress`
1262
+ # @return [String]
1263
+ attr_accessor :email_address
1264
+
1265
+ # Example format: properties/1234/userLinks/5678
1266
+ # Corresponds to the JSON property `name`
1267
+ # @return [String]
1268
+ attr_accessor :name
1269
+
1270
+ def initialize(**args)
1271
+ update!(**args)
1272
+ end
1273
+
1274
+ # Update properties of this object
1275
+ def update!(**args)
1276
+ @direct_roles = args[:direct_roles] if args.key?(:direct_roles)
1277
+ @email_address = args[:email_address] if args.key?(:email_address)
1278
+ @name = args[:name] if args.key?(:name)
1279
+ end
1280
+ end
1281
+
1282
+ # A resource message representing a Google Analytics web stream.
1283
+ class GoogleAnalyticsAdminV1alphaWebDataStream
1284
+ include Google::Apis::Core::Hashable
1285
+
1286
+ # Output only. Time when this stream was originally created.
1287
+ # Corresponds to the JSON property `createTime`
1288
+ # @return [String]
1289
+ attr_accessor :create_time
1290
+
1291
+ # Immutable. Domain name of the web app being measured, or empty. Example: "http:
1292
+ # //www.google.com", "https://www.google.com"
1293
+ # Corresponds to the JSON property `defaultUri`
1294
+ # @return [String]
1295
+ attr_accessor :default_uri
1296
+
1297
+ # Required. Human-readable display name for the Data Stream. The max allowed
1298
+ # display name length is 100 UTF-16 code units.
1299
+ # Corresponds to the JSON property `displayName`
1300
+ # @return [String]
1301
+ attr_accessor :display_name
1302
+
1303
+ # Output only. ID of the corresponding web app in Firebase, if any. This ID can
1304
+ # change if the web app is deleted and recreated.
1305
+ # Corresponds to the JSON property `firebaseAppId`
1306
+ # @return [String]
1307
+ attr_accessor :firebase_app_id
1308
+
1309
+ # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-
1310
+ # 1A2BCD345E" would just be "1A2BCD345E"
1311
+ # Corresponds to the JSON property `measurementId`
1312
+ # @return [String]
1313
+ attr_accessor :measurement_id
1314
+
1315
+ # Output only. Resource name of this Data Stream. Format: properties/`
1316
+ # property_id`/webDataStreams/`stream_id` Example: "properties/1000/
1317
+ # webDataStreams/2000"
1318
+ # Corresponds to the JSON property `name`
1319
+ # @return [String]
1320
+ attr_accessor :name
1321
+
1322
+ # Output only. Time when stream payload fields were last updated.
1323
+ # Corresponds to the JSON property `updateTime`
1324
+ # @return [String]
1325
+ attr_accessor :update_time
1326
+
1327
+ def initialize(**args)
1328
+ update!(**args)
1329
+ end
1330
+
1331
+ # Update properties of this object
1332
+ def update!(**args)
1333
+ @create_time = args[:create_time] if args.key?(:create_time)
1334
+ @default_uri = args[:default_uri] if args.key?(:default_uri)
1335
+ @display_name = args[:display_name] if args.key?(:display_name)
1336
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1337
+ @measurement_id = args[:measurement_id] if args.key?(:measurement_id)
1338
+ @name = args[:name] if args.key?(:name)
1339
+ @update_time = args[:update_time] if args.key?(:update_time)
1340
+ end
1341
+ end
1342
+
1343
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1344
+ # messages in your APIs. A typical example is to use it as the request or the
1345
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1346
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1347
+ # `Empty` is empty JSON object ````.
1348
+ class GoogleProtobufEmpty
1349
+ include Google::Apis::Core::Hashable
1350
+
1351
+ def initialize(**args)
1352
+ update!(**args)
1353
+ end
1354
+
1355
+ # Update properties of this object
1356
+ def update!(**args)
1357
+ end
1358
+ end
1359
+ end
1360
+ end
1361
+ end