google-apis-compute_preview 0.2.0 → 0.3.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: e1ee7e5e5bf48cdca59d43dd528128b96f135e583591a5cb8e1dc7cc3ea6dfec
4
- data.tar.gz: c3ddde2c6a25d55260946d4c5cb48f3efdb716346b3428d4d925abc1be0d7260
3
+ metadata.gz: 5a9caf8e2c60f064839c218c44ac064e169f1d33349648276c6e4cd9b5239879
4
+ data.tar.gz: 8e3ba2cba3a596cd81feb0c6517de7689d683e1408f41e74f38174c2e6f11545
5
5
  SHA512:
6
- metadata.gz: a5a191ad6a8a1411e86c80c01e9c0fbb15c23f1e2f27449b64edf752a74e879f698e2ddc137380baed6b152c2fd4dc6273b0419677fbedcf0450104f4ac1c7ea
7
- data.tar.gz: 98390d20a6dd235643d1ba4c12d011a7c8a258d8e26970d4de27e65b4758408d7cc54a3a2671c7c4d919a2cd6d771bf54f7b199bbefcfc3950b61bd1daf4e6aa
6
+ metadata.gz: e6517bc9140cdd41f96572b89dd3ede2deacc5bbe393a8859dc65efc060478f6c6219393031000192db4a5f6ab08c7121da5876d5f8e149303eaa80205a4e93c
7
+ data.tar.gz: f8dc1e745aae43e5c0d5e96d6ee2b776a1c463756b332c0ce85f4712cb061a676a40a005254d285e880a2a40aabad34e6d6050cac710f33689d7a07a7cfd8047
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_preview
2
2
 
3
+ ### v0.3.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261007
6
+ * Regenerated using generator version 0.19.1
7
+
3
8
  ### v0.2.0 (2026-10-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20260922
@@ -1023,6 +1023,25 @@ module Google
1023
1023
  # @return [Fixnum]
1024
1024
  attr_accessor :external_ipv6_prefix_length
1025
1025
 
1026
+ # Reference to the source of external IPv4 addresses,
1027
+ # like a PublicDelegatedPrefix (PDP) for BYOIP.
1028
+ # The PDP must support enhanced IPv4 allocations.
1029
+ # Use one of the following formats to specify a PDP when allocating an
1030
+ # external IPv4 address using BYOIP.
1031
+ #
1032
+ # -
1033
+ # Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/
1034
+ # projectId/regions/region/publicDelegatedPrefixes/pdp-name
1035
+ # -
1036
+ # Partial URL, as in
1037
+ #
1038
+ #
1039
+ # - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name
1040
+ # - regions/region/publicDelegatedPrefixes/pdp-name
1041
+ # Corresponds to the JSON property `ipCollection`
1042
+ # @return [String]
1043
+ attr_accessor :ip_collection
1044
+
1026
1045
  # Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig
1027
1046
  # for access configs.
1028
1047
  # Corresponds to the JSON property `kind`
@@ -1098,6 +1117,7 @@ module Google
1098
1117
  def update!(**args)
1099
1118
  @external_ipv6 = args[:external_ipv6] if args.key?(:external_ipv6)
1100
1119
  @external_ipv6_prefix_length = args[:external_ipv6_prefix_length] if args.key?(:external_ipv6_prefix_length)
1120
+ @ip_collection = args[:ip_collection] if args.key?(:ip_collection)
1101
1121
  @kind = args[:kind] if args.key?(:kind)
1102
1122
  @name = args[:name] if args.key?(:name)
1103
1123
  @nat_ip = args[:nat_ip] if args.key?(:nat_ip)
@@ -1237,6 +1257,15 @@ module Google
1237
1257
  # @return [String]
1238
1258
  attr_accessor :network
1239
1259
 
1260
+ # Optional. The URL of the network attachment that this address comes from in
1261
+ # the
1262
+ # following format:
1263
+ # projects/`project`/regions/`region_name`/networkAttachments/`
1264
+ # network_attachment_name`.
1265
+ # Corresponds to the JSON property `networkAttachment`
1266
+ # @return [String]
1267
+ attr_accessor :network_attachment
1268
+
1240
1269
  # This signifies the networking tier used for configuring this address and
1241
1270
  # can only take the following values: PREMIUM orSTANDARD. Internal IP addresses
1242
1271
  # are always Premium Tier;
@@ -1301,6 +1330,14 @@ module Google
1301
1330
  # @return [String]
1302
1331
  attr_accessor :self_link
1303
1332
 
1333
+ # Optional. Producer Service's Service class ID for the region of this address.
1334
+ # Can
1335
+ # only be used with network_attachment. It is not possible to use on its own;
1336
+ # however, network_attachment can be used without service_class_id.
1337
+ # Corresponds to the JSON property `serviceClassId`
1338
+ # @return [String]
1339
+ attr_accessor :service_class_id
1340
+
1304
1341
  # Output only. [Output Only] The status of the address, which can be one
1305
1342
  # ofRESERVING, RESERVED, or IN_USE.
1306
1343
  # An address that is RESERVING is currently in the process of
@@ -1342,11 +1379,13 @@ module Google
1342
1379
  @labels = args[:labels] if args.key?(:labels)
1343
1380
  @name = args[:name] if args.key?(:name)
1344
1381
  @network = args[:network] if args.key?(:network)
1382
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
1345
1383
  @network_tier = args[:network_tier] if args.key?(:network_tier)
1346
1384
  @prefix_length = args[:prefix_length] if args.key?(:prefix_length)
1347
1385
  @purpose = args[:purpose] if args.key?(:purpose)
1348
1386
  @region = args[:region] if args.key?(:region)
1349
1387
  @self_link = args[:self_link] if args.key?(:self_link)
1388
+ @service_class_id = args[:service_class_id] if args.key?(:service_class_id)
1350
1389
  @status = args[:status] if args.key?(:status)
1351
1390
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1352
1391
  @users = args[:users] if args.key?(:users)
@@ -1804,6 +1843,339 @@ module Google
1804
1843
  end
1805
1844
  end
1806
1845
 
1846
+ # Represents an Alias Network Endpoint resource.
1847
+ # To be used for GKE pod-native endpoints in Andromeda.
1848
+ class AliasNetworkEndpoint
1849
+ include Google::Apis::Core::Hashable
1850
+
1851
+ # Required. The map of network aliases allocated for the AliasNetworkEndpoint.
1852
+ # This map is keyed with user-provided alias names.
1853
+ # Corresponds to the JSON property `aliases`
1854
+ # @return [Hash<String,Google::Apis::ComputePreview::AliasNetworkEndpointAlias>]
1855
+ attr_accessor :aliases
1856
+
1857
+ # Optional. The annotations map for the AliasNetworkEndpoint.
1858
+ # Keys and values must follow Kubernetes limits.
1859
+ # Keys must be a maximum of 253 characters. Keys should be dot-namespaced,
1860
+ # following the Kubernetes annotation key format:
1861
+ # `([DNS subdomain]/)?[RFC 1123 name]`.
1862
+ # Values must be a maximum of 256 characters.
1863
+ # Corresponds to the JSON property `annotations`
1864
+ # @return [Hash<String,String>]
1865
+ attr_accessor :annotations
1866
+
1867
+ # Output only. [Output Only] Creation timestamp in RFC3339 text format.
1868
+ # Corresponds to the JSON property `creationTimestamp`
1869
+ # @return [String]
1870
+ attr_accessor :creation_timestamp
1871
+
1872
+ # Optional. An optional description of this resource. Provide this field when
1873
+ # you
1874
+ # create the resource.
1875
+ # Corresponds to the JSON property `description`
1876
+ # @return [String]
1877
+ attr_accessor :description
1878
+
1879
+ # Information about the host instance.
1880
+ # Corresponds to the JSON property `host`
1881
+ # @return [Google::Apis::ComputePreview::AliasNetworkEndpointHost]
1882
+ attr_accessor :host
1883
+
1884
+ # Output only. [Output Only] The unique identifier for the resource. This
1885
+ # identifier is
1886
+ # defined by the server.
1887
+ # Corresponds to the JSON property `id`
1888
+ # @return [Fixnum]
1889
+ attr_accessor :id
1890
+
1891
+ # Optional. The labels map for the AliasNetworkEndpoint.
1892
+ # Corresponds to the JSON property `labels`
1893
+ # @return [Hash<String,String>]
1894
+ attr_accessor :labels
1895
+
1896
+ # Identifier. Name of the resource. Provided by the client when the resource is
1897
+ # created.
1898
+ # The name must be 1-63 characters long, and comply with RFC1035.
1899
+ # Corresponds to the JSON property `name`
1900
+ # @return [String]
1901
+ attr_accessor :name
1902
+
1903
+ # Optional. The security tag inheritance setting for the AliasNetworkEndpoint.
1904
+ # Corresponds to the JSON property `securityTagInheritance`
1905
+ # @return [String]
1906
+ attr_accessor :security_tag_inheritance
1907
+
1908
+ # Output only. [Output Only] Server-defined URL for the resource.
1909
+ # Corresponds to the JSON property `selfLink`
1910
+ # @return [String]
1911
+ attr_accessor :self_link
1912
+
1913
+ # Represents the current status of the AliasNetworkEndpoint.
1914
+ # Corresponds to the JSON property `status`
1915
+ # @return [Google::Apis::ComputePreview::AliasNetworkEndpointStatus]
1916
+ attr_accessor :status
1917
+
1918
+ # Required. The URL of the subnetwork that this alias network endpoint belongs
1919
+ # to.
1920
+ # Corresponds to the JSON property `subnetwork`
1921
+ # @return [String]
1922
+ attr_accessor :subnetwork
1923
+
1924
+ # Output only. [Output Only] Update timestamp in RFC3339 text format.
1925
+ # Corresponds to the JSON property `updateTime`
1926
+ # @return [String]
1927
+ attr_accessor :update_time
1928
+
1929
+ def initialize(**args)
1930
+ update!(**args)
1931
+ end
1932
+
1933
+ # Update properties of this object
1934
+ def update!(**args)
1935
+ @aliases = args[:aliases] if args.key?(:aliases)
1936
+ @annotations = args[:annotations] if args.key?(:annotations)
1937
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
1938
+ @description = args[:description] if args.key?(:description)
1939
+ @host = args[:host] if args.key?(:host)
1940
+ @id = args[:id] if args.key?(:id)
1941
+ @labels = args[:labels] if args.key?(:labels)
1942
+ @name = args[:name] if args.key?(:name)
1943
+ @security_tag_inheritance = args[:security_tag_inheritance] if args.key?(:security_tag_inheritance)
1944
+ @self_link = args[:self_link] if args.key?(:self_link)
1945
+ @status = args[:status] if args.key?(:status)
1946
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1947
+ @update_time = args[:update_time] if args.key?(:update_time)
1948
+ end
1949
+ end
1950
+
1951
+ # Configuration for an IP alias.
1952
+ class AliasNetworkEndpointAlias
1953
+ include Google::Apis::Core::Hashable
1954
+
1955
+ # Output only. [Output Only] The actual IP address allocated by the system.
1956
+ # Corresponds to the JSON property `effectiveIpAddress`
1957
+ # @return [String]
1958
+ attr_accessor :effective_ip_address
1959
+
1960
+ # Output only. [Output Only] The actual secondary range used for allocation.
1961
+ # Corresponds to the JSON property `effectiveSubnetworkRangeName`
1962
+ # @return [String]
1963
+ attr_accessor :effective_subnetwork_range_name
1964
+
1965
+ # Input only. The IP address of the network endpoint. If specified, the server
1966
+ # performs
1967
+ # a validation check for uniqueness. If the field is omitted, the system
1968
+ # automatically allocates an IP and populates the effective_ip_address
1969
+ # field.
1970
+ # Corresponds to the JSON property `ipAddress`
1971
+ # @return [String]
1972
+ attr_accessor :ip_address
1973
+
1974
+ # Required. The IP version of the IP. It is IPv4 or IPv6.
1975
+ # Corresponds to the JSON property `ipVersion`
1976
+ # @return [String]
1977
+ attr_accessor :ip_version
1978
+
1979
+ # Input only. Defines candidate secondary ranges for allocating the alias IPs.
1980
+ # If it is
1981
+ # empty, the IP would be allocated from the primary range of the
1982
+ # subnetwork.
1983
+ # This field is INPUT_ONLY and used only during resource creation,
1984
+ # hence a repeated field is acceptable as per AIP-2825. It is not mutable.
1985
+ # Corresponds to the JSON property `subnetworkRangeNames`
1986
+ # @return [Array<String>]
1987
+ attr_accessor :subnetwork_range_names
1988
+
1989
+ def initialize(**args)
1990
+ update!(**args)
1991
+ end
1992
+
1993
+ # Update properties of this object
1994
+ def update!(**args)
1995
+ @effective_ip_address = args[:effective_ip_address] if args.key?(:effective_ip_address)
1996
+ @effective_subnetwork_range_name = args[:effective_subnetwork_range_name] if args.key?(:effective_subnetwork_range_name)
1997
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
1998
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
1999
+ @subnetwork_range_names = args[:subnetwork_range_names] if args.key?(:subnetwork_range_names)
2000
+ end
2001
+ end
2002
+
2003
+ # Information about the host instance.
2004
+ class AliasNetworkEndpointHost
2005
+ include Google::Apis::Core::Hashable
2006
+
2007
+ # Required. The URL to the instance that this alias network endpoint is bound to.
2008
+ # Corresponds to the JSON property `instance`
2009
+ # @return [String]
2010
+ attr_accessor :instance
2011
+
2012
+ def initialize(**args)
2013
+ update!(**args)
2014
+ end
2015
+
2016
+ # Update properties of this object
2017
+ def update!(**args)
2018
+ @instance = args[:instance] if args.key?(:instance)
2019
+ end
2020
+ end
2021
+
2022
+ # Response message for AliasNetworkEndpoints.List.
2023
+ class AliasNetworkEndpointList
2024
+ include Google::Apis::Core::Hashable
2025
+
2026
+ # ETag of the resource list.
2027
+ # Corresponds to the JSON property `etag`
2028
+ # @return [String]
2029
+ attr_accessor :etag
2030
+
2031
+ # [Output Only] Unique identifier for the resource; defined by the server.
2032
+ # Corresponds to the JSON property `id`
2033
+ # @return [String]
2034
+ attr_accessor :id
2035
+
2036
+ # A list of AliasNetworkEndpoint resources.
2037
+ # Corresponds to the JSON property `items`
2038
+ # @return [Array<Google::Apis::ComputePreview::AliasNetworkEndpoint>]
2039
+ attr_accessor :items
2040
+
2041
+ # [Output Only] This token allows you to get the next page of results for
2042
+ # list requests. If the number of results is larger thanmaxResults, use the
2043
+ # nextPageToken as a value for
2044
+ # the query parameter pageToken in the next list request.
2045
+ # Subsequent list requests will have their own nextPageToken to
2046
+ # continue paging through the results.
2047
+ # Corresponds to the JSON property `nextPageToken`
2048
+ # @return [String]
2049
+ attr_accessor :next_page_token
2050
+
2051
+ # [Output Only] Server-defined URL for this resource.
2052
+ # Corresponds to the JSON property `selfLink`
2053
+ # @return [String]
2054
+ attr_accessor :self_link
2055
+
2056
+ # Output only. [Output Only] Unreachable resources.
2057
+ # Corresponds to the JSON property `unreachables`
2058
+ # @return [Array<String>]
2059
+ attr_accessor :unreachables
2060
+
2061
+ # [Output Only] Informational warning message.
2062
+ # Corresponds to the JSON property `warning`
2063
+ # @return [Google::Apis::ComputePreview::AliasNetworkEndpointList::Warning]
2064
+ attr_accessor :warning
2065
+
2066
+ def initialize(**args)
2067
+ update!(**args)
2068
+ end
2069
+
2070
+ # Update properties of this object
2071
+ def update!(**args)
2072
+ @etag = args[:etag] if args.key?(:etag)
2073
+ @id = args[:id] if args.key?(:id)
2074
+ @items = args[:items] if args.key?(:items)
2075
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2076
+ @self_link = args[:self_link] if args.key?(:self_link)
2077
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
2078
+ @warning = args[:warning] if args.key?(:warning)
2079
+ end
2080
+
2081
+ # [Output Only] Informational warning message.
2082
+ class Warning
2083
+ include Google::Apis::Core::Hashable
2084
+
2085
+ # [Output Only] A warning code, if applicable. For example, Compute
2086
+ # Engine returns NO_RESULTS_ON_PAGE if there
2087
+ # are no results in the response.
2088
+ # Corresponds to the JSON property `code`
2089
+ # @return [String]
2090
+ attr_accessor :code
2091
+
2092
+ # [Output Only] Metadata about this warning in key:
2093
+ # value format. For example:
2094
+ # "data": [
2095
+ # `
2096
+ # "key": "scope",
2097
+ # "value": "zones/us-east1-d"
2098
+ # `]
2099
+ # Corresponds to the JSON property `data`
2100
+ # @return [Array<Google::Apis::ComputePreview::AliasNetworkEndpointList::Warning::Datum>]
2101
+ attr_accessor :data
2102
+
2103
+ # [Output Only] A human-readable description of the warning code.
2104
+ # Corresponds to the JSON property `message`
2105
+ # @return [String]
2106
+ attr_accessor :message
2107
+
2108
+ def initialize(**args)
2109
+ update!(**args)
2110
+ end
2111
+
2112
+ # Update properties of this object
2113
+ def update!(**args)
2114
+ @code = args[:code] if args.key?(:code)
2115
+ @data = args[:data] if args.key?(:data)
2116
+ @message = args[:message] if args.key?(:message)
2117
+ end
2118
+
2119
+ #
2120
+ class Datum
2121
+ include Google::Apis::Core::Hashable
2122
+
2123
+ # [Output Only] A key that provides more detail on the warning being
2124
+ # returned. For example, for warnings where there are no results in a list
2125
+ # request for a particular zone, this key might be scope and
2126
+ # the key value might be the zone name. Other examples might be a key
2127
+ # indicating a deprecated resource and a suggested replacement, or a
2128
+ # warning about invalid network settings (for example, if an instance
2129
+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
2130
+ # Corresponds to the JSON property `key`
2131
+ # @return [String]
2132
+ attr_accessor :key
2133
+
2134
+ # [Output Only] A warning data value corresponding to the key.
2135
+ # Corresponds to the JSON property `value`
2136
+ # @return [String]
2137
+ attr_accessor :value
2138
+
2139
+ def initialize(**args)
2140
+ update!(**args)
2141
+ end
2142
+
2143
+ # Update properties of this object
2144
+ def update!(**args)
2145
+ @key = args[:key] if args.key?(:key)
2146
+ @value = args[:value] if args.key?(:value)
2147
+ end
2148
+ end
2149
+ end
2150
+ end
2151
+
2152
+ # Represents the current status of the AliasNetworkEndpoint.
2153
+ class AliasNetworkEndpointStatus
2154
+ include Google::Apis::Core::Hashable
2155
+
2156
+ # Output only. [Output Only] The URL of the network that this alias network
2157
+ # endpoint
2158
+ # belongs to.
2159
+ # Corresponds to the JSON property `network`
2160
+ # @return [String]
2161
+ attr_accessor :network
2162
+
2163
+ # Output only. [Output Only] The state of the alias network endpoint.
2164
+ # Corresponds to the JSON property `state`
2165
+ # @return [String]
2166
+ attr_accessor :state
2167
+
2168
+ def initialize(**args)
2169
+ update!(**args)
2170
+ end
2171
+
2172
+ # Update properties of this object
2173
+ def update!(**args)
2174
+ @network = args[:network] if args.key?(:network)
2175
+ @state = args[:state] if args.key?(:state)
2176
+ end
2177
+ end
2178
+
1807
2179
  # This reservation type is specified by total resource amounts (e.g. total
1808
2180
  # count of CPUs) and can account for multiple instance SKUs. In other words,
1809
2181
  # one can create instances of varying shapes against this reservation.
@@ -18693,6 +19065,11 @@ module Google
18693
19065
  # @return [Google::Apis::ComputePreview::HaControllerNetworkingAutoConfiguration]
18694
19066
  attr_accessor :networking_auto_configuration
18695
19067
 
19068
+ # Additional HA Controller params.
19069
+ # Corresponds to the JSON property `params`
19070
+ # @return [Google::Apis::ComputePreview::HaControllerParams]
19071
+ attr_accessor :params
19072
+
18696
19073
  # Output only. [Output Only] URL of the region where the resource resides.
18697
19074
  # You must specify this field as part of the HTTP request URL.
18698
19075
  # It is not settable as a field in the request body.
@@ -18743,6 +19120,7 @@ module Google
18743
19120
  @kind = args[:kind] if args.key?(:kind)
18744
19121
  @name = args[:name] if args.key?(:name)
18745
19122
  @networking_auto_configuration = args[:networking_auto_configuration] if args.key?(:networking_auto_configuration)
19123
+ @params = args[:params] if args.key?(:params)
18746
19124
  @region = args[:region] if args.key?(:region)
18747
19125
  @self_link = args[:self_link] if args.key?(:self_link)
18748
19126
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -18752,6 +19130,35 @@ module Google
18752
19130
  end
18753
19131
  end
18754
19132
 
19133
+ # The network interface configuration of the VM instance.
19134
+ class HaControllerInstanceNetworkInterface
19135
+ include Google::Apis::Core::Hashable
19136
+
19137
+ # Optional. Optional IPv6 address to assign to the instance's network interface.
19138
+ # If omitted, an ephemeral IP may be assigned depending on the instance's
19139
+ # network interface stack type.
19140
+ # Corresponds to the JSON property `ipv6Address`
19141
+ # @return [String]
19142
+ attr_accessor :ipv6_address
19143
+
19144
+ # Optional. Optional IPv4 address to assign to the instance's network interface.
19145
+ # If omitted, an ephemeral IP may be assigned depending on the instance's
19146
+ # network interface stack type.
19147
+ # Corresponds to the JSON property `networkIP`
19148
+ # @return [String]
19149
+ attr_accessor :network_ip
19150
+
19151
+ def initialize(**args)
19152
+ update!(**args)
19153
+ end
19154
+
19155
+ # Update properties of this object
19156
+ def update!(**args)
19157
+ @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
19158
+ @network_ip = args[:network_ip] if args.key?(:network_ip)
19159
+ end
19160
+ end
19161
+
18755
19162
  # Basic networking configuration. Required backend services and forwarding
18756
19163
  # rules will be automatically created with default parameters.
18757
19164
  class HaControllerNetworkingAutoConfiguration
@@ -18805,6 +19212,27 @@ module Google
18805
19212
  end
18806
19213
  end
18807
19214
 
19215
+ # Additional HA Controller params.
19216
+ class HaControllerParams
19217
+ include Google::Apis::Core::Hashable
19218
+
19219
+ # Specifies whether to automatically migrate all disks of an instance from
19220
+ # zonal to regional before attempting to create the HaController.
19221
+ # Corresponds to the JSON property `migrateDisksToRegional`
19222
+ # @return [Boolean]
19223
+ attr_accessor :migrate_disks_to_regional
19224
+ alias_method :migrate_disks_to_regional?, :migrate_disks_to_regional
19225
+
19226
+ def initialize(**args)
19227
+ update!(**args)
19228
+ end
19229
+
19230
+ # Update properties of this object
19231
+ def update!(**args)
19232
+ @migrate_disks_to_regional = args[:migrate_disks_to_regional] if args.key?(:migrate_disks_to_regional)
19233
+ end
19234
+ end
19235
+
18808
19236
  # Contains information about current status of the HaController.
18809
19237
  class HaControllerStatus
18810
19238
  include Google::Apis::Core::Hashable
@@ -19261,6 +19689,30 @@ module Google
19261
19689
  class HaControllerZoneConfiguration
19262
19690
  include Google::Apis::Core::Hashable
19263
19691
 
19692
+ # Optional. The network interface configuration of a VM instance in this zone,
19693
+ # keyed by the name of the network interface. A VM network interface
19694
+ # uses the nicN naming format, where N is a
19695
+ # value between 0 and 7. The default interface
19696
+ # is nic0. Use this field to choose the internal IP
19697
+ # addresses of the VM instance in this zone instead of letting Compute
19698
+ # Engine assign them automatically.
19699
+ #
19700
+ #
19701
+ # - Each key must be a name of a network interface that exists on
19702
+ # the VM instance. Otherwise, the request fails.
19703
+ # - Network interfaces that are omitted are assigned an ephemeral
19704
+ # internal IP address.
19705
+ # - Every zone must configure the same network interfaces and the
19706
+ # same IP address families.
19707
+ # - For the zone that currently holds the VM instance, this field
19708
+ # is populated automatically, and any addresses you specify must
19709
+ # match the instance's current addresses.
19710
+ # - Only internal IP addresses are supported, and this field can
19711
+ # only be set when the HA Controller is created.
19712
+ # Corresponds to the JSON property `instanceNetworkInterfaces`
19713
+ # @return [Hash<String,Google::Apis::ComputePreview::HaControllerInstanceNetworkInterface>]
19714
+ attr_accessor :instance_network_interfaces
19715
+
19264
19716
  # A set of node affinity configurations. Refer toConfiguring node
19265
19717
  # affinity for more information.
19266
19718
  # Overrides reservationAffinity.
@@ -19281,6 +19733,7 @@ module Google
19281
19733
 
19282
19734
  # Update properties of this object
19283
19735
  def update!(**args)
19736
+ @instance_network_interfaces = args[:instance_network_interfaces] if args.key?(:instance_network_interfaces)
19284
19737
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
19285
19738
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
19286
19739
  end
@@ -39939,6 +40392,13 @@ module Google
39939
40392
  # @return [String]
39940
40393
  attr_accessor :network
39941
40394
 
40395
+ # Optional. The URL of the network attachment that this resource
40396
+ # belongs to.projects/`project`/regions/`region_name`/networkAttachments/`
40397
+ # network_attachment_name`.
40398
+ # Corresponds to the JSON property `networkAttachment`
40399
+ # @return [String]
40400
+ attr_accessor :network_attachment
40401
+
39942
40402
  # Type of network endpoints in this network endpoint group. Can be one
39943
40403
  # ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
39944
40404
  # INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.
@@ -39971,6 +40431,14 @@ module Google
39971
40431
  # @return [String]
39972
40432
  attr_accessor :self_link
39973
40433
 
40434
+ # Optional. The service class ID associated with this resource.
40435
+ # Can only be used with network_attachment. It is not possible to
40436
+ # use on its own; however, network_attachment can be used without
40437
+ # service_class_id.
40438
+ # Corresponds to the JSON property `serviceClassId`
40439
+ # @return [String]
40440
+ attr_accessor :service_class_id
40441
+
39974
40442
  # Output only. [Output only] Number of network endpoints in the network endpoint
39975
40443
  # group.
39976
40444
  # Corresponds to the JSON property `size`
@@ -40006,11 +40474,13 @@ module Google
40006
40474
  @kind = args[:kind] if args.key?(:kind)
40007
40475
  @name = args[:name] if args.key?(:name)
40008
40476
  @network = args[:network] if args.key?(:network)
40477
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
40009
40478
  @network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
40010
40479
  @psc_data = args[:psc_data] if args.key?(:psc_data)
40011
40480
  @psc_target_service = args[:psc_target_service] if args.key?(:psc_target_service)
40012
40481
  @region = args[:region] if args.key?(:region)
40013
40482
  @self_link = args[:self_link] if args.key?(:self_link)
40483
+ @service_class_id = args[:service_class_id] if args.key?(:service_class_id)
40014
40484
  @size = args[:size] if args.key?(:size)
40015
40485
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
40016
40486
  @zone = args[:zone] if args.key?(:zone)
@@ -54633,6 +55103,13 @@ module Google
54633
55103
  # @return [String]
54634
55104
  attr_accessor :graceful_shutdown_timestamp
54635
55105
 
55106
+ # Output only. Protection tier for the workload which specifies the workload
55107
+ # expectations in the event of infrastructure failures at data center
55108
+ # (e.g. power and/or cooling failures).
55109
+ # Corresponds to the JSON property `protectionTier`
55110
+ # @return [String]
55111
+ attr_accessor :protection_tier
55112
+
54636
55113
  # Time in future when the instance will be terminated inRFC3339 text format.
54637
55114
  # Corresponds to the JSON property `terminationTimestamp`
54638
55115
  # @return [String]
@@ -54646,6 +55123,7 @@ module Google
54646
55123
  def update!(**args)
54647
55124
  @availability_domain = args[:availability_domain] if args.key?(:availability_domain)
54648
55125
  @graceful_shutdown_timestamp = args[:graceful_shutdown_timestamp] if args.key?(:graceful_shutdown_timestamp)
55126
+ @protection_tier = args[:protection_tier] if args.key?(:protection_tier)
54649
55127
  @termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
54650
55128
  end
54651
55129
  end
@@ -59060,6 +59538,13 @@ module Google
59060
59538
  # @return [Google::Apis::ComputePreview::Duration]
59061
59539
  attr_accessor :preemption_notice_duration
59062
59540
 
59541
+ # Protection tier for the workload which specifies the workload
59542
+ # expectations in the event of infrastructure failures at data center
59543
+ # (e.g. power and/or cooling failures).
59544
+ # Corresponds to the JSON property `protectionTier`
59545
+ # @return [String]
59546
+ attr_accessor :protection_tier
59547
+
59063
59548
  # Specifies the provisioning model of the instance.
59064
59549
  # Corresponds to the JSON property `provisioningModel`
59065
59550
  # @return [String]
@@ -59101,6 +59586,7 @@ module Google
59101
59586
  @on_instance_stop_action = args[:on_instance_stop_action] if args.key?(:on_instance_stop_action)
59102
59587
  @preemptible = args[:preemptible] if args.key?(:preemptible)
59103
59588
  @preemption_notice_duration = args[:preemption_notice_duration] if args.key?(:preemption_notice_duration)
59589
+ @protection_tier = args[:protection_tier] if args.key?(:protection_tier)
59104
59590
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
59105
59591
  @skip_guest_os_shutdown = args[:skip_guest_os_shutdown] if args.key?(:skip_guest_os_shutdown)
59106
59592
  @termination_time = args[:termination_time] if args.key?(:termination_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputePreview
18
18
  # Version of the google-apis-compute_preview gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260922"
25
+ REVISION = "20261007"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,48 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class AliasNetworkEndpoint
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class AliasNetworkEndpointAlias
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class AliasNetworkEndpointHost
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class AliasNetworkEndpointList
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ class Warning
281
+ class Representation < Google::Apis::Core::JsonRepresentation; end
282
+
283
+ class Datum
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ include Google::Apis::Core::JsonObjectSupport
290
+ end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class AliasNetworkEndpointStatus
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
259
301
  class AllocationAggregateReservation
260
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
303
 
@@ -2212,6 +2254,12 @@ module Google
2212
2254
  include Google::Apis::Core::JsonObjectSupport
2213
2255
  end
2214
2256
 
2257
+ class HaControllerInstanceNetworkInterface
2258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2259
+
2260
+ include Google::Apis::Core::JsonObjectSupport
2261
+ end
2262
+
2215
2263
  class HaControllerNetworkingAutoConfiguration
2216
2264
  class Representation < Google::Apis::Core::JsonRepresentation; end
2217
2265
 
@@ -2224,6 +2272,12 @@ module Google
2224
2272
  include Google::Apis::Core::JsonObjectSupport
2225
2273
  end
2226
2274
 
2275
+ class HaControllerParams
2276
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2277
+
2278
+ include Google::Apis::Core::JsonObjectSupport
2279
+ end
2280
+
2227
2281
  class HaControllerStatus
2228
2282
  class Representation < Google::Apis::Core::JsonRepresentation; end
2229
2283
 
@@ -9788,6 +9842,7 @@ module Google
9788
9842
  class Representation < Google::Apis::Core::JsonRepresentation
9789
9843
  property :external_ipv6, as: 'externalIpv6'
9790
9844
  property :external_ipv6_prefix_length, as: 'externalIpv6PrefixLength'
9845
+ property :ip_collection, as: 'ipCollection'
9791
9846
  property :kind, as: 'kind'
9792
9847
  property :name, as: 'name'
9793
9848
  property :nat_ip, as: 'natIP'
@@ -9815,11 +9870,13 @@ module Google
9815
9870
  hash :labels, as: 'labels'
9816
9871
  property :name, as: 'name'
9817
9872
  property :network, as: 'network'
9873
+ property :network_attachment, as: 'networkAttachment'
9818
9874
  property :network_tier, as: 'networkTier'
9819
9875
  property :prefix_length, as: 'prefixLength'
9820
9876
  property :purpose, as: 'purpose'
9821
9877
  property :region, as: 'region'
9822
9878
  property :self_link, as: 'selfLink'
9879
+ property :service_class_id, as: 'serviceClassId'
9823
9880
  property :status, as: 'status'
9824
9881
  property :subnetwork, as: 'subnetwork'
9825
9882
  collection :users, as: 'users'
@@ -9939,6 +9996,87 @@ module Google
9939
9996
  end
9940
9997
  end
9941
9998
 
9999
+ class AliasNetworkEndpoint
10000
+ # @private
10001
+ class Representation < Google::Apis::Core::JsonRepresentation
10002
+ hash :aliases, as: 'aliases', class: Google::Apis::ComputePreview::AliasNetworkEndpointAlias, decorator: Google::Apis::ComputePreview::AliasNetworkEndpointAlias::Representation
10003
+
10004
+ hash :annotations, as: 'annotations'
10005
+ property :creation_timestamp, as: 'creationTimestamp'
10006
+ property :description, as: 'description'
10007
+ property :host, as: 'host', class: Google::Apis::ComputePreview::AliasNetworkEndpointHost, decorator: Google::Apis::ComputePreview::AliasNetworkEndpointHost::Representation
10008
+
10009
+ property :id, :numeric_string => true, as: 'id'
10010
+ hash :labels, as: 'labels'
10011
+ property :name, as: 'name'
10012
+ property :security_tag_inheritance, as: 'securityTagInheritance'
10013
+ property :self_link, as: 'selfLink'
10014
+ property :status, as: 'status', class: Google::Apis::ComputePreview::AliasNetworkEndpointStatus, decorator: Google::Apis::ComputePreview::AliasNetworkEndpointStatus::Representation
10015
+
10016
+ property :subnetwork, as: 'subnetwork'
10017
+ property :update_time, as: 'updateTime'
10018
+ end
10019
+ end
10020
+
10021
+ class AliasNetworkEndpointAlias
10022
+ # @private
10023
+ class Representation < Google::Apis::Core::JsonRepresentation
10024
+ property :effective_ip_address, as: 'effectiveIpAddress'
10025
+ property :effective_subnetwork_range_name, as: 'effectiveSubnetworkRangeName'
10026
+ property :ip_address, as: 'ipAddress'
10027
+ property :ip_version, as: 'ipVersion'
10028
+ collection :subnetwork_range_names, as: 'subnetworkRangeNames'
10029
+ end
10030
+ end
10031
+
10032
+ class AliasNetworkEndpointHost
10033
+ # @private
10034
+ class Representation < Google::Apis::Core::JsonRepresentation
10035
+ property :instance, as: 'instance'
10036
+ end
10037
+ end
10038
+
10039
+ class AliasNetworkEndpointList
10040
+ # @private
10041
+ class Representation < Google::Apis::Core::JsonRepresentation
10042
+ property :etag, as: 'etag'
10043
+ property :id, as: 'id'
10044
+ collection :items, as: 'items', class: Google::Apis::ComputePreview::AliasNetworkEndpoint, decorator: Google::Apis::ComputePreview::AliasNetworkEndpoint::Representation
10045
+
10046
+ property :next_page_token, as: 'nextPageToken'
10047
+ property :self_link, as: 'selfLink'
10048
+ collection :unreachables, as: 'unreachables'
10049
+ property :warning, as: 'warning', class: Google::Apis::ComputePreview::AliasNetworkEndpointList::Warning, decorator: Google::Apis::ComputePreview::AliasNetworkEndpointList::Warning::Representation
10050
+
10051
+ end
10052
+
10053
+ class Warning
10054
+ # @private
10055
+ class Representation < Google::Apis::Core::JsonRepresentation
10056
+ property :code, as: 'code'
10057
+ collection :data, as: 'data', class: Google::Apis::ComputePreview::AliasNetworkEndpointList::Warning::Datum, decorator: Google::Apis::ComputePreview::AliasNetworkEndpointList::Warning::Datum::Representation
10058
+
10059
+ property :message, as: 'message'
10060
+ end
10061
+
10062
+ class Datum
10063
+ # @private
10064
+ class Representation < Google::Apis::Core::JsonRepresentation
10065
+ property :key, as: 'key'
10066
+ property :value, as: 'value'
10067
+ end
10068
+ end
10069
+ end
10070
+ end
10071
+
10072
+ class AliasNetworkEndpointStatus
10073
+ # @private
10074
+ class Representation < Google::Apis::Core::JsonRepresentation
10075
+ property :network, as: 'network'
10076
+ property :state, as: 'state'
10077
+ end
10078
+ end
10079
+
9942
10080
  class AllocationAggregateReservation
9943
10081
  # @private
9944
10082
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13575,6 +13713,8 @@ module Google
13575
13713
  property :name, as: 'name'
13576
13714
  property :networking_auto_configuration, as: 'networkingAutoConfiguration', class: Google::Apis::ComputePreview::HaControllerNetworkingAutoConfiguration, decorator: Google::Apis::ComputePreview::HaControllerNetworkingAutoConfiguration::Representation
13577
13715
 
13716
+ property :params, as: 'params', class: Google::Apis::ComputePreview::HaControllerParams, decorator: Google::Apis::ComputePreview::HaControllerParams::Representation
13717
+
13578
13718
  property :region, as: 'region'
13579
13719
  property :self_link, as: 'selfLink'
13580
13720
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -13586,6 +13726,14 @@ module Google
13586
13726
  end
13587
13727
  end
13588
13728
 
13729
+ class HaControllerInstanceNetworkInterface
13730
+ # @private
13731
+ class Representation < Google::Apis::Core::JsonRepresentation
13732
+ property :ipv6_address, as: 'ipv6Address'
13733
+ property :network_ip, as: 'networkIP'
13734
+ end
13735
+ end
13736
+
13589
13737
  class HaControllerNetworkingAutoConfiguration
13590
13738
  # @private
13591
13739
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13603,6 +13751,13 @@ module Google
13603
13751
  end
13604
13752
  end
13605
13753
 
13754
+ class HaControllerParams
13755
+ # @private
13756
+ class Representation < Google::Apis::Core::JsonRepresentation
13757
+ property :migrate_disks_to_regional, as: 'migrateDisksToRegional'
13758
+ end
13759
+ end
13760
+
13606
13761
  class HaControllerStatus
13607
13762
  # @private
13608
13763
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13728,6 +13883,8 @@ module Google
13728
13883
  class HaControllerZoneConfiguration
13729
13884
  # @private
13730
13885
  class Representation < Google::Apis::Core::JsonRepresentation
13886
+ hash :instance_network_interfaces, as: 'instanceNetworkInterfaces', class: Google::Apis::ComputePreview::HaControllerInstanceNetworkInterface, decorator: Google::Apis::ComputePreview::HaControllerInstanceNetworkInterface::Representation
13887
+
13731
13888
  collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputePreview::HaControllerZoneConfigurationNodeAffinity, decorator: Google::Apis::ComputePreview::HaControllerZoneConfigurationNodeAffinity::Representation
13732
13889
 
13733
13890
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputePreview::HaControllerZoneConfigurationReservationAffinity, decorator: Google::Apis::ComputePreview::HaControllerZoneConfigurationReservationAffinity::Representation
@@ -18611,12 +18768,14 @@ module Google
18611
18768
  property :kind, as: 'kind'
18612
18769
  property :name, as: 'name'
18613
18770
  property :network, as: 'network'
18771
+ property :network_attachment, as: 'networkAttachment'
18614
18772
  property :network_endpoint_type, as: 'networkEndpointType'
18615
18773
  property :psc_data, as: 'pscData', class: Google::Apis::ComputePreview::NetworkEndpointGroupPscData, decorator: Google::Apis::ComputePreview::NetworkEndpointGroupPscData::Representation
18616
18774
 
18617
18775
  property :psc_target_service, as: 'pscTargetService'
18618
18776
  property :region, as: 'region'
18619
18777
  property :self_link, as: 'selfLink'
18778
+ property :service_class_id, as: 'serviceClassId'
18620
18779
  property :size, as: 'size'
18621
18780
  property :subnetwork, as: 'subnetwork'
18622
18781
  property :zone, as: 'zone'
@@ -22242,6 +22401,7 @@ module Google
22242
22401
  class Representation < Google::Apis::Core::JsonRepresentation
22243
22402
  property :availability_domain, as: 'availabilityDomain'
22244
22403
  property :graceful_shutdown_timestamp, as: 'gracefulShutdownTimestamp'
22404
+ property :protection_tier, as: 'protectionTier'
22245
22405
  property :termination_timestamp, as: 'terminationTimestamp'
22246
22406
  end
22247
22407
  end
@@ -23228,6 +23388,7 @@ module Google
23228
23388
  property :preemptible, as: 'preemptible'
23229
23389
  property :preemption_notice_duration, as: 'preemptionNoticeDuration', class: Google::Apis::ComputePreview::Duration, decorator: Google::Apis::ComputePreview::Duration::Representation
23230
23390
 
23391
+ property :protection_tier, as: 'protectionTier'
23231
23392
  property :provisioning_model, as: 'provisioningModel'
23232
23393
  property :skip_guest_os_shutdown, as: 'skipGuestOsShutdown'
23233
23394
  property :termination_time, as: 'terminationTime'
@@ -1489,6 +1489,249 @@ module Google
1489
1489
  execute_or_queue_command(command, &block)
1490
1490
  end
1491
1491
 
1492
+ # Deletes the specified AliasNetworkEndpoint.
1493
+ # @param [String] project
1494
+ # Required. Project ID for this request.
1495
+ # @param [String] zone
1496
+ # Required. Name of the zone scoping this request.
1497
+ # @param [String] alias_network_endpoint
1498
+ # Required. Name of the AliasNetworkEndpoint resource to delete.
1499
+ # @param [String] request_id
1500
+ # An optional request ID to identify requests. Specify a unique request ID so
1501
+ # that if you must retry your request, the server will know to ignore the
1502
+ # request if it has already been completed.
1503
+ # @param [String] fields
1504
+ # Selector specifying which fields to include in a partial response.
1505
+ # @param [String] quota_user
1506
+ # Available to use for quota purposes for server-side applications. Can be any
1507
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1508
+ # @param [String] user_ip
1509
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1510
+ # @param [Google::Apis::RequestOptions] options
1511
+ # Request-specific options
1512
+ #
1513
+ # @yield [result, err] Result & error if block supplied
1514
+ # @yieldparam result [Google::Apis::ComputePreview::Operation] parsed result object
1515
+ # @yieldparam err [StandardError] error object if request failed
1516
+ #
1517
+ # @return [Google::Apis::ComputePreview::Operation]
1518
+ #
1519
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1520
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1521
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1522
+ def delete_alias_network_endpoint(project, zone, alias_network_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1523
+ command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/aliasNetworkEndpoints/{aliasNetworkEndpoint}', options)
1524
+ command.response_representation = Google::Apis::ComputePreview::Operation::Representation
1525
+ command.response_class = Google::Apis::ComputePreview::Operation
1526
+ command.params['project'] = project unless project.nil?
1527
+ command.params['zone'] = zone unless zone.nil?
1528
+ command.params['aliasNetworkEndpoint'] = alias_network_endpoint unless alias_network_endpoint.nil?
1529
+ command.query['requestId'] = request_id unless request_id.nil?
1530
+ command.query['fields'] = fields unless fields.nil?
1531
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1532
+ command.query['userIp'] = user_ip unless user_ip.nil?
1533
+ command.set_api_version_header "2026-10-01-preview"
1534
+ execute_or_queue_command(command, &block)
1535
+ end
1536
+
1537
+ # Returns the specified AliasNetworkEndpoint resource.
1538
+ # @param [String] project
1539
+ # Required. Project ID for this request.
1540
+ # @param [String] zone
1541
+ # Required. Name of the zone scoping this request.
1542
+ # @param [String] alias_network_endpoint
1543
+ # Required. Name of the AliasNetworkEndpoint resource to return.
1544
+ # @param [String] fields
1545
+ # Selector specifying which fields to include in a partial response.
1546
+ # @param [String] quota_user
1547
+ # Available to use for quota purposes for server-side applications. Can be any
1548
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1549
+ # @param [String] user_ip
1550
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1551
+ # @param [Google::Apis::RequestOptions] options
1552
+ # Request-specific options
1553
+ #
1554
+ # @yield [result, err] Result & error if block supplied
1555
+ # @yieldparam result [Google::Apis::ComputePreview::AliasNetworkEndpoint] parsed result object
1556
+ # @yieldparam err [StandardError] error object if request failed
1557
+ #
1558
+ # @return [Google::Apis::ComputePreview::AliasNetworkEndpoint]
1559
+ #
1560
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1561
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1562
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1563
+ def get_alias_network_endpoint(project, zone, alias_network_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1564
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/aliasNetworkEndpoints/{aliasNetworkEndpoint}', options)
1565
+ command.response_representation = Google::Apis::ComputePreview::AliasNetworkEndpoint::Representation
1566
+ command.response_class = Google::Apis::ComputePreview::AliasNetworkEndpoint
1567
+ command.params['project'] = project unless project.nil?
1568
+ command.params['zone'] = zone unless zone.nil?
1569
+ command.params['aliasNetworkEndpoint'] = alias_network_endpoint unless alias_network_endpoint.nil?
1570
+ command.query['fields'] = fields unless fields.nil?
1571
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1572
+ command.query['userIp'] = user_ip unless user_ip.nil?
1573
+ command.set_api_version_header "2026-10-01-preview"
1574
+ execute_or_queue_command(command, &block)
1575
+ end
1576
+
1577
+ # Creates an AliasNetworkEndpoint in the specified project and zone
1578
+ # using the data included in the request.
1579
+ # @param [String] project
1580
+ # Required. Project ID for this request.
1581
+ # @param [String] zone
1582
+ # Required. Name of the zone scoping this request.
1583
+ # @param [Google::Apis::ComputePreview::AliasNetworkEndpoint] alias_network_endpoint_object
1584
+ # @param [String] request_id
1585
+ # An optional request ID to identify requests. Specify a unique request ID so
1586
+ # that if you must retry your request, the server will know to ignore the
1587
+ # request if it has already been completed.
1588
+ # @param [String] fields
1589
+ # Selector specifying which fields to include in a partial response.
1590
+ # @param [String] quota_user
1591
+ # Available to use for quota purposes for server-side applications. Can be any
1592
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1593
+ # @param [String] user_ip
1594
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1595
+ # @param [Google::Apis::RequestOptions] options
1596
+ # Request-specific options
1597
+ #
1598
+ # @yield [result, err] Result & error if block supplied
1599
+ # @yieldparam result [Google::Apis::ComputePreview::Operation] parsed result object
1600
+ # @yieldparam err [StandardError] error object if request failed
1601
+ #
1602
+ # @return [Google::Apis::ComputePreview::Operation]
1603
+ #
1604
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1605
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1606
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1607
+ def insert_alias_network_endpoint(project, zone, alias_network_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1608
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/aliasNetworkEndpoints', options)
1609
+ command.request_representation = Google::Apis::ComputePreview::AliasNetworkEndpoint::Representation
1610
+ command.request_object = alias_network_endpoint_object
1611
+ command.response_representation = Google::Apis::ComputePreview::Operation::Representation
1612
+ command.response_class = Google::Apis::ComputePreview::Operation
1613
+ command.params['project'] = project unless project.nil?
1614
+ command.params['zone'] = zone unless zone.nil?
1615
+ command.query['requestId'] = request_id unless request_id.nil?
1616
+ command.query['fields'] = fields unless fields.nil?
1617
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1618
+ command.query['userIp'] = user_ip unless user_ip.nil?
1619
+ command.set_api_version_header "2026-10-01-preview"
1620
+ execute_or_queue_command(command, &block)
1621
+ end
1622
+
1623
+ # Retrieves a list of AliasNetworkEndpoints available to the specified
1624
+ # project.
1625
+ # @param [String] project
1626
+ # Required. Project ID for this request.
1627
+ # @param [String] zone
1628
+ # Required. Name of the zone of this request.
1629
+ # @param [String] filter
1630
+ # A filter expression that filters resources listed in the response. Most
1631
+ # Compute resources support two types of filter expressions:
1632
+ # expressions that support regular expressions and expressions that follow
1633
+ # API improvement proposal AIP-160.
1634
+ # These two types of filter expressions cannot be mixed in one request.
1635
+ # If you want to use AIP-160, your expression must specify the field name, an
1636
+ # operator, and the value that you want to use for filtering. The value
1637
+ # must be a string, a number, or a boolean. The operator
1638
+ # must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
1639
+ # For example, if you are filtering Compute Engine instances, you can
1640
+ # exclude instances named `example-instance` by specifying
1641
+ # `name != example-instance`.
1642
+ # The `:*` comparison can be used to test whether a key has been defined.
1643
+ # For example, to find all objects with `owner` label use:
1644
+ # ```
1645
+ # labels.owner:*
1646
+ # ```
1647
+ # You can also filter nested fields. For example, you could specify
1648
+ # `scheduling.automaticRestart = false` to include instances only
1649
+ # if they are not scheduled for automatic restarts. You can use filtering
1650
+ # on nested fields to filter based onresource labels.
1651
+ # To filter on multiple expressions, provide each separate expression within
1652
+ # parentheses. For example:
1653
+ # ```
1654
+ # (scheduling.automaticRestart = true)
1655
+ # (cpuPlatform = "Intel Skylake")
1656
+ # ```
1657
+ # By default, each expression is an `AND` expression. However, you
1658
+ # can include `AND` and `OR` expressions explicitly.
1659
+ # For example:
1660
+ # ```
1661
+ # (cpuPlatform = "Intel Skylake") OR
1662
+ # (cpuPlatform = "Intel Broadwell") AND
1663
+ # (scheduling.automaticRestart = true)
1664
+ # ```
1665
+ # If you want to use a regular expression, use the `eq` (equal) or `ne`
1666
+ # (not equal) operator against a single un-parenthesized expression with or
1667
+ # without quotes or against multiple parenthesized expressions. Examples:
1668
+ # `fieldname eq unquoted literal`
1669
+ # `fieldname eq 'single quoted literal'`
1670
+ # `fieldname eq "double quoted literal"`
1671
+ # `(fieldname1 eq literal) (fieldname2 ne "literal")`
1672
+ # The literal value is interpreted as a regular expression using GoogleRE2
1673
+ # library syntax.
1674
+ # The literal value must match the entire field.
1675
+ # For example, to filter for instances that do not end with name "instance",
1676
+ # you would use `name ne .*instance`.
1677
+ # You cannot combine constraints on multiple fields using regular
1678
+ # expressions.
1679
+ # @param [Fixnum] max_results
1680
+ # The maximum number of results per page that should be returned.
1681
+ # If the number of available results is larger than `maxResults`,
1682
+ # Compute Engine returns a `nextPageToken` that can be used to get
1683
+ # the next page of results in subsequent list requests. Acceptable values are
1684
+ # `0` to `500`, inclusive. (Default: `500`)
1685
+ # @param [String] order_by
1686
+ # Sorts list results by a certain order. By default, results
1687
+ # are returned in alphanumerical order based on the resource name.
1688
+ # You can also sort results in descending order based on the creation
1689
+ # timestamp using `orderBy="creationTimestamp desc"`. This sorts
1690
+ # results based on the `creationTimestamp` field in
1691
+ # reverse chronological order (newest result first). Use this to sort
1692
+ # resources like operations so that the newest operation is returned first.
1693
+ # Currently, only sorting by `name` or
1694
+ # `creationTimestamp desc` is supported.
1695
+ # @param [String] page_token
1696
+ # Specifies a page token to use. Set `pageToken` to the
1697
+ # `nextPageToken` returned by a previous list request to get
1698
+ # the next page of results.
1699
+ # @param [String] fields
1700
+ # Selector specifying which fields to include in a partial response.
1701
+ # @param [String] quota_user
1702
+ # Available to use for quota purposes for server-side applications. Can be any
1703
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1704
+ # @param [String] user_ip
1705
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1706
+ # @param [Google::Apis::RequestOptions] options
1707
+ # Request-specific options
1708
+ #
1709
+ # @yield [result, err] Result & error if block supplied
1710
+ # @yieldparam result [Google::Apis::ComputePreview::AliasNetworkEndpointList] parsed result object
1711
+ # @yieldparam err [StandardError] error object if request failed
1712
+ #
1713
+ # @return [Google::Apis::ComputePreview::AliasNetworkEndpointList]
1714
+ #
1715
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1716
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1717
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1718
+ def list_alias_network_endpoints(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1719
+ command = make_simple_command(:get, 'projects/{project}/zones/{zone}/aliasNetworkEndpoints', options)
1720
+ command.response_representation = Google::Apis::ComputePreview::AliasNetworkEndpointList::Representation
1721
+ command.response_class = Google::Apis::ComputePreview::AliasNetworkEndpointList
1722
+ command.params['project'] = project unless project.nil?
1723
+ command.params['zone'] = zone unless zone.nil?
1724
+ command.query['filter'] = filter unless filter.nil?
1725
+ command.query['maxResults'] = max_results unless max_results.nil?
1726
+ command.query['orderBy'] = order_by unless order_by.nil?
1727
+ command.query['pageToken'] = page_token unless page_token.nil?
1728
+ command.query['fields'] = fields unless fields.nil?
1729
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1730
+ command.query['userIp'] = user_ip unless user_ip.nil?
1731
+ command.set_api_version_header "2026-10-01-preview"
1732
+ execute_or_queue_command(command, &block)
1733
+ end
1734
+
1492
1735
  # Retrieves an aggregated list of autoscalers.
1493
1736
  # To prevent failure, it is recommended that you set the
1494
1737
  # `returnPartialSuccess` parameter to `true`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_preview/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_preview/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_preview/v0.3.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_preview
62
62
  rdoc_options: []
63
63
  require_paths: