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.



4221
4222
4223
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4221

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

Instance Attribute Details

#ca_connection_adapter_config_referenceString

Output only. A JSON string that contains the administrator-provided configuration for the certification authority service. This field can be missing if no configuration was given. Corresponds to the JSON property caConnectionAdapterConfigReference

Returns:

  • (String)


4138
4139
4140
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4138

def ca_connection_adapter_config_reference
  @ca_connection_adapter_config_reference
end

#chrome_os_deviceGoogle::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ChromeOsDevice

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



4144
4145
4146
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4144

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



4150
4151
4152
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4150

def chrome_os_user_session
  @chrome_os_user_session
end

#failure_messageString

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

Returns:

  • (String)


4157
4158
4159
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4157

def failure_message
  @failure_message
end

#issued_certificateString

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

Returns:

  • (String)


4163
4164
4165
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4163

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)


4172
4173
4174
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4172

def name
  @name
end

#profile_adapter_config_referenceString

Output only. A JSON string that contains the administrator-provided configuration for the certificate provisioning profile. This field can be missing if no configuration was given. Corresponds to the JSON property profileAdapterConfigReference

Returns:

  • (String)


4179
4180
4181
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4179

def profile_adapter_config_reference
  @profile_adapter_config_reference
end

#provisioning_profile_idString

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

Returns:

  • (String)


4184
4185
4186
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4184

def provisioning_profile_id
  @provisioning_profile_id
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)


4191
4192
4193
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4191

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 theSignData operation has finished. Corresponds to the JSON property signature NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4199
4200
4201
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4199

def signature
  @signature
end

#signature_algorithmString

Output only. The signature algorithm that the adapter expects the client and backend components to use when processing sign_data. This field is only present after the SignData operation has been initiated. Corresponds to the JSON property signatureAlgorithm

Returns:

  • (String)


4206
4207
4208
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4206

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)


4212
4213
4214
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4212

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)


4219
4220
4221
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4219

def subject_public_key_info
  @subject_public_key_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4226

def update!(**args)
  @ca_connection_adapter_config_reference = args[:ca_connection_adapter_config_reference] if args.key?(:ca_connection_adapter_config_reference)
  @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)
  @issued_certificate = args[:issued_certificate] if args.key?(:issued_certificate)
  @name = args[:name] if args.key?(:name)
  @profile_adapter_config_reference = args[:profile_adapter_config_reference] if args.key?(:profile_adapter_config_reference)
  @provisioning_profile_id = args[:provisioning_profile_id] if args.key?(:provisioning_profile_id)
  @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