google-apis-file_v1beta1 0.46.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4293690da50a6d38d8dda913f994fce7e21faa1bac61c78e055084b64109a11
4
- data.tar.gz: b08c4d4a60618a1a363dda443b788e3cc6f4c274e588bed88673ea8e69e8cf31
3
+ metadata.gz: 862518aba080b6f67ab545d121143c17f35fd729c7818c894f9c920940da4f5d
4
+ data.tar.gz: 88d8bc9c2b9d8ee23d863649ae012bff0fd6dfd3e30688fe3a30e7e7587bfdd5
5
5
  SHA512:
6
- metadata.gz: 98364f0e1acbf0d2f18aeab5a9582ceae52acf83e96c00e556384aa889835abbf8a075f9ac71ce0585db76f2359bad6530a9aaed3272a54beb65fccab5f8373a
7
- data.tar.gz: dbb0f01681012ceb2a3322ddeacdb5c9eddefb1add1528108b5300b7b1ed470a35d0e2d2066c6d47ca03ec005aa2771d9fc983be36feda0bb54cf0dba704f565
6
+ metadata.gz: 0e59b66b7ea9911f945f8d9ebc3fc033cc29a9c19e0077fb153b7200210cbb9e8dca1b2834c370af9fe00478177aeab74cbe60884d15e586d96696e106e6c608
7
+ data.tar.gz: 8dff628b52b8781eff46ff0d44abf51f7239678e6632c1acb2bba5bd574f5b0699e53c3a705cde17d33c1d16c47084f374ebef637214646252e4d49d9c46b7c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.47.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240511
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.46.0 (2024-03-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20240307
@@ -859,6 +859,11 @@ module Google
859
859
  # @return [String]
860
860
  attr_accessor :protocol
861
861
 
862
+ # Replication specifications.
863
+ # Corresponds to the JSON property `replication`
864
+ # @return [Google::Apis::FileV1beta1::Replication]
865
+ attr_accessor :replication
866
+
862
867
  # Output only. Reserved for future use.
863
868
  # Corresponds to the JSON property `satisfiesPzi`
864
869
  # @return [Boolean]
@@ -913,6 +918,7 @@ module Google
913
918
  @name = args[:name] if args.key?(:name)
914
919
  @networks = args[:networks] if args.key?(:networks)
915
920
  @protocol = args[:protocol] if args.key?(:protocol)
921
+ @replication = args[:replication] if args.key?(:replication)
916
922
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
917
923
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
918
924
  @state = args[:state] if args.key?(:state)
@@ -1521,6 +1527,70 @@ module Google
1521
1527
  end
1522
1528
  end
1523
1529
 
1530
+ # Replica configuration for the instance.
1531
+ class ReplicaConfig
1532
+ include Google::Apis::Core::Hashable
1533
+
1534
+ # Output only. The timestamp of the latest replication snapshot taken on the
1535
+ # active instance and is already replicated safely.
1536
+ # Corresponds to the JSON property `lastActiveSyncTime`
1537
+ # @return [String]
1538
+ attr_accessor :last_active_sync_time
1539
+
1540
+ # The peer instance.
1541
+ # Corresponds to the JSON property `peerInstance`
1542
+ # @return [String]
1543
+ attr_accessor :peer_instance
1544
+
1545
+ # Output only. The replica state.
1546
+ # Corresponds to the JSON property `state`
1547
+ # @return [String]
1548
+ attr_accessor :state
1549
+
1550
+ # Output only. Additional information about the replication state, if available.
1551
+ # Corresponds to the JSON property `stateReasons`
1552
+ # @return [Array<String>]
1553
+ attr_accessor :state_reasons
1554
+
1555
+ def initialize(**args)
1556
+ update!(**args)
1557
+ end
1558
+
1559
+ # Update properties of this object
1560
+ def update!(**args)
1561
+ @last_active_sync_time = args[:last_active_sync_time] if args.key?(:last_active_sync_time)
1562
+ @peer_instance = args[:peer_instance] if args.key?(:peer_instance)
1563
+ @state = args[:state] if args.key?(:state)
1564
+ @state_reasons = args[:state_reasons] if args.key?(:state_reasons)
1565
+ end
1566
+ end
1567
+
1568
+ # Replication specifications.
1569
+ class Replication
1570
+ include Google::Apis::Core::Hashable
1571
+
1572
+ # Replicas configuration on the instance. For now, only a single replica config
1573
+ # is supported.
1574
+ # Corresponds to the JSON property `replicas`
1575
+ # @return [Array<Google::Apis::FileV1beta1::ReplicaConfig>]
1576
+ attr_accessor :replicas
1577
+
1578
+ # Output only. The replication role.
1579
+ # Corresponds to the JSON property `role`
1580
+ # @return [String]
1581
+ attr_accessor :role
1582
+
1583
+ def initialize(**args)
1584
+ update!(**args)
1585
+ end
1586
+
1587
+ # Update properties of this object
1588
+ def update!(**args)
1589
+ @replicas = args[:replicas] if args.key?(:replicas)
1590
+ @role = args[:role] if args.key?(:role)
1591
+ end
1592
+ end
1593
+
1524
1594
  # RestoreInstanceRequest restores an existing instance's file share from a
1525
1595
  # backup.
1526
1596
  class RestoreInstanceRequest
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FileV1beta1
18
18
  # Version of the google-apis-file_v1beta1 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240307"
25
+ REVISION = "20240511"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,18 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class ReplicaConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Replication
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class RestoreInstanceRequest
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -477,6 +489,8 @@ module Google
477
489
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
478
490
 
479
491
  property :protocol, as: 'protocol'
492
+ property :replication, as: 'replication', class: Google::Apis::FileV1beta1::Replication, decorator: Google::Apis::FileV1beta1::Replication::Representation
493
+
480
494
  property :satisfies_pzi, as: 'satisfiesPzi'
481
495
  property :satisfies_pzs, as: 'satisfiesPzs'
482
496
  property :state, as: 'state'
@@ -640,6 +654,25 @@ module Google
640
654
  end
641
655
  end
642
656
 
657
+ class ReplicaConfig
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :last_active_sync_time, as: 'lastActiveSyncTime'
661
+ property :peer_instance, as: 'peerInstance'
662
+ property :state, as: 'state'
663
+ collection :state_reasons, as: 'stateReasons'
664
+ end
665
+ end
666
+
667
+ class Replication
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ collection :replicas, as: 'replicas', class: Google::Apis::FileV1beta1::ReplicaConfig, decorator: Google::Apis::FileV1beta1::ReplicaConfig::Representation
671
+
672
+ property :role, as: 'role'
673
+ end
674
+ end
675
+
643
676
  class RestoreInstanceRequest
644
677
  # @private
645
678
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.47.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-03-17 00:00:00.000000000 Z
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.14.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.14.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []