Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromepolicy_v1/classes.rb,
lib/google/apis/chromepolicy_v1/representations.rb,
lib/google/apis/chromepolicy_v1/representations.rb
Overview
Request object for creating a certificate.
Instance Attribute Summary collapse
-
#ceritificate_name ⇒ String
Optional.
-
#certificate ⇒ String
Required.
-
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>
Optional.
-
#target_resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1DefineCertificateRequest
constructor
A new instance of GoogleChromePolicyVersionsV1DefineCertificateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1DefineCertificateRequest
Returns a new instance of GoogleChromePolicyVersionsV1DefineCertificateRequest.
209 210 211 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 209 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ceritificate_name ⇒ String
Optional. The optional name of the certificate. If not specified, the
certificate issuer will be used as the name.
Corresponds to the JSON property ceritificateName
189 190 191 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 189 def ceritificate_name @ceritificate_name end |
#certificate ⇒ String
Required. The raw contents of the .PEM, .CRT, or .CER file.
Corresponds to the JSON property certificate
194 195 196 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 194 def certificate @certificate end |
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>
Optional. Certificate settings within the chrome.networks.certificates
namespace.
Corresponds to the JSON property settings
200 201 202 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 200 def settings @settings end |
#target_resource ⇒ String
Required. The target resource on which this certificate is applied. The
following resources are supported: * Organizational Unit ("orgunits/
orgunit_id
")
Corresponds to the JSON property targetResource
207 208 209 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 207 def target_resource @target_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
214 215 216 217 218 219 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 214 def update!(**args) @ceritificate_name = args[:ceritificate_name] if args.key?(:ceritificate_name) @certificate = args[:certificate] if args.key?(:certificate) @settings = args[:settings] if args.key?(:settings) @target_resource = args[:target_resource] if args.key?(:target_resource) end |