google-apis-compute_alpha 0.35.0 → 0.38.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 +14 -0
- data/lib/google/apis/compute_alpha/classes.rb +410 -24
- data/lib/google/apis/compute_alpha/gem_version.rb +3 -3
- data/lib/google/apis/compute_alpha/representations.rb +145 -1
- data/lib/google/apis/compute_alpha/service.rb +4847 -2910
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79a52742cba120a6f20f5a2db84a7946a371eaf5eea145e826663a39b75f3205
|
4
|
+
data.tar.gz: 103d04f8215cf3d739c3a991ef5de69bceb11f84a89ebeb48bf75b4261e63a01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feaeeae5876c33ddb321d9d39a5e97caa9a877332df26929830cc3e868b0ec7637daefbc73a23712653b309807e13ba31ca6fd1f7d2dbf13e953d218e4afded4
|
7
|
+
data.tar.gz: ae248820a0728e323f89d42f821ca7bd9a52d192cb6526261ff8bfb28f4a946145a8de68fb315f4f5ed983fee6fa4c933edfefed19ad3c53b7166c4c6a980e63
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.38.0 (2022-06-19)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.7.0
|
6
|
+
* Regenerated from discovery document revision 20220607
|
7
|
+
|
8
|
+
### v0.37.0 (2022-06-10)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220531
|
11
|
+
* Regenerated using generator version 0.5.0
|
12
|
+
|
13
|
+
### v0.36.0 (2022-05-25)
|
14
|
+
|
15
|
+
* Regenerated from discovery document revision 20220517
|
16
|
+
|
3
17
|
### v0.35.0 (2022-05-19)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220510
|
@@ -1265,7 +1265,7 @@ module Google
|
|
1265
1265
|
end
|
1266
1266
|
|
1267
1267
|
# This reservation type allows to pre allocate specific instance configuration.
|
1268
|
-
# Next ID:
|
1268
|
+
# Next ID: 6
|
1269
1269
|
class AllocationSpecificSkuReservation
|
1270
1270
|
include Google::Apis::Core::Hashable
|
1271
1271
|
|
@@ -3325,9 +3325,9 @@ module Google
|
|
3325
3325
|
# internal HTTP(S) load balancers and Traffic Director and requires
|
3326
3326
|
# GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is
|
3327
3327
|
# non-persistent and lasts only until the end of the browser session (or
|
3328
|
-
# equivalent). The maximum allowed value is
|
3329
|
-
# the backend service is referenced by a URL map that is bound to target
|
3330
|
-
# proxy that has validateForProxyless field set to true.
|
3328
|
+
# equivalent). The maximum allowed value is two weeks (1,209,600). Not supported
|
3329
|
+
# when the backend service is referenced by a URL map that is bound to target
|
3330
|
+
# gRPC proxy that has validateForProxyless field set to true.
|
3331
3331
|
# Corresponds to the JSON property `affinityCookieTtlSec`
|
3332
3332
|
# @return [Fixnum]
|
3333
3333
|
attr_accessor :affinity_cookie_ttl_sec
|
@@ -3636,6 +3636,17 @@ module Google
|
|
3636
3636
|
# @return [Fixnum]
|
3637
3637
|
attr_accessor :timeout_sec
|
3638
3638
|
|
3639
|
+
# The network scope of the backends that can be added to the backend service.
|
3640
|
+
# This field can be either GLOBAL_VPC_NETWORK or REGIONAL_VPC_NETWORK. A backend
|
3641
|
+
# service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have
|
3642
|
+
# backends in global VPC networks. When the VPC scope is set to
|
3643
|
+
# REGIONAL_VPC_NETWORK the backend service is only allowed to have backends in
|
3644
|
+
# regional networks in the same scope as the backend service. Note: if not
|
3645
|
+
# specified then GLOBAL_VPC_NETWORK will be used.
|
3646
|
+
# Corresponds to the JSON property `vpcNetworkScope`
|
3647
|
+
# @return [String]
|
3648
|
+
attr_accessor :vpc_network_scope
|
3649
|
+
|
3639
3650
|
def initialize(**args)
|
3640
3651
|
update!(**args)
|
3641
3652
|
end
|
@@ -3683,6 +3694,7 @@ module Google
|
|
3683
3694
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3684
3695
|
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3685
3696
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
3697
|
+
@vpc_network_scope = args[:vpc_network_scope] if args.key?(:vpc_network_scope)
|
3686
3698
|
end
|
3687
3699
|
end
|
3688
3700
|
|
@@ -4469,7 +4481,7 @@ module Google
|
|
4469
4481
|
# service. The value of the field must be in [0, 1]. This configures the
|
4470
4482
|
# sampling rate of requests to the load balancer where 1.0 means all logged
|
4471
4483
|
# requests are reported and 0.0 means no logged requests are reported. The
|
4472
|
-
# default value is
|
4484
|
+
# default value is 0.0.
|
4473
4485
|
# Corresponds to the JSON property `sampleRate`
|
4474
4486
|
# @return [Float]
|
4475
4487
|
attr_accessor :sample_rate
|
@@ -11444,9 +11456,9 @@ module Google
|
|
11444
11456
|
# @return [Fixnum]
|
11445
11457
|
attr_accessor :timeout_sec
|
11446
11458
|
|
11447
|
-
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or
|
11448
|
-
# Exactly one of the protocol-specific health check
|
11449
|
-
# which must match type field.
|
11459
|
+
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or
|
11460
|
+
# GRPC. Exactly one of the protocol-specific health check fields must be
|
11461
|
+
# specified, which must match type field.
|
11450
11462
|
# Corresponds to the JSON property `type`
|
11451
11463
|
# @return [String]
|
11452
11464
|
attr_accessor :type
|
@@ -15316,8 +15328,8 @@ module Google
|
|
15316
15328
|
# @return [String]
|
15317
15329
|
attr_accessor :kind
|
15318
15330
|
|
15319
|
-
# Pagination behavior of listManagedInstances API method for this
|
15320
|
-
#
|
15331
|
+
# Pagination behavior of the listManagedInstances API method for this managed
|
15332
|
+
# instance group.
|
15321
15333
|
# Corresponds to the JSON property `listManagedInstancesResults`
|
15322
15334
|
# @return [String]
|
15323
15335
|
attr_accessor :list_managed_instances_results
|
@@ -15486,6 +15498,14 @@ module Google
|
|
15486
15498
|
# @return [Fixnum]
|
15487
15499
|
attr_accessor :creating
|
15488
15500
|
|
15501
|
+
# [Output Only] The number of instances that the managed instance group will
|
15502
|
+
# attempt to create atomically, in a batch mode. If the desired count of
|
15503
|
+
# instances can not be created, entire batch will be deleted and the group will
|
15504
|
+
# decrease its targetSize value accordingly.
|
15505
|
+
# Corresponds to the JSON property `creatingAtomically`
|
15506
|
+
# @return [Fixnum]
|
15507
|
+
attr_accessor :creating_atomically
|
15508
|
+
|
15489
15509
|
# [Output Only] The number of instances that the managed instance group will
|
15490
15510
|
# attempt to create. The group attempts to create each instance only once. If
|
15491
15511
|
# the group fails to create any of these instances, it decreases the group's
|
@@ -15566,6 +15586,7 @@ module Google
|
|
15566
15586
|
def update!(**args)
|
15567
15587
|
@abandoning = args[:abandoning] if args.key?(:abandoning)
|
15568
15588
|
@creating = args[:creating] if args.key?(:creating)
|
15589
|
+
@creating_atomically = args[:creating_atomically] if args.key?(:creating_atomically)
|
15569
15590
|
@creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
|
15570
15591
|
@deleting = args[:deleting] if args.key?(:deleting)
|
15571
15592
|
@none = args[:none] if args.key?(:none)
|
@@ -15968,6 +15989,239 @@ module Google
|
|
15968
15989
|
end
|
15969
15990
|
end
|
15970
15991
|
|
15992
|
+
# InstanceGroupManagerResizeRequest represents a request to create a number of
|
15993
|
+
# VMs: either immediately or by queuing the request for the specified time. This
|
15994
|
+
# resize request is nested under InstanceGroupManager and the VMs created by
|
15995
|
+
# this request are added to the owning InstanceGroupManager.
|
15996
|
+
class InstanceGroupManagerResizeRequest
|
15997
|
+
include Google::Apis::Core::Hashable
|
15998
|
+
|
15999
|
+
# The count of instances to create as part of this resize request.
|
16000
|
+
# Corresponds to the JSON property `count`
|
16001
|
+
# @return [Fixnum]
|
16002
|
+
attr_accessor :count
|
16003
|
+
|
16004
|
+
# [Output Only] The creation timestamp for this resize request in RFC3339 text
|
16005
|
+
# format.
|
16006
|
+
# Corresponds to the JSON property `creationTimestamp`
|
16007
|
+
# @return [String]
|
16008
|
+
attr_accessor :creation_timestamp
|
16009
|
+
|
16010
|
+
# An optional description of this resource.
|
16011
|
+
# Corresponds to the JSON property `description`
|
16012
|
+
# @return [String]
|
16013
|
+
attr_accessor :description
|
16014
|
+
|
16015
|
+
# [Output Only] A unique identifier for this resource type. The server generates
|
16016
|
+
# this identifier.
|
16017
|
+
# Corresponds to the JSON property `id`
|
16018
|
+
# @return [Fixnum]
|
16019
|
+
attr_accessor :id
|
16020
|
+
|
16021
|
+
# [Output Only] The resource type, which is always compute#
|
16022
|
+
# instanceGroupManagerResizeRequest for resize requests.
|
16023
|
+
# Corresponds to the JSON property `kind`
|
16024
|
+
# @return [String]
|
16025
|
+
attr_accessor :kind
|
16026
|
+
|
16027
|
+
# The name of this resize request. The name must be 1-63 characters long, and
|
16028
|
+
# comply with RFC1035.
|
16029
|
+
# Corresponds to the JSON property `name`
|
16030
|
+
# @return [String]
|
16031
|
+
attr_accessor :name
|
16032
|
+
|
16033
|
+
# Queuing parameters for the requested deferred capacity.
|
16034
|
+
# Corresponds to the JSON property `queuingPolicy`
|
16035
|
+
# @return [Google::Apis::ComputeAlpha::QueuingPolicy]
|
16036
|
+
attr_accessor :queuing_policy
|
16037
|
+
|
16038
|
+
# [Output Only] The URL for this resize request. The server defines this URL.
|
16039
|
+
# Corresponds to the JSON property `selfLink`
|
16040
|
+
# @return [String]
|
16041
|
+
attr_accessor :self_link
|
16042
|
+
|
16043
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
16044
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
16045
|
+
# @return [String]
|
16046
|
+
attr_accessor :self_link_with_id
|
16047
|
+
|
16048
|
+
# [Output only] Current state of the request.
|
16049
|
+
# Corresponds to the JSON property `state`
|
16050
|
+
# @return [String]
|
16051
|
+
attr_accessor :state
|
16052
|
+
|
16053
|
+
# [Output only] Status of the request. The Status message is aligned with
|
16054
|
+
# QueuedResource.status. ResizeRequest.queuing_policy contains the queuing
|
16055
|
+
# policy as provided by the user; it could have either valid_until_time or
|
16056
|
+
# valid_until_duration. ResizeRequest.status.queuing_policy always contains
|
16057
|
+
# absolute time as calculated by the server when the request is queued.
|
16058
|
+
# Corresponds to the JSON property `status`
|
16059
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus]
|
16060
|
+
attr_accessor :status
|
16061
|
+
|
16062
|
+
# [Output Only] The URL of a zone where the resize request is located.
|
16063
|
+
# Corresponds to the JSON property `zone`
|
16064
|
+
# @return [String]
|
16065
|
+
attr_accessor :zone
|
16066
|
+
|
16067
|
+
def initialize(**args)
|
16068
|
+
update!(**args)
|
16069
|
+
end
|
16070
|
+
|
16071
|
+
# Update properties of this object
|
16072
|
+
def update!(**args)
|
16073
|
+
@count = args[:count] if args.key?(:count)
|
16074
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
16075
|
+
@description = args[:description] if args.key?(:description)
|
16076
|
+
@id = args[:id] if args.key?(:id)
|
16077
|
+
@kind = args[:kind] if args.key?(:kind)
|
16078
|
+
@name = args[:name] if args.key?(:name)
|
16079
|
+
@queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
|
16080
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
16081
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
16082
|
+
@state = args[:state] if args.key?(:state)
|
16083
|
+
@status = args[:status] if args.key?(:status)
|
16084
|
+
@zone = args[:zone] if args.key?(:zone)
|
16085
|
+
end
|
16086
|
+
end
|
16087
|
+
|
16088
|
+
#
|
16089
|
+
class InstanceGroupManagerResizeRequestStatus
|
16090
|
+
include Google::Apis::Core::Hashable
|
16091
|
+
|
16092
|
+
# Queuing parameters for the requested deferred capacity.
|
16093
|
+
# Corresponds to the JSON property `queuingPolicy`
|
16094
|
+
# @return [Google::Apis::ComputeAlpha::QueuingPolicy]
|
16095
|
+
attr_accessor :queuing_policy
|
16096
|
+
|
16097
|
+
def initialize(**args)
|
16098
|
+
update!(**args)
|
16099
|
+
end
|
16100
|
+
|
16101
|
+
# Update properties of this object
|
16102
|
+
def update!(**args)
|
16103
|
+
@queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
|
16104
|
+
end
|
16105
|
+
end
|
16106
|
+
|
16107
|
+
# [Output Only] A list of resize requests.
|
16108
|
+
class InstanceGroupManagerResizeRequestsListResponse
|
16109
|
+
include Google::Apis::Core::Hashable
|
16110
|
+
|
16111
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
16112
|
+
# Corresponds to the JSON property `id`
|
16113
|
+
# @return [String]
|
16114
|
+
attr_accessor :id
|
16115
|
+
|
16116
|
+
# A list of resize request resources.
|
16117
|
+
# Corresponds to the JSON property `items`
|
16118
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequest>]
|
16119
|
+
attr_accessor :items
|
16120
|
+
|
16121
|
+
# [Output Only] Type of the resource. Always compute#
|
16122
|
+
# instanceGroupManagerResizeRequestList for a list of resize requests.
|
16123
|
+
# Corresponds to the JSON property `kind`
|
16124
|
+
# @return [String]
|
16125
|
+
attr_accessor :kind
|
16126
|
+
|
16127
|
+
# [Output Only] This token allows you to get the next page of results for list
|
16128
|
+
# requests. If the number of results is larger than maxResults, use the
|
16129
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
16130
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
16131
|
+
# continue paging through the results.
|
16132
|
+
# Corresponds to the JSON property `nextPageToken`
|
16133
|
+
# @return [String]
|
16134
|
+
attr_accessor :next_page_token
|
16135
|
+
|
16136
|
+
# [Output Only] Server-defined URL for this resource.
|
16137
|
+
# Corresponds to the JSON property `selfLink`
|
16138
|
+
# @return [String]
|
16139
|
+
attr_accessor :self_link
|
16140
|
+
|
16141
|
+
# [Output Only] Informational warning message.
|
16142
|
+
# Corresponds to the JSON property `warning`
|
16143
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestsListResponse::Warning]
|
16144
|
+
attr_accessor :warning
|
16145
|
+
|
16146
|
+
def initialize(**args)
|
16147
|
+
update!(**args)
|
16148
|
+
end
|
16149
|
+
|
16150
|
+
# Update properties of this object
|
16151
|
+
def update!(**args)
|
16152
|
+
@id = args[:id] if args.key?(:id)
|
16153
|
+
@items = args[:items] if args.key?(:items)
|
16154
|
+
@kind = args[:kind] if args.key?(:kind)
|
16155
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
16156
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
16157
|
+
@warning = args[:warning] if args.key?(:warning)
|
16158
|
+
end
|
16159
|
+
|
16160
|
+
# [Output Only] Informational warning message.
|
16161
|
+
class Warning
|
16162
|
+
include Google::Apis::Core::Hashable
|
16163
|
+
|
16164
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
16165
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
16166
|
+
# Corresponds to the JSON property `code`
|
16167
|
+
# @return [String]
|
16168
|
+
attr_accessor :code
|
16169
|
+
|
16170
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
16171
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
16172
|
+
# Corresponds to the JSON property `data`
|
16173
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestsListResponse::Warning::Datum>]
|
16174
|
+
attr_accessor :data
|
16175
|
+
|
16176
|
+
# [Output Only] A human-readable description of the warning code.
|
16177
|
+
# Corresponds to the JSON property `message`
|
16178
|
+
# @return [String]
|
16179
|
+
attr_accessor :message
|
16180
|
+
|
16181
|
+
def initialize(**args)
|
16182
|
+
update!(**args)
|
16183
|
+
end
|
16184
|
+
|
16185
|
+
# Update properties of this object
|
16186
|
+
def update!(**args)
|
16187
|
+
@code = args[:code] if args.key?(:code)
|
16188
|
+
@data = args[:data] if args.key?(:data)
|
16189
|
+
@message = args[:message] if args.key?(:message)
|
16190
|
+
end
|
16191
|
+
|
16192
|
+
#
|
16193
|
+
class Datum
|
16194
|
+
include Google::Apis::Core::Hashable
|
16195
|
+
|
16196
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
16197
|
+
# For example, for warnings where there are no results in a list request for a
|
16198
|
+
# particular zone, this key might be scope and the key value might be the zone
|
16199
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
16200
|
+
# suggested replacement, or a warning about invalid network settings (for
|
16201
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
16202
|
+
# for IP forwarding).
|
16203
|
+
# Corresponds to the JSON property `key`
|
16204
|
+
# @return [String]
|
16205
|
+
attr_accessor :key
|
16206
|
+
|
16207
|
+
# [Output Only] A warning data value corresponding to the key.
|
16208
|
+
# Corresponds to the JSON property `value`
|
16209
|
+
# @return [String]
|
16210
|
+
attr_accessor :value
|
16211
|
+
|
16212
|
+
def initialize(**args)
|
16213
|
+
update!(**args)
|
16214
|
+
end
|
16215
|
+
|
16216
|
+
# Update properties of this object
|
16217
|
+
def update!(**args)
|
16218
|
+
@key = args[:key] if args.key?(:key)
|
16219
|
+
@value = args[:value] if args.key?(:value)
|
16220
|
+
end
|
16221
|
+
end
|
16222
|
+
end
|
16223
|
+
end
|
16224
|
+
|
15971
16225
|
#
|
15972
16226
|
class InstanceGroupManagerStandbyPolicy
|
15973
16227
|
include Google::Apis::Core::Hashable
|
@@ -30830,6 +31084,34 @@ module Google
|
|
30830
31084
|
end
|
30831
31085
|
end
|
30832
31086
|
|
31087
|
+
# Queuing parameters for the requested deferred capacity.
|
31088
|
+
class QueuingPolicy
|
31089
|
+
include Google::Apis::Core::Hashable
|
31090
|
+
|
31091
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
31092
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
31093
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
31094
|
+
# 000 years.
|
31095
|
+
# Corresponds to the JSON property `validUntilDuration`
|
31096
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
31097
|
+
attr_accessor :valid_until_duration
|
31098
|
+
|
31099
|
+
# Absolute deadline for waiting for capacity in RFC3339 text format.
|
31100
|
+
# Corresponds to the JSON property `validUntilTime`
|
31101
|
+
# @return [String]
|
31102
|
+
attr_accessor :valid_until_time
|
31103
|
+
|
31104
|
+
def initialize(**args)
|
31105
|
+
update!(**args)
|
31106
|
+
end
|
31107
|
+
|
31108
|
+
# Update properties of this object
|
31109
|
+
def update!(**args)
|
31110
|
+
@valid_until_duration = args[:valid_until_duration] if args.key?(:valid_until_duration)
|
31111
|
+
@valid_until_time = args[:valid_until_time] if args.key?(:valid_until_time)
|
31112
|
+
end
|
31113
|
+
end
|
31114
|
+
|
30833
31115
|
# A quotas entry.
|
30834
31116
|
class Quota
|
30835
31117
|
include Google::Apis::Core::Hashable
|
@@ -32844,7 +33126,7 @@ module Google
|
|
32844
33126
|
attr_accessor :share_settings
|
32845
33127
|
|
32846
33128
|
# This reservation type allows to pre allocate specific instance configuration.
|
32847
|
-
# Next ID:
|
33129
|
+
# Next ID: 6
|
32848
33130
|
# Corresponds to the JSON property `specificReservation`
|
32849
33131
|
# @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation]
|
32850
33132
|
attr_accessor :specific_reservation
|
@@ -33447,6 +33729,11 @@ module Google
|
|
33447
33729
|
# @return [String]
|
33448
33730
|
attr_accessor :description
|
33449
33731
|
|
33732
|
+
# Resource policy for disk consistency groups.
|
33733
|
+
# Corresponds to the JSON property `diskConsistencyGroupPolicy`
|
33734
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicyDiskConsistencyGroupPolicy]
|
33735
|
+
attr_accessor :disk_consistency_group_policy
|
33736
|
+
|
33450
33737
|
# A GroupPlacementPolicy specifies resource placement configuration. It
|
33451
33738
|
# specifies the failure bucket separation as well as network locality
|
33452
33739
|
# Corresponds to the JSON property `groupPlacementPolicy`
|
@@ -33529,6 +33816,7 @@ module Google
|
|
33529
33816
|
def update!(**args)
|
33530
33817
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
33531
33818
|
@description = args[:description] if args.key?(:description)
|
33819
|
+
@disk_consistency_group_policy = args[:disk_consistency_group_policy] if args.key?(:disk_consistency_group_policy)
|
33532
33820
|
@group_placement_policy = args[:group_placement_policy] if args.key?(:group_placement_policy)
|
33533
33821
|
@id = args[:id] if args.key?(:id)
|
33534
33822
|
@instance_schedule_policy = args[:instance_schedule_policy] if args.key?(:instance_schedule_policy)
|
@@ -33708,6 +33996,19 @@ module Google
|
|
33708
33996
|
end
|
33709
33997
|
end
|
33710
33998
|
|
33999
|
+
# Resource policy for disk consistency groups.
|
34000
|
+
class ResourcePolicyDiskConsistencyGroupPolicy
|
34001
|
+
include Google::Apis::Core::Hashable
|
34002
|
+
|
34003
|
+
def initialize(**args)
|
34004
|
+
update!(**args)
|
34005
|
+
end
|
34006
|
+
|
34007
|
+
# Update properties of this object
|
34008
|
+
def update!(**args)
|
34009
|
+
end
|
34010
|
+
end
|
34011
|
+
|
33711
34012
|
# A GroupPlacementPolicy specifies resource placement configuration. It
|
33712
34013
|
# specifies the failure bucket separation as well as network locality
|
33713
34014
|
class ResourcePolicyGroupPlacementPolicy
|
@@ -36771,8 +37072,8 @@ module Google
|
|
36771
37072
|
|
36772
37073
|
# Defines the maintenance behavior for this instance. For standard instances,
|
36773
37074
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
36774
|
-
# only possible behavior is TERMINATE. For more information, see Set VM
|
36775
|
-
#
|
37075
|
+
# only possible behavior is TERMINATE. For more information, see Set VM host
|
37076
|
+
# maintenance policy.
|
36776
37077
|
# Corresponds to the JSON property `onHostMaintenance`
|
36777
37078
|
# @return [String]
|
36778
37079
|
attr_accessor :on_host_maintenance
|
@@ -37359,6 +37660,11 @@ module Google
|
|
37359
37660
|
class SecurityPolicyAdaptiveProtectionConfig
|
37360
37661
|
include Google::Apis::Core::Hashable
|
37361
37662
|
|
37663
|
+
# Configuration options for Adaptive Protection auto-deploy feature.
|
37664
|
+
# Corresponds to the JSON property `autoDeployConfig`
|
37665
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig]
|
37666
|
+
attr_accessor :auto_deploy_config
|
37667
|
+
|
37362
37668
|
# Configuration options for L7 DDoS detection.
|
37363
37669
|
# Corresponds to the JSON property `layer7DdosDefenseConfig`
|
37364
37670
|
# @return [Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig]
|
@@ -37370,10 +37676,48 @@ module Google
|
|
37370
37676
|
|
37371
37677
|
# Update properties of this object
|
37372
37678
|
def update!(**args)
|
37679
|
+
@auto_deploy_config = args[:auto_deploy_config] if args.key?(:auto_deploy_config)
|
37373
37680
|
@layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config)
|
37374
37681
|
end
|
37375
37682
|
end
|
37376
37683
|
|
37684
|
+
# Configuration options for Adaptive Protection auto-deploy feature.
|
37685
|
+
class SecurityPolicyAdaptiveProtectionConfigAutoDeployConfig
|
37686
|
+
include Google::Apis::Core::Hashable
|
37687
|
+
|
37688
|
+
#
|
37689
|
+
# Corresponds to the JSON property `confidenceThreshold`
|
37690
|
+
# @return [Float]
|
37691
|
+
attr_accessor :confidence_threshold
|
37692
|
+
|
37693
|
+
#
|
37694
|
+
# Corresponds to the JSON property `expirationSec`
|
37695
|
+
# @return [Fixnum]
|
37696
|
+
attr_accessor :expiration_sec
|
37697
|
+
|
37698
|
+
#
|
37699
|
+
# Corresponds to the JSON property `impactedBaselineThreshold`
|
37700
|
+
# @return [Float]
|
37701
|
+
attr_accessor :impacted_baseline_threshold
|
37702
|
+
|
37703
|
+
#
|
37704
|
+
# Corresponds to the JSON property `loadThreshold`
|
37705
|
+
# @return [Float]
|
37706
|
+
attr_accessor :load_threshold
|
37707
|
+
|
37708
|
+
def initialize(**args)
|
37709
|
+
update!(**args)
|
37710
|
+
end
|
37711
|
+
|
37712
|
+
# Update properties of this object
|
37713
|
+
def update!(**args)
|
37714
|
+
@confidence_threshold = args[:confidence_threshold] if args.key?(:confidence_threshold)
|
37715
|
+
@expiration_sec = args[:expiration_sec] if args.key?(:expiration_sec)
|
37716
|
+
@impacted_baseline_threshold = args[:impacted_baseline_threshold] if args.key?(:impacted_baseline_threshold)
|
37717
|
+
@load_threshold = args[:load_threshold] if args.key?(:load_threshold)
|
37718
|
+
end
|
37719
|
+
end
|
37720
|
+
|
37377
37721
|
# Configuration options for L7 DDoS detection.
|
37378
37722
|
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig
|
37379
37723
|
include Google::Apis::Core::Hashable
|
@@ -41200,16 +41544,6 @@ module Google
|
|
41200
41544
|
# @return [String]
|
41201
41545
|
attr_accessor :private_ipv6_google_access
|
41202
41546
|
|
41203
|
-
# Deprecated in favor of enable PrivateIpv6GoogleAccess on instance directly.
|
41204
|
-
# The service accounts can be used to selectively turn on Private IPv6 Google
|
41205
|
-
# Access only on the VMs primary service account matching the value. This value
|
41206
|
-
# only takes effect when PrivateIpv6GoogleAccess is
|
41207
|
-
# ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE_FOR_SERVICE_ACCOUNTS or
|
41208
|
-
# ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE_FOR_SERVICE_ACCOUNTS.
|
41209
|
-
# Corresponds to the JSON property `privateIpv6GoogleAccessServiceAccounts`
|
41210
|
-
# @return [Array<String>]
|
41211
|
-
attr_accessor :private_ipv6_google_access_service_accounts
|
41212
|
-
|
41213
41547
|
# The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
|
41214
41548
|
# INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
|
41215
41549
|
# INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
|
@@ -41314,7 +41648,6 @@ module Google
|
|
41314
41648
|
@network = args[:network] if args.key?(:network)
|
41315
41649
|
@private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
|
41316
41650
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
41317
|
-
@private_ipv6_google_access_service_accounts = args[:private_ipv6_google_access_service_accounts] if args.key?(:private_ipv6_google_access_service_accounts)
|
41318
41651
|
@purpose = args[:purpose] if args.key?(:purpose)
|
41319
41652
|
@region = args[:region] if args.key?(:region)
|
41320
41653
|
@reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
|
@@ -46356,21 +46689,68 @@ module Google
|
|
46356
46689
|
class UsableSubnetwork
|
46357
46690
|
include Google::Apis::Core::Hashable
|
46358
46691
|
|
46692
|
+
# [Output Only] The external IPv6 address range that is assigned to this
|
46693
|
+
# subnetwork.
|
46694
|
+
# Corresponds to the JSON property `externalIpv6Prefix`
|
46695
|
+
# @return [String]
|
46696
|
+
attr_accessor :external_ipv6_prefix
|
46697
|
+
|
46698
|
+
# [Output Only] The internal IPv6 address range that is assigned to this
|
46699
|
+
# subnetwork.
|
46700
|
+
# Corresponds to the JSON property `internalIpv6Prefix`
|
46701
|
+
# @return [String]
|
46702
|
+
attr_accessor :internal_ipv6_prefix
|
46703
|
+
|
46359
46704
|
# The range of internal addresses that are owned by this subnetwork.
|
46360
46705
|
# Corresponds to the JSON property `ipCidrRange`
|
46361
46706
|
# @return [String]
|
46362
46707
|
attr_accessor :ip_cidr_range
|
46363
46708
|
|
46709
|
+
# The access type of IPv6 address this subnet holds. It's immutable and can only
|
46710
|
+
# be specified during creation or the first time the subnet is updated into
|
46711
|
+
# IPV4_IPV6 dual stack.
|
46712
|
+
# Corresponds to the JSON property `ipv6AccessType`
|
46713
|
+
# @return [String]
|
46714
|
+
attr_accessor :ipv6_access_type
|
46715
|
+
|
46364
46716
|
# Network URL.
|
46365
46717
|
# Corresponds to the JSON property `network`
|
46366
46718
|
# @return [String]
|
46367
46719
|
attr_accessor :network
|
46368
46720
|
|
46721
|
+
# The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
|
46722
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
|
46723
|
+
# INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
|
46724
|
+
# Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to
|
46725
|
+
# PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose
|
46726
|
+
# field set to INTERNAL_HTTPS_LOAD_BALANCER.
|
46727
|
+
# Corresponds to the JSON property `purpose`
|
46728
|
+
# @return [String]
|
46729
|
+
attr_accessor :purpose
|
46730
|
+
|
46731
|
+
# The role of subnetwork. Currently, this field is only used when purpose =
|
46732
|
+
# INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
|
46733
|
+
# ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
|
46734
|
+
# Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to
|
46735
|
+
# ACTIVE or is currently draining. This field can be updated with a patch
|
46736
|
+
# request.
|
46737
|
+
# Corresponds to the JSON property `role`
|
46738
|
+
# @return [String]
|
46739
|
+
attr_accessor :role
|
46740
|
+
|
46369
46741
|
# Secondary IP ranges.
|
46370
46742
|
# Corresponds to the JSON property `secondaryIpRanges`
|
46371
46743
|
# @return [Array<Google::Apis::ComputeAlpha::UsableSubnetworkSecondaryRange>]
|
46372
46744
|
attr_accessor :secondary_ip_ranges
|
46373
46745
|
|
46746
|
+
# The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
|
46747
|
+
# assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
|
46748
|
+
# be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
|
46749
|
+
# This field can be both set at resource creation time and updated using patch.
|
46750
|
+
# Corresponds to the JSON property `stackType`
|
46751
|
+
# @return [String]
|
46752
|
+
attr_accessor :stack_type
|
46753
|
+
|
46374
46754
|
# Subnetwork URL.
|
46375
46755
|
# Corresponds to the JSON property `subnetwork`
|
46376
46756
|
# @return [String]
|
@@ -46382,9 +46762,15 @@ module Google
|
|
46382
46762
|
|
46383
46763
|
# Update properties of this object
|
46384
46764
|
def update!(**args)
|
46765
|
+
@external_ipv6_prefix = args[:external_ipv6_prefix] if args.key?(:external_ipv6_prefix)
|
46766
|
+
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
|
46385
46767
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
46768
|
+
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
46386
46769
|
@network = args[:network] if args.key?(:network)
|
46770
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
46771
|
+
@role = args[:role] if args.key?(:role)
|
46387
46772
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
46773
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
46388
46774
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
46389
46775
|
end
|
46390
46776
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeAlpha
|
18
18
|
# Version of the google-apis-compute_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.7.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|