google-apis-file_v1beta1 0.46.0 → 0.48.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: f0f6b353450e9c630eeb330615502ab85965bc6b50c4b811868a0660d6529167
4
+ data.tar.gz: 8d0057ee82618fdc32a779eb6319d0ee069a9932a8f2a83e25d91ffb0ab72c62
5
5
  SHA512:
6
- metadata.gz: 98364f0e1acbf0d2f18aeab5a9582ceae52acf83e96c00e556384aa889835abbf8a075f9ac71ce0585db76f2359bad6530a9aaed3272a54beb65fccab5f8373a
7
- data.tar.gz: dbb0f01681012ceb2a3322ddeacdb5c9eddefb1add1528108b5300b7b1ed470a35d0e2d2066c6d47ca03ec005aa2771d9fc983be36feda0bb54cf0dba704f565
6
+ metadata.gz: c2345dd3792b84fc9a4acca2954214598d3d6b76ee7103ff653e78aa89f6b368a754c326f26d8d7abd51fde61cc22be679151c2c8c93b0f68d3a044f08b9b52e
7
+ data.tar.gz: c9afd5113b7d6d3d607e90929150df8bdd43094433221aa68fc045be9df8d5cd5dbdade29ce4140a87f7bb7148bcadf24ea3e28dc1078add910ddbc282cda199
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.48.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240608
6
+
7
+ ### v0.47.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240511
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.46.0 (2024-03-17)
4
13
 
5
14
  * Regenerated from discovery document revision 20240307
@@ -105,6 +105,13 @@ module Google
105
105
  # @return [Fixnum]
106
106
  attr_accessor :storage_bytes
107
107
 
108
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
109
+ # resource. For example: "123/environment": "production", "123/costCenter": "
110
+ # marketing"
111
+ # Corresponds to the JSON property `tags`
112
+ # @return [Hash<String,String>]
113
+ attr_accessor :tags
114
+
108
115
  def initialize(**args)
109
116
  update!(**args)
110
117
  end
@@ -125,6 +132,7 @@ module Google
125
132
  @source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier)
126
133
  @state = args[:state] if args.key?(:state)
127
134
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
135
+ @tags = args[:tags] if args.key?(:tags)
128
136
  end
129
137
  end
130
138
 
@@ -859,6 +867,11 @@ module Google
859
867
  # @return [String]
860
868
  attr_accessor :protocol
861
869
 
870
+ # Replication specifications.
871
+ # Corresponds to the JSON property `replication`
872
+ # @return [Google::Apis::FileV1beta1::Replication]
873
+ attr_accessor :replication
874
+
862
875
  # Output only. Reserved for future use.
863
876
  # Corresponds to the JSON property `satisfiesPzi`
864
877
  # @return [Boolean]
@@ -887,6 +900,13 @@ module Google
887
900
  # @return [Array<String>]
888
901
  attr_accessor :suspension_reasons
889
902
 
903
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
904
+ # resource. For example: "123/environment": "production", "123/costCenter": "
905
+ # marketing"
906
+ # Corresponds to the JSON property `tags`
907
+ # @return [Hash<String,String>]
908
+ attr_accessor :tags
909
+
890
910
  # The service tier of the instance.
891
911
  # Corresponds to the JSON property `tier`
892
912
  # @return [String]
@@ -913,11 +933,13 @@ module Google
913
933
  @name = args[:name] if args.key?(:name)
914
934
  @networks = args[:networks] if args.key?(:networks)
915
935
  @protocol = args[:protocol] if args.key?(:protocol)
936
+ @replication = args[:replication] if args.key?(:replication)
916
937
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
917
938
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
918
939
  @state = args[:state] if args.key?(:state)
919
940
  @status_message = args[:status_message] if args.key?(:status_message)
920
941
  @suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons)
942
+ @tags = args[:tags] if args.key?(:tags)
921
943
  @tier = args[:tier] if args.key?(:tier)
922
944
  end
923
945
  end
@@ -1521,6 +1543,70 @@ module Google
1521
1543
  end
1522
1544
  end
1523
1545
 
1546
+ # Replica configuration for the instance.
1547
+ class ReplicaConfig
1548
+ include Google::Apis::Core::Hashable
1549
+
1550
+ # Output only. The timestamp of the latest replication snapshot taken on the
1551
+ # active instance and is already replicated safely.
1552
+ # Corresponds to the JSON property `lastActiveSyncTime`
1553
+ # @return [String]
1554
+ attr_accessor :last_active_sync_time
1555
+
1556
+ # The peer instance.
1557
+ # Corresponds to the JSON property `peerInstance`
1558
+ # @return [String]
1559
+ attr_accessor :peer_instance
1560
+
1561
+ # Output only. The replica state.
1562
+ # Corresponds to the JSON property `state`
1563
+ # @return [String]
1564
+ attr_accessor :state
1565
+
1566
+ # Output only. Additional information about the replication state, if available.
1567
+ # Corresponds to the JSON property `stateReasons`
1568
+ # @return [Array<String>]
1569
+ attr_accessor :state_reasons
1570
+
1571
+ def initialize(**args)
1572
+ update!(**args)
1573
+ end
1574
+
1575
+ # Update properties of this object
1576
+ def update!(**args)
1577
+ @last_active_sync_time = args[:last_active_sync_time] if args.key?(:last_active_sync_time)
1578
+ @peer_instance = args[:peer_instance] if args.key?(:peer_instance)
1579
+ @state = args[:state] if args.key?(:state)
1580
+ @state_reasons = args[:state_reasons] if args.key?(:state_reasons)
1581
+ end
1582
+ end
1583
+
1584
+ # Replication specifications.
1585
+ class Replication
1586
+ include Google::Apis::Core::Hashable
1587
+
1588
+ # Replicas configuration on the instance. For now, only a single replica config
1589
+ # is supported.
1590
+ # Corresponds to the JSON property `replicas`
1591
+ # @return [Array<Google::Apis::FileV1beta1::ReplicaConfig>]
1592
+ attr_accessor :replicas
1593
+
1594
+ # Output only. The replication role.
1595
+ # Corresponds to the JSON property `role`
1596
+ # @return [String]
1597
+ attr_accessor :role
1598
+
1599
+ def initialize(**args)
1600
+ update!(**args)
1601
+ end
1602
+
1603
+ # Update properties of this object
1604
+ def update!(**args)
1605
+ @replicas = args[:replicas] if args.key?(:replicas)
1606
+ @role = args[:role] if args.key?(:role)
1607
+ end
1608
+ end
1609
+
1524
1610
  # RestoreInstanceRequest restores an existing instance's file share from a
1525
1611
  # backup.
1526
1612
  class RestoreInstanceRequest
@@ -1724,6 +1810,13 @@ module Google
1724
1810
  # @return [String]
1725
1811
  attr_accessor :state
1726
1812
 
1813
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
1814
+ # resource. For example: "123/environment": "production", "123/costCenter": "
1815
+ # marketing"
1816
+ # Corresponds to the JSON property `tags`
1817
+ # @return [Hash<String,String>]
1818
+ attr_accessor :tags
1819
+
1727
1820
  def initialize(**args)
1728
1821
  update!(**args)
1729
1822
  end
@@ -1736,6 +1829,7 @@ module Google
1736
1829
  @labels = args[:labels] if args.key?(:labels)
1737
1830
  @name = args[:name] if args.key?(:name)
1738
1831
  @state = args[:state] if args.key?(:state)
1832
+ @tags = args[:tags] if args.key?(:tags)
1739
1833
  end
1740
1834
  end
1741
1835
 
@@ -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.48.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 = "20240608"
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
 
@@ -291,6 +303,7 @@ module Google
291
303
  property :source_instance_tier, as: 'sourceInstanceTier'
292
304
  property :state, as: 'state'
293
305
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
306
+ hash :tags, as: 'tags'
294
307
  end
295
308
  end
296
309
 
@@ -477,11 +490,14 @@ module Google
477
490
  collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
478
491
 
479
492
  property :protocol, as: 'protocol'
493
+ property :replication, as: 'replication', class: Google::Apis::FileV1beta1::Replication, decorator: Google::Apis::FileV1beta1::Replication::Representation
494
+
480
495
  property :satisfies_pzi, as: 'satisfiesPzi'
481
496
  property :satisfies_pzs, as: 'satisfiesPzs'
482
497
  property :state, as: 'state'
483
498
  property :status_message, as: 'statusMessage'
484
499
  collection :suspension_reasons, as: 'suspensionReasons'
500
+ hash :tags, as: 'tags'
485
501
  property :tier, as: 'tier'
486
502
  end
487
503
  end
@@ -640,6 +656,25 @@ module Google
640
656
  end
641
657
  end
642
658
 
659
+ class ReplicaConfig
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :last_active_sync_time, as: 'lastActiveSyncTime'
663
+ property :peer_instance, as: 'peerInstance'
664
+ property :state, as: 'state'
665
+ collection :state_reasons, as: 'stateReasons'
666
+ end
667
+ end
668
+
669
+ class Replication
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ collection :replicas, as: 'replicas', class: Google::Apis::FileV1beta1::ReplicaConfig, decorator: Google::Apis::FileV1beta1::ReplicaConfig::Representation
673
+
674
+ property :role, as: 'role'
675
+ end
676
+ end
677
+
643
678
  class RestoreInstanceRequest
644
679
  # @private
645
680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -691,6 +726,7 @@ module Google
691
726
  hash :labels, as: 'labels'
692
727
  property :name, as: 'name'
693
728
  property :state, as: 'state'
729
+ hash :tags, as: 'tags'
694
730
  end
695
731
  end
696
732
 
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.48.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-06-16 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.48.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: []