google-apis-compute_alpha 0.79.0 → 0.81.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed824aafaef70e7ca4443477e400b6dcef1a913d3b07918279ffbc2f046ad50d
4
- data.tar.gz: 76350cc80a9fbdba41c935f5be3c7031dbd435422bd706ccc2511d751a7d5e32
3
+ metadata.gz: 2dcd11de1afd32951f393cabb70261105ef315e18526078ae9c3f80cdb3e51e3
4
+ data.tar.gz: 3661ef892834d324a943d1388e0bfbd0b2664271401938cbc02ddca0d7fc58bc
5
5
  SHA512:
6
- metadata.gz: 4275cae0023adfb91ddb5440e478a6f7ae5e51355a50453a7b99679576ef8a8f8d231be8f98702d6783243b8fab775746711799f6f8b35c9f9c24874aa13c90a
7
- data.tar.gz: 12d9ef858e063a141b9a8609b32f4895b460b19299547fafb928c8dc596cd21838ff7667de4a0866b8f74bdb26871b046b94e62e5c6b673e25f7322146081df8
6
+ metadata.gz: 80458609d7e4c6162deede61bb7512b7ffffee22e54ce588f39fab87f93d95b70c59b01c5c829fccf4fa48db3f98ffb5c60c81495889c5e7a1085f86e939cf06
7
+ data.tar.gz: aaf17fb0f5a53abc0461a66170075d8ff4d3bca847047d55f2714045449a1d56469105ef1405df37d89cba864dce032676f87685e725fddebfcd638b9a7cf185
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.80.0 (2023-10-08)
8
+
9
+ * Regenerated from discovery document revision 20230923
10
+
3
11
  ### v0.79.0 (2023-10-01)
4
12
 
5
13
  * Regenerated from discovery document revision 20230920
@@ -2955,7 +2955,7 @@ module Google
2955
2955
 
2956
2956
  # The time zone to use when interpreting the schedule. The value of this field
2957
2957
  # must be a time zone name from the tz database: https://en.wikipedia.org/wiki/
2958
- # Tz_database. This field is assigned a default value of UTC if left empty.
2958
+ # Tz_database. This field is assigned a default value of "UTC" if left empty.
2959
2959
  # Corresponds to the JSON property `timeZone`
2960
2960
  # @return [String]
2961
2961
  attr_accessor :time_zone
@@ -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]
@@ -25698,6 +25714,12 @@ module Google
25698
25714
  # @return [Google::Apis::ComputeAlpha::PreservedState]
25699
25715
  attr_accessor :preserved_state_from_policy
25700
25716
 
25717
+ # [Output Only] Instance properties selected for this instance resulting from
25718
+ # InstanceFlexibilityPolicy.
25719
+ # Corresponds to the JSON property `propertiesFromFlexibilityPolicy`
25720
+ # @return [Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy]
25721
+ attr_accessor :properties_from_flexibility_policy
25722
+
25701
25723
  # [Output Only] Tag describing the version.
25702
25724
  # Corresponds to the JSON property `tag`
25703
25725
  # @return [String]
@@ -25733,6 +25755,7 @@ module Google
25733
25755
  @name = args[:name] if args.key?(:name)
25734
25756
  @preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
25735
25757
  @preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
25758
+ @properties_from_flexibility_policy = args[:properties_from_flexibility_policy] if args.key?(:properties_from_flexibility_policy)
25736
25759
  @tag = args[:tag] if args.key?(:tag)
25737
25760
  @target_status = args[:target_status] if args.key?(:target_status)
25738
25761
  @version = args[:version] if args.key?(:version)
@@ -25947,6 +25970,25 @@ module Google
25947
25970
  end
25948
25971
  end
25949
25972
 
25973
+ #
25974
+ class ManagedInstancePropertiesFromFlexibilityPolicy
25975
+ include Google::Apis::Core::Hashable
25976
+
25977
+ # The machine type to be used for this instance.
25978
+ # Corresponds to the JSON property `machineType`
25979
+ # @return [String]
25980
+ attr_accessor :machine_type
25981
+
25982
+ def initialize(**args)
25983
+ update!(**args)
25984
+ end
25985
+
25986
+ # Update properties of this object
25987
+ def update!(**args)
25988
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
25989
+ end
25990
+ end
25991
+
25950
25992
  #
25951
25993
  class ManagedInstanceVersion
25952
25994
  include Google::Apis::Core::Hashable
@@ -26741,6 +26783,12 @@ module Google
26741
26783
  # @return [String]
26742
26784
  attr_accessor :subnetwork
26743
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
+
26744
26792
  def initialize(**args)
26745
26793
  update!(**args)
26746
26794
  end
@@ -26753,6 +26801,7 @@ module Google
26753
26801
  @secondary_ip_cidr_ranges = args[:secondary_ip_cidr_ranges] if args.key?(:secondary_ip_cidr_ranges)
26754
26802
  @status = args[:status] if args.key?(:status)
26755
26803
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
26804
+ @subnetwork_cidr_range = args[:subnetwork_cidr_range] if args.key?(:subnetwork_cidr_range)
26756
26805
  end
26757
26806
  end
26758
26807
 
@@ -33860,6 +33909,11 @@ module Google
33860
33909
  class PublicAdvertisedPrefix
33861
33910
  include Google::Apis::Core::Hashable
33862
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
+
33863
33917
  # [Output Only] Creation timestamp in RFC3339 text format.
33864
33918
  # Corresponds to the JSON property `creationTimestamp`
33865
33919
  # @return [String]
@@ -33963,6 +34017,7 @@ module Google
33963
34017
 
33964
34018
  # Update properties of this object
33965
34019
  def update!(**args)
34020
+ @byoip_api_version = args[:byoip_api_version] if args.key?(:byoip_api_version)
33966
34021
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
33967
34022
  @description = args[:description] if args.key?(:description)
33968
34023
  @dns_verification_ip = args[:dns_verification_ip] if args.key?(:dns_verification_ip)
@@ -34159,6 +34214,11 @@ module Google
34159
34214
  # @return [Fixnum]
34160
34215
  attr_accessor :allocatable_prefix_length
34161
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
+
34162
34222
  # [Output Only] Creation timestamp in RFC3339 text format.
34163
34223
  # Corresponds to the JSON property `creationTimestamp`
34164
34224
  # @return [String]
@@ -34267,6 +34327,7 @@ module Google
34267
34327
  # Update properties of this object
34268
34328
  def update!(**args)
34269
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)
34270
34331
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
34271
34332
  @description = args[:description] if args.key?(:description)
34272
34333
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -45497,6 +45558,136 @@ module Google
45497
45558
  end
45498
45559
  end
45499
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
+
45500
45691
  # Contains a list of Snapshot resources.
45501
45692
  class SnapshotList
45502
45693
  include Google::Apis::Core::Hashable
@@ -45679,6 +45870,97 @@ module Google
45679
45870
  end
45680
45871
  end
45681
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
+
45682
45964
  #
45683
45965
  class SourceDiskEncryptionKey
45684
45966
  include Google::Apis::Core::Hashable
@@ -49560,14 +49842,14 @@ module Google
49560
49842
  # Represents a Target HTTP Proxy resource. Google Compute Engine has two Target
49561
49843
  # HTTP Proxy resources: * [Global](/compute/docs/reference/rest/alpha/
49562
49844
  # targetHttpProxies) * [Regional](/compute/docs/reference/rest/alpha/
49563
- # regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load
49564
- # balancers. * targetHttpProxies are used by global external Application Load
49565
- # Balancers, classic Application Load Balancers, cross-region internal
49566
- # Application Load Balancers, and Traffic Director. * regionTargetHttpProxies
49567
- # are used by regional internal Application Load Balancers and regional external
49568
- # Application Load Balancers. Forwarding rules reference a target HTTP proxy,
49569
- # and the target proxy then references a URL map. For more information, read
49570
- # Using Target Proxies and Forwarding rule concepts.
49845
+ # regionTargetHttpProxies) A target HTTP proxy is a component of Google Cloud
49846
+ # HTTP load balancers. * targetHttpProxies are used by global external
49847
+ # Application Load Balancers, classic Application Load Balancers, cross-region
49848
+ # internal Application Load Balancers, and Traffic Director. *
49849
+ # regionTargetHttpProxies are used by regional internal Application Load
49850
+ # Balancers and regional external Application Load Balancers. Forwarding rules
49851
+ # reference a target HTTP proxy, and the target proxy then references a URL map.
49852
+ # For more information, read Using Target Proxies and Forwarding rule concepts.
49571
49853
  class TargetHttpProxy
49572
49854
  include Google::Apis::Core::Hashable
49573
49855
 
@@ -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.79.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 = "20230920"
25
+ REVISION = "20231003"
26
26
  end
27
27
  end
28
28
  end
@@ -3232,6 +3232,12 @@ module Google
3232
3232
  include Google::Apis::Core::JsonObjectSupport
3233
3233
  end
3234
3234
 
3235
+ class ManagedInstancePropertiesFromFlexibilityPolicy
3236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3237
+
3238
+ include Google::Apis::Core::JsonObjectSupport
3239
+ end
3240
+
3235
3241
  class ManagedInstanceVersion
3236
3242
  class Representation < Google::Apis::Core::JsonRepresentation; end
3237
3243
 
@@ -5938,6 +5944,24 @@ module Google
5938
5944
  include Google::Apis::Core::JsonObjectSupport
5939
5945
  end
5940
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
+
5941
5965
  class SnapshotList
5942
5966
  class Representation < Google::Apis::Core::JsonRepresentation; end
5943
5967
 
@@ -5974,6 +5998,24 @@ module Google
5974
5998
  include Google::Apis::Core::JsonObjectSupport
5975
5999
  end
5976
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
+
5977
6019
  class SourceDiskEncryptionKey
5978
6020
  class Representation < Google::Apis::Core::JsonRepresentation; end
5979
6021
 
@@ -11341,6 +11383,8 @@ module Google
11341
11383
  class Representation < Google::Apis::Core::JsonRepresentation
11342
11384
  hash :instance_selection_lists, as: 'instanceSelectionLists', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
11343
11385
 
11386
+ hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
11387
+
11344
11388
  end
11345
11389
  end
11346
11390
 
@@ -11412,6 +11456,8 @@ module Google
11412
11456
  property :name, as: 'name'
11413
11457
  property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
11414
11458
 
11459
+ property :requested_run_duration, as: 'requestedRunDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
11460
+
11415
11461
  property :resize_by, as: 'resizeBy'
11416
11462
  property :self_link, as: 'selfLink'
11417
11463
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -13529,6 +13575,8 @@ module Google
13529
13575
 
13530
13576
  property :preserved_state_from_policy, as: 'preservedStateFromPolicy', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
13531
13577
 
13578
+ property :properties_from_flexibility_policy, as: 'propertiesFromFlexibilityPolicy', class: Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy, decorator: Google::Apis::ComputeAlpha::ManagedInstancePropertiesFromFlexibilityPolicy::Representation
13579
+
13532
13580
  property :tag, as: 'tag'
13533
13581
  property :target_status, as: 'targetStatus'
13534
13582
  property :version, as: 'version', class: Google::Apis::ComputeAlpha::ManagedInstanceVersion, decorator: Google::Apis::ComputeAlpha::ManagedInstanceVersion::Representation
@@ -13601,6 +13649,13 @@ module Google
13601
13649
  end
13602
13650
  end
13603
13651
 
13652
+ class ManagedInstancePropertiesFromFlexibilityPolicy
13653
+ # @private
13654
+ class Representation < Google::Apis::Core::JsonRepresentation
13655
+ property :machine_type, as: 'machineType'
13656
+ end
13657
+ end
13658
+
13604
13659
  class ManagedInstanceVersion
13605
13660
  # @private
13606
13661
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13792,6 +13847,7 @@ module Google
13792
13847
  collection :secondary_ip_cidr_ranges, as: 'secondaryIpCidrRanges'
13793
13848
  property :status, as: 'status'
13794
13849
  property :subnetwork, as: 'subnetwork'
13850
+ property :subnetwork_cidr_range, as: 'subnetworkCidrRange'
13795
13851
  end
13796
13852
  end
13797
13853
 
@@ -15614,6 +15670,7 @@ module Google
15614
15670
  class PublicAdvertisedPrefix
15615
15671
  # @private
15616
15672
  class Representation < Google::Apis::Core::JsonRepresentation
15673
+ property :byoip_api_version, as: 'byoipApiVersion'
15617
15674
  property :creation_timestamp, as: 'creationTimestamp'
15618
15675
  property :description, as: 'description'
15619
15676
  property :dns_verification_ip, as: 'dnsVerificationIp'
@@ -15679,6 +15736,7 @@ module Google
15679
15736
  # @private
15680
15737
  class Representation < Google::Apis::Core::JsonRepresentation
15681
15738
  property :allocatable_prefix_length, as: 'allocatablePrefixLength'
15739
+ property :byoip_api_version, as: 'byoipApiVersion'
15682
15740
  property :creation_timestamp, as: 'creationTimestamp'
15683
15741
  property :description, as: 'description'
15684
15742
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -18581,6 +18639,40 @@ module Google
18581
18639
  end
18582
18640
  end
18583
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
+
18584
18676
  class SnapshotList
18585
18677
  # @private
18586
18678
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -18637,6 +18729,34 @@ module Google
18637
18729
  end
18638
18730
  end
18639
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
+
18640
18760
  class SourceDiskEncryptionKey
18641
18761
  # @private
18642
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.79.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-01 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.79.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: []