Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1CertificateProvisioningProcess

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb

Overview

A certificate provisioning process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementVersionsV1CertificateProvisioningProcess

Returns a new instance of GoogleChromeManagementVersionsV1CertificateProvisioningProcess.



4515
4516
4517
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4515

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#chrome_os_deviceGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice

Describes the ChromeOS device that a CertificateProvisioningProcess belongs to. Corresponds to the JSON property chromeOsDevice



4424
4425
4426
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4424

def chrome_os_device
  @chrome_os_device
end

#chrome_os_user_sessionGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsUserSession

Describes the ChromeOS user session that a CertificateProvisioningProcess belongs to. Corresponds to the JSON property chromeOsUserSession



4430
4431
4432
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4430

def chrome_os_user_session
  @chrome_os_user_session
end

#failure_messageString

Output only. A message describing why this CertificateProvisioningProcess has failed. Presence of this field indicates that the CertificateProvisioningProcess has failed. Corresponds to the JSON property failureMessage

Returns:

  • (String)


4437
4438
4439
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4437

def failure_message
  @failure_message
end

#generic_ca_connectionGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1GenericCaConnection

Describes a generic Certificate Authority Connection. Corresponds to the JSON property genericCaConnection



4442
4443
4444
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4442

def generic_ca_connection
  @generic_ca_connection
end

#generic_profileGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1GenericProfile

Describes a generic certificate provisioning profile. Corresponds to the JSON property genericProfile



4447
4448
4449
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4447

def generic_profile
  @generic_profile
end

#issued_certificateString

Output only. The issued certificate for this CertificateProvisioningProcess in PEM format. Corresponds to the JSON property issuedCertificate

Returns:

  • (String)


4453
4454
4455
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4453

def issued_certificate
  @issued_certificate
end

#nameString

Identifier. Resource name of the CertificateProvisioningProcess. The name pattern is given as customers/customer/certificateProvisioningProcesses/ certificate_provisioning_processwithcustomerbeing the obfuscated customer id andcertificate_provisioning_process`being the certificate provisioning process id. Corresponds to the JSON propertyname`

Returns:

  • (String)


4462
4463
4464
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4462

def name
  @name
end

#provisioning_profile_idString

Output only. The ID of the certificate provisioning profile. Corresponds to the JSON property provisioningProfileId

Returns:

  • (String)


4467
4468
4469
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4467

def provisioning_profile_id
  @provisioning_profile_id
end

#scep_ca_connectionGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ScepCaConnection

Describes a SCEP Certificate Authority Connection. Corresponds to the JSON property scepCaConnection



4472
4473
4474
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4472

def scep_ca_connection
  @scep_ca_connection
end

#scep_profileGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ScepProfile

Describes a SCEP certificate provisioning profile. Corresponds to the JSON property scepProfile



4477
4478
4479
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4477

def scep_profile
  @scep_profile
end

#sign_dataString

Output only. The data that the client was asked to sign. This field is only present after the SignData operation has been initiated. Corresponds to the JSON property signData NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4484
4485
4486
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4484

def sign_data
  @sign_data
end

#signatureString

Output only. The signature of signature_algorithm, generated using the client's private key using signature_algorithm. This field is only present after the SignData operation has finished. Corresponds to the JSON property signature NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4492
4493
4494
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4492

def signature
  @signature
end

#signature_algorithmString

Output only. The signature algorithm that the client and backend components use when processing sign_data. If the profile_type is a GenericProfile, this field will only be present after the SignData operation was initiated. If the profile_type is a ScepProfile, the field will always be present. Corresponds to the JSON property signatureAlgorithm

Returns:

  • (String)


4500
4501
4502
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4500

def signature_algorithm
  @signature_algorithm
end

#start_timeString

Output only. Server-generated timestamp of when the certificate provisioning process has been created. Corresponds to the JSON property startTime

Returns:

  • (String)


4506
4507
4508
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4506

def start_time
  @start_time
end

#subject_public_key_infoString

Output only. The public key for which a certificate should be provisioned. Represented as a DER-encoded X.509 SubjectPublicKeyInfo. Corresponds to the JSON property subjectPublicKeyInfo NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4513
4514
4515
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4513

def subject_public_key_info
  @subject_public_key_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4520

def update!(**args)
  @chrome_os_device = args[:chrome_os_device] if args.key?(:chrome_os_device)
  @chrome_os_user_session = args[:chrome_os_user_session] if args.key?(:chrome_os_user_session)
  @failure_message = args[:failure_message] if args.key?(:failure_message)
  @generic_ca_connection = args[:generic_ca_connection] if args.key?(:generic_ca_connection)
  @generic_profile = args[:generic_profile] if args.key?(:generic_profile)
  @issued_certificate = args[:issued_certificate] if args.key?(:issued_certificate)
  @name = args[:name] if args.key?(:name)
  @provisioning_profile_id = args[:provisioning_profile_id] if args.key?(:provisioning_profile_id)
  @scep_ca_connection = args[:scep_ca_connection] if args.key?(:scep_ca_connection)
  @scep_profile = args[:scep_profile] if args.key?(:scep_profile)
  @sign_data = args[:sign_data] if args.key?(:sign_data)
  @signature = args[:signature] if args.key?(:signature)
  @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
  @start_time = args[:start_time] if args.key?(:start_time)
  @subject_public_key_info = args[:subject_public_key_info] if args.key?(:subject_public_key_info)
end