google-apis-chromemanagement_v1 0.57.0 → 0.59.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2026,6 +2026,11 @@ module Google
2026
2026
  # @return [Array<String>]
2027
2027
  attr_accessor :permissions
2028
2028
 
2029
+ # Risk assessment data about an extension/app.
2030
+ # Corresponds to the JSON property `riskAssessment`
2031
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentData]
2032
+ attr_accessor :risk_assessment
2033
+
2029
2034
  def initialize(**args)
2030
2035
  update!(**args)
2031
2036
  end
@@ -2043,6 +2048,7 @@ module Google
2043
2048
  @homepage_uri = args[:homepage_uri] if args.key?(:homepage_uri)
2044
2049
  @os_user_count = args[:os_user_count] if args.key?(:os_user_count)
2045
2050
  @permissions = args[:permissions] if args.key?(:permissions)
2051
+ @risk_assessment = args[:risk_assessment] if args.key?(:risk_assessment)
2046
2052
  end
2047
2053
  end
2048
2054
 
@@ -2759,6 +2765,96 @@ module Google
2759
2765
  end
2760
2766
  end
2761
2767
 
2768
+ # Risk assessment for a Chrome extension.
2769
+ class GoogleChromeManagementV1RiskAssessment
2770
+ include Google::Apis::Core::Hashable
2771
+
2772
+ # Risk assessment for the extension. Currently, this is a numerical value, and
2773
+ # its interpretation is specific to each risk assessment provider.
2774
+ # Corresponds to the JSON property `assessment`
2775
+ # @return [String]
2776
+ attr_accessor :assessment
2777
+
2778
+ # A URL that a user can navigate to for more information about the risk
2779
+ # assessment.
2780
+ # Corresponds to the JSON property `detailsUrl`
2781
+ # @return [String]
2782
+ attr_accessor :details_url
2783
+
2784
+ # The version of the extension that this assessment applies to.
2785
+ # Corresponds to the JSON property `version`
2786
+ # @return [String]
2787
+ attr_accessor :version
2788
+
2789
+ def initialize(**args)
2790
+ update!(**args)
2791
+ end
2792
+
2793
+ # Update properties of this object
2794
+ def update!(**args)
2795
+ @assessment = args[:assessment] if args.key?(:assessment)
2796
+ @details_url = args[:details_url] if args.key?(:details_url)
2797
+ @version = args[:version] if args.key?(:version)
2798
+ end
2799
+ end
2800
+
2801
+ # Risk assessment data about an extension/app.
2802
+ class GoogleChromeManagementV1RiskAssessmentData
2803
+ include Google::Apis::Core::Hashable
2804
+
2805
+ # Individual risk assessments.
2806
+ # Corresponds to the JSON property `entries`
2807
+ # @return [Array<Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessmentEntry>]
2808
+ attr_accessor :entries
2809
+
2810
+ # Overall assessed risk level across all entries. This will be the highest risk
2811
+ # level from all entries.
2812
+ # Corresponds to the JSON property `overallRiskLevel`
2813
+ # @return [String]
2814
+ attr_accessor :overall_risk_level
2815
+
2816
+ def initialize(**args)
2817
+ update!(**args)
2818
+ end
2819
+
2820
+ # Update properties of this object
2821
+ def update!(**args)
2822
+ @entries = args[:entries] if args.key?(:entries)
2823
+ @overall_risk_level = args[:overall_risk_level] if args.key?(:overall_risk_level)
2824
+ end
2825
+ end
2826
+
2827
+ # One risk assessment entry.
2828
+ class GoogleChromeManagementV1RiskAssessmentEntry
2829
+ include Google::Apis::Core::Hashable
2830
+
2831
+ # The risk assessment provider from which this entry comes from.
2832
+ # Corresponds to the JSON property `provider`
2833
+ # @return [String]
2834
+ attr_accessor :provider
2835
+
2836
+ # Risk assessment for a Chrome extension.
2837
+ # Corresponds to the JSON property `riskAssessment`
2838
+ # @return [Google::Apis::ChromemanagementV1::GoogleChromeManagementV1RiskAssessment]
2839
+ attr_accessor :risk_assessment
2840
+
2841
+ # The bucketed risk level for the risk assessment.
2842
+ # Corresponds to the JSON property `riskLevel`
2843
+ # @return [String]
2844
+ attr_accessor :risk_level
2845
+
2846
+ def initialize(**args)
2847
+ update!(**args)
2848
+ end
2849
+
2850
+ # Update properties of this object
2851
+ def update!(**args)
2852
+ @provider = args[:provider] if args.key?(:provider)
2853
+ @risk_assessment = args[:risk_assessment] if args.key?(:risk_assessment)
2854
+ @risk_level = args[:risk_level] if args.key?(:risk_level)
2855
+ end
2856
+ end
2857
+
2762
2858
  # Runtime counters retrieved from CPU. Currently the runtime counters telemetry
2763
2859
  # is only supported by Intel vPro PSR on Gen 14+.
2764
2860
  class GoogleChromeManagementV1RuntimeCountersReport
@@ -3992,6 +4088,732 @@ module Google
3992
4088
  end
3993
4089
  end
3994
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
+
3995
4817
  # A generic empty message that you can re-use to avoid defining duplicated empty
3996
4818
  # messages in your APIs. A typical example is to use it as the request or the
3997
4819
  # response type of an API method. For instance: service Foo ` rpc Bar(google.