google-apis-chromemanagement_v1 0.58.0 → 0.60.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4088,6 +4088,946 @@ 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 certificate provisioning process.
4130
+ class GoogleChromeManagementVersionsV1CertificateProvisioningProcess
4131
+ include Google::Apis::Core::Hashable
4132
+
4133
+ # Output only. A JSON string that contains the administrator-provided
4134
+ # configuration for the certification authority service. This field can be
4135
+ # missing if no configuration was given.
4136
+ # Corresponds to the JSON property `caConnectionAdapterConfigReference`
4137
+ # @return [String]
4138
+ attr_accessor :ca_connection_adapter_config_reference
4139
+
4140
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4141
+ # to.
4142
+ # Corresponds to the JSON property `chromeOsDevice`
4143
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice]
4144
+ attr_accessor :chrome_os_device
4145
+
4146
+ # Describes the ChromeOS user session that a `CertificateProvisioningProcess`
4147
+ # belongs to.
4148
+ # Corresponds to the JSON property `chromeOsUserSession`
4149
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsUserSession]
4150
+ attr_accessor :chrome_os_user_session
4151
+
4152
+ # Output only. A message describing why this `CertificateProvisioningProcess`
4153
+ # failed. Presence of this field indicates that the `
4154
+ # CertificateProvisioningProcess` has failed.
4155
+ # Corresponds to the JSON property `failureMessage`
4156
+ # @return [String]
4157
+ attr_accessor :failure_message
4158
+
4159
+ # Output only. The issued certificate for this `CertificateProvisioningProcess`
4160
+ # in PEM format.
4161
+ # Corresponds to the JSON property `issuedCertificate`
4162
+ # @return [String]
4163
+ attr_accessor :issued_certificate
4164
+
4165
+ # Identifier. Resource name of the `CertificateProvisioningProcess`. The name
4166
+ # pattern is given as `customers/`customer`/certificateProvisioningProcesses/`
4167
+ # certificate_provisioning_process`` with ``customer`` being the obfuscated
4168
+ # customer id and ``certificate_provisioning_process`` being the certificate
4169
+ # provisioning process id.
4170
+ # Corresponds to the JSON property `name`
4171
+ # @return [String]
4172
+ attr_accessor :name
4173
+
4174
+ # Output only. A JSON string that contains the administrator-provided
4175
+ # configuration for the certificate provisioning profile. This field can be
4176
+ # missing if no configuration was given.
4177
+ # Corresponds to the JSON property `profileAdapterConfigReference`
4178
+ # @return [String]
4179
+ attr_accessor :profile_adapter_config_reference
4180
+
4181
+ # Output only. The ID of the certificate provisioning profile.
4182
+ # Corresponds to the JSON property `provisioningProfileId`
4183
+ # @return [String]
4184
+ attr_accessor :provisioning_profile_id
4185
+
4186
+ # Output only. The data that the client was asked to sign. This field is only
4187
+ # present after the `SignData` operation has been initiated.
4188
+ # Corresponds to the JSON property `signData`
4189
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4190
+ # @return [String]
4191
+ attr_accessor :sign_data
4192
+
4193
+ # Output only. The signature of `signature_algorithm`, generated using the
4194
+ # client's private key using `signature_algorithm`. This field is only present
4195
+ # after the`SignData` operation has finished.
4196
+ # Corresponds to the JSON property `signature`
4197
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4198
+ # @return [String]
4199
+ attr_accessor :signature
4200
+
4201
+ # Output only. The signature algorithm that the adapter expects the client and
4202
+ # backend components to use when processing `sign_data`. This field is only
4203
+ # present after the `SignData` operation has been initiated.
4204
+ # Corresponds to the JSON property `signatureAlgorithm`
4205
+ # @return [String]
4206
+ attr_accessor :signature_algorithm
4207
+
4208
+ # Output only. Server-generated timestamp of when the certificate provisioning
4209
+ # process has been created.
4210
+ # Corresponds to the JSON property `startTime`
4211
+ # @return [String]
4212
+ attr_accessor :start_time
4213
+
4214
+ # Output only. The public key for which a certificate should be provisioned.
4215
+ # Represented as a DER-encoded X.509 SubjectPublicKeyInfo.
4216
+ # Corresponds to the JSON property `subjectPublicKeyInfo`
4217
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4218
+ # @return [String]
4219
+ attr_accessor :subject_public_key_info
4220
+
4221
+ def initialize(**args)
4222
+ update!(**args)
4223
+ end
4224
+
4225
+ # Update properties of this object
4226
+ def update!(**args)
4227
+ @ca_connection_adapter_config_reference = args[:ca_connection_adapter_config_reference] if args.key?(:ca_connection_adapter_config_reference)
4228
+ @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
4229
+ @chrome_os_user_session = args[:chrome_os_user_session] if args.key?(:chrome_os_user_session)
4230
+ @failure_message = args[:failure_message] if args.key?(:failure_message)
4231
+ @issued_certificate = args[:issued_certificate] if args.key?(:issued_certificate)
4232
+ @name = args[:name] if args.key?(:name)
4233
+ @profile_adapter_config_reference = args[:profile_adapter_config_reference] if args.key?(:profile_adapter_config_reference)
4234
+ @provisioning_profile_id = args[:provisioning_profile_id] if args.key?(:provisioning_profile_id)
4235
+ @sign_data = args[:sign_data] if args.key?(:sign_data)
4236
+ @signature = args[:signature] if args.key?(:signature)
4237
+ @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
4238
+ @start_time = args[:start_time] if args.key?(:start_time)
4239
+ @subject_public_key_info = args[:subject_public_key_info] if args.key?(:subject_public_key_info)
4240
+ end
4241
+ end
4242
+
4243
+ # A representation of a Chrome browser profile.
4244
+ class GoogleChromeManagementVersionsV1ChromeBrowserProfile
4245
+ include Google::Apis::Core::Hashable
4246
+
4247
+ # Output only. The specific affiliation state of the profile.
4248
+ # Corresponds to the JSON property `affiliationState`
4249
+ # @return [String]
4250
+ attr_accessor :affiliation_state
4251
+
4252
+ # Optional. Location of the profile annotated by the admin.
4253
+ # Corresponds to the JSON property `annotatedLocation`
4254
+ # @return [String]
4255
+ attr_accessor :annotated_location
4256
+
4257
+ # Optional. User of the profile annotated by the admin.
4258
+ # Corresponds to the JSON property `annotatedUser`
4259
+ # @return [String]
4260
+ attr_accessor :annotated_user
4261
+
4262
+ # Information of public key associated with a Chrome browser profile.
4263
+ # Corresponds to the JSON property `attestationCredential`
4264
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1AttestationCredential]
4265
+ attr_accessor :attestation_credential
4266
+
4267
+ # Output only. Channel of the browser on which the profile exists.
4268
+ # Corresponds to the JSON property `browserChannel`
4269
+ # @return [String]
4270
+ attr_accessor :browser_channel
4271
+
4272
+ # Output only. Version of the browser on which the profile exists.
4273
+ # Corresponds to the JSON property `browserVersion`
4274
+ # @return [String]
4275
+ attr_accessor :browser_version
4276
+
4277
+ # Information of a device that runs a Chrome browser profile.
4278
+ # Corresponds to the JSON property `deviceInfo`
4279
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1DeviceInfo]
4280
+ attr_accessor :device_info
4281
+
4282
+ # Output only. Profile display name set by client.
4283
+ # Corresponds to the JSON property `displayName`
4284
+ # @return [String]
4285
+ attr_accessor :display_name
4286
+
4287
+ # Output only. Etag of this ChromeBrowserProfile resource. This etag can be used
4288
+ # with UPDATE operation to ensure consistency.
4289
+ # Corresponds to the JSON property `etag`
4290
+ # @return [String]
4291
+ attr_accessor :etag
4292
+
4293
+ # Output only. Number of extensions installed on the profile.
4294
+ # Corresponds to the JSON property `extensionCount`
4295
+ # @return [Fixnum]
4296
+ attr_accessor :extension_count
4297
+
4298
+ # Output only. Timestamp of the first enrollment of the profile.
4299
+ # Corresponds to the JSON property `firstEnrollmentTime`
4300
+ # @return [String]
4301
+ attr_accessor :first_enrollment_time
4302
+
4303
+ # Output only. Identify provider of the profile.
4304
+ # Corresponds to the JSON property `identityProvider`
4305
+ # @return [String]
4306
+ attr_accessor :identity_provider
4307
+
4308
+ # Output only. Timestamp of the latest activity by the profile.
4309
+ # Corresponds to the JSON property `lastActivityTime`
4310
+ # @return [String]
4311
+ attr_accessor :last_activity_time
4312
+
4313
+ # Output only. Timestamp of the latest policy fetch by the profile.
4314
+ # Corresponds to the JSON property `lastPolicyFetchTime`
4315
+ # @return [String]
4316
+ attr_accessor :last_policy_fetch_time
4317
+
4318
+ # Output only. Timestamp of the latest policy sync by the profile.
4319
+ # Corresponds to the JSON property `lastPolicySyncTime`
4320
+ # @return [String]
4321
+ attr_accessor :last_policy_sync_time
4322
+
4323
+ # Output only. Timestamp of the latest status report by the profile.
4324
+ # Corresponds to the JSON property `lastStatusReportTime`
4325
+ # @return [String]
4326
+ attr_accessor :last_status_report_time
4327
+
4328
+ # Identifier. Format: customers/`customer_id`/profiles/`profile_permanent_id`
4329
+ # Corresponds to the JSON property `name`
4330
+ # @return [String]
4331
+ attr_accessor :name
4332
+
4333
+ # Output only. OS platform of the device on which the profile exists.
4334
+ # Corresponds to the JSON property `osPlatformType`
4335
+ # @return [String]
4336
+ attr_accessor :os_platform_type
4337
+
4338
+ # Output only. Major OS version of the device on which the profile exists. (i.e.
4339
+ # Windows 10)
4340
+ # Corresponds to the JSON property `osPlatformVersion`
4341
+ # @return [String]
4342
+ attr_accessor :os_platform_version
4343
+
4344
+ # Output only. OS version of the device on which the profile exists.
4345
+ # Corresponds to the JSON property `osVersion`
4346
+ # @return [String]
4347
+ attr_accessor :os_version
4348
+
4349
+ # Output only. Number of policies applied on the profile.
4350
+ # Corresponds to the JSON property `policyCount`
4351
+ # @return [Fixnum]
4352
+ attr_accessor :policy_count
4353
+
4354
+ # Output only. Chrome client side profile ID.
4355
+ # Corresponds to the JSON property `profileId`
4356
+ # @return [String]
4357
+ attr_accessor :profile_id
4358
+
4359
+ # Output only. Profile permanent ID is the unique identifier of a profile within
4360
+ # one customer.
4361
+ # Corresponds to the JSON property `profilePermanentId`
4362
+ # @return [String]
4363
+ attr_accessor :profile_permanent_id
4364
+
4365
+ # Reporting data of a Chrome browser profile.
4366
+ # Corresponds to the JSON property `reportingData`
4367
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingData]
4368
+ attr_accessor :reporting_data
4369
+
4370
+ # Output only. Email address of the user to which the profile belongs.
4371
+ # Corresponds to the JSON property `userEmail`
4372
+ # @return [String]
4373
+ attr_accessor :user_email
4374
+
4375
+ # Output only. Unique Directory API ID of the user that can be used in Admin SDK
4376
+ # Users API.
4377
+ # Corresponds to the JSON property `userId`
4378
+ # @return [String]
4379
+ attr_accessor :user_id
4380
+
4381
+ def initialize(**args)
4382
+ update!(**args)
4383
+ end
4384
+
4385
+ # Update properties of this object
4386
+ def update!(**args)
4387
+ @affiliation_state = args[:affiliation_state] if args.key?(:affiliation_state)
4388
+ @annotated_location = args[:annotated_location] if args.key?(:annotated_location)
4389
+ @annotated_user = args[:annotated_user] if args.key?(:annotated_user)
4390
+ @attestation_credential = args[:attestation_credential] if args.key?(:attestation_credential)
4391
+ @browser_channel = args[:browser_channel] if args.key?(:browser_channel)
4392
+ @browser_version = args[:browser_version] if args.key?(:browser_version)
4393
+ @device_info = args[:device_info] if args.key?(:device_info)
4394
+ @display_name = args[:display_name] if args.key?(:display_name)
4395
+ @etag = args[:etag] if args.key?(:etag)
4396
+ @extension_count = args[:extension_count] if args.key?(:extension_count)
4397
+ @first_enrollment_time = args[:first_enrollment_time] if args.key?(:first_enrollment_time)
4398
+ @identity_provider = args[:identity_provider] if args.key?(:identity_provider)
4399
+ @last_activity_time = args[:last_activity_time] if args.key?(:last_activity_time)
4400
+ @last_policy_fetch_time = args[:last_policy_fetch_time] if args.key?(:last_policy_fetch_time)
4401
+ @last_policy_sync_time = args[:last_policy_sync_time] if args.key?(:last_policy_sync_time)
4402
+ @last_status_report_time = args[:last_status_report_time] if args.key?(:last_status_report_time)
4403
+ @name = args[:name] if args.key?(:name)
4404
+ @os_platform_type = args[:os_platform_type] if args.key?(:os_platform_type)
4405
+ @os_platform_version = args[:os_platform_version] if args.key?(:os_platform_version)
4406
+ @os_version = args[:os_version] if args.key?(:os_version)
4407
+ @policy_count = args[:policy_count] if args.key?(:policy_count)
4408
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
4409
+ @profile_permanent_id = args[:profile_permanent_id] if args.key?(:profile_permanent_id)
4410
+ @reporting_data = args[:reporting_data] if args.key?(:reporting_data)
4411
+ @user_email = args[:user_email] if args.key?(:user_email)
4412
+ @user_id = args[:user_id] if args.key?(:user_id)
4413
+ end
4414
+ end
4415
+
4416
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4417
+ # to.
4418
+ class GoogleChromeManagementVersionsV1ChromeOsDevice
4419
+ include Google::Apis::Core::Hashable
4420
+
4421
+ # Output only. The unique Directory API ID of the device. This value is the same
4422
+ # as the Admin Console's Directory API ID in the ChromeOS Devices tab.
4423
+ # Corresponds to the JSON property `deviceDirectoryApiId`
4424
+ # @return [String]
4425
+ attr_accessor :device_directory_api_id
4426
+
4427
+ # Output only. Device serial number. This value is the same as the Admin Console'
4428
+ # s Serial Number in the ChromeOS Devices tab.
4429
+ # Corresponds to the JSON property `serialNumber`
4430
+ # @return [String]
4431
+ attr_accessor :serial_number
4432
+
4433
+ def initialize(**args)
4434
+ update!(**args)
4435
+ end
4436
+
4437
+ # Update properties of this object
4438
+ def update!(**args)
4439
+ @device_directory_api_id = args[:device_directory_api_id] if args.key?(:device_directory_api_id)
4440
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
4441
+ end
4442
+ end
4443
+
4444
+ # Describes the ChromeOS user session that a `CertificateProvisioningProcess`
4445
+ # belongs to.
4446
+ class GoogleChromeManagementVersionsV1ChromeOsUserSession
4447
+ include Google::Apis::Core::Hashable
4448
+
4449
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4450
+ # to.
4451
+ # Corresponds to the JSON property `chromeOsDevice`
4452
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice]
4453
+ attr_accessor :chrome_os_device
4454
+
4455
+ # Output only. The unique Directory API ID of the user.
4456
+ # Corresponds to the JSON property `userDirectoryApiId`
4457
+ # @return [String]
4458
+ attr_accessor :user_directory_api_id
4459
+
4460
+ # Output only. The primary e-mail address of the user.
4461
+ # Corresponds to the JSON property `userPrimaryEmail`
4462
+ # @return [String]
4463
+ attr_accessor :user_primary_email
4464
+
4465
+ def initialize(**args)
4466
+ update!(**args)
4467
+ end
4468
+
4469
+ # Update properties of this object
4470
+ def update!(**args)
4471
+ @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
4472
+ @user_directory_api_id = args[:user_directory_api_id] if args.key?(:user_directory_api_id)
4473
+ @user_primary_email = args[:user_primary_email] if args.key?(:user_primary_email)
4474
+ end
4475
+ end
4476
+
4477
+ # Information of a device that runs a Chrome browser profile.
4478
+ class GoogleChromeManagementVersionsV1DeviceInfo
4479
+ include Google::Apis::Core::Hashable
4480
+
4481
+ # Output only. Device ID that identifies the affiliated device on which the
4482
+ # profile exists. If the device type is CHROME_BROWSER, then this represents a
4483
+ # unique Directory API ID of the device that can be used in Admin SDK Browsers
4484
+ # API.
4485
+ # Corresponds to the JSON property `affiliatedDeviceId`
4486
+ # @return [String]
4487
+ attr_accessor :affiliated_device_id
4488
+
4489
+ # Output only. Type of the device on which the profile exists.
4490
+ # Corresponds to the JSON property `deviceType`
4491
+ # @return [String]
4492
+ attr_accessor :device_type
4493
+
4494
+ # Output only. Hostname of the device on which the profile exists.
4495
+ # Corresponds to the JSON property `hostname`
4496
+ # @return [String]
4497
+ attr_accessor :hostname
4498
+
4499
+ # Output only. Machine name of the device on which the profile exists. On
4500
+ # platforms which do not report the machine name (currently iOS and Android)
4501
+ # this is instead set to the browser's device_id - but note that this is a
4502
+ # different device_id than the |affiliated_device_id|.
4503
+ # Corresponds to the JSON property `machine`
4504
+ # @return [String]
4505
+ attr_accessor :machine
4506
+
4507
+ def initialize(**args)
4508
+ update!(**args)
4509
+ end
4510
+
4511
+ # Update properties of this object
4512
+ def update!(**args)
4513
+ @affiliated_device_id = args[:affiliated_device_id] if args.key?(:affiliated_device_id)
4514
+ @device_type = args[:device_type] if args.key?(:device_type)
4515
+ @hostname = args[:hostname] if args.key?(:hostname)
4516
+ @machine = args[:machine] if args.key?(:machine)
4517
+ end
4518
+ end
4519
+
4520
+ # Response to ListChromeBrowserProfiles method.
4521
+ class GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse
4522
+ include Google::Apis::Core::Hashable
4523
+
4524
+ # The list of profiles returned.
4525
+ # Corresponds to the JSON property `chromeBrowserProfiles`
4526
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeBrowserProfile>]
4527
+ attr_accessor :chrome_browser_profiles
4528
+
4529
+ # The pagination token that can be used to list the next page.
4530
+ # Corresponds to the JSON property `nextPageToken`
4531
+ # @return [String]
4532
+ attr_accessor :next_page_token
4533
+
4534
+ # Total size represents an estimated number of resources returned. Not
4535
+ # guaranteed to be accurate above 10k profiles.
4536
+ # Corresponds to the JSON property `totalSize`
4537
+ # @return [Fixnum]
4538
+ attr_accessor :total_size
4539
+
4540
+ def initialize(**args)
4541
+ update!(**args)
4542
+ end
4543
+
4544
+ # Update properties of this object
4545
+ def update!(**args)
4546
+ @chrome_browser_profiles = args[:chrome_browser_profiles] if args.key?(:chrome_browser_profiles)
4547
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4548
+ @total_size = args[:total_size] if args.key?(:total_size)
4549
+ end
4550
+ end
4551
+
4552
+ # Reporting data of a Chrome browser profile.
4553
+ class GoogleChromeManagementVersionsV1ReportingData
4554
+ include Google::Apis::Core::Hashable
4555
+
4556
+ # Output only. Executable path of the installed Chrome browser. A valid path is
4557
+ # included only in affiliated profiles.
4558
+ # Corresponds to the JSON property `browserExecutablePath`
4559
+ # @return [String]
4560
+ attr_accessor :browser_executable_path
4561
+
4562
+ # Output only. Information of the extensions installed on the profile.
4563
+ # Corresponds to the JSON property `extensionData`
4564
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionData>]
4565
+ attr_accessor :extension_data
4566
+
4567
+ # Output only. Information of the policies applied on the extensions.
4568
+ # Corresponds to the JSON property `extensionPolicyData`
4569
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData>]
4570
+ attr_accessor :extension_policy_data
4571
+
4572
+ # Output only. Updated version of a browser, if it is different from the active
4573
+ # browser version.
4574
+ # Corresponds to the JSON property `installedBrowserVersion`
4575
+ # @return [String]
4576
+ attr_accessor :installed_browser_version
4577
+
4578
+ # Output only. Information of the policies applied on the profile.
4579
+ # Corresponds to the JSON property `policyData`
4580
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData>]
4581
+ attr_accessor :policy_data
4582
+
4583
+ # Output only. Path of the profile. A valid path is included only in affiliated
4584
+ # profiles.
4585
+ # Corresponds to the JSON property `profilePath`
4586
+ # @return [String]
4587
+ attr_accessor :profile_path
4588
+
4589
+ def initialize(**args)
4590
+ update!(**args)
4591
+ end
4592
+
4593
+ # Update properties of this object
4594
+ def update!(**args)
4595
+ @browser_executable_path = args[:browser_executable_path] if args.key?(:browser_executable_path)
4596
+ @extension_data = args[:extension_data] if args.key?(:extension_data)
4597
+ @extension_policy_data = args[:extension_policy_data] if args.key?(:extension_policy_data)
4598
+ @installed_browser_version = args[:installed_browser_version] if args.key?(:installed_browser_version)
4599
+ @policy_data = args[:policy_data] if args.key?(:policy_data)
4600
+ @profile_path = args[:profile_path] if args.key?(:profile_path)
4601
+ end
4602
+ end
4603
+
4604
+ # Information of conflicting policy applied on a Chrome browser profile.
4605
+ class GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData
4606
+ include Google::Apis::Core::Hashable
4607
+
4608
+ # Output only. Source of the policy.
4609
+ # Corresponds to the JSON property `source`
4610
+ # @return [String]
4611
+ attr_accessor :source
4612
+
4613
+ def initialize(**args)
4614
+ update!(**args)
4615
+ end
4616
+
4617
+ # Update properties of this object
4618
+ def update!(**args)
4619
+ @source = args[:source] if args.key?(:source)
4620
+ end
4621
+ end
4622
+
4623
+ # Information of an extension installed on a Chrome browser profile.
4624
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionData
4625
+ include Google::Apis::Core::Hashable
4626
+
4627
+ # Output only. Description of the extension.
4628
+ # Corresponds to the JSON property `description`
4629
+ # @return [String]
4630
+ attr_accessor :description
4631
+
4632
+ # Output only. ID of the extension.
4633
+ # Corresponds to the JSON property `extensionId`
4634
+ # @return [String]
4635
+ attr_accessor :extension_id
4636
+
4637
+ # Output only. Type of the extension.
4638
+ # Corresponds to the JSON property `extensionType`
4639
+ # @return [String]
4640
+ attr_accessor :extension_type
4641
+
4642
+ # Output only. The URL of the homepage of the extension.
4643
+ # Corresponds to the JSON property `homepageUri`
4644
+ # @return [String]
4645
+ attr_accessor :homepage_uri
4646
+
4647
+ # Output only. Installation type of the extension.
4648
+ # Corresponds to the JSON property `installationType`
4649
+ # @return [String]
4650
+ attr_accessor :installation_type
4651
+
4652
+ # Output only. Represents whether the user disabled the extension.
4653
+ # Corresponds to the JSON property `isDisabled`
4654
+ # @return [Boolean]
4655
+ attr_accessor :is_disabled
4656
+ alias_method :is_disabled?, :is_disabled
4657
+
4658
+ # Output only. Represents whether the extension is from the webstore.
4659
+ # Corresponds to the JSON property `isWebstoreExtension`
4660
+ # @return [Boolean]
4661
+ attr_accessor :is_webstore_extension
4662
+ alias_method :is_webstore_extension?, :is_webstore_extension
4663
+
4664
+ # Output only. Manifest version of the extension.
4665
+ # Corresponds to the JSON property `manifestVersion`
4666
+ # @return [Fixnum]
4667
+ attr_accessor :manifest_version
4668
+
4669
+ # Output only. Name of the extension.
4670
+ # Corresponds to the JSON property `name`
4671
+ # @return [String]
4672
+ attr_accessor :name
4673
+
4674
+ # Output only. Permissions requested by the extension.
4675
+ # Corresponds to the JSON property `permissions`
4676
+ # @return [Array<String>]
4677
+ attr_accessor :permissions
4678
+
4679
+ # Output only. Version of the extension.
4680
+ # Corresponds to the JSON property `version`
4681
+ # @return [String]
4682
+ attr_accessor :version
4683
+
4684
+ def initialize(**args)
4685
+ update!(**args)
4686
+ end
4687
+
4688
+ # Update properties of this object
4689
+ def update!(**args)
4690
+ @description = args[:description] if args.key?(:description)
4691
+ @extension_id = args[:extension_id] if args.key?(:extension_id)
4692
+ @extension_type = args[:extension_type] if args.key?(:extension_type)
4693
+ @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
4694
+ @installation_type = args[:installation_type] if args.key?(:installation_type)
4695
+ @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
4696
+ @is_webstore_extension = args[:is_webstore_extension] if args.key?(:is_webstore_extension)
4697
+ @manifest_version = args[:manifest_version] if args.key?(:manifest_version)
4698
+ @name = args[:name] if args.key?(:name)
4699
+ @permissions = args[:permissions] if args.key?(:permissions)
4700
+ @version = args[:version] if args.key?(:version)
4701
+ end
4702
+ end
4703
+
4704
+ # Information of the policies applied on an extension.
4705
+ class GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData
4706
+ include Google::Apis::Core::Hashable
4707
+
4708
+ # Output only. ID of the extension.
4709
+ # Corresponds to the JSON property `extensionId`
4710
+ # @return [String]
4711
+ attr_accessor :extension_id
4712
+
4713
+ # Output only. Name of the extension.
4714
+ # Corresponds to the JSON property `extensionName`
4715
+ # @return [String]
4716
+ attr_accessor :extension_name
4717
+
4718
+ # Output only. Information of the policies applied on the extension.
4719
+ # Corresponds to the JSON property `policyData`
4720
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataPolicyData>]
4721
+ attr_accessor :policy_data
4722
+
4723
+ def initialize(**args)
4724
+ update!(**args)
4725
+ end
4726
+
4727
+ # Update properties of this object
4728
+ def update!(**args)
4729
+ @extension_id = args[:extension_id] if args.key?(:extension_id)
4730
+ @extension_name = args[:extension_name] if args.key?(:extension_name)
4731
+ @policy_data = args[:policy_data] if args.key?(:policy_data)
4732
+ end
4733
+ end
4734
+
4735
+ # Information of a policy applied on a Chrome browser profile.
4736
+ class GoogleChromeManagementVersionsV1ReportingDataPolicyData
4737
+ include Google::Apis::Core::Hashable
4738
+
4739
+ # Output only. Conflicting policy information.
4740
+ # Corresponds to the JSON property `conflicts`
4741
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData>]
4742
+ attr_accessor :conflicts
4743
+
4744
+ # Output only. Error message of the policy, if any.
4745
+ # Corresponds to the JSON property `error`
4746
+ # @return [String]
4747
+ attr_accessor :error
4748
+
4749
+ # Output only. Name of the policy.
4750
+ # Corresponds to the JSON property `name`
4751
+ # @return [String]
4752
+ attr_accessor :name
4753
+
4754
+ # Output only. Source of the policy.
4755
+ # Corresponds to the JSON property `source`
4756
+ # @return [String]
4757
+ attr_accessor :source
4758
+
4759
+ # Output only. Value of the policy.
4760
+ # Corresponds to the JSON property `value`
4761
+ # @return [String]
4762
+ attr_accessor :value
4763
+
4764
+ def initialize(**args)
4765
+ update!(**args)
4766
+ end
4767
+
4768
+ # Update properties of this object
4769
+ def update!(**args)
4770
+ @conflicts = args[:conflicts] if args.key?(:conflicts)
4771
+ @error = args[:error] if args.key?(:error)
4772
+ @name = args[:name] if args.key?(:name)
4773
+ @source = args[:source] if args.key?(:source)
4774
+ @value = args[:value] if args.key?(:value)
4775
+ end
4776
+ end
4777
+
4778
+ # Metadata for the long-running operation returned by signData.
4779
+ class GoogleChromeManagementVersionsV1SignDataMetadata
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 GoogleChromeManagementVersionsV1SignDataResponse
4800
+ include Google::Apis::Core::Hashable
4801
+
4802
+ # A certificate provisioning process.
4803
+ # Corresponds to the JSON property `certificateProvisioningProcess`
4804
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess]
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
+
4817
+ # A certificate provisioning process.
4818
+ class GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess
4819
+ include Google::Apis::Core::Hashable
4820
+
4821
+ # Output only. A JSON string that contains the administrator-provided
4822
+ # configuration for the certification authority service. This field can be
4823
+ # missing if no configuration was given.
4824
+ # Corresponds to the JSON property `caConnectionAdapterConfigReference`
4825
+ # @return [String]
4826
+ attr_accessor :ca_connection_adapter_config_reference
4827
+
4828
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4829
+ # to.
4830
+ # Corresponds to the JSON property `chromeOsDevice`
4831
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice]
4832
+ attr_accessor :chrome_os_device
4833
+
4834
+ # Describes the ChromeOS user session that a `CertificateProvisioningProcess`
4835
+ # belongs to.
4836
+ # Corresponds to the JSON property `chromeOsUserSession`
4837
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession]
4838
+ attr_accessor :chrome_os_user_session
4839
+
4840
+ # Output only. A message describing why this `CertificateProvisioningProcess`
4841
+ # failed. Presence of this field indicates that the `
4842
+ # CertificateProvisioningProcess` has failed.
4843
+ # Corresponds to the JSON property `failureMessage`
4844
+ # @return [String]
4845
+ attr_accessor :failure_message
4846
+
4847
+ # Output only. The issued certificate for this `CertificateProvisioningProcess`
4848
+ # in PEM format.
4849
+ # Corresponds to the JSON property `issuedCertificate`
4850
+ # @return [String]
4851
+ attr_accessor :issued_certificate
4852
+
4853
+ # Identifier. Resource name of the `CertificateProvisioningProcess`. The name
4854
+ # pattern is given as `customers/`customer`/certificateProvisioningProcesses/`
4855
+ # certificate_provisioning_process`` with ``customer`` being the obfuscated
4856
+ # customer id and ``certificate_provisioning_process`` being the certificate
4857
+ # provisioning process id.
4858
+ # Corresponds to the JSON property `name`
4859
+ # @return [String]
4860
+ attr_accessor :name
4861
+
4862
+ # Output only. A JSON string that contains the administrator-provided
4863
+ # configuration for the certificate provisioning profile. This field can be
4864
+ # missing if no configuration was given.
4865
+ # Corresponds to the JSON property `profileAdapterConfigReference`
4866
+ # @return [String]
4867
+ attr_accessor :profile_adapter_config_reference
4868
+
4869
+ # Output only. The ID of the certificate provisioning profile.
4870
+ # Corresponds to the JSON property `provisioningProfileId`
4871
+ # @return [String]
4872
+ attr_accessor :provisioning_profile_id
4873
+
4874
+ # Output only. The data that the client was asked to sign. This field is only
4875
+ # present after the `SignData` operation has been initiated.
4876
+ # Corresponds to the JSON property `signData`
4877
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4878
+ # @return [String]
4879
+ attr_accessor :sign_data
4880
+
4881
+ # Output only. The signature of `signature_algorithm`, generated using the
4882
+ # client's private key using `signature_algorithm`. This field is only present
4883
+ # after the`SignData` operation has finished.
4884
+ # Corresponds to the JSON property `signature`
4885
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4886
+ # @return [String]
4887
+ attr_accessor :signature
4888
+
4889
+ # Output only. The signature algorithm that the adapter expects the client and
4890
+ # backend components to use when processing `sign_data`. This field is only
4891
+ # present after the `SignData` operation has been initiated.
4892
+ # Corresponds to the JSON property `signatureAlgorithm`
4893
+ # @return [String]
4894
+ attr_accessor :signature_algorithm
4895
+
4896
+ # Output only. Server-generated timestamp of when the certificate provisioning
4897
+ # process has been created.
4898
+ # Corresponds to the JSON property `startTime`
4899
+ # @return [String]
4900
+ attr_accessor :start_time
4901
+
4902
+ # Output only. The public key for which a certificate should be provisioned.
4903
+ # Represented as a DER-encoded X.509 SubjectPublicKeyInfo.
4904
+ # Corresponds to the JSON property `subjectPublicKeyInfo`
4905
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4906
+ # @return [String]
4907
+ attr_accessor :subject_public_key_info
4908
+
4909
+ def initialize(**args)
4910
+ update!(**args)
4911
+ end
4912
+
4913
+ # Update properties of this object
4914
+ def update!(**args)
4915
+ @ca_connection_adapter_config_reference = args[:ca_connection_adapter_config_reference] if args.key?(:ca_connection_adapter_config_reference)
4916
+ @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
4917
+ @chrome_os_user_session = args[:chrome_os_user_session] if args.key?(:chrome_os_user_session)
4918
+ @failure_message = args[:failure_message] if args.key?(:failure_message)
4919
+ @issued_certificate = args[:issued_certificate] if args.key?(:issued_certificate)
4920
+ @name = args[:name] if args.key?(:name)
4921
+ @profile_adapter_config_reference = args[:profile_adapter_config_reference] if args.key?(:profile_adapter_config_reference)
4922
+ @provisioning_profile_id = args[:provisioning_profile_id] if args.key?(:provisioning_profile_id)
4923
+ @sign_data = args[:sign_data] if args.key?(:sign_data)
4924
+ @signature = args[:signature] if args.key?(:signature)
4925
+ @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
4926
+ @start_time = args[:start_time] if args.key?(:start_time)
4927
+ @subject_public_key_info = args[:subject_public_key_info] if args.key?(:subject_public_key_info)
4928
+ end
4929
+ end
4930
+
4931
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4932
+ # to.
4933
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsDevice
4934
+ include Google::Apis::Core::Hashable
4935
+
4936
+ # Output only. The unique Directory API ID of the device. This value is the same
4937
+ # as the Admin Console's Directory API ID in the ChromeOS Devices tab.
4938
+ # Corresponds to the JSON property `deviceDirectoryApiId`
4939
+ # @return [String]
4940
+ attr_accessor :device_directory_api_id
4941
+
4942
+ # Output only. Device serial number. This value is the same as the Admin Console'
4943
+ # s Serial Number in the ChromeOS Devices tab.
4944
+ # Corresponds to the JSON property `serialNumber`
4945
+ # @return [String]
4946
+ attr_accessor :serial_number
4947
+
4948
+ def initialize(**args)
4949
+ update!(**args)
4950
+ end
4951
+
4952
+ # Update properties of this object
4953
+ def update!(**args)
4954
+ @device_directory_api_id = args[:device_directory_api_id] if args.key?(:device_directory_api_id)
4955
+ @serial_number = args[:serial_number] if args.key?(:serial_number)
4956
+ end
4957
+ end
4958
+
4959
+ # Describes the ChromeOS user session that a `CertificateProvisioningProcess`
4960
+ # belongs to.
4961
+ class GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession
4962
+ include Google::Apis::Core::Hashable
4963
+
4964
+ # Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs
4965
+ # to.
4966
+ # Corresponds to the JSON property `chromeOsDevice`
4967
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1ChromeOsDevice]
4968
+ attr_accessor :chrome_os_device
4969
+
4970
+ # Output only. The unique Directory API ID of the user.
4971
+ # Corresponds to the JSON property `userDirectoryApiId`
4972
+ # @return [String]
4973
+ attr_accessor :user_directory_api_id
4974
+
4975
+ # Output only. The primary e-mail address of the user.
4976
+ # Corresponds to the JSON property `userPrimaryEmail`
4977
+ # @return [String]
4978
+ attr_accessor :user_primary_email
4979
+
4980
+ def initialize(**args)
4981
+ update!(**args)
4982
+ end
4983
+
4984
+ # Update properties of this object
4985
+ def update!(**args)
4986
+ @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
4987
+ @user_directory_api_id = args[:user_directory_api_id] if args.key?(:user_directory_api_id)
4988
+ @user_primary_email = args[:user_primary_email] if args.key?(:user_primary_email)
4989
+ end
4990
+ end
4991
+
4992
+ # Metadata for the long-running operation returned by signData.
4993
+ class GoogleChromeManagementVersionsV1alpha1SignDataMetadata
4994
+ include Google::Apis::Core::Hashable
4995
+
4996
+ # Output only. Start time of the SignData operation.
4997
+ # Corresponds to the JSON property `startTime`
4998
+ # @return [String]
4999
+ attr_accessor :start_time
5000
+
5001
+ def initialize(**args)
5002
+ update!(**args)
5003
+ end
5004
+
5005
+ # Update properties of this object
5006
+ def update!(**args)
5007
+ @start_time = args[:start_time] if args.key?(:start_time)
5008
+ end
5009
+ end
5010
+
5011
+ # Response message for requesting a signature from the client that initated a
5012
+ # certificate provisioning process.
5013
+ class GoogleChromeManagementVersionsV1alpha1SignDataResponse
5014
+ include Google::Apis::Core::Hashable
5015
+
5016
+ # A certificate provisioning process.
5017
+ # Corresponds to the JSON property `certificateProvisioningProcess`
5018
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1alpha1CertificateProvisioningProcess]
5019
+ attr_accessor :certificate_provisioning_process
5020
+
5021
+ def initialize(**args)
5022
+ update!(**args)
5023
+ end
5024
+
5025
+ # Update properties of this object
5026
+ def update!(**args)
5027
+ @certificate_provisioning_process = args[:certificate_provisioning_process] if args.key?(:certificate_provisioning_process)
5028
+ end
5029
+ end
5030
+
4091
5031
  # A generic empty message that you can re-use to avoid defining duplicated empty
4092
5032
  # messages in your APIs. A typical example is to use it as the request or the
4093
5033
  # response type of an API method. For instance: service Foo ` rpc Bar(google.