google-apis-compute_alpha 0.80.0 → 0.81.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: d199ab71dfa515d0d95b911ef388d41d3f8f3425bcf2facf5f61189cc7bd9ab4
4
- data.tar.gz: 64453face49cd3f048e07ea20c48bf0c2ffa2fb1881cee3f04515f2e09da048a
3
+ metadata.gz: 2dcd11de1afd32951f393cabb70261105ef315e18526078ae9c3f80cdb3e51e3
4
+ data.tar.gz: 3661ef892834d324a943d1388e0bfbd0b2664271401938cbc02ddca0d7fc58bc
5
5
  SHA512:
6
- metadata.gz: 53ca1f21aec88dd32b2f56645e9c2a68c75f2fae50e73d7b2751c88fe17364a261f870b67a1fc7a69308401171eb972f8bc575d05144e76fdd605ec6db2e4216
7
- data.tar.gz: beb56045e18d427d7c3905403def1aae5e304d3239404afbd0f48acc06c88b6dafce01e8da89b2ab1aa84fde6beec629ab5bad40d9fc35104ee0c622b182918a
6
+ metadata.gz: 80458609d7e4c6162deede61bb7512b7ffffee22e54ce588f39fab87f93d95b70c59b01c5c829fccf4fa48db3f98ffb5c60c81495889c5e7a1085f86e939cf06
7
+ data.tar.gz: aaf17fb0f5a53abc0461a66170075d8ff4d3bca847047d55f2714045449a1d56469105ef1405df37d89cba864dce032676f87685e725fddebfcd638b9a7cf185
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.81.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231003
6
+
3
7
  ### v0.80.0 (2023-10-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20230923
@@ -17276,6 +17276,12 @@ module Google
17276
17276
  # @return [Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
17277
17277
  attr_accessor :instance_selection_lists
17278
17278
 
17279
+ # Named instance selections configuring properties that the group will use when
17280
+ # creating new VMs.
17281
+ # Corresponds to the JSON property `instanceSelections`
17282
+ # @return [Hash<String,Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection>]
17283
+ attr_accessor :instance_selections
17284
+
17279
17285
  def initialize(**args)
17280
17286
  update!(**args)
17281
17287
  end
@@ -17283,6 +17289,7 @@ module Google
17283
17289
  # Update properties of this object
17284
17290
  def update!(**args)
17285
17291
  @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
17292
+ @instance_selections = args[:instance_selections] if args.key?(:instance_selections)
17286
17293
  end
17287
17294
  end
17288
17295
 
@@ -17546,6 +17553,14 @@ module Google
17546
17553
  # @return [Google::Apis::ComputeAlpha::QueuingPolicy]
17547
17554
  attr_accessor :queuing_policy
17548
17555
 
17556
+ # A Duration represents a fixed-length span of time represented as a count of
17557
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
17558
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
17559
+ # 000 years.
17560
+ # Corresponds to the JSON property `requestedRunDuration`
17561
+ # @return [Google::Apis::ComputeAlpha::Duration]
17562
+ attr_accessor :requested_run_duration
17563
+
17549
17564
  # The number of instances to be created by this resize request. The group's
17550
17565
  # target size will be increased by this number.
17551
17566
  # Corresponds to the JSON property `resizeBy`
@@ -17591,6 +17606,7 @@ module Google
17591
17606
  @kind = args[:kind] if args.key?(:kind)
17592
17607
  @name = args[:name] if args.key?(:name)
17593
17608
  @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
17609
+ @requested_run_duration = args[:requested_run_duration] if args.key?(:requested_run_duration)
17594
17610
  @resize_by = args[:resize_by] if args.key?(:resize_by)
17595
17611
  @self_link = args[:self_link] if args.key?(:self_link)
17596
17612
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -25682,7 +25698,7 @@ module Google
25682
25698
  # @return [Google::Apis::ComputeAlpha::ManagedInstanceLastAttempt]
25683
25699
  attr_accessor :last_attempt
25684
25700
 
25685
- # [Output Only] The name of the instance. The name will always exist even if the
25701
+ # [Output Only] The name of the instance. The name always exists even if the
25686
25702
  # instance has not yet been created.
25687
25703
  # Corresponds to the JSON property `name`
25688
25704
  # @return [String]
@@ -26767,6 +26783,12 @@ module Google
26767
26783
  # @return [String]
26768
26784
  attr_accessor :subnetwork
26769
26785
 
26786
+ # [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was
26787
+ # allocated from.
26788
+ # Corresponds to the JSON property `subnetworkCidrRange`
26789
+ # @return [String]
26790
+ attr_accessor :subnetwork_cidr_range
26791
+
26770
26792
  def initialize(**args)
26771
26793
  update!(**args)
26772
26794
  end
@@ -26779,6 +26801,7 @@ module Google
26779
26801
  @secondary_ip_cidr_ranges = args[:secondary_ip_cidr_ranges] if args.key?(:secondary_ip_cidr_ranges)
26780
26802
  @status = args[:status] if args.key?(:status)
26781
26803
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
26804
+ @subnetwork_cidr_range = args[:subnetwork_cidr_range] if args.key?(:subnetwork_cidr_range)
26782
26805
  end
26783
26806
  end
26784
26807
 
@@ -33886,6 +33909,11 @@ module Google
33886
33909
  class PublicAdvertisedPrefix
33887
33910
  include Google::Apis::Core::Hashable
33888
33911
 
33912
+ # [Output Only] The version of BYOIP API.
33913
+ # Corresponds to the JSON property `byoipApiVersion`
33914
+ # @return [String]
33915
+ attr_accessor :byoip_api_version
33916
+
33889
33917
  # [Output Only] Creation timestamp in RFC3339 text format.
33890
33918
  # Corresponds to the JSON property `creationTimestamp`
33891
33919
  # @return [String]
@@ -33989,6 +34017,7 @@ module Google
33989
34017
 
33990
34018
  # Update properties of this object
33991
34019
  def update!(**args)
34020
+ @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
33992
34021
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
33993
34022
  @description = args[:description] if args.key?(:description)
33994
34023
  @dns_verification_ip = args[:dns_verification_ip] if args.key?(:dns_verification_ip)
@@ -34185,6 +34214,11 @@ module Google
34185
34214
  # @return [Fixnum]
34186
34215
  attr_accessor :allocatable_prefix_length
34187
34216
 
34217
+ # [Output Only] The version of BYOIP API.
34218
+ # Corresponds to the JSON property `byoipApiVersion`
34219
+ # @return [String]
34220
+ attr_accessor :byoip_api_version
34221
+
34188
34222
  # [Output Only] Creation timestamp in RFC3339 text format.
34189
34223
  # Corresponds to the JSON property `creationTimestamp`
34190
34224
  # @return [String]
@@ -34293,6 +34327,7 @@ module Google
34293
34327
  # Update properties of this object
34294
34328
  def update!(**args)
34295
34329
  @allocatable_prefix_length = args[:allocatable_prefix_length] if args.key?(:allocatable_prefix_length)
34330
+ @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
34296
34331
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
34297
34332
  @description = args[:description] if args.key?(:description)
34298
34333
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -45523,6 +45558,136 @@ module Google
45523
45558
  end
45524
45559
  end
45525
45560
 
45561
+ #
45562
+ class SnapshotAggregatedList
45563
+ include Google::Apis::Core::Hashable
45564
+
45565
+ #
45566
+ # Corresponds to the JSON property `etag`
45567
+ # @return [String]
45568
+ attr_accessor :etag
45569
+
45570
+ # [Output Only] Unique identifier for the resource; defined by the server.
45571
+ # Corresponds to the JSON property `id`
45572
+ # @return [String]
45573
+ attr_accessor :id
45574
+
45575
+ # A list of SnapshotsScopedList resources.
45576
+ # Corresponds to the JSON property `items`
45577
+ # @return [Hash<String,Google::Apis::ComputeAlpha::SnapshotsScopedList>]
45578
+ attr_accessor :items
45579
+
45580
+ # [Output Only] Type of resource. Always compute#snapshotAggregatedList for
45581
+ # aggregated lists of snapshots.
45582
+ # Corresponds to the JSON property `kind`
45583
+ # @return [String]
45584
+ attr_accessor :kind
45585
+
45586
+ # [Output Only] This token allows you to get the next page of results for list
45587
+ # requests. If the number of results is larger than maxResults, use the
45588
+ # nextPageToken as a value for the query parameter pageToken in the next list
45589
+ # request. Subsequent list requests will have their own nextPageToken to
45590
+ # continue paging through the results.
45591
+ # Corresponds to the JSON property `nextPageToken`
45592
+ # @return [String]
45593
+ attr_accessor :next_page_token
45594
+
45595
+ # [Output Only] Server-defined URL for this resource.
45596
+ # Corresponds to the JSON property `selfLink`
45597
+ # @return [String]
45598
+ attr_accessor :self_link
45599
+
45600
+ # [Output Only] Unreachable resources.
45601
+ # Corresponds to the JSON property `unreachables`
45602
+ # @return [Array<String>]
45603
+ attr_accessor :unreachables
45604
+
45605
+ # [Output Only] Informational warning message.
45606
+ # Corresponds to the JSON property `warning`
45607
+ # @return [Google::Apis::ComputeAlpha::SnapshotAggregatedList::Warning]
45608
+ attr_accessor :warning
45609
+
45610
+ def initialize(**args)
45611
+ update!(**args)
45612
+ end
45613
+
45614
+ # Update properties of this object
45615
+ def update!(**args)
45616
+ @etag = args[:etag] if args.key?(:etag)
45617
+ @id = args[:id] if args.key?(:id)
45618
+ @items = args[:items] if args.key?(:items)
45619
+ @kind = args[:kind] if args.key?(:kind)
45620
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
45621
+ @self_link = args[:self_link] if args.key?(:self_link)
45622
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
45623
+ @warning = args[:warning] if args.key?(:warning)
45624
+ end
45625
+
45626
+ # [Output Only] Informational warning message.
45627
+ class Warning
45628
+ include Google::Apis::Core::Hashable
45629
+
45630
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
45631
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
45632
+ # Corresponds to the JSON property `code`
45633
+ # @return [String]
45634
+ attr_accessor :code
45635
+
45636
+ # [Output Only] Metadata about this warning in key: value format. For example: "
45637
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
45638
+ # Corresponds to the JSON property `data`
45639
+ # @return [Array<Google::Apis::ComputeAlpha::SnapshotAggregatedList::Warning::Datum>]
45640
+ attr_accessor :data
45641
+
45642
+ # [Output Only] A human-readable description of the warning code.
45643
+ # Corresponds to the JSON property `message`
45644
+ # @return [String]
45645
+ attr_accessor :message
45646
+
45647
+ def initialize(**args)
45648
+ update!(**args)
45649
+ end
45650
+
45651
+ # Update properties of this object
45652
+ def update!(**args)
45653
+ @code = args[:code] if args.key?(:code)
45654
+ @data = args[:data] if args.key?(:data)
45655
+ @message = args[:message] if args.key?(:message)
45656
+ end
45657
+
45658
+ #
45659
+ class Datum
45660
+ include Google::Apis::Core::Hashable
45661
+
45662
+ # [Output Only] A key that provides more detail on the warning being returned.
45663
+ # For example, for warnings where there are no results in a list request for a
45664
+ # particular zone, this key might be scope and the key value might be the zone
45665
+ # name. Other examples might be a key indicating a deprecated resource and a
45666
+ # suggested replacement, or a warning about invalid network settings (for
45667
+ # example, if an instance attempts to perform IP forwarding but is not enabled
45668
+ # for IP forwarding).
45669
+ # Corresponds to the JSON property `key`
45670
+ # @return [String]
45671
+ attr_accessor :key
45672
+
45673
+ # [Output Only] A warning data value corresponding to the key.
45674
+ # Corresponds to the JSON property `value`
45675
+ # @return [String]
45676
+ attr_accessor :value
45677
+
45678
+ def initialize(**args)
45679
+ update!(**args)
45680
+ end
45681
+
45682
+ # Update properties of this object
45683
+ def update!(**args)
45684
+ @key = args[:key] if args.key?(:key)
45685
+ @value = args[:value] if args.key?(:value)
45686
+ end
45687
+ end
45688
+ end
45689
+ end
45690
+
45526
45691
  # Contains a list of Snapshot resources.
45527
45692
  class SnapshotList
45528
45693
  include Google::Apis::Core::Hashable
@@ -45705,6 +45870,97 @@ module Google
45705
45870
  end
45706
45871
  end
45707
45872
 
45873
+ #
45874
+ class SnapshotsScopedList
45875
+ include Google::Apis::Core::Hashable
45876
+
45877
+ # [Output Only] A list of snapshots contained in this scope.
45878
+ # Corresponds to the JSON property `snapshots`
45879
+ # @return [Array<Google::Apis::ComputeAlpha::Snapshot>]
45880
+ attr_accessor :snapshots
45881
+
45882
+ # [Output Only] Informational warning which replaces the list of snapshots when
45883
+ # the list is empty.
45884
+ # Corresponds to the JSON property `warning`
45885
+ # @return [Google::Apis::ComputeAlpha::SnapshotsScopedList::Warning]
45886
+ attr_accessor :warning
45887
+
45888
+ def initialize(**args)
45889
+ update!(**args)
45890
+ end
45891
+
45892
+ # Update properties of this object
45893
+ def update!(**args)
45894
+ @snapshots = args[:snapshots] if args.key?(:snapshots)
45895
+ @warning = args[:warning] if args.key?(:warning)
45896
+ end
45897
+
45898
+ # [Output Only] Informational warning which replaces the list of snapshots when
45899
+ # the list is empty.
45900
+ class Warning
45901
+ include Google::Apis::Core::Hashable
45902
+
45903
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
45904
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
45905
+ # Corresponds to the JSON property `code`
45906
+ # @return [String]
45907
+ attr_accessor :code
45908
+
45909
+ # [Output Only] Metadata about this warning in key: value format. For example: "
45910
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
45911
+ # Corresponds to the JSON property `data`
45912
+ # @return [Array<Google::Apis::ComputeAlpha::SnapshotsScopedList::Warning::Datum>]
45913
+ attr_accessor :data
45914
+
45915
+ # [Output Only] A human-readable description of the warning code.
45916
+ # Corresponds to the JSON property `message`
45917
+ # @return [String]
45918
+ attr_accessor :message
45919
+
45920
+ def initialize(**args)
45921
+ update!(**args)
45922
+ end
45923
+
45924
+ # Update properties of this object
45925
+ def update!(**args)
45926
+ @code = args[:code] if args.key?(:code)
45927
+ @data = args[:data] if args.key?(:data)
45928
+ @message = args[:message] if args.key?(:message)
45929
+ end
45930
+
45931
+ #
45932
+ class Datum
45933
+ include Google::Apis::Core::Hashable
45934
+
45935
+ # [Output Only] A key that provides more detail on the warning being returned.
45936
+ # For example, for warnings where there are no results in a list request for a
45937
+ # particular zone, this key might be scope and the key value might be the zone
45938
+ # name. Other examples might be a key indicating a deprecated resource and a
45939
+ # suggested replacement, or a warning about invalid network settings (for
45940
+ # example, if an instance attempts to perform IP forwarding but is not enabled
45941
+ # for IP forwarding).
45942
+ # Corresponds to the JSON property `key`
45943
+ # @return [String]
45944
+ attr_accessor :key
45945
+
45946
+ # [Output Only] A warning data value corresponding to the key.
45947
+ # Corresponds to the JSON property `value`
45948
+ # @return [String]
45949
+ attr_accessor :value
45950
+
45951
+ def initialize(**args)
45952
+ update!(**args)
45953
+ end
45954
+
45955
+ # Update properties of this object
45956
+ def update!(**args)
45957
+ @key = args[:key] if args.key?(:key)
45958
+ @value = args[:value] if args.key?(:value)
45959
+ end
45960
+ end
45961
+ end
45962
+ end
45963
+
45708
45964
  #
45709
45965
  class SourceDiskEncryptionKey
45710
45966
  include Google::Apis::Core::Hashable
@@ -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.80.0"
19
+ GEM_VERSION = "0.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230923"
25
+ REVISION = "20231003"
26
26
  end
27
27
  end
28
28
  end
@@ -5944,6 +5944,24 @@ module Google
5944
5944
  include Google::Apis::Core::JsonObjectSupport
5945
5945
  end
5946
5946
 
5947
+ class SnapshotAggregatedList
5948
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5949
+
5950
+ class Warning
5951
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5952
+
5953
+ class Datum
5954
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5955
+
5956
+ include Google::Apis::Core::JsonObjectSupport
5957
+ end
5958
+
5959
+ include Google::Apis::Core::JsonObjectSupport
5960
+ end
5961
+
5962
+ include Google::Apis::Core::JsonObjectSupport
5963
+ end
5964
+
5947
5965
  class SnapshotList
5948
5966
  class Representation < Google::Apis::Core::JsonRepresentation; end
5949
5967
 
@@ -5980,6 +5998,24 @@ module Google
5980
5998
  include Google::Apis::Core::JsonObjectSupport
5981
5999
  end
5982
6000
 
6001
+ class SnapshotsScopedList
6002
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6003
+
6004
+ class Warning
6005
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6006
+
6007
+ class Datum
6008
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6009
+
6010
+ include Google::Apis::Core::JsonObjectSupport
6011
+ end
6012
+
6013
+ include Google::Apis::Core::JsonObjectSupport
6014
+ end
6015
+
6016
+ include Google::Apis::Core::JsonObjectSupport
6017
+ end
6018
+
5983
6019
  class SourceDiskEncryptionKey
5984
6020
  class Representation < Google::Apis::Core::JsonRepresentation; end
5985
6021
 
@@ -11347,6 +11383,8 @@ module Google
11347
11383
  class Representation < Google::Apis::Core::JsonRepresentation
11348
11384
  hash :instance_selection_lists, as: 'instanceSelectionLists', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
11349
11385
 
11386
+ hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
11387
+
11350
11388
  end
11351
11389
  end
11352
11390
 
@@ -11418,6 +11456,8 @@ module Google
11418
11456
  property :name, as: 'name'
11419
11457
  property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
11420
11458
 
11459
+ property :requested_run_duration, as: 'requestedRunDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
11460
+
11421
11461
  property :resize_by, as: 'resizeBy'
11422
11462
  property :self_link, as: 'selfLink'
11423
11463
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -13807,6 +13847,7 @@ module Google
13807
13847
  collection :secondary_ip_cidr_ranges, as: 'secondaryIpCidrRanges'
13808
13848
  property :status, as: 'status'
13809
13849
  property :subnetwork, as: 'subnetwork'
13850
+ property :subnetwork_cidr_range, as: 'subnetworkCidrRange'
13810
13851
  end
13811
13852
  end
13812
13853
 
@@ -15629,6 +15670,7 @@ module Google
15629
15670
  class PublicAdvertisedPrefix
15630
15671
  # @private
15631
15672
  class Representation < Google::Apis::Core::JsonRepresentation
15673
+ property :byoip_api_version, as: 'byoipApiVersion'
15632
15674
  property :creation_timestamp, as: 'creationTimestamp'
15633
15675
  property :description, as: 'description'
15634
15676
  property :dns_verification_ip, as: 'dnsVerificationIp'
@@ -15694,6 +15736,7 @@ module Google
15694
15736
  # @private
15695
15737
  class Representation < Google::Apis::Core::JsonRepresentation
15696
15738
  property :allocatable_prefix_length, as: 'allocatablePrefixLength'
15739
+ property :byoip_api_version, as: 'byoipApiVersion'
15697
15740
  property :creation_timestamp, as: 'creationTimestamp'
15698
15741
  property :description, as: 'description'
15699
15742
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -18596,6 +18639,40 @@ module Google
18596
18639
  end
18597
18640
  end
18598
18641
 
18642
+ class SnapshotAggregatedList
18643
+ # @private
18644
+ class Representation < Google::Apis::Core::JsonRepresentation
18645
+ property :etag, as: 'etag'
18646
+ property :id, as: 'id'
18647
+ hash :items, as: 'items', class: Google::Apis::ComputeAlpha::SnapshotsScopedList, decorator: Google::Apis::ComputeAlpha::SnapshotsScopedList::Representation
18648
+
18649
+ property :kind, as: 'kind'
18650
+ property :next_page_token, as: 'nextPageToken'
18651
+ property :self_link, as: 'selfLink'
18652
+ collection :unreachables, as: 'unreachables'
18653
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SnapshotAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::SnapshotAggregatedList::Warning::Representation
18654
+
18655
+ end
18656
+
18657
+ class Warning
18658
+ # @private
18659
+ class Representation < Google::Apis::Core::JsonRepresentation
18660
+ property :code, as: 'code'
18661
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SnapshotAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SnapshotAggregatedList::Warning::Datum::Representation
18662
+
18663
+ property :message, as: 'message'
18664
+ end
18665
+
18666
+ class Datum
18667
+ # @private
18668
+ class Representation < Google::Apis::Core::JsonRepresentation
18669
+ property :key, as: 'key'
18670
+ property :value, as: 'value'
18671
+ end
18672
+ end
18673
+ end
18674
+ end
18675
+
18599
18676
  class SnapshotList
18600
18677
  # @private
18601
18678
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18652,6 +18729,34 @@ module Google
18652
18729
  end
18653
18730
  end
18654
18731
 
18732
+ class SnapshotsScopedList
18733
+ # @private
18734
+ class Representation < Google::Apis::Core::JsonRepresentation
18735
+ collection :snapshots, as: 'snapshots', class: Google::Apis::ComputeAlpha::Snapshot, decorator: Google::Apis::ComputeAlpha::Snapshot::Representation
18736
+
18737
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SnapshotsScopedList::Warning, decorator: Google::Apis::ComputeAlpha::SnapshotsScopedList::Warning::Representation
18738
+
18739
+ end
18740
+
18741
+ class Warning
18742
+ # @private
18743
+ class Representation < Google::Apis::Core::JsonRepresentation
18744
+ property :code, as: 'code'
18745
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SnapshotsScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SnapshotsScopedList::Warning::Datum::Representation
18746
+
18747
+ property :message, as: 'message'
18748
+ end
18749
+
18750
+ class Datum
18751
+ # @private
18752
+ class Representation < Google::Apis::Core::JsonRepresentation
18753
+ property :key, as: 'key'
18754
+ property :value, as: 'value'
18755
+ end
18756
+ end
18757
+ end
18758
+ end
18759
+
18655
18760
  class SourceDiskEncryptionKey
18656
18761
  # @private
18657
18762
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -42260,6 +42260,106 @@ module Google
42260
42260
  execute_or_queue_command(command, &block)
42261
42261
  end
42262
42262
 
42263
+ # Retrieves an aggregated list of all of the snapshots in your project across
42264
+ # all regions and global scope.
42265
+ # @param [String] project
42266
+ # Project ID for this request.
42267
+ # @param [String] filter
42268
+ # A filter expression that filters resources listed in the response. Most
42269
+ # Compute resources support two types of filter expressions: expressions that
42270
+ # support regular expressions and expressions that follow API improvement
42271
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
42272
+ # request. If you want to use AIP-160, your expression must specify the field
42273
+ # name, an operator, and the value that you want to use for filtering. The value
42274
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
42275
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
42276
+ # Engine instances, you can exclude instances named `example-instance` by
42277
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
42278
+ # whether a key has been defined. For example, to find all objects with `owner`
42279
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
42280
+ # example, you could specify `scheduling.automaticRestart = false` to include
42281
+ # instances only if they are not scheduled for automatic restarts. You can use
42282
+ # filtering on nested fields to filter based on resource labels. To filter on
42283
+ # multiple expressions, provide each separate expression within parentheses. For
42284
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
42285
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
42286
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
42287
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
42288
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
42289
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
42290
+ # un-parenthesized expression with or without quotes or against multiple
42291
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
42292
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
42293
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
42294
+ # interpreted as a regular expression using Google RE2 library syntax. The
42295
+ # literal value must match the entire field. For example, to filter for
42296
+ # instances that do not end with name "instance", you would use `name ne .*
42297
+ # instance`. You cannot combine constraints on multiple fields using regular
42298
+ # expressions.
42299
+ # @param [Boolean] include_all_scopes
42300
+ # Indicates whether every visible scope for each scope type (zone, region,
42301
+ # global) should be included in the response. For new resource types added after
42302
+ # this field, the flag has no effect as new resource types will always include
42303
+ # every visible scope for each scope type in response. For resource types which
42304
+ # predate this field, if this flag is omitted or false, only scopes of the scope
42305
+ # types where the resource type is expected to be found will be included.
42306
+ # @param [Fixnum] max_results
42307
+ # The maximum number of results per page that should be returned. If the number
42308
+ # of available results is larger than `maxResults`, Compute Engine returns a `
42309
+ # nextPageToken` that can be used to get the next page of results in subsequent
42310
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
42311
+ # @param [String] order_by
42312
+ # Sorts list results by a certain order. By default, results are returned in
42313
+ # alphanumerical order based on the resource name. You can also sort results in
42314
+ # descending order based on the creation timestamp using `orderBy="
42315
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
42316
+ # field in reverse chronological order (newest result first). Use this to sort
42317
+ # resources like operations so that the newest operation is returned first.
42318
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
42319
+ # @param [String] page_token
42320
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
42321
+ # by a previous list request to get the next page of results.
42322
+ # @param [Boolean] return_partial_success
42323
+ # Opt-in for partial success behavior which provides partial results in case of
42324
+ # failure. The default value is false.
42325
+ # @param [Fixnum] service_project_number
42326
+ # @param [String] fields
42327
+ # Selector specifying which fields to include in a partial response.
42328
+ # @param [String] quota_user
42329
+ # Available to use for quota purposes for server-side applications. Can be any
42330
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
42331
+ # @param [String] user_ip
42332
+ # Legacy name for parameter that has been superseded by `quotaUser`.
42333
+ # @param [Google::Apis::RequestOptions] options
42334
+ # Request-specific options
42335
+ #
42336
+ # @yield [result, err] Result & error if block supplied
42337
+ # @yieldparam result [Google::Apis::ComputeAlpha::SnapshotAggregatedList] parsed result object
42338
+ # @yieldparam err [StandardError] error object if request failed
42339
+ #
42340
+ # @return [Google::Apis::ComputeAlpha::SnapshotAggregatedList]
42341
+ #
42342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
42343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
42344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
42345
+ def aggregated_snapshot_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
42346
+ command = make_simple_command(:get, 'projects/{project}/aggregated/snapshots', options)
42347
+ command.response_representation = Google::Apis::ComputeAlpha::SnapshotAggregatedList::Representation
42348
+ command.response_class = Google::Apis::ComputeAlpha::SnapshotAggregatedList
42349
+ command.params['project'] = project unless project.nil?
42350
+ command.query['filter'] = filter unless filter.nil?
42351
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
42352
+ command.query['maxResults'] = max_results unless max_results.nil?
42353
+ command.query['orderBy'] = order_by unless order_by.nil?
42354
+ command.query['pageToken'] = page_token unless page_token.nil?
42355
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
42356
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
42357
+ command.query['fields'] = fields unless fields.nil?
42358
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
42359
+ command.query['userIp'] = user_ip unless user_ip.nil?
42360
+ execute_or_queue_command(command, &block)
42361
+ end
42362
+
42263
42363
  # Deletes the specified Snapshot resource. Keep in mind that deleting a single
42264
42364
  # snapshot might not necessarily delete all the data on that snapshot. If any
42265
42365
  # 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.80.0
4
+ version: 0.81.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-10-08 00:00:00.000000000 Z
11
+ date: 2023-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.80.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.81.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: []