google-apis-compute_alpha 0.86.0 → 0.88.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.86.0"
19
+ GEM_VERSION = "0.88.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231128"
25
+ REVISION = "20240109"
26
26
  end
27
27
  end
28
28
  end
@@ -2494,12 +2494,6 @@ module Google
2494
2494
  include Google::Apis::Core::JsonObjectSupport
2495
2495
  end
2496
2496
 
2497
- class InstancesAddNetworkInterfaceRequest
2498
- class Representation < Google::Apis::Core::JsonRepresentation; end
2499
-
2500
- include Google::Apis::Core::JsonObjectSupport
2501
- end
2502
-
2503
2497
  class InstancesAddResourcePoliciesRequest
2504
2498
  class Representation < Google::Apis::Core::JsonRepresentation; end
2505
2499
 
@@ -2632,12 +2626,6 @@ module Google
2632
2626
  include Google::Apis::Core::JsonObjectSupport
2633
2627
  end
2634
2628
 
2635
- class InstantSnapshotExportParams
2636
- class Representation < Google::Apis::Core::JsonRepresentation; end
2637
-
2638
- include Google::Apis::Core::JsonObjectSupport
2639
- end
2640
-
2641
2629
  class InstantSnapshotList
2642
2630
  class Representation < Google::Apis::Core::JsonRepresentation; end
2643
2631
 
@@ -2662,12 +2650,6 @@ module Google
2662
2650
  include Google::Apis::Core::JsonObjectSupport
2663
2651
  end
2664
2652
 
2665
- class InstantSnapshotsExportRequest
2666
- class Representation < Google::Apis::Core::JsonRepresentation; end
2667
-
2668
- include Google::Apis::Core::JsonObjectSupport
2669
- end
2670
-
2671
2653
  class InstantSnapshotsScopedList
2672
2654
  class Representation < Google::Apis::Core::JsonRepresentation; end
2673
2655
 
@@ -4834,12 +4816,6 @@ module Google
4834
4816
  include Google::Apis::Core::JsonObjectSupport
4835
4817
  end
4836
4818
 
4837
- class RegionInstantSnapshotsExportRequest
4838
- class Representation < Google::Apis::Core::JsonRepresentation; end
4839
-
4840
- include Google::Apis::Core::JsonObjectSupport
4841
- end
4842
-
4843
4819
  class RegionList
4844
4820
  class Representation < Google::Apis::Core::JsonRepresentation; end
4845
4821
 
@@ -6040,6 +6016,18 @@ module Google
6040
6016
  include Google::Apis::Core::JsonObjectSupport
6041
6017
  end
6042
6018
 
6019
+ class SnapshotSettingsAccessLocation
6020
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6021
+
6022
+ include Google::Apis::Core::JsonObjectSupport
6023
+ end
6024
+
6025
+ class SnapshotSettingsAccessLocationAccessLocationPreference
6026
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6027
+
6028
+ include Google::Apis::Core::JsonObjectSupport
6029
+ end
6030
+
6043
6031
  class SnapshotSettingsStorageLocationSettings
6044
6032
  class Representation < Google::Apis::Core::JsonRepresentation; end
6045
6033
 
@@ -8735,6 +8723,7 @@ module Google
8735
8723
  class Representation < Google::Apis::Core::JsonRepresentation
8736
8724
  property :destination, as: 'destination'
8737
8725
  property :path_id, as: 'pathId'
8726
+ property :prefix, as: 'prefix'
8738
8727
  end
8739
8728
  end
8740
8729
 
@@ -10676,6 +10665,8 @@ module Google
10676
10665
  property :health_state, as: 'healthState'
10677
10666
  property :instance, as: 'instance'
10678
10667
  property :ip_address, as: 'ipAddress'
10668
+ property :ipv6_address, as: 'ipv6Address'
10669
+ property :ipv6_health_state, as: 'ipv6HealthState'
10679
10670
  property :port, as: 'port'
10680
10671
  property :weight, as: 'weight'
10681
10672
  property :weight_error, as: 'weightError'
@@ -12325,14 +12316,6 @@ module Google
12325
12316
  end
12326
12317
  end
12327
12318
 
12328
- class InstancesAddNetworkInterfaceRequest
12329
- # @private
12330
- class Representation < Google::Apis::Core::JsonRepresentation
12331
- property :network_interface, as: 'network_interface', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation
12332
-
12333
- end
12334
- end
12335
-
12336
12319
  class InstancesAddResourcePoliciesRequest
12337
12320
  # @private
12338
12321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12550,18 +12533,6 @@ module Google
12550
12533
  end
12551
12534
  end
12552
12535
 
12553
- class InstantSnapshotExportParams
12554
- # @private
12555
- class Representation < Google::Apis::Core::JsonRepresentation
12556
- property :base_instant_snapshot, as: 'baseInstantSnapshot'
12557
- property :bucket_name, as: 'bucketName'
12558
- property :encryption_key, as: 'encryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
12559
-
12560
- property :object_name, as: 'objectName'
12561
- property :output_type, as: 'outputType'
12562
- end
12563
- end
12564
-
12565
12536
  class InstantSnapshotList
12566
12537
  # @private
12567
12538
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12601,14 +12572,6 @@ module Google
12601
12572
  end
12602
12573
  end
12603
12574
 
12604
- class InstantSnapshotsExportRequest
12605
- # @private
12606
- class Representation < Google::Apis::Core::JsonRepresentation
12607
- property :export_params, as: 'exportParams', class: Google::Apis::ComputeAlpha::InstantSnapshotExportParams, decorator: Google::Apis::ComputeAlpha::InstantSnapshotExportParams::Representation
12608
-
12609
- end
12610
- end
12611
-
12612
12575
  class InstantSnapshotsScopedList
12613
12576
  # @private
12614
12577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12713,6 +12676,7 @@ module Google
12713
12676
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
12714
12677
  hash :labels, as: 'labels'
12715
12678
  property :mtu, as: 'mtu'
12679
+ property :multicast_enabled, as: 'multicastEnabled'
12716
12680
  property :name, as: 'name'
12717
12681
  property :operational_status, as: 'operationalStatus'
12718
12682
  property :pairing_key, as: 'pairingKey'
@@ -16602,14 +16566,6 @@ module Google
16602
16566
  end
16603
16567
  end
16604
16568
 
16605
- class RegionInstantSnapshotsExportRequest
16606
- # @private
16607
- class Representation < Google::Apis::Core::JsonRepresentation
16608
- property :export_params, as: 'exportParams', class: Google::Apis::ComputeAlpha::InstantSnapshotExportParams, decorator: Google::Apis::ComputeAlpha::InstantSnapshotExportParams::Representation
16609
-
16610
- end
16611
- end
16612
-
16613
16569
  class RegionList
16614
16570
  # @private
16615
16571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18869,11 +18825,28 @@ module Google
18869
18825
  class SnapshotSettings
18870
18826
  # @private
18871
18827
  class Representation < Google::Apis::Core::JsonRepresentation
18828
+ property :access_location, as: 'accessLocation', class: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocation, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocation::Representation
18829
+
18872
18830
  property :storage_location, as: 'storageLocation', class: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsStorageLocationSettings::Representation
18873
18831
 
18874
18832
  end
18875
18833
  end
18876
18834
 
18835
+ class SnapshotSettingsAccessLocation
18836
+ # @private
18837
+ class Representation < Google::Apis::Core::JsonRepresentation
18838
+ hash :locations, as: 'locations', class: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocationAccessLocationPreference, decorator: Google::Apis::ComputeAlpha::SnapshotSettingsAccessLocationAccessLocationPreference::Representation
18839
+
18840
+ end
18841
+ end
18842
+
18843
+ class SnapshotSettingsAccessLocationAccessLocationPreference
18844
+ # @private
18845
+ class Representation < Google::Apis::Core::JsonRepresentation
18846
+ property :region, as: 'region'
18847
+ end
18848
+ end
18849
+
18877
18850
  class SnapshotSettingsStorageLocationSettings
18878
18851
  # @private
18879
18852
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19300,6 +19273,9 @@ module Google
19300
19273
  hash :labels, as: 'labels'
19301
19274
  property :name, as: 'name'
19302
19275
  property :performance_provisioning_type, as: 'performanceProvisioningType'
19276
+ property :pool_provisioned_capacity_gb, :numeric_string => true, as: 'poolProvisionedCapacityGb'
19277
+ property :pool_provisioned_iops, :numeric_string => true, as: 'poolProvisionedIops'
19278
+ property :pool_provisioned_throughput, :numeric_string => true, as: 'poolProvisionedThroughput'
19303
19279
  property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
19304
19280
  property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
19305
19281
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::StoragePoolResourceStatus, decorator: Google::Apis::ComputeAlpha::StoragePoolResourceStatus::Representation
@@ -19439,9 +19415,18 @@ module Google
19439
19415
  class Representation < Google::Apis::Core::JsonRepresentation
19440
19416
  property :aggregate_disk_provisioned_iops, :numeric_string => true, as: 'aggregateDiskProvisionedIops'
19441
19417
  property :aggregate_disk_size_gb, :numeric_string => true, as: 'aggregateDiskSizeGb'
19418
+ property :disk_count, :numeric_string => true, as: 'diskCount'
19442
19419
  property :last_resize_timestamp, as: 'lastResizeTimestamp'
19443
19420
  property :max_aggregate_disk_size_gb, :numeric_string => true, as: 'maxAggregateDiskSizeGb'
19421
+ property :max_total_provisioned_disk_capacity_gb, :numeric_string => true, as: 'maxTotalProvisionedDiskCapacityGb'
19444
19422
  property :number_of_disks, :numeric_string => true, as: 'numberOfDisks'
19423
+ property :pool_used_capacity_bytes, :numeric_string => true, as: 'poolUsedCapacityBytes'
19424
+ property :pool_used_iops, :numeric_string => true, as: 'poolUsedIops'
19425
+ property :pool_used_throughput, :numeric_string => true, as: 'poolUsedThroughput'
19426
+ property :pool_user_written_bytes, :numeric_string => true, as: 'poolUserWrittenBytes'
19427
+ property :total_provisioned_disk_capacity_gb, :numeric_string => true, as: 'totalProvisionedDiskCapacityGb'
19428
+ property :total_provisioned_disk_iops, :numeric_string => true, as: 'totalProvisionedDiskIops'
19429
+ property :total_provisioned_disk_throughput, :numeric_string => true, as: 'totalProvisionedDiskThroughput'
19445
19430
  property :used_bytes, :numeric_string => true, as: 'usedBytes'
19446
19431
  property :used_reduced_bytes, :numeric_string => true, as: 'usedReducedBytes'
19447
19432
  property :used_throughput, :numeric_string => true, as: 'usedThroughput'
@@ -19457,11 +19442,12 @@ module Google
19457
19442
  property :description, as: 'description'
19458
19443
  property :id, :numeric_string => true, as: 'id'
19459
19444
  property :kind, as: 'kind'
19460
- property :max_provisioned_iops, :numeric_string => true, as: 'maxProvisionedIops'
19461
- property :max_provisioned_throughput, :numeric_string => true, as: 'maxProvisionedThroughput'
19462
- property :max_size_gb, :numeric_string => true, as: 'maxSizeGb'
19463
- property :min_provisioned_iops, :numeric_string => true, as: 'minProvisionedIops'
19464
- property :min_provisioned_throughput, :numeric_string => true, as: 'minProvisionedThroughput'
19445
+ property :max_pool_provisioned_capacity_gb, :numeric_string => true, as: 'maxPoolProvisionedCapacityGb'
19446
+ property :max_pool_provisioned_iops, :numeric_string => true, as: 'maxPoolProvisionedIops'
19447
+ property :max_pool_provisioned_throughput, :numeric_string => true, as: 'maxPoolProvisionedThroughput'
19448
+ property :min_pool_provisioned_capacity_gb, :numeric_string => true, as: 'minPoolProvisionedCapacityGb'
19449
+ property :min_pool_provisioned_iops, :numeric_string => true, as: 'minPoolProvisionedIops'
19450
+ property :min_pool_provisioned_throughput, :numeric_string => true, as: 'minPoolProvisionedThroughput'
19465
19451
  property :min_size_gb, :numeric_string => true, as: 'minSizeGb'
19466
19452
  property :name, as: 'name'
19467
19453
  property :self_link, as: 'selfLink'
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/compute/
34
34
  class ComputeService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://compute.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -47,7 +49,7 @@ module Google
47
49
  attr_accessor :user_ip
48
50
 
49
51
  def initialize
50
- super('https://compute.googleapis.com/', 'compute/alpha/',
52
+ super(DEFAULT_ENDPOINT_TEMPLATE, 'compute/alpha/',
51
53
  client_name: 'google-apis-compute_alpha',
52
54
  client_version: Google::Apis::ComputeAlpha::GEM_VERSION)
53
55
  @batch_path = 'batch/compute/alpha'
@@ -1665,7 +1667,7 @@ module Google
1665
1667
  # @param [String] project
1666
1668
  # Project ID for this request.
1667
1669
  # @param [String] backend_bucket
1668
- # Name of the BackendService resource to which the security policy should be set.
1670
+ # Name of the BackendBucket resource to which the security policy should be set.
1669
1671
  # The name should conform to RFC1035.
1670
1672
  # @param [Google::Apis::ComputeAlpha::SecurityPolicyReference] security_policy_reference_object
1671
1673
  # @param [String] request_id
@@ -13588,7 +13590,7 @@ module Google
13588
13590
  # @param [String] instance
13589
13591
  # The instance name for this request stored as resource_id. Name should conform
13590
13592
  # to RFC1035 or be an unsigned long integer.
13591
- # @param [Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest] instances_add_network_interface_request_object
13593
+ # @param [Google::Apis::ComputeAlpha::NetworkInterface] network_interface_object
13592
13594
  # @param [String] request_id
13593
13595
  # An optional request ID to identify requests. Specify a unique request ID so
13594
13596
  # that if you must retry your request, the server will know to ignore the
@@ -13618,10 +13620,10 @@ module Google
13618
13620
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13619
13621
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13620
13622
  # @raise [Google::Apis::AuthorizationError] Authorization is required
13621
- def add_instance_network_interface(project, zone, instance, instances_add_network_interface_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13623
+ def add_instance_network_interface(project, zone, instance, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
13622
13624
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface', options)
13623
- command.request_representation = Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest::Representation
13624
- command.request_object = instances_add_network_interface_request_object
13625
+ command.request_representation = Google::Apis::ComputeAlpha::NetworkInterface::Representation
13626
+ command.request_object = network_interface_object
13625
13627
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
13626
13628
  command.response_class = Google::Apis::ComputeAlpha::Operation
13627
13629
  command.params['project'] = project unless project.nil?
@@ -16705,60 +16707,6 @@ module Google
16705
16707
  execute_or_queue_command(command, &block)
16706
16708
  end
16707
16709
 
16708
- # Export the changed blocks between two instant snapshots to a customer's bucket
16709
- # in the user specified format.
16710
- # @param [String] project
16711
- # Project ID for this request.
16712
- # @param [String] zone
16713
- # The name of the zone for this request.
16714
- # @param [String] instant_snapshot
16715
- # Name of the instant snapshot to export.
16716
- # @param [Google::Apis::ComputeAlpha::InstantSnapshotsExportRequest] instant_snapshots_export_request_object
16717
- # @param [String] request_id
16718
- # An optional request ID to identify requests. Specify a unique request ID so
16719
- # that if you must retry your request, the server will know to ignore the
16720
- # request if it has already been completed. For example, consider a situation
16721
- # where you make an initial request and the request times out. If you make the
16722
- # request again with the same request ID, the server can check if original
16723
- # operation with the same request ID was received, and if so, will ignore the
16724
- # second request. This prevents clients from accidentally creating duplicate
16725
- # commitments. The request ID must be a valid UUID with the exception that zero
16726
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
16727
- # @param [String] fields
16728
- # Selector specifying which fields to include in a partial response.
16729
- # @param [String] quota_user
16730
- # Available to use for quota purposes for server-side applications. Can be any
16731
- # arbitrary string assigned to a user, but should not exceed 40 characters.
16732
- # @param [String] user_ip
16733
- # Legacy name for parameter that has been superseded by `quotaUser`.
16734
- # @param [Google::Apis::RequestOptions] options
16735
- # Request-specific options
16736
- #
16737
- # @yield [result, err] Result & error if block supplied
16738
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
16739
- # @yieldparam err [StandardError] error object if request failed
16740
- #
16741
- # @return [Google::Apis::ComputeAlpha::Operation]
16742
- #
16743
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16744
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16745
- # @raise [Google::Apis::AuthorizationError] Authorization is required
16746
- def export_instant_snapshot(project, zone, instant_snapshot, instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
16747
- command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}/export', options)
16748
- command.request_representation = Google::Apis::ComputeAlpha::InstantSnapshotsExportRequest::Representation
16749
- command.request_object = instant_snapshots_export_request_object
16750
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
16751
- command.response_class = Google::Apis::ComputeAlpha::Operation
16752
- command.params['project'] = project unless project.nil?
16753
- command.params['zone'] = zone unless zone.nil?
16754
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
16755
- command.query['requestId'] = request_id unless request_id.nil?
16756
- command.query['fields'] = fields unless fields.nil?
16757
- command.query['quotaUser'] = quota_user unless quota_user.nil?
16758
- command.query['userIp'] = user_ip unless user_ip.nil?
16759
- execute_or_queue_command(command, &block)
16760
- end
16761
-
16762
16710
  # Returns the specified InstantSnapshot resource in the specified zone.
16763
16711
  # @param [String] project
16764
16712
  # Project ID for this request.
@@ -32958,60 +32906,6 @@ module Google
32958
32906
  execute_or_queue_command(command, &block)
32959
32907
  end
32960
32908
 
32961
- # Export the changed blocks between two instant snapshots to a customer's bucket
32962
- # in the user specified format.
32963
- # @param [String] project
32964
- # Project ID for this request.
32965
- # @param [String] region
32966
- # The name of the zone for this request.
32967
- # @param [String] instant_snapshot
32968
- # Name of the instant snapshot to export.
32969
- # @param [Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest] region_instant_snapshots_export_request_object
32970
- # @param [String] request_id
32971
- # An optional request ID to identify requests. Specify a unique request ID so
32972
- # that if you must retry your request, the server will know to ignore the
32973
- # request if it has already been completed. For example, consider a situation
32974
- # where you make an initial request and the request times out. If you make the
32975
- # request again with the same request ID, the server can check if original
32976
- # operation with the same request ID was received, and if so, will ignore the
32977
- # second request. This prevents clients from accidentally creating duplicate
32978
- # commitments. The request ID must be a valid UUID with the exception that zero
32979
- # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
32980
- # @param [String] fields
32981
- # Selector specifying which fields to include in a partial response.
32982
- # @param [String] quota_user
32983
- # Available to use for quota purposes for server-side applications. Can be any
32984
- # arbitrary string assigned to a user, but should not exceed 40 characters.
32985
- # @param [String] user_ip
32986
- # Legacy name for parameter that has been superseded by `quotaUser`.
32987
- # @param [Google::Apis::RequestOptions] options
32988
- # Request-specific options
32989
- #
32990
- # @yield [result, err] Result & error if block supplied
32991
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
32992
- # @yieldparam err [StandardError] error object if request failed
32993
- #
32994
- # @return [Google::Apis::ComputeAlpha::Operation]
32995
- #
32996
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32997
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32998
- # @raise [Google::Apis::AuthorizationError] Authorization is required
32999
- def export_region_instant_snapshot(project, region, instant_snapshot, region_instant_snapshots_export_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33000
- command = make_simple_command(:post, 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}/export', options)
33001
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstantSnapshotsExportRequest::Representation
33002
- command.request_object = region_instant_snapshots_export_request_object
33003
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
33004
- command.response_class = Google::Apis::ComputeAlpha::Operation
33005
- command.params['project'] = project unless project.nil?
33006
- command.params['region'] = region unless region.nil?
33007
- command.params['instantSnapshot'] = instant_snapshot unless instant_snapshot.nil?
33008
- command.query['requestId'] = request_id unless request_id.nil?
33009
- command.query['fields'] = fields unless fields.nil?
33010
- command.query['quotaUser'] = quota_user unless quota_user.nil?
33011
- command.query['userIp'] = user_ip unless user_ip.nil?
33012
- execute_or_queue_command(command, &block)
33013
- end
33014
-
33015
32909
  # Returns the specified InstantSnapshot resource in the specified region.
33016
32910
  # @param [String] project
33017
32911
  # Project ID for this request.
@@ -35819,6 +35713,95 @@ module Google
35819
35713
  execute_or_queue_command(command, &block)
35820
35714
  end
35821
35715
 
35716
+ # Get region snapshot settings.
35717
+ # @param [String] project
35718
+ # Project ID for this request.
35719
+ # @param [String] region
35720
+ # Name of the region for this request.
35721
+ # @param [String] fields
35722
+ # Selector specifying which fields to include in a partial response.
35723
+ # @param [String] quota_user
35724
+ # Available to use for quota purposes for server-side applications. Can be any
35725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
35726
+ # @param [String] user_ip
35727
+ # Legacy name for parameter that has been superseded by `quotaUser`.
35728
+ # @param [Google::Apis::RequestOptions] options
35729
+ # Request-specific options
35730
+ #
35731
+ # @yield [result, err] Result & error if block supplied
35732
+ # @yieldparam result [Google::Apis::ComputeAlpha::SnapshotSettings] parsed result object
35733
+ # @yieldparam err [StandardError] error object if request failed
35734
+ #
35735
+ # @return [Google::Apis::ComputeAlpha::SnapshotSettings]
35736
+ #
35737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
35740
+ def get_region_snapshot_setting(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35741
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/snapshotSettings', options)
35742
+ command.response_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
35743
+ command.response_class = Google::Apis::ComputeAlpha::SnapshotSettings
35744
+ command.params['project'] = project unless project.nil?
35745
+ command.params['region'] = region unless region.nil?
35746
+ command.query['fields'] = fields unless fields.nil?
35747
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
35748
+ command.query['userIp'] = user_ip unless user_ip.nil?
35749
+ execute_or_queue_command(command, &block)
35750
+ end
35751
+
35752
+ # Patch region snapshot settings.
35753
+ # @param [String] project
35754
+ # Project ID for this request.
35755
+ # @param [String] region
35756
+ # Name of the region for this request.
35757
+ # @param [Google::Apis::ComputeAlpha::SnapshotSettings] snapshot_settings_object
35758
+ # @param [String] request_id
35759
+ # An optional request ID to identify requests. Specify a unique request ID so
35760
+ # that if you must retry your request, the server will know to ignore the
35761
+ # request if it has already been completed. For example, consider a situation
35762
+ # where you make an initial request and the request times out. If you make the
35763
+ # request again with the same request ID, the server can check if original
35764
+ # operation with the same request ID was received, and if so, will ignore the
35765
+ # second request. This prevents clients from accidentally creating duplicate
35766
+ # commitments. The request ID must be a valid UUID with the exception that zero
35767
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
35768
+ # @param [String] update_mask
35769
+ # update_mask indicates fields to be updated as part of this request.
35770
+ # @param [String] fields
35771
+ # Selector specifying which fields to include in a partial response.
35772
+ # @param [String] quota_user
35773
+ # Available to use for quota purposes for server-side applications. Can be any
35774
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
35775
+ # @param [String] user_ip
35776
+ # Legacy name for parameter that has been superseded by `quotaUser`.
35777
+ # @param [Google::Apis::RequestOptions] options
35778
+ # Request-specific options
35779
+ #
35780
+ # @yield [result, err] Result & error if block supplied
35781
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
35782
+ # @yieldparam err [StandardError] error object if request failed
35783
+ #
35784
+ # @return [Google::Apis::ComputeAlpha::Operation]
35785
+ #
35786
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
35787
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
35788
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
35789
+ def patch_region_snapshot_setting(project, region, snapshot_settings_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
35790
+ command = make_simple_command(:patch, 'projects/{project}/regions/{region}/snapshotSettings', options)
35791
+ command.request_representation = Google::Apis::ComputeAlpha::SnapshotSettings::Representation
35792
+ command.request_object = snapshot_settings_object
35793
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
35794
+ command.response_class = Google::Apis::ComputeAlpha::Operation
35795
+ command.params['project'] = project unless project.nil?
35796
+ command.params['region'] = region unless region.nil?
35797
+ command.query['requestId'] = request_id unless request_id.nil?
35798
+ command.query['updateMask'] = update_mask unless update_mask.nil?
35799
+ command.query['fields'] = fields unless fields.nil?
35800
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
35801
+ command.query['userIp'] = user_ip unless user_ip.nil?
35802
+ execute_or_queue_command(command, &block)
35803
+ end
35804
+
35822
35805
  # Deletes the specified Snapshot resource. Keep in mind that deleting a single
35823
35806
  # snapshot might not necessarily delete all the data on that snapshot. If any
35824
35807
  # data on the snapshot that is marked for deletion is needed for subsequent
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.86.0
4
+ version: 0.88.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: 2023-12-10 00:00:00.000000000 Z
11
+ date: 2024-01-23 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.11.0
19
+ version: 0.12.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.11.0
29
+ version: 0.12.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-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.86.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.88.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Compute Engine API Alpha