google-apis-file_v1 0.42.0 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/file_v1/classes.rb +70 -0
- data/lib/google/apis/file_v1/gem_version.rb +3 -3
- data/lib/google/apis/file_v1/representations.rb +33 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13db732f2b637c05b3204281616dc299c73916ba3e7d1b8597363be74da5cd42
|
4
|
+
data.tar.gz: 2ee96dd2819ef4718cfee000dc4434cc331e129e98411c8a670647b5e702cfbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94b0481340aa2d5e042773788a6a159b69d1292d44d7e5ad0c49859f3caa91de22ba022694290cd58a5841bd68247567f69a07d628ab2ec163c481319883ce33
|
7
|
+
data.tar.gz: 41a8ff86b32d1973790ca69e1e39ee9bcfb44ecc90b4b6c0f567b2dd587f983d900dd88114f477784e7a85e790917ec0b118925f7fd6d4958618a705cb1af986
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-file_v1
|
2
2
|
|
3
|
+
### v0.43.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240511
|
6
|
+
* Regenerated using generator version 0.15.0
|
7
|
+
|
3
8
|
### v0.42.0 (2024-03-17)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240307
|
@@ -799,6 +799,11 @@ module Google
|
|
799
799
|
# @return [Array<Google::Apis::FileV1::NetworkConfig>]
|
800
800
|
attr_accessor :networks
|
801
801
|
|
802
|
+
# Replication specifications.
|
803
|
+
# Corresponds to the JSON property `replication`
|
804
|
+
# @return [Google::Apis::FileV1::Replication]
|
805
|
+
attr_accessor :replication
|
806
|
+
|
802
807
|
# Output only. Reserved for future use.
|
803
808
|
# Corresponds to the JSON property `satisfiesPzi`
|
804
809
|
# @return [Boolean]
|
@@ -846,6 +851,7 @@ module Google
|
|
846
851
|
@labels = args[:labels] if args.key?(:labels)
|
847
852
|
@name = args[:name] if args.key?(:name)
|
848
853
|
@networks = args[:networks] if args.key?(:networks)
|
854
|
+
@replication = args[:replication] if args.key?(:replication)
|
849
855
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
850
856
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
851
857
|
@state = args[:state] if args.key?(:state)
|
@@ -1374,6 +1380,70 @@ module Google
|
|
1374
1380
|
end
|
1375
1381
|
end
|
1376
1382
|
|
1383
|
+
# Replica configuration for the instance.
|
1384
|
+
class ReplicaConfig
|
1385
|
+
include Google::Apis::Core::Hashable
|
1386
|
+
|
1387
|
+
# Output only. The timestamp of the latest replication snapshot taken on the
|
1388
|
+
# active instance and is already replicated safely.
|
1389
|
+
# Corresponds to the JSON property `lastActiveSyncTime`
|
1390
|
+
# @return [String]
|
1391
|
+
attr_accessor :last_active_sync_time
|
1392
|
+
|
1393
|
+
# Optional. The peer instance.
|
1394
|
+
# Corresponds to the JSON property `peerInstance`
|
1395
|
+
# @return [String]
|
1396
|
+
attr_accessor :peer_instance
|
1397
|
+
|
1398
|
+
# Output only. The replica state.
|
1399
|
+
# Corresponds to the JSON property `state`
|
1400
|
+
# @return [String]
|
1401
|
+
attr_accessor :state
|
1402
|
+
|
1403
|
+
# Output only. Additional information about the replication state, if available.
|
1404
|
+
# Corresponds to the JSON property `stateReasons`
|
1405
|
+
# @return [Array<String>]
|
1406
|
+
attr_accessor :state_reasons
|
1407
|
+
|
1408
|
+
def initialize(**args)
|
1409
|
+
update!(**args)
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# Update properties of this object
|
1413
|
+
def update!(**args)
|
1414
|
+
@last_active_sync_time = args[:last_active_sync_time] if args.key?(:last_active_sync_time)
|
1415
|
+
@peer_instance = args[:peer_instance] if args.key?(:peer_instance)
|
1416
|
+
@state = args[:state] if args.key?(:state)
|
1417
|
+
@state_reasons = args[:state_reasons] if args.key?(:state_reasons)
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# Replication specifications.
|
1422
|
+
class Replication
|
1423
|
+
include Google::Apis::Core::Hashable
|
1424
|
+
|
1425
|
+
# Optional. Replicas configuration on the instance. For now, only a single
|
1426
|
+
# replica config is supported.
|
1427
|
+
# Corresponds to the JSON property `replicas`
|
1428
|
+
# @return [Array<Google::Apis::FileV1::ReplicaConfig>]
|
1429
|
+
attr_accessor :replicas
|
1430
|
+
|
1431
|
+
# Optional. The replication role.
|
1432
|
+
# Corresponds to the JSON property `role`
|
1433
|
+
# @return [String]
|
1434
|
+
attr_accessor :role
|
1435
|
+
|
1436
|
+
def initialize(**args)
|
1437
|
+
update!(**args)
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Update properties of this object
|
1441
|
+
def update!(**args)
|
1442
|
+
@replicas = args[:replicas] if args.key?(:replicas)
|
1443
|
+
@role = args[:role] if args.key?(:role)
|
1444
|
+
end
|
1445
|
+
end
|
1446
|
+
|
1377
1447
|
# RestoreInstanceRequest restores an existing instance's file share from a
|
1378
1448
|
# backup.
|
1379
1449
|
class RestoreInstanceRequest
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FileV1
|
18
18
|
# Version of the google-apis-file_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240511"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -196,6 +196,18 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class ReplicaConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class Replication
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
199
211
|
class RestoreInstanceRequest
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
213
|
|
@@ -431,6 +443,8 @@ module Google
|
|
431
443
|
property :name, as: 'name'
|
432
444
|
collection :networks, as: 'networks', class: Google::Apis::FileV1::NetworkConfig, decorator: Google::Apis::FileV1::NetworkConfig::Representation
|
433
445
|
|
446
|
+
property :replication, as: 'replication', class: Google::Apis::FileV1::Replication, decorator: Google::Apis::FileV1::Replication::Representation
|
447
|
+
|
434
448
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
435
449
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
436
450
|
property :state, as: 'state'
|
@@ -569,6 +583,25 @@ module Google
|
|
569
583
|
end
|
570
584
|
end
|
571
585
|
|
586
|
+
class ReplicaConfig
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
property :last_active_sync_time, as: 'lastActiveSyncTime'
|
590
|
+
property :peer_instance, as: 'peerInstance'
|
591
|
+
property :state, as: 'state'
|
592
|
+
collection :state_reasons, as: 'stateReasons'
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
class Replication
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
collection :replicas, as: 'replicas', class: Google::Apis::FileV1::ReplicaConfig, decorator: Google::Apis::FileV1::ReplicaConfig::Representation
|
600
|
+
|
601
|
+
property :role, as: 'role'
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
572
605
|
class RestoreInstanceRequest
|
573
606
|
# @private
|
574
607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-file_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1/v0.43.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|