google-apis-compute_beta 0.112.0 → 0.113.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: 3073a9c700a5e589fb0a454111a6e9b86d32d954cfbdd1b0a2b60a29d6137b93
|
4
|
+
data.tar.gz: 129db29b348f933ddb76a957a3f6c26bd7b3073462ece99cebe8348d65bbf168
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15ff041b91113e41cf0649962d80a767295eca69048e7ad8b9d656299fc2f9c2acf6a58eb30d6cd3a48b1fe79e57908909e205da91c1197588fe9c2f4503b518
|
7
|
+
data.tar.gz: 5a2f4cd283c3d10b7344730f36444a9a168e75e1a234be253cc7aaceb8c48e1deb4d8cf1a47e10028476c0e8faf41b977150a1c24883569f0875047c6a4b4a1a
|
data/CHANGELOG.md
CHANGED
@@ -3164,7 +3164,7 @@ module Google
|
|
3164
3164
|
attr_accessor :client_ttl
|
3165
3165
|
|
3166
3166
|
# Specifies the default TTL for cached content served by this origin for
|
3167
|
-
# responses that do not have an existing valid TTL (max-age or s-
|
3167
|
+
# responses that do not have an existing valid TTL (max-age or s-maxage).
|
3168
3168
|
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
3169
3169
|
# be set to a value greater than that of maxTTL, but can be equal. When the
|
3170
3170
|
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
@@ -3228,7 +3228,7 @@ module Google
|
|
3228
3228
|
# that do not specify a max-stale directive. Stale responses that exceed the TTL
|
3229
3229
|
# configured here will not be served. The default limit (max-stale) is 86400s (1
|
3230
3230
|
# day), which will allow stale content to be served up to this limit beyond the
|
3231
|
-
# max-age (or s-
|
3231
|
+
# max-age (or s-maxage) of a cached response. The maximum allowed value is
|
3232
3232
|
# 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
|
3233
3233
|
# Corresponds to the JSON property `serveWhileStale`
|
3234
3234
|
# @return [Fixnum]
|
@@ -4319,7 +4319,7 @@ module Google
|
|
4319
4319
|
attr_accessor :client_ttl
|
4320
4320
|
|
4321
4321
|
# Specifies the default TTL for cached content served by this origin for
|
4322
|
-
# responses that do not have an existing valid TTL (max-age or s-
|
4322
|
+
# responses that do not have an existing valid TTL (max-age or s-maxage).
|
4323
4323
|
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
4324
4324
|
# be set to a value greater than that of maxTTL, but can be equal. When the
|
4325
4325
|
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
@@ -4383,7 +4383,7 @@ module Google
|
|
4383
4383
|
# that do not specify a max-stale directive. Stale responses that exceed the TTL
|
4384
4384
|
# configured here will not be served. The default limit (max-stale) is 86400s (1
|
4385
4385
|
# day), which will allow stale content to be served up to this limit beyond the
|
4386
|
-
# max-age (or s-
|
4386
|
+
# max-age (or s-maxage) of a cached response. The maximum allowed value is
|
4387
4387
|
# 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
|
4388
4388
|
# Corresponds to the JSON property `serveWhileStale`
|
4389
4389
|
# @return [Fixnum]
|
@@ -4753,12 +4753,13 @@ module Google
|
|
4753
4753
|
# one of its backends is 64. - The maximum number of backend services with
|
4754
4754
|
# fastIPMove in a VPC in a region is 64. - The network endpoints that are
|
4755
4755
|
# attached to a backend of a backend service with fastIPMove cannot resolve to
|
4756
|
-
#
|
4757
|
-
# not be redirected to a new leader by fast failover. Such traffic
|
4758
|
-
# redirected once an haPolicy.leader update has taken effect. Only
|
4759
|
-
# the forwarding rule's virtual IP will be redirected to a new leader
|
4760
|
-
# failover. haPolicy.fastIPMove can be set only at backend service
|
4761
|
-
# Once set, it cannot be updated. By default, fastIpMove is set
|
4756
|
+
# Gen3+ machines for IPv6. - Traffic directed to the leader by a static route
|
4757
|
+
# next hop will not be redirected to a new leader by fast failover. Such traffic
|
4758
|
+
# will only be redirected once an haPolicy.leader update has taken effect. Only
|
4759
|
+
# traffic to the forwarding rule's virtual IP will be redirected to a new leader
|
4760
|
+
# by fast failover. haPolicy.fastIPMove can be set only at backend service
|
4761
|
+
# creation time. Once set, it cannot be updated. By default, fastIpMove is set
|
4762
|
+
# to DISABLED.
|
4762
4763
|
# Corresponds to the JSON property `fastIPMove`
|
4763
4764
|
# @return [String]
|
4764
4765
|
attr_accessor :fast_ip_move
|
@@ -6150,8 +6151,8 @@ module Google
|
|
6150
6151
|
class CacheInvalidationRule
|
6151
6152
|
include Google::Apis::Core::Hashable
|
6152
6153
|
|
6153
|
-
#
|
6154
|
-
#
|
6154
|
+
# A list of cache tags used to identify cached objects. - Cache tags are
|
6155
|
+
# specified when the response is first cached, by setting the `Cache-Tag`
|
6155
6156
|
# response header at the origin. - Multiple cache tags in the same invalidation
|
6156
6157
|
# request are treated as Boolean `OR` - for example, `tag1 OR tag2 OR tag3`. -
|
6157
6158
|
# If other fields are also specified, these are treated as Boolean `AND` with
|
@@ -7184,11 +7185,6 @@ module Google
|
|
7184
7185
|
# @return [String]
|
7185
7186
|
attr_accessor :self_link
|
7186
7187
|
|
7187
|
-
# [Output Only] Server-defined URL for this resource with the resource id.
|
7188
|
-
# Corresponds to the JSON property `selfLinkWithId`
|
7189
|
-
# @return [String]
|
7190
|
-
attr_accessor :self_link_with_id
|
7191
|
-
|
7192
7188
|
def initialize(**args)
|
7193
7189
|
update!(**args)
|
7194
7190
|
end
|
@@ -7201,7 +7197,6 @@ module Google
|
|
7201
7197
|
@kind = args[:kind] if args.key?(:kind)
|
7202
7198
|
@name = args[:name] if args.key?(:name)
|
7203
7199
|
@self_link = args[:self_link] if args.key?(:self_link)
|
7204
|
-
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
7205
7200
|
end
|
7206
7201
|
end
|
7207
7202
|
|
@@ -9964,6 +9959,11 @@ module Google
|
|
9964
9959
|
# @return [String]
|
9965
9960
|
attr_accessor :network
|
9966
9961
|
|
9962
|
+
# Additional firewall parameters.
|
9963
|
+
# Corresponds to the JSON property `params`
|
9964
|
+
# @return [Google::Apis::ComputeBeta::FirewallParams]
|
9965
|
+
attr_accessor :params
|
9966
|
+
|
9967
9967
|
# Priority for this rule. This is an integer between `0` and `65535`, both
|
9968
9968
|
# inclusive. The default value is `1000`. Relative priorities determine which
|
9969
9969
|
# rule takes effect if multiple rules apply. Lower values indicate higher
|
@@ -10057,6 +10057,7 @@ module Google
|
|
10057
10057
|
@log_config = args[:log_config] if args.key?(:log_config)
|
10058
10058
|
@name = args[:name] if args.key?(:name)
|
10059
10059
|
@network = args[:network] if args.key?(:network)
|
10060
|
+
@params = args[:params] if args.key?(:params)
|
10060
10061
|
@priority = args[:priority] if args.key?(:priority)
|
10061
10062
|
@self_link = args[:self_link] if args.key?(:self_link)
|
10062
10063
|
@source_ranges = args[:source_ranges] if args.key?(:source_ranges)
|
@@ -10275,6 +10276,32 @@ module Google
|
|
10275
10276
|
end
|
10276
10277
|
end
|
10277
10278
|
|
10279
|
+
# Additional firewall parameters.
|
10280
|
+
class FirewallParams
|
10281
|
+
include Google::Apis::Core::Hashable
|
10282
|
+
|
10283
|
+
# Tag keys/values directly bound to this resource. Tag keys and values have the
|
10284
|
+
# same definition as resource manager tags. The field is allowed for INSERT only.
|
10285
|
+
# The keys/values to set on the resource should be specified in either ID ` : `
|
10286
|
+
# or Namespaced format ` : `. For example the following are valid inputs: * `"
|
10287
|
+
# tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
|
10288
|
+
# environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
|
10289
|
+
# of ID & namespaced format is not supported. For instance: `"123/environment" :
|
10290
|
+
# "tagValues/444"` is invalid.
|
10291
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
10292
|
+
# @return [Hash<String,String>]
|
10293
|
+
attr_accessor :resource_manager_tags
|
10294
|
+
|
10295
|
+
def initialize(**args)
|
10296
|
+
update!(**args)
|
10297
|
+
end
|
10298
|
+
|
10299
|
+
# Update properties of this object
|
10300
|
+
def update!(**args)
|
10301
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
10302
|
+
end
|
10303
|
+
end
|
10304
|
+
|
10278
10305
|
#
|
10279
10306
|
class FirewallPoliciesListAssociationsResponse
|
10280
10307
|
include Google::Apis::Core::Hashable
|
@@ -10562,6 +10589,15 @@ module Google
|
|
10562
10589
|
# @return [String]
|
10563
10590
|
attr_accessor :name
|
10564
10591
|
|
10592
|
+
# An integer indicating the priority of an association. The priority must be a
|
10593
|
+
# positive value between 1 and 2147483647. Firewall Policies are evaluated from
|
10594
|
+
# highest to lowest priority where 1 is the highest priority and 2147483647 is
|
10595
|
+
# the lowest priority. The default value is `1000`. If two associations have the
|
10596
|
+
# same priority then lexicographical order on association names is applied.
|
10597
|
+
# Corresponds to the JSON property `priority`
|
10598
|
+
# @return [Fixnum]
|
10599
|
+
attr_accessor :priority
|
10600
|
+
|
10565
10601
|
# [Output Only] The short name of the firewall policy of the association.
|
10566
10602
|
# Corresponds to the JSON property `shortName`
|
10567
10603
|
# @return [String]
|
@@ -10577,6 +10613,7 @@ module Google
|
|
10577
10613
|
@display_name = args[:display_name] if args.key?(:display_name)
|
10578
10614
|
@firewall_policy_id = args[:firewall_policy_id] if args.key?(:firewall_policy_id)
|
10579
10615
|
@name = args[:name] if args.key?(:name)
|
10616
|
+
@priority = args[:priority] if args.key?(:priority)
|
10580
10617
|
@short_name = args[:short_name] if args.key?(:short_name)
|
10581
10618
|
end
|
10582
10619
|
end
|
@@ -13114,6 +13151,59 @@ module Google
|
|
13114
13151
|
end
|
13115
13152
|
end
|
13116
13153
|
|
13154
|
+
#
|
13155
|
+
class GrpctlsHealthCheck
|
13156
|
+
include Google::Apis::Core::Hashable
|
13157
|
+
|
13158
|
+
# The gRPC service name for the health check. This field is optional. The value
|
13159
|
+
# of grpc_service_name has the following meanings by convention: - Empty
|
13160
|
+
# service_name means the overall status of all services at the backend. - Non-
|
13161
|
+
# empty service_name means the health of that gRPC service, as defined by the
|
13162
|
+
# owner of the service. The grpc_service_name can only be ASCII.
|
13163
|
+
# Corresponds to the JSON property `grpcServiceName`
|
13164
|
+
# @return [String]
|
13165
|
+
attr_accessor :grpc_service_name
|
13166
|
+
|
13167
|
+
# The TCP port number to which the health check prober sends packets. Valid
|
13168
|
+
# values are 1 through 65535.
|
13169
|
+
# Corresponds to the JSON property `port`
|
13170
|
+
# @return [Fixnum]
|
13171
|
+
attr_accessor :port
|
13172
|
+
|
13173
|
+
# Specifies how a port is selected for health checking. Can be one of the
|
13174
|
+
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
13175
|
+
# port field in the health check. Supported by backend services for passthrough
|
13176
|
+
# load balancers and backend services for proxy load balancers. Not supported by
|
13177
|
+
# target pools. The health check supports all backends supported by the backend
|
13178
|
+
# service provided the backend can be health checked. For example, GCE_VM_IP
|
13179
|
+
# network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
|
13180
|
+
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
13181
|
+
# indirect method of specifying the health check port by referring to the
|
13182
|
+
# backend service. Only supported by backend services for proxy load balancers.
|
13183
|
+
# Not supported by target pools. Not supported by backend services for
|
13184
|
+
# passthrough load balancers. Supports all backends that can be health checked;
|
13185
|
+
# for example, GCE_VM_IP_PORT network endpoint groups and instance group
|
13186
|
+
# backends. For GCE_VM_IP_PORT network endpoint group backends, the health check
|
13187
|
+
# uses the port number specified for each endpoint in the network endpoint group.
|
13188
|
+
# For instance group backends, the health check uses the port number determined
|
13189
|
+
# by looking up the backend service's named port in the instance group's list of
|
13190
|
+
# named ports.
|
13191
|
+
# Corresponds to the JSON property `portSpecification`
|
13192
|
+
# @return [String]
|
13193
|
+
attr_accessor :port_specification
|
13194
|
+
|
13195
|
+
def initialize(**args)
|
13196
|
+
update!(**args)
|
13197
|
+
end
|
13198
|
+
|
13199
|
+
# Update properties of this object
|
13200
|
+
def update!(**args)
|
13201
|
+
@grpc_service_name = args[:grpc_service_name] if args.key?(:grpc_service_name)
|
13202
|
+
@port = args[:port] if args.key?(:port)
|
13203
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
13204
|
+
end
|
13205
|
+
end
|
13206
|
+
|
13117
13207
|
#
|
13118
13208
|
class GlobalAddressesMoveRequest
|
13119
13209
|
include Google::Apis::Core::Hashable
|
@@ -13484,8 +13574,8 @@ module Google
|
|
13484
13574
|
# values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
|
13485
13575
|
# WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
|
13486
13576
|
# SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE -
|
13487
|
-
# TDX_CAPABLE - IDPF For more information, see Enabling guest
|
13488
|
-
# features.
|
13577
|
+
# TDX_CAPABLE - IDPF - SNP_SVSM_CAPABLE For more information, see Enabling guest
|
13578
|
+
# operating system features.
|
13489
13579
|
# Corresponds to the JSON property `type`
|
13490
13580
|
# @return [String]
|
13491
13581
|
attr_accessor :type
|
@@ -13784,6 +13874,11 @@ module Google
|
|
13784
13874
|
# @return [Google::Apis::ComputeBeta::GrpcHealthCheck]
|
13785
13875
|
attr_accessor :grpc_health_check
|
13786
13876
|
|
13877
|
+
#
|
13878
|
+
# Corresponds to the JSON property `grpcTlsHealthCheck`
|
13879
|
+
# @return [Google::Apis::ComputeBeta::GrpctlsHealthCheck]
|
13880
|
+
attr_accessor :grpc_tls_health_check
|
13881
|
+
|
13787
13882
|
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
13788
13883
|
# successes. The default value is 2.
|
13789
13884
|
# Corresponds to the JSON property `healthyThreshold`
|
@@ -13898,6 +13993,7 @@ module Google
|
|
13898
13993
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
13899
13994
|
@description = args[:description] if args.key?(:description)
|
13900
13995
|
@grpc_health_check = args[:grpc_health_check] if args.key?(:grpc_health_check)
|
13996
|
+
@grpc_tls_health_check = args[:grpc_tls_health_check] if args.key?(:grpc_tls_health_check)
|
13901
13997
|
@healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold)
|
13902
13998
|
@http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check)
|
13903
13999
|
@http_health_check = args[:http_health_check] if args.key?(:http_health_check)
|
@@ -18152,11 +18248,12 @@ module Google
|
|
18152
18248
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
18153
18249
|
include Google::Apis::Core::Hashable
|
18154
18250
|
|
18155
|
-
# The action that a MIG performs on a failed
|
18156
|
-
#
|
18157
|
-
#
|
18158
|
-
#
|
18159
|
-
#
|
18251
|
+
# The action that a MIG performs on a failed VM. If the value of the
|
18252
|
+
# onFailedHealthCheck field is `DEFAULT_ACTION`, then the same action also
|
18253
|
+
# applies to the VMs on which your application fails a health check. Valid
|
18254
|
+
# values are - REPAIR (default): MIG automatically repairs a failed VM by
|
18255
|
+
# recreating it. For more information, see About repairing VMs in a MIG. -
|
18256
|
+
# DO_NOTHING: MIG does not repair a failed VM.
|
18160
18257
|
# Corresponds to the JSON property `defaultActionOnFailure`
|
18161
18258
|
# @return [String]
|
18162
18259
|
attr_accessor :default_action_on_failure
|
@@ -18362,6 +18459,14 @@ module Google
|
|
18362
18459
|
# @return [Fixnum]
|
18363
18460
|
attr_accessor :id
|
18364
18461
|
|
18462
|
+
# The names of instances to be created by this resize request. The number of
|
18463
|
+
# names specified determines the number of instances to create. The group's
|
18464
|
+
# target size will be increased by this number. This field cannot be used
|
18465
|
+
# together with 'resize_by'.
|
18466
|
+
# Corresponds to the JSON property `instances`
|
18467
|
+
# @return [Array<Google::Apis::ComputeBeta::PerInstanceConfig>]
|
18468
|
+
attr_accessor :instances
|
18469
|
+
|
18365
18470
|
# [Output Only] The resource type, which is always compute#
|
18366
18471
|
# instanceGroupManagerResizeRequest for resize requests.
|
18367
18472
|
# Corresponds to the JSON property `kind`
|
@@ -18431,6 +18536,7 @@ module Google
|
|
18431
18536
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
18432
18537
|
@description = args[:description] if args.key?(:description)
|
18433
18538
|
@id = args[:id] if args.key?(:id)
|
18539
|
+
@instances = args[:instances] if args.key?(:instances)
|
18434
18540
|
@kind = args[:kind] if args.key?(:kind)
|
18435
18541
|
@name = args[:name] if args.key?(:name)
|
18436
18542
|
@region = args[:region] if args.key?(:region)
|
@@ -21477,7 +21583,7 @@ module Google
|
|
21477
21583
|
class InstancesReportHostAsFaultyRequest
|
21478
21584
|
include Google::Apis::Core::Hashable
|
21479
21585
|
|
21480
|
-
# The disruption schedule for the VM.
|
21586
|
+
# The disruption schedule for the VM. Required field, only allows IMMEDIATE.
|
21481
21587
|
# Corresponds to the JSON property `disruptionSchedule`
|
21482
21588
|
# @return [String]
|
21483
21589
|
attr_accessor :disruption_schedule
|
@@ -23996,7 +24102,7 @@ module Google
|
|
23996
24102
|
|
23997
24103
|
# [Output only] List of link types available at this InterconnectLocation, which
|
23998
24104
|
# can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR -
|
23999
|
-
# LINK_TYPE_ETHERNET_100G_LR
|
24105
|
+
# LINK_TYPE_ETHERNET_100G_LR - LINK_TYPE_ETHERNET_400G_LR4
|
24000
24106
|
# Corresponds to the JSON property `availableLinkTypes`
|
24001
24107
|
# @return [Array<String>]
|
24002
24108
|
attr_accessor :available_link_types
|
@@ -25440,6 +25546,23 @@ module Google
|
|
25440
25546
|
# @return [String]
|
25441
25547
|
attr_accessor :kind
|
25442
25548
|
|
25549
|
+
# A fingerprint for the labels being applied to this machine image, which is
|
25550
|
+
# essentially a hash of the labels set used for optimistic locking. The
|
25551
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
25552
|
+
# request to modify or update labels. You must always provide an up-to-date
|
25553
|
+
# fingerprint hash in order to update or change labels. To see the latest
|
25554
|
+
# fingerprint, make get() request to the machine image.
|
25555
|
+
# Corresponds to the JSON property `labelFingerprint`
|
25556
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
25557
|
+
# @return [String]
|
25558
|
+
attr_accessor :label_fingerprint
|
25559
|
+
|
25560
|
+
# Labels to apply to this machine image. These can be later modified by the
|
25561
|
+
# setLabels method.
|
25562
|
+
# Corresponds to the JSON property `labels`
|
25563
|
+
# @return [Hash<String,String>]
|
25564
|
+
attr_accessor :labels
|
25565
|
+
|
25443
25566
|
# Encrypts the machine image using a customer-supplied encryption key. After you
|
25444
25567
|
# encrypt a machine image using a customer-supplied key, you must provide the
|
25445
25568
|
# same key if you use the machine image later. For example, you must provide the
|
@@ -25536,6 +25659,8 @@ module Google
|
|
25536
25659
|
@id = args[:id] if args.key?(:id)
|
25537
25660
|
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
25538
25661
|
@kind = args[:kind] if args.key?(:kind)
|
25662
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
25663
|
+
@labels = args[:labels] if args.key?(:labels)
|
25539
25664
|
@machine_image_encryption_key = args[:machine_image_encryption_key] if args.key?(:machine_image_encryption_key)
|
25540
25665
|
@name = args[:name] if args.key?(:name)
|
25541
25666
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -27060,6 +27185,11 @@ module Google
|
|
27060
27185
|
# @return [String]
|
27061
27186
|
attr_accessor :network_profile
|
27062
27187
|
|
27188
|
+
# Additional network parameters.
|
27189
|
+
# Corresponds to the JSON property `params`
|
27190
|
+
# @return [Google::Apis::ComputeBeta::NetworkParams]
|
27191
|
+
attr_accessor :params
|
27192
|
+
|
27063
27193
|
# [Output Only] A list of network peerings for the resource.
|
27064
27194
|
# Corresponds to the JSON property `peerings`
|
27065
27195
|
# @return [Array<Google::Apis::ComputeBeta::NetworkPeering>]
|
@@ -27108,6 +27238,7 @@ module Google
|
|
27108
27238
|
@name = args[:name] if args.key?(:name)
|
27109
27239
|
@network_firewall_policy_enforcement_order = args[:network_firewall_policy_enforcement_order] if args.key?(:network_firewall_policy_enforcement_order)
|
27110
27240
|
@network_profile = args[:network_profile] if args.key?(:network_profile)
|
27241
|
+
@params = args[:params] if args.key?(:params)
|
27111
27242
|
@peerings = args[:peerings] if args.key?(:peerings)
|
27112
27243
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
27113
27244
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -29406,6 +29537,32 @@ module Google
|
|
29406
29537
|
end
|
29407
29538
|
end
|
29408
29539
|
|
29540
|
+
# Additional network parameters.
|
29541
|
+
class NetworkParams
|
29542
|
+
include Google::Apis::Core::Hashable
|
29543
|
+
|
29544
|
+
# Tag keys/values directly bound to this resource. Tag keys and values have the
|
29545
|
+
# same definition as resource manager tags. The field is allowed for INSERT only.
|
29546
|
+
# The keys/values to set on the resource should be specified in either ID ` : `
|
29547
|
+
# or Namespaced format ` : `. For example the following are valid inputs: * `"
|
29548
|
+
# tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
|
29549
|
+
# environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
|
29550
|
+
# of ID & namespaced format is not supported. For instance: `"123/environment" :
|
29551
|
+
# "tagValues/444"` is invalid.
|
29552
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
29553
|
+
# @return [Hash<String,String>]
|
29554
|
+
attr_accessor :resource_manager_tags
|
29555
|
+
|
29556
|
+
def initialize(**args)
|
29557
|
+
update!(**args)
|
29558
|
+
end
|
29559
|
+
|
29560
|
+
# Update properties of this object
|
29561
|
+
def update!(**args)
|
29562
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
29563
|
+
end
|
29564
|
+
end
|
29565
|
+
|
29409
29566
|
# A network peering attached to a network resource. The message includes the
|
29410
29567
|
# peering name, peer network, peering state, and a flag indicating whether
|
29411
29568
|
# Google Compute Engine should automatically create routes for the peering.
|
@@ -29479,7 +29636,7 @@ module Google
|
|
29479
29636
|
# @return [String]
|
29480
29637
|
attr_accessor :network
|
29481
29638
|
|
29482
|
-
# Maximum Transmission Unit in bytes.
|
29639
|
+
# [Output Only] Maximum Transmission Unit in bytes of the peer network.
|
29483
29640
|
# Corresponds to the JSON property `peerMtu`
|
29484
29641
|
# @return [Fixnum]
|
29485
29642
|
attr_accessor :peer_mtu
|
@@ -29670,6 +29827,11 @@ module Google
|
|
29670
29827
|
# @return [String]
|
29671
29828
|
attr_accessor :allow_cloud_router
|
29672
29829
|
|
29830
|
+
# Specifies whether default NIC attachment is allowed.
|
29831
|
+
# Corresponds to the JSON property `allowDefaultNicAttachment`
|
29832
|
+
# @return [String]
|
29833
|
+
attr_accessor :allow_default_nic_attachment
|
29834
|
+
|
29673
29835
|
# Specifies whether VMs are allowed to have external IP access on network
|
29674
29836
|
# interfaces connected to this VPC.
|
29675
29837
|
# Corresponds to the JSON property `allowExternalIpAccess`
|
@@ -29681,6 +29843,11 @@ module Google
|
|
29681
29843
|
# @return [String]
|
29682
29844
|
attr_accessor :allow_interconnect
|
29683
29845
|
|
29846
|
+
# Specifies whether IP forwarding is allowed.
|
29847
|
+
# Corresponds to the JSON property `allowIpForwarding`
|
29848
|
+
# @return [String]
|
29849
|
+
attr_accessor :allow_ip_forwarding
|
29850
|
+
|
29684
29851
|
# Specifies whether cloud load balancing is allowed.
|
29685
29852
|
# Corresponds to the JSON property `allowLoadBalancing`
|
29686
29853
|
# @return [String]
|
@@ -29691,6 +29858,16 @@ module Google
|
|
29691
29858
|
# @return [String]
|
29692
29859
|
attr_accessor :allow_multi_nic_in_same_network
|
29693
29860
|
|
29861
|
+
# Specifies whether NCC is allowed.
|
29862
|
+
# Corresponds to the JSON property `allowNcc`
|
29863
|
+
# @return [String]
|
29864
|
+
attr_accessor :allow_ncc
|
29865
|
+
|
29866
|
+
# Specifies whether VM network migration is allowed.
|
29867
|
+
# Corresponds to the JSON property `allowNetworkMigration`
|
29868
|
+
# @return [String]
|
29869
|
+
attr_accessor :allow_network_migration
|
29870
|
+
|
29694
29871
|
# Specifies whether Packet Mirroring 1.0 is supported.
|
29695
29872
|
# Corresponds to the JSON property `allowPacketMirroring`
|
29696
29873
|
# @return [String]
|
@@ -29747,6 +29924,16 @@ module Google
|
|
29747
29924
|
# @return [Array<String>]
|
29748
29925
|
attr_accessor :subnet_stack_types
|
29749
29926
|
|
29927
|
+
# Specifies which subnetwork purposes are supported.
|
29928
|
+
# Corresponds to the JSON property `subnetworkPurposes`
|
29929
|
+
# @return [Array<String>]
|
29930
|
+
attr_accessor :subnetwork_purposes
|
29931
|
+
|
29932
|
+
# Specifies which subnetwork stack types are supported.
|
29933
|
+
# Corresponds to the JSON property `subnetworkStackTypes`
|
29934
|
+
# @return [Array<String>]
|
29935
|
+
attr_accessor :subnetwork_stack_types
|
29936
|
+
|
29750
29937
|
# Specifies which type of unicast is supported.
|
29751
29938
|
# Corresponds to the JSON property `unicast`
|
29752
29939
|
# @return [String]
|
@@ -29764,10 +29951,14 @@ module Google
|
|
29764
29951
|
@allow_class_d_firewalls = args[:allow_class_d_firewalls] if args.key?(:allow_class_d_firewalls)
|
29765
29952
|
@allow_cloud_nat = args[:allow_cloud_nat] if args.key?(:allow_cloud_nat)
|
29766
29953
|
@allow_cloud_router = args[:allow_cloud_router] if args.key?(:allow_cloud_router)
|
29954
|
+
@allow_default_nic_attachment = args[:allow_default_nic_attachment] if args.key?(:allow_default_nic_attachment)
|
29767
29955
|
@allow_external_ip_access = args[:allow_external_ip_access] if args.key?(:allow_external_ip_access)
|
29768
29956
|
@allow_interconnect = args[:allow_interconnect] if args.key?(:allow_interconnect)
|
29957
|
+
@allow_ip_forwarding = args[:allow_ip_forwarding] if args.key?(:allow_ip_forwarding)
|
29769
29958
|
@allow_load_balancing = args[:allow_load_balancing] if args.key?(:allow_load_balancing)
|
29770
29959
|
@allow_multi_nic_in_same_network = args[:allow_multi_nic_in_same_network] if args.key?(:allow_multi_nic_in_same_network)
|
29960
|
+
@allow_ncc = args[:allow_ncc] if args.key?(:allow_ncc)
|
29961
|
+
@allow_network_migration = args[:allow_network_migration] if args.key?(:allow_network_migration)
|
29771
29962
|
@allow_packet_mirroring = args[:allow_packet_mirroring] if args.key?(:allow_packet_mirroring)
|
29772
29963
|
@allow_private_google_access = args[:allow_private_google_access] if args.key?(:allow_private_google_access)
|
29773
29964
|
@allow_psc = args[:allow_psc] if args.key?(:allow_psc)
|
@@ -29779,6 +29970,8 @@ module Google
|
|
29779
29970
|
@interface_types = args[:interface_types] if args.key?(:interface_types)
|
29780
29971
|
@subnet_purposes = args[:subnet_purposes] if args.key?(:subnet_purposes)
|
29781
29972
|
@subnet_stack_types = args[:subnet_stack_types] if args.key?(:subnet_stack_types)
|
29973
|
+
@subnetwork_purposes = args[:subnetwork_purposes] if args.key?(:subnetwork_purposes)
|
29974
|
+
@subnetwork_stack_types = args[:subnetwork_stack_types] if args.key?(:subnetwork_stack_types)
|
29782
29975
|
@unicast = args[:unicast] if args.key?(:unicast)
|
29783
29976
|
end
|
29784
29977
|
end
|
@@ -37548,6 +37741,12 @@ module Google
|
|
37548
37741
|
# @return [String]
|
37549
37742
|
attr_accessor :kind
|
37550
37743
|
|
37744
|
+
# [Output Only] Full or partial URL to parent commitments. This field displays
|
37745
|
+
# for reservations that are tied to multiple commitments.
|
37746
|
+
# Corresponds to the JSON property `linkedCommitments`
|
37747
|
+
# @return [Array<String>]
|
37748
|
+
attr_accessor :linked_commitments
|
37749
|
+
|
37551
37750
|
# The name of the resource, provided by the client when initially creating the
|
37552
37751
|
# resource. The resource name must be 1-63 characters long, and comply with
|
37553
37752
|
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
@@ -37640,6 +37839,7 @@ module Google
|
|
37640
37839
|
@description = args[:description] if args.key?(:description)
|
37641
37840
|
@id = args[:id] if args.key?(:id)
|
37642
37841
|
@kind = args[:kind] if args.key?(:kind)
|
37842
|
+
@linked_commitments = args[:linked_commitments] if args.key?(:linked_commitments)
|
37643
37843
|
@name = args[:name] if args.key?(:name)
|
37644
37844
|
@reservation_mode = args[:reservation_mode] if args.key?(:reservation_mode)
|
37645
37845
|
@reservation_sharing_policy = args[:reservation_sharing_policy] if args.key?(:reservation_sharing_policy)
|
@@ -39223,6 +39423,11 @@ module Google
|
|
39223
39423
|
# @return [Hash<String,String>]
|
39224
39424
|
attr_accessor :labels
|
39225
39425
|
|
39426
|
+
# Region where the snapshot is scoped to.
|
39427
|
+
# Corresponds to the JSON property `region`
|
39428
|
+
# @return [String]
|
39429
|
+
attr_accessor :region
|
39430
|
+
|
39226
39431
|
# Cloud Storage bucket storage location of the auto snapshot (regional or multi-
|
39227
39432
|
# regional).
|
39228
39433
|
# Corresponds to the JSON property `storageLocations`
|
@@ -39238,6 +39443,7 @@ module Google
|
|
39238
39443
|
@chain_name = args[:chain_name] if args.key?(:chain_name)
|
39239
39444
|
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
39240
39445
|
@labels = args[:labels] if args.key?(:labels)
|
39446
|
+
@region = args[:region] if args.key?(:region)
|
39241
39447
|
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
39242
39448
|
end
|
39243
39449
|
end
|
@@ -39610,8 +39816,9 @@ module Google
|
|
39610
39816
|
attr_accessor :next_hop_inter_region_cost
|
39611
39817
|
|
39612
39818
|
# [Output Only] The URL to an InterconnectAttachment which is the next hop for
|
39613
|
-
# the route. This field will only be populated for
|
39614
|
-
#
|
39819
|
+
# the route. This field will only be populated for dynamic routes generated by
|
39820
|
+
# Cloud Router with a linked interconnectAttachment or the static route
|
39821
|
+
# generated by each L2 Interconnect Attachment.
|
39615
39822
|
# Corresponds to the JSON property `nextHopInterconnectAttachment`
|
39616
39823
|
# @return [String]
|
39617
39824
|
attr_accessor :next_hop_interconnect_attachment
|
@@ -39654,6 +39861,11 @@ module Google
|
|
39654
39861
|
# @return [String]
|
39655
39862
|
attr_accessor :next_hop_vpn_tunnel
|
39656
39863
|
|
39864
|
+
# Additional route parameters.
|
39865
|
+
# Corresponds to the JSON property `params`
|
39866
|
+
# @return [Google::Apis::ComputeBeta::RouteParams]
|
39867
|
+
attr_accessor :params
|
39868
|
+
|
39657
39869
|
# The priority of this route. Priority is used to break ties in cases where
|
39658
39870
|
# there is more than one matching route of equal prefix length. In cases where
|
39659
39871
|
# multiple routes have equal prefix length, the one with the lowest-numbered
|
@@ -39719,6 +39931,7 @@ module Google
|
|
39719
39931
|
@next_hop_origin = args[:next_hop_origin] if args.key?(:next_hop_origin)
|
39720
39932
|
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
|
39721
39933
|
@next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
|
39934
|
+
@params = args[:params] if args.key?(:params)
|
39722
39935
|
@priority = args[:priority] if args.key?(:priority)
|
39723
39936
|
@route_status = args[:route_status] if args.key?(:route_status)
|
39724
39937
|
@route_type = args[:route_type] if args.key?(:route_type)
|
@@ -39940,6 +40153,32 @@ module Google
|
|
39940
40153
|
end
|
39941
40154
|
end
|
39942
40155
|
|
40156
|
+
# Additional route parameters.
|
40157
|
+
class RouteParams
|
40158
|
+
include Google::Apis::Core::Hashable
|
40159
|
+
|
40160
|
+
# Tag keys/values directly bound to this resource. Tag keys and values have the
|
40161
|
+
# same definition as resource manager tags. The field is allowed for INSERT only.
|
40162
|
+
# The keys/values to set on the resource should be specified in either ID ` : `
|
40163
|
+
# or Namespaced format ` : `. For example the following are valid inputs: * `"
|
40164
|
+
# tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
|
40165
|
+
# environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
|
40166
|
+
# of ID & namespaced format is not supported. For instance: `"123/environment" :
|
40167
|
+
# "tagValues/444"` is invalid.
|
40168
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
40169
|
+
# @return [Hash<String,String>]
|
40170
|
+
attr_accessor :resource_manager_tags
|
40171
|
+
|
40172
|
+
def initialize(**args)
|
40173
|
+
update!(**args)
|
40174
|
+
end
|
40175
|
+
|
40176
|
+
# Update properties of this object
|
40177
|
+
def update!(**args)
|
40178
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
40179
|
+
end
|
40180
|
+
end
|
40181
|
+
|
39943
40182
|
#
|
39944
40183
|
class RoutePolicy
|
39945
40184
|
include Google::Apis::Core::Hashable
|
@@ -45492,7 +45731,7 @@ module Google
|
|
45492
45731
|
|
45493
45732
|
# Represents a Persistent Disk Snapshot resource. You can use snapshots to back
|
45494
45733
|
# up data on a regular interval. For more information, read Creating persistent
|
45495
|
-
# disk snapshots.
|
45734
|
+
# disk snapshots. LINT.IfChange
|
45496
45735
|
class Snapshot
|
45497
45736
|
include Google::Apis::Core::Hashable
|
45498
45737
|
|
@@ -49062,6 +49301,11 @@ module Google
|
|
49062
49301
|
# @return [String]
|
49063
49302
|
attr_accessor :network
|
49064
49303
|
|
49304
|
+
# Additional subnetwork parameters.
|
49305
|
+
# Corresponds to the JSON property `params`
|
49306
|
+
# @return [Google::Apis::ComputeBeta::SubnetworkParams]
|
49307
|
+
attr_accessor :params
|
49308
|
+
|
49065
49309
|
# Whether the VMs in this subnet can access Google services without assigned
|
49066
49310
|
# external IP addresses. This field can be both set at resource creation time
|
49067
49311
|
# and updated using setPrivateIpGoogleAccess.
|
@@ -49076,20 +49320,7 @@ module Google
|
|
49076
49320
|
# @return [String]
|
49077
49321
|
attr_accessor :private_ipv6_google_access
|
49078
49322
|
|
49079
|
-
#
|
49080
|
-
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION,
|
49081
|
-
# PRIVATE_SERVICE_CONNECT or PRIVATE_NAT. PRIVATE is the default purpose for
|
49082
|
-
# user-created subnets or subnets that are automatically created in auto mode
|
49083
|
-
# networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or
|
49084
|
-
# REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for
|
49085
|
-
# Envoy-based load balancers. A subnet with purpose set to
|
49086
|
-
# PRIVATE_SERVICE_CONNECT is used to publish services using Private Service
|
49087
|
-
# Connect. A subnet with purpose set to PEER_MIGRATION is used for subnet
|
49088
|
-
# migration from one peered VPC to another. A subnet with purpose set to
|
49089
|
-
# PRIVATE_NAT is used for Private NAT IP address by Private NAT Gateway. If
|
49090
|
-
# unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field
|
49091
|
-
# isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or
|
49092
|
-
# REGIONAL_MANAGED_PROXY.
|
49323
|
+
#
|
49093
49324
|
# Corresponds to the JSON property `purpose`
|
49094
49325
|
# @return [String]
|
49095
49326
|
attr_accessor :purpose
|
@@ -49170,6 +49401,7 @@ module Google
|
|
49170
49401
|
@log_config = args[:log_config] if args.key?(:log_config)
|
49171
49402
|
@name = args[:name] if args.key?(:name)
|
49172
49403
|
@network = args[:network] if args.key?(:network)
|
49404
|
+
@params = args[:params] if args.key?(:params)
|
49173
49405
|
@private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
|
49174
49406
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
49175
49407
|
@purpose = args[:purpose] if args.key?(:purpose)
|
@@ -49491,6 +49723,32 @@ module Google
|
|
49491
49723
|
end
|
49492
49724
|
end
|
49493
49725
|
|
49726
|
+
# Additional subnetwork parameters.
|
49727
|
+
class SubnetworkParams
|
49728
|
+
include Google::Apis::Core::Hashable
|
49729
|
+
|
49730
|
+
# Tag keys/values directly bound to this resource. Tag keys and values have the
|
49731
|
+
# same definition as resource manager tags. The field is allowed for INSERT only.
|
49732
|
+
# The keys/values to set on the resource should be specified in either ID ` : `
|
49733
|
+
# or Namespaced format ` : `. For example the following are valid inputs: * `"
|
49734
|
+
# tagKeys/333" : "tagValues/444", "tagKeys/123" : "tagValues/456"` * `"123/
|
49735
|
+
# environment" : "production", "345/abc" : "xyz"` Note: * Invalid combinations
|
49736
|
+
# of ID & namespaced format is not supported. For instance: `"123/environment" :
|
49737
|
+
# "tagValues/444"` is invalid.
|
49738
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
49739
|
+
# @return [Hash<String,String>]
|
49740
|
+
attr_accessor :resource_manager_tags
|
49741
|
+
|
49742
|
+
def initialize(**args)
|
49743
|
+
update!(**args)
|
49744
|
+
end
|
49745
|
+
|
49746
|
+
# Update properties of this object
|
49747
|
+
def update!(**args)
|
49748
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
49749
|
+
end
|
49750
|
+
end
|
49751
|
+
|
49494
49752
|
# Represents a secondary IP range of a subnetwork.
|
49495
49753
|
class SubnetworkSecondaryRange
|
49496
49754
|
include Google::Apis::Core::Hashable
|
@@ -53516,6 +53774,12 @@ module Google
|
|
53516
53774
|
# @return [String]
|
53517
53775
|
attr_accessor :latest_window_start_time
|
53518
53776
|
|
53777
|
+
# Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
|
53778
|
+
# Corresponds to the JSON property `maintenanceOnShutdown`
|
53779
|
+
# @return [Boolean]
|
53780
|
+
attr_accessor :maintenance_on_shutdown
|
53781
|
+
alias_method :maintenance_on_shutdown?, :maintenance_on_shutdown
|
53782
|
+
|
53519
53783
|
#
|
53520
53784
|
# Corresponds to the JSON property `maintenanceStatus`
|
53521
53785
|
# @return [String]
|
@@ -53546,6 +53810,7 @@ module Google
|
|
53546
53810
|
def update!(**args)
|
53547
53811
|
@can_reschedule = args[:can_reschedule] if args.key?(:can_reschedule)
|
53548
53812
|
@latest_window_start_time = args[:latest_window_start_time] if args.key?(:latest_window_start_time)
|
53813
|
+
@maintenance_on_shutdown = args[:maintenance_on_shutdown] if args.key?(:maintenance_on_shutdown)
|
53549
53814
|
@maintenance_status = args[:maintenance_status] if args.key?(:maintenance_status)
|
53550
53815
|
@type = args[:type] if args.key?(:type)
|
53551
53816
|
@window_end_time = args[:window_end_time] if args.key?(:window_end_time)
|
@@ -54351,20 +54616,7 @@ module Google
|
|
54351
54616
|
# @return [String]
|
54352
54617
|
attr_accessor :network
|
54353
54618
|
|
54354
|
-
#
|
54355
|
-
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION,
|
54356
|
-
# PRIVATE_SERVICE_CONNECT or PRIVATE_NAT. PRIVATE is the default purpose for
|
54357
|
-
# user-created subnets or subnets that are automatically created in auto mode
|
54358
|
-
# networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or
|
54359
|
-
# REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for
|
54360
|
-
# Envoy-based load balancers. A subnet with purpose set to
|
54361
|
-
# PRIVATE_SERVICE_CONNECT is used to publish services using Private Service
|
54362
|
-
# Connect. A subnet with purpose set to PEER_MIGRATION is used for subnet
|
54363
|
-
# migration from one peered VPC to another. A subnet with purpose set to
|
54364
|
-
# PRIVATE_NAT is used for Private NAT IP address by Private NAT Gateway. If
|
54365
|
-
# unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field
|
54366
|
-
# isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or
|
54367
|
-
# REGIONAL_MANAGED_PROXY.
|
54619
|
+
#
|
54368
54620
|
# Corresponds to the JSON property `purpose`
|
54369
54621
|
# @return [String]
|
54370
54622
|
attr_accessor :purpose
|
@@ -56280,11 +56532,6 @@ module Google
|
|
56280
56532
|
# @return [String]
|
56281
56533
|
attr_accessor :self_link
|
56282
56534
|
|
56283
|
-
#
|
56284
|
-
# Corresponds to the JSON property `selfLinkWithId`
|
56285
|
-
# @return [String]
|
56286
|
-
attr_accessor :self_link_with_id
|
56287
|
-
|
56288
56535
|
# Topology details for the wire group.
|
56289
56536
|
# Corresponds to the JSON property `topology`
|
56290
56537
|
# @return [Google::Apis::ComputeBeta::WireGroupTopology]
|
@@ -56320,7 +56567,6 @@ module Google
|
|
56320
56567
|
@kind = args[:kind] if args.key?(:kind)
|
56321
56568
|
@name = args[:name] if args.key?(:name)
|
56322
56569
|
@self_link = args[:self_link] if args.key?(:self_link)
|
56323
|
-
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
56324
56570
|
@topology = args[:topology] if args.key?(:topology)
|
56325
56571
|
@wire_group_properties = args[:wire_group_properties] if args.key?(:wire_group_properties)
|
56326
56572
|
@wire_properties = args[:wire_properties] if args.key?(:wire_properties)
|
@@ -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.113.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1264,6 +1264,12 @@ module Google
|
|
1264
1264
|
include Google::Apis::Core::JsonObjectSupport
|
1265
1265
|
end
|
1266
1266
|
|
1267
|
+
class FirewallParams
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
|
+
|
1270
|
+
include Google::Apis::Core::JsonObjectSupport
|
1271
|
+
end
|
1272
|
+
|
1267
1273
|
class FirewallPoliciesListAssociationsResponse
|
1268
1274
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
1275
|
|
@@ -1594,6 +1600,12 @@ module Google
|
|
1594
1600
|
include Google::Apis::Core::JsonObjectSupport
|
1595
1601
|
end
|
1596
1602
|
|
1603
|
+
class GrpctlsHealthCheck
|
1604
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
|
+
|
1606
|
+
include Google::Apis::Core::JsonObjectSupport
|
1607
|
+
end
|
1608
|
+
|
1597
1609
|
class GlobalAddressesMoveRequest
|
1598
1610
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
1611
|
|
@@ -3730,6 +3742,12 @@ module Google
|
|
3730
3742
|
include Google::Apis::Core::JsonObjectSupport
|
3731
3743
|
end
|
3732
3744
|
|
3745
|
+
class NetworkParams
|
3746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3747
|
+
|
3748
|
+
include Google::Apis::Core::JsonObjectSupport
|
3749
|
+
end
|
3750
|
+
|
3733
3751
|
class NetworkPeering
|
3734
3752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3735
3753
|
|
@@ -5254,6 +5272,12 @@ module Google
|
|
5254
5272
|
include Google::Apis::Core::JsonObjectSupport
|
5255
5273
|
end
|
5256
5274
|
|
5275
|
+
class RouteParams
|
5276
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5277
|
+
|
5278
|
+
include Google::Apis::Core::JsonObjectSupport
|
5279
|
+
end
|
5280
|
+
|
5257
5281
|
class RoutePolicy
|
5258
5282
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5259
5283
|
|
@@ -6460,6 +6484,12 @@ module Google
|
|
6460
6484
|
include Google::Apis::Core::JsonObjectSupport
|
6461
6485
|
end
|
6462
6486
|
|
6487
|
+
class SubnetworkParams
|
6488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6489
|
+
|
6490
|
+
include Google::Apis::Core::JsonObjectSupport
|
6491
|
+
end
|
6492
|
+
|
6463
6493
|
class SubnetworkSecondaryRange
|
6464
6494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6465
6495
|
|
@@ -9140,7 +9170,6 @@ module Google
|
|
9140
9170
|
property :kind, as: 'kind'
|
9141
9171
|
property :name, as: 'name'
|
9142
9172
|
property :self_link, as: 'selfLink'
|
9143
|
-
property :self_link_with_id, as: 'selfLinkWithId'
|
9144
9173
|
end
|
9145
9174
|
end
|
9146
9175
|
|
@@ -9801,6 +9830,8 @@ module Google
|
|
9801
9830
|
|
9802
9831
|
property :name, as: 'name'
|
9803
9832
|
property :network, as: 'network'
|
9833
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::FirewallParams, decorator: Google::Apis::ComputeBeta::FirewallParams::Representation
|
9834
|
+
|
9804
9835
|
property :priority, as: 'priority'
|
9805
9836
|
property :self_link, as: 'selfLink'
|
9806
9837
|
collection :source_ranges, as: 'sourceRanges'
|
@@ -9867,6 +9898,13 @@ module Google
|
|
9867
9898
|
end
|
9868
9899
|
end
|
9869
9900
|
|
9901
|
+
class FirewallParams
|
9902
|
+
# @private
|
9903
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9904
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
9905
|
+
end
|
9906
|
+
end
|
9907
|
+
|
9870
9908
|
class FirewallPoliciesListAssociationsResponse
|
9871
9909
|
# @private
|
9872
9910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9936,6 +9974,7 @@ module Google
|
|
9936
9974
|
property :display_name, as: 'displayName'
|
9937
9975
|
property :firewall_policy_id, as: 'firewallPolicyId'
|
9938
9976
|
property :name, as: 'name'
|
9977
|
+
property :priority, as: 'priority'
|
9939
9978
|
property :short_name, as: 'shortName'
|
9940
9979
|
end
|
9941
9980
|
end
|
@@ -10525,6 +10564,15 @@ module Google
|
|
10525
10564
|
end
|
10526
10565
|
end
|
10527
10566
|
|
10567
|
+
class GrpctlsHealthCheck
|
10568
|
+
# @private
|
10569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10570
|
+
property :grpc_service_name, as: 'grpcServiceName'
|
10571
|
+
property :port, as: 'port'
|
10572
|
+
property :port_specification, as: 'portSpecification'
|
10573
|
+
end
|
10574
|
+
end
|
10575
|
+
|
10528
10576
|
class GlobalAddressesMoveRequest
|
10529
10577
|
# @private
|
10530
10578
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10674,6 +10722,8 @@ module Google
|
|
10674
10722
|
property :description, as: 'description'
|
10675
10723
|
property :grpc_health_check, as: 'grpcHealthCheck', class: Google::Apis::ComputeBeta::GrpcHealthCheck, decorator: Google::Apis::ComputeBeta::GrpcHealthCheck::Representation
|
10676
10724
|
|
10725
|
+
property :grpc_tls_health_check, as: 'grpcTlsHealthCheck', class: Google::Apis::ComputeBeta::GrpctlsHealthCheck, decorator: Google::Apis::ComputeBeta::GrpctlsHealthCheck::Representation
|
10726
|
+
|
10677
10727
|
property :healthy_threshold, as: 'healthyThreshold'
|
10678
10728
|
property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeBeta::Http2HealthCheck, decorator: Google::Apis::ComputeBeta::Http2HealthCheck::Representation
|
10679
10729
|
|
@@ -11725,6 +11775,8 @@ module Google
|
|
11725
11775
|
property :creation_timestamp, as: 'creationTimestamp'
|
11726
11776
|
property :description, as: 'description'
|
11727
11777
|
property :id, :numeric_string => true, as: 'id'
|
11778
|
+
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
|
11779
|
+
|
11728
11780
|
property :kind, as: 'kind'
|
11729
11781
|
property :name, as: 'name'
|
11730
11782
|
property :region, as: 'region'
|
@@ -13578,6 +13630,8 @@ module Google
|
|
13578
13630
|
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeBeta::InstanceProperties, decorator: Google::Apis::ComputeBeta::InstanceProperties::Representation
|
13579
13631
|
|
13580
13632
|
property :kind, as: 'kind'
|
13633
|
+
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
13634
|
+
hash :labels, as: 'labels'
|
13581
13635
|
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
13582
13636
|
|
13583
13637
|
property :name, as: 'name'
|
@@ -13995,6 +14049,8 @@ module Google
|
|
13995
14049
|
property :name, as: 'name'
|
13996
14050
|
property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
|
13997
14051
|
property :network_profile, as: 'networkProfile'
|
14052
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::NetworkParams, decorator: Google::Apis::ComputeBeta::NetworkParams::Representation
|
14053
|
+
|
13998
14054
|
collection :peerings, as: 'peerings', class: Google::Apis::ComputeBeta::NetworkPeering, decorator: Google::Apis::ComputeBeta::NetworkPeering::Representation
|
13999
14055
|
|
14000
14056
|
property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeBeta::NetworkRoutingConfig, decorator: Google::Apis::ComputeBeta::NetworkRoutingConfig::Representation
|
@@ -14571,6 +14627,13 @@ module Google
|
|
14571
14627
|
end
|
14572
14628
|
end
|
14573
14629
|
|
14630
|
+
class NetworkParams
|
14631
|
+
# @private
|
14632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14633
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
14634
|
+
end
|
14635
|
+
end
|
14636
|
+
|
14574
14637
|
class NetworkPeering
|
14575
14638
|
# @private
|
14576
14639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14630,10 +14693,14 @@ module Google
|
|
14630
14693
|
property :allow_class_d_firewalls, as: 'allowClassDFirewalls'
|
14631
14694
|
property :allow_cloud_nat, as: 'allowCloudNat'
|
14632
14695
|
property :allow_cloud_router, as: 'allowCloudRouter'
|
14696
|
+
property :allow_default_nic_attachment, as: 'allowDefaultNicAttachment'
|
14633
14697
|
property :allow_external_ip_access, as: 'allowExternalIpAccess'
|
14634
14698
|
property :allow_interconnect, as: 'allowInterconnect'
|
14699
|
+
property :allow_ip_forwarding, as: 'allowIpForwarding'
|
14635
14700
|
property :allow_load_balancing, as: 'allowLoadBalancing'
|
14636
14701
|
property :allow_multi_nic_in_same_network, as: 'allowMultiNicInSameNetwork'
|
14702
|
+
property :allow_ncc, as: 'allowNcc'
|
14703
|
+
property :allow_network_migration, as: 'allowNetworkMigration'
|
14637
14704
|
property :allow_packet_mirroring, as: 'allowPacketMirroring'
|
14638
14705
|
property :allow_private_google_access, as: 'allowPrivateGoogleAccess'
|
14639
14706
|
property :allow_psc, as: 'allowPsc'
|
@@ -14645,6 +14712,8 @@ module Google
|
|
14645
14712
|
collection :interface_types, as: 'interfaceTypes'
|
14646
14713
|
collection :subnet_purposes, as: 'subnetPurposes'
|
14647
14714
|
collection :subnet_stack_types, as: 'subnetStackTypes'
|
14715
|
+
collection :subnetwork_purposes, as: 'subnetworkPurposes'
|
14716
|
+
collection :subnetwork_stack_types, as: 'subnetworkStackTypes'
|
14648
14717
|
property :unicast, as: 'unicast'
|
14649
14718
|
end
|
14650
14719
|
end
|
@@ -16690,6 +16759,7 @@ module Google
|
|
16690
16759
|
property :description, as: 'description'
|
16691
16760
|
property :id, :numeric_string => true, as: 'id'
|
16692
16761
|
property :kind, as: 'kind'
|
16762
|
+
collection :linked_commitments, as: 'linkedCommitments'
|
16693
16763
|
property :name, as: 'name'
|
16694
16764
|
property :reservation_mode, as: 'reservationMode'
|
16695
16765
|
property :reservation_sharing_policy, as: 'reservationSharingPolicy', class: Google::Apis::ComputeBeta::AllocationReservationSharingPolicy, decorator: Google::Apis::ComputeBeta::AllocationReservationSharingPolicy::Representation
|
@@ -17148,6 +17218,7 @@ module Google
|
|
17148
17218
|
property :chain_name, as: 'chainName'
|
17149
17219
|
property :guest_flush, as: 'guestFlush'
|
17150
17220
|
hash :labels, as: 'labels'
|
17221
|
+
property :region, as: 'region'
|
17151
17222
|
collection :storage_locations, as: 'storageLocations'
|
17152
17223
|
end
|
17153
17224
|
end
|
@@ -17254,6 +17325,8 @@ module Google
|
|
17254
17325
|
property :next_hop_origin, as: 'nextHopOrigin'
|
17255
17326
|
property :next_hop_peering, as: 'nextHopPeering'
|
17256
17327
|
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
|
17328
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::RouteParams, decorator: Google::Apis::ComputeBeta::RouteParams::Representation
|
17329
|
+
|
17257
17330
|
property :priority, as: 'priority'
|
17258
17331
|
property :route_status, as: 'routeStatus'
|
17259
17332
|
property :route_type, as: 'routeType'
|
@@ -17322,6 +17395,13 @@ module Google
|
|
17322
17395
|
end
|
17323
17396
|
end
|
17324
17397
|
|
17398
|
+
class RouteParams
|
17399
|
+
# @private
|
17400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
17401
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
17402
|
+
end
|
17403
|
+
end
|
17404
|
+
|
17325
17405
|
class RoutePolicy
|
17326
17406
|
# @private
|
17327
17407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19556,6 +19636,8 @@ module Google
|
|
19556
19636
|
|
19557
19637
|
property :name, as: 'name'
|
19558
19638
|
property :network, as: 'network'
|
19639
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::SubnetworkParams, decorator: Google::Apis::ComputeBeta::SubnetworkParams::Representation
|
19640
|
+
|
19559
19641
|
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
19560
19642
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
19561
19643
|
property :purpose, as: 'purpose'
|
@@ -19647,6 +19729,13 @@ module Google
|
|
19647
19729
|
end
|
19648
19730
|
end
|
19649
19731
|
|
19732
|
+
class SubnetworkParams
|
19733
|
+
# @private
|
19734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
19735
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
19736
|
+
end
|
19737
|
+
end
|
19738
|
+
|
19650
19739
|
class SubnetworkSecondaryRange
|
19651
19740
|
# @private
|
19652
19741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20651,6 +20740,7 @@ module Google
|
|
20651
20740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
20652
20741
|
property :can_reschedule, as: 'canReschedule'
|
20653
20742
|
property :latest_window_start_time, as: 'latestWindowStartTime'
|
20743
|
+
property :maintenance_on_shutdown, as: 'maintenanceOnShutdown'
|
20654
20744
|
property :maintenance_status, as: 'maintenanceStatus'
|
20655
20745
|
property :type, as: 'type'
|
20656
20746
|
property :window_end_time, as: 'windowEndTime'
|
@@ -21328,7 +21418,6 @@ module Google
|
|
21328
21418
|
property :kind, as: 'kind'
|
21329
21419
|
property :name, as: 'name'
|
21330
21420
|
property :self_link, as: 'selfLink'
|
21331
|
-
property :self_link_with_id, as: 'selfLinkWithId'
|
21332
21421
|
property :topology, as: 'topology', class: Google::Apis::ComputeBeta::WireGroupTopology, decorator: Google::Apis::ComputeBeta::WireGroupTopology::Representation
|
21333
21422
|
|
21334
21423
|
property :wire_group_properties, as: 'wireGroupProperties', class: Google::Apis::ComputeBeta::WireGroupProperties, decorator: Google::Apis::ComputeBeta::WireGroupProperties::Representation
|
@@ -19788,6 +19788,46 @@ module Google
|
|
19788
19788
|
execute_or_queue_command(command, &block)
|
19789
19789
|
end
|
19790
19790
|
|
19791
|
+
# Sets the labels on a machine image. To learn more about labels, read the
|
19792
|
+
# Labeling Resources documentation.
|
19793
|
+
# @param [String] project
|
19794
|
+
# Project ID for this request.
|
19795
|
+
# @param [String] resource
|
19796
|
+
# Name or id of the resource for this request.
|
19797
|
+
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
19798
|
+
# @param [String] fields
|
19799
|
+
# Selector specifying which fields to include in a partial response.
|
19800
|
+
# @param [String] quota_user
|
19801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
19802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
19803
|
+
# @param [String] user_ip
|
19804
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
19805
|
+
# @param [Google::Apis::RequestOptions] options
|
19806
|
+
# Request-specific options
|
19807
|
+
#
|
19808
|
+
# @yield [result, err] Result & error if block supplied
|
19809
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
19810
|
+
# @yieldparam err [StandardError] error object if request failed
|
19811
|
+
#
|
19812
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
19813
|
+
#
|
19814
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
19815
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
19816
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
19817
|
+
def set_machine_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
19818
|
+
command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/setLabels', options)
|
19819
|
+
command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation
|
19820
|
+
command.request_object = global_set_labels_request_object
|
19821
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
19822
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
19823
|
+
command.params['project'] = project unless project.nil?
|
19824
|
+
command.params['resource'] = resource unless resource.nil?
|
19825
|
+
command.query['fields'] = fields unless fields.nil?
|
19826
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
19827
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
19828
|
+
execute_or_queue_command(command, &block)
|
19829
|
+
end
|
19830
|
+
|
19791
19831
|
# Returns permissions that a caller has on the specified resource.
|
19792
19832
|
# @param [String] project
|
19793
19833
|
# Project ID for this request.
|
@@ -34957,6 +34997,10 @@ module Google
|
|
34957
34997
|
# @param [String] firewall_policy
|
34958
34998
|
# Name of the firewall policy to update.
|
34959
34999
|
# @param [Google::Apis::ComputeBeta::FirewallPolicyAssociation] firewall_policy_association_object
|
35000
|
+
# @param [String] associated_policy_to_be_replaced
|
35001
|
+
# Name of the firewall policy associated with the target network to swap
|
35002
|
+
# association with. This field is mutually exclusive with '
|
35003
|
+
# replace_existing_association'.
|
34960
35004
|
# @param [Boolean] replace_existing_association
|
34961
35005
|
# Indicates whether or not to replace it if an association already exists. This
|
34962
35006
|
# is false by default, in which case an error will be returned if an association
|
@@ -34990,7 +35034,7 @@ module Google
|
|
34990
35034
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34991
35035
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34992
35036
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34993
|
-
def add_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35037
|
+
def add_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, associated_policy_to_be_replaced: nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34994
35038
|
command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation', options)
|
34995
35039
|
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyAssociation::Representation
|
34996
35040
|
command.request_object = firewall_policy_association_object
|
@@ -34999,6 +35043,7 @@ module Google
|
|
34999
35043
|
command.params['project'] = project unless project.nil?
|
35000
35044
|
command.params['region'] = region unless region.nil?
|
35001
35045
|
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
35046
|
+
command.query['associatedPolicyToBeReplaced'] = associated_policy_to_be_replaced unless associated_policy_to_be_replaced.nil?
|
35002
35047
|
command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
|
35003
35048
|
command.query['requestId'] = request_id unless request_id.nil?
|
35004
35049
|
command.query['fields'] = fields unless fields.nil?
|
@@ -35574,6 +35619,59 @@ module Google
|
|
35574
35619
|
execute_or_queue_command(command, &block)
|
35575
35620
|
end
|
35576
35621
|
|
35622
|
+
# Updates an association for the specified network firewall policy.
|
35623
|
+
# @param [String] project
|
35624
|
+
# Project ID for this request.
|
35625
|
+
# @param [String] region
|
35626
|
+
# Name of the region scoping this request.
|
35627
|
+
# @param [String] firewall_policy
|
35628
|
+
# Name of the firewall policy to update.
|
35629
|
+
# @param [Google::Apis::ComputeBeta::FirewallPolicyAssociation] firewall_policy_association_object
|
35630
|
+
# @param [String] request_id
|
35631
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
35632
|
+
# that if you must retry your request, the server will know to ignore the
|
35633
|
+
# request if it has already been completed. For example, consider a situation
|
35634
|
+
# where you make an initial request and the request times out. If you make the
|
35635
|
+
# request again with the same request ID, the server can check if original
|
35636
|
+
# operation with the same request ID was received, and if so, will ignore the
|
35637
|
+
# second request. This prevents clients from accidentally creating duplicate
|
35638
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
35639
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35640
|
+
# @param [String] fields
|
35641
|
+
# Selector specifying which fields to include in a partial response.
|
35642
|
+
# @param [String] quota_user
|
35643
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
35644
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35645
|
+
# @param [String] user_ip
|
35646
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35647
|
+
# @param [Google::Apis::RequestOptions] options
|
35648
|
+
# Request-specific options
|
35649
|
+
#
|
35650
|
+
# @yield [result, err] Result & error if block supplied
|
35651
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
35652
|
+
# @yieldparam err [StandardError] error object if request failed
|
35653
|
+
#
|
35654
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
35655
|
+
#
|
35656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35659
|
+
def patch_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35660
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchAssociation', options)
|
35661
|
+
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyAssociation::Representation
|
35662
|
+
command.request_object = firewall_policy_association_object
|
35663
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
35664
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
35665
|
+
command.params['project'] = project unless project.nil?
|
35666
|
+
command.params['region'] = region unless region.nil?
|
35667
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
35668
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
35669
|
+
command.query['fields'] = fields unless fields.nil?
|
35670
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35671
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
35672
|
+
execute_or_queue_command(command, &block)
|
35673
|
+
end
|
35674
|
+
|
35577
35675
|
# Patches a rule of the specified priority.
|
35578
35676
|
# @param [String] project
|
35579
35677
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.113.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.113.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:
|