google-apis-compute_v1 0.15.0 → 0.19.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 +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/compute_v1/classes.rb +834 -61
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +234 -0
- data/lib/google/apis/compute_v1/service.rb +65 -17
- data/lib/google/apis/compute_v1.rb +3 -3
- metadata +5 -5
@@ -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.19.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 = "20211019"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -472,6 +472,24 @@ module Google
|
|
472
472
|
include Google::Apis::Core::JsonObjectSupport
|
473
473
|
end
|
474
474
|
|
475
|
+
class BfdPacket
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class BfdStatus
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class BfdStatusPacketCounts
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
475
493
|
class Binding
|
476
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
495
|
|
@@ -1366,6 +1384,12 @@ module Google
|
|
1366
1384
|
include Google::Apis::Core::JsonObjectSupport
|
1367
1385
|
end
|
1368
1386
|
|
1387
|
+
class ImageFamilyView
|
1388
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1389
|
+
|
1390
|
+
include Google::Apis::Core::JsonObjectSupport
|
1391
|
+
end
|
1392
|
+
|
1369
1393
|
class ImageList
|
1370
1394
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
1395
|
|
@@ -2866,6 +2890,12 @@ module Google
|
|
2866
2890
|
include Google::Apis::Core::JsonObjectSupport
|
2867
2891
|
end
|
2868
2892
|
|
2893
|
+
class PacketIntervals
|
2894
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2895
|
+
|
2896
|
+
include Google::Apis::Core::JsonObjectSupport
|
2897
|
+
end
|
2898
|
+
|
2869
2899
|
class PacketMirroring
|
2870
2900
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2871
2901
|
|
@@ -3652,6 +3682,12 @@ module Google
|
|
3652
3682
|
include Google::Apis::Core::JsonObjectSupport
|
3653
3683
|
end
|
3654
3684
|
|
3685
|
+
class RouteAsPath
|
3686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3687
|
+
|
3688
|
+
include Google::Apis::Core::JsonObjectSupport
|
3689
|
+
end
|
3690
|
+
|
3655
3691
|
class RouteList
|
3656
3692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3657
3693
|
|
@@ -3712,6 +3748,12 @@ module Google
|
|
3712
3748
|
include Google::Apis::Core::JsonObjectSupport
|
3713
3749
|
end
|
3714
3750
|
|
3751
|
+
class RouterBgpPeerBfd
|
3752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3753
|
+
|
3754
|
+
include Google::Apis::Core::JsonObjectSupport
|
3755
|
+
end
|
3756
|
+
|
3715
3757
|
class RouterInterface
|
3716
3758
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3717
3759
|
|
@@ -3748,6 +3790,18 @@ module Google
|
|
3748
3790
|
include Google::Apis::Core::JsonObjectSupport
|
3749
3791
|
end
|
3750
3792
|
|
3793
|
+
class RouterNatRule
|
3794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3795
|
+
|
3796
|
+
include Google::Apis::Core::JsonObjectSupport
|
3797
|
+
end
|
3798
|
+
|
3799
|
+
class RouterNatRuleAction
|
3800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3801
|
+
|
3802
|
+
include Google::Apis::Core::JsonObjectSupport
|
3803
|
+
end
|
3804
|
+
|
3751
3805
|
class RouterNatSubnetworkToNat
|
3752
3806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3753
3807
|
|
@@ -3772,6 +3826,12 @@ module Google
|
|
3772
3826
|
include Google::Apis::Core::JsonObjectSupport
|
3773
3827
|
end
|
3774
3828
|
|
3829
|
+
class RouterStatusNatStatusNatRuleStatus
|
3830
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3831
|
+
|
3832
|
+
include Google::Apis::Core::JsonObjectSupport
|
3833
|
+
end
|
3834
|
+
|
3775
3835
|
class RouterStatusResponse
|
3776
3836
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3777
3837
|
|
@@ -4012,6 +4072,12 @@ module Google
|
|
4012
4072
|
include Google::Apis::Core::JsonObjectSupport
|
4013
4073
|
end
|
4014
4074
|
|
4075
|
+
class ShareSettings
|
4076
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4077
|
+
|
4078
|
+
include Google::Apis::Core::JsonObjectSupport
|
4079
|
+
end
|
4080
|
+
|
4015
4081
|
class ShieldedInstanceConfig
|
4016
4082
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4017
4083
|
|
@@ -4294,6 +4360,12 @@ module Google
|
|
4294
4360
|
include Google::Apis::Core::JsonObjectSupport
|
4295
4361
|
end
|
4296
4362
|
|
4363
|
+
class Subsetting
|
4364
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4365
|
+
|
4366
|
+
include Google::Apis::Core::JsonObjectSupport
|
4367
|
+
end
|
4368
|
+
|
4297
4369
|
class TcpHealthCheck
|
4298
4370
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4299
4371
|
|
@@ -5874,6 +5946,8 @@ module Google
|
|
5874
5946
|
|
5875
5947
|
property :self_link, as: 'selfLink'
|
5876
5948
|
property :session_affinity, as: 'sessionAffinity'
|
5949
|
+
property :subsetting, as: 'subsetting', class: Google::Apis::ComputeV1::Subsetting, decorator: Google::Apis::ComputeV1::Subsetting::Representation
|
5950
|
+
|
5877
5951
|
property :timeout_sec, as: 'timeoutSec'
|
5878
5952
|
end
|
5879
5953
|
end
|
@@ -6051,6 +6125,58 @@ module Google
|
|
6051
6125
|
end
|
6052
6126
|
end
|
6053
6127
|
|
6128
|
+
class BfdPacket
|
6129
|
+
# @private
|
6130
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6131
|
+
property :authentication_present, as: 'authenticationPresent'
|
6132
|
+
property :control_plane_independent, as: 'controlPlaneIndependent'
|
6133
|
+
property :demand, as: 'demand'
|
6134
|
+
property :diagnostic, as: 'diagnostic'
|
6135
|
+
property :final, as: 'final'
|
6136
|
+
property :length, as: 'length'
|
6137
|
+
property :min_echo_rx_interval_ms, as: 'minEchoRxIntervalMs'
|
6138
|
+
property :min_rx_interval_ms, as: 'minRxIntervalMs'
|
6139
|
+
property :min_tx_interval_ms, as: 'minTxIntervalMs'
|
6140
|
+
property :multiplier, as: 'multiplier'
|
6141
|
+
property :multipoint, as: 'multipoint'
|
6142
|
+
property :my_discriminator, as: 'myDiscriminator'
|
6143
|
+
property :poll, as: 'poll'
|
6144
|
+
property :state, as: 'state'
|
6145
|
+
property :version, as: 'version'
|
6146
|
+
property :your_discriminator, as: 'yourDiscriminator'
|
6147
|
+
end
|
6148
|
+
end
|
6149
|
+
|
6150
|
+
class BfdStatus
|
6151
|
+
# @private
|
6152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6153
|
+
property :bfd_session_initialization_mode, as: 'bfdSessionInitializationMode'
|
6154
|
+
property :config_update_timestamp_micros, :numeric_string => true, as: 'configUpdateTimestampMicros'
|
6155
|
+
property :control_packet_counts, as: 'controlPacketCounts', class: Google::Apis::ComputeV1::BfdStatusPacketCounts, decorator: Google::Apis::ComputeV1::BfdStatusPacketCounts::Representation
|
6156
|
+
|
6157
|
+
collection :control_packet_intervals, as: 'controlPacketIntervals', class: Google::Apis::ComputeV1::PacketIntervals, decorator: Google::Apis::ComputeV1::PacketIntervals::Representation
|
6158
|
+
|
6159
|
+
property :local_diagnostic, as: 'localDiagnostic'
|
6160
|
+
property :local_state, as: 'localState'
|
6161
|
+
property :negotiated_local_control_tx_interval_ms, as: 'negotiatedLocalControlTxIntervalMs'
|
6162
|
+
property :rx_packet, as: 'rxPacket', class: Google::Apis::ComputeV1::BfdPacket, decorator: Google::Apis::ComputeV1::BfdPacket::Representation
|
6163
|
+
|
6164
|
+
property :tx_packet, as: 'txPacket', class: Google::Apis::ComputeV1::BfdPacket, decorator: Google::Apis::ComputeV1::BfdPacket::Representation
|
6165
|
+
|
6166
|
+
property :uptime_ms, :numeric_string => true, as: 'uptimeMs'
|
6167
|
+
end
|
6168
|
+
end
|
6169
|
+
|
6170
|
+
class BfdStatusPacketCounts
|
6171
|
+
# @private
|
6172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6173
|
+
property :num_rx, as: 'numRx'
|
6174
|
+
property :num_rx_rejected, as: 'numRxRejected'
|
6175
|
+
property :num_rx_successful, as: 'numRxSuccessful'
|
6176
|
+
property :num_tx, as: 'numTx'
|
6177
|
+
end
|
6178
|
+
end
|
6179
|
+
|
6054
6180
|
class Binding
|
6055
6181
|
# @private
|
6056
6182
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6137,6 +6263,7 @@ module Google
|
|
6137
6263
|
property :start_timestamp, as: 'startTimestamp'
|
6138
6264
|
property :status, as: 'status'
|
6139
6265
|
property :status_message, as: 'statusMessage'
|
6266
|
+
property :type, as: 'type'
|
6140
6267
|
end
|
6141
6268
|
end
|
6142
6269
|
|
@@ -7784,6 +7911,14 @@ module Google
|
|
7784
7911
|
end
|
7785
7912
|
end
|
7786
7913
|
|
7914
|
+
class ImageFamilyView
|
7915
|
+
# @private
|
7916
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7917
|
+
property :image, as: 'image', class: Google::Apis::ComputeV1::Image, decorator: Google::Apis::ComputeV1::Image::Representation
|
7918
|
+
|
7919
|
+
end
|
7920
|
+
end
|
7921
|
+
|
7787
7922
|
class ImageList
|
7788
7923
|
# @private
|
7789
7924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8217,6 +8352,7 @@ module Google
|
|
8217
8352
|
# @private
|
8218
8353
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8219
8354
|
collection :instances, as: 'instances'
|
8355
|
+
property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
|
8220
8356
|
end
|
8221
8357
|
end
|
8222
8358
|
|
@@ -8777,6 +8913,7 @@ module Google
|
|
8777
8913
|
property :peer_ip_address, as: 'peerIpAddress'
|
8778
8914
|
property :provisioned_link_count, as: 'provisionedLinkCount'
|
8779
8915
|
property :requested_link_count, as: 'requestedLinkCount'
|
8916
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
8780
8917
|
property :self_link, as: 'selfLink'
|
8781
8918
|
property :state, as: 'state'
|
8782
8919
|
end
|
@@ -8811,6 +8948,7 @@ module Google
|
|
8811
8948
|
|
8812
8949
|
property :region, as: 'region'
|
8813
8950
|
property :router, as: 'router'
|
8951
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
8814
8952
|
property :self_link, as: 'selfLink'
|
8815
8953
|
property :state, as: 'state'
|
8816
8954
|
property :type, as: 'type'
|
@@ -9039,6 +9177,7 @@ module Google
|
|
9039
9177
|
|
9040
9178
|
property :self_link, as: 'selfLink'
|
9041
9179
|
property :status, as: 'status'
|
9180
|
+
property :supports_pzs, as: 'supportsPzs'
|
9042
9181
|
end
|
9043
9182
|
end
|
9044
9183
|
|
@@ -10553,6 +10692,18 @@ module Google
|
|
10553
10692
|
end
|
10554
10693
|
end
|
10555
10694
|
|
10695
|
+
class PacketIntervals
|
10696
|
+
# @private
|
10697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10698
|
+
property :avg_ms, :numeric_string => true, as: 'avgMs'
|
10699
|
+
property :duration, as: 'duration'
|
10700
|
+
property :max_ms, :numeric_string => true, as: 'maxMs'
|
10701
|
+
property :min_ms, :numeric_string => true, as: 'minMs'
|
10702
|
+
property :num_intervals, :numeric_string => true, as: 'numIntervals'
|
10703
|
+
property :type, as: 'type'
|
10704
|
+
end
|
10705
|
+
end
|
10706
|
+
|
10556
10707
|
class PacketMirroring
|
10557
10708
|
# @private
|
10558
10709
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11294,6 +11445,7 @@ module Google
|
|
11294
11445
|
# @private
|
11295
11446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11296
11447
|
collection :instances, as: 'instances'
|
11448
|
+
property :skip_instances_on_validation_error, as: 'skipInstancesOnValidationError'
|
11297
11449
|
end
|
11298
11450
|
end
|
11299
11451
|
|
@@ -11499,6 +11651,8 @@ module Google
|
|
11499
11651
|
property :name, as: 'name'
|
11500
11652
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
11501
11653
|
property :self_link, as: 'selfLink'
|
11654
|
+
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
|
11655
|
+
|
11502
11656
|
property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeV1::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuReservation::Representation
|
11503
11657
|
|
11504
11658
|
property :specific_reservation_required, as: 'specificReservationRequired'
|
@@ -11874,6 +12028,8 @@ module Google
|
|
11874
12028
|
class Route
|
11875
12029
|
# @private
|
11876
12030
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12031
|
+
collection :as_paths, as: 'asPaths', class: Google::Apis::ComputeV1::RouteAsPath, decorator: Google::Apis::ComputeV1::RouteAsPath::Representation
|
12032
|
+
|
11877
12033
|
property :creation_timestamp, as: 'creationTimestamp'
|
11878
12034
|
property :description, as: 'description'
|
11879
12035
|
property :dest_range, as: 'destRange'
|
@@ -11889,6 +12045,7 @@ module Google
|
|
11889
12045
|
property :next_hop_peering, as: 'nextHopPeering'
|
11890
12046
|
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
|
11891
12047
|
property :priority, as: 'priority'
|
12048
|
+
property :route_type, as: 'routeType'
|
11892
12049
|
property :self_link, as: 'selfLink'
|
11893
12050
|
collection :tags, as: 'tags'
|
11894
12051
|
collection :warnings, as: 'warnings', class: Google::Apis::ComputeV1::Route::Warning, decorator: Google::Apis::ComputeV1::Route::Warning::Representation
|
@@ -11914,6 +12071,14 @@ module Google
|
|
11914
12071
|
end
|
11915
12072
|
end
|
11916
12073
|
|
12074
|
+
class RouteAsPath
|
12075
|
+
# @private
|
12076
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12077
|
+
collection :as_lists, as: 'asLists'
|
12078
|
+
property :path_segment_type, as: 'pathSegmentType'
|
12079
|
+
end
|
12080
|
+
end
|
12081
|
+
|
11917
12082
|
class RouteList
|
11918
12083
|
# @private
|
11919
12084
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12030,6 +12195,8 @@ module Google
|
|
12030
12195
|
collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
|
12031
12196
|
|
12032
12197
|
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
12198
|
+
property :bfd, as: 'bfd', class: Google::Apis::ComputeV1::RouterBgpPeerBfd, decorator: Google::Apis::ComputeV1::RouterBgpPeerBfd::Representation
|
12199
|
+
|
12033
12200
|
property :enable, as: 'enable'
|
12034
12201
|
property :interface_name, as: 'interfaceName'
|
12035
12202
|
property :ip_address, as: 'ipAddress'
|
@@ -12037,6 +12204,17 @@ module Google
|
|
12037
12204
|
property :name, as: 'name'
|
12038
12205
|
property :peer_asn, as: 'peerAsn'
|
12039
12206
|
property :peer_ip_address, as: 'peerIpAddress'
|
12207
|
+
property :router_appliance_instance, as: 'routerApplianceInstance'
|
12208
|
+
end
|
12209
|
+
end
|
12210
|
+
|
12211
|
+
class RouterBgpPeerBfd
|
12212
|
+
# @private
|
12213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12214
|
+
property :min_receive_interval, as: 'minReceiveInterval'
|
12215
|
+
property :min_transmit_interval, as: 'minTransmitInterval'
|
12216
|
+
property :multiplier, as: 'multiplier'
|
12217
|
+
property :session_initialization_mode, as: 'sessionInitializationMode'
|
12040
12218
|
end
|
12041
12219
|
end
|
12042
12220
|
|
@@ -12048,6 +12226,9 @@ module Google
|
|
12048
12226
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
12049
12227
|
property :management_type, as: 'managementType'
|
12050
12228
|
property :name, as: 'name'
|
12229
|
+
property :private_ip_address, as: 'privateIpAddress'
|
12230
|
+
property :redundant_interface, as: 'redundantInterface'
|
12231
|
+
property :subnetwork, as: 'subnetwork'
|
12051
12232
|
end
|
12052
12233
|
end
|
12053
12234
|
|
@@ -12095,10 +12276,13 @@ module Google
|
|
12095
12276
|
property :name, as: 'name'
|
12096
12277
|
property :nat_ip_allocate_option, as: 'natIpAllocateOption'
|
12097
12278
|
collection :nat_ips, as: 'natIps'
|
12279
|
+
collection :rules, as: 'rules', class: Google::Apis::ComputeV1::RouterNatRule, decorator: Google::Apis::ComputeV1::RouterNatRule::Representation
|
12280
|
+
|
12098
12281
|
property :source_subnetwork_ip_ranges_to_nat, as: 'sourceSubnetworkIpRangesToNat'
|
12099
12282
|
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeV1::RouterNatSubnetworkToNat, decorator: Google::Apis::ComputeV1::RouterNatSubnetworkToNat::Representation
|
12100
12283
|
|
12101
12284
|
property :tcp_established_idle_timeout_sec, as: 'tcpEstablishedIdleTimeoutSec'
|
12285
|
+
property :tcp_time_wait_timeout_sec, as: 'tcpTimeWaitTimeoutSec'
|
12102
12286
|
property :tcp_transitory_idle_timeout_sec, as: 'tcpTransitoryIdleTimeoutSec'
|
12103
12287
|
property :udp_idle_timeout_sec, as: 'udpIdleTimeoutSec'
|
12104
12288
|
end
|
@@ -12112,6 +12296,25 @@ module Google
|
|
12112
12296
|
end
|
12113
12297
|
end
|
12114
12298
|
|
12299
|
+
class RouterNatRule
|
12300
|
+
# @private
|
12301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12302
|
+
property :action, as: 'action', class: Google::Apis::ComputeV1::RouterNatRuleAction, decorator: Google::Apis::ComputeV1::RouterNatRuleAction::Representation
|
12303
|
+
|
12304
|
+
property :description, as: 'description'
|
12305
|
+
property :match, as: 'match'
|
12306
|
+
property :rule_number, as: 'ruleNumber'
|
12307
|
+
end
|
12308
|
+
end
|
12309
|
+
|
12310
|
+
class RouterNatRuleAction
|
12311
|
+
# @private
|
12312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12313
|
+
collection :source_nat_active_ips, as: 'sourceNatActiveIps'
|
12314
|
+
collection :source_nat_drain_ips, as: 'sourceNatDrainIps'
|
12315
|
+
end
|
12316
|
+
end
|
12317
|
+
|
12115
12318
|
class RouterNatSubnetworkToNat
|
12116
12319
|
# @private
|
12117
12320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12141,11 +12344,14 @@ module Google
|
|
12141
12344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12142
12345
|
collection :advertised_routes, as: 'advertisedRoutes', class: Google::Apis::ComputeV1::Route, decorator: Google::Apis::ComputeV1::Route::Representation
|
12143
12346
|
|
12347
|
+
property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeV1::BfdStatus, decorator: Google::Apis::ComputeV1::BfdStatus::Representation
|
12348
|
+
|
12144
12349
|
property :ip_address, as: 'ipAddress'
|
12145
12350
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
12146
12351
|
property :name, as: 'name'
|
12147
12352
|
property :num_learned_routes, as: 'numLearnedRoutes'
|
12148
12353
|
property :peer_ip_address, as: 'peerIpAddress'
|
12354
|
+
property :router_appliance_instance, as: 'routerApplianceInstance'
|
12149
12355
|
property :state, as: 'state'
|
12150
12356
|
property :status, as: 'status'
|
12151
12357
|
property :uptime, as: 'uptime'
|
@@ -12162,11 +12368,24 @@ module Google
|
|
12162
12368
|
property :min_extra_nat_ips_needed, as: 'minExtraNatIpsNeeded'
|
12163
12369
|
property :name, as: 'name'
|
12164
12370
|
property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings'
|
12371
|
+
collection :rule_status, as: 'ruleStatus', class: Google::Apis::ComputeV1::RouterStatusNatStatusNatRuleStatus, decorator: Google::Apis::ComputeV1::RouterStatusNatStatusNatRuleStatus::Representation
|
12372
|
+
|
12165
12373
|
collection :user_allocated_nat_ip_resources, as: 'userAllocatedNatIpResources'
|
12166
12374
|
collection :user_allocated_nat_ips, as: 'userAllocatedNatIps'
|
12167
12375
|
end
|
12168
12376
|
end
|
12169
12377
|
|
12378
|
+
class RouterStatusNatStatusNatRuleStatus
|
12379
|
+
# @private
|
12380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12381
|
+
collection :active_nat_ips, as: 'activeNatIps'
|
12382
|
+
collection :drain_nat_ips, as: 'drainNatIps'
|
12383
|
+
property :min_extra_ips_needed, as: 'minExtraIpsNeeded'
|
12384
|
+
property :num_vm_endpoints_with_nat_mappings, as: 'numVmEndpointsWithNatMappings'
|
12385
|
+
property :rule_number, as: 'ruleNumber'
|
12386
|
+
end
|
12387
|
+
end
|
12388
|
+
|
12170
12389
|
class RouterStatusResponse
|
12171
12390
|
# @private
|
12172
12391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12576,6 +12795,13 @@ module Google
|
|
12576
12795
|
end
|
12577
12796
|
end
|
12578
12797
|
|
12798
|
+
class ShareSettings
|
12799
|
+
# @private
|
12800
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12801
|
+
property :share_type, as: 'shareType'
|
12802
|
+
end
|
12803
|
+
end
|
12804
|
+
|
12579
12805
|
class ShieldedInstanceConfig
|
12580
12806
|
# @private
|
12581
12807
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13087,6 +13313,13 @@ module Google
|
|
13087
13313
|
end
|
13088
13314
|
end
|
13089
13315
|
|
13316
|
+
class Subsetting
|
13317
|
+
# @private
|
13318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13319
|
+
property :policy, as: 'policy'
|
13320
|
+
end
|
13321
|
+
end
|
13322
|
+
|
13090
13323
|
class TcpHealthCheck
|
13091
13324
|
# @private
|
13092
13325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13382,6 +13615,7 @@ module Google
|
|
13382
13615
|
property :kind, as: 'kind'
|
13383
13616
|
property :name, as: 'name'
|
13384
13617
|
property :nat_policy, as: 'natPolicy'
|
13618
|
+
property :network, as: 'network'
|
13385
13619
|
property :self_link, as: 'selfLink'
|
13386
13620
|
property :zone, as: 'zone'
|
13387
13621
|
end
|
@@ -5765,8 +5765,7 @@ module Google
|
|
5765
5765
|
execute_or_queue_command(command, &block)
|
5766
5766
|
end
|
5767
5767
|
|
5768
|
-
# Retrieves the specified Operations resource.
|
5769
|
-
# making a `list()` request.
|
5768
|
+
# Retrieves the specified Operations resource.
|
5770
5769
|
# @param [String] project
|
5771
5770
|
# Project ID for this request.
|
5772
5771
|
# @param [String] operation
|
@@ -7332,6 +7331,46 @@ module Google
|
|
7332
7331
|
execute_or_queue_command(command, &block)
|
7333
7332
|
end
|
7334
7333
|
|
7334
|
+
# Returns the latest image that is part of an image family, is not deprecated
|
7335
|
+
# and is rolled out in the specified zone.
|
7336
|
+
# @param [String] project
|
7337
|
+
# Project ID for this request.
|
7338
|
+
# @param [String] zone
|
7339
|
+
# The name of the zone for this request.
|
7340
|
+
# @param [String] family
|
7341
|
+
# Name of the image family to search for.
|
7342
|
+
# @param [String] fields
|
7343
|
+
# Selector specifying which fields to include in a partial response.
|
7344
|
+
# @param [String] quota_user
|
7345
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
7346
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
7347
|
+
# @param [String] user_ip
|
7348
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
7349
|
+
# @param [Google::Apis::RequestOptions] options
|
7350
|
+
# Request-specific options
|
7351
|
+
#
|
7352
|
+
# @yield [result, err] Result & error if block supplied
|
7353
|
+
# @yieldparam result [Google::Apis::ComputeV1::ImageFamilyView] parsed result object
|
7354
|
+
# @yieldparam err [StandardError] error object if request failed
|
7355
|
+
#
|
7356
|
+
# @return [Google::Apis::ComputeV1::ImageFamilyView]
|
7357
|
+
#
|
7358
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
7359
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
7360
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
7361
|
+
def get_image_family_view(project, zone, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
7362
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/imageFamilyViews/{family}', options)
|
7363
|
+
command.response_representation = Google::Apis::ComputeV1::ImageFamilyView::Representation
|
7364
|
+
command.response_class = Google::Apis::ComputeV1::ImageFamilyView
|
7365
|
+
command.params['project'] = project unless project.nil?
|
7366
|
+
command.params['zone'] = zone unless zone.nil?
|
7367
|
+
command.params['family'] = family unless family.nil?
|
7368
|
+
command.query['fields'] = fields unless fields.nil?
|
7369
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
7370
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
7371
|
+
execute_or_queue_command(command, &block)
|
7372
|
+
end
|
7373
|
+
|
7335
7374
|
# Deletes the specified image.
|
7336
7375
|
# @param [String] project
|
7337
7376
|
# Project ID for this request.
|
@@ -8674,7 +8713,11 @@ module Google
|
|
8674
8713
|
# the instances in the group are still in the process of being patched. You must
|
8675
8714
|
# separately verify the status of the individual instances with the
|
8676
8715
|
# listManagedInstances method. This method supports PATCH semantics and uses the
|
8677
|
-
# JSON merge patch format and processing rules.
|
8716
|
+
# JSON merge patch format and processing rules. If you update your group to
|
8717
|
+
# specify a new template or instance configuration, it's possible that your
|
8718
|
+
# intended specification for each VM in the group is different from the current
|
8719
|
+
# state of that VM. To learn how to apply an updated configuration to the VMs in
|
8720
|
+
# a MIG, see Updating instances in a MIG.
|
8678
8721
|
# @param [String] project
|
8679
8722
|
# Project ID for this request.
|
8680
8723
|
# @param [String] zone
|
@@ -10074,8 +10117,9 @@ module Google
|
|
10074
10117
|
execute_or_queue_command(command, &block)
|
10075
10118
|
end
|
10076
10119
|
|
10077
|
-
# Retrieves aggregated list of all of the instances in your project across
|
10078
|
-
# regions and zones.
|
10120
|
+
# Retrieves an aggregated list of all of the instances in your project across
|
10121
|
+
# all regions and zones. The performance of this method degrades when a filter
|
10122
|
+
# is specified on a project that has a very large number of instances.
|
10079
10123
|
# @param [String] project
|
10080
10124
|
# Project ID for this request.
|
10081
10125
|
# @param [String] filter
|
@@ -14706,9 +14750,9 @@ module Google
|
|
14706
14750
|
execute_or_queue_command(command, &block)
|
14707
14751
|
end
|
14708
14752
|
|
14709
|
-
# Updates the specified network peering with the data included in the request
|
14710
|
-
#
|
14711
|
-
#
|
14753
|
+
# Updates the specified network peering with the data included in the request.
|
14754
|
+
# You can only modify the NetworkPeering.export_custom_routes field and the
|
14755
|
+
# NetworkPeering.import_custom_routes field.
|
14712
14756
|
# @param [String] project
|
14713
14757
|
# Project ID for this request.
|
14714
14758
|
# @param [String] network
|
@@ -20770,7 +20814,11 @@ module Google
|
|
20770
20814
|
# the instances in the group are still in the process of being patched. You must
|
20771
20815
|
# separately verify the status of the individual instances with the
|
20772
20816
|
# listmanagedinstances method. This method supports PATCH semantics and uses the
|
20773
|
-
# JSON merge patch format and processing rules.
|
20817
|
+
# JSON merge patch format and processing rules. If you update your group to
|
20818
|
+
# specify a new template or instance configuration, it's possible that your
|
20819
|
+
# intended specification for each VM in the group is different from the current
|
20820
|
+
# state of that VM. To learn how to apply an updated configuration to the VMs in
|
20821
|
+
# a MIG, see Updating instances in a MIG.
|
20774
20822
|
# @param [String] project
|
20775
20823
|
# Project ID for this request.
|
20776
20824
|
# @param [String] region
|
@@ -32132,14 +32180,14 @@ module Google
|
|
32132
32180
|
|
32133
32181
|
# Waits for the specified Operation resource to return as `DONE` or for the
|
32134
32182
|
# request to approach the 2 minute deadline, and retrieves the specified
|
32135
|
-
# Operation resource. This method
|
32136
|
-
#
|
32137
|
-
#
|
32138
|
-
#
|
32139
|
-
#
|
32140
|
-
# deadline is reached,
|
32141
|
-
#
|
32142
|
-
#
|
32183
|
+
# Operation resource. This method waits for no more than the 2 minutes and then
|
32184
|
+
# returns the current state of the operation, which might be `DONE` or still in
|
32185
|
+
# progress. This method is called on a best-effort basis. Specifically: - In
|
32186
|
+
# uncommon cases, when the server is overloaded, the request might return before
|
32187
|
+
# the default deadline is reached, or might return after zero seconds. - If the
|
32188
|
+
# default deadline is reached, there is no guarantee that the operation is
|
32189
|
+
# actually done when the method returns. Be prepared to retry if the operation
|
32190
|
+
# is not `DONE`.
|
32143
32191
|
# @param [String] project
|
32144
32192
|
# Project ID for this request.
|
32145
32193
|
# @param [String] zone
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
|
35
35
|
# View and manage your Google Compute Engine resources
|
@@ -38,13 +38,13 @@ module Google
|
|
38
38
|
# View your Google Compute Engine resources
|
39
39
|
AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
|
40
40
|
|
41
|
-
# Manage your data and permissions in
|
41
|
+
# Manage your data and permissions in Cloud Storage and see the email address for your Google Account
|
42
42
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
43
43
|
|
44
44
|
# View your data in Google Cloud Storage
|
45
45
|
AUTH_DEVSTORAGE_READ_ONLY = 'https://www.googleapis.com/auth/devstorage.read_only'
|
46
46
|
|
47
|
-
# Manage your data in
|
47
|
+
# Manage your data in Cloud Storage and see the email address of your Google Account
|
48
48
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
49
49
|
end
|
50
50
|
end
|
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.19.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-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.19.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|