Skip to content

Commit 1cc1a3d

Browse files
feat: [google-analytics-admin] added support for KeyEvents AdminAPI ChangeHistory (#13610)
BEGIN_COMMIT_OVERRIDE feat: added support for KeyEvents AdminAPI ChangeHistory END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. PiperOrigin-RevId: 733342525 Source-Link: googleapis/googleapis@0c50144 Source-Link: googleapis/googleapis-gen@cbd7fb3 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiY2JkN2ZiM2E2ZjJkMmZhMjljY2QyNmNjZTBkMGU4OThmNmYzZWYwOCJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 675aaad commit 1cc1a3d

File tree

1 file changed

+14
-0
lines changed
  • packages/google-analytics-admin/google/analytics/admin_v1alpha/types

1 file changed

+14
-0
lines changed

packages/google-analytics-admin/google/analytics/admin_v1alpha/types/resources.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ class ChangeHistoryResourceType(proto.Enum):
285285
EventCreateRule resource
286286
CALCULATED_METRIC (31):
287287
CalculatedMetric resource
288+
KEY_EVENT (32):
289+
KeyEvent resource
288290
"""
289291
CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0
290292
ACCOUNT = 1
@@ -312,6 +314,7 @@ class ChangeHistoryResourceType(proto.Enum):
312314
AUDIENCE = 28
313315
EVENT_CREATE_RULE = 29
314316
CALCULATED_METRIC = 31
317+
KEY_EVENT = 32
315318

316319

317320
class GoogleSignalsState(proto.Enum):
@@ -1592,6 +1595,11 @@ class ChangeHistoryResource(proto.Message):
15921595
A snapshot of a CalculatedMetric resource in
15931596
change history.
15941597
1598+
This field is a member of `oneof`_ ``resource``.
1599+
key_event (google.analytics.admin_v1alpha.types.KeyEvent):
1600+
A snapshot of a KeyEvent resource in change
1601+
history.
1602+
15951603
This field is a member of `oneof`_ ``resource``.
15961604
"""
15971605

@@ -1749,6 +1757,12 @@ class ChangeHistoryResource(proto.Message):
17491757
oneof="resource",
17501758
message="CalculatedMetric",
17511759
)
1760+
key_event: "KeyEvent" = proto.Field(
1761+
proto.MESSAGE,
1762+
number=32,
1763+
oneof="resource",
1764+
message="KeyEvent",
1765+
)
17521766

17531767
resource: str = proto.Field(
17541768
proto.STRING,

0 commit comments

Comments
 (0)