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.
255 256 257 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 255 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
235 236 237 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 235 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
240 241 242 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 240 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
246 247 248 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 246 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
253 254 255 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 253 def target_resource @target_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 263 264 265 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 260 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 |