Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1ScepProfile

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

Describes a SCEP certificate provisioning profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementVersionsV1ScepProfile

Returns a new instance of GoogleChromeManagementVersionsV1ScepProfile.



5386
5387
5388
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5386

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

Instance Attribute Details

#certificate_template_nameString

Output only. The certificate template name as defined by the admin on their on- prem infrastructure. The Certificate Authority uses this name to identify the certificate template. Corresponds to the JSON property certificateTemplateName

Returns:

  • (String)


5344
5345
5346
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5344

def certificate_template_name
  @certificate_template_name
end

#countryString

Output only. The country of the subject. Corresponds to the JSON property country

Returns:

  • (String)


5349
5350
5351
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5349

def country
  @country
end

#key_usagesArray<String>

Output only. The allowed key usages for certificate's key. Corresponds to the JSON property keyUsages

Returns:

  • (Array<String>)


5354
5355
5356
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5354

def key_usages
  @key_usages
end

#localityString

Output only. The locality of the subject. Corresponds to the JSON property locality

Returns:

  • (String)


5359
5360
5361
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5359

def locality
  @locality
end

#organizationString

Output only. The name of the organization the subject belongs to. Corresponds to the JSON property organization

Returns:

  • (String)


5364
5365
5366
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5364

def organization
  @organization
end

#organizational_unitsArray<String>

Output only. The organizational units of the subject. Corresponds to the JSON property organizationalUnits

Returns:

  • (Array<String>)


5369
5370
5371
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5369

def organizational_units
  @organizational_units
end

#stateString

Output only. The state of the subject. Corresponds to the JSON property state

Returns:

  • (String)


5374
5375
5376
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5374

def state
  @state
end

#subject_alt_namesArray<Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1SubjectAltName>

Output only. The subject alternative names. Corresponds to the JSON property subjectAltNames



5379
5380
5381
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5379

def subject_alt_names
  @subject_alt_names
end

#subject_common_nameString

Output only. The common name of the subject. Corresponds to the JSON property subjectCommonName

Returns:

  • (String)


5384
5385
5386
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5384

def subject_common_name
  @subject_common_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 5391

def update!(**args)
  @certificate_template_name = args[:certificate_template_name] if args.key?(:certificate_template_name)
  @country = args[:country] if args.key?(:country)
  @key_usages = args[:key_usages] if args.key?(:key_usages)
  @locality = args[:locality] if args.key?(:locality)
  @organization = args[:organization] if args.key?(:organization)
  @organizational_units = args[:organizational_units] if args.key?(:organizational_units)
  @state = args[:state] if args.key?(:state)
  @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
  @subject_common_name = args[:subject_common_name] if args.key?(:subject_common_name)
end