google-apis-compute_beta 0.148.0 → 0.150.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: 439e7a74a68ca6540a3d8cea84cf5d0df99eb632db46cb231483b60eb64d78fb
|
|
4
|
+
data.tar.gz: 3e5356d1be9efe0b74755960267acf3e8217ebacfbb1bdac0042003e4e90de33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5b595c2ccc292d99bee3f172ecbcf71d7b0d0fcac9febf35e3f32770f908f6404c59ae6f6824b0256775c9205eb50a23947d2db6ef547cd1980a350c0059c25
|
|
7
|
+
data.tar.gz: 59cb57d031b7dc6fa04c0c28c63576e7cbfffe686363fe3d297d603ae9d9e3ad802bc0a10cd4b9e9f5dec26893a2d2686317971dee430fc6bf547feb563e1515
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-compute_beta
|
|
2
2
|
|
|
3
|
+
### v0.150.0 (2026-10-04)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260922
|
|
6
|
+
|
|
7
|
+
### v0.149.0 (2026-09-20)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260910
|
|
10
|
+
|
|
3
11
|
### v0.148.0 (2026-09-13)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260908
|
|
@@ -7628,6 +7628,16 @@ module Google
|
|
|
7628
7628
|
class CacheInvalidationRule
|
|
7629
7629
|
include Google::Apis::Core::Hashable
|
|
7630
7630
|
|
|
7631
|
+
# If set, this invalidation rule will only apply to requests routed to the
|
|
7632
|
+
# given backend service or backend bucket.
|
|
7633
|
+
# For example, for a backend bucket `bb1` in the same scope as the URL map,
|
|
7634
|
+
# the path would be `projects/my-project/global/backendBuckets/bb1`; and
|
|
7635
|
+
# for a backend service `bs1` in the same scope as the URL map, the path
|
|
7636
|
+
# would be `projects/my-project/global/backendServices/bs1`.
|
|
7637
|
+
# Corresponds to the JSON property `backendService`
|
|
7638
|
+
# @return [String]
|
|
7639
|
+
attr_accessor :backend_service
|
|
7640
|
+
|
|
7631
7641
|
# A list of cache tags used to identify cached objects.
|
|
7632
7642
|
#
|
|
7633
7643
|
# - Cache tags are specified when the response is first cached, by setting
|
|
@@ -7641,12 +7651,25 @@ module Google
|
|
|
7641
7651
|
# @return [Array<String>]
|
|
7642
7652
|
attr_accessor :cache_tags
|
|
7643
7653
|
|
|
7654
|
+
# If set, this invalidation rule will only apply to responses with the given
|
|
7655
|
+
# content-type. Parameters are not allowed and are ignored from the response
|
|
7656
|
+
# when matching. Wildcards are not allowed.
|
|
7657
|
+
# Corresponds to the JSON property `contentType`
|
|
7658
|
+
# @return [String]
|
|
7659
|
+
attr_accessor :content_type
|
|
7660
|
+
|
|
7644
7661
|
# If set, this invalidation rule will only apply to requests with a Host
|
|
7645
7662
|
# header matching host.
|
|
7646
7663
|
# Corresponds to the JSON property `host`
|
|
7647
7664
|
# @return [String]
|
|
7648
7665
|
attr_accessor :host
|
|
7649
7666
|
|
|
7667
|
+
# If set, this invalidation rule will only apply to responses with the
|
|
7668
|
+
# given HTTP status. Valid range is 200-599.
|
|
7669
|
+
# Corresponds to the JSON property `httpStatus`
|
|
7670
|
+
# @return [Fixnum]
|
|
7671
|
+
attr_accessor :http_status
|
|
7672
|
+
|
|
7650
7673
|
#
|
|
7651
7674
|
# Corresponds to the JSON property `path`
|
|
7652
7675
|
# @return [String]
|
|
@@ -7658,8 +7681,11 @@ module Google
|
|
|
7658
7681
|
|
|
7659
7682
|
# Update properties of this object
|
|
7660
7683
|
def update!(**args)
|
|
7684
|
+
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
|
7661
7685
|
@cache_tags = args[:cache_tags] if args.key?(:cache_tags)
|
|
7686
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
|
7662
7687
|
@host = args[:host] if args.key?(:host)
|
|
7688
|
+
@http_status = args[:http_status] if args.key?(:http_status)
|
|
7663
7689
|
@path = args[:path] if args.key?(:path)
|
|
7664
7690
|
end
|
|
7665
7691
|
end
|
|
@@ -8917,7 +8943,8 @@ module Google
|
|
|
8917
8943
|
# GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
|
|
8918
8944
|
# GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED,
|
|
8919
8945
|
# MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,
|
|
8920
|
-
# STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T
|
|
8946
|
+
# STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T,
|
|
8947
|
+
# STORAGE_OPTIMIZED_Z4M. For
|
|
8921
8948
|
# example, type MEMORY_OPTIMIZED specifies a commitment that
|
|
8922
8949
|
# applies only to eligible resources of memory optimized M1 and M2 machine
|
|
8923
8950
|
# series. Type GENERAL_PURPOSE specifies a commitment that
|
|
@@ -13014,6 +13041,11 @@ module Google
|
|
|
13014
13041
|
class DistributionPolicyZoneConfiguration
|
|
13015
13042
|
include Google::Apis::Core::Hashable
|
|
13016
13043
|
|
|
13044
|
+
# Encapsulates numeric value that can be either absolute or relative.
|
|
13045
|
+
# Corresponds to the JSON property `maxSize`
|
|
13046
|
+
# @return [Google::Apis::ComputeBeta::FixedOrPercent]
|
|
13047
|
+
attr_accessor :max_size
|
|
13048
|
+
|
|
13017
13049
|
# The URL of thezone.
|
|
13018
13050
|
# The zone must exist in the region where the managed instance group is
|
|
13019
13051
|
# located.
|
|
@@ -13027,6 +13059,7 @@ module Google
|
|
|
13027
13059
|
|
|
13028
13060
|
# Update properties of this object
|
|
13029
13061
|
def update!(**args)
|
|
13062
|
+
@max_size = args[:max_size] if args.key?(:max_size)
|
|
13030
13063
|
@zone = args[:zone] if args.key?(:zone)
|
|
13031
13064
|
end
|
|
13032
13065
|
end
|
|
@@ -16308,6 +16341,13 @@ module Google
|
|
|
16308
16341
|
attr_accessor :auto_delete_auto_created_reservations
|
|
16309
16342
|
alias_method :auto_delete_auto_created_reservations?, :auto_delete_auto_created_reservations
|
|
16310
16343
|
|
|
16344
|
+
# Full or partial URL of an existing future reservation to indicate
|
|
16345
|
+
# intent for reserving capacity in the same cluster as the colocation
|
|
16346
|
+
# resource.
|
|
16347
|
+
# Corresponds to the JSON property `colocationResource`
|
|
16348
|
+
# @return [String]
|
|
16349
|
+
attr_accessor :colocation_resource
|
|
16350
|
+
|
|
16311
16351
|
# If not present, then FR will not deliver a new commitment or update an
|
|
16312
16352
|
# existing commitment.
|
|
16313
16353
|
# Corresponds to the JSON property `commitmentInfo`
|
|
@@ -16481,6 +16521,7 @@ module Google
|
|
|
16481
16521
|
@auto_created_reservations_delete_time = args[:auto_created_reservations_delete_time] if args.key?(:auto_created_reservations_delete_time)
|
|
16482
16522
|
@auto_created_reservations_duration = args[:auto_created_reservations_duration] if args.key?(:auto_created_reservations_duration)
|
|
16483
16523
|
@auto_delete_auto_created_reservations = args[:auto_delete_auto_created_reservations] if args.key?(:auto_delete_auto_created_reservations)
|
|
16524
|
+
@colocation_resource = args[:colocation_resource] if args.key?(:colocation_resource)
|
|
16484
16525
|
@commitment_info = args[:commitment_info] if args.key?(:commitment_info)
|
|
16485
16526
|
@confidential_compute_type = args[:confidential_compute_type] if args.key?(:confidential_compute_type)
|
|
16486
16527
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
@@ -17866,7 +17907,7 @@ module Google
|
|
|
17866
17907
|
# @return [String]
|
|
17867
17908
|
attr_accessor :description
|
|
17868
17909
|
|
|
17869
|
-
# Output only. For optimistic locking
|
|
17910
|
+
# Output only. For optimistic locking.
|
|
17870
17911
|
# Corresponds to the JSON property `etag`
|
|
17871
17912
|
# @return [String]
|
|
17872
17913
|
attr_accessor :etag
|
|
@@ -23914,6 +23955,137 @@ module Google
|
|
|
23914
23955
|
end
|
|
23915
23956
|
end
|
|
23916
23957
|
|
|
23958
|
+
# Response message for ImageViewsService.List
|
|
23959
|
+
class ImageViewsListResponse
|
|
23960
|
+
include Google::Apis::Core::Hashable
|
|
23961
|
+
|
|
23962
|
+
# Etag of the resource.
|
|
23963
|
+
# Corresponds to the JSON property `etag`
|
|
23964
|
+
# @return [String]
|
|
23965
|
+
attr_accessor :etag
|
|
23966
|
+
|
|
23967
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
23968
|
+
# Corresponds to the JSON property `id`
|
|
23969
|
+
# @return [String]
|
|
23970
|
+
attr_accessor :id
|
|
23971
|
+
|
|
23972
|
+
# A list of Image resources.
|
|
23973
|
+
# Corresponds to the JSON property `items`
|
|
23974
|
+
# @return [Array<Google::Apis::ComputeBeta::ImageView>]
|
|
23975
|
+
attr_accessor :items
|
|
23976
|
+
|
|
23977
|
+
#
|
|
23978
|
+
# Corresponds to the JSON property `kind`
|
|
23979
|
+
# @return [String]
|
|
23980
|
+
attr_accessor :kind
|
|
23981
|
+
|
|
23982
|
+
#
|
|
23983
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
23984
|
+
# @return [String]
|
|
23985
|
+
attr_accessor :next_page_token
|
|
23986
|
+
|
|
23987
|
+
# Output only. [Output Only] Server-defined URL for this resource.
|
|
23988
|
+
# Corresponds to the JSON property `selfLink`
|
|
23989
|
+
# @return [String]
|
|
23990
|
+
attr_accessor :self_link
|
|
23991
|
+
|
|
23992
|
+
# Output only. [Output Only] Unreachable resources.
|
|
23993
|
+
# Corresponds to the JSON property `unreachables`
|
|
23994
|
+
# @return [Array<String>]
|
|
23995
|
+
attr_accessor :unreachables
|
|
23996
|
+
|
|
23997
|
+
# [Output Only] Informational warning message.
|
|
23998
|
+
# Corresponds to the JSON property `warning`
|
|
23999
|
+
# @return [Google::Apis::ComputeBeta::ImageViewsListResponse::Warning]
|
|
24000
|
+
attr_accessor :warning
|
|
24001
|
+
|
|
24002
|
+
def initialize(**args)
|
|
24003
|
+
update!(**args)
|
|
24004
|
+
end
|
|
24005
|
+
|
|
24006
|
+
# Update properties of this object
|
|
24007
|
+
def update!(**args)
|
|
24008
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
24009
|
+
@id = args[:id] if args.key?(:id)
|
|
24010
|
+
@items = args[:items] if args.key?(:items)
|
|
24011
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
24012
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
24013
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
24014
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
|
24015
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
24016
|
+
end
|
|
24017
|
+
|
|
24018
|
+
# [Output Only] Informational warning message.
|
|
24019
|
+
class Warning
|
|
24020
|
+
include Google::Apis::Core::Hashable
|
|
24021
|
+
|
|
24022
|
+
# [Output Only] A warning code, if applicable. For example, Compute
|
|
24023
|
+
# Engine returns NO_RESULTS_ON_PAGE if there
|
|
24024
|
+
# are no results in the response.
|
|
24025
|
+
# Corresponds to the JSON property `code`
|
|
24026
|
+
# @return [String]
|
|
24027
|
+
attr_accessor :code
|
|
24028
|
+
|
|
24029
|
+
# [Output Only] Metadata about this warning in key:
|
|
24030
|
+
# value format. For example:
|
|
24031
|
+
# "data": [
|
|
24032
|
+
# `
|
|
24033
|
+
# "key": "scope",
|
|
24034
|
+
# "value": "zones/us-east1-d"
|
|
24035
|
+
# `]
|
|
24036
|
+
# Corresponds to the JSON property `data`
|
|
24037
|
+
# @return [Array<Google::Apis::ComputeBeta::ImageViewsListResponse::Warning::Datum>]
|
|
24038
|
+
attr_accessor :data
|
|
24039
|
+
|
|
24040
|
+
# [Output Only] A human-readable description of the warning code.
|
|
24041
|
+
# Corresponds to the JSON property `message`
|
|
24042
|
+
# @return [String]
|
|
24043
|
+
attr_accessor :message
|
|
24044
|
+
|
|
24045
|
+
def initialize(**args)
|
|
24046
|
+
update!(**args)
|
|
24047
|
+
end
|
|
24048
|
+
|
|
24049
|
+
# Update properties of this object
|
|
24050
|
+
def update!(**args)
|
|
24051
|
+
@code = args[:code] if args.key?(:code)
|
|
24052
|
+
@data = args[:data] if args.key?(:data)
|
|
24053
|
+
@message = args[:message] if args.key?(:message)
|
|
24054
|
+
end
|
|
24055
|
+
|
|
24056
|
+
#
|
|
24057
|
+
class Datum
|
|
24058
|
+
include Google::Apis::Core::Hashable
|
|
24059
|
+
|
|
24060
|
+
# [Output Only] A key that provides more detail on the warning being
|
|
24061
|
+
# returned. For example, for warnings where there are no results in a list
|
|
24062
|
+
# request for a particular zone, this key might be scope and
|
|
24063
|
+
# the key value might be the zone name. Other examples might be a key
|
|
24064
|
+
# indicating a deprecated resource and a suggested replacement, or a
|
|
24065
|
+
# warning about invalid network settings (for example, if an instance
|
|
24066
|
+
# attempts to perform IP forwarding but is not enabled for IP forwarding).
|
|
24067
|
+
# Corresponds to the JSON property `key`
|
|
24068
|
+
# @return [String]
|
|
24069
|
+
attr_accessor :key
|
|
24070
|
+
|
|
24071
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
24072
|
+
# Corresponds to the JSON property `value`
|
|
24073
|
+
# @return [String]
|
|
24074
|
+
attr_accessor :value
|
|
24075
|
+
|
|
24076
|
+
def initialize(**args)
|
|
24077
|
+
update!(**args)
|
|
24078
|
+
end
|
|
24079
|
+
|
|
24080
|
+
# Update properties of this object
|
|
24081
|
+
def update!(**args)
|
|
24082
|
+
@key = args[:key] if args.key?(:key)
|
|
24083
|
+
@value = args[:value] if args.key?(:value)
|
|
24084
|
+
end
|
|
24085
|
+
end
|
|
24086
|
+
end
|
|
24087
|
+
end
|
|
24088
|
+
|
|
23917
24089
|
# Initial State for shielded instance,
|
|
23918
24090
|
# these are public keys which are safe to store in public
|
|
23919
24091
|
class InitialStateConfig
|
|
@@ -25678,6 +25850,11 @@ module Google
|
|
|
25678
25850
|
class InstanceGroupManagerInstanceFlexibilityPolicy
|
|
25679
25851
|
include Google::Apis::Core::Hashable
|
|
25680
25852
|
|
|
25853
|
+
# Constraints applied to instance flexibility spreading and selection.
|
|
25854
|
+
# Corresponds to the JSON property `constraints`
|
|
25855
|
+
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyConstraints]
|
|
25856
|
+
attr_accessor :constraints
|
|
25857
|
+
|
|
25681
25858
|
# Named instance selections configuring properties that the group will use
|
|
25682
25859
|
# when creating new VMs.
|
|
25683
25860
|
# Corresponds to the JSON property `instanceSelections`
|
|
@@ -25696,11 +25873,34 @@ module Google
|
|
|
25696
25873
|
|
|
25697
25874
|
# Update properties of this object
|
|
25698
25875
|
def update!(**args)
|
|
25876
|
+
@constraints = args[:constraints] if args.key?(:constraints)
|
|
25699
25877
|
@instance_selections = args[:instance_selections] if args.key?(:instance_selections)
|
|
25700
25878
|
@provisioning_model_mix = args[:provisioning_model_mix] if args.key?(:provisioning_model_mix)
|
|
25701
25879
|
end
|
|
25702
25880
|
end
|
|
25703
25881
|
|
|
25882
|
+
# Constraints applied to instance flexibility spreading and selection.
|
|
25883
|
+
class InstanceGroupManagerInstanceFlexibilityPolicyConstraints
|
|
25884
|
+
include Google::Apis::Core::Hashable
|
|
25885
|
+
|
|
25886
|
+
# When set to true, all instances in the group will be provisioned with
|
|
25887
|
+
# the exact same machine type, ensuring cluster homogeneity across zones.
|
|
25888
|
+
# Defaults to false.
|
|
25889
|
+
# Corresponds to the JSON property `singleMachineType`
|
|
25890
|
+
# @return [Boolean]
|
|
25891
|
+
attr_accessor :single_machine_type
|
|
25892
|
+
alias_method :single_machine_type?, :single_machine_type
|
|
25893
|
+
|
|
25894
|
+
def initialize(**args)
|
|
25895
|
+
update!(**args)
|
|
25896
|
+
end
|
|
25897
|
+
|
|
25898
|
+
# Update properties of this object
|
|
25899
|
+
def update!(**args)
|
|
25900
|
+
@single_machine_type = args[:single_machine_type] if args.key?(:single_machine_type)
|
|
25901
|
+
end
|
|
25902
|
+
end
|
|
25903
|
+
|
|
25704
25904
|
#
|
|
25705
25905
|
class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
|
|
25706
25906
|
include Google::Apis::Core::Hashable
|
|
@@ -35990,6 +36190,33 @@ module Google
|
|
|
35990
36190
|
end
|
|
35991
36191
|
end
|
|
35992
36192
|
|
|
36193
|
+
# Request to rename an interconnect.
|
|
36194
|
+
class InterconnectsSetNameRequest
|
|
36195
|
+
include Google::Apis::Core::Hashable
|
|
36196
|
+
|
|
36197
|
+
# The current name of the interconnect.
|
|
36198
|
+
# The name must be 1-63 characters long, and comply with RFC1035.
|
|
36199
|
+
# Corresponds to the JSON property `currentName`
|
|
36200
|
+
# @return [String]
|
|
36201
|
+
attr_accessor :current_name
|
|
36202
|
+
|
|
36203
|
+
# The new name of the interconnect.
|
|
36204
|
+
# The name must be 1-63 characters long, and comply with RFC1035.
|
|
36205
|
+
# Corresponds to the JSON property `name`
|
|
36206
|
+
# @return [String]
|
|
36207
|
+
attr_accessor :name
|
|
36208
|
+
|
|
36209
|
+
def initialize(**args)
|
|
36210
|
+
update!(**args)
|
|
36211
|
+
end
|
|
36212
|
+
|
|
36213
|
+
# Update properties of this object
|
|
36214
|
+
def update!(**args)
|
|
36215
|
+
@current_name = args[:current_name] if args.key?(:current_name)
|
|
36216
|
+
@name = args[:name] if args.key?(:name)
|
|
36217
|
+
end
|
|
36218
|
+
end
|
|
36219
|
+
|
|
35993
36220
|
# Represents a time interval, encoded as a Timestamp start (inclusive) and a
|
|
35994
36221
|
# Timestamp end (exclusive).
|
|
35995
36222
|
# The start must be less than or equal to the end.
|
|
@@ -38584,7 +38811,7 @@ module Google
|
|
|
38584
38811
|
# @return [String]
|
|
38585
38812
|
attr_accessor :id
|
|
38586
38813
|
|
|
38587
|
-
#
|
|
38814
|
+
# The list of managed rulesets.
|
|
38588
38815
|
# Corresponds to the JSON property `items`
|
|
38589
38816
|
# @return [Array<Google::Apis::ComputeBeta::ManagedRuleset>]
|
|
38590
38817
|
attr_accessor :items
|
|
@@ -58859,6 +59086,14 @@ module Google
|
|
|
58859
59086
|
attr_accessor :encrypted_interconnect_router
|
|
58860
59087
|
alias_method :encrypted_interconnect_router?, :encrypted_interconnect_router
|
|
58861
59088
|
|
|
59089
|
+
# ETag for optimistic concurrency control as described by AIP 154. Used to
|
|
59090
|
+
# prevent conflicting updates. If provided, the request will succeed only if
|
|
59091
|
+
# the etag matches the current etag of the router; otherwise, the request
|
|
59092
|
+
# fails with an ABORTED error.
|
|
59093
|
+
# Corresponds to the JSON property `etag`
|
|
59094
|
+
# @return [String]
|
|
59095
|
+
attr_accessor :etag
|
|
59096
|
+
|
|
58862
59097
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
58863
59098
|
# defined by the server.
|
|
58864
59099
|
# Corresponds to the JSON property `id`
|
|
@@ -58943,6 +59178,7 @@ module Google
|
|
|
58943
59178
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
58944
59179
|
@description = args[:description] if args.key?(:description)
|
|
58945
59180
|
@encrypted_interconnect_router = args[:encrypted_interconnect_router] if args.key?(:encrypted_interconnect_router)
|
|
59181
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
58946
59182
|
@id = args[:id] if args.key?(:id)
|
|
58947
59183
|
@interfaces = args[:interfaces] if args.key?(:interfaces)
|
|
58948
59184
|
@kind = args[:kind] if args.key?(:kind)
|
|
@@ -60027,10 +60263,14 @@ module Google
|
|
|
60027
60263
|
# `inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip,
|
|
60028
60264
|
# '2.2.0.0/16')`
|
|
60029
60265
|
# `destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'`
|
|
60030
|
-
# The following
|
|
60266
|
+
# The following examples are valid match expressions for private NAT:
|
|
60267
|
+
# (NAT 44)
|
|
60031
60268
|
# `nexthop.hub ==
|
|
60032
60269
|
# '//networkconnectivity.googleapis.com/projects/my-project/locations/global/
|
|
60033
60270
|
# hubs/hub-1'`
|
|
60271
|
+
# `nexthop.is_hybrid`
|
|
60272
|
+
# (NAT 64)
|
|
60273
|
+
# `isIPv6(source.ip)`
|
|
60034
60274
|
# Corresponds to the JSON property `match`
|
|
60035
60275
|
# @return [String]
|
|
60036
60276
|
attr_accessor :match
|
|
@@ -60042,6 +60282,11 @@ module Google
|
|
|
60042
60282
|
# @return [Fixnum]
|
|
60043
60283
|
attr_accessor :rule_number
|
|
60044
60284
|
|
|
60285
|
+
# A list of source workload identities.
|
|
60286
|
+
# Corresponds to the JSON property `sourceWorkloadIdentities`
|
|
60287
|
+
# @return [Array<String>]
|
|
60288
|
+
attr_accessor :source_workload_identities
|
|
60289
|
+
|
|
60045
60290
|
def initialize(**args)
|
|
60046
60291
|
update!(**args)
|
|
60047
60292
|
end
|
|
@@ -60052,6 +60297,7 @@ module Google
|
|
|
60052
60297
|
@description = args[:description] if args.key?(:description)
|
|
60053
60298
|
@match = args[:match] if args.key?(:match)
|
|
60054
60299
|
@rule_number = args[:rule_number] if args.key?(:rule_number)
|
|
60300
|
+
@source_workload_identities = args[:source_workload_identities] if args.key?(:source_workload_identities)
|
|
60055
60301
|
end
|
|
60056
60302
|
end
|
|
60057
60303
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeBeta
|
|
18
18
|
# Version of the google-apis-compute_beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.150.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260922"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2758,6 +2758,24 @@ module Google
|
|
|
2758
2758
|
include Google::Apis::Core::JsonObjectSupport
|
|
2759
2759
|
end
|
|
2760
2760
|
|
|
2761
|
+
class ImageViewsListResponse
|
|
2762
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2763
|
+
|
|
2764
|
+
class Warning
|
|
2765
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2766
|
+
|
|
2767
|
+
class Datum
|
|
2768
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2769
|
+
|
|
2770
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2771
|
+
end
|
|
2772
|
+
|
|
2773
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2774
|
+
end
|
|
2775
|
+
|
|
2776
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2777
|
+
end
|
|
2778
|
+
|
|
2761
2779
|
class InitialStateConfig
|
|
2762
2780
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2763
2781
|
|
|
@@ -2902,6 +2920,12 @@ module Google
|
|
|
2902
2920
|
include Google::Apis::Core::JsonObjectSupport
|
|
2903
2921
|
end
|
|
2904
2922
|
|
|
2923
|
+
class InstanceGroupManagerInstanceFlexibilityPolicyConstraints
|
|
2924
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2925
|
+
|
|
2926
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2927
|
+
end
|
|
2928
|
+
|
|
2905
2929
|
class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
|
|
2906
2930
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2907
2931
|
|
|
@@ -4330,6 +4354,12 @@ module Google
|
|
|
4330
4354
|
include Google::Apis::Core::JsonObjectSupport
|
|
4331
4355
|
end
|
|
4332
4356
|
|
|
4357
|
+
class InterconnectsSetNameRequest
|
|
4358
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4359
|
+
|
|
4360
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4361
|
+
end
|
|
4362
|
+
|
|
4333
4363
|
class Interval
|
|
4334
4364
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4335
4365
|
|
|
@@ -11464,8 +11494,11 @@ module Google
|
|
|
11464
11494
|
class CacheInvalidationRule
|
|
11465
11495
|
# @private
|
|
11466
11496
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11497
|
+
property :backend_service, as: 'backendService'
|
|
11467
11498
|
collection :cache_tags, as: 'cacheTags'
|
|
11499
|
+
property :content_type, as: 'contentType'
|
|
11468
11500
|
property :host, as: 'host'
|
|
11501
|
+
property :http_status, as: 'httpStatus'
|
|
11469
11502
|
property :path, as: 'path'
|
|
11470
11503
|
end
|
|
11471
11504
|
end
|
|
@@ -12695,6 +12728,8 @@ module Google
|
|
|
12695
12728
|
class DistributionPolicyZoneConfiguration
|
|
12696
12729
|
# @private
|
|
12697
12730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12731
|
+
property :max_size, as: 'maxSize', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation
|
|
12732
|
+
|
|
12698
12733
|
property :zone, as: 'zone'
|
|
12699
12734
|
end
|
|
12700
12735
|
end
|
|
@@ -13321,6 +13356,7 @@ module Google
|
|
|
13321
13356
|
property :auto_created_reservations_duration, as: 'autoCreatedReservationsDuration', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
|
|
13322
13357
|
|
|
13323
13358
|
property :auto_delete_auto_created_reservations, as: 'autoDeleteAutoCreatedReservations'
|
|
13359
|
+
property :colocation_resource, as: 'colocationResource'
|
|
13324
13360
|
property :commitment_info, as: 'commitmentInfo', class: Google::Apis::ComputeBeta::FutureReservationCommitmentInfo, decorator: Google::Apis::ComputeBeta::FutureReservationCommitmentInfo::Representation
|
|
13325
13361
|
|
|
13326
13362
|
property :confidential_compute_type, as: 'confidentialComputeType'
|
|
@@ -15050,6 +15086,40 @@ module Google
|
|
|
15050
15086
|
end
|
|
15051
15087
|
end
|
|
15052
15088
|
|
|
15089
|
+
class ImageViewsListResponse
|
|
15090
|
+
# @private
|
|
15091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15092
|
+
property :etag, as: 'etag'
|
|
15093
|
+
property :id, as: 'id'
|
|
15094
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::ImageView, decorator: Google::Apis::ComputeBeta::ImageView::Representation
|
|
15095
|
+
|
|
15096
|
+
property :kind, as: 'kind'
|
|
15097
|
+
property :next_page_token, as: 'nextPageToken'
|
|
15098
|
+
property :self_link, as: 'selfLink'
|
|
15099
|
+
collection :unreachables, as: 'unreachables'
|
|
15100
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ImageViewsListResponse::Warning, decorator: Google::Apis::ComputeBeta::ImageViewsListResponse::Warning::Representation
|
|
15101
|
+
|
|
15102
|
+
end
|
|
15103
|
+
|
|
15104
|
+
class Warning
|
|
15105
|
+
# @private
|
|
15106
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15107
|
+
property :code, as: 'code'
|
|
15108
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::ImageViewsListResponse::Warning::Datum, decorator: Google::Apis::ComputeBeta::ImageViewsListResponse::Warning::Datum::Representation
|
|
15109
|
+
|
|
15110
|
+
property :message, as: 'message'
|
|
15111
|
+
end
|
|
15112
|
+
|
|
15113
|
+
class Datum
|
|
15114
|
+
# @private
|
|
15115
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15116
|
+
property :key, as: 'key'
|
|
15117
|
+
property :value, as: 'value'
|
|
15118
|
+
end
|
|
15119
|
+
end
|
|
15120
|
+
end
|
|
15121
|
+
end
|
|
15122
|
+
|
|
15053
15123
|
class InitialStateConfig
|
|
15054
15124
|
# @private
|
|
15055
15125
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -15432,6 +15502,8 @@ module Google
|
|
|
15432
15502
|
class InstanceGroupManagerInstanceFlexibilityPolicy
|
|
15433
15503
|
# @private
|
|
15434
15504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15505
|
+
property :constraints, as: 'constraints', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyConstraints, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyConstraints::Representation
|
|
15506
|
+
|
|
15435
15507
|
hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
|
|
15436
15508
|
|
|
15437
15509
|
property :provisioning_model_mix, as: 'provisioningModelMix', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyProvisioningModelMix::Representation
|
|
@@ -15439,6 +15511,13 @@ module Google
|
|
|
15439
15511
|
end
|
|
15440
15512
|
end
|
|
15441
15513
|
|
|
15514
|
+
class InstanceGroupManagerInstanceFlexibilityPolicyConstraints
|
|
15515
|
+
# @private
|
|
15516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15517
|
+
property :single_machine_type, as: 'singleMachineType'
|
|
15518
|
+
end
|
|
15519
|
+
end
|
|
15520
|
+
|
|
15442
15521
|
class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
|
|
15443
15522
|
# @private
|
|
15444
15523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -17969,6 +18048,14 @@ module Google
|
|
|
17969
18048
|
end
|
|
17970
18049
|
end
|
|
17971
18050
|
|
|
18051
|
+
class InterconnectsSetNameRequest
|
|
18052
|
+
# @private
|
|
18053
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
18054
|
+
property :current_name, as: 'currentName'
|
|
18055
|
+
property :name, as: 'name'
|
|
18056
|
+
end
|
|
18057
|
+
end
|
|
18058
|
+
|
|
17972
18059
|
class Interval
|
|
17973
18060
|
# @private
|
|
17974
18061
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -23499,6 +23586,7 @@ module Google
|
|
|
23499
23586
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
23500
23587
|
property :description, as: 'description'
|
|
23501
23588
|
property :encrypted_interconnect_router, as: 'encryptedInterconnectRouter'
|
|
23589
|
+
property :etag, as: 'etag'
|
|
23502
23590
|
property :id, :numeric_string => true, as: 'id'
|
|
23503
23591
|
collection :interfaces, as: 'interfaces', class: Google::Apis::ComputeBeta::RouterInterface, decorator: Google::Apis::ComputeBeta::RouterInterface::Representation
|
|
23504
23592
|
|
|
@@ -23725,6 +23813,7 @@ module Google
|
|
|
23725
23813
|
property :description, as: 'description'
|
|
23726
23814
|
property :match, as: 'match'
|
|
23727
23815
|
property :rule_number, as: 'ruleNumber'
|
|
23816
|
+
collection :source_workload_identities, as: 'sourceWorkloadIdentities'
|
|
23728
23817
|
end
|
|
23729
23818
|
end
|
|
23730
23819
|
|
|
@@ -9485,6 +9485,7 @@ module Google
|
|
|
9485
9485
|
|
|
9486
9486
|
# Gets the Global Frontend Billing Bundle Settings for a project.
|
|
9487
9487
|
# @param [String] project
|
|
9488
|
+
# Required. Project ID for this request.
|
|
9488
9489
|
# @param [String] fields
|
|
9489
9490
|
# Selector specifying which fields to include in a partial response.
|
|
9490
9491
|
# @param [String] quota_user
|
|
@@ -9517,10 +9518,12 @@ module Google
|
|
|
9517
9518
|
|
|
9518
9519
|
# Updates the Global Frontend Billing Bundle Settings for a project.
|
|
9519
9520
|
# @param [String] project
|
|
9521
|
+
# Required. Project ID for this request.
|
|
9520
9522
|
# @param [Google::Apis::ComputeBeta::GlobalFrontendSettings] global_frontend_settings_object
|
|
9521
9523
|
# @param [String] request_id
|
|
9524
|
+
# An optional request ID to identify requests.
|
|
9522
9525
|
# @param [String] update_mask
|
|
9523
|
-
#
|
|
9526
|
+
# Field mask to support patch. E.g., "type".
|
|
9524
9527
|
# @param [String] fields
|
|
9525
9528
|
# Selector specifying which fields to include in a partial response.
|
|
9526
9529
|
# @param [String] quota_user
|
|
@@ -12968,6 +12971,124 @@ module Google
|
|
|
12968
12971
|
execute_or_queue_command(command, &block)
|
|
12969
12972
|
end
|
|
12970
12973
|
|
|
12974
|
+
# Returns a list of global ImageView resources, with a regional
|
|
12975
|
+
# context.
|
|
12976
|
+
# @param [String] project
|
|
12977
|
+
# Required. Project ID for this request.
|
|
12978
|
+
# @param [String] region
|
|
12979
|
+
# Required. Name of the region for this request.
|
|
12980
|
+
# @param [String] filter
|
|
12981
|
+
# A filter expression that filters resources listed in the response. Most
|
|
12982
|
+
# Compute resources support two types of filter expressions:
|
|
12983
|
+
# expressions that support regular expressions and expressions that follow
|
|
12984
|
+
# API improvement proposal AIP-160.
|
|
12985
|
+
# These two types of filter expressions cannot be mixed in one request.
|
|
12986
|
+
# If you want to use AIP-160, your expression must specify the field name, an
|
|
12987
|
+
# operator, and the value that you want to use for filtering. The value
|
|
12988
|
+
# must be a string, a number, or a boolean. The operator
|
|
12989
|
+
# must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
|
|
12990
|
+
# For example, if you are filtering Compute Engine instances, you can
|
|
12991
|
+
# exclude instances named `example-instance` by specifying
|
|
12992
|
+
# `name != example-instance`.
|
|
12993
|
+
# The `:*` comparison can be used to test whether a key has been defined.
|
|
12994
|
+
# For example, to find all objects with `owner` label use:
|
|
12995
|
+
# ```
|
|
12996
|
+
# labels.owner:*
|
|
12997
|
+
# ```
|
|
12998
|
+
# You can also filter nested fields. For example, you could specify
|
|
12999
|
+
# `scheduling.automaticRestart = false` to include instances only
|
|
13000
|
+
# if they are not scheduled for automatic restarts. You can use filtering
|
|
13001
|
+
# on nested fields to filter based onresource labels.
|
|
13002
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
13003
|
+
# parentheses. For example:
|
|
13004
|
+
# ```
|
|
13005
|
+
# (scheduling.automaticRestart = true)
|
|
13006
|
+
# (cpuPlatform = "Intel Skylake")
|
|
13007
|
+
# ```
|
|
13008
|
+
# By default, each expression is an `AND` expression. However, you
|
|
13009
|
+
# can include `AND` and `OR` expressions explicitly.
|
|
13010
|
+
# For example:
|
|
13011
|
+
# ```
|
|
13012
|
+
# (cpuPlatform = "Intel Skylake") OR
|
|
13013
|
+
# (cpuPlatform = "Intel Broadwell") AND
|
|
13014
|
+
# (scheduling.automaticRestart = true)
|
|
13015
|
+
# ```
|
|
13016
|
+
# If you want to use a regular expression, use the `eq` (equal) or `ne`
|
|
13017
|
+
# (not equal) operator against a single un-parenthesized expression with or
|
|
13018
|
+
# without quotes or against multiple parenthesized expressions. Examples:
|
|
13019
|
+
# `fieldname eq unquoted literal`
|
|
13020
|
+
# `fieldname eq 'single quoted literal'`
|
|
13021
|
+
# `fieldname eq "double quoted literal"`
|
|
13022
|
+
# `(fieldname1 eq literal) (fieldname2 ne "literal")`
|
|
13023
|
+
# The literal value is interpreted as a regular expression using GoogleRE2
|
|
13024
|
+
# library syntax.
|
|
13025
|
+
# The literal value must match the entire field.
|
|
13026
|
+
# For example, to filter for instances that do not end with name "instance",
|
|
13027
|
+
# you would use `name ne .*instance`.
|
|
13028
|
+
# You cannot combine constraints on multiple fields using regular
|
|
13029
|
+
# expressions.
|
|
13030
|
+
# @param [Fixnum] max_results
|
|
13031
|
+
# The maximum number of results per page that should be returned.
|
|
13032
|
+
# If the number of available results is larger than `maxResults`,
|
|
13033
|
+
# Compute Engine returns a `nextPageToken` that can be used to get
|
|
13034
|
+
# the next page of results in subsequent list requests. Acceptable values are
|
|
13035
|
+
# `0` to `500`, inclusive. (Default: `500`)
|
|
13036
|
+
# @param [String] order_by
|
|
13037
|
+
# Sorts list results by a certain order. By default, results
|
|
13038
|
+
# are returned in alphanumerical order based on the resource name.
|
|
13039
|
+
# You can also sort results in descending order based on the creation
|
|
13040
|
+
# timestamp using `orderBy="creationTimestamp desc"`. This sorts
|
|
13041
|
+
# results based on the `creationTimestamp` field in
|
|
13042
|
+
# reverse chronological order (newest result first). Use this to sort
|
|
13043
|
+
# resources like operations so that the newest operation is returned first.
|
|
13044
|
+
# Currently, only sorting by `name` or
|
|
13045
|
+
# `creationTimestamp desc` is supported.
|
|
13046
|
+
# @param [String] page_token
|
|
13047
|
+
# Specifies a page token to use. Set `pageToken` to the
|
|
13048
|
+
# `nextPageToken` returned by a previous list request to get
|
|
13049
|
+
# the next page of results.
|
|
13050
|
+
# @param [Boolean] return_partial_success
|
|
13051
|
+
# Opt-in for partial success behavior which provides partial results in case
|
|
13052
|
+
# of failure. The default value is false.
|
|
13053
|
+
# For example, when partial success behavior is enabled, aggregatedList for a
|
|
13054
|
+
# single zone scope either returns all resources in the zone or no resources,
|
|
13055
|
+
# with an error code.
|
|
13056
|
+
# @param [String] fields
|
|
13057
|
+
# Selector specifying which fields to include in a partial response.
|
|
13058
|
+
# @param [String] quota_user
|
|
13059
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
13060
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
13061
|
+
# @param [String] user_ip
|
|
13062
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
13063
|
+
# @param [Google::Apis::RequestOptions] options
|
|
13064
|
+
# Request-specific options
|
|
13065
|
+
#
|
|
13066
|
+
# @yield [result, err] Result & error if block supplied
|
|
13067
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ImageViewsListResponse] parsed result object
|
|
13068
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
13069
|
+
#
|
|
13070
|
+
# @return [Google::Apis::ComputeBeta::ImageViewsListResponse]
|
|
13071
|
+
#
|
|
13072
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
13073
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
13074
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
13075
|
+
def list_image_views(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)
|
|
13076
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/imageViews', options)
|
|
13077
|
+
command.response_representation = Google::Apis::ComputeBeta::ImageViewsListResponse::Representation
|
|
13078
|
+
command.response_class = Google::Apis::ComputeBeta::ImageViewsListResponse
|
|
13079
|
+
command.params['project'] = project unless project.nil?
|
|
13080
|
+
command.params['region'] = region unless region.nil?
|
|
13081
|
+
command.query['filter'] = filter unless filter.nil?
|
|
13082
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
13083
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
13084
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
13085
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
13086
|
+
command.query['fields'] = fields unless fields.nil?
|
|
13087
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
13088
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
13089
|
+
execute_or_queue_command(command, &block)
|
|
13090
|
+
end
|
|
13091
|
+
|
|
12971
13092
|
# Deletes the specified image.
|
|
12972
13093
|
# @param [String] project
|
|
12973
13094
|
# Project ID for this request.
|
|
@@ -24092,6 +24213,58 @@ module Google
|
|
|
24092
24213
|
execute_or_queue_command(command, &block)
|
|
24093
24214
|
end
|
|
24094
24215
|
|
|
24216
|
+
# Sets name of an interconnect.
|
|
24217
|
+
# @param [String] project
|
|
24218
|
+
# Project ID for this request.
|
|
24219
|
+
# @param [String] interconnect
|
|
24220
|
+
# Name of the interconnect to update.
|
|
24221
|
+
# @param [Google::Apis::ComputeBeta::InterconnectsSetNameRequest] interconnects_set_name_request_object
|
|
24222
|
+
# @param [String] request_id
|
|
24223
|
+
# An optional request ID to identify requests. Specify a unique request ID
|
|
24224
|
+
# so that if you must retry your request, the server will know to ignore
|
|
24225
|
+
# the request if it has already been completed.
|
|
24226
|
+
# For example, consider a situation where you make an initial request and
|
|
24227
|
+
# the request times out. If you make the request again with the same
|
|
24228
|
+
# request ID, the server can check if original operation with the same
|
|
24229
|
+
# request ID was received, and if so, will ignore the second request. This
|
|
24230
|
+
# prevents clients from accidentally creating duplicate commitments.
|
|
24231
|
+
# The request ID must be
|
|
24232
|
+
# a valid UUID with the exception that zero UUID is not supported
|
|
24233
|
+
# (00000000-0000-0000-0000-000000000000).
|
|
24234
|
+
# @param [String] fields
|
|
24235
|
+
# Selector specifying which fields to include in a partial response.
|
|
24236
|
+
# @param [String] quota_user
|
|
24237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
24238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
24239
|
+
# @param [String] user_ip
|
|
24240
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
24241
|
+
# @param [Google::Apis::RequestOptions] options
|
|
24242
|
+
# Request-specific options
|
|
24243
|
+
#
|
|
24244
|
+
# @yield [result, err] Result & error if block supplied
|
|
24245
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
24246
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
24247
|
+
#
|
|
24248
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
24249
|
+
#
|
|
24250
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
24251
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
24252
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
24253
|
+
def set_interconnect_name(project, interconnect, interconnects_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
24254
|
+
command = make_simple_command(:post, 'projects/{project}/global/interconnects/{interconnect}/setName', options)
|
|
24255
|
+
command.request_representation = Google::Apis::ComputeBeta::InterconnectsSetNameRequest::Representation
|
|
24256
|
+
command.request_object = interconnects_set_name_request_object
|
|
24257
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
24258
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
24259
|
+
command.params['project'] = project unless project.nil?
|
|
24260
|
+
command.params['interconnect'] = interconnect unless interconnect.nil?
|
|
24261
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
24262
|
+
command.query['fields'] = fields unless fields.nil?
|
|
24263
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
24264
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
24265
|
+
execute_or_queue_command(command, &block)
|
|
24266
|
+
end
|
|
24267
|
+
|
|
24095
24268
|
# Returns permissions that a caller has on the specified resource.
|
|
24096
24269
|
# @param [String] project
|
|
24097
24270
|
# Project ID for this request.
|
|
@@ -56312,6 +56485,11 @@ module Google
|
|
|
56312
56485
|
# Name of the region for this request.
|
|
56313
56486
|
# @param [String] router
|
|
56314
56487
|
# Name of the Router resource to delete.
|
|
56488
|
+
# @param [String] etag
|
|
56489
|
+
# ETag for optimistic concurrency control as described by AIP 154. Used to
|
|
56490
|
+
# prevent conflicting updates. If provided, the request will succeed only if
|
|
56491
|
+
# the etag matches the current etag of the router; otherwise, the request
|
|
56492
|
+
# fails with an ABORTED error.
|
|
56315
56493
|
# @param [String] request_id
|
|
56316
56494
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
56317
56495
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -56343,13 +56521,14 @@ module Google
|
|
|
56343
56521
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
56344
56522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
56345
56523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
56346
|
-
def delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
56524
|
+
def delete_router(project, region, router, etag: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
56347
56525
|
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/routers/{router}', options)
|
|
56348
56526
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
56349
56527
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
56350
56528
|
command.params['project'] = project unless project.nil?
|
|
56351
56529
|
command.params['region'] = region unless region.nil?
|
|
56352
56530
|
command.params['router'] = router unless router.nil?
|
|
56531
|
+
command.query['etag'] = etag unless etag.nil?
|
|
56353
56532
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
56354
56533
|
command.query['fields'] = fields unless fields.nil?
|
|
56355
56534
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.150.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_beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.150.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|