google-apis-compute_alpha 0.103.0 → 0.104.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 957a665cf690ebf83914add2a1875efff1738b55d56726c53bc1f1d3807cd04b
|
4
|
+
data.tar.gz: 1dfd5b93a3c364a06dc48d5b94e9019f7efe522639d818cf090e936f94f2ea87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fe2ba1be61bbe20ce3c7a0147009a3ad5deea558a1bbca0bd267e73ee6e38a754dd323898a56c860b20656bee32f8754ee5f187f4fdf7dd66e6733fb4d4d94a
|
7
|
+
data.tar.gz: 6fa0a80dce527e53a40a6109a79d49892abe5dc14276a930392cb99315cbebbf16438bca599ca810e5eb301c1ed7391f7944123868171c26dedcf504e136fa06
|
data/CHANGELOG.md
CHANGED
@@ -1340,6 +1340,25 @@ module Google
|
|
1340
1340
|
end
|
1341
1341
|
end
|
1342
1342
|
|
1343
|
+
#
|
1344
|
+
class AllocationReservationSharingPolicy
|
1345
|
+
include Google::Apis::Core::Hashable
|
1346
|
+
|
1347
|
+
# Sharing config for all Google Cloud services.
|
1348
|
+
# Corresponds to the JSON property `serviceShareType`
|
1349
|
+
# @return [String]
|
1350
|
+
attr_accessor :service_share_type
|
1351
|
+
|
1352
|
+
def initialize(**args)
|
1353
|
+
update!(**args)
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
# Update properties of this object
|
1357
|
+
def update!(**args)
|
1358
|
+
@service_share_type = args[:service_share_type] if args.key?(:service_share_type)
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1343
1362
|
# [Output Only] Contains output only fields.
|
1344
1363
|
class AllocationResourceStatus
|
1345
1364
|
include Google::Apis::Core::Hashable
|
@@ -17881,6 +17900,19 @@ module Google
|
|
17881
17900
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal]
|
17882
17901
|
attr_accessor :metadata_based_readiness_signal
|
17883
17902
|
|
17903
|
+
# The action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy
|
17904
|
+
# when the application running on that VM fails a health check. Valid values are:
|
17905
|
+
# - DEFAULT_ACTION (default): The MIG performs the same action as specified in
|
17906
|
+
# the instanceLifecyclePolicy.defaultActionOnFailure field. If the
|
17907
|
+
# defaultActionOnFailure field is set to REPAIR, then the MIG repairs unhealthy
|
17908
|
+
# VMs. If the defaultActionOnFailure field is set to DO_NOTHING, then the MIG
|
17909
|
+
# doesn't repair unhealthy VMs. - REPAIR: The MIG repairs unhealthy VMs by
|
17910
|
+
# recreating it. - DO_NOTHING: The MIG doesn't repair unhealthy VMs. For more
|
17911
|
+
# information, see About repairing VMs in a MIG.
|
17912
|
+
# Corresponds to the JSON property `onFailedHealthCheck`
|
17913
|
+
# @return [String]
|
17914
|
+
attr_accessor :on_failed_health_check
|
17915
|
+
|
17884
17916
|
def initialize(**args)
|
17885
17917
|
update!(**args)
|
17886
17918
|
end
|
@@ -17890,6 +17922,7 @@ module Google
|
|
17890
17922
|
@default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
|
17891
17923
|
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
17892
17924
|
@metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
|
17925
|
+
@on_failed_health_check = args[:on_failed_health_check] if args.key?(:on_failed_health_check)
|
17893
17926
|
end
|
17894
17927
|
end
|
17895
17928
|
|
@@ -20314,9 +20347,10 @@ module Google
|
|
20314
20347
|
attr_accessor :labels
|
20315
20348
|
|
20316
20349
|
# The machine type to use for instances that are created from these properties.
|
20317
|
-
# This field only
|
20318
|
-
#
|
20319
|
-
# us-central1-a/machineTypes/n2-standard-4
|
20350
|
+
# This field only accepts a machine type name, for example `n2-standard-4`. If
|
20351
|
+
# you use the machine type full or partial URL, for example `projects/my-l7ilb-
|
20352
|
+
# project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will
|
20353
|
+
# result in an `INTERNAL_ERROR`.
|
20320
20354
|
# Corresponds to the JSON property `machineType`
|
20321
20355
|
# @return [String]
|
20322
20356
|
attr_accessor :machine_type
|
@@ -22392,10 +22426,9 @@ module Google
|
|
22392
22426
|
end
|
22393
22427
|
end
|
22394
22428
|
|
22395
|
-
# Specify bandwidth percentages
|
22396
|
-
# BandwidthPercentagePolicy. The sum of all percentages must equal 100.
|
22397
|
-
#
|
22398
|
-
# will be implicitly marked as 0.
|
22429
|
+
# Specify bandwidth percentages [1-100] for various traffic classes in
|
22430
|
+
# BandwidthPercentagePolicy. The sum of all percentages must equal 100. All
|
22431
|
+
# traffic classes must have a percentage value specified.
|
22399
22432
|
class InterconnectApplicationAwareInterconnectBandwidthPercentage
|
22400
22433
|
include Google::Apis::Core::Hashable
|
22401
22434
|
|
@@ -26991,6 +27024,291 @@ module Google
|
|
26991
27024
|
end
|
26992
27025
|
end
|
26993
27026
|
|
27027
|
+
# MultiMIG represents a group of Managed Instance Groups.
|
27028
|
+
class MultiMig
|
27029
|
+
include Google::Apis::Core::Hashable
|
27030
|
+
|
27031
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
27032
|
+
# Corresponds to the JSON property `creationTimestamp`
|
27033
|
+
# @return [String]
|
27034
|
+
attr_accessor :creation_timestamp
|
27035
|
+
|
27036
|
+
# An optional description of this resource. Provide this property when you
|
27037
|
+
# create the resource.
|
27038
|
+
# Corresponds to the JSON property `description`
|
27039
|
+
# @return [String]
|
27040
|
+
attr_accessor :description
|
27041
|
+
|
27042
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
27043
|
+
# defined by the server.
|
27044
|
+
# Corresponds to the JSON property `id`
|
27045
|
+
# @return [Fixnum]
|
27046
|
+
attr_accessor :id
|
27047
|
+
|
27048
|
+
# [Output Only] Type of the resource. Always compute#multiMig for MultiMIGs.
|
27049
|
+
# Corresponds to the JSON property `kind`
|
27050
|
+
# @return [String]
|
27051
|
+
attr_accessor :kind
|
27052
|
+
|
27053
|
+
# Policy regarding where to create MIGs Initially only zonal MIGs in the same
|
27054
|
+
# zone are supported.
|
27055
|
+
# Corresponds to the JSON property `locationPolicy`
|
27056
|
+
# @return [Google::Apis::ComputeAlpha::MultiMigLocationPolicy]
|
27057
|
+
attr_accessor :location_policy
|
27058
|
+
|
27059
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
27060
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
27061
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
27062
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
27063
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
27064
|
+
# except the last character, which cannot be a dash.
|
27065
|
+
# Corresponds to the JSON property `name`
|
27066
|
+
# @return [String]
|
27067
|
+
attr_accessor :name
|
27068
|
+
|
27069
|
+
# User-provided names for Parts of MultiMIG and the Parts themselves.
|
27070
|
+
# Corresponds to the JSON property `parts`
|
27071
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::MultiMigPart>]
|
27072
|
+
attr_accessor :parts
|
27073
|
+
|
27074
|
+
# [Output Only] URL of the region where the resource resides. Only applicable
|
27075
|
+
# for regional resources. You must specify this field as part of the HTTP
|
27076
|
+
# request URL. It is not settable as a field in the request body.
|
27077
|
+
# Corresponds to the JSON property `region`
|
27078
|
+
# @return [String]
|
27079
|
+
attr_accessor :region
|
27080
|
+
|
27081
|
+
# Policy for handling provisioning and other scheduling-related events.
|
27082
|
+
# Corresponds to the JSON property `schedulingPolicy`
|
27083
|
+
# @return [Google::Apis::ComputeAlpha::MultiMigSchedulingPolicy]
|
27084
|
+
attr_accessor :scheduling_policy
|
27085
|
+
|
27086
|
+
# [Output only] Server-defined URL for the resource.
|
27087
|
+
# Corresponds to the JSON property `selfLink`
|
27088
|
+
# @return [String]
|
27089
|
+
attr_accessor :self_link
|
27090
|
+
|
27091
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
27092
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
27093
|
+
# @return [String]
|
27094
|
+
attr_accessor :self_link_with_id
|
27095
|
+
|
27096
|
+
def initialize(**args)
|
27097
|
+
update!(**args)
|
27098
|
+
end
|
27099
|
+
|
27100
|
+
# Update properties of this object
|
27101
|
+
def update!(**args)
|
27102
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
27103
|
+
@description = args[:description] if args.key?(:description)
|
27104
|
+
@id = args[:id] if args.key?(:id)
|
27105
|
+
@kind = args[:kind] if args.key?(:kind)
|
27106
|
+
@location_policy = args[:location_policy] if args.key?(:location_policy)
|
27107
|
+
@name = args[:name] if args.key?(:name)
|
27108
|
+
@parts = args[:parts] if args.key?(:parts)
|
27109
|
+
@region = args[:region] if args.key?(:region)
|
27110
|
+
@scheduling_policy = args[:scheduling_policy] if args.key?(:scheduling_policy)
|
27111
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
27112
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
27113
|
+
end
|
27114
|
+
end
|
27115
|
+
|
27116
|
+
# Policy regarding where to create MIGs Initially only zonal MIGs in the same
|
27117
|
+
# zone are supported.
|
27118
|
+
class MultiMigLocationPolicy
|
27119
|
+
include Google::Apis::Core::Hashable
|
27120
|
+
|
27121
|
+
# List of zones where MIGs will be provisioned. Should be valid RFC1035 name
|
27122
|
+
# Corresponds to the JSON property `provisioningZones`
|
27123
|
+
# @return [Array<String>]
|
27124
|
+
attr_accessor :provisioning_zones
|
27125
|
+
|
27126
|
+
def initialize(**args)
|
27127
|
+
update!(**args)
|
27128
|
+
end
|
27129
|
+
|
27130
|
+
# Update properties of this object
|
27131
|
+
def update!(**args)
|
27132
|
+
@provisioning_zones = args[:provisioning_zones] if args.key?(:provisioning_zones)
|
27133
|
+
end
|
27134
|
+
end
|
27135
|
+
|
27136
|
+
# Config for an MMIG part.
|
27137
|
+
class MultiMigPart
|
27138
|
+
include Google::Apis::Core::Hashable
|
27139
|
+
|
27140
|
+
# Link to an existing InstanceGroupManager that will be adopted by a MultiMIG.
|
27141
|
+
# Corresponds to the JSON property `instanceGroupManager`
|
27142
|
+
# @return [String]
|
27143
|
+
attr_accessor :instance_group_manager
|
27144
|
+
|
27145
|
+
# Represents a Managed Instance Group resource. An instance group is a
|
27146
|
+
# collection of VM instances that you can manage as a single entity. For more
|
27147
|
+
# information, read Instance groups. For zonal Managed Instance Group, use the
|
27148
|
+
# instanceGroupManagers resource. For regional Managed Instance Group, use the
|
27149
|
+
# regionInstanceGroupManagers resource.
|
27150
|
+
# Corresponds to the JSON property `instanceGroupManagerProperties`
|
27151
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManager]
|
27152
|
+
attr_accessor :instance_group_manager_properties
|
27153
|
+
|
27154
|
+
def initialize(**args)
|
27155
|
+
update!(**args)
|
27156
|
+
end
|
27157
|
+
|
27158
|
+
# Update properties of this object
|
27159
|
+
def update!(**args)
|
27160
|
+
@instance_group_manager = args[:instance_group_manager] if args.key?(:instance_group_manager)
|
27161
|
+
@instance_group_manager_properties = args[:instance_group_manager_properties] if args.key?(:instance_group_manager_properties)
|
27162
|
+
end
|
27163
|
+
end
|
27164
|
+
|
27165
|
+
# Policy for handling provisioning and other scheduling-related events.
|
27166
|
+
class MultiMigSchedulingPolicy
|
27167
|
+
include Google::Apis::Core::Hashable
|
27168
|
+
|
27169
|
+
# How provisioning of MIGs should be scheduled (coordinated or not)
|
27170
|
+
# Corresponds to the JSON property `provisioning`
|
27171
|
+
# @return [String]
|
27172
|
+
attr_accessor :provisioning
|
27173
|
+
|
27174
|
+
def initialize(**args)
|
27175
|
+
update!(**args)
|
27176
|
+
end
|
27177
|
+
|
27178
|
+
# Update properties of this object
|
27179
|
+
def update!(**args)
|
27180
|
+
@provisioning = args[:provisioning] if args.key?(:provisioning)
|
27181
|
+
end
|
27182
|
+
end
|
27183
|
+
|
27184
|
+
#
|
27185
|
+
class MultiMigsList
|
27186
|
+
include Google::Apis::Core::Hashable
|
27187
|
+
|
27188
|
+
#
|
27189
|
+
# Corresponds to the JSON property `etag`
|
27190
|
+
# @return [String]
|
27191
|
+
attr_accessor :etag
|
27192
|
+
|
27193
|
+
# Unique identifier for the resource; defined by the server.
|
27194
|
+
# Corresponds to the JSON property `id`
|
27195
|
+
# @return [String]
|
27196
|
+
attr_accessor :id
|
27197
|
+
|
27198
|
+
# A list of MultiMig resources.
|
27199
|
+
# Corresponds to the JSON property `items`
|
27200
|
+
# @return [Array<Google::Apis::ComputeAlpha::MultiMig>]
|
27201
|
+
attr_accessor :items
|
27202
|
+
|
27203
|
+
# Type of resource.
|
27204
|
+
# Corresponds to the JSON property `kind`
|
27205
|
+
# @return [String]
|
27206
|
+
attr_accessor :kind
|
27207
|
+
|
27208
|
+
# This token allows you to get the next page of results for maxResults, use the
|
27209
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
27210
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
27211
|
+
# continue paging through the results.
|
27212
|
+
# Corresponds to the JSON property `nextPageToken`
|
27213
|
+
# @return [String]
|
27214
|
+
attr_accessor :next_page_token
|
27215
|
+
|
27216
|
+
# [Output only] Server-defined URL for this resource.
|
27217
|
+
# Corresponds to the JSON property `selfLink`
|
27218
|
+
# @return [String]
|
27219
|
+
attr_accessor :self_link
|
27220
|
+
|
27221
|
+
# [Output only] Unreachable resources.
|
27222
|
+
# Corresponds to the JSON property `unreachables`
|
27223
|
+
# @return [Array<String>]
|
27224
|
+
attr_accessor :unreachables
|
27225
|
+
|
27226
|
+
# Informational warning message.
|
27227
|
+
# Corresponds to the JSON property `warning`
|
27228
|
+
# @return [Google::Apis::ComputeAlpha::MultiMigsList::Warning]
|
27229
|
+
attr_accessor :warning
|
27230
|
+
|
27231
|
+
def initialize(**args)
|
27232
|
+
update!(**args)
|
27233
|
+
end
|
27234
|
+
|
27235
|
+
# Update properties of this object
|
27236
|
+
def update!(**args)
|
27237
|
+
@etag = args[:etag] if args.key?(:etag)
|
27238
|
+
@id = args[:id] if args.key?(:id)
|
27239
|
+
@items = args[:items] if args.key?(:items)
|
27240
|
+
@kind = args[:kind] if args.key?(:kind)
|
27241
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
27242
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
27243
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
27244
|
+
@warning = args[:warning] if args.key?(:warning)
|
27245
|
+
end
|
27246
|
+
|
27247
|
+
# Informational warning message.
|
27248
|
+
class Warning
|
27249
|
+
include Google::Apis::Core::Hashable
|
27250
|
+
|
27251
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
27252
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
27253
|
+
# Corresponds to the JSON property `code`
|
27254
|
+
# @return [String]
|
27255
|
+
attr_accessor :code
|
27256
|
+
|
27257
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
27258
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
27259
|
+
# Corresponds to the JSON property `data`
|
27260
|
+
# @return [Array<Google::Apis::ComputeAlpha::MultiMigsList::Warning::Datum>]
|
27261
|
+
attr_accessor :data
|
27262
|
+
|
27263
|
+
# [Output Only] A human-readable description of the warning code.
|
27264
|
+
# Corresponds to the JSON property `message`
|
27265
|
+
# @return [String]
|
27266
|
+
attr_accessor :message
|
27267
|
+
|
27268
|
+
def initialize(**args)
|
27269
|
+
update!(**args)
|
27270
|
+
end
|
27271
|
+
|
27272
|
+
# Update properties of this object
|
27273
|
+
def update!(**args)
|
27274
|
+
@code = args[:code] if args.key?(:code)
|
27275
|
+
@data = args[:data] if args.key?(:data)
|
27276
|
+
@message = args[:message] if args.key?(:message)
|
27277
|
+
end
|
27278
|
+
|
27279
|
+
#
|
27280
|
+
class Datum
|
27281
|
+
include Google::Apis::Core::Hashable
|
27282
|
+
|
27283
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
27284
|
+
# For example, for warnings where there are no results in a list request for a
|
27285
|
+
# particular zone, this key might be scope and the key value might be the zone
|
27286
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
27287
|
+
# suggested replacement, or a warning about invalid network settings (for
|
27288
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
27289
|
+
# for IP forwarding).
|
27290
|
+
# Corresponds to the JSON property `key`
|
27291
|
+
# @return [String]
|
27292
|
+
attr_accessor :key
|
27293
|
+
|
27294
|
+
# [Output Only] A warning data value corresponding to the key.
|
27295
|
+
# Corresponds to the JSON property `value`
|
27296
|
+
# @return [String]
|
27297
|
+
attr_accessor :value
|
27298
|
+
|
27299
|
+
def initialize(**args)
|
27300
|
+
update!(**args)
|
27301
|
+
end
|
27302
|
+
|
27303
|
+
# Update properties of this object
|
27304
|
+
def update!(**args)
|
27305
|
+
@key = args[:key] if args.key?(:key)
|
27306
|
+
@value = args[:value] if args.key?(:value)
|
27307
|
+
end
|
27308
|
+
end
|
27309
|
+
end
|
27310
|
+
end
|
27311
|
+
|
26994
27312
|
# [Deprecated] Configuration for the mutual Tls mode for peer authentication.
|
26995
27313
|
# Configuration for the mutual Tls mode for peer authentication.
|
26996
27314
|
class MutualTls
|
@@ -39094,6 +39412,12 @@ module Google
|
|
39094
39412
|
# @return [String]
|
39095
39413
|
attr_accessor :name
|
39096
39414
|
|
39415
|
+
# Specify the reservation sharing policy. If unspecified, the reservation will
|
39416
|
+
# not be shared with Google Cloud managed services.
|
39417
|
+
# Corresponds to the JSON property `reservationSharingPolicy`
|
39418
|
+
# @return [Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy]
|
39419
|
+
attr_accessor :reservation_sharing_policy
|
39420
|
+
|
39097
39421
|
# Resource policies to be added to this reservation. The key is defined by user,
|
39098
39422
|
# and the value is resource policy url. This is to define placement policy with
|
39099
39423
|
# reservation.
|
@@ -39166,6 +39490,7 @@ module Google
|
|
39166
39490
|
@id = args[:id] if args.key?(:id)
|
39167
39491
|
@kind = args[:kind] if args.key?(:kind)
|
39168
39492
|
@name = args[:name] if args.key?(:name)
|
39493
|
+
@reservation_sharing_policy = args[:reservation_sharing_policy] if args.key?(:reservation_sharing_policy)
|
39169
39494
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
39170
39495
|
@resource_status = args[:resource_status] if args.key?(:resource_status)
|
39171
39496
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
@@ -40920,9 +41245,14 @@ module Google
|
|
40920
41245
|
|
40921
41246
|
# The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should
|
40922
41247
|
# handle matching packets or the IP address of the forwarding Rule. For example,
|
40923
|
-
# the following are all valid URLs: -
|
40924
|
-
#
|
40925
|
-
#
|
41248
|
+
# the following are all valid URLs: - https://www.googleapis.com/compute/v1/
|
41249
|
+
# projects/project/regions/region /forwardingRules/forwardingRule - regions/
|
41250
|
+
# region/forwardingRules/forwardingRule If an IP address is provided, must
|
41251
|
+
# specify an IPv4 address in dot-decimal notation or an IPv6 address in RFC 4291
|
41252
|
+
# format. For example, the following are all valid IP addresses: - 10.128.0.56 -
|
41253
|
+
# 2001:db8::2d9:51:0:0 - 2001:db8:0:0:2d9:51:0:0 IPv6 addresses will be
|
41254
|
+
# displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should
|
41255
|
+
# never be an IPv4-mapped IPv6 address.
|
40926
41256
|
# Corresponds to the JSON property `nextHopIlb`
|
40927
41257
|
# @return [String]
|
40928
41258
|
attr_accessor :next_hop_ilb
|
@@ -42489,11 +42819,11 @@ module Google
|
|
42489
42819
|
# CEL expression that specifies the match condition that egress traffic from a
|
42490
42820
|
# VM is evaluated against. If it evaluates to true, the corresponding `action`
|
42491
42821
|
# is enforced. The following examples are valid match expressions for public NAT:
|
42492
|
-
#
|
42493
|
-
# 0/16')
|
42494
|
-
# following example is a valid match expression for private NAT:
|
42822
|
+
# `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.
|
42823
|
+
# 0/16')` `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'` The
|
42824
|
+
# following example is a valid match expression for private NAT: `nexthop.hub ==
|
42495
42825
|
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
42496
|
-
# hubs/hub-1'
|
42826
|
+
# hubs/hub-1'`
|
42497
42827
|
# Corresponds to the JSON property `match`
|
42498
42828
|
# @return [String]
|
42499
42829
|
attr_accessor :match
|
@@ -42604,12 +42934,19 @@ module Google
|
|
42604
42934
|
class RouterStatus
|
42605
42935
|
include Google::Apis::Core::Hashable
|
42606
42936
|
|
42607
|
-
#
|
42937
|
+
# A list of the best dynamic routes for this Cloud Router's Virtual Private
|
42938
|
+
# Cloud (VPC) network in the same region as this Cloud Router. Lists all of the
|
42939
|
+
# best routes per prefix that are programmed into this region's VPC data plane.
|
42940
|
+
# When global dynamic routing mode is turned on in the VPC network, this list
|
42941
|
+
# can include cross-region dynamic routes from Cloud Routers in other regions.
|
42608
42942
|
# Corresponds to the JSON property `bestRoutes`
|
42609
42943
|
# @return [Array<Google::Apis::ComputeAlpha::Route>]
|
42610
42944
|
attr_accessor :best_routes
|
42611
42945
|
|
42612
|
-
#
|
42946
|
+
# A list of the best BGP routes learned by this Cloud Router. It is possible
|
42947
|
+
# that routes listed might not be programmed into the data plane, if the Google
|
42948
|
+
# Cloud control plane finds a more optimal route for a prefix than a route
|
42949
|
+
# learned by this Cloud Router.
|
42613
42950
|
# Corresponds to the JSON property `bestRoutesForRouter`
|
42614
42951
|
# @return [Array<Google::Apis::ComputeAlpha::Route>]
|
42615
42952
|
attr_accessor :best_routes_for_router
|
@@ -49618,7 +49955,8 @@ module Google
|
|
49618
49955
|
# @return [String]
|
49619
49956
|
attr_accessor :performance_provisioning_type
|
49620
49957
|
|
49621
|
-
# Size, in GiB, of the storage pool.
|
49958
|
+
# Size, in GiB, of the storage pool. For more information about the size limits,
|
49959
|
+
# see https://cloud.google.com/compute/docs/disks/storage-pools.
|
49622
49960
|
# Corresponds to the JSON property `poolProvisionedCapacityGb`
|
49623
49961
|
# @return [Fixnum]
|
49624
49962
|
attr_accessor :pool_provisioned_capacity_gb
|
@@ -50238,8 +50576,9 @@ module Google
|
|
50238
50576
|
# @return [Fixnum]
|
50239
50577
|
attr_accessor :pool_used_capacity_bytes
|
50240
50578
|
|
50241
|
-
# Sum of all the disks' provisioned IOPS, minus some amount that
|
50242
|
-
# disk that is not counted towards pool's IOPS capacity.
|
50579
|
+
# [Output Only] Sum of all the disks' provisioned IOPS, minus some amount that
|
50580
|
+
# is allowed per disk that is not counted towards pool's IOPS capacity. For more
|
50581
|
+
# information, see https://cloud.google.com/compute/docs/disks/storage-pools.
|
50243
50582
|
# Corresponds to the JSON property `poolUsedIops`
|
50244
50583
|
# @return [Fixnum]
|
50245
50584
|
attr_accessor :pool_used_iops
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.104.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240618"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class AllocationReservationSharingPolicy
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class AllocationResourceStatus
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -3376,6 +3382,48 @@ module Google
|
|
3376
3382
|
include Google::Apis::Core::JsonObjectSupport
|
3377
3383
|
end
|
3378
3384
|
|
3385
|
+
class MultiMig
|
3386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3387
|
+
|
3388
|
+
include Google::Apis::Core::JsonObjectSupport
|
3389
|
+
end
|
3390
|
+
|
3391
|
+
class MultiMigLocationPolicy
|
3392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3393
|
+
|
3394
|
+
include Google::Apis::Core::JsonObjectSupport
|
3395
|
+
end
|
3396
|
+
|
3397
|
+
class MultiMigPart
|
3398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3399
|
+
|
3400
|
+
include Google::Apis::Core::JsonObjectSupport
|
3401
|
+
end
|
3402
|
+
|
3403
|
+
class MultiMigSchedulingPolicy
|
3404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3405
|
+
|
3406
|
+
include Google::Apis::Core::JsonObjectSupport
|
3407
|
+
end
|
3408
|
+
|
3409
|
+
class MultiMigsList
|
3410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3411
|
+
|
3412
|
+
class Warning
|
3413
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3414
|
+
|
3415
|
+
class Datum
|
3416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3417
|
+
|
3418
|
+
include Google::Apis::Core::JsonObjectSupport
|
3419
|
+
end
|
3420
|
+
|
3421
|
+
include Google::Apis::Core::JsonObjectSupport
|
3422
|
+
end
|
3423
|
+
|
3424
|
+
include Google::Apis::Core::JsonObjectSupport
|
3425
|
+
end
|
3426
|
+
|
3379
3427
|
class MutualTls
|
3380
3428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3381
3429
|
|
@@ -8030,6 +8078,13 @@ module Google
|
|
8030
8078
|
end
|
8031
8079
|
end
|
8032
8080
|
|
8081
|
+
class AllocationReservationSharingPolicy
|
8082
|
+
# @private
|
8083
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8084
|
+
property :service_share_type, as: 'serviceShareType'
|
8085
|
+
end
|
8086
|
+
end
|
8087
|
+
|
8033
8088
|
class AllocationResourceStatus
|
8034
8089
|
# @private
|
8035
8090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11778,6 +11833,7 @@ module Google
|
|
11778
11833
|
property :force_update_on_repair, as: 'forceUpdateOnRepair'
|
11779
11834
|
property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
|
11780
11835
|
|
11836
|
+
property :on_failed_health_check, as: 'onFailedHealthCheck'
|
11781
11837
|
end
|
11782
11838
|
end
|
11783
11839
|
|
@@ -14161,6 +14217,83 @@ module Google
|
|
14161
14217
|
end
|
14162
14218
|
end
|
14163
14219
|
|
14220
|
+
class MultiMig
|
14221
|
+
# @private
|
14222
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14223
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
14224
|
+
property :description, as: 'description'
|
14225
|
+
property :id, :numeric_string => true, as: 'id'
|
14226
|
+
property :kind, as: 'kind'
|
14227
|
+
property :location_policy, as: 'locationPolicy', class: Google::Apis::ComputeAlpha::MultiMigLocationPolicy, decorator: Google::Apis::ComputeAlpha::MultiMigLocationPolicy::Representation
|
14228
|
+
|
14229
|
+
property :name, as: 'name'
|
14230
|
+
hash :parts, as: 'parts', class: Google::Apis::ComputeAlpha::MultiMigPart, decorator: Google::Apis::ComputeAlpha::MultiMigPart::Representation
|
14231
|
+
|
14232
|
+
property :region, as: 'region'
|
14233
|
+
property :scheduling_policy, as: 'schedulingPolicy', class: Google::Apis::ComputeAlpha::MultiMigSchedulingPolicy, decorator: Google::Apis::ComputeAlpha::MultiMigSchedulingPolicy::Representation
|
14234
|
+
|
14235
|
+
property :self_link, as: 'selfLink'
|
14236
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
14237
|
+
end
|
14238
|
+
end
|
14239
|
+
|
14240
|
+
class MultiMigLocationPolicy
|
14241
|
+
# @private
|
14242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14243
|
+
collection :provisioning_zones, as: 'provisioningZones'
|
14244
|
+
end
|
14245
|
+
end
|
14246
|
+
|
14247
|
+
class MultiMigPart
|
14248
|
+
# @private
|
14249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14250
|
+
property :instance_group_manager, as: 'instanceGroupManager'
|
14251
|
+
property :instance_group_manager_properties, as: 'instanceGroupManagerProperties', class: Google::Apis::ComputeAlpha::InstanceGroupManager, decorator: Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
|
14252
|
+
|
14253
|
+
end
|
14254
|
+
end
|
14255
|
+
|
14256
|
+
class MultiMigSchedulingPolicy
|
14257
|
+
# @private
|
14258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14259
|
+
property :provisioning, as: 'provisioning'
|
14260
|
+
end
|
14261
|
+
end
|
14262
|
+
|
14263
|
+
class MultiMigsList
|
14264
|
+
# @private
|
14265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14266
|
+
property :etag, as: 'etag'
|
14267
|
+
property :id, as: 'id'
|
14268
|
+
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::MultiMig, decorator: Google::Apis::ComputeAlpha::MultiMig::Representation
|
14269
|
+
|
14270
|
+
property :kind, as: 'kind'
|
14271
|
+
property :next_page_token, as: 'nextPageToken'
|
14272
|
+
property :self_link, as: 'selfLink'
|
14273
|
+
collection :unreachables, as: 'unreachables'
|
14274
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::MultiMigsList::Warning, decorator: Google::Apis::ComputeAlpha::MultiMigsList::Warning::Representation
|
14275
|
+
|
14276
|
+
end
|
14277
|
+
|
14278
|
+
class Warning
|
14279
|
+
# @private
|
14280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14281
|
+
property :code, as: 'code'
|
14282
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::MultiMigsList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::MultiMigsList::Warning::Datum::Representation
|
14283
|
+
|
14284
|
+
property :message, as: 'message'
|
14285
|
+
end
|
14286
|
+
|
14287
|
+
class Datum
|
14288
|
+
# @private
|
14289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14290
|
+
property :key, as: 'key'
|
14291
|
+
property :value, as: 'value'
|
14292
|
+
end
|
14293
|
+
end
|
14294
|
+
end
|
14295
|
+
end
|
14296
|
+
|
14164
14297
|
class MutualTls
|
14165
14298
|
# @private
|
14166
14299
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17264,6 +17397,8 @@ module Google
|
|
17264
17397
|
property :id, :numeric_string => true, as: 'id'
|
17265
17398
|
property :kind, as: 'kind'
|
17266
17399
|
property :name, as: 'name'
|
17400
|
+
property :reservation_sharing_policy, as: 'reservationSharingPolicy', class: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy, decorator: Google::Apis::ComputeAlpha::AllocationReservationSharingPolicy::Representation
|
17401
|
+
|
17267
17402
|
hash :resource_policies, as: 'resourcePolicies'
|
17268
17403
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::AllocationResourceStatus, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatus::Representation
|
17269
17404
|
|
@@ -34244,6 +34244,239 @@ module Google
|
|
34244
34244
|
execute_or_queue_command(command, &block)
|
34245
34245
|
end
|
34246
34246
|
|
34247
|
+
# Deletes a regional multiMIG in the specified project.
|
34248
|
+
# @param [String] project
|
34249
|
+
# Project ID for this request.
|
34250
|
+
# @param [String] region
|
34251
|
+
# Name of the region for this request.
|
34252
|
+
# @param [String] multi_mig
|
34253
|
+
# Name of the multiMIG to delete.
|
34254
|
+
# @param [String] request_id
|
34255
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
34256
|
+
# that if you must retry your request, the server will know to ignore the
|
34257
|
+
# request if it has already been completed. For example, consider a situation
|
34258
|
+
# where you make an initial request and the request times out. If you make the
|
34259
|
+
# request again with the same request ID, the server can check if original
|
34260
|
+
# operation with the same request ID was received, and if so, will ignore the
|
34261
|
+
# second request. This prevents clients from accidentally creating duplicate
|
34262
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
34263
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
34264
|
+
# @param [String] fields
|
34265
|
+
# Selector specifying which fields to include in a partial response.
|
34266
|
+
# @param [String] quota_user
|
34267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34269
|
+
# @param [String] user_ip
|
34270
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34271
|
+
# @param [Google::Apis::RequestOptions] options
|
34272
|
+
# Request-specific options
|
34273
|
+
#
|
34274
|
+
# @yield [result, err] Result & error if block supplied
|
34275
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
34276
|
+
# @yieldparam err [StandardError] error object if request failed
|
34277
|
+
#
|
34278
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
34279
|
+
#
|
34280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34283
|
+
def delete_region_multi_mig(project, region, multi_mig, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34284
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/multiMigs/{multiMig}', options)
|
34285
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
34286
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
34287
|
+
command.params['project'] = project unless project.nil?
|
34288
|
+
command.params['region'] = region unless region.nil?
|
34289
|
+
command.params['multiMig'] = multi_mig unless multi_mig.nil?
|
34290
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
34291
|
+
command.query['fields'] = fields unless fields.nil?
|
34292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34294
|
+
execute_or_queue_command(command, &block)
|
34295
|
+
end
|
34296
|
+
|
34297
|
+
# Returns the specified MultiMIG resource.
|
34298
|
+
# @param [String] project
|
34299
|
+
# Project ID for this request.
|
34300
|
+
# @param [String] region
|
34301
|
+
# Name of the region for this request.
|
34302
|
+
# @param [String] multi_mig
|
34303
|
+
# Name of the MultiMig resource to return.
|
34304
|
+
# @param [String] fields
|
34305
|
+
# Selector specifying which fields to include in a partial response.
|
34306
|
+
# @param [String] quota_user
|
34307
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34308
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34309
|
+
# @param [String] user_ip
|
34310
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34311
|
+
# @param [Google::Apis::RequestOptions] options
|
34312
|
+
# Request-specific options
|
34313
|
+
#
|
34314
|
+
# @yield [result, err] Result & error if block supplied
|
34315
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::MultiMig] parsed result object
|
34316
|
+
# @yieldparam err [StandardError] error object if request failed
|
34317
|
+
#
|
34318
|
+
# @return [Google::Apis::ComputeAlpha::MultiMig]
|
34319
|
+
#
|
34320
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34321
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34322
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34323
|
+
def get_region_multi_mig(project, region, multi_mig, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34324
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/multiMigs/{multiMig}', options)
|
34325
|
+
command.response_representation = Google::Apis::ComputeAlpha::MultiMig::Representation
|
34326
|
+
command.response_class = Google::Apis::ComputeAlpha::MultiMig
|
34327
|
+
command.params['project'] = project unless project.nil?
|
34328
|
+
command.params['region'] = region unless region.nil?
|
34329
|
+
command.params['multiMig'] = multi_mig unless multi_mig.nil?
|
34330
|
+
command.query['fields'] = fields unless fields.nil?
|
34331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34332
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34333
|
+
execute_or_queue_command(command, &block)
|
34334
|
+
end
|
34335
|
+
|
34336
|
+
# Creates a regional multiMIG in the specified project.
|
34337
|
+
# @param [String] project
|
34338
|
+
# Project ID for this request.
|
34339
|
+
# @param [String] region
|
34340
|
+
# Name of the region for this request.
|
34341
|
+
# @param [Google::Apis::ComputeAlpha::MultiMig] multi_mig_object
|
34342
|
+
# @param [String] request_id
|
34343
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
34344
|
+
# that if you must retry your request, the server will know to ignore the
|
34345
|
+
# request if it has already been completed. For example, consider a situation
|
34346
|
+
# where you make an initial request and the request times out. If you make the
|
34347
|
+
# request again with the same request ID, the server can check if original
|
34348
|
+
# operation with the same request ID was received, and if so, will ignore the
|
34349
|
+
# second request. This prevents clients from accidentally creating duplicate
|
34350
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
34351
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
34352
|
+
# @param [String] fields
|
34353
|
+
# Selector specifying which fields to include in a partial response.
|
34354
|
+
# @param [String] quota_user
|
34355
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34356
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34357
|
+
# @param [String] user_ip
|
34358
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34359
|
+
# @param [Google::Apis::RequestOptions] options
|
34360
|
+
# Request-specific options
|
34361
|
+
#
|
34362
|
+
# @yield [result, err] Result & error if block supplied
|
34363
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
34364
|
+
# @yieldparam err [StandardError] error object if request failed
|
34365
|
+
#
|
34366
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
34367
|
+
#
|
34368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34371
|
+
def insert_region_multi_mig(project, region, multi_mig_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34372
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/multiMigs', options)
|
34373
|
+
command.request_representation = Google::Apis::ComputeAlpha::MultiMig::Representation
|
34374
|
+
command.request_object = multi_mig_object
|
34375
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
34376
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
34377
|
+
command.params['project'] = project unless project.nil?
|
34378
|
+
command.params['region'] = region unless region.nil?
|
34379
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
34380
|
+
command.query['fields'] = fields unless fields.nil?
|
34381
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34382
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34383
|
+
execute_or_queue_command(command, &block)
|
34384
|
+
end
|
34385
|
+
|
34386
|
+
# Retrieves a list of MultiMIGs in a project and region.
|
34387
|
+
# @param [String] project
|
34388
|
+
# Project ID for this request.
|
34389
|
+
# @param [String] region
|
34390
|
+
# Name of the region for this request.
|
34391
|
+
# @param [String] filter
|
34392
|
+
# A filter expression that filters resources listed in the response. Most
|
34393
|
+
# Compute resources support two types of filter expressions: expressions that
|
34394
|
+
# support regular expressions and expressions that follow API improvement
|
34395
|
+
# proposal AIP-160. These two types of filter expressions cannot be mixed in one
|
34396
|
+
# request. If you want to use AIP-160, your expression must specify the field
|
34397
|
+
# name, an operator, and the value that you want to use for filtering. The value
|
34398
|
+
# must be a string, a number, or a boolean. The operator must be either `=`, `!=`
|
34399
|
+
# , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
34400
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
34401
|
+
# specifying `name != example-instance`. The `:*` comparison can be used to test
|
34402
|
+
# whether a key has been defined. For example, to find all objects with `owner`
|
34403
|
+
# label use: ``` labels.owner:* ``` You can also filter nested fields. For
|
34404
|
+
# example, you could specify `scheduling.automaticRestart = false` to include
|
34405
|
+
# instances only if they are not scheduled for automatic restarts. You can use
|
34406
|
+
# filtering on nested fields to filter based on resource labels. To filter on
|
34407
|
+
# multiple expressions, provide each separate expression within parentheses. For
|
34408
|
+
# example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
|
34409
|
+
# Skylake") ``` By default, each expression is an `AND` expression. However, you
|
34410
|
+
# can include `AND` and `OR` expressions explicitly. For example: ``` (
|
34411
|
+
# cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
|
34412
|
+
# scheduling.automaticRestart = true) ``` If you want to use a regular
|
34413
|
+
# expression, use the `eq` (equal) or `ne` (not equal) operator against a single
|
34414
|
+
# un-parenthesized expression with or without quotes or against multiple
|
34415
|
+
# parenthesized expressions. Examples: `fieldname eq unquoted literal` `
|
34416
|
+
# fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
|
34417
|
+
# fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
|
34418
|
+
# interpreted as a regular expression using Google RE2 library syntax. The
|
34419
|
+
# literal value must match the entire field. For example, to filter for
|
34420
|
+
# instances that do not end with name "instance", you would use `name ne .*
|
34421
|
+
# instance`. You cannot combine constraints on multiple fields using regular
|
34422
|
+
# expressions.
|
34423
|
+
# @param [Fixnum] max_results
|
34424
|
+
# The maximum number of results per page that should be returned. If the number
|
34425
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
34426
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
34427
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
34428
|
+
# @param [String] order_by
|
34429
|
+
# Sorts list results by a certain order. By default, results are returned in
|
34430
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
34431
|
+
# descending order based on the creation timestamp using `orderBy="
|
34432
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
34433
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
34434
|
+
# resources like operations so that the newest operation is returned first.
|
34435
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
34436
|
+
# @param [String] page_token
|
34437
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
34438
|
+
# by a previous list request to get the next page of results.
|
34439
|
+
# @param [Boolean] return_partial_success
|
34440
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
34441
|
+
# failure. The default value is false. For example, when partial success
|
34442
|
+
# behavior is enabled, aggregatedList for a single zone scope either returns all
|
34443
|
+
# resources in the zone or no resources, with an error code.
|
34444
|
+
# @param [String] fields
|
34445
|
+
# Selector specifying which fields to include in a partial response.
|
34446
|
+
# @param [String] quota_user
|
34447
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34448
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34449
|
+
# @param [String] user_ip
|
34450
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34451
|
+
# @param [Google::Apis::RequestOptions] options
|
34452
|
+
# Request-specific options
|
34453
|
+
#
|
34454
|
+
# @yield [result, err] Result & error if block supplied
|
34455
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::MultiMigsList] parsed result object
|
34456
|
+
# @yieldparam err [StandardError] error object if request failed
|
34457
|
+
#
|
34458
|
+
# @return [Google::Apis::ComputeAlpha::MultiMigsList]
|
34459
|
+
#
|
34460
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34461
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34462
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34463
|
+
def list_region_multi_migs(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34464
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/multiMigs', options)
|
34465
|
+
command.response_representation = Google::Apis::ComputeAlpha::MultiMigsList::Representation
|
34466
|
+
command.response_class = Google::Apis::ComputeAlpha::MultiMigsList
|
34467
|
+
command.params['project'] = project unless project.nil?
|
34468
|
+
command.params['region'] = region unless region.nil?
|
34469
|
+
command.query['filter'] = filter unless filter.nil?
|
34470
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
34471
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
34472
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
34473
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
34474
|
+
command.query['fields'] = fields unless fields.nil?
|
34475
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34476
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34477
|
+
execute_or_queue_command(command, &block)
|
34478
|
+
end
|
34479
|
+
|
34247
34480
|
# Attach a list of network endpoints to the specified network endpoint group.
|
34248
34481
|
# @param [String] project
|
34249
34482
|
# Project ID for this request.
|
@@ -46010,7 +46243,8 @@ module Google
|
|
46010
46243
|
|
46011
46244
|
# Updates the specified storagePool with the data included in the request. The
|
46012
46245
|
# update is performed only on selected fields included as part of update-mask.
|
46013
|
-
# Only the following fields can be modified:
|
46246
|
+
# Only the following fields can be modified: pool_provisioned_capacity_gb,
|
46247
|
+
# pool_provisioned_iops and pool_provisioned_throughput.
|
46014
46248
|
# @param [String] project
|
46015
46249
|
# Project ID for this request.
|
46016
46250
|
# @param [String] zone
|
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.
|
4
|
+
version: 0.104.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: 2024-06-
|
11
|
+
date: 2024-06-27 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.104.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: []
|