google-apis-chromemanagement_v1 0.58.0 → 0.59.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: da02bb531fce992834ccd7838b0eb668e30b508902f4929ad7a58af7234b3289
4
- data.tar.gz: 275045839f0ad697ad6d4fbe48484cb5e15cd8ddb2daabaca8fab650fe6866ac
3
+ metadata.gz: d108e85ddd5a5bbd822f30af7379ab6f01b2e9c3b67cc8066b671e2418dd421a
4
+ data.tar.gz: b0dd83f94d256d4548e3142fe0fca2c824ea8019a369315d2600dbca33ba2363
5
5
  SHA512:
6
- metadata.gz: 742c9b025e5d4409132cd8e81bd56a0fbe2037861fb0ef85a22126b16d26f9fd7c8a7d48a1769a5c3f18b4f8a0044c877b8fb50b679e83bf959f5df3627d4f29
7
- data.tar.gz: a4f371d70b8f6da883f6fd0c5c85149de4666a64778214f7dfd53090be916c06cd5d2fa62c878444ea7dcff5da705f5d04a5fcd75efe4c92cb6ec3bf950f9c18
6
+ metadata.gz: 96e3fa08bf840966e713fee101be231eb97d812f52fc9878e67642750e8adfa8845a43d8e376cd6e37f5d473efadae255c53924e8a91bd9c66ddf1e7e890c937
7
+ data.tar.gz: eaf1902c02495e8149d91d27686f0f8ea7855f6ad81b0ff58cf79c945a1915f9807ccd02eee1e88509f52ad5067c6f71d66f44242e3fbaaf159676427a7fac27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromemanagement_v1
2
2
 
3
+ ### v0.59.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241121
6
+
3
7
  ### v0.58.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241023
@@ -4088,6 +4088,732 @@ module Google
4088
4088
  end
4089
4089
  end
4090
4090
 
4091
+ # Information of public key associated with a Chrome browser profile.
4092
+ class GoogleChromeManagementVersionsV1AttestationCredential
4093
+ include Google::Apis::Core::Hashable
4094
+
4095
+ # Output only. Latest rotation timestamp of the public key rotation.
4096
+ # Corresponds to the JSON property `keyRotationTime`
4097
+ # @return [String]
4098
+ attr_accessor :key_rotation_time
4099
+
4100
+ # Output only. Trust level of the public key.
4101
+ # Corresponds to the JSON property `keyTrustLevel`
4102
+ # @return [String]
4103
+ attr_accessor :key_trust_level
4104
+
4105
+ # Output only. Type of the public key.
4106
+ # Corresponds to the JSON property `keyType`
4107
+ # @return [String]
4108
+ attr_accessor :key_type
4109
+
4110
+ # Output only. Value of the public key.
4111
+ # Corresponds to the JSON property `publicKey`
4112
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4113
+ # @return [String]
4114
+ attr_accessor :public_key
4115
+
4116
+ def initialize(**args)
4117
+ update!(**args)
4118
+ end
4119
+
4120
+ # Update properties of this object
4121
+ def update!(**args)
4122
+ @key_rotation_time = args[:key_rotation_time] if args.key?(:key_rotation_time)
4123
+ @key_trust_level = args[:key_trust_level] if args.key?(:key_trust_level)
4124
+ @key_type = args[:key_type] if args.key?(:key_type)
4125
+ @public_key = args[:public_key] if args.key?(:public_key)
4126
+ end
4127
+ end
4128
+
4129
+ # A representation of a Chrome browser profile.
4130
+ class GoogleChromeManagementVersionsV1ChromeBrowserProfile
4131
+ include Google::Apis::Core::Hashable
4132
+
4133
+ # Output only. The specific affiliation state of the profile.
4134
+ # Corresponds to the JSON property `affiliationState`
4135
+ # @return [String]
4136
+ attr_accessor :affiliation_state
4137
+
4138
+ # Optional. Location of the profile annotated by the admin.
4139
+ # Corresponds to the JSON property `annotatedLocation`
4140
+ # @return [String]
4141
+ attr_accessor :annotated_location
4142
+
4143
+ # Optional. User of the profile annotated by the admin.
4144
+ # Corresponds to the JSON property `annotatedUser`
4145
+ # @return [String]
4146
+ attr_accessor :annotated_user
4147
+
4148
+ # Information of public key associated with a Chrome browser profile.
4149
+ # Corresponds to the JSON property `attestationCredential`
4150
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1AttestationCredential]
4151
+ attr_accessor :attestation_credential
4152
+
4153
+ # Output only. Channel of the browser on which the profile exists.
4154
+ # Corresponds to the JSON property `browserChannel`
4155
+ # @return [String]
4156
+ attr_accessor :browser_channel
4157
+
4158
+ # Output only. Version of the browser on which the profile exists.
4159
+ # Corresponds to the JSON property `browserVersion`
4160
+ # @return [String]
4161
+ attr_accessor :browser_version
4162
+
4163
+ # Information of a device that runs a Chrome browser profile.
4164
+ # Corresponds to the JSON property `deviceInfo`
4165
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DeviceInfo]
4166
+ attr_accessor :device_info
4167
+
4168
+ # Output only. Profile display name set by client.
4169
+ # Corresponds to the JSON property `displayName`
4170
+ # @return [String]
4171
+ attr_accessor :display_name
4172
+
4173
+ # Output only. Etag of this ChromeBrowserProfile resource. This etag can be used
4174
+ # with UPDATE operation to ensure consistency.
4175
+ # Corresponds to the JSON property `etag`
4176
+ # @return [String]
4177
+ attr_accessor :etag
4178
+
4179
+ # Output only. Number of extensions installed on the profile.
4180
+ # Corresponds to the JSON property `extensionCount`
4181
+ # @return [Fixnum]
4182
+ attr_accessor :extension_count
4183
+
4184
+ # Output only. Timestamp of the first enrollment of the profile.
4185
+ # Corresponds to the JSON property `firstEnrollmentTime`
4186
+ # @return [String]
4187
+ attr_accessor :first_enrollment_time
4188
+
4189
+ # Output only. Identify provider of the profile.
4190
+ # Corresponds to the JSON property `identityProvider`
4191
+ # @return [String]
4192
+ attr_accessor :identity_provider
4193
+
4194
+ # Output only. Timestamp of the latest activity by the profile.
4195
+ # Corresponds to the JSON property `lastActivityTime`
4196
+ # @return [String]
4197
+ attr_accessor :last_activity_time
4198
+
4199
+ # Output only. Timestamp of the latest policy fetch by the profile.
4200
+ # Corresponds to the JSON property `lastPolicyFetchTime`
4201
+ # @return [String]
4202
+ attr_accessor :last_policy_fetch_time
4203
+
4204
+ # Output only. Timestamp of the latest policy sync by the profile.
4205
+ # Corresponds to the JSON property `lastPolicySyncTime`
4206
+ # @return [String]
4207
+ attr_accessor :last_policy_sync_time
4208
+
4209
+ # Output only. Timestamp of the latest status report by the profile.
4210
+ # Corresponds to the JSON property `lastStatusReportTime`
4211
+ # @return [String]
4212
+ attr_accessor :last_status_report_time
4213
+
4214
+ # Identifier. Format: customers/`customer_id`/profiles/`profile_permanent_id`
4215
+ # Corresponds to the JSON property `name`
4216
+ # @return [String]
4217
+ attr_accessor :name
4218
+
4219
+ # Output only. OS platform of the device on which the profile exists.
4220
+ # Corresponds to the JSON property `osPlatformType`
4221
+ # @return [String]
4222
+ attr_accessor :os_platform_type
4223
+
4224
+ # Output only. Major OS version of the device on which the profile exists. (i.e.
4225
+ # Windows 10)
4226
+ # Corresponds to the JSON property `osPlatformVersion`
4227
+ # @return [String]
4228
+ attr_accessor :os_platform_version
4229
+
4230
+ # Output only. OS version of the device on which the profile exists.
4231
+ # Corresponds to the JSON property `osVersion`
4232
+ # @return [String]
4233
+ attr_accessor :os_version
4234
+
4235
+ # Output only. Number of policies applied on the profile.
4236
+ # Corresponds to the JSON property `policyCount`
4237
+ # @return [Fixnum]
4238
+ attr_accessor :policy_count
4239
+
4240
+ # Output only. Chrome client side profile ID.
4241
+ # Corresponds to the JSON property `profileId`
4242
+ # @return [String]
4243
+ attr_accessor :profile_id
4244
+
4245
+ # Output only. Profile permanent ID is the unique identifier of a profile within
4246
+ # one customer.
4247
+ # Corresponds to the JSON property `profilePermanentId`
4248
+ # @return [String]
4249
+ attr_accessor :profile_permanent_id
4250
+
4251
+ # Reporting data of a Chrome browser profile.
4252
+ # Corresponds to the JSON property `reportingData`
4253
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingData]
4254
+ attr_accessor :reporting_data
4255
+
4256
+ # Output only. Email address of the user to which the profile belongs.
4257
+ # Corresponds to the JSON property `userEmail`
4258
+ # @return [String]
4259
+ attr_accessor :user_email
4260
+
4261
+ # Output only. Unique Directory API ID of the user that can be used in Admin SDK
4262
+ # Users API.
4263
+ # Corresponds to the JSON property `userId`
4264
+ # @return [String]
4265
+ attr_accessor :user_id
4266
+
4267
+ def initialize(**args)
4268
+ update!(**args)
4269
+ end
4270
+
4271
+ # Update properties of this object
4272
+ def update!(**args)
4273
+ @affiliation_state = args[:affiliation_state] if args.key?(:affiliation_state)
4274
+ @annotated_location = args[:annotated_location] if args.key?(:annotated_location)
4275
+ @annotated_user = args[:annotated_user] if args.key?(:annotated_user)
4276
+ @attestation_credential = args[:attestation_credential] if args.key?(:attestation_credential)
4277
+ @browser_channel = args[:browser_channel] if args.key?(:browser_channel)
4278
+ @browser_version = args[:browser_version] if args.key?(:browser_version)
4279
+ @device_info = args[:device_info] if args.key?(:device_info)
4280
+ @display_name = args[:display_name] if args.key?(:display_name)
4281
+ @etag = args[:etag] if args.key?(:etag)
4282
+ @extension_count = args[:extension_count] if args.key?(:extension_count)
4283
+ @first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time)
4284
+ @identity_provider = args[:identity_provider] if args.key?(:identity_provider)
4285
+ @last_activity_time = args[:last_activity_time] if args.key?(:last_activity_time)
4286
+ @last_policy_fetch_time = args[:last_policy_fetch_time] if args.key?(:last_policy_fetch_time)
4287
+ @last_policy_sync_time = args[:last_policy_sync_time] if args.key?(:last_policy_sync_time)
4288
+ @last_status_report_time = args[:last_status_report_time] if args.key?(:last_status_report_time)
4289
+ @name = args[:name] if args.key?(:name)
4290
+ @os_platform_type = args[:os_platform_type] if args.key?(:os_platform_type)
4291
+ @os_platform_version = args[:os_platform_version] if args.key?(:os_platform_version)
4292
+ @os_version = args[:os_version] if args.key?(:os_version)
4293
+ @policy_count = args[:policy_count] if args.key?(:policy_count)
4294
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
4295
+ @profile_permanent_id = args[:profile_permanent_id] if args.key?(:profile_permanent_id)
4296
+ @reporting_data = args[:reporting_data] if args.key?(:reporting_data)
4297
+ @user_email = args[:user_email] if args.key?(:user_email)
4298
+ @user_id = args[:user_id] if args.key?(:user_id)
4299
+ end
4300
+ end
4301
+
4302
+ # Information of a device that runs a Chrome browser profile.
4303
+ class GoogleChromeManagementVersionsV1DeviceInfo
4304
+ include Google::Apis::Core::Hashable
4305
+
4306
+ # Output only. Device ID that identifies the affiliated device on which the
4307
+ # profile exists. If the device type is CHROME_BROWSER, then this represents a
4308
+ # unique Directory API ID of the device that can be used in Admin SDK Browsers
4309
+ # API.
4310
+ # Corresponds to the JSON property `affiliatedDeviceId`
4311
+ # @return [String]
4312
+ attr_accessor :affiliated_device_id
4313
+
4314
+ # Output only. Type of the device on which the profile exists.
4315
+ # Corresponds to the JSON property `deviceType`
4316
+ # @return [String]
4317
+ attr_accessor :device_type
4318
+
4319
+ # Output only. Hostname of the device on which the profile exists.
4320
+ # Corresponds to the JSON property `hostname`
4321
+ # @return [String]
4322
+ attr_accessor :hostname
4323
+
4324
+ # Output only. Machine name of the device on which the profile exists. On
4325
+ # platforms which do not report the machine name (currently iOS and Android)
4326
+ # this is instead set to the browser's device_id - but note that this is a
4327
+ # different device_id than the |affiliated_device_id|.
4328
+ # Corresponds to the JSON property `machine`
4329
+ # @return [String]
4330
+ attr_accessor :machine
4331
+
4332
+ def initialize(**args)
4333
+ update!(**args)
4334
+ end
4335
+
4336
+ # Update properties of this object
4337
+ def update!(**args)
4338
+ @affiliated_device_id = args[:affiliated_device_id] if args.key?(:affiliated_device_id)
4339
+ @device_type = args[:device_type] if args.key?(:device_type)
4340
+ @hostname = args[:hostname] if args.key?(:hostname)
4341
+ @machine = args[:machine] if args.key?(:machine)
4342
+ end
4343
+ end
4344
+
4345
+ # Response to ListChromeBrowserProfiles method.
4346
+ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
4347
+ include Google::Apis::Core::Hashable
4348
+
4349
+ # The list of profiles returned.
4350
+ # Corresponds to the JSON property `chromeBrowserProfiles`
4351
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile>]
4352
+ attr_accessor :chrome_browser_profiles
4353
+
4354
+ # The pagination token that can be used to list the next page.
4355
+ # Corresponds to the JSON property `nextPageToken`
4356
+ # @return [String]
4357
+ attr_accessor :next_page_token
4358
+
4359
+ # Total size represents an estimated number of resources returned. Not
4360
+ # guaranteed to be accurate above 10k profiles.
4361
+ # Corresponds to the JSON property `totalSize`
4362
+ # @return [Fixnum]
4363
+ attr_accessor :total_size
4364
+
4365
+ def initialize(**args)
4366
+ update!(**args)
4367
+ end
4368
+
4369
+ # Update properties of this object
4370
+ def update!(**args)
4371
+ @chrome_browser_profiles = args[:chrome_browser_profiles] if args.key?(:chrome_browser_profiles)
4372
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4373
+ @total_size = args[:total_size] if args.key?(:total_size)
4374
+ end
4375
+ end
4376
+
4377
+ # Reporting data of a Chrome browser profile.
4378
+ class GoogleChromeManagementVersionsV1ReportingData
4379
+ include Google::Apis::Core::Hashable
4380
+
4381
+ # Output only. Executable path of the installed Chrome browser. A valid path is
4382
+ # included only in affiliated profiles.
4383
+ # Corresponds to the JSON property `browserExecutablePath`
4384
+ # @return [String]
4385
+ attr_accessor :browser_executable_path
4386
+
4387
+ # Output only. Information of the extensions installed on the profile.
4388
+ # Corresponds to the JSON property `extensionData`
4389
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionData>]
4390
+ attr_accessor :extension_data
4391
+
4392
+ # Output only. Information of the policies applied on the extensions.
4393
+ # Corresponds to the JSON property `extensionPolicyData`
4394
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData>]
4395
+ attr_accessor :extension_policy_data
4396
+
4397
+ # Output only. Updated version of a browser, if it is different from the active
4398
+ # browser version.
4399
+ # Corresponds to the JSON property `installedBrowserVersion`
4400
+ # @return [String]
4401
+ attr_accessor :installed_browser_version
4402
+
4403
+ # Output only. Information of the policies applied on the profile.
4404
+ # Corresponds to the JSON property `policyData`
4405
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData>]
4406
+ attr_accessor :policy_data
4407
+
4408
+ # Output only. Path of the profile. A valid path is included only in affiliated
4409
+ # profiles.
4410
+ # Corresponds to the JSON property `profilePath`
4411
+ # @return [String]
4412
+ attr_accessor :profile_path
4413
+
4414
+ def initialize(**args)
4415
+ update!(**args)
4416
+ end
4417
+
4418
+ # Update properties of this object
4419
+ def update!(**args)
4420
+ @browser_executable_path = args[:browser_executable_path] if args.key?(:browser_executable_path)
4421
+ @extension_data = args[:extension_data] if args.key?(:extension_data)
4422
+ @extension_policy_data = args[:extension_policy_data] if args.key?(:extension_policy_data)
4423
+ @installed_browser_version = args[:installed_browser_version] if args.key?(:installed_browser_version)
4424
+ @policy_data = args[:policy_data] if args.key?(:policy_data)
4425
+ @profile_path = args[:profile_path] if args.key?(:profile_path)
4426
+ end
4427
+ end
4428
+
4429
+ # Information of conflicting policy applied on a Chrome browser profile.
4430
+ class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData
4431
+ include Google::Apis::Core::Hashable
4432
+
4433
+ # Output only. Source of the policy.
4434
+ # Corresponds to the JSON property `source`
4435
+ # @return [String]
4436
+ attr_accessor :source
4437
+
4438
+ def initialize(**args)
4439
+ update!(**args)
4440
+ end
4441
+
4442
+ # Update properties of this object
4443
+ def update!(**args)
4444
+ @source = args[:source] if args.key?(:source)
4445
+ end
4446
+ end
4447
+
4448
+ # Information of an extension installed on a Chrome browser profile.
4449
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionData
4450
+ include Google::Apis::Core::Hashable
4451
+
4452
+ # Output only. Description of the extension.
4453
+ # Corresponds to the JSON property `description`
4454
+ # @return [String]
4455
+ attr_accessor :description
4456
+
4457
+ # Output only. ID of the extension.
4458
+ # Corresponds to the JSON property `extensionId`
4459
+ # @return [String]
4460
+ attr_accessor :extension_id
4461
+
4462
+ # Output only. Type of the extension.
4463
+ # Corresponds to the JSON property `extensionType`
4464
+ # @return [String]
4465
+ attr_accessor :extension_type
4466
+
4467
+ # Output only. The URL of the homepage of the extension.
4468
+ # Corresponds to the JSON property `homepageUri`
4469
+ # @return [String]
4470
+ attr_accessor :homepage_uri
4471
+
4472
+ # Output only. Installation type of the extension.
4473
+ # Corresponds to the JSON property `installationType`
4474
+ # @return [String]
4475
+ attr_accessor :installation_type
4476
+
4477
+ # Output only. Represents whether the user disabled the extension.
4478
+ # Corresponds to the JSON property `isDisabled`
4479
+ # @return [Boolean]
4480
+ attr_accessor :is_disabled
4481
+ alias_method :is_disabled?, :is_disabled
4482
+
4483
+ # Output only. Represents whether the extension is from the webstore.
4484
+ # Corresponds to the JSON property `isWebstoreExtension`
4485
+ # @return [Boolean]
4486
+ attr_accessor :is_webstore_extension
4487
+ alias_method :is_webstore_extension?, :is_webstore_extension
4488
+
4489
+ # Output only. Manifest version of the extension.
4490
+ # Corresponds to the JSON property `manifestVersion`
4491
+ # @return [Fixnum]
4492
+ attr_accessor :manifest_version
4493
+
4494
+ # Output only. Name of the extension.
4495
+ # Corresponds to the JSON property `name`
4496
+ # @return [String]
4497
+ attr_accessor :name
4498
+
4499
+ # Output only. Permissions requested by the extension.
4500
+ # Corresponds to the JSON property `permissions`
4501
+ # @return [Array<String>]
4502
+ attr_accessor :permissions
4503
+
4504
+ # Output only. Version of the extension.
4505
+ # Corresponds to the JSON property `version`
4506
+ # @return [String]
4507
+ attr_accessor :version
4508
+
4509
+ def initialize(**args)
4510
+ update!(**args)
4511
+ end
4512
+
4513
+ # Update properties of this object
4514
+ def update!(**args)
4515
+ @description = args[:description] if args.key?(:description)
4516
+ @extension_id = args[:extension_id] if args.key?(:extension_id)
4517
+ @extension_type = args[:extension_type] if args.key?(:extension_type)
4518
+ @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
4519
+ @installation_type = args[:installation_type] if args.key?(:installation_type)
4520
+ @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
4521
+ @is_webstore_extension = args[:is_webstore_extension] if args.key?(:is_webstore_extension)
4522
+ @manifest_version = args[:manifest_version] if args.key?(:manifest_version)
4523
+ @name = args[:name] if args.key?(:name)
4524
+ @permissions = args[:permissions] if args.key?(:permissions)
4525
+ @version = args[:version] if args.key?(:version)
4526
+ end
4527
+ end
4528
+
4529
+ # Information of the policies applied on an extension.
4530
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData
4531
+ include Google::Apis::Core::Hashable
4532
+
4533
+ # Output only. ID of the extension.
4534
+ # Corresponds to the JSON property `extensionId`
4535
+ # @return [String]
4536
+ attr_accessor :extension_id
4537
+
4538
+ # Output only. Name of the extension.
4539
+ # Corresponds to the JSON property `extensionName`
4540
+ # @return [String]
4541
+ attr_accessor :extension_name
4542
+
4543
+ # Output only. Information of the policies applied on the extension.
4544
+ # Corresponds to the JSON property `policyData`
4545
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData>]
4546
+ attr_accessor :policy_data
4547
+
4548
+ def initialize(**args)
4549
+ update!(**args)
4550
+ end
4551
+
4552
+ # Update properties of this object
4553
+ def update!(**args)
4554
+ @extension_id = args[:extension_id] if args.key?(:extension_id)
4555
+ @extension_name = args[:extension_name] if args.key?(:extension_name)
4556
+ @policy_data = args[:policy_data] if args.key?(:policy_data)
4557
+ end
4558
+ end
4559
+
4560
+ # Information of a policy applied on a Chrome browser profile.
4561
+ class GoogleChromeManagementVersionsV1ReportingDataPolicyData
4562
+ include Google::Apis::Core::Hashable
4563
+
4564
+ # Output only. Conflicting policy information.
4565
+ # Corresponds to the JSON property `conflicts`
4566
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData>]
4567
+ attr_accessor :conflicts
4568
+
4569
+ # Output only. Error message of the policy, if any.
4570
+ # Corresponds to the JSON property `error`
4571
+ # @return [String]
4572
+ attr_accessor :error
4573
+
4574
+ # Output only. Name of the policy.
4575
+ # Corresponds to the JSON property `name`
4576
+ # @return [String]
4577
+ attr_accessor :name
4578
+
4579
+ # Output only. Source of the policy.
4580
+ # Corresponds to the JSON property `source`
4581
+ # @return [String]
4582
+ attr_accessor :source
4583
+
4584
+ # Output only. Value of the policy.
4585
+ # Corresponds to the JSON property `value`
4586
+ # @return [String]
4587
+ attr_accessor :value
4588
+
4589
+ def initialize(**args)
4590
+ update!(**args)
4591
+ end
4592
+
4593
+ # Update properties of this object
4594
+ def update!(**args)
4595
+ @conflicts = args[:conflicts] if args.key?(:conflicts)
4596
+ @error = args[:error] if args.key?(:error)
4597
+ @name = args[:name] if args.key?(:name)
4598
+ @source = args[:source] if args.key?(:source)
4599
+ @value = args[:value] if args.key?(:value)
4600
+ end
4601
+ end
4602
+
4603
+ # A certificate provisioning process.
4604
+ class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess
4605
+ include Google::Apis::Core::Hashable
4606
+
4607
+ # Output only. A JSON string that contains the administrator-provided
4608
+ # configuration for the certification authority service. This field can be
4609
+ # missing if no configuration was given.
4610
+ # Corresponds to the JSON property `caConnectionAdapterConfigReference`
4611
+ # @return [String]
4612
+ attr_accessor :ca_connection_adapter_config_reference
4613
+
4614
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4615
+ # to.
4616
+ # Corresponds to the JSON property `chromeOsDevice`
4617
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice]
4618
+ attr_accessor :chrome_os_device
4619
+
4620
+ # Describes the ChromeOS user session that a `CertificateProvisioningProcess`
4621
+ # belongs to.
4622
+ # Corresponds to the JSON property `chromeOsUserSession`
4623
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession]
4624
+ attr_accessor :chrome_os_user_session
4625
+
4626
+ # Output only. A message describing why this `CertificateProvisioningProcess`
4627
+ # failed. Presence of this field indicates that the `
4628
+ # CertificateProvisioningProcess` has failed.
4629
+ # Corresponds to the JSON property `failureMessage`
4630
+ # @return [String]
4631
+ attr_accessor :failure_message
4632
+
4633
+ # Output only. The issued certificate for this `CertificateProvisioningProcess`
4634
+ # in PEM format.
4635
+ # Corresponds to the JSON property `issuedCertificate`
4636
+ # @return [String]
4637
+ attr_accessor :issued_certificate
4638
+
4639
+ # Identifier. Resource name of the `CertificateProvisioningProcess`. The name
4640
+ # pattern is given as `customers/`customer`/certificateProvisioningProcesses/`
4641
+ # certificate_provisioning_process`` with ``customer`` being the obfuscated
4642
+ # customer id and ``certificate_provisioning_process`` being the certificate
4643
+ # provisioning process id.
4644
+ # Corresponds to the JSON property `name`
4645
+ # @return [String]
4646
+ attr_accessor :name
4647
+
4648
+ # Output only. A JSON string that contains the administrator-provided
4649
+ # configuration for the certificate provisioning profile. This field can be
4650
+ # missing if no configuration was given.
4651
+ # Corresponds to the JSON property `profileAdapterConfigReference`
4652
+ # @return [String]
4653
+ attr_accessor :profile_adapter_config_reference
4654
+
4655
+ # Output only. The ID of the certificate provisioning profile.
4656
+ # Corresponds to the JSON property `provisioningProfileId`
4657
+ # @return [String]
4658
+ attr_accessor :provisioning_profile_id
4659
+
4660
+ # Output only. The data that the client was asked to sign. This field is only
4661
+ # present after the `SignData` operation has been initiated.
4662
+ # Corresponds to the JSON property `signData`
4663
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4664
+ # @return [String]
4665
+ attr_accessor :sign_data
4666
+
4667
+ # Output only. The signature of `signature_algorithm`, generated using the
4668
+ # client's private key using `signature_algorithm`. This field is only present
4669
+ # after the`SignData` operation has finished.
4670
+ # Corresponds to the JSON property `signature`
4671
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4672
+ # @return [String]
4673
+ attr_accessor :signature
4674
+
4675
+ # Output only. The signature algorithm that the adapter expects the client and
4676
+ # backend components to use when processing `sign_data`. This field is only
4677
+ # present after the `SignData` operation has been initiated.
4678
+ # Corresponds to the JSON property `signatureAlgorithm`
4679
+ # @return [String]
4680
+ attr_accessor :signature_algorithm
4681
+
4682
+ # Output only. Server-generated timestamp of when the certificate provisioning
4683
+ # process has been created.
4684
+ # Corresponds to the JSON property `startTime`
4685
+ # @return [String]
4686
+ attr_accessor :start_time
4687
+
4688
+ # Output only. The public key for which a certificate should be provisioned.
4689
+ # Represented as a DER-encoded X.509 SubjectPublicKeyInfo.
4690
+ # Corresponds to the JSON property `subjectPublicKeyInfo`
4691
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4692
+ # @return [String]
4693
+ attr_accessor :subject_public_key_info
4694
+
4695
+ def initialize(**args)
4696
+ update!(**args)
4697
+ end
4698
+
4699
+ # Update properties of this object
4700
+ def update!(**args)
4701
+ @ca_connection_adapter_config_reference = args[:ca_connection_adapter_config_reference] if args.key?(:ca_connection_adapter_config_reference)
4702
+ @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
4703
+ @chrome_os_user_session = args[:chrome_os_user_session] if args.key?(:chrome_os_user_session)
4704
+ @failure_message = args[:failure_message] if args.key?(:failure_message)
4705
+ @issued_certificate = args[:issued_certificate] if args.key?(:issued_certificate)
4706
+ @name = args[:name] if args.key?(:name)
4707
+ @profile_adapter_config_reference = args[:profile_adapter_config_reference] if args.key?(:profile_adapter_config_reference)
4708
+ @provisioning_profile_id = args[:provisioning_profile_id] if args.key?(:provisioning_profile_id)
4709
+ @sign_data = args[:sign_data] if args.key?(:sign_data)
4710
+ @signature = args[:signature] if args.key?(:signature)
4711
+ @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
4712
+ @start_time = args[:start_time] if args.key?(:start_time)
4713
+ @subject_public_key_info = args[:subject_public_key_info] if args.key?(:subject_public_key_info)
4714
+ end
4715
+ end
4716
+
4717
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4718
+ # to.
4719
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
4720
+ include Google::Apis::Core::Hashable
4721
+
4722
+ # Output only. The unique Directory API ID of the device. This value is the same
4723
+ # as the Admin Console's Directory API ID in the ChromeOS Devices tab.
4724
+ # Corresponds to the JSON property `deviceDirectoryApiId`
4725
+ # @return [String]
4726
+ attr_accessor :device_directory_api_id
4727
+
4728
+ # Output only. Device serial number. This value is the same as the Admin Console'
4729
+ # s Serial Number in the ChromeOS Devices tab.
4730
+ # Corresponds to the JSON property `serialNumber`
4731
+ # @return [String]
4732
+ attr_accessor :serial_number
4733
+
4734
+ def initialize(**args)
4735
+ update!(**args)
4736
+ end
4737
+
4738
+ # Update properties of this object
4739
+ def update!(**args)
4740
+ @device_directory_api_id = args[:device_directory_api_id] if args.key?(:device_directory_api_id)
4741
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
4742
+ end
4743
+ end
4744
+
4745
+ # Describes the ChromeOS user session that a `CertificateProvisioningProcess`
4746
+ # belongs to.
4747
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession
4748
+ include Google::Apis::Core::Hashable
4749
+
4750
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4751
+ # to.
4752
+ # Corresponds to the JSON property `chromeOsDevice`
4753
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice]
4754
+ attr_accessor :chrome_os_device
4755
+
4756
+ # Output only. The unique Directory API ID of the user.
4757
+ # Corresponds to the JSON property `userDirectoryApiId`
4758
+ # @return [String]
4759
+ attr_accessor :user_directory_api_id
4760
+
4761
+ # Output only. The primary e-mail address of the user.
4762
+ # Corresponds to the JSON property `userPrimaryEmail`
4763
+ # @return [String]
4764
+ attr_accessor :user_primary_email
4765
+
4766
+ def initialize(**args)
4767
+ update!(**args)
4768
+ end
4769
+
4770
+ # Update properties of this object
4771
+ def update!(**args)
4772
+ @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
4773
+ @user_directory_api_id = args[:user_directory_api_id] if args.key?(:user_directory_api_id)
4774
+ @user_primary_email = args[:user_primary_email] if args.key?(:user_primary_email)
4775
+ end
4776
+ end
4777
+
4778
+ # Metadata for the long-running operation returned by signData.
4779
+ class GoogleChromeManagementVersionsV1alpha1SignDataMetadata
4780
+ include Google::Apis::Core::Hashable
4781
+
4782
+ # Output only. Start time of the SignData operation.
4783
+ # Corresponds to the JSON property `startTime`
4784
+ # @return [String]
4785
+ attr_accessor :start_time
4786
+
4787
+ def initialize(**args)
4788
+ update!(**args)
4789
+ end
4790
+
4791
+ # Update properties of this object
4792
+ def update!(**args)
4793
+ @start_time = args[:start_time] if args.key?(:start_time)
4794
+ end
4795
+ end
4796
+
4797
+ # Response message for requesting a signature from the client that initated a
4798
+ # certificate provisioning process.
4799
+ class GoogleChromeManagementVersionsV1alpha1SignDataResponse
4800
+ include Google::Apis::Core::Hashable
4801
+
4802
+ # A certificate provisioning process.
4803
+ # Corresponds to the JSON property `certificateProvisioningProcess`
4804
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess]
4805
+ attr_accessor :certificate_provisioning_process
4806
+
4807
+ def initialize(**args)
4808
+ update!(**args)
4809
+ end
4810
+
4811
+ # Update properties of this object
4812
+ def update!(**args)
4813
+ @certificate_provisioning_process = args[:certificate_provisioning_process] if args.key?(:certificate_provisioning_process)
4814
+ end
4815
+ end
4816
+
4091
4817
  # A generic empty message that you can re-use to avoid defining duplicated empty
4092
4818
  # messages in your APIs. A typical example is to use it as the request or the
4093
4819
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChromemanagementV1
18
18
  # Version of the google-apis-chromemanagement_v1 gem
19
- GEM_VERSION = "0.58.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241023"
25
+ REVISION = "20241121"
26
26
  end
27
27
  end
28
28
  end
@@ -586,6 +586,90 @@ module Google
586
586
  include Google::Apis::Core::JsonObjectSupport
587
587
  end
588
588
 
589
+ class GoogleChromeManagementVersionsV1AttestationCredential
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class GoogleChromeManagementVersionsV1ChromeBrowserProfile
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class GoogleChromeManagementVersionsV1DeviceInfo
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class GoogleChromeManagementVersionsV1ReportingData
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionData
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class GoogleChromeManagementVersionsV1ReportingDataPolicyData
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class GoogleChromeManagementVersionsV1alpha1SignDataMetadata
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class GoogleChromeManagementVersionsV1alpha1SignDataResponse
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
589
673
  class GoogleProtobufEmpty
590
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
675
 
@@ -1664,6 +1748,186 @@ module Google
1664
1748
  end
1665
1749
  end
1666
1750
 
1751
+ class GoogleChromeManagementVersionsV1AttestationCredential
1752
+ # @private
1753
+ class Representation < Google::Apis::Core::JsonRepresentation
1754
+ property :key_rotation_time, as: 'keyRotationTime'
1755
+ property :key_trust_level, as: 'keyTrustLevel'
1756
+ property :key_type, as: 'keyType'
1757
+ property :public_key, :base64 => true, as: 'publicKey'
1758
+ end
1759
+ end
1760
+
1761
+ class GoogleChromeManagementVersionsV1ChromeBrowserProfile
1762
+ # @private
1763
+ class Representation < Google::Apis::Core::JsonRepresentation
1764
+ property :affiliation_state, as: 'affiliationState'
1765
+ property :annotated_location, as: 'annotatedLocation'
1766
+ property :annotated_user, as: 'annotatedUser'
1767
+ property :attestation_credential, as: 'attestationCredential', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1AttestationCredential, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1AttestationCredential::Representation
1768
+
1769
+ property :browser_channel, as: 'browserChannel'
1770
+ property :browser_version, as: 'browserVersion'
1771
+ property :device_info, as: 'deviceInfo', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DeviceInfo, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DeviceInfo::Representation
1772
+
1773
+ property :display_name, as: 'displayName'
1774
+ property :etag, as: 'etag'
1775
+ property :extension_count, :numeric_string => true, as: 'extensionCount'
1776
+ property :first_enrollment_time, as: 'firstEnrollmentTime'
1777
+ property :identity_provider, as: 'identityProvider'
1778
+ property :last_activity_time, as: 'lastActivityTime'
1779
+ property :last_policy_fetch_time, as: 'lastPolicyFetchTime'
1780
+ property :last_policy_sync_time, as: 'lastPolicySyncTime'
1781
+ property :last_status_report_time, as: 'lastStatusReportTime'
1782
+ property :name, as: 'name'
1783
+ property :os_platform_type, as: 'osPlatformType'
1784
+ property :os_platform_version, as: 'osPlatformVersion'
1785
+ property :os_version, as: 'osVersion'
1786
+ property :policy_count, :numeric_string => true, as: 'policyCount'
1787
+ property :profile_id, as: 'profileId'
1788
+ property :profile_permanent_id, as: 'profilePermanentId'
1789
+ property :reporting_data, as: 'reportingData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingData::Representation
1790
+
1791
+ property :user_email, as: 'userEmail'
1792
+ property :user_id, as: 'userId'
1793
+ end
1794
+ end
1795
+
1796
+ class GoogleChromeManagementVersionsV1DeviceInfo
1797
+ # @private
1798
+ class Representation < Google::Apis::Core::JsonRepresentation
1799
+ property :affiliated_device_id, as: 'affiliatedDeviceId'
1800
+ property :device_type, as: 'deviceType'
1801
+ property :hostname, as: 'hostname'
1802
+ property :machine, as: 'machine'
1803
+ end
1804
+ end
1805
+
1806
+ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
1807
+ # @private
1808
+ class Representation < Google::Apis::Core::JsonRepresentation
1809
+ collection :chrome_browser_profiles, as: 'chromeBrowserProfiles', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile::Representation
1810
+
1811
+ property :next_page_token, as: 'nextPageToken'
1812
+ property :total_size, :numeric_string => true, as: 'totalSize'
1813
+ end
1814
+ end
1815
+
1816
+ class GoogleChromeManagementVersionsV1ReportingData
1817
+ # @private
1818
+ class Representation < Google::Apis::Core::JsonRepresentation
1819
+ property :browser_executable_path, as: 'browserExecutablePath'
1820
+ collection :extension_data, as: 'extensionData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionData::Representation
1821
+
1822
+ collection :extension_policy_data, as: 'extensionPolicyData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData::Representation
1823
+
1824
+ property :installed_browser_version, as: 'installedBrowserVersion'
1825
+ collection :policy_data, as: 'policyData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData::Representation
1826
+
1827
+ property :profile_path, as: 'profilePath'
1828
+ end
1829
+ end
1830
+
1831
+ class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData
1832
+ # @private
1833
+ class Representation < Google::Apis::Core::JsonRepresentation
1834
+ property :source, as: 'source'
1835
+ end
1836
+ end
1837
+
1838
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionData
1839
+ # @private
1840
+ class Representation < Google::Apis::Core::JsonRepresentation
1841
+ property :description, as: 'description'
1842
+ property :extension_id, as: 'extensionId'
1843
+ property :extension_type, as: 'extensionType'
1844
+ property :homepage_uri, as: 'homepageUri'
1845
+ property :installation_type, as: 'installationType'
1846
+ property :is_disabled, as: 'isDisabled'
1847
+ property :is_webstore_extension, as: 'isWebstoreExtension'
1848
+ property :manifest_version, as: 'manifestVersion'
1849
+ property :name, as: 'name'
1850
+ collection :permissions, as: 'permissions'
1851
+ property :version, as: 'version'
1852
+ end
1853
+ end
1854
+
1855
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData
1856
+ # @private
1857
+ class Representation < Google::Apis::Core::JsonRepresentation
1858
+ property :extension_id, as: 'extensionId'
1859
+ property :extension_name, as: 'extensionName'
1860
+ collection :policy_data, as: 'policyData', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData::Representation
1861
+
1862
+ end
1863
+ end
1864
+
1865
+ class GoogleChromeManagementVersionsV1ReportingDataPolicyData
1866
+ # @private
1867
+ class Representation < Google::Apis::Core::JsonRepresentation
1868
+ collection :conflicts, as: 'conflicts', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData::Representation
1869
+
1870
+ property :error, as: 'error'
1871
+ property :name, as: 'name'
1872
+ property :source, as: 'source'
1873
+ property :value, as: 'value'
1874
+ end
1875
+ end
1876
+
1877
+ class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess
1878
+ # @private
1879
+ class Representation < Google::Apis::Core::JsonRepresentation
1880
+ property :ca_connection_adapter_config_reference, as: 'caConnectionAdapterConfigReference'
1881
+ property :chrome_os_device, as: 'chromeOsDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice::Representation
1882
+
1883
+ property :chrome_os_user_session, as: 'chromeOsUserSession', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession::Representation
1884
+
1885
+ property :failure_message, as: 'failureMessage'
1886
+ property :issued_certificate, as: 'issuedCertificate'
1887
+ property :name, as: 'name'
1888
+ property :profile_adapter_config_reference, as: 'profileAdapterConfigReference'
1889
+ property :provisioning_profile_id, as: 'provisioningProfileId'
1890
+ property :sign_data, :base64 => true, as: 'signData'
1891
+ property :signature, :base64 => true, as: 'signature'
1892
+ property :signature_algorithm, as: 'signatureAlgorithm'
1893
+ property :start_time, as: 'startTime'
1894
+ property :subject_public_key_info, :base64 => true, as: 'subjectPublicKeyInfo'
1895
+ end
1896
+ end
1897
+
1898
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
1899
+ # @private
1900
+ class Representation < Google::Apis::Core::JsonRepresentation
1901
+ property :device_directory_api_id, as: 'deviceDirectoryApiId'
1902
+ property :serial_number, as: 'serialNumber'
1903
+ end
1904
+ end
1905
+
1906
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession
1907
+ # @private
1908
+ class Representation < Google::Apis::Core::JsonRepresentation
1909
+ property :chrome_os_device, as: 'chromeOsDevice', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice::Representation
1910
+
1911
+ property :user_directory_api_id, as: 'userDirectoryApiId'
1912
+ property :user_primary_email, as: 'userPrimaryEmail'
1913
+ end
1914
+ end
1915
+
1916
+ class GoogleChromeManagementVersionsV1alpha1SignDataMetadata
1917
+ # @private
1918
+ class Representation < Google::Apis::Core::JsonRepresentation
1919
+ property :start_time, as: 'startTime'
1920
+ end
1921
+ end
1922
+
1923
+ class GoogleChromeManagementVersionsV1alpha1SignDataResponse
1924
+ # @private
1925
+ class Representation < Google::Apis::Core::JsonRepresentation
1926
+ property :certificate_provisioning_process, as: 'certificateProvisioningProcess', class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess, decorator: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess::Representation
1927
+
1928
+ end
1929
+ end
1930
+
1667
1931
  class GoogleProtobufEmpty
1668
1932
  # @private
1669
1933
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -292,6 +292,133 @@ module Google
292
292
  execute_or_queue_command(command, &block)
293
293
  end
294
294
 
295
+ # Deletes the data collected from a Chrome browser profile.
296
+ # @param [String] name
297
+ # Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
298
+ # @param [String] fields
299
+ # Selector specifying which fields to include in a partial response.
300
+ # @param [String] quota_user
301
+ # Available to use for quota purposes for server-side applications. Can be any
302
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
303
+ # @param [Google::Apis::RequestOptions] options
304
+ # Request-specific options
305
+ #
306
+ # @yield [result, err] Result & error if block supplied
307
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty] parsed result object
308
+ # @yieldparam err [StandardError] error object if request failed
309
+ #
310
+ # @return [Google::Apis::ChromemanagementV1::GoogleProtobufEmpty]
311
+ #
312
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
313
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
314
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
315
+ def delete_customer_profile(name, fields: nil, quota_user: nil, options: nil, &block)
316
+ command = make_simple_command(:delete, 'v1/{+name}', options)
317
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty::Representation
318
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleProtobufEmpty
319
+ command.params['name'] = name unless name.nil?
320
+ command.query['fields'] = fields unless fields.nil?
321
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
322
+ execute_or_queue_command(command, &block)
323
+ end
324
+
325
+ # Gets a Chrome browser profile with customer ID and profile permanent ID.
326
+ # @param [String] name
327
+ # Required. Format: customers/`customer_id`/profiles/`profile_permanent_id`
328
+ # @param [String] fields
329
+ # Selector specifying which fields to include in a partial response.
330
+ # @param [String] quota_user
331
+ # Available to use for quota purposes for server-side applications. Can be any
332
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
333
+ # @param [Google::Apis::RequestOptions] options
334
+ # Request-specific options
335
+ #
336
+ # @yield [result, err] Result & error if block supplied
337
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile] parsed result object
338
+ # @yieldparam err [StandardError] error object if request failed
339
+ #
340
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile]
341
+ #
342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
345
+ def get_customer_profile(name, fields: nil, quota_user: nil, options: nil, &block)
346
+ command = make_simple_command(:get, 'v1/{+name}', options)
347
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile::Representation
348
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile
349
+ command.params['name'] = name unless name.nil?
350
+ command.query['fields'] = fields unless fields.nil?
351
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
352
+ execute_or_queue_command(command, &block)
353
+ end
354
+
355
+ # Lists Chrome browser profiles of a customer based on the given search and
356
+ # sorting criteria.
357
+ # @param [String] parent
358
+ # Required. Format: customers/`customer_id`
359
+ # @param [String] filter
360
+ # Optional. The filter used to filter profiles. The following fields can be used
361
+ # in the filter: - profile_id - display_name - user_email - last_activity_time -
362
+ # last_policy_sync_time - last_status_report_time - first_enrollment_time -
363
+ # os_platform_type - os_version - browser_version - browser_channel -
364
+ # policy_count - extension_count - identity_provider - affiliation_state - ouId
365
+ # Any of the above fields can be used to specify a filter, and filtering by
366
+ # multiple fields is supported with AND operator. String type fields and enum
367
+ # type fields support '=' and '!=' operators. The integer type and the timestamp
368
+ # type fields support '=', '!=', '<', '>', '<=' and '>=' operators. Timestamps
369
+ # expect an RFC-3339 formatted string (e.g. 2012-04-21T11:30:00-04:00). Wildcard
370
+ # '*' can be used with a string type field filter. In addition, string literal
371
+ # filtering is also supported, for example, 'ABC' as a filter maps to a filter
372
+ # that checks if any of the filterable string type fields contains 'ABC'.
373
+ # Organization unit number can be used as a filtering criteria here by
374
+ # specifying 'ouId = $`your_org_unit_id`', please note that only single OU ID
375
+ # matching is supported.
376
+ # @param [String] order_by
377
+ # Optional. The fields used to specify the ordering of the results. The
378
+ # supported fields are: - profile_id - display_name - user_email -
379
+ # last_activity_time - last_policy_sync_time - last_status_report_time -
380
+ # first_enrollment_time - os_platform_type - os_version - browser_version -
381
+ # browser_channel - policy_count - extension_count - identity_provider -
382
+ # affiliation_state By default, sorting is in ascending order, to specify
383
+ # descending order for a field, a suffix " desc" should be added to the field
384
+ # name. The default ordering is the descending order of last_status_report_time.
385
+ # @param [Fixnum] page_size
386
+ # Optional. The maximum number of profiles to return. The default page size is
387
+ # 100 if page_size is unspecified, and the maximum page size allowed is 200.
388
+ # @param [String] page_token
389
+ # Optional. The page token used to retrieve a specific page of the listing
390
+ # request.
391
+ # @param [String] fields
392
+ # Selector specifying which fields to include in a partial response.
393
+ # @param [String] quota_user
394
+ # Available to use for quota purposes for server-side applications. Can be any
395
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
396
+ # @param [Google::Apis::RequestOptions] options
397
+ # Request-specific options
398
+ #
399
+ # @yield [result, err] Result & error if block supplied
400
+ # @yieldparam result [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse] parsed result object
401
+ # @yieldparam err [StandardError] error object if request failed
402
+ #
403
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse]
404
+ #
405
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
406
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
407
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
408
+ def list_customer_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
409
+ command = make_simple_command(:get, 'v1/{+parent}/profiles', options)
410
+ command.response_representation = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse::Representation
411
+ command.response_class = Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
412
+ command.params['parent'] = parent unless parent.nil?
413
+ command.query['filter'] = filter unless filter.nil?
414
+ command.query['orderBy'] = order_by unless order_by.nil?
415
+ command.query['pageSize'] = page_size unless page_size.nil?
416
+ command.query['pageToken'] = page_token unless page_token.nil?
417
+ command.query['fields'] = fields unless fields.nil?
418
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
419
+ execute_or_queue_command(command, &block)
420
+ end
421
+
295
422
  # Count of Chrome Browsers that have been recently enrolled, have new policy to
296
423
  # be synced, or have no recent activity.
297
424
  # @param [String] customer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromemanagement_v1/v0.59.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromemanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome Management API V1