google-apis-admin_reports_v1 0.35.0 → 0.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6b3aa2a72f3232a9b550796dc4107055ea55a9e27f0f204d8e0b318277170fa
4
- data.tar.gz: 2bbe0fcfe64b350d4cc0149a767f4e38e9de78a4a66fa6d436e80c344a0240cd
3
+ metadata.gz: 81cf89cd1552b24e31996efd038aaee10e2461c583bbdf1e31eec884f122cd84
4
+ data.tar.gz: a8a5023580387f4023e47a1c515e03b6fcb5d18ee3d4c0c8453a9b4a35d04704
5
5
  SHA512:
6
- metadata.gz: 0fca78079ad6ec2ddf97b36df03378ef7797c4cbcc09370e6cae8229607ca1333451040d689d4ca319ae88597e46cb0a1206d7391c021838a2fe5078bbd1f2f7
7
- data.tar.gz: fec701d335f5bf8ea0f2a6789223acf027af3847026950130462c516edb5f2c2cc32255d44bdf4263c93b6632dbf3e1fc47786dd8cd98af92aaed7c5be0e0f5a
6
+ metadata.gz: 6058845f8a853a8cb985eb7f67ed33aef56833e46616f8fed76e08ccb78a5eec7055f792234efc2163c682c985f2f149f5016ebcbb7e49790c077c7adec3024b
7
+ data.tar.gz: 20ab81b3aa1a9be040bbf293dd8b535af18e5fe3d4ac590014d2eb9edfb003f907c6e01387a47ea04fd5f3671138b134cfd543f4805f8481c5e6c79c90ff9673
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-admin_reports_v1
2
2
 
3
+ ### v0.37.0 (2026-08-02)
4
+
5
+ * Regenerated from discovery document revision 20260729
6
+
7
+ ### v0.36.0 (2026-07-26)
8
+
9
+ * Regenerated from discovery document revision 20260722
10
+
3
11
  ### v0.35.0 (2026-06-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20260504
@@ -94,6 +94,12 @@ module Google
94
94
  # @return [String]
95
95
  attr_accessor :ip_address
96
96
 
97
+ # Whether the activity was performed by an agent.
98
+ # Corresponds to the JSON property `isAgenticAction`
99
+ # @return [Boolean]
100
+ attr_accessor :is_agentic_action
101
+ alias_method :is_agentic_action?, :is_agentic_action
102
+
97
103
  # The type of API resource. For an activity report, the value is `audit#activity`
98
104
  # .
99
105
  # Corresponds to the JSON property `kind`
@@ -116,6 +122,11 @@ module Google
116
122
  # @return [Array<Google::Apis::AdminReportsV1::ResourceDetails>]
117
123
  attr_accessor :resource_details
118
124
 
125
+ # Device details of the user doing the action.
126
+ # Corresponds to the JSON property `userDeviceInfo`
127
+ # @return [Google::Apis::AdminReportsV1::ActivityUserDeviceInfo]
128
+ attr_accessor :user_device_info
129
+
119
130
  def initialize(**args)
120
131
  update!(**args)
121
132
  end
@@ -127,16 +138,23 @@ module Google
127
138
  @events = args[:events] if args.key?(:events)
128
139
  @id = args[:id] if args.key?(:id)
129
140
  @ip_address = args[:ip_address] if args.key?(:ip_address)
141
+ @is_agentic_action = args[:is_agentic_action] if args.key?(:is_agentic_action)
130
142
  @kind = args[:kind] if args.key?(:kind)
131
143
  @network_info = args[:network_info] if args.key?(:network_info)
132
144
  @owner_domain = args[:owner_domain] if args.key?(:owner_domain)
133
145
  @resource_details = args[:resource_details] if args.key?(:resource_details)
146
+ @user_device_info = args[:user_device_info] if args.key?(:user_device_info)
134
147
  end
135
148
 
136
149
  # User doing the action.
137
150
  class Actor
138
151
  include Google::Apis::Core::Hashable
139
152
 
153
+ # Details of the AI agent that was the actor for the activity.
154
+ # Corresponds to the JSON property `agentAttributionInfo`
155
+ # @return [Google::Apis::AdminReportsV1::AgentAttributionInfo]
156
+ attr_accessor :agent_attribution_info
157
+
140
158
  # Details of the application that was the actor for the activity.
141
159
  # Corresponds to the JSON property `applicationInfo`
142
160
  # @return [Google::Apis::AdminReportsV1::Activity::Actor::ApplicationInfo]
@@ -172,6 +190,7 @@ module Google
172
190
 
173
191
  # Update properties of this object
174
192
  def update!(**args)
193
+ @agent_attribution_info = args[:agent_attribution_info] if args.key?(:agent_attribution_info)
175
194
  @application_info = args[:application_info] if args.key?(:application_info)
176
195
  @caller_type = args[:caller_type] if args.key?(:caller_type)
177
196
  @email = args[:email] if args.key?(:email)
@@ -594,6 +613,93 @@ module Google
594
613
  end
595
614
  end
596
615
 
616
+ # Device details of the user doing the action.
617
+ class ActivityUserDeviceInfo
618
+ include Google::Apis::Core::Hashable
619
+
620
+ # Output only. Device ID of the user's device.
621
+ # Corresponds to the JSON property `deviceId`
622
+ # @return [String]
623
+ attr_accessor :device_id
624
+
625
+ # Output only. Device OS version of the user's device.
626
+ # Corresponds to the JSON property `deviceOsVersion`
627
+ # @return [String]
628
+ attr_accessor :device_os_version
629
+
630
+ # Output only. The type of the user's device.
631
+ # Corresponds to the JSON property `deviceType`
632
+ # @return [String]
633
+ attr_accessor :device_type
634
+
635
+ def initialize(**args)
636
+ update!(**args)
637
+ end
638
+
639
+ # Update properties of this object
640
+ def update!(**args)
641
+ @device_id = args[:device_id] if args.key?(:device_id)
642
+ @device_os_version = args[:device_os_version] if args.key?(:device_os_version)
643
+ @device_type = args[:device_type] if args.key?(:device_type)
644
+ end
645
+ end
646
+
647
+ # Details of the AI agent that was the actor for the activity.
648
+ class AgentAttributionInfo
649
+ include Google::Apis::Core::Hashable
650
+
651
+ # The ID of the agent.
652
+ # Corresponds to the JSON property `agentId`
653
+ # @return [String]
654
+ attr_accessor :agent_id
655
+
656
+ # The user visible name of the agent.
657
+ # Corresponds to the JSON property `agentName`
658
+ # @return [String]
659
+ attr_accessor :agent_name
660
+
661
+ # Details of the owner of the AI agent.
662
+ # Corresponds to the JSON property `agentOwner`
663
+ # @return [Google::Apis::AdminReportsV1::AgentAttributionInfoAgentOwner]
664
+ attr_accessor :agent_owner
665
+
666
+ # Type of the agent.
667
+ # Corresponds to the JSON property `agentType`
668
+ # @return [String]
669
+ attr_accessor :agent_type
670
+
671
+ def initialize(**args)
672
+ update!(**args)
673
+ end
674
+
675
+ # Update properties of this object
676
+ def update!(**args)
677
+ @agent_id = args[:agent_id] if args.key?(:agent_id)
678
+ @agent_name = args[:agent_name] if args.key?(:agent_name)
679
+ @agent_owner = args[:agent_owner] if args.key?(:agent_owner)
680
+ @agent_type = args[:agent_type] if args.key?(:agent_type)
681
+ end
682
+ end
683
+
684
+ # Details of the owner of the AI agent.
685
+ class AgentAttributionInfoAgentOwner
686
+ include Google::Apis::Core::Hashable
687
+
688
+ # The email of the agent owner.
689
+ # Corresponds to the JSON property `email`
690
+ # @return [String]
691
+ attr_accessor :email
692
+
693
+ def initialize(**args)
694
+ update!(**args)
695
+ end
696
+
697
+ # Update properties of this object
698
+ def update!(**args)
699
+ @email = args[:email] if args.key?(:email)
700
+ end
701
+ end
702
+
597
703
  # Details of the label applied on the resource.
598
704
  class AppliedLabel
599
705
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdminReportsV1
18
18
  # Version of the google-apis-admin_reports_v1 gem
19
- GEM_VERSION = "0.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260504"
25
+ REVISION = "20260729"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,24 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class ActivityUserDeviceInfo
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class AgentAttributionInfo
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class AgentAttributionInfoAgentOwner
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
109
127
  class AppliedLabel
110
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
129
 
@@ -266,17 +284,22 @@ module Google
266
284
  property :id, as: 'id', class: Google::Apis::AdminReportsV1::Activity::Id, decorator: Google::Apis::AdminReportsV1::Activity::Id::Representation
267
285
 
268
286
  property :ip_address, as: 'ipAddress'
287
+ property :is_agentic_action, as: 'isAgenticAction'
269
288
  property :kind, as: 'kind'
270
289
  property :network_info, as: 'networkInfo', class: Google::Apis::AdminReportsV1::ActivityNetworkInfo, decorator: Google::Apis::AdminReportsV1::ActivityNetworkInfo::Representation
271
290
 
272
291
  property :owner_domain, as: 'ownerDomain'
273
292
  collection :resource_details, as: 'resourceDetails', class: Google::Apis::AdminReportsV1::ResourceDetails, decorator: Google::Apis::AdminReportsV1::ResourceDetails::Representation
274
293
 
294
+ property :user_device_info, as: 'userDeviceInfo', class: Google::Apis::AdminReportsV1::ActivityUserDeviceInfo, decorator: Google::Apis::AdminReportsV1::ActivityUserDeviceInfo::Representation
295
+
275
296
  end
276
297
 
277
298
  class Actor
278
299
  # @private
279
300
  class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :agent_attribution_info, as: 'agentAttributionInfo', class: Google::Apis::AdminReportsV1::AgentAttributionInfo, decorator: Google::Apis::AdminReportsV1::AgentAttributionInfo::Representation
302
+
280
303
  property :application_info, as: 'applicationInfo', class: Google::Apis::AdminReportsV1::Activity::Actor::ApplicationInfo, decorator: Google::Apis::AdminReportsV1::Activity::Actor::ApplicationInfo::Representation
281
304
 
282
305
  property :caller_type, as: 'callerType'
@@ -405,6 +428,33 @@ module Google
405
428
  end
406
429
  end
407
430
 
431
+ class ActivityUserDeviceInfo
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :device_id, as: 'deviceId'
435
+ property :device_os_version, as: 'deviceOsVersion'
436
+ property :device_type, as: 'deviceType'
437
+ end
438
+ end
439
+
440
+ class AgentAttributionInfo
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :agent_id, as: 'agentId'
444
+ property :agent_name, as: 'agentName'
445
+ property :agent_owner, as: 'agentOwner', class: Google::Apis::AdminReportsV1::AgentAttributionInfoAgentOwner, decorator: Google::Apis::AdminReportsV1::AgentAttributionInfoAgentOwner::Representation
446
+
447
+ property :agent_type, as: 'agentType'
448
+ end
449
+ end
450
+
451
+ class AgentAttributionInfoAgentOwner
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :email, as: 'email'
455
+ end
456
+ end
457
+
408
458
  class AppliedLabel
409
459
  # @private
410
460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -73,6 +73,11 @@ module Google
73
73
  # the user's physical location. For example, the IP address can be the user's
74
74
  # proxy server's address or a virtual private network (VPN) address. This
75
75
  # parameter supports both IPv4 and IPv6 address versions.
76
+ # @param [String] agent_info_filter
77
+ # Optional. Filters on agent info fields in the activity. This filter gets
78
+ # applied in conjunction(AND) with other filters. Example: "agentInfoFilter=
79
+ # agentId=\"agent-id\" AND agentName=\"agent-name\" AND agentOwnerEmail=\"agent-
80
+ # owner-email\""
76
81
  # @param [String] application_info_filter
77
82
  # Optional. Used to filter on the `oAuthClientId` field present in [`
78
83
  # ApplicationInfo`](#applicationinfo) message. **Usage** ``` GET...&
@@ -80,6 +85,11 @@ module Google
80
85
  # oAuthClientId=%22clientId%22 ```
81
86
  # @param [String] customer_id
82
87
  # The unique ID of the customer to retrieve data for.
88
+ # @param [String] device_filter
89
+ # Optional. Used to filter on the fields present in [`UserDeviceInfo`](#
90
+ # userdeviceinfo) message like `deviceId`, `deviceType`, and `deviceOsVersion`. *
91
+ # *Usage** ``` GET...&deviceFilter=deviceId="123" GET...&deviceFilter=deviceType=
92
+ # "ANDROID" GET...&deviceFilter=deviceOsVersion="14.0" ```
83
93
  # @param [String] end_time
84
94
  # Sets the end of the range of time shown in the report. The date is in the RFC
85
95
  # 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the
@@ -232,15 +242,17 @@ module Google
232
242
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
243
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
244
  # @raise [Google::Apis::AuthorizationError] Authorization is required
235
- def list_activities(user_key, application_name, actor_ip_address: nil, application_info_filter: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, include_sensitive_data: nil, max_results: nil, network_info_filter: nil, org_unit_id: nil, page_token: nil, resource_details_filter: nil, start_time: nil, status_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
245
+ def list_activities(user_key, application_name, actor_ip_address: nil, agent_info_filter: nil, application_info_filter: nil, customer_id: nil, device_filter: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, include_sensitive_data: nil, max_results: nil, network_info_filter: nil, org_unit_id: nil, page_token: nil, resource_details_filter: nil, start_time: nil, status_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
236
246
  command = make_simple_command(:get, 'admin/reports/v1/activity/users/{userKey}/applications/{applicationName}', options)
237
247
  command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
238
248
  command.response_class = Google::Apis::AdminReportsV1::Activities
239
249
  command.params['userKey'] = user_key unless user_key.nil?
240
250
  command.params['applicationName'] = application_name unless application_name.nil?
241
251
  command.query['actorIpAddress'] = actor_ip_address unless actor_ip_address.nil?
252
+ command.query['agentInfoFilter'] = agent_info_filter unless agent_info_filter.nil?
242
253
  command.query['applicationInfoFilter'] = application_info_filter unless application_info_filter.nil?
243
254
  command.query['customerId'] = customer_id unless customer_id.nil?
255
+ command.query['deviceFilter'] = device_filter unless device_filter.nil?
244
256
  command.query['endTime'] = end_time unless end_time.nil?
245
257
  command.query['eventName'] = event_name unless event_name.nil?
246
258
  command.query['filters'] = filters unless filters.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-admin_reports_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_reports_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-admin_reports_v1/v0.35.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-admin_reports_v1/v0.37.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admin_reports_v1
62
62
  rdoc_options: []
63
63
  require_paths: