google-apis-compute_v1 0.24.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/compute_v1/classes.rb +271 -49
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +74 -1
- data/lib/google/apis/compute_v1/service.rb +4320 -2691
- 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: 0eefcf34d65f5b659f9b2abe175f33235472663a16bb7232961ded6a76cfcf04
|
4
|
+
data.tar.gz: e514aad2b384379348cb8516c23b9c7770554770c569623505a29f478ed4bef9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10a9baf48bcea2507b454687cdff1e371ea2e6d00a31a5b8e4a6260310f7f16322478de74c8a499bf38a747a72f725fb848438f5228bb22fb3e70860134fb3aa
|
7
|
+
data.tar.gz: 52262a16e1f2a2bea6e90dd124b43b5cad29d902af214554e3e6e05fc60e19072fb8077cda2ac04c892e8c7547edab57942a270302164c688937ea4d7bcaef6a
|
data/CHANGELOG.md
CHANGED
@@ -1517,11 +1517,6 @@ 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
|
-
|
1525
1520
|
# Specifies a service that will be enabled for audit logging. For example, `
|
1526
1521
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
1527
1522
|
# value that covers all services.
|
@@ -1536,7 +1531,6 @@ module Google
|
|
1536
1531
|
# Update properties of this object
|
1537
1532
|
def update!(**args)
|
1538
1533
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
1539
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
1540
1534
|
@service = args[:service] if args.key?(:service)
|
1541
1535
|
end
|
1542
1536
|
end
|
@@ -3269,9 +3263,13 @@ module Google
|
|
3269
3263
|
# @return [Google::Apis::ComputeV1::Subsetting]
|
3270
3264
|
attr_accessor :subsetting
|
3271
3265
|
|
3272
|
-
#
|
3273
|
-
#
|
3274
|
-
#
|
3266
|
+
# The backend service timeout has a different meaning depending on the type of
|
3267
|
+
# load balancer. For more information see, Backend service settings The default
|
3268
|
+
# is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
|
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.
|
3275
3273
|
# Corresponds to the JSON property `timeoutSec`
|
3276
3274
|
# @return [Fixnum]
|
3277
3275
|
attr_accessor :timeout_sec
|
@@ -4626,14 +4624,18 @@ module Google
|
|
4626
4624
|
class CircuitBreakers
|
4627
4625
|
include Google::Apis::Core::Hashable
|
4628
4626
|
|
4629
|
-
#
|
4630
|
-
#
|
4627
|
+
# The maximum number of connections to the backend service. If not specified,
|
4628
|
+
# there is no limit. Not supported when the backend service is referenced by a
|
4629
|
+
# URL map that is bound to target gRPC proxy that has validateForProxyless field
|
4630
|
+
# 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
|
-
#
|
4635
|
+
# The maximum number of pending requests allowed to the backend service. If not
|
4636
|
+
# specified, there is no limit. Not supported when the backend service is
|
4637
|
+
# referenced by a URL map that is bound to target gRPC proxy that has
|
4638
|
+
# validateForProxyless field set to true.
|
4637
4639
|
# Corresponds to the JSON property `maxPendingRequests`
|
4638
4640
|
# @return [Fixnum]
|
4639
4641
|
attr_accessor :max_pending_requests
|
@@ -4644,14 +4646,20 @@ module Google
|
|
4644
4646
|
# @return [Fixnum]
|
4645
4647
|
attr_accessor :max_requests
|
4646
4648
|
|
4647
|
-
#
|
4648
|
-
#
|
4649
|
+
# Maximum requests for a single connection to the backend service. This
|
4650
|
+
# parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not
|
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.
|
4649
4655
|
# Corresponds to the JSON property `maxRequestsPerConnection`
|
4650
4656
|
# @return [Fixnum]
|
4651
4657
|
attr_accessor :max_requests_per_connection
|
4652
4658
|
|
4653
|
-
#
|
4654
|
-
#
|
4659
|
+
# The maximum number of parallel retries allowed to the backend cluster. If not
|
4660
|
+
# specified, the default is 1. Not supported when the backend service is
|
4661
|
+
# referenced by a URL map that is bound to target gRPC proxy that has
|
4662
|
+
# validateForProxyless field set to true.
|
4655
4663
|
# Corresponds to the JSON property `maxRetries`
|
4656
4664
|
# @return [Fixnum]
|
4657
4665
|
attr_accessor :max_retries
|
@@ -7837,6 +7845,14 @@ module Google
|
|
7837
7845
|
# @return [String]
|
7838
7846
|
attr_accessor :parent
|
7839
7847
|
|
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
|
+
|
7840
7856
|
# [Output Only] Total count of all firewall policy rule tuples. A firewall
|
7841
7857
|
# policy can not exceed a set number of tuples.
|
7842
7858
|
# Corresponds to the JSON property `ruleTupleCount`
|
@@ -7888,6 +7904,7 @@ module Google
|
|
7888
7904
|
@kind = args[:kind] if args.key?(:kind)
|
7889
7905
|
@name = args[:name] if args.key?(:name)
|
7890
7906
|
@parent = args[:parent] if args.key?(:parent)
|
7907
|
+
@region = args[:region] if args.key?(:region)
|
7891
7908
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
7892
7909
|
@rules = args[:rules] if args.key?(:rules)
|
7893
7910
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -8123,6 +8140,18 @@ module Google
|
|
8123
8140
|
# @return [Array<String>]
|
8124
8141
|
attr_accessor :target_resources
|
8125
8142
|
|
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
|
+
|
8126
8155
|
# A list of service accounts indicating the sets of instances that are applied
|
8127
8156
|
# with this rule.
|
8128
8157
|
# Corresponds to the JSON property `targetServiceAccounts`
|
@@ -8145,6 +8174,7 @@ module Google
|
|
8145
8174
|
@priority = args[:priority] if args.key?(:priority)
|
8146
8175
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
8147
8176
|
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
8177
|
+
@target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
|
8148
8178
|
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
8149
8179
|
end
|
8150
8180
|
end
|
@@ -8170,6 +8200,14 @@ module Google
|
|
8170
8200
|
# @return [Array<String>]
|
8171
8201
|
attr_accessor :src_ip_ranges
|
8172
8202
|
|
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
|
+
|
8173
8211
|
def initialize(**args)
|
8174
8212
|
update!(**args)
|
8175
8213
|
end
|
@@ -8179,6 +8217,7 @@ module Google
|
|
8179
8217
|
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
8180
8218
|
@layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
|
8181
8219
|
@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)
|
8182
8221
|
end
|
8183
8222
|
end
|
8184
8223
|
|
@@ -8213,6 +8252,32 @@ module Google
|
|
8213
8252
|
end
|
8214
8253
|
end
|
8215
8254
|
|
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
|
+
|
8216
8281
|
# Encapsulates numeric value that can be either absolute or relative.
|
8217
8282
|
class FixedOrPercent
|
8218
8283
|
include Google::Apis::Core::Hashable
|
@@ -9310,8 +9375,8 @@ module Google
|
|
9310
9375
|
# The ID of a supported feature. To add multiple values, use commas to separate
|
9311
9376
|
# values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
|
9312
9377
|
# WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC -
|
9313
|
-
# SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE For more information,
|
9314
|
-
# guest operating system features.
|
9378
|
+
# SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information,
|
9379
|
+
# see Enabling guest operating system features.
|
9315
9380
|
# Corresponds to the JSON property `type`
|
9316
9381
|
# @return [String]
|
9317
9382
|
attr_accessor :type
|
@@ -12275,6 +12340,11 @@ module Google
|
|
12275
12340
|
# @return [Google::Apis::ComputeV1::NetworkPerformanceConfig]
|
12276
12341
|
attr_accessor :network_performance_config
|
12277
12342
|
|
12343
|
+
# Additional instance params.
|
12344
|
+
# Corresponds to the JSON property `params`
|
12345
|
+
# @return [Google::Apis::ComputeV1::InstanceParams]
|
12346
|
+
attr_accessor :params
|
12347
|
+
|
12278
12348
|
# The private IPv6 google access type for the VM. If not specified, use
|
12279
12349
|
# INHERIT_FROM_SUBNETWORK as default.
|
12280
12350
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
@@ -12401,6 +12471,7 @@ module Google
|
|
12401
12471
|
@name = args[:name] if args.key?(:name)
|
12402
12472
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
12403
12473
|
@network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
|
12474
|
+
@params = args[:params] if args.key?(:params)
|
12404
12475
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
12405
12476
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
12406
12477
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
@@ -12595,8 +12666,8 @@ module Google
|
|
12595
12666
|
# Assigns a name to a port number. For example: `name: "http", port: 80` This
|
12596
12667
|
# allows the system to reference ports by the assigned name instead of a port
|
12597
12668
|
# number. Named ports can also contain multiple ports. For example: [`name: "
|
12598
|
-
#
|
12599
|
-
# instances in this instance group.
|
12669
|
+
# app1", port: 8080`, `name: "app1", port: 8081`, `name: "app2", port: 8082`]
|
12670
|
+
# Named ports apply to all instances in this instance group.
|
12600
12671
|
# Corresponds to the JSON property `namedPorts`
|
12601
12672
|
# @return [Array<Google::Apis::ComputeV1::NamedPort>]
|
12602
12673
|
attr_accessor :named_ports
|
@@ -14874,6 +14945,28 @@ module Google
|
|
14874
14945
|
end
|
14875
14946
|
end
|
14876
14947
|
|
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
|
+
|
14877
14970
|
#
|
14878
14971
|
class InstanceProperties
|
14879
14972
|
include Google::Apis::Core::Hashable
|
@@ -15353,7 +15446,8 @@ module Google
|
|
15353
15446
|
# @return [String]
|
15354
15447
|
attr_accessor :short_name
|
15355
15448
|
|
15356
|
-
# [Output Only] The type of the firewall policy.
|
15449
|
+
# [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
|
15450
|
+
# NETWORK, NETWORK_REGIONAL.
|
15357
15451
|
# Corresponds to the JSON property `type`
|
15358
15452
|
# @return [String]
|
15359
15453
|
attr_accessor :type
|
@@ -15935,10 +16029,9 @@ module Google
|
|
15935
16029
|
# @return [String]
|
15936
16030
|
attr_accessor :customer_router_ipv6_interface_id
|
15937
16031
|
|
15938
|
-
# [Output
|
15939
|
-
#
|
15940
|
-
#
|
15941
|
-
# output indicates that the Dataplane is version 1.
|
16032
|
+
# [Output Only] Dataplane version for this InterconnectAttachment. This field is
|
16033
|
+
# only present for Dataplane version 2 and higher. Absence of this field in the
|
16034
|
+
# API output indicates that the Dataplane is version 1.
|
15942
16035
|
# Corresponds to the JSON property `dataplaneVersion`
|
15943
16036
|
# @return [Fixnum]
|
15944
16037
|
attr_accessor :dataplane_version
|
@@ -19013,6 +19106,13 @@ module Google
|
|
19013
19106
|
# @return [String]
|
19014
19107
|
attr_accessor :description
|
19015
19108
|
|
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
|
+
|
19016
19116
|
# [Output Only] The gateway address for default routing out of the network,
|
19017
19117
|
# selected by GCP.
|
19018
19118
|
# Corresponds to the JSON property `gatewayIPv4`
|
@@ -19025,6 +19125,16 @@ module Google
|
|
19025
19125
|
# @return [Fixnum]
|
19026
19126
|
attr_accessor :id
|
19027
19127
|
|
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
|
+
|
19028
19138
|
# [Output Only] Type of the resource. Always compute#network for networks.
|
19029
19139
|
# Corresponds to the JSON property `kind`
|
19030
19140
|
# @return [String]
|
@@ -19046,6 +19156,13 @@ module Google
|
|
19046
19156
|
# @return [String]
|
19047
19157
|
attr_accessor :name
|
19048
19158
|
|
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
|
+
|
19049
19166
|
# [Output Only] A list of network peerings for the resource.
|
19050
19167
|
# Corresponds to the JSON property `peerings`
|
19051
19168
|
# @return [Array<Google::Apis::ComputeV1::NetworkPeering>]
|
@@ -19063,6 +19180,11 @@ module Google
|
|
19063
19180
|
# @return [String]
|
19064
19181
|
attr_accessor :self_link
|
19065
19182
|
|
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
|
+
|
19066
19188
|
# [Output Only] Server-defined fully-qualified URLs for all subnetworks in this
|
19067
19189
|
# VPC network.
|
19068
19190
|
# Corresponds to the JSON property `subnetworks`
|
@@ -19079,14 +19201,18 @@ module Google
|
|
19079
19201
|
@auto_create_subnetworks = args[:auto_create_subnetworks] if args.key?(:auto_create_subnetworks)
|
19080
19202
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
19081
19203
|
@description = args[:description] if args.key?(:description)
|
19204
|
+
@enable_ula_internal_ipv6 = args[:enable_ula_internal_ipv6] if args.key?(:enable_ula_internal_ipv6)
|
19082
19205
|
@gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
|
19083
19206
|
@id = args[:id] if args.key?(:id)
|
19207
|
+
@internal_ipv6_range = args[:internal_ipv6_range] if args.key?(:internal_ipv6_range)
|
19084
19208
|
@kind = args[:kind] if args.key?(:kind)
|
19085
19209
|
@mtu = args[:mtu] if args.key?(:mtu)
|
19086
19210
|
@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)
|
19087
19212
|
@peerings = args[:peerings] if args.key?(:peerings)
|
19088
19213
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
19089
19214
|
@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)
|
19090
19216
|
@subnetworks = args[:subnetworks] if args.key?(:subnetworks)
|
19091
19217
|
end
|
19092
19218
|
end
|
@@ -19226,8 +19352,8 @@ module Google
|
|
19226
19352
|
attr_accessor :network
|
19227
19353
|
|
19228
19354
|
# Type of network endpoints in this network endpoint group. Can be one of
|
19229
|
-
# GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
|
19230
|
-
# SERVERLESS, PRIVATE_SERVICE_CONNECT.
|
19355
|
+
# GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
|
19356
|
+
# INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
|
19231
19357
|
# Corresponds to the JSON property `networkEndpointType`
|
19232
19358
|
# @return [String]
|
19233
19359
|
attr_accessor :network_endpoint_type
|
@@ -19513,13 +19639,13 @@ module Google
|
|
19513
19639
|
# @return [String]
|
19514
19640
|
attr_accessor :tag
|
19515
19641
|
|
19516
|
-
# A template to parse service and tag fields from a request URL. URL mask
|
19517
|
-
# for routing to multiple Run services without having to create multiple
|
19518
|
-
# endpoint groups and backend services. For example, request URLs "foo1.
|
19519
|
-
# com/bar1" and "foo1.domain.com/bar2" can be backed by the same
|
19520
|
-
# Network Endpoint Group (NEG) with URL mask "
|
19521
|
-
# parse them to ` service="bar1", tag="foo1" ` and `
|
19522
|
-
# respectively.
|
19642
|
+
# A template to parse <service> and <tag> fields from a request URL. URL mask
|
19643
|
+
# allows for routing to multiple Run services without having to create multiple
|
19644
|
+
# network endpoint groups and backend services. For example, request URLs "foo1.
|
19645
|
+
# domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same
|
19646
|
+
# Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<
|
19647
|
+
# service>". The URL mask will parse them to ` service="bar1", tag="foo1" ` and `
|
19648
|
+
# service="bar2", tag="foo2" ` respectively.
|
19523
19649
|
# Corresponds to the JSON property `urlMask`
|
19524
19650
|
# @return [String]
|
19525
19651
|
attr_accessor :url_mask
|
@@ -19970,6 +20096,11 @@ module Google
|
|
19970
20096
|
# @return [String]
|
19971
20097
|
attr_accessor :fingerprint
|
19972
20098
|
|
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
|
+
|
19973
20104
|
# An array of IPv6 access configurations for this interface. Currently, only one
|
19974
20105
|
# IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig
|
19975
20106
|
# specified, then this instance will have no external IPv6 Internet access.
|
@@ -20061,6 +20192,7 @@ module Google
|
|
20061
20192
|
@access_configs = args[:access_configs] if args.key?(:access_configs)
|
20062
20193
|
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
|
20063
20194
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
20195
|
+
@internal_ipv6_prefix_length = args[:internal_ipv6_prefix_length] if args.key?(:internal_ipv6_prefix_length)
|
20064
20196
|
@ipv6_access_configs = args[:ipv6_access_configs] if args.key?(:ipv6_access_configs)
|
20065
20197
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
20066
20198
|
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
@@ -26630,6 +26762,69 @@ module Google
|
|
26630
26762
|
end
|
26631
26763
|
end
|
26632
26764
|
|
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
|
+
|
26633
26828
|
#
|
26634
26829
|
class RegionSetLabelsRequest
|
26635
26830
|
include Google::Apis::Core::Hashable
|
@@ -27677,8 +27872,8 @@ module Google
|
|
27677
27872
|
class ResourcePolicyDailyCycle
|
27678
27873
|
include Google::Apis::Core::Hashable
|
27679
27874
|
|
27680
|
-
# Defines a schedule with units measured in
|
27681
|
-
#
|
27875
|
+
# Defines a schedule with units measured in days. The value determines how many
|
27876
|
+
# days pass between the start of each cycle.
|
27682
27877
|
# Corresponds to the JSON property `daysInCycle`
|
27683
27878
|
# @return [Fixnum]
|
27684
27879
|
attr_accessor :days_in_cycle
|
@@ -29674,7 +29869,8 @@ module Google
|
|
29674
29869
|
# @return [String]
|
29675
29870
|
attr_accessor :router_appliance_instance
|
29676
29871
|
|
29677
|
-
#
|
29872
|
+
# The state of the BGP session. For a list of possible values for this field,
|
29873
|
+
# see BGP session states.
|
29678
29874
|
# Corresponds to the JSON property `state`
|
29679
29875
|
# @return [String]
|
29680
29876
|
attr_accessor :state
|
@@ -30540,10 +30736,10 @@ module Google
|
|
30540
30736
|
# @return [String]
|
30541
30737
|
attr_accessor :self_link
|
30542
30738
|
|
30543
|
-
# The type indicates the intended use of the security policy. CLOUD_ARMOR
|
30739
|
+
# The type indicates the intended use of the security policy. - CLOUD_ARMOR:
|
30544
30740
|
# Cloud Armor backend security policies can be configured to filter incoming
|
30545
30741
|
# HTTP requests targeting backend services. They filter requests before they hit
|
30546
|
-
# the origin servers. CLOUD_ARMOR_EDGE
|
30742
|
+
# the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
|
30547
30743
|
# be configured to filter incoming HTTP requests targeting backend services (
|
30548
30744
|
# including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
|
30549
30745
|
# filter requests before the request is served from Google's cache.
|
@@ -31033,10 +31229,11 @@ module Google
|
|
31033
31229
|
# present in the request, the key type defaults to ALL. - XFF_IP: The first IP
|
31034
31230
|
# address (i.e. the originating client IP address) specified in the list of IPs
|
31035
31231
|
# under X-Forwarded-For HTTP header. If no such header is present or the value
|
31036
|
-
# is not a valid IP, the key
|
31037
|
-
# the HTTP cookie whose name is
|
31038
|
-
#
|
31039
|
-
#
|
31232
|
+
# is not a valid IP, the key defaults to the source IP address of the request i.
|
31233
|
+
# e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
|
31234
|
+
# configured under "enforce_on_key_name". The key value is truncated to the
|
31235
|
+
# first 128 bytes of the cookie value. If no such cookie is present in the
|
31236
|
+
# request, the key type defaults to ALL.
|
31040
31237
|
# Corresponds to the JSON property `enforceOnKey`
|
31041
31238
|
# @return [String]
|
31042
31239
|
attr_accessor :enforce_on_key
|
@@ -31050,9 +31247,9 @@ module Google
|
|
31050
31247
|
|
31051
31248
|
# Action to take for requests that are above the configured rate limit threshold,
|
31052
31249
|
# to either deny with a specified HTTP response code, or redirect to a
|
31053
|
-
# different endpoint. Valid options are "deny()" where valid values for
|
31054
|
-
# are 403, 404, 429, and 502, and "redirect" where the redirect
|
31055
|
-
# from
|
31250
|
+
# different endpoint. Valid options are "deny(status)", where valid values for
|
31251
|
+
# status are 403, 404, 429, and 502, and "redirect" where the redirect
|
31252
|
+
# parameters come from exceedRedirectOptions below.
|
31056
31253
|
# Corresponds to the JSON property `exceedAction`
|
31057
31254
|
# @return [String]
|
31058
31255
|
attr_accessor :exceed_action
|
@@ -33449,6 +33646,13 @@ module Google
|
|
33449
33646
|
# @return [Fixnum]
|
33450
33647
|
attr_accessor :id
|
33451
33648
|
|
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
|
+
|
33452
33656
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
33453
33657
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
|
33454
33658
|
# 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
|
@@ -33586,6 +33790,7 @@ module Google
|
|
33586
33790
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
33587
33791
|
@gateway_address = args[:gateway_address] if args.key?(:gateway_address)
|
33588
33792
|
@id = args[:id] if args.key?(:id)
|
33793
|
+
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
|
33589
33794
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
33590
33795
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
33591
33796
|
@ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
|
@@ -33868,8 +34073,9 @@ module Google
|
|
33868
34073
|
attr_accessor :enable
|
33869
34074
|
alias_method :enable?, :enable
|
33870
34075
|
|
33871
|
-
# Can only be specified if VPC flow logs for this subnetwork is enabled.
|
33872
|
-
# filter used to define which VPC flow logs should be
|
34076
|
+
# Can only be specified if VPC flow logs for this subnetwork is enabled. The
|
34077
|
+
# filter expression is used to define which VPC flow logs should be exported to
|
34078
|
+
# Cloud Logging.
|
33873
34079
|
# Corresponds to the JSON property `filterExpr`
|
33874
34080
|
# @return [String]
|
33875
34081
|
attr_accessor :filter_expr
|
@@ -38038,6 +38244,21 @@ module Google
|
|
38038
38244
|
class ValidateUrlMapsRequest
|
38039
38245
|
include Google::Apis::Core::Hashable
|
38040
38246
|
|
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
|
+
|
38041
38262
|
# Represents a URL Map resource. Compute Engine has two URL Map resources: * [
|
38042
38263
|
# Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/
|
38043
38264
|
# reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain
|
@@ -38063,6 +38284,7 @@ module Google
|
|
38063
38284
|
|
38064
38285
|
# Update properties of this object
|
38065
38286
|
def update!(**args)
|
38287
|
+
@load_balancing_schemes = args[:load_balancing_schemes] if args.key?(:load_balancing_schemes)
|
38066
38288
|
@resource = args[:resource] if args.key?(:resource)
|
38067
38289
|
end
|
38068
38290
|
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.25.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 = "20220206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|