Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DefineCertificateResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

The guid of the certificate created by the action. Corresponds to the JSON property networkId

Returns:

  • (String)


215
216
217
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 215

def network_id
  @network_id
end

#settingsArray<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_resourceString

the resource at which the certificate is defined. Corresponds to the JSON property targetResource

Returns:

  • (String)


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