google-apis-compute_v1 0.16.0 → 0.17.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: 39a14e55b9d65de38db67f7ce946ec462a47297cc6af3ce9e472ff8d43c6112b
|
4
|
+
data.tar.gz: b24a79b03c90d811d2402f89275210e42b00cac0eb3467477fb37c7eea055e48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11170129f91736308faeec97c2ee199861c01563d69c1baa09a8d767a8eb047f6bbcd2fe8d125f07fd71288a14c07511b4fd86ad350583f5730f32946f493200
|
7
|
+
data.tar.gz: e5286337dffc2e824ab0c916fb7cde7fd9645b81fe156a839bef0bfc1237dcfd6f791afa4a1c054e5d9da9ff0e39f682bd77ac4616d732e2ea85d44fc4f6170a
|
data/CHANGELOG.md
CHANGED
@@ -7363,7 +7363,7 @@ module Google
|
|
7363
7363
|
attr_accessor :description
|
7364
7364
|
|
7365
7365
|
# Deprecated, please use short name instead. User-provided name of the
|
7366
|
-
# Organization firewall
|
7366
|
+
# Organization firewall policy. The name should be unique in the organization in
|
7367
7367
|
# which the firewall policy is created. This name must be set on creation and
|
7368
7368
|
# cannot be changed. The name must be 1-63 characters long, and comply with
|
7369
7369
|
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
@@ -27928,6 +27928,11 @@ module Google
|
|
27928
27928
|
# @return [Fixnum]
|
27929
27929
|
attr_accessor :advertised_route_priority
|
27930
27930
|
|
27931
|
+
# BFD configuration for the BGP peering.
|
27932
|
+
# Corresponds to the JSON property `bfd`
|
27933
|
+
# @return [Google::Apis::ComputeV1::RouterBgpPeerBfd]
|
27934
|
+
attr_accessor :bfd
|
27935
|
+
|
27931
27936
|
# The status of the BGP peer connection. If set to FALSE, any active session
|
27932
27937
|
# with the peer is terminated and all associated routing information is removed.
|
27933
27938
|
# If set to TRUE, the peer connection can be established with routing
|
@@ -27979,6 +27984,14 @@ module Google
|
|
27979
27984
|
# @return [String]
|
27980
27985
|
attr_accessor :peer_ip_address
|
27981
27986
|
|
27987
|
+
# URI of the VM instance that is used as third-party router appliances such as
|
27988
|
+
# Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance
|
27989
|
+
# must be located in zones contained in the same region as this Cloud Router.
|
27990
|
+
# The VM instance is the peer side of the BGP session.
|
27991
|
+
# Corresponds to the JSON property `routerApplianceInstance`
|
27992
|
+
# @return [String]
|
27993
|
+
attr_accessor :router_appliance_instance
|
27994
|
+
|
27982
27995
|
def initialize(**args)
|
27983
27996
|
update!(**args)
|
27984
27997
|
end
|
@@ -27989,6 +28002,7 @@ module Google
|
|
27989
28002
|
@advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
|
27990
28003
|
@advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
|
27991
28004
|
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
28005
|
+
@bfd = args[:bfd] if args.key?(:bfd)
|
27992
28006
|
@enable = args[:enable] if args.key?(:enable)
|
27993
28007
|
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
27994
28008
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
@@ -27996,6 +28010,58 @@ module Google
|
|
27996
28010
|
@name = args[:name] if args.key?(:name)
|
27997
28011
|
@peer_asn = args[:peer_asn] if args.key?(:peer_asn)
|
27998
28012
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
28013
|
+
@router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
|
28014
|
+
end
|
28015
|
+
end
|
28016
|
+
|
28017
|
+
#
|
28018
|
+
class RouterBgpPeerBfd
|
28019
|
+
include Google::Apis::Core::Hashable
|
28020
|
+
|
28021
|
+
# The minimum interval, in milliseconds, between BFD control packets received
|
28022
|
+
# from the peer router. The actual value is negotiated between the two routers
|
28023
|
+
# and is equal to the greater of this value and the transmit interval of the
|
28024
|
+
# other router. If set, this value must be between 1000 and 30000. The default
|
28025
|
+
# is 1000.
|
28026
|
+
# Corresponds to the JSON property `minReceiveInterval`
|
28027
|
+
# @return [Fixnum]
|
28028
|
+
attr_accessor :min_receive_interval
|
28029
|
+
|
28030
|
+
# The minimum interval, in milliseconds, between BFD control packets transmitted
|
28031
|
+
# to the peer router. The actual value is negotiated between the two routers and
|
28032
|
+
# is equal to the greater of this value and the corresponding receive interval
|
28033
|
+
# of the other router. If set, this value must be between 1000 and 30000. The
|
28034
|
+
# default is 1000.
|
28035
|
+
# Corresponds to the JSON property `minTransmitInterval`
|
28036
|
+
# @return [Fixnum]
|
28037
|
+
attr_accessor :min_transmit_interval
|
28038
|
+
|
28039
|
+
# The number of consecutive BFD packets that must be missed before BFD declares
|
28040
|
+
# that a peer is unavailable. If set, the value must be a value between 5 and 16.
|
28041
|
+
# The default is 5.
|
28042
|
+
# Corresponds to the JSON property `multiplier`
|
28043
|
+
# @return [Fixnum]
|
28044
|
+
attr_accessor :multiplier
|
28045
|
+
|
28046
|
+
# The BFD session initialization mode for this BGP peer. If set to ACTIVE, the
|
28047
|
+
# Cloud Router will initiate the BFD session for this BGP peer. If set to
|
28048
|
+
# PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
|
28049
|
+
# session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
|
28050
|
+
# peer. The default is PASSIVE.
|
28051
|
+
# Corresponds to the JSON property `sessionInitializationMode`
|
28052
|
+
# @return [String]
|
28053
|
+
attr_accessor :session_initialization_mode
|
28054
|
+
|
28055
|
+
def initialize(**args)
|
28056
|
+
update!(**args)
|
28057
|
+
end
|
28058
|
+
|
28059
|
+
# Update properties of this object
|
28060
|
+
def update!(**args)
|
28061
|
+
@min_receive_interval = args[:min_receive_interval] if args.key?(:min_receive_interval)
|
28062
|
+
@min_transmit_interval = args[:min_transmit_interval] if args.key?(:min_transmit_interval)
|
28063
|
+
@multiplier = args[:multiplier] if args.key?(:multiplier)
|
28064
|
+
@session_initialization_mode = args[:session_initialization_mode] if args.key?(:session_initialization_mode)
|
27999
28065
|
end
|
28000
28066
|
end
|
28001
28067
|
|
@@ -28045,6 +28111,35 @@ module Google
|
|
28045
28111
|
# @return [String]
|
28046
28112
|
attr_accessor :name
|
28047
28113
|
|
28114
|
+
# The regional private internal IP address that is used to establish BGP
|
28115
|
+
# sessions to a VM instance acting as a third-party Router Appliance, such as a
|
28116
|
+
# Next Gen Firewall, a Virtual Router, or an SD-WAN VM.
|
28117
|
+
# Corresponds to the JSON property `privateIpAddress`
|
28118
|
+
# @return [String]
|
28119
|
+
attr_accessor :private_ip_address
|
28120
|
+
|
28121
|
+
# Name of the interface that will be redundant with the current interface you
|
28122
|
+
# are creating. The redundantInterface must belong to the same Cloud Router as
|
28123
|
+
# the interface here. To establish the BGP session to a Router Appliance VM, you
|
28124
|
+
# must create two BGP peers. The two BGP peers must be attached to two separate
|
28125
|
+
# interfaces that are redundant with each other. The redundant_interface must be
|
28126
|
+
# 1-63 characters long, and comply with RFC1035. Specifically, the
|
28127
|
+
# redundant_interface must be 1-63 characters long and match the regular
|
28128
|
+
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
|
28129
|
+
# be a lowercase letter, and all following characters must be a dash, lowercase
|
28130
|
+
# letter, or digit, except the last character, which cannot be a dash.
|
28131
|
+
# Corresponds to the JSON property `redundantInterface`
|
28132
|
+
# @return [String]
|
28133
|
+
attr_accessor :redundant_interface
|
28134
|
+
|
28135
|
+
# The URI of the subnetwork resource that this interface belongs to, which must
|
28136
|
+
# be in the same region as the Cloud Router. When you establish a BGP session to
|
28137
|
+
# a VM instance using this interface, the VM instance must belong to the same
|
28138
|
+
# subnetwork as the subnetwork specified here.
|
28139
|
+
# Corresponds to the JSON property `subnetwork`
|
28140
|
+
# @return [String]
|
28141
|
+
attr_accessor :subnetwork
|
28142
|
+
|
28048
28143
|
def initialize(**args)
|
28049
28144
|
update!(**args)
|
28050
28145
|
end
|
@@ -28056,6 +28151,9 @@ module Google
|
|
28056
28151
|
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
|
28057
28152
|
@management_type = args[:management_type] if args.key?(:management_type)
|
28058
28153
|
@name = args[:name] if args.key?(:name)
|
28154
|
+
@private_ip_address = args[:private_ip_address] if args.key?(:private_ip_address)
|
28155
|
+
@redundant_interface = args[:redundant_interface] if args.key?(:redundant_interface)
|
28156
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
28059
28157
|
end
|
28060
28158
|
end
|
28061
28159
|
|
@@ -28438,6 +28536,13 @@ module Google
|
|
28438
28536
|
# @return [String]
|
28439
28537
|
attr_accessor :peer_ip_address
|
28440
28538
|
|
28539
|
+
# [Output only] URI of the VM instance that is used as third-party router
|
28540
|
+
# appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
|
28541
|
+
# The VM instance is the peer side of the BGP session.
|
28542
|
+
# Corresponds to the JSON property `routerApplianceInstance`
|
28543
|
+
# @return [String]
|
28544
|
+
attr_accessor :router_appliance_instance
|
28545
|
+
|
28441
28546
|
# BGP state as specified in RFC1771.
|
28442
28547
|
# Corresponds to the JSON property `state`
|
28443
28548
|
# @return [String]
|
@@ -28471,6 +28576,7 @@ module Google
|
|
28471
28576
|
@name = args[:name] if args.key?(:name)
|
28472
28577
|
@num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes)
|
28473
28578
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
28579
|
+
@router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
|
28474
28580
|
@state = args[:state] if args.key?(:state)
|
28475
28581
|
@status = args[:status] if args.key?(:status)
|
28476
28582
|
@uptime = args[:uptime] if args.key?(:uptime)
|
@@ -31583,9 +31689,8 @@ module Google
|
|
31583
31689
|
attr_accessor :name
|
31584
31690
|
|
31585
31691
|
# The URL of the network to which this subnetwork belongs, provided by the
|
31586
|
-
# client when initially creating the subnetwork.
|
31587
|
-
#
|
31588
|
-
# creation time.
|
31692
|
+
# client when initially creating the subnetwork. This field can be set only at
|
31693
|
+
# resource creation time.
|
31589
31694
|
# Corresponds to the JSON property `network`
|
31590
31695
|
# @return [String]
|
31591
31696
|
attr_accessor :network
|
@@ -33431,6 +33536,13 @@ module Google
|
|
33431
33536
|
# @return [String]
|
33432
33537
|
attr_accessor :nat_policy
|
33433
33538
|
|
33539
|
+
# The URL of the network this target instance uses to forward traffic. If not
|
33540
|
+
# specified, the traffic will be forwarded to the network that the default
|
33541
|
+
# network interface belongs to.
|
33542
|
+
# Corresponds to the JSON property `network`
|
33543
|
+
# @return [String]
|
33544
|
+
attr_accessor :network
|
33545
|
+
|
33434
33546
|
# [Output Only] Server-defined URL for the resource.
|
33435
33547
|
# Corresponds to the JSON property `selfLink`
|
33436
33548
|
# @return [String]
|
@@ -33456,6 +33568,7 @@ module Google
|
|
33456
33568
|
@kind = args[:kind] if args.key?(:kind)
|
33457
33569
|
@name = args[:name] if args.key?(:name)
|
33458
33570
|
@nat_policy = args[:nat_policy] if args.key?(:nat_policy)
|
33571
|
+
@network = args[:network] if args.key?(:network)
|
33459
33572
|
@self_link = args[:self_link] if args.key?(:self_link)
|
33460
33573
|
@zone = args[:zone] if args.key?(:zone)
|
33461
33574
|
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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210907"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3718,6 +3718,12 @@ module Google
|
|
3718
3718
|
include Google::Apis::Core::JsonObjectSupport
|
3719
3719
|
end
|
3720
3720
|
|
3721
|
+
class RouterBgpPeerBfd
|
3722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3723
|
+
|
3724
|
+
include Google::Apis::Core::JsonObjectSupport
|
3725
|
+
end
|
3726
|
+
|
3721
3727
|
class RouterInterface
|
3722
3728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3723
3729
|
|
@@ -12047,6 +12053,8 @@ module Google
|
|
12047
12053
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
|
12048
12054
|
|
12049
12055
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
12056
|
+
property :bfd, as: 'bfd', class: Google::Apis::ComputeV1::RouterBgpPeerBfd, decorator: Google::Apis::ComputeV1::RouterBgpPeerBfd::Representation
|
12057
|
+
|
12050
12058
|
property :enable, as: 'enable'
|
12051
12059
|
property :interface_name, as: 'interfaceName'
|
12052
12060
|
property :ip_address, as: 'ipAddress'
|
@@ -12054,6 +12062,17 @@ module Google
|
|
12054
12062
|
property :name, as: 'name'
|
12055
12063
|
property :peer_asn, as: 'peerAsn'
|
12056
12064
|
property :peer_ip_address, as: 'peerIpAddress'
|
12065
|
+
property :router_appliance_instance, as: 'routerApplianceInstance'
|
12066
|
+
end
|
12067
|
+
end
|
12068
|
+
|
12069
|
+
class RouterBgpPeerBfd
|
12070
|
+
# @private
|
12071
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12072
|
+
property :min_receive_interval, as: 'minReceiveInterval'
|
12073
|
+
property :min_transmit_interval, as: 'minTransmitInterval'
|
12074
|
+
property :multiplier, as: 'multiplier'
|
12075
|
+
property :session_initialization_mode, as: 'sessionInitializationMode'
|
12057
12076
|
end
|
12058
12077
|
end
|
12059
12078
|
|
@@ -12065,6 +12084,9 @@ module Google
|
|
12065
12084
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
12066
12085
|
property :management_type, as: 'managementType'
|
12067
12086
|
property :name, as: 'name'
|
12087
|
+
property :private_ip_address, as: 'privateIpAddress'
|
12088
|
+
property :redundant_interface, as: 'redundantInterface'
|
12089
|
+
property :subnetwork, as: 'subnetwork'
|
12068
12090
|
end
|
12069
12091
|
end
|
12070
12092
|
|
@@ -12163,6 +12185,7 @@ module Google
|
|
12163
12185
|
property :name, as: 'name'
|
12164
12186
|
property :num_learned_routes, as: 'numLearnedRoutes'
|
12165
12187
|
property :peer_ip_address, as: 'peerIpAddress'
|
12188
|
+
property :router_appliance_instance, as: 'routerApplianceInstance'
|
12166
12189
|
property :state, as: 'state'
|
12167
12190
|
property :status, as: 'status'
|
12168
12191
|
property :uptime, as: 'uptime'
|
@@ -13399,6 +13422,7 @@ module Google
|
|
13399
13422
|
property :kind, as: 'kind'
|
13400
13423
|
property :name, as: 'name'
|
13401
13424
|
property :nat_policy, as: 'natPolicy'
|
13425
|
+
property :network, as: 'network'
|
13402
13426
|
property :self_link, as: 'selfLink'
|
13403
13427
|
property :zone, as: 'zone'
|
13404
13428
|
end
|
@@ -32172,14 +32172,14 @@ module Google
|
|
32172
32172
|
|
32173
32173
|
# Waits for the specified Operation resource to return as `DONE` or for the
|
32174
32174
|
# request to approach the 2 minute deadline, and retrieves the specified
|
32175
|
-
# Operation resource. This method
|
32176
|
-
#
|
32177
|
-
#
|
32178
|
-
#
|
32179
|
-
#
|
32180
|
-
# deadline is reached,
|
32181
|
-
#
|
32182
|
-
#
|
32175
|
+
# Operation resource. This method waits for no more than the 2 minutes and then
|
32176
|
+
# returns the current state of the operation, which might be `DONE` or still in
|
32177
|
+
# progress. This method is called on a best-effort basis. Specifically: - In
|
32178
|
+
# uncommon cases, when the server is overloaded, the request might return before
|
32179
|
+
# the default deadline is reached, or might return after zero seconds. - If the
|
32180
|
+
# default deadline is reached, there is no guarantee that the operation is
|
32181
|
+
# actually done when the method returns. Be prepared to retry if the operation
|
32182
|
+
# is not `DONE`.
|
32183
32183
|
# @param [String] project
|
32184
32184
|
# Project ID for this request.
|
32185
32185
|
# @param [String] zone
|
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.17.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-09-
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.17.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|