google-apis-file_v1beta1 0.72.0 → 0.73.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: eab48a92666a1a13f82b8659bba25e8c617ea7ff0730419d480b9895ee5f6837
4
- data.tar.gz: e893a998be183298d06296f68a6fa758403b942fabd5ca7c8027139cc48286e6
3
+ metadata.gz: a1e329026578faecf74bcd0f23947f0639de1efe5eff3762c00b3c4d5a0092ab
4
+ data.tar.gz: 8b870c3517d78e503cbeb12bb22f62f4780824473543696fee7db07b478f3ff6
5
5
  SHA512:
6
- metadata.gz: 76997503cff300630bec73151717df657fbf6615552b8589ffb67c2de9969b8c286d62edf83c749da84636510f552aa97c2908cf59483691ca417e21d097c316
7
- data.tar.gz: 1bc2bb0690dc8ffa3a081038a2e7a76a86dc665312ad9ac09847cb7d70a5d2344f3abab62f5bd6b5a91d86a9bcfdf71a298374ab98cde15c4c268588a86d8d9c
6
+ metadata.gz: d8dd33bce7424c5835f5bfc7b1b246b2e8d681557e28ff314f6572ea30c894b5612a6e9748fbddee2213369ce14bb8f3767e725d82069bcae991c137699269bd
7
+ data.tar.gz: 3f5cb7ceae29e722b56990a1023bba55b439016ba0ec45824778371b3da8710f8899edf5d6c575902579d9e9c10e0c68fd42ba21e94895e932cfd7dfdc8df6ce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-file_v1beta1
2
2
 
3
+ ### v0.73.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260827
6
+
3
7
  ### v0.72.0 (2026-08-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20260819
@@ -151,6 +151,13 @@ module Google
151
151
  # @return [String]
152
152
  attr_accessor :source_instance_tier
153
153
 
154
+ # Optional. The resource name of the Filestore volume that the backup is created
155
+ # from. Should be in the format: projects/`project_id`/locations/`location_id`/
156
+ # volumePools/`volume_pool_id`/volumes/`volume_id`
157
+ # Corresponds to the JSON property `sourceVolume`
158
+ # @return [String]
159
+ attr_accessor :source_volume
160
+
154
161
  # Output only. The backup state.
155
162
  # Corresponds to the JSON property `state`
156
163
  # @return [String]
@@ -192,6 +199,7 @@ module Google
192
199
  @source_file_share = args[:source_file_share] if args.key?(:source_file_share)
193
200
  @source_instance = args[:source_instance] if args.key?(:source_instance)
194
201
  @source_instance_tier = args[:source_instance_tier] if args.key?(:source_instance_tier)
202
+ @source_volume = args[:source_volume] if args.key?(:source_volume)
195
203
  @state = args[:state] if args.key?(:state)
196
204
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
197
205
  @tags = args[:tags] if args.key?(:tags)
@@ -1134,73 +1142,6 @@ module Google
1134
1142
  end
1135
1143
  end
1136
1144
 
1137
- # InstanceTemplate representation of a Cloud Filestore volume pool instance
1138
- # template.
1139
- class InstanceTemplate
1140
- include Google::Apis::Core::Hashable
1141
-
1142
- # Optional. Backend type.
1143
- # Corresponds to the JSON property `backendType`
1144
- # @return [String]
1145
- attr_accessor :backend_type
1146
-
1147
- # Optional. Capacity in GB.
1148
- # Corresponds to the JSON property `capacityGb`
1149
- # @return [Fixnum]
1150
- attr_accessor :capacity_gb
1151
-
1152
- # Optional. Instance labels.
1153
- # Corresponds to the JSON property `labels`
1154
- # @return [Hash<String,String>]
1155
- attr_accessor :labels
1156
-
1157
- # Optional. Network configurations.
1158
- # Corresponds to the JSON property `networks`
1159
- # @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
1160
- attr_accessor :networks
1161
-
1162
- # Used for setting the performance configuration. If the user doesn't specify
1163
- # PerformanceConfig, automatically provision the default performance settings as
1164
- # described in https://cloud.google.com/filestore/docs/performance. Larger
1165
- # instances will be linearly set to more IOPS. If the instance's capacity is
1166
- # increased or decreased, its performance will be automatically adjusted upwards
1167
- # or downwards accordingly (respectively).
1168
- # Corresponds to the JSON property `performanceConfig`
1169
- # @return [Google::Apis::FileV1beta1::PerformanceConfig]
1170
- attr_accessor :performance_config
1171
-
1172
- # Optional. File protocol.
1173
- # Corresponds to the JSON property `protocol`
1174
- # @return [String]
1175
- attr_accessor :protocol
1176
-
1177
- # Optional. Request overrides in JSON format.
1178
- # Corresponds to the JSON property `requestOverrides`
1179
- # @return [String]
1180
- attr_accessor :request_overrides
1181
-
1182
- # Optional. Tier of the instance.
1183
- # Corresponds to the JSON property `tier`
1184
- # @return [String]
1185
- attr_accessor :tier
1186
-
1187
- def initialize(**args)
1188
- update!(**args)
1189
- end
1190
-
1191
- # Update properties of this object
1192
- def update!(**args)
1193
- @backend_type = args[:backend_type] if args.key?(:backend_type)
1194
- @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
1195
- @labels = args[:labels] if args.key?(:labels)
1196
- @networks = args[:networks] if args.key?(:networks)
1197
- @performance_config = args[:performance_config] if args.key?(:performance_config)
1198
- @protocol = args[:protocol] if args.key?(:protocol)
1199
- @request_overrides = args[:request_overrides] if args.key?(:request_overrides)
1200
- @tier = args[:tier] if args.key?(:tier)
1201
- end
1202
- end
1203
-
1204
1145
  # LdapConfig contains all the parameters for connecting to LDAP servers.
1205
1146
  class LdapConfig
1206
1147
  include Google::Apis::Core::Hashable
@@ -2341,12 +2282,19 @@ module Google
2341
2282
  # @return [String]
2342
2283
  attr_accessor :backup
2343
2284
 
2344
- # File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.
2345
- # Must be greater than 0.
2285
+ # Optional. File share capacity in gigabytes (GB). Filestore defines 1 GB as
2286
+ # 1024^3 bytes. Must be greater than 0. Exactly one of capacity_gb or
2287
+ # capacity_mb must be specified.
2346
2288
  # Corresponds to the JSON property `capacityGb`
2347
2289
  # @return [Fixnum]
2348
2290
  attr_accessor :capacity_gb
2349
2291
 
2292
+ # Optional. File share capacity in Megabytes (MB). Must be greater than 0.
2293
+ # Exactly one of capacity_gb or capacity_mb must be specified.
2294
+ # Corresponds to the JSON property `capacityMb`
2295
+ # @return [Fixnum]
2296
+ attr_accessor :capacity_mb
2297
+
2350
2298
  # Output only. The time when the share was created.
2351
2299
  # Corresponds to the JSON property `createTime`
2352
2300
  # @return [String]
@@ -2393,6 +2341,7 @@ module Google
2393
2341
  def update!(**args)
2394
2342
  @backup = args[:backup] if args.key?(:backup)
2395
2343
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
2344
+ @capacity_mb = args[:capacity_mb] if args.key?(:capacity_mb)
2396
2345
  @create_time = args[:create_time] if args.key?(:create_time)
2397
2346
  @description = args[:description] if args.key?(:description)
2398
2347
  @labels = args[:labels] if args.key?(:labels)
@@ -2634,114 +2583,47 @@ module Google
2634
2583
  class VolumePool
2635
2584
  include Google::Apis::Core::Hashable
2636
2585
 
2586
+ # Optional. The number of IOPs provisioned per active volume.
2587
+ # Corresponds to the JSON property `activeVolumeIops`
2588
+ # @return [Fixnum]
2589
+ attr_accessor :active_volume_iops
2590
+
2637
2591
  # Output only. The time when the volume pool was created.
2638
2592
  # Corresponds to the JSON property `createTime`
2639
2593
  # @return [String]
2640
2594
  attr_accessor :create_time
2641
2595
 
2596
+ # Optional. The default quota per volume in MiB. Default: 1024 MiB.
2597
+ # Corresponds to the JSON property `defaultVolumeQuotaMib`
2598
+ # @return [Fixnum]
2599
+ attr_accessor :default_volume_quota_mib
2600
+
2642
2601
  # Optional. A description of the volume pool with 2048 characters or less.
2643
2602
  # Corresponds to the JSON property `description`
2644
2603
  # @return [String]
2645
2604
  attr_accessor :description
2646
2605
 
2647
- # Optional. The page size to use when listing instances.
2648
- # Corresponds to the JSON property `instanceListPageSize`
2649
- # @return [Fixnum]
2650
- attr_accessor :instance_list_page_size
2651
-
2652
- # Optional. Instance name prefix.
2653
- # Corresponds to the JSON property `instanceNamePrefix`
2654
- # @return [String]
2655
- attr_accessor :instance_name_prefix
2656
-
2657
- # InstanceTemplate representation of a Cloud Filestore volume pool instance
2658
- # template.
2659
- # Corresponds to the JSON property `instanceTemplate`
2660
- # @return [Google::Apis::FileV1beta1::InstanceTemplate]
2661
- attr_accessor :instance_template
2662
-
2663
2606
  # Optional. Resource labels to represent user provided metadata.
2664
2607
  # Corresponds to the JSON property `labels`
2665
2608
  # @return [Hash<String,String>]
2666
2609
  attr_accessor :labels
2667
2610
 
2668
- # Optional. The maximum number of candidates to fetch when acquiring a volume.
2669
- # Corresponds to the JSON property `maxAcquireCandidates`
2670
- # @return [Fixnum]
2671
- attr_accessor :max_acquire_candidates
2672
-
2673
- # Optional. Maximum number of instances to create.
2674
- # Corresponds to the JSON property `maxInstances`
2675
- # @return [Fixnum]
2676
- attr_accessor :max_instances
2677
-
2678
- # Optional. The maximum number of pending instance creation requests.
2679
- # Corresponds to the JSON property `maxPendingInstanceCreations`
2680
- # @return [Fixnum]
2681
- attr_accessor :max_pending_instance_creations
2682
-
2683
- # Optional. The maximum number of pending volume creation requests per instance.
2684
- # Corresponds to the JSON property `maxPendingVolumeCreationsPerInstance`
2685
- # @return [Fixnum]
2686
- attr_accessor :max_pending_volume_creations_per_instance
2687
-
2688
- # Optional. The maximum number of pending volume deletion requests per instance.
2689
- # Corresponds to the JSON property `maxPendingVolumeDeletionsPerInstance`
2690
- # @return [Fixnum]
2691
- attr_accessor :max_pending_volume_deletions_per_instance
2692
-
2693
- # Optional. Maximum number of volumes per instance.
2694
- # Corresponds to the JSON property `maxVolumesPerInstance`
2695
- # @return [Fixnum]
2696
- attr_accessor :max_volumes_per_instance
2697
-
2698
- # Optional. Minimum number of available volumes to maintain.
2699
- # Corresponds to the JSON property `minAvailableVolumes`
2700
- # @return [Fixnum]
2701
- attr_accessor :min_available_volumes
2702
-
2703
- # Optional. Minimum number of instances to create.
2704
- # Corresponds to the JSON property `minInstances`
2705
- # @return [Fixnum]
2706
- attr_accessor :min_instances
2707
-
2708
2611
  # Identifier. The resource name of the volume pool, in the format `projects/`
2709
2612
  # project`/locations/`location`/volumePools/`volume_pool``.
2710
2613
  # Corresponds to the JSON property `name`
2711
2614
  # @return [String]
2712
2615
  attr_accessor :name
2713
2616
 
2714
- # Optional. The ratio of Negba instances to maintain in the volume pool, between
2715
- # 0 and 1.
2716
- # Corresponds to the JSON property `negbaInstanceRatio`
2717
- # @return [Float]
2718
- attr_accessor :negba_instance_ratio
2719
-
2720
- # Optional. The maximum number of operations to poll in a single reconciliation
2721
- # run.
2722
- # Corresponds to the JSON property `operationPollLimit`
2723
- # @return [Fixnum]
2724
- attr_accessor :operation_poll_limit
2725
-
2726
- # Output only. The volume pool state.
2727
- # Corresponds to the JSON property `state`
2617
+ # Required. The VPC network to which the VolumePool should be attached. Only
2618
+ # Private Service Connect (PSC) is supported.
2619
+ # Corresponds to the JSON property `network`
2728
2620
  # @return [String]
2729
- attr_accessor :state
2621
+ attr_accessor :network
2730
2622
 
2731
- # Output only. Unique ID of the resource, as defined by CCFE.
2732
- # Corresponds to the JSON property `uniqueId`
2623
+ # Output only. System-assigned unique identifier for the volume pool.
2624
+ # Corresponds to the JSON property `uid`
2733
2625
  # @return [String]
2734
- attr_accessor :unique_id
2735
-
2736
- # Optional. The number of volumes to create in a single batch.
2737
- # Corresponds to the JSON property `volumeBatchSize`
2738
- # @return [Fixnum]
2739
- attr_accessor :volume_batch_size
2740
-
2741
- # Optional. Volume size in MiB.
2742
- # Corresponds to the JSON property `volumeSizeMb`
2743
- # @return [Fixnum]
2744
- attr_accessor :volume_size_mb
2626
+ attr_accessor :uid
2745
2627
 
2746
2628
  def initialize(**args)
2747
2629
  update!(**args)
@@ -2749,27 +2631,14 @@ module Google
2749
2631
 
2750
2632
  # Update properties of this object
2751
2633
  def update!(**args)
2634
+ @active_volume_iops = args[:active_volume_iops] if args.key?(:active_volume_iops)
2752
2635
  @create_time = args[:create_time] if args.key?(:create_time)
2636
+ @default_volume_quota_mib = args[:default_volume_quota_mib] if args.key?(:default_volume_quota_mib)
2753
2637
  @description = args[:description] if args.key?(:description)
2754
- @instance_list_page_size = args[:instance_list_page_size] if args.key?(:instance_list_page_size)
2755
- @instance_name_prefix = args[:instance_name_prefix] if args.key?(:instance_name_prefix)
2756
- @instance_template = args[:instance_template] if args.key?(:instance_template)
2757
2638
  @labels = args[:labels] if args.key?(:labels)
2758
- @max_acquire_candidates = args[:max_acquire_candidates] if args.key?(:max_acquire_candidates)
2759
- @max_instances = args[:max_instances] if args.key?(:max_instances)
2760
- @max_pending_instance_creations = args[:max_pending_instance_creations] if args.key?(:max_pending_instance_creations)
2761
- @max_pending_volume_creations_per_instance = args[:max_pending_volume_creations_per_instance] if args.key?(:max_pending_volume_creations_per_instance)
2762
- @max_pending_volume_deletions_per_instance = args[:max_pending_volume_deletions_per_instance] if args.key?(:max_pending_volume_deletions_per_instance)
2763
- @max_volumes_per_instance = args[:max_volumes_per_instance] if args.key?(:max_volumes_per_instance)
2764
- @min_available_volumes = args[:min_available_volumes] if args.key?(:min_available_volumes)
2765
- @min_instances = args[:min_instances] if args.key?(:min_instances)
2766
2639
  @name = args[:name] if args.key?(:name)
2767
- @negba_instance_ratio = args[:negba_instance_ratio] if args.key?(:negba_instance_ratio)
2768
- @operation_poll_limit = args[:operation_poll_limit] if args.key?(:operation_poll_limit)
2769
- @state = args[:state] if args.key?(:state)
2770
- @unique_id = args[:unique_id] if args.key?(:unique_id)
2771
- @volume_batch_size = args[:volume_batch_size] if args.key?(:volume_batch_size)
2772
- @volume_size_mb = args[:volume_size_mb] if args.key?(:volume_size_mb)
2640
+ @network = args[:network] if args.key?(:network)
2641
+ @uid = args[:uid] if args.key?(:uid)
2773
2642
  end
2774
2643
  end
2775
2644
 
@@ -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.72.0"
19
+ GEM_VERSION = "0.73.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260819"
25
+ REVISION = "20260827"
26
26
  end
27
27
  end
28
28
  end
@@ -154,12 +154,6 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class InstanceTemplate
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
157
  class LdapConfig
164
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
159
 
@@ -432,6 +426,7 @@ module Google
432
426
  property :source_file_share, as: 'sourceFileShare'
433
427
  property :source_instance, as: 'sourceInstance'
434
428
  property :source_instance_tier, as: 'sourceInstanceTier'
429
+ property :source_volume, as: 'sourceVolume'
435
430
  property :state, as: 'state'
436
431
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
437
432
  hash :tags, as: 'tags'
@@ -662,22 +657,6 @@ module Google
662
657
  end
663
658
  end
664
659
 
665
- class InstanceTemplate
666
- # @private
667
- class Representation < Google::Apis::Core::JsonRepresentation
668
- property :backend_type, as: 'backendType'
669
- property :capacity_gb, as: 'capacityGb'
670
- hash :labels, as: 'labels'
671
- collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
672
-
673
- property :performance_config, as: 'performanceConfig', class: Google::Apis::FileV1beta1::PerformanceConfig, decorator: Google::Apis::FileV1beta1::PerformanceConfig::Representation
674
-
675
- property :protocol, as: 'protocol'
676
- property :request_overrides, as: 'requestOverrides'
677
- property :tier, as: 'tier'
678
- end
679
- end
680
-
681
660
  class LdapConfig
682
661
  # @private
683
662
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -989,6 +968,7 @@ module Google
989
968
  class Representation < Google::Apis::Core::JsonRepresentation
990
969
  property :backup, as: 'backup'
991
970
  property :capacity_gb, :numeric_string => true, as: 'capacityGb'
971
+ property :capacity_mb, :numeric_string => true, as: 'capacityMb'
992
972
  property :create_time, as: 'createTime'
993
973
  property :description, as: 'description'
994
974
  hash :labels, as: 'labels'
@@ -1058,28 +1038,14 @@ module Google
1058
1038
  class VolumePool
1059
1039
  # @private
1060
1040
  class Representation < Google::Apis::Core::JsonRepresentation
1041
+ property :active_volume_iops, as: 'activeVolumeIops'
1061
1042
  property :create_time, as: 'createTime'
1043
+ property :default_volume_quota_mib, as: 'defaultVolumeQuotaMib'
1062
1044
  property :description, as: 'description'
1063
- property :instance_list_page_size, as: 'instanceListPageSize'
1064
- property :instance_name_prefix, as: 'instanceNamePrefix'
1065
- property :instance_template, as: 'instanceTemplate', class: Google::Apis::FileV1beta1::InstanceTemplate, decorator: Google::Apis::FileV1beta1::InstanceTemplate::Representation
1066
-
1067
1045
  hash :labels, as: 'labels'
1068
- property :max_acquire_candidates, as: 'maxAcquireCandidates'
1069
- property :max_instances, as: 'maxInstances'
1070
- property :max_pending_instance_creations, as: 'maxPendingInstanceCreations'
1071
- property :max_pending_volume_creations_per_instance, as: 'maxPendingVolumeCreationsPerInstance'
1072
- property :max_pending_volume_deletions_per_instance, as: 'maxPendingVolumeDeletionsPerInstance'
1073
- property :max_volumes_per_instance, as: 'maxVolumesPerInstance'
1074
- property :min_available_volumes, as: 'minAvailableVolumes'
1075
- property :min_instances, as: 'minInstances'
1076
1046
  property :name, as: 'name'
1077
- property :negba_instance_ratio, as: 'negbaInstanceRatio'
1078
- property :operation_poll_limit, as: 'operationPollLimit'
1079
- property :state, as: 'state'
1080
- property :unique_id, as: 'uniqueId'
1081
- property :volume_batch_size, as: 'volumeBatchSize'
1082
- property :volume_size_mb, as: 'volumeSizeMb'
1047
+ property :network, as: 'network'
1048
+ property :uid, as: 'uid'
1083
1049
  end
1084
1050
  end
1085
1051
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-file_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.73.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.72.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-file_v1beta1/v0.73.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-file_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: