google-apis-compute_v1 0.10.0 → 0.11.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 +114 -38
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +18 -0
- 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: 6a596779b7def11590295ce813f8d9f4560975852d0e978004f865cdecec4fe3
|
4
|
+
data.tar.gz: 1d239d25f891c577f48b5b5ed017f338f8f96c99414b86c7b771bc479b54b821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8dc394f585cd82665227452d43ce16788ee6eeed246810329a918c799878197540461865966d2b12d4e843747fc02d160b4718c4f43e57817403bcd886683d1
|
7
|
+
data.tar.gz: 934e146622a0464799973d5c0ea79e83a606164db8eb6694136fcf8be570db64769c87dd656ba0b4b0a3f12a0098309febf6352e65a10ec07f1c19e6ca6d2c67
|
data/CHANGELOG.md
CHANGED
@@ -646,7 +646,8 @@ module Google
|
|
646
646
|
# reserved for Cloud NAT.
|
647
647
|
# - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are
|
648
648
|
# reserved for a VLAN attachment in an IPsec-encrypted Cloud Interconnect
|
649
|
-
# configuration. These addresses are regional resources.
|
649
|
+
# configuration. These addresses are regional resources. Not currently available
|
650
|
+
# publicly.
|
650
651
|
# Corresponds to the JSON property `purpose`
|
651
652
|
# @return [String]
|
652
653
|
attr_accessor :purpose
|
@@ -6744,6 +6745,10 @@ module Google
|
|
6744
6745
|
attr_accessor :id
|
6745
6746
|
|
6746
6747
|
# List of interfaces for this external VPN gateway.
|
6748
|
+
# If your peer-side gateway is an on-premises gateway and non-AWS cloud
|
6749
|
+
# providers? gateway, at most two interfaces can be provided for an external VPN
|
6750
|
+
# gateway. If your peer side is an AWS virtual private gateway, four interfaces
|
6751
|
+
# should be provided for an external VPN gateway.
|
6747
6752
|
# Corresponds to the JSON property `interfaces`
|
6748
6753
|
# @return [Array<Google::Apis::ComputeV1::ExternalVpnGatewayInterface>]
|
6749
6754
|
attr_accessor :interfaces
|
@@ -6819,8 +6824,9 @@ module Google
|
|
6819
6824
|
|
6820
6825
|
# The numeric ID of this interface. The allowed input values for this id for
|
6821
6826
|
# different redundancy types of external VPN gateway:
|
6822
|
-
#
|
6823
|
-
#
|
6827
|
+
# - SINGLE_IP_INTERNALLY_REDUNDANT - 0
|
6828
|
+
# - TWO_IPS_REDUNDANCY - 0, 1
|
6829
|
+
# - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
|
6824
6830
|
# Corresponds to the JSON property `id`
|
6825
6831
|
# @return [Fixnum]
|
6826
6832
|
attr_accessor :id
|
@@ -7878,7 +7884,7 @@ module Google
|
|
7878
7884
|
# - If the value is a percent, then the calculated value is percent/100 *
|
7879
7885
|
# targetSize. For example, the calculated value of a 80% of a managed instance
|
7880
7886
|
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
|
7881
|
-
# is a remainder, the number is rounded
|
7887
|
+
# is a remainder, the number is rounded.
|
7882
7888
|
# Corresponds to the JSON property `calculated`
|
7883
7889
|
# @return [Fixnum]
|
7884
7890
|
attr_accessor :calculated
|
@@ -15599,15 +15605,18 @@ module Google
|
|
15599
15605
|
# @return [String]
|
15600
15606
|
attr_accessor :edge_availability_domain
|
15601
15607
|
|
15602
|
-
# Indicates the user-supplied encryption option of this
|
15603
|
-
#
|
15604
|
-
#
|
15605
|
-
#
|
15606
|
-
#
|
15607
|
-
#
|
15608
|
-
#
|
15609
|
-
#
|
15610
|
-
#
|
15608
|
+
# Indicates the user-supplied encryption option of this VLAN attachment (
|
15609
|
+
# interconnectAttachment). Can only be specified at attachment creation for
|
15610
|
+
# PARTNER or DEDICATED attachments. Possible values are:
|
15611
|
+
# - NONE - This is the default value, which means that the VLAN attachment
|
15612
|
+
# carries unencrypted traffic. VMs are able to send traffic to, or receive
|
15613
|
+
# traffic from, such a VLAN attachment.
|
15614
|
+
# - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted
|
15615
|
+
# by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs
|
15616
|
+
# cannot directly send traffic to, or receive traffic from, such a VLAN
|
15617
|
+
# attachment. To use IPsec-encrypted Cloud Interconnect, the VLAN attachment
|
15618
|
+
# must be created with this option.
|
15619
|
+
# Not currently available publicly.
|
15611
15620
|
# Corresponds to the JSON property `encryption`
|
15612
15621
|
# @return [String]
|
15613
15622
|
attr_accessor :encryption
|
@@ -15631,19 +15640,19 @@ module Google
|
|
15631
15640
|
# @return [String]
|
15632
15641
|
attr_accessor :interconnect
|
15633
15642
|
|
15634
|
-
# URL of addresses that have been reserved for the
|
15635
|
-
# only for
|
15636
|
-
# addresses must be
|
15637
|
-
# over the
|
15638
|
-
#
|
15639
|
-
# the IP address range specified here. For example, if the HA VPN gateway's
|
15640
|
-
# interface 0 is paired to this
|
15643
|
+
# List of URL of addresses that have been reserved for the VLAN attachment. Used
|
15644
|
+
# only for the VLAN attachment that has the encryption option as IPSEC. The
|
15645
|
+
# addresses must be regional internal IP address ranges. When creating an HA VPN
|
15646
|
+
# gateway over the VLAN attachment, if the attachment is configured to use a
|
15647
|
+
# regional internal IP address, then the VPN gateway's IP address is allocated
|
15648
|
+
# from the IP address range specified here. For example, if the HA VPN gateway's
|
15649
|
+
# interface 0 is paired to this VLAN attachment, then a regional internal IP
|
15641
15650
|
# address for the VPN gateway interface 0 will be allocated from the IP address
|
15642
|
-
# specified for this
|
15643
|
-
#
|
15644
|
-
#
|
15645
|
-
#
|
15646
|
-
# Not currently available
|
15651
|
+
# specified for this VLAN attachment. If this field is not specified when
|
15652
|
+
# creating the VLAN attachment, then later on when creating an HA VPN gateway on
|
15653
|
+
# this VLAN attachment, the HA VPN gateway's IP address is allocated from the
|
15654
|
+
# regional external IP address pool.
|
15655
|
+
# Not currently available publicly.
|
15647
15656
|
# Corresponds to the JSON property `ipsecInternalAddresses`
|
15648
15657
|
# @return [Array<String>]
|
15649
15658
|
attr_accessor :ipsec_internal_addresses
|
@@ -26277,7 +26286,10 @@ module Google
|
|
26277
26286
|
# @return [String]
|
26278
26287
|
attr_accessor :key
|
26279
26288
|
|
26280
|
-
# Corresponds to the label values of a reservation resource.
|
26289
|
+
# Corresponds to the label values of a reservation resource. This can be either
|
26290
|
+
# a name to a reservation in the same project or "projects/different-project/
|
26291
|
+
# reservations/some-reservation-name" to target a shared reservation in the same
|
26292
|
+
# zone but in a different project.
|
26281
26293
|
# Corresponds to the JSON property `values`
|
26282
26294
|
# @return [Array<String>]
|
26283
26295
|
attr_accessor :values
|
@@ -27912,9 +27924,9 @@ module Google
|
|
27912
27924
|
# @return [String]
|
27913
27925
|
attr_accessor :description
|
27914
27926
|
|
27915
|
-
#
|
27916
|
-
#
|
27917
|
-
# Not currently available
|
27927
|
+
# Indicates if a router is dedicated for use with encrypted VLAN attachments (
|
27928
|
+
# interconnectAttachments).
|
27929
|
+
# Not currently available publicly.
|
27918
27930
|
# Corresponds to the JSON property `encryptedInterconnectRouter`
|
27919
27931
|
# @return [Boolean]
|
27920
27932
|
attr_accessor :encrypted_interconnect_router
|
@@ -28173,6 +28185,18 @@ module Google
|
|
28173
28185
|
# @return [Fixnum]
|
28174
28186
|
attr_accessor :asn
|
28175
28187
|
|
28188
|
+
# The interval in seconds between BGP keepalive messages that are sent to the
|
28189
|
+
# peer.
|
28190
|
+
# Hold time is three times the interval at which keepalive messages are sent,
|
28191
|
+
# and the hold time is the maximum number of seconds allowed to elapse between
|
28192
|
+
# successive keepalive messages that BGP receives from a peer.
|
28193
|
+
# BGP will use the smaller of either the local hold time value or the peer's
|
28194
|
+
# hold time value as the hold time for the BGP connection between the two peers.
|
28195
|
+
# If set, this value must be between 20 and 60. The default is 20.
|
28196
|
+
# Corresponds to the JSON property `keepaliveInterval`
|
28197
|
+
# @return [Fixnum]
|
28198
|
+
attr_accessor :keepalive_interval
|
28199
|
+
|
28176
28200
|
def initialize(**args)
|
28177
28201
|
update!(**args)
|
28178
28202
|
end
|
@@ -28183,6 +28207,7 @@ module Google
|
|
28183
28207
|
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
28184
28208
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
28185
28209
|
@asn = args[:asn] if args.key?(:asn)
|
28210
|
+
@keepalive_interval = args[:keepalive_interval] if args.key?(:keepalive_interval)
|
28186
28211
|
end
|
28187
28212
|
end
|
28188
28213
|
|
@@ -28223,6 +28248,14 @@ module Google
|
|
28223
28248
|
# @return [Fixnum]
|
28224
28249
|
attr_accessor :advertised_route_priority
|
28225
28250
|
|
28251
|
+
# The status of the BGP peer connection.
|
28252
|
+
# If set to FALSE, any active session with the peer is terminated and all
|
28253
|
+
# associated routing information is removed. If set to TRUE, the peer connection
|
28254
|
+
# can be established with routing information. The default is TRUE.
|
28255
|
+
# Corresponds to the JSON property `enable`
|
28256
|
+
# @return [String]
|
28257
|
+
attr_accessor :enable
|
28258
|
+
|
28226
28259
|
# Name of the interface the BGP peer is associated with.
|
28227
28260
|
# Corresponds to the JSON property `interfaceName`
|
28228
28261
|
# @return [String]
|
@@ -28277,6 +28310,7 @@ module Google
|
|
28277
28310
|
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
28278
28311
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
28279
28312
|
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
28313
|
+
@enable = args[:enable] if args.key?(:enable)
|
28280
28314
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
28281
28315
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
28282
28316
|
@management_type = args[:management_type] if args.key?(:management_type)
|
@@ -29300,6 +29334,11 @@ module Google
|
|
29300
29334
|
class SecurityPolicy
|
29301
29335
|
include Google::Apis::Core::Hashable
|
29302
29336
|
|
29337
|
+
#
|
29338
|
+
# Corresponds to the JSON property `advancedOptionsConfig`
|
29339
|
+
# @return [Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig]
|
29340
|
+
attr_accessor :advanced_options_config
|
29341
|
+
|
29303
29342
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
29304
29343
|
# Corresponds to the JSON property `creationTimestamp`
|
29305
29344
|
# @return [String]
|
@@ -29364,6 +29403,7 @@ module Google
|
|
29364
29403
|
|
29365
29404
|
# Update properties of this object
|
29366
29405
|
def update!(**args)
|
29406
|
+
@advanced_options_config = args[:advanced_options_config] if args.key?(:advanced_options_config)
|
29367
29407
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
29368
29408
|
@description = args[:description] if args.key?(:description)
|
29369
29409
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
@@ -29375,6 +29415,31 @@ module Google
|
|
29375
29415
|
end
|
29376
29416
|
end
|
29377
29417
|
|
29418
|
+
#
|
29419
|
+
class SecurityPolicyAdvancedOptionsConfig
|
29420
|
+
include Google::Apis::Core::Hashable
|
29421
|
+
|
29422
|
+
#
|
29423
|
+
# Corresponds to the JSON property `jsonParsing`
|
29424
|
+
# @return [String]
|
29425
|
+
attr_accessor :json_parsing
|
29426
|
+
|
29427
|
+
#
|
29428
|
+
# Corresponds to the JSON property `logLevel`
|
29429
|
+
# @return [String]
|
29430
|
+
attr_accessor :log_level
|
29431
|
+
|
29432
|
+
def initialize(**args)
|
29433
|
+
update!(**args)
|
29434
|
+
end
|
29435
|
+
|
29436
|
+
# Update properties of this object
|
29437
|
+
def update!(**args)
|
29438
|
+
@json_parsing = args[:json_parsing] if args.key?(:json_parsing)
|
29439
|
+
@log_level = args[:log_level] if args.key?(:log_level)
|
29440
|
+
end
|
29441
|
+
end
|
29442
|
+
|
29378
29443
|
#
|
29379
29444
|
class SecurityPolicyList
|
29380
29445
|
include Google::Apis::Core::Hashable
|
@@ -35974,7 +36039,9 @@ module Google
|
|
35974
36039
|
# requests. If the number of results is larger than maxResults, use the
|
35975
36040
|
# nextPageToken as a value for the query parameter pageToken in the next list
|
35976
36041
|
# request. Subsequent list requests will have their own nextPageToken to
|
35977
|
-
# continue paging through the results.
|
36042
|
+
# continue paging through the results. In special cases listUsable may return 0
|
36043
|
+
# subnetworks and nextPageToken which still should be used to get the next page
|
36044
|
+
# of results.
|
35978
36045
|
# Corresponds to the JSON property `nextPageToken`
|
35979
36046
|
# @return [String]
|
35980
36047
|
attr_accessor :next_page_token
|
@@ -36378,7 +36445,7 @@ module Google
|
|
36378
36445
|
# @return [String]
|
36379
36446
|
attr_accessor :self_link
|
36380
36447
|
|
36381
|
-
#
|
36448
|
+
# The list of VPN interfaces associated with this VPN gateway.
|
36382
36449
|
# Corresponds to the JSON property `vpnInterfaces`
|
36383
36450
|
# @return [Array<Google::Apis::ComputeV1::VpnGatewayVpnGatewayInterface>]
|
36384
36451
|
attr_accessor :vpn_interfaces
|
@@ -36771,21 +36838,30 @@ module Google
|
|
36771
36838
|
class VpnGatewayVpnGatewayInterface
|
36772
36839
|
include Google::Apis::Core::Hashable
|
36773
36840
|
|
36774
|
-
#
|
36841
|
+
# [Output Only] Numeric identifier for this VPN interface associated with the
|
36842
|
+
# VPN gateway.
|
36775
36843
|
# Corresponds to the JSON property `id`
|
36776
36844
|
# @return [Fixnum]
|
36777
36845
|
attr_accessor :id
|
36778
36846
|
|
36779
|
-
# URL of the
|
36780
|
-
#
|
36781
|
-
#
|
36782
|
-
# the specified
|
36783
|
-
# Not currently available
|
36847
|
+
# URL of the VLAN attachment (interconnectAttachment) resource for this VPN
|
36848
|
+
# gateway interface. When the value of this field is present, the VPN gateway is
|
36849
|
+
# used for IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for
|
36850
|
+
# this VPN gateway interface goes through the specified VLAN attachment resource.
|
36851
|
+
# Not currently available publicly.
|
36784
36852
|
# Corresponds to the JSON property `interconnectAttachment`
|
36785
36853
|
# @return [String]
|
36786
36854
|
attr_accessor :interconnect_attachment
|
36787
36855
|
|
36788
|
-
# [Output Only]
|
36856
|
+
# [Output Only] IP address for this VPN interface associated with the VPN
|
36857
|
+
# gateway. The IP address could be either a regional external IP address or a
|
36858
|
+
# regional internal IP address. The two IP addresses for a VPN gateway must be
|
36859
|
+
# all regional external or regional internal IP addresses. There cannot be a mix
|
36860
|
+
# of regional external IP addresses and regional internal IP addresses. For
|
36861
|
+
# IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could
|
36862
|
+
# either be regional internal IP addresses or regional external IP addresses.
|
36863
|
+
# For regular (non IPsec-encrypted Cloud Interconnect) HA VPN tunnels, the IP
|
36864
|
+
# address must be a regional external IP address.
|
36789
36865
|
# Corresponds to the JSON property `ipAddress`
|
36790
36866
|
# @return [String]
|
36791
36867
|
attr_accessor :ip_address
|
@@ -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.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210518"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3856,6 +3856,12 @@ module Google
|
|
3856
3856
|
include Google::Apis::Core::JsonObjectSupport
|
3857
3857
|
end
|
3858
3858
|
|
3859
|
+
class SecurityPolicyAdvancedOptionsConfig
|
3860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3861
|
+
|
3862
|
+
include Google::Apis::Core::JsonObjectSupport
|
3863
|
+
end
|
3864
|
+
|
3859
3865
|
class SecurityPolicyList
|
3860
3866
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3861
3867
|
|
@@ -11919,6 +11925,7 @@ module Google
|
|
11919
11925
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
|
11920
11926
|
|
11921
11927
|
property :asn, as: 'asn'
|
11928
|
+
property :keepalive_interval, as: 'keepaliveInterval'
|
11922
11929
|
end
|
11923
11930
|
end
|
11924
11931
|
|
@@ -11930,6 +11937,7 @@ module Google
|
|
11930
11937
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
|
11931
11938
|
|
11932
11939
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
11940
|
+
property :enable, as: 'enable'
|
11933
11941
|
property :interface_name, as: 'interfaceName'
|
11934
11942
|
property :ip_address, as: 'ipAddress'
|
11935
11943
|
property :management_type, as: 'managementType'
|
@@ -12196,6 +12204,8 @@ module Google
|
|
12196
12204
|
class SecurityPolicy
|
12197
12205
|
# @private
|
12198
12206
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12207
|
+
property :advanced_options_config, as: 'advancedOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig::Representation
|
12208
|
+
|
12199
12209
|
property :creation_timestamp, as: 'creationTimestamp'
|
12200
12210
|
property :description, as: 'description'
|
12201
12211
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
@@ -12208,6 +12218,14 @@ module Google
|
|
12208
12218
|
end
|
12209
12219
|
end
|
12210
12220
|
|
12221
|
+
class SecurityPolicyAdvancedOptionsConfig
|
12222
|
+
# @private
|
12223
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12224
|
+
property :json_parsing, as: 'jsonParsing'
|
12225
|
+
property :log_level, as: 'logLevel'
|
12226
|
+
end
|
12227
|
+
end
|
12228
|
+
|
12211
12229
|
class SecurityPolicyList
|
12212
12230
|
# @private
|
12213
12231
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.11.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|