Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DefineCertificateResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DefineCertificateResponse
- 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
Response object for creating a certificate.
Instance Attribute Summary collapse
-
#network_id ⇒ String
The guid of the certificate created by the action.
-
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1NetworkSetting>
the affiliated settings of the certificate (NOT IMPLEMENTED) Corresponds to the JSON property
settings. -
#target_resource ⇒ String
the resource at which the certificate is defined.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyV1DefineCertificateResponse
constructor
A new instance of GoogleChromePolicyV1DefineCertificateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1DefineCertificateResponse
Returns a new instance of GoogleChromePolicyV1DefineCertificateResponse.
227 228 229 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 227 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_id ⇒ String
The guid of the certificate created by the action.
Corresponds to the JSON property networkId
215 216 217 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 215 def network_id @network_id end |
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1NetworkSetting>
the affiliated settings of the certificate (NOT IMPLEMENTED)
Corresponds to the JSON property settings
220 221 222 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 220 def settings @settings end |
#target_resource ⇒ String
the resource at which the certificate is defined.
Corresponds to the JSON property targetResource
225 226 227 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 225 def target_resource @target_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
232 233 234 235 236 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 232 def update!(**args) @network_id = args[:network_id] if args.key?(:network_id) @settings = args[:settings] if args.key?(:settings) @target_resource = args[:target_resource] if args.key?(:target_resource) end |