Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveCertificateRequest
- 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 removing a certificate.
Instance Attribute Summary collapse
-
#network_id ⇒ String
Required.
-
#target_resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1RemoveCertificateRequest
constructor
A new instance of GoogleChromePolicyVersionsV1RemoveCertificateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1RemoveCertificateRequest
Returns a new instance of GoogleChromePolicyVersionsV1RemoveCertificateRequest.
1151 1152 1153 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_id ⇒ String
Required. The GUID of the certificate to remove.
Corresponds to the JSON property networkId
1142 1143 1144 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1142 def network_id @network_id end |
#target_resource ⇒ String
Required. The target resource on which this certificate will be removed. The
following resources are supported: * Organizational Unit ("orgunits/
orgunit_id
")
Corresponds to the JSON property targetResource
1149 1150 1151 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1149 def target_resource @target_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1156 1157 1158 1159 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1156 def update!(**args) @network_id = args[:network_id] if args.key?(:network_id) @target_resource = args[:target_resource] if args.key?(:target_resource) end |