files.com 1.0.306 → 1.0.307

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b80fc442a1c6f9cf1868f1fc0f58a09dc589cf6169170c4ddb945fcb90eb57f9
4
- data.tar.gz: 7a3e306bf7a584a807f6252603ebda225f43bb8207ca12ac9db1f85f7c433633
3
+ metadata.gz: 35344405a6087e27b154eeb4cc97a6f083e91c23ebee8f6cb80103701f29bf86
4
+ data.tar.gz: c9ebe175bb2d022ab1d2c8e0fc084a301a3f21de63a2e99c4142dc64676c36d6
5
5
  SHA512:
6
- metadata.gz: 87905cefffb6002eaf873e87c39a390a5c886ce0f0b2afa31a82df3c9169d3535ac8d38d7a009029933fabd0d3b94f8c7b74369ebd0a5b0b11c9219d3ad21020
7
- data.tar.gz: 381248234de760e9c3ec0dfe1cfb681a230eb2d84dba88b77273d33fa1ce6094576da85c403adea88e3b13910da07e8a3c275b0bdd1578c4403ab9e0b4521820
6
+ metadata.gz: a224c0dc624a10e332411136f953778dc81aca87262ab96d60039ced7d1660fd884778e3386db5bd176a17dc7aceaf39e883cca8432b28498022928345274b49
7
+ data.tar.gz: 70ad2bceee076f8c436ee07a6a777884ac187c0708c3f35493bd72ef87d2a5d7add3158d72affb3310a4e0d42c42cd8fbafc62826e8ce6296cc2e0647e0b40ef
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.306
1
+ 1.0.307
@@ -273,7 +273,8 @@ Files::RemoteServer.configuration_file(id,
273
273
  status: "example",
274
274
  config_version: "example",
275
275
  private_key: "example",
276
- public_key: "example"
276
+ public_key: "example",
277
+ server_host_key: "example"
277
278
  )
278
279
  ```
279
280
 
@@ -289,6 +290,7 @@ Files::RemoteServer.configuration_file(id,
289
290
  * `config_version` (string): agent config version
290
291
  * `private_key` (string): private key
291
292
  * `public_key` (string): public key
293
+ * `server_host_key` (string):
292
294
 
293
295
 
294
296
  ---
@@ -423,7 +425,8 @@ remote_server.configuration_file(
423
425
  status: "example",
424
426
  config_version: "example",
425
427
  private_key: "example",
426
- public_key: "example"
428
+ public_key: "example",
429
+ server_host_key: "example"
427
430
  )
428
431
  ```
429
432
 
@@ -439,6 +442,7 @@ remote_server.configuration_file(
439
442
  * `config_version` (string): agent config version
440
443
  * `private_key` (string): private key
441
444
  * `public_key` (string): public key
445
+ * `server_host_key` (string):
442
446
 
443
447
 
444
448
  ---
@@ -13,7 +13,8 @@
13
13
  "public_key": "example",
14
14
  "private_key": "example",
15
15
  "status": "example",
16
- "config_version": "example"
16
+ "config_version": "example",
17
+ "server_host_key": "example"
17
18
  }
18
19
  ```
19
20
 
@@ -27,3 +28,4 @@
27
28
  * `private_key` (string): private key
28
29
  * `status` (string): either running or shutdown
29
30
  * `config_version` (string): agent config version
31
+ * `server_host_key` (string):
@@ -561,6 +561,7 @@ module Files
561
561
  # config_version - string - agent config version
562
562
  # private_key - string - private key
563
563
  # public_key - string - public key
564
+ # server_host_key - string
564
565
  def configuration_file(params = {})
565
566
  params ||= {}
566
567
  params[:id] = @attributes[:id]
@@ -575,6 +576,7 @@ module Files
575
576
  raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
576
577
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
577
578
  raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
579
+ raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
578
580
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
579
581
 
580
582
  Api.send_request("/remote_servers/#{@attributes[:id]}/configuration_file", :post, params, @options)
@@ -875,6 +877,7 @@ module Files
875
877
  # config_version - string - agent config version
876
878
  # private_key - string - private key
877
879
  # public_key - string - public key
880
+ # server_host_key - string
878
881
  def self.configuration_file(id, params = {}, options = {})
879
882
  params ||= {}
880
883
  params[:id] = id
@@ -888,6 +891,7 @@ module Files
888
891
  raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
889
892
  raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
890
893
  raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
894
+ raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
891
895
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
892
896
 
893
897
  response, options = Api.send_request("/remote_servers/#{params[:id]}/configuration_file", :post, params, options)
@@ -58,5 +58,10 @@ module Files
58
58
  def config_version
59
59
  @attributes[:config_version]
60
60
  end
61
+
62
+ # string
63
+ def server_host_key
64
+ @attributes[:server_host_key]
65
+ end
61
66
  end
62
67
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.306
4
+ version: 1.0.307
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-11 00:00:00.000000000 Z
11
+ date: 2022-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable