google-apis-compute_v1 0.18.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 +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/compute_v1/classes.rb +342 -8
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +105 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '05918ff5a3c165c146f0e3f297c3bb7027097f87a4ea537f159eb5c353511bbe'
|
4
|
+
data.tar.gz: d74b0893109fd871febb3ed1ef486cb11bc67956ac8c21d1de0cd4e41bf90a51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2134a75a3637bc64c8827e75a7c3ae38cb552673d80172632ddb87209cd81ce9e708c10b77ed0f4f9f7cb02e1b98bc616666023b9e678e713aaabf01314ed045
|
7
|
+
data.tar.gz: f155d941dc47bf9a8f4142a4092be75c7078b75aa42148d967f2a51074041d2da5fd69ab0308c209adff304a07d937e35d2a351d48efdceaf1418d61e3d7fa58
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Compute service in particular.)
|
67
67
|
|
@@ -510,13 +510,17 @@ module Google
|
|
510
510
|
attr_accessor :network_tier
|
511
511
|
|
512
512
|
# The DNS domain name for the public PTR record. You can set this field only if
|
513
|
-
# the `setPublicPtr` field is enabled.
|
513
|
+
# the `setPublicPtr` field is enabled in accessConfig. If this field is
|
514
|
+
# unspecified in ipv6AccessConfig, a default PTR record will be createc for
|
515
|
+
# first IP in associated external IPv6 range.
|
514
516
|
# Corresponds to the JSON property `publicPtrDomainName`
|
515
517
|
# @return [String]
|
516
518
|
attr_accessor :public_ptr_domain_name
|
517
519
|
|
518
520
|
# Specifies whether a public DNS 'PTR' record should be created to map the
|
519
|
-
# external IP address of the instance to a DNS domain name.
|
521
|
+
# external IP address of the instance to a DNS domain name. This field is not
|
522
|
+
# used in ipv6AccessConfig. A default PTR record will be created if the VM has
|
523
|
+
# external IPv6 range associated.
|
520
524
|
# Corresponds to the JSON property `setPublicPtr`
|
521
525
|
# @return [Boolean]
|
522
526
|
attr_accessor :set_public_ptr
|
@@ -2646,7 +2650,7 @@ module Google
|
|
2646
2650
|
# specified), or else sets the response max-age directive to the lesser of the
|
2647
2651
|
# client_ttl and default_ttl, and also ensures a "public" cache-control
|
2648
2652
|
# directive is present. If a client TTL is not specified, a default value (1
|
2649
|
-
# hour) will be used. The maximum allowed value is
|
2653
|
+
# hour) will be used. The maximum allowed value is 31,622,400s (1 year).
|
2650
2654
|
# Corresponds to the JSON property `clientTtl`
|
2651
2655
|
# @return [Fixnum]
|
2652
2656
|
attr_accessor :client_ttl
|
@@ -3412,7 +3416,7 @@ module Google
|
|
3412
3416
|
# specified), or else sets the response max-age directive to the lesser of the
|
3413
3417
|
# client_ttl and default_ttl, and also ensures a "public" cache-control
|
3414
3418
|
# directive is present. If a client TTL is not specified, a default value (1
|
3415
|
-
# hour) will be used. The maximum allowed value is
|
3419
|
+
# hour) will be used. The maximum allowed value is 31,622,400s (1 year).
|
3416
3420
|
# Corresponds to the JSON property `clientTtl`
|
3417
3421
|
# @return [Fixnum]
|
3418
3422
|
attr_accessor :client_ttl
|
@@ -3966,6 +3970,255 @@ module Google
|
|
3966
3970
|
end
|
3967
3971
|
end
|
3968
3972
|
|
3973
|
+
#
|
3974
|
+
class BfdPacket
|
3975
|
+
include Google::Apis::Core::Hashable
|
3976
|
+
|
3977
|
+
# The Authentication Present bit of the BFD packet. This is specified in section
|
3978
|
+
# 4.1 of RFC5880
|
3979
|
+
# Corresponds to the JSON property `authenticationPresent`
|
3980
|
+
# @return [Boolean]
|
3981
|
+
attr_accessor :authentication_present
|
3982
|
+
alias_method :authentication_present?, :authentication_present
|
3983
|
+
|
3984
|
+
# The Control Plane Independent bit of the BFD packet. This is specified in
|
3985
|
+
# section 4.1 of RFC5880
|
3986
|
+
# Corresponds to the JSON property `controlPlaneIndependent`
|
3987
|
+
# @return [Boolean]
|
3988
|
+
attr_accessor :control_plane_independent
|
3989
|
+
alias_method :control_plane_independent?, :control_plane_independent
|
3990
|
+
|
3991
|
+
# The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880
|
3992
|
+
# Corresponds to the JSON property `demand`
|
3993
|
+
# @return [Boolean]
|
3994
|
+
attr_accessor :demand
|
3995
|
+
alias_method :demand?, :demand
|
3996
|
+
|
3997
|
+
# The diagnostic code specifies the local system's reason for the last change in
|
3998
|
+
# session state. This allows remote systems to determine the reason that the
|
3999
|
+
# previous session failed, for example. These diagnostic codes are specified in
|
4000
|
+
# section 4.1 of RFC5880
|
4001
|
+
# Corresponds to the JSON property `diagnostic`
|
4002
|
+
# @return [String]
|
4003
|
+
attr_accessor :diagnostic
|
4004
|
+
|
4005
|
+
# The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880
|
4006
|
+
# Corresponds to the JSON property `final`
|
4007
|
+
# @return [Boolean]
|
4008
|
+
attr_accessor :final
|
4009
|
+
alias_method :final?, :final
|
4010
|
+
|
4011
|
+
# The length of the BFD Control packet in bytes. This is specified in section 4.
|
4012
|
+
# 1 of RFC5880
|
4013
|
+
# Corresponds to the JSON property `length`
|
4014
|
+
# @return [Fixnum]
|
4015
|
+
attr_accessor :length
|
4016
|
+
|
4017
|
+
# The Required Min Echo RX Interval value in the BFD packet. This is specified
|
4018
|
+
# in section 4.1 of RFC5880
|
4019
|
+
# Corresponds to the JSON property `minEchoRxIntervalMs`
|
4020
|
+
# @return [Fixnum]
|
4021
|
+
attr_accessor :min_echo_rx_interval_ms
|
4022
|
+
|
4023
|
+
# The Required Min RX Interval value in the BFD packet. This is specified in
|
4024
|
+
# section 4.1 of RFC5880
|
4025
|
+
# Corresponds to the JSON property `minRxIntervalMs`
|
4026
|
+
# @return [Fixnum]
|
4027
|
+
attr_accessor :min_rx_interval_ms
|
4028
|
+
|
4029
|
+
# The Desired Min TX Interval value in the BFD packet. This is specified in
|
4030
|
+
# section 4.1 of RFC5880
|
4031
|
+
# Corresponds to the JSON property `minTxIntervalMs`
|
4032
|
+
# @return [Fixnum]
|
4033
|
+
attr_accessor :min_tx_interval_ms
|
4034
|
+
|
4035
|
+
# The detection time multiplier of the BFD packet. This is specified in section
|
4036
|
+
# 4.1 of RFC5880
|
4037
|
+
# Corresponds to the JSON property `multiplier`
|
4038
|
+
# @return [Fixnum]
|
4039
|
+
attr_accessor :multiplier
|
4040
|
+
|
4041
|
+
# The multipoint bit of the BFD packet. This is specified in section 4.1 of
|
4042
|
+
# RFC5880
|
4043
|
+
# Corresponds to the JSON property `multipoint`
|
4044
|
+
# @return [Boolean]
|
4045
|
+
attr_accessor :multipoint
|
4046
|
+
alias_method :multipoint?, :multipoint
|
4047
|
+
|
4048
|
+
# The My Discriminator value in the BFD packet. This is specified in section 4.1
|
4049
|
+
# of RFC5880
|
4050
|
+
# Corresponds to the JSON property `myDiscriminator`
|
4051
|
+
# @return [Fixnum]
|
4052
|
+
attr_accessor :my_discriminator
|
4053
|
+
|
4054
|
+
# The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880
|
4055
|
+
# Corresponds to the JSON property `poll`
|
4056
|
+
# @return [Boolean]
|
4057
|
+
attr_accessor :poll
|
4058
|
+
alias_method :poll?, :poll
|
4059
|
+
|
4060
|
+
# The current BFD session state as seen by the transmitting system. These states
|
4061
|
+
# are specified in section 4.1 of RFC5880
|
4062
|
+
# Corresponds to the JSON property `state`
|
4063
|
+
# @return [String]
|
4064
|
+
attr_accessor :state
|
4065
|
+
|
4066
|
+
# The version number of the BFD protocol, as specified in section 4.1 of RFC5880.
|
4067
|
+
# Corresponds to the JSON property `version`
|
4068
|
+
# @return [Fixnum]
|
4069
|
+
attr_accessor :version
|
4070
|
+
|
4071
|
+
# The Your Discriminator value in the BFD packet. This is specified in section 4.
|
4072
|
+
# 1 of RFC5880
|
4073
|
+
# Corresponds to the JSON property `yourDiscriminator`
|
4074
|
+
# @return [Fixnum]
|
4075
|
+
attr_accessor :your_discriminator
|
4076
|
+
|
4077
|
+
def initialize(**args)
|
4078
|
+
update!(**args)
|
4079
|
+
end
|
4080
|
+
|
4081
|
+
# Update properties of this object
|
4082
|
+
def update!(**args)
|
4083
|
+
@authentication_present = args[:authentication_present] if args.key?(:authentication_present)
|
4084
|
+
@control_plane_independent = args[:control_plane_independent] if args.key?(:control_plane_independent)
|
4085
|
+
@demand = args[:demand] if args.key?(:demand)
|
4086
|
+
@diagnostic = args[:diagnostic] if args.key?(:diagnostic)
|
4087
|
+
@final = args[:final] if args.key?(:final)
|
4088
|
+
@length = args[:length] if args.key?(:length)
|
4089
|
+
@min_echo_rx_interval_ms = args[:min_echo_rx_interval_ms] if args.key?(:min_echo_rx_interval_ms)
|
4090
|
+
@min_rx_interval_ms = args[:min_rx_interval_ms] if args.key?(:min_rx_interval_ms)
|
4091
|
+
@min_tx_interval_ms = args[:min_tx_interval_ms] if args.key?(:min_tx_interval_ms)
|
4092
|
+
@multiplier = args[:multiplier] if args.key?(:multiplier)
|
4093
|
+
@multipoint = args[:multipoint] if args.key?(:multipoint)
|
4094
|
+
@my_discriminator = args[:my_discriminator] if args.key?(:my_discriminator)
|
4095
|
+
@poll = args[:poll] if args.key?(:poll)
|
4096
|
+
@state = args[:state] if args.key?(:state)
|
4097
|
+
@version = args[:version] if args.key?(:version)
|
4098
|
+
@your_discriminator = args[:your_discriminator] if args.key?(:your_discriminator)
|
4099
|
+
end
|
4100
|
+
end
|
4101
|
+
|
4102
|
+
# Next free: 15
|
4103
|
+
class BfdStatus
|
4104
|
+
include Google::Apis::Core::Hashable
|
4105
|
+
|
4106
|
+
# The BFD session initialization mode for this BGP peer. If set to ACTIVE, the
|
4107
|
+
# Cloud Router will initiate the BFD session for this BGP peer. If set to
|
4108
|
+
# PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
|
4109
|
+
# session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
|
4110
|
+
# peer.
|
4111
|
+
# Corresponds to the JSON property `bfdSessionInitializationMode`
|
4112
|
+
# @return [String]
|
4113
|
+
attr_accessor :bfd_session_initialization_mode
|
4114
|
+
|
4115
|
+
# Unix timestamp of the most recent config update.
|
4116
|
+
# Corresponds to the JSON property `configUpdateTimestampMicros`
|
4117
|
+
# @return [Fixnum]
|
4118
|
+
attr_accessor :config_update_timestamp_micros
|
4119
|
+
|
4120
|
+
# Control packet counts for the current BFD session.
|
4121
|
+
# Corresponds to the JSON property `controlPacketCounts`
|
4122
|
+
# @return [Google::Apis::ComputeV1::BfdStatusPacketCounts]
|
4123
|
+
attr_accessor :control_packet_counts
|
4124
|
+
|
4125
|
+
# Inter-packet time interval statistics for control packets.
|
4126
|
+
# Corresponds to the JSON property `controlPacketIntervals`
|
4127
|
+
# @return [Array<Google::Apis::ComputeV1::PacketIntervals>]
|
4128
|
+
attr_accessor :control_packet_intervals
|
4129
|
+
|
4130
|
+
# The diagnostic code specifies the local system's reason for the last change in
|
4131
|
+
# session state. This allows remote systems to determine the reason that the
|
4132
|
+
# previous session failed, for example. These diagnostic codes are specified in
|
4133
|
+
# section 4.1 of RFC5880
|
4134
|
+
# Corresponds to the JSON property `localDiagnostic`
|
4135
|
+
# @return [String]
|
4136
|
+
attr_accessor :local_diagnostic
|
4137
|
+
|
4138
|
+
# The current BFD session state as seen by the transmitting system. These states
|
4139
|
+
# are specified in section 4.1 of RFC5880
|
4140
|
+
# Corresponds to the JSON property `localState`
|
4141
|
+
# @return [String]
|
4142
|
+
attr_accessor :local_state
|
4143
|
+
|
4144
|
+
# Negotiated transmit interval for control packets.
|
4145
|
+
# Corresponds to the JSON property `negotiatedLocalControlTxIntervalMs`
|
4146
|
+
# @return [Fixnum]
|
4147
|
+
attr_accessor :negotiated_local_control_tx_interval_ms
|
4148
|
+
|
4149
|
+
# The most recent Rx control packet for this BFD session.
|
4150
|
+
# Corresponds to the JSON property `rxPacket`
|
4151
|
+
# @return [Google::Apis::ComputeV1::BfdPacket]
|
4152
|
+
attr_accessor :rx_packet
|
4153
|
+
|
4154
|
+
# The most recent Tx control packet for this BFD session.
|
4155
|
+
# Corresponds to the JSON property `txPacket`
|
4156
|
+
# @return [Google::Apis::ComputeV1::BfdPacket]
|
4157
|
+
attr_accessor :tx_packet
|
4158
|
+
|
4159
|
+
# Session uptime in milliseconds. Value will be 0 if session is not up.
|
4160
|
+
# Corresponds to the JSON property `uptimeMs`
|
4161
|
+
# @return [Fixnum]
|
4162
|
+
attr_accessor :uptime_ms
|
4163
|
+
|
4164
|
+
def initialize(**args)
|
4165
|
+
update!(**args)
|
4166
|
+
end
|
4167
|
+
|
4168
|
+
# Update properties of this object
|
4169
|
+
def update!(**args)
|
4170
|
+
@bfd_session_initialization_mode = args[:bfd_session_initialization_mode] if args.key?(:bfd_session_initialization_mode)
|
4171
|
+
@config_update_timestamp_micros = args[:config_update_timestamp_micros] if args.key?(:config_update_timestamp_micros)
|
4172
|
+
@control_packet_counts = args[:control_packet_counts] if args.key?(:control_packet_counts)
|
4173
|
+
@control_packet_intervals = args[:control_packet_intervals] if args.key?(:control_packet_intervals)
|
4174
|
+
@local_diagnostic = args[:local_diagnostic] if args.key?(:local_diagnostic)
|
4175
|
+
@local_state = args[:local_state] if args.key?(:local_state)
|
4176
|
+
@negotiated_local_control_tx_interval_ms = args[:negotiated_local_control_tx_interval_ms] if args.key?(:negotiated_local_control_tx_interval_ms)
|
4177
|
+
@rx_packet = args[:rx_packet] if args.key?(:rx_packet)
|
4178
|
+
@tx_packet = args[:tx_packet] if args.key?(:tx_packet)
|
4179
|
+
@uptime_ms = args[:uptime_ms] if args.key?(:uptime_ms)
|
4180
|
+
end
|
4181
|
+
end
|
4182
|
+
|
4183
|
+
#
|
4184
|
+
class BfdStatusPacketCounts
|
4185
|
+
include Google::Apis::Core::Hashable
|
4186
|
+
|
4187
|
+
# Number of packets received since the beginning of the current BFD session.
|
4188
|
+
# Corresponds to the JSON property `numRx`
|
4189
|
+
# @return [Fixnum]
|
4190
|
+
attr_accessor :num_rx
|
4191
|
+
|
4192
|
+
# Number of packets received that were rejected because of errors since the
|
4193
|
+
# beginning of the current BFD session.
|
4194
|
+
# Corresponds to the JSON property `numRxRejected`
|
4195
|
+
# @return [Fixnum]
|
4196
|
+
attr_accessor :num_rx_rejected
|
4197
|
+
|
4198
|
+
# Number of packets received that were successfully processed since the
|
4199
|
+
# beginning of the current BFD session.
|
4200
|
+
# Corresponds to the JSON property `numRxSuccessful`
|
4201
|
+
# @return [Fixnum]
|
4202
|
+
attr_accessor :num_rx_successful
|
4203
|
+
|
4204
|
+
# Number of packets transmitted since the beginning of the current BFD session.
|
4205
|
+
# Corresponds to the JSON property `numTx`
|
4206
|
+
# @return [Fixnum]
|
4207
|
+
attr_accessor :num_tx
|
4208
|
+
|
4209
|
+
def initialize(**args)
|
4210
|
+
update!(**args)
|
4211
|
+
end
|
4212
|
+
|
4213
|
+
# Update properties of this object
|
4214
|
+
def update!(**args)
|
4215
|
+
@num_rx = args[:num_rx] if args.key?(:num_rx)
|
4216
|
+
@num_rx_rejected = args[:num_rx_rejected] if args.key?(:num_rx_rejected)
|
4217
|
+
@num_rx_successful = args[:num_rx_successful] if args.key?(:num_rx_successful)
|
4218
|
+
@num_tx = args[:num_tx] if args.key?(:num_tx)
|
4219
|
+
end
|
4220
|
+
end
|
4221
|
+
|
3969
4222
|
# Associates `members` with a `role`.
|
3970
4223
|
class Binding
|
3971
4224
|
include Google::Apis::Core::Hashable
|
@@ -7006,8 +7259,8 @@ module Google
|
|
7006
7259
|
|
7007
7260
|
# Name of the resource; provided by the client when the resource is created. The
|
7008
7261
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
7009
|
-
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
7010
|
-
# z0-9]*[a-z0-9])
|
7262
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
7263
|
+
# z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all
|
7011
7264
|
# following characters (except for the last character) must be a dash, lowercase
|
7012
7265
|
# letter, or digit. The last character must be a lowercase letter or digit.
|
7013
7266
|
# Corresponds to the JSON property `name`
|
@@ -14478,7 +14731,8 @@ module Google
|
|
14478
14731
|
attr_accessor :network_interfaces
|
14479
14732
|
|
14480
14733
|
# The private IPv6 google access type for VMs. If not specified, use
|
14481
|
-
# INHERIT_FROM_SUBNETWORK as default.
|
14734
|
+
# INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not
|
14735
|
+
# supported yet.
|
14482
14736
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
14483
14737
|
# @return [String]
|
14484
14738
|
attr_accessor :private_ipv6_google_access
|
@@ -14489,7 +14743,7 @@ module Google
|
|
14489
14743
|
attr_accessor :reservation_affinity
|
14490
14744
|
|
14491
14745
|
# Resource policies (names, not ULRs) applied to instances created from these
|
14492
|
-
# properties.
|
14746
|
+
# properties. Note that for MachineImage, this is not supported yet.
|
14493
14747
|
# Corresponds to the JSON property `resourcePolicies`
|
14494
14748
|
# @return [Array<String>]
|
14495
14749
|
attr_accessor :resource_policies
|
@@ -22347,6 +22601,55 @@ module Google
|
|
22347
22601
|
end
|
22348
22602
|
end
|
22349
22603
|
|
22604
|
+
# Next free: 7
|
22605
|
+
class PacketIntervals
|
22606
|
+
include Google::Apis::Core::Hashable
|
22607
|
+
|
22608
|
+
# Average observed inter-packet interval in milliseconds.
|
22609
|
+
# Corresponds to the JSON property `avgMs`
|
22610
|
+
# @return [Fixnum]
|
22611
|
+
attr_accessor :avg_ms
|
22612
|
+
|
22613
|
+
# From how long ago in the past these intervals were observed.
|
22614
|
+
# Corresponds to the JSON property `duration`
|
22615
|
+
# @return [String]
|
22616
|
+
attr_accessor :duration
|
22617
|
+
|
22618
|
+
# Maximum observed inter-packet interval in milliseconds.
|
22619
|
+
# Corresponds to the JSON property `maxMs`
|
22620
|
+
# @return [Fixnum]
|
22621
|
+
attr_accessor :max_ms
|
22622
|
+
|
22623
|
+
# Minimum observed inter-packet interval in milliseconds.
|
22624
|
+
# Corresponds to the JSON property `minMs`
|
22625
|
+
# @return [Fixnum]
|
22626
|
+
attr_accessor :min_ms
|
22627
|
+
|
22628
|
+
# Number of inter-packet intervals from which these statistics were derived.
|
22629
|
+
# Corresponds to the JSON property `numIntervals`
|
22630
|
+
# @return [Fixnum]
|
22631
|
+
attr_accessor :num_intervals
|
22632
|
+
|
22633
|
+
# The type of packets for which inter-packet intervals were computed.
|
22634
|
+
# Corresponds to the JSON property `type`
|
22635
|
+
# @return [String]
|
22636
|
+
attr_accessor :type
|
22637
|
+
|
22638
|
+
def initialize(**args)
|
22639
|
+
update!(**args)
|
22640
|
+
end
|
22641
|
+
|
22642
|
+
# Update properties of this object
|
22643
|
+
def update!(**args)
|
22644
|
+
@avg_ms = args[:avg_ms] if args.key?(:avg_ms)
|
22645
|
+
@duration = args[:duration] if args.key?(:duration)
|
22646
|
+
@max_ms = args[:max_ms] if args.key?(:max_ms)
|
22647
|
+
@min_ms = args[:min_ms] if args.key?(:min_ms)
|
22648
|
+
@num_intervals = args[:num_intervals] if args.key?(:num_intervals)
|
22649
|
+
@type = args[:type] if args.key?(:type)
|
22650
|
+
end
|
22651
|
+
end
|
22652
|
+
|
22350
22653
|
# Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of
|
22351
22654
|
# specified instances in your Virtual Private Cloud (VPC) network and forwards
|
22352
22655
|
# it to a collector destination, such as an instance group of an internal TCP/
|
@@ -25954,6 +26257,11 @@ module Google
|
|
25954
26257
|
# @return [String]
|
25955
26258
|
attr_accessor :self_link
|
25956
26259
|
|
26260
|
+
# The share setting for reservations and sole tenancy node groups.
|
26261
|
+
# Corresponds to the JSON property `shareSettings`
|
26262
|
+
# @return [Google::Apis::ComputeV1::ShareSettings]
|
26263
|
+
attr_accessor :share_settings
|
26264
|
+
|
25957
26265
|
# This reservation type allows to pre allocate specific instance configuration.
|
25958
26266
|
# Next ID: 5
|
25959
26267
|
# Corresponds to the JSON property `specificReservation`
|
@@ -25993,6 +26301,7 @@ module Google
|
|
25993
26301
|
@name = args[:name] if args.key?(:name)
|
25994
26302
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
25995
26303
|
@self_link = args[:self_link] if args.key?(:self_link)
|
26304
|
+
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
25996
26305
|
@specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
|
25997
26306
|
@specific_reservation_required = args[:specific_reservation_required] if args.key?(:specific_reservation_required)
|
25998
26307
|
@status = args[:status] if args.key?(:status)
|
@@ -28689,6 +28998,11 @@ module Google
|
|
28689
28998
|
# @return [Array<Google::Apis::ComputeV1::Route>]
|
28690
28999
|
attr_accessor :advertised_routes
|
28691
29000
|
|
29001
|
+
# Next free: 15
|
29002
|
+
# Corresponds to the JSON property `bfdStatus`
|
29003
|
+
# @return [Google::Apis::ComputeV1::BfdStatus]
|
29004
|
+
attr_accessor :bfd_status
|
29005
|
+
|
28692
29006
|
# IP address of the local BGP interface.
|
28693
29007
|
# Corresponds to the JSON property `ipAddress`
|
28694
29008
|
# @return [String]
|
@@ -28749,6 +29063,7 @@ module Google
|
|
28749
29063
|
# Update properties of this object
|
28750
29064
|
def update!(**args)
|
28751
29065
|
@advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
|
29066
|
+
@bfd_status = args[:bfd_status] if args.key?(:bfd_status)
|
28752
29067
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
28753
29068
|
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
|
28754
29069
|
@name = args[:name] if args.key?(:name)
|
@@ -30421,6 +30736,25 @@ module Google
|
|
30421
30736
|
end
|
30422
30737
|
end
|
30423
30738
|
|
30739
|
+
# The share setting for reservations and sole tenancy node groups.
|
30740
|
+
class ShareSettings
|
30741
|
+
include Google::Apis::Core::Hashable
|
30742
|
+
|
30743
|
+
# Type of sharing for this shared-reservation
|
30744
|
+
# Corresponds to the JSON property `shareType`
|
30745
|
+
# @return [String]
|
30746
|
+
attr_accessor :share_type
|
30747
|
+
|
30748
|
+
def initialize(**args)
|
30749
|
+
update!(**args)
|
30750
|
+
end
|
30751
|
+
|
30752
|
+
# Update properties of this object
|
30753
|
+
def update!(**args)
|
30754
|
+
@share_type = args[:share_type] if args.key?(:share_type)
|
30755
|
+
end
|
30756
|
+
end
|
30757
|
+
|
30424
30758
|
# A set of Shielded Instance options.
|
30425
30759
|
class ShieldedInstanceConfig
|
30426
30760
|
include Google::Apis::Core::Hashable
|
@@ -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
|
|
@@ -2872,6 +2890,12 @@ module Google
|
|
2872
2890
|
include Google::Apis::Core::JsonObjectSupport
|
2873
2891
|
end
|
2874
2892
|
|
2893
|
+
class PacketIntervals
|
2894
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2895
|
+
|
2896
|
+
include Google::Apis::Core::JsonObjectSupport
|
2897
|
+
end
|
2898
|
+
|
2875
2899
|
class PacketMirroring
|
2876
2900
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2877
2901
|
|
@@ -4048,6 +4072,12 @@ module Google
|
|
4048
4072
|
include Google::Apis::Core::JsonObjectSupport
|
4049
4073
|
end
|
4050
4074
|
|
4075
|
+
class ShareSettings
|
4076
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4077
|
+
|
4078
|
+
include Google::Apis::Core::JsonObjectSupport
|
4079
|
+
end
|
4080
|
+
|
4051
4081
|
class ShieldedInstanceConfig
|
4052
4082
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4053
4083
|
|
@@ -6095,6 +6125,58 @@ module Google
|
|
6095
6125
|
end
|
6096
6126
|
end
|
6097
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
|
+
|
6098
6180
|
class Binding
|
6099
6181
|
# @private
|
6100
6182
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10610,6 +10692,18 @@ module Google
|
|
10610
10692
|
end
|
10611
10693
|
end
|
10612
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
|
+
|
10613
10707
|
class PacketMirroring
|
10614
10708
|
# @private
|
10615
10709
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11557,6 +11651,8 @@ module Google
|
|
11557
11651
|
property :name, as: 'name'
|
11558
11652
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
11559
11653
|
property :self_link, as: 'selfLink'
|
11654
|
+
property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeV1::ShareSettings, decorator: Google::Apis::ComputeV1::ShareSettings::Representation
|
11655
|
+
|
11560
11656
|
property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeV1::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuReservation::Representation
|
11561
11657
|
|
11562
11658
|
property :specific_reservation_required, as: 'specificReservationRequired'
|
@@ -12248,6 +12344,8 @@ module Google
|
|
12248
12344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12249
12345
|
collection :advertised_routes, as: 'advertisedRoutes', class: Google::Apis::ComputeV1::Route, decorator: Google::Apis::ComputeV1::Route::Representation
|
12250
12346
|
|
12347
|
+
property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeV1::BfdStatus, decorator: Google::Apis::ComputeV1::BfdStatus::Representation
|
12348
|
+
|
12251
12349
|
property :ip_address, as: 'ipAddress'
|
12252
12350
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
12253
12351
|
property :name, as: 'name'
|
@@ -12697,6 +12795,13 @@ module Google
|
|
12697
12795
|
end
|
12698
12796
|
end
|
12699
12797
|
|
12798
|
+
class ShareSettings
|
12799
|
+
# @private
|
12800
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12801
|
+
property :share_type, as: 'shareType'
|
12802
|
+
end
|
12803
|
+
end
|
12804
|
+
|
12700
12805
|
class ShieldedInstanceConfig
|
12701
12806
|
# @private
|
12702
12807
|
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.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-10-
|
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:
|