google-apis-compute_v1 0.25.0 → 0.26.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_v1/classes.rb +49 -271
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +1 -74
- data/lib/google/apis/compute_v1/service.rb +2580 -4209
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd9686461142ebbdd85f3a9dc96c629460fd10478cd9ef87365c7fcc02b57945
|
|
4
|
+
data.tar.gz: bfd617971db314843349faf2d6b11308fd7a618e44f6680560f9bdd4e2953bab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7da2251269faebc4c6fb97eec66522ba9d1c5c08b4bc50279ee5a5503bf2bd6e8d6db62aeb43c6b2287a17d6170af454f986037a6b48190bea707378e06a78e
|
|
7
|
+
data.tar.gz: ccca8474564060ea5199a2e6a5e1b7d2000caf9a6a8ba5cfd131e4cd4b11c4e066866d9650dff70bacd852b4310f7a5342f6d2ff9bee855185af2435d977c95e
|
data/CHANGELOG.md
CHANGED
|
@@ -1517,6 +1517,11 @@ module Google
|
|
|
1517
1517
|
# @return [Array<Google::Apis::ComputeV1::AuditLogConfig>]
|
|
1518
1518
|
attr_accessor :audit_log_configs
|
|
1519
1519
|
|
|
1520
|
+
# This is deprecated and has no effect. Do not use.
|
|
1521
|
+
# Corresponds to the JSON property `exemptedMembers`
|
|
1522
|
+
# @return [Array<String>]
|
|
1523
|
+
attr_accessor :exempted_members
|
|
1524
|
+
|
|
1520
1525
|
# Specifies a service that will be enabled for audit logging. For example, `
|
|
1521
1526
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
1522
1527
|
# value that covers all services.
|
|
@@ -1531,6 +1536,7 @@ module Google
|
|
|
1531
1536
|
# Update properties of this object
|
|
1532
1537
|
def update!(**args)
|
|
1533
1538
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
|
1539
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
1534
1540
|
@service = args[:service] if args.key?(:service)
|
|
1535
1541
|
end
|
|
1536
1542
|
end
|
|
@@ -3263,13 +3269,9 @@ module Google
|
|
|
3263
3269
|
# @return [Google::Apis::ComputeV1::Subsetting]
|
|
3264
3270
|
attr_accessor :subsetting
|
|
3265
3271
|
|
|
3266
|
-
#
|
|
3267
|
-
#
|
|
3268
|
-
#
|
|
3269
|
-
# seconds. This value can be overridden in the PathMatcher configuration of the
|
|
3270
|
-
# UrlMap that references this backend service. Not supported when the backend
|
|
3271
|
-
# service is referenced by a URL map that is bound to target gRPC proxy that has
|
|
3272
|
-
# validateForProxyless field set to true. Instead, use maxStreamDuration.
|
|
3272
|
+
# Not supported when the backend service is referenced by a URL map that is
|
|
3273
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
3274
|
+
# Instead, use maxStreamDuration.
|
|
3273
3275
|
# Corresponds to the JSON property `timeoutSec`
|
|
3274
3276
|
# @return [Fixnum]
|
|
3275
3277
|
attr_accessor :timeout_sec
|
|
@@ -4624,18 +4626,14 @@ module Google
|
|
|
4624
4626
|
class CircuitBreakers
|
|
4625
4627
|
include Google::Apis::Core::Hashable
|
|
4626
4628
|
|
|
4627
|
-
#
|
|
4628
|
-
#
|
|
4629
|
-
# URL map that is bound to target gRPC proxy that has validateForProxyless field
|
|
4630
|
-
# set to true.
|
|
4629
|
+
# Not supported when the backend service is referenced by a URL map that is
|
|
4630
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
4631
4631
|
# Corresponds to the JSON property `maxConnections`
|
|
4632
4632
|
# @return [Fixnum]
|
|
4633
4633
|
attr_accessor :max_connections
|
|
4634
4634
|
|
|
4635
|
-
#
|
|
4636
|
-
#
|
|
4637
|
-
# referenced by a URL map that is bound to target gRPC proxy that has
|
|
4638
|
-
# validateForProxyless field set to true.
|
|
4635
|
+
# Not supported when the backend service is referenced by a URL map that is
|
|
4636
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
4639
4637
|
# Corresponds to the JSON property `maxPendingRequests`
|
|
4640
4638
|
# @return [Fixnum]
|
|
4641
4639
|
attr_accessor :max_pending_requests
|
|
@@ -4646,20 +4644,14 @@ module Google
|
|
|
4646
4644
|
# @return [Fixnum]
|
|
4647
4645
|
attr_accessor :max_requests
|
|
4648
4646
|
|
|
4649
|
-
#
|
|
4650
|
-
#
|
|
4651
|
-
# specified, there is no limit. Setting this parameter to 1 will effectively
|
|
4652
|
-
# disable keep alive. Not supported when the backend service is referenced by a
|
|
4653
|
-
# URL map that is bound to target gRPC proxy that has validateForProxyless field
|
|
4654
|
-
# set to true.
|
|
4647
|
+
# Not supported when the backend service is referenced by a URL map that is
|
|
4648
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
4655
4649
|
# Corresponds to the JSON property `maxRequestsPerConnection`
|
|
4656
4650
|
# @return [Fixnum]
|
|
4657
4651
|
attr_accessor :max_requests_per_connection
|
|
4658
4652
|
|
|
4659
|
-
#
|
|
4660
|
-
#
|
|
4661
|
-
# referenced by a URL map that is bound to target gRPC proxy that has
|
|
4662
|
-
# validateForProxyless field set to true.
|
|
4653
|
+
# Not supported when the backend service is referenced by a URL map that is
|
|
4654
|
+
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
|
4663
4655
|
# Corresponds to the JSON property `maxRetries`
|
|
4664
4656
|
# @return [Fixnum]
|
|
4665
4657
|
attr_accessor :max_retries
|
|
@@ -7845,14 +7837,6 @@ module Google
|
|
|
7845
7837
|
# @return [String]
|
|
7846
7838
|
attr_accessor :parent
|
|
7847
7839
|
|
|
7848
|
-
# [Output Only] URL of the region where the regional firewall policy resides.
|
|
7849
|
-
# This field is not applicable to global firewall policies. You must specify
|
|
7850
|
-
# this field as part of the HTTP request URL. It is not settable as a field in
|
|
7851
|
-
# the request body.
|
|
7852
|
-
# Corresponds to the JSON property `region`
|
|
7853
|
-
# @return [String]
|
|
7854
|
-
attr_accessor :region
|
|
7855
|
-
|
|
7856
7840
|
# [Output Only] Total count of all firewall policy rule tuples. A firewall
|
|
7857
7841
|
# policy can not exceed a set number of tuples.
|
|
7858
7842
|
# Corresponds to the JSON property `ruleTupleCount`
|
|
@@ -7904,7 +7888,6 @@ module Google
|
|
|
7904
7888
|
@kind = args[:kind] if args.key?(:kind)
|
|
7905
7889
|
@name = args[:name] if args.key?(:name)
|
|
7906
7890
|
@parent = args[:parent] if args.key?(:parent)
|
|
7907
|
-
@region = args[:region] if args.key?(:region)
|
|
7908
7891
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
|
7909
7892
|
@rules = args[:rules] if args.key?(:rules)
|
|
7910
7893
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -8140,18 +8123,6 @@ module Google
|
|
|
8140
8123
|
# @return [Array<String>]
|
|
8141
8124
|
attr_accessor :target_resources
|
|
8142
8125
|
|
|
8143
|
-
# A list of secure tags that controls which instances the firewall rule applies
|
|
8144
|
-
# to. If targetSecureTag are specified, then the firewall rule applies only to
|
|
8145
|
-
# instances in the VPC network that have one of those EFFECTIVE secure tags, if
|
|
8146
|
-
# all the target_secure_tag are in INEFFECTIVE state, then this rule will be
|
|
8147
|
-
# ignored. targetSecureTag may not be set at the same time as
|
|
8148
|
-
# targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag
|
|
8149
|
-
# are specified, the firewall rule applies to all instances on the specified
|
|
8150
|
-
# network. Maximum number of target label tags allowed is 256.
|
|
8151
|
-
# Corresponds to the JSON property `targetSecureTags`
|
|
8152
|
-
# @return [Array<Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag>]
|
|
8153
|
-
attr_accessor :target_secure_tags
|
|
8154
|
-
|
|
8155
8126
|
# A list of service accounts indicating the sets of instances that are applied
|
|
8156
8127
|
# with this rule.
|
|
8157
8128
|
# Corresponds to the JSON property `targetServiceAccounts`
|
|
@@ -8174,7 +8145,6 @@ module Google
|
|
|
8174
8145
|
@priority = args[:priority] if args.key?(:priority)
|
|
8175
8146
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
|
8176
8147
|
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
|
8177
|
-
@target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
|
|
8178
8148
|
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
|
8179
8149
|
end
|
|
8180
8150
|
end
|
|
@@ -8200,14 +8170,6 @@ module Google
|
|
|
8200
8170
|
# @return [Array<String>]
|
|
8201
8171
|
attr_accessor :src_ip_ranges
|
|
8202
8172
|
|
|
8203
|
-
# List of secure tag values, which should be matched at the source of the
|
|
8204
|
-
# traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there
|
|
8205
|
-
# is no srcIpRange, this rule will be ignored. Maximum number of source tag
|
|
8206
|
-
# values allowed is 256.
|
|
8207
|
-
# Corresponds to the JSON property `srcSecureTags`
|
|
8208
|
-
# @return [Array<Google::Apis::ComputeV1::FirewallPolicyRuleSecureTag>]
|
|
8209
|
-
attr_accessor :src_secure_tags
|
|
8210
|
-
|
|
8211
8173
|
def initialize(**args)
|
|
8212
8174
|
update!(**args)
|
|
8213
8175
|
end
|
|
@@ -8217,7 +8179,6 @@ module Google
|
|
|
8217
8179
|
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
|
8218
8180
|
@layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
|
|
8219
8181
|
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
|
8220
|
-
@src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
|
|
8221
8182
|
end
|
|
8222
8183
|
end
|
|
8223
8184
|
|
|
@@ -8252,32 +8213,6 @@ module Google
|
|
|
8252
8213
|
end
|
|
8253
8214
|
end
|
|
8254
8215
|
|
|
8255
|
-
#
|
|
8256
|
-
class FirewallPolicyRuleSecureTag
|
|
8257
|
-
include Google::Apis::Core::Hashable
|
|
8258
|
-
|
|
8259
|
-
# Name of the secure tag, created with TagManager's TagValue API.
|
|
8260
|
-
# Corresponds to the JSON property `name`
|
|
8261
|
-
# @return [String]
|
|
8262
|
-
attr_accessor :name
|
|
8263
|
-
|
|
8264
|
-
# [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A
|
|
8265
|
-
# secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
|
|
8266
|
-
# Corresponds to the JSON property `state`
|
|
8267
|
-
# @return [String]
|
|
8268
|
-
attr_accessor :state
|
|
8269
|
-
|
|
8270
|
-
def initialize(**args)
|
|
8271
|
-
update!(**args)
|
|
8272
|
-
end
|
|
8273
|
-
|
|
8274
|
-
# Update properties of this object
|
|
8275
|
-
def update!(**args)
|
|
8276
|
-
@name = args[:name] if args.key?(:name)
|
|
8277
|
-
@state = args[:state] if args.key?(:state)
|
|
8278
|
-
end
|
|
8279
|
-
end
|
|
8280
|
-
|
|
8281
8216
|
# Encapsulates numeric value that can be either absolute or relative.
|
|
8282
8217
|
class FixedOrPercent
|
|
8283
8218
|
include Google::Apis::Core::Hashable
|
|
@@ -9375,8 +9310,8 @@ module Google
|
|
|
9375
9310
|
# The ID of a supported feature. To add multiple values, use commas to separate
|
|
9376
9311
|
# values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
|
|
9377
9312
|
# WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC -
|
|
9378
|
-
# SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE
|
|
9379
|
-
#
|
|
9313
|
+
# SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE For more information, see Enabling
|
|
9314
|
+
# guest operating system features.
|
|
9380
9315
|
# Corresponds to the JSON property `type`
|
|
9381
9316
|
# @return [String]
|
|
9382
9317
|
attr_accessor :type
|
|
@@ -12340,11 +12275,6 @@ module Google
|
|
|
12340
12275
|
# @return [Google::Apis::ComputeV1::NetworkPerformanceConfig]
|
|
12341
12276
|
attr_accessor :network_performance_config
|
|
12342
12277
|
|
|
12343
|
-
# Additional instance params.
|
|
12344
|
-
# Corresponds to the JSON property `params`
|
|
12345
|
-
# @return [Google::Apis::ComputeV1::InstanceParams]
|
|
12346
|
-
attr_accessor :params
|
|
12347
|
-
|
|
12348
12278
|
# The private IPv6 google access type for the VM. If not specified, use
|
|
12349
12279
|
# INHERIT_FROM_SUBNETWORK as default.
|
|
12350
12280
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
|
@@ -12471,7 +12401,6 @@ module Google
|
|
|
12471
12401
|
@name = args[:name] if args.key?(:name)
|
|
12472
12402
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
|
12473
12403
|
@network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
|
|
12474
|
-
@params = args[:params] if args.key?(:params)
|
|
12475
12404
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
|
12476
12405
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
|
12477
12406
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
|
@@ -12666,8 +12595,8 @@ module Google
|
|
|
12666
12595
|
# Assigns a name to a port number. For example: `name: "http", port: 80` This
|
|
12667
12596
|
# allows the system to reference ports by the assigned name instead of a port
|
|
12668
12597
|
# number. Named ports can also contain multiple ports. For example: [`name: "
|
|
12669
|
-
#
|
|
12670
|
-
#
|
|
12598
|
+
# http", port: 80`,`name: "http", port: 8080`] Named ports apply to all
|
|
12599
|
+
# instances in this instance group.
|
|
12671
12600
|
# Corresponds to the JSON property `namedPorts`
|
|
12672
12601
|
# @return [Array<Google::Apis::ComputeV1::NamedPort>]
|
|
12673
12602
|
attr_accessor :named_ports
|
|
@@ -14945,28 +14874,6 @@ module Google
|
|
|
14945
14874
|
end
|
|
14946
14875
|
end
|
|
14947
14876
|
|
|
14948
|
-
# Additional instance params.
|
|
14949
|
-
class InstanceParams
|
|
14950
|
-
include Google::Apis::Core::Hashable
|
|
14951
|
-
|
|
14952
|
-
# Resource manager tags to be bound to the instance. Tag keys and values have
|
|
14953
|
-
# the same definition as resource manager tags. Keys must be in the format `
|
|
14954
|
-
# tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
|
|
14955
|
-
# is ignored (both PUT & PATCH) when empty.
|
|
14956
|
-
# Corresponds to the JSON property `resourceManagerTags`
|
|
14957
|
-
# @return [Hash<String,String>]
|
|
14958
|
-
attr_accessor :resource_manager_tags
|
|
14959
|
-
|
|
14960
|
-
def initialize(**args)
|
|
14961
|
-
update!(**args)
|
|
14962
|
-
end
|
|
14963
|
-
|
|
14964
|
-
# Update properties of this object
|
|
14965
|
-
def update!(**args)
|
|
14966
|
-
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
|
14967
|
-
end
|
|
14968
|
-
end
|
|
14969
|
-
|
|
14970
14877
|
#
|
|
14971
14878
|
class InstanceProperties
|
|
14972
14879
|
include Google::Apis::Core::Hashable
|
|
@@ -15446,8 +15353,7 @@ module Google
|
|
|
15446
15353
|
# @return [String]
|
|
15447
15354
|
attr_accessor :short_name
|
|
15448
15355
|
|
|
15449
|
-
# [Output Only] The type of the firewall policy.
|
|
15450
|
-
# NETWORK, NETWORK_REGIONAL.
|
|
15356
|
+
# [Output Only] The type of the firewall policy.
|
|
15451
15357
|
# Corresponds to the JSON property `type`
|
|
15452
15358
|
# @return [String]
|
|
15453
15359
|
attr_accessor :type
|
|
@@ -16029,9 +15935,10 @@ module Google
|
|
|
16029
15935
|
# @return [String]
|
|
16030
15936
|
attr_accessor :customer_router_ipv6_interface_id
|
|
16031
15937
|
|
|
16032
|
-
# [Output
|
|
16033
|
-
#
|
|
16034
|
-
#
|
|
15938
|
+
# [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.
|
|
15939
|
+
# ] Dataplane version for this InterconnectAttachment. This field is only
|
|
15940
|
+
# present for Dataplane version 2 and higher. Absence of this field in the API
|
|
15941
|
+
# output indicates that the Dataplane is version 1.
|
|
16035
15942
|
# Corresponds to the JSON property `dataplaneVersion`
|
|
16036
15943
|
# @return [Fixnum]
|
|
16037
15944
|
attr_accessor :dataplane_version
|
|
@@ -19106,13 +19013,6 @@ module Google
|
|
|
19106
19013
|
# @return [String]
|
|
19107
19014
|
attr_accessor :description
|
|
19108
19015
|
|
|
19109
|
-
# Enable ULA internal ipv6 on this network. Enabling this feature will assign a /
|
|
19110
|
-
# 48 from google defined ULA prefix fd20::/20. .
|
|
19111
|
-
# Corresponds to the JSON property `enableUlaInternalIpv6`
|
|
19112
|
-
# @return [Boolean]
|
|
19113
|
-
attr_accessor :enable_ula_internal_ipv6
|
|
19114
|
-
alias_method :enable_ula_internal_ipv6?, :enable_ula_internal_ipv6
|
|
19115
|
-
|
|
19116
19016
|
# [Output Only] The gateway address for default routing out of the network,
|
|
19117
19017
|
# selected by GCP.
|
|
19118
19018
|
# Corresponds to the JSON property `gatewayIPv4`
|
|
@@ -19125,16 +19025,6 @@ module Google
|
|
|
19125
19025
|
# @return [Fixnum]
|
|
19126
19026
|
attr_accessor :id
|
|
19127
19027
|
|
|
19128
|
-
# When enabling ula internal ipv6, caller optionally can specify the /48 range
|
|
19129
|
-
# they want from the google defined ULA prefix fd20::/20. The input must be a
|
|
19130
|
-
# valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will
|
|
19131
|
-
# fail if the speficied /48 is already in used by another resource. If the field
|
|
19132
|
-
# is not speficied, then a /48 range will be randomly allocated from fd20::/20
|
|
19133
|
-
# and returned via this field. .
|
|
19134
|
-
# Corresponds to the JSON property `internalIpv6Range`
|
|
19135
|
-
# @return [String]
|
|
19136
|
-
attr_accessor :internal_ipv6_range
|
|
19137
|
-
|
|
19138
19028
|
# [Output Only] Type of the resource. Always compute#network for networks.
|
|
19139
19029
|
# Corresponds to the JSON property `kind`
|
|
19140
19030
|
# @return [String]
|
|
@@ -19156,13 +19046,6 @@ module Google
|
|
|
19156
19046
|
# @return [String]
|
|
19157
19047
|
attr_accessor :name
|
|
19158
19048
|
|
|
19159
|
-
# The network firewall policy enforcement order. Can be either
|
|
19160
|
-
# AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to
|
|
19161
|
-
# AFTER_CLASSIC_FIREWALL if the field is not specified.
|
|
19162
|
-
# Corresponds to the JSON property `networkFirewallPolicyEnforcementOrder`
|
|
19163
|
-
# @return [String]
|
|
19164
|
-
attr_accessor :network_firewall_policy_enforcement_order
|
|
19165
|
-
|
|
19166
19049
|
# [Output Only] A list of network peerings for the resource.
|
|
19167
19050
|
# Corresponds to the JSON property `peerings`
|
|
19168
19051
|
# @return [Array<Google::Apis::ComputeV1::NetworkPeering>]
|
|
@@ -19180,11 +19063,6 @@ module Google
|
|
|
19180
19063
|
# @return [String]
|
|
19181
19064
|
attr_accessor :self_link
|
|
19182
19065
|
|
|
19183
|
-
# [Output Only] Server-defined URL for this resource with the resource id.
|
|
19184
|
-
# Corresponds to the JSON property `selfLinkWithId`
|
|
19185
|
-
# @return [String]
|
|
19186
|
-
attr_accessor :self_link_with_id
|
|
19187
|
-
|
|
19188
19066
|
# [Output Only] Server-defined fully-qualified URLs for all subnetworks in this
|
|
19189
19067
|
# VPC network.
|
|
19190
19068
|
# Corresponds to the JSON property `subnetworks`
|
|
@@ -19201,18 +19079,14 @@ module Google
|
|
|
19201
19079
|
@auto_create_subnetworks = args[:auto_create_subnetworks] if args.key?(:auto_create_subnetworks)
|
|
19202
19080
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
19203
19081
|
@description = args[:description] if args.key?(:description)
|
|
19204
|
-
@enable_ula_internal_ipv6 = args[:enable_ula_internal_ipv6] if args.key?(:enable_ula_internal_ipv6)
|
|
19205
19082
|
@gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
|
|
19206
19083
|
@id = args[:id] if args.key?(:id)
|
|
19207
|
-
@internal_ipv6_range = args[:internal_ipv6_range] if args.key?(:internal_ipv6_range)
|
|
19208
19084
|
@kind = args[:kind] if args.key?(:kind)
|
|
19209
19085
|
@mtu = args[:mtu] if args.key?(:mtu)
|
|
19210
19086
|
@name = args[:name] if args.key?(:name)
|
|
19211
|
-
@network_firewall_policy_enforcement_order = args[:network_firewall_policy_enforcement_order] if args.key?(:network_firewall_policy_enforcement_order)
|
|
19212
19087
|
@peerings = args[:peerings] if args.key?(:peerings)
|
|
19213
19088
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
|
19214
19089
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
19215
|
-
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
|
19216
19090
|
@subnetworks = args[:subnetworks] if args.key?(:subnetworks)
|
|
19217
19091
|
end
|
|
19218
19092
|
end
|
|
@@ -19352,8 +19226,8 @@ module Google
|
|
|
19352
19226
|
attr_accessor :network
|
|
19353
19227
|
|
|
19354
19228
|
# Type of network endpoints in this network endpoint group. Can be one of
|
|
19355
|
-
#
|
|
19356
|
-
#
|
|
19229
|
+
# GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT,
|
|
19230
|
+
# SERVERLESS, PRIVATE_SERVICE_CONNECT.
|
|
19357
19231
|
# Corresponds to the JSON property `networkEndpointType`
|
|
19358
19232
|
# @return [String]
|
|
19359
19233
|
attr_accessor :network_endpoint_type
|
|
@@ -19639,13 +19513,13 @@ module Google
|
|
|
19639
19513
|
# @return [String]
|
|
19640
19514
|
attr_accessor :tag
|
|
19641
19515
|
|
|
19642
|
-
# A template to parse
|
|
19643
|
-
#
|
|
19644
|
-
#
|
|
19645
|
-
#
|
|
19646
|
-
#
|
|
19647
|
-
#
|
|
19648
|
-
#
|
|
19516
|
+
# A template to parse service and tag fields from a request URL. URL mask allows
|
|
19517
|
+
# for routing to multiple Run services without having to create multiple network
|
|
19518
|
+
# endpoint groups and backend services. For example, request URLs "foo1.domain.
|
|
19519
|
+
# com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless
|
|
19520
|
+
# Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will
|
|
19521
|
+
# parse them to ` service="bar1", tag="foo1" ` and ` service="bar2", tag="foo2" `
|
|
19522
|
+
# respectively.
|
|
19649
19523
|
# Corresponds to the JSON property `urlMask`
|
|
19650
19524
|
# @return [String]
|
|
19651
19525
|
attr_accessor :url_mask
|
|
@@ -20096,11 +19970,6 @@ module Google
|
|
|
20096
19970
|
# @return [String]
|
|
20097
19971
|
attr_accessor :fingerprint
|
|
20098
19972
|
|
|
20099
|
-
# The prefix length of the primary internal IPv6 range.
|
|
20100
|
-
# Corresponds to the JSON property `internalIpv6PrefixLength`
|
|
20101
|
-
# @return [Fixnum]
|
|
20102
|
-
attr_accessor :internal_ipv6_prefix_length
|
|
20103
|
-
|
|
20104
19973
|
# An array of IPv6 access configurations for this interface. Currently, only one
|
|
20105
19974
|
# IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig
|
|
20106
19975
|
# specified, then this instance will have no external IPv6 Internet access.
|
|
@@ -20192,7 +20061,6 @@ module Google
|
|
|
20192
20061
|
@access_configs = args[:access_configs] if args.key?(:access_configs)
|
|
20193
20062
|
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
|
|
20194
20063
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
20195
|
-
@internal_ipv6_prefix_length = args[:internal_ipv6_prefix_length] if args.key?(:internal_ipv6_prefix_length)
|
|
20196
20064
|
@ipv6_access_configs = args[:ipv6_access_configs] if args.key?(:ipv6_access_configs)
|
|
20197
20065
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
|
20198
20066
|
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
|
@@ -26762,69 +26630,6 @@ module Google
|
|
|
26762
26630
|
end
|
|
26763
26631
|
end
|
|
26764
26632
|
|
|
26765
|
-
#
|
|
26766
|
-
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
|
26767
|
-
include Google::Apis::Core::Hashable
|
|
26768
|
-
|
|
26769
|
-
# Effective firewalls from firewall policy.
|
|
26770
|
-
# Corresponds to the JSON property `firewallPolicys`
|
|
26771
|
-
# @return [Array<Google::Apis::ComputeV1::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>]
|
|
26772
|
-
attr_accessor :firewall_policys
|
|
26773
|
-
|
|
26774
|
-
# Effective firewalls on the network.
|
|
26775
|
-
# Corresponds to the JSON property `firewalls`
|
|
26776
|
-
# @return [Array<Google::Apis::ComputeV1::Firewall>]
|
|
26777
|
-
attr_accessor :firewalls
|
|
26778
|
-
|
|
26779
|
-
def initialize(**args)
|
|
26780
|
-
update!(**args)
|
|
26781
|
-
end
|
|
26782
|
-
|
|
26783
|
-
# Update properties of this object
|
|
26784
|
-
def update!(**args)
|
|
26785
|
-
@firewall_policys = args[:firewall_policys] if args.key?(:firewall_policys)
|
|
26786
|
-
@firewalls = args[:firewalls] if args.key?(:firewalls)
|
|
26787
|
-
end
|
|
26788
|
-
end
|
|
26789
|
-
|
|
26790
|
-
#
|
|
26791
|
-
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
|
|
26792
|
-
include Google::Apis::Core::Hashable
|
|
26793
|
-
|
|
26794
|
-
# [Output Only] The display name of the firewall policy.
|
|
26795
|
-
# Corresponds to the JSON property `displayName`
|
|
26796
|
-
# @return [String]
|
|
26797
|
-
attr_accessor :display_name
|
|
26798
|
-
|
|
26799
|
-
# [Output Only] The name of the firewall policy.
|
|
26800
|
-
# Corresponds to the JSON property `name`
|
|
26801
|
-
# @return [String]
|
|
26802
|
-
attr_accessor :name
|
|
26803
|
-
|
|
26804
|
-
# The rules that apply to the network.
|
|
26805
|
-
# Corresponds to the JSON property `rules`
|
|
26806
|
-
# @return [Array<Google::Apis::ComputeV1::FirewallPolicyRule>]
|
|
26807
|
-
attr_accessor :rules
|
|
26808
|
-
|
|
26809
|
-
# [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
|
|
26810
|
-
# NETWORK, NETWORK_REGIONAL.
|
|
26811
|
-
# Corresponds to the JSON property `type`
|
|
26812
|
-
# @return [String]
|
|
26813
|
-
attr_accessor :type
|
|
26814
|
-
|
|
26815
|
-
def initialize(**args)
|
|
26816
|
-
update!(**args)
|
|
26817
|
-
end
|
|
26818
|
-
|
|
26819
|
-
# Update properties of this object
|
|
26820
|
-
def update!(**args)
|
|
26821
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
26822
|
-
@name = args[:name] if args.key?(:name)
|
|
26823
|
-
@rules = args[:rules] if args.key?(:rules)
|
|
26824
|
-
@type = args[:type] if args.key?(:type)
|
|
26825
|
-
end
|
|
26826
|
-
end
|
|
26827
|
-
|
|
26828
26633
|
#
|
|
26829
26634
|
class RegionSetLabelsRequest
|
|
26830
26635
|
include Google::Apis::Core::Hashable
|
|
@@ -27872,8 +27677,8 @@ module Google
|
|
|
27872
27677
|
class ResourcePolicyDailyCycle
|
|
27873
27678
|
include Google::Apis::Core::Hashable
|
|
27874
27679
|
|
|
27875
|
-
# Defines a schedule with units measured in
|
|
27876
|
-
#
|
|
27680
|
+
# Defines a schedule with units measured in months. The value determines how
|
|
27681
|
+
# many months pass between the start of each cycle.
|
|
27877
27682
|
# Corresponds to the JSON property `daysInCycle`
|
|
27878
27683
|
# @return [Fixnum]
|
|
27879
27684
|
attr_accessor :days_in_cycle
|
|
@@ -29869,8 +29674,7 @@ module Google
|
|
|
29869
29674
|
# @return [String]
|
|
29870
29675
|
attr_accessor :router_appliance_instance
|
|
29871
29676
|
|
|
29872
|
-
#
|
|
29873
|
-
# see BGP session states.
|
|
29677
|
+
# BGP state as specified in RFC1771.
|
|
29874
29678
|
# Corresponds to the JSON property `state`
|
|
29875
29679
|
# @return [String]
|
|
29876
29680
|
attr_accessor :state
|
|
@@ -30736,10 +30540,10 @@ module Google
|
|
|
30736
30540
|
# @return [String]
|
|
30737
30541
|
attr_accessor :self_link
|
|
30738
30542
|
|
|
30739
|
-
# The type indicates the intended use of the security policy. -
|
|
30543
|
+
# The type indicates the intended use of the security policy. CLOUD_ARMOR -
|
|
30740
30544
|
# Cloud Armor backend security policies can be configured to filter incoming
|
|
30741
30545
|
# HTTP requests targeting backend services. They filter requests before they hit
|
|
30742
|
-
# the origin servers. -
|
|
30546
|
+
# the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can
|
|
30743
30547
|
# be configured to filter incoming HTTP requests targeting backend services (
|
|
30744
30548
|
# including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
|
|
30745
30549
|
# filter requests before the request is served from Google's cache.
|
|
@@ -31229,11 +31033,10 @@ module Google
|
|
|
31229
31033
|
# present in the request, the key type defaults to ALL. - XFF_IP: The first IP
|
|
31230
31034
|
# address (i.e. the originating client IP address) specified in the list of IPs
|
|
31231
31035
|
# under X-Forwarded-For HTTP header. If no such header is present or the value
|
|
31232
|
-
# is not a valid IP, the key defaults to
|
|
31233
|
-
#
|
|
31234
|
-
#
|
|
31235
|
-
#
|
|
31236
|
-
# request, the key type defaults to ALL.
|
|
31036
|
+
# is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of
|
|
31037
|
+
# the HTTP cookie whose name is configured under "enforce_on_key_name". The key
|
|
31038
|
+
# value is truncated to the first 128 bytes of the cookie value. If no such
|
|
31039
|
+
# cookie is present in the request, the key type defaults to ALL.
|
|
31237
31040
|
# Corresponds to the JSON property `enforceOnKey`
|
|
31238
31041
|
# @return [String]
|
|
31239
31042
|
attr_accessor :enforce_on_key
|
|
@@ -31247,9 +31050,9 @@ module Google
|
|
|
31247
31050
|
|
|
31248
31051
|
# Action to take for requests that are above the configured rate limit threshold,
|
|
31249
31052
|
# to either deny with a specified HTTP response code, or redirect to a
|
|
31250
|
-
# different endpoint. Valid options are "deny(
|
|
31251
|
-
#
|
|
31252
|
-
#
|
|
31053
|
+
# different endpoint. Valid options are "deny()" where valid values for status
|
|
31054
|
+
# are 403, 404, 429, and 502, and "redirect" where the redirect parameters come
|
|
31055
|
+
# from exceed_redirect_options below.
|
|
31253
31056
|
# Corresponds to the JSON property `exceedAction`
|
|
31254
31057
|
# @return [String]
|
|
31255
31058
|
attr_accessor :exceed_action
|
|
@@ -33646,13 +33449,6 @@ module Google
|
|
|
33646
33449
|
# @return [Fixnum]
|
|
33647
33450
|
attr_accessor :id
|
|
33648
33451
|
|
|
33649
|
-
# [Output Only] The range of internal IPv6 addresses that are owned by this
|
|
33650
|
-
# subnetwork. Note this is for general VM to VM communication, not to be
|
|
33651
|
-
# confused with the ipv6_cidr_range field.
|
|
33652
|
-
# Corresponds to the JSON property `internalIpv6Prefix`
|
|
33653
|
-
# @return [String]
|
|
33654
|
-
attr_accessor :internal_ipv6_prefix
|
|
33655
|
-
|
|
33656
33452
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
|
33657
33453
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
|
|
33658
33454
|
# 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
|
|
@@ -33790,7 +33586,6 @@ module Google
|
|
|
33790
33586
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
33791
33587
|
@gateway_address = args[:gateway_address] if args.key?(:gateway_address)
|
|
33792
33588
|
@id = args[:id] if args.key?(:id)
|
|
33793
|
-
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
|
|
33794
33589
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
|
33795
33590
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
|
33796
33591
|
@ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
|
|
@@ -34073,9 +33868,8 @@ module Google
|
|
|
34073
33868
|
attr_accessor :enable
|
|
34074
33869
|
alias_method :enable?, :enable
|
|
34075
33870
|
|
|
34076
|
-
# Can only be specified if VPC flow logs for this subnetwork is enabled.
|
|
34077
|
-
# filter
|
|
34078
|
-
# Cloud Logging.
|
|
33871
|
+
# Can only be specified if VPC flow logs for this subnetwork is enabled. Export
|
|
33872
|
+
# filter used to define which VPC flow logs should be logged.
|
|
34079
33873
|
# Corresponds to the JSON property `filterExpr`
|
|
34080
33874
|
# @return [String]
|
|
34081
33875
|
attr_accessor :filter_expr
|
|
@@ -38244,21 +38038,6 @@ module Google
|
|
|
38244
38038
|
class ValidateUrlMapsRequest
|
|
38245
38039
|
include Google::Apis::Core::Hashable
|
|
38246
38040
|
|
|
38247
|
-
# Specifies the load balancer type(s) this validation request is for. Use
|
|
38248
|
-
# EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced
|
|
38249
|
-
# Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load
|
|
38250
|
-
# Balancer. Other load balancer types are not supported. For more information,
|
|
38251
|
-
# refer to Choosing a load balancer. If unspecified, the load balancing scheme
|
|
38252
|
-
# will be inferred from the backend service resources this URL map references.
|
|
38253
|
-
# If that can not be inferred (for example, this URL map only references backend
|
|
38254
|
-
# buckets, or this Url map is for rewrites and redirects only and doesn't
|
|
38255
|
-
# reference any backends), EXTERNAL will be used as the default type. If
|
|
38256
|
-
# specified, the scheme(s) must not conflict with the load balancing scheme of
|
|
38257
|
-
# the backend service resources this Url map references.
|
|
38258
|
-
# Corresponds to the JSON property `loadBalancingSchemes`
|
|
38259
|
-
# @return [Array<String>]
|
|
38260
|
-
attr_accessor :load_balancing_schemes
|
|
38261
|
-
|
|
38262
38041
|
# Represents a URL Map resource. Compute Engine has two URL Map resources: * [
|
|
38263
38042
|
# Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/
|
|
38264
38043
|
# reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain
|
|
@@ -38284,7 +38063,6 @@ module Google
|
|
|
38284
38063
|
|
|
38285
38064
|
# Update properties of this object
|
|
38286
38065
|
def update!(**args)
|
|
38287
|
-
@load_balancing_schemes = args[:load_balancing_schemes] if args.key?(:load_balancing_schemes)
|
|
38288
38066
|
@resource = args[:resource] if args.key?(:resource)
|
|
38289
38067
|
end
|
|
38290
38068
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ComputeV1
|
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.26.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220215"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|