Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineCertificateResponse

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) ⇒ GoogleChromePolicyVersionsV1DefineCertificateResponse

Returns a new instance of GoogleChromePolicyVersionsV1DefineCertificateResponse.



241
242
243
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 241

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)


229
230
231
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 229

def network_id
  @network_id
end

#settingsArray<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>

the affiliated settings of the certificate (NOT IMPLEMENTED) Corresponds to the JSON property settings



234
235
236
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 234

def settings
  @settings
end

#target_resourceString

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

Returns:

  • (String)


239
240
241
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 239

def target_resource
  @target_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



246
247
248
249
250
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 246

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