google-apis-compute_alpha 0.45.0 → 0.48.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 +12 -0
- data/lib/google/apis/compute_alpha/classes.rb +284 -69
- data/lib/google/apis/compute_alpha/gem_version.rb +2 -2
- data/lib/google/apis/compute_alpha/representations.rb +104 -15
- data/lib/google/apis/compute_alpha/service.rb +369 -488
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5207c410037a9b55fe8589429c03c8b03215ad27ad6bc3d1fb080be66f304218
|
4
|
+
data.tar.gz: b2834723286d3cf720a16011ad791ff8f70810105c99f6373b530437c91fb874
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf06a82a10d7a0a2cffa16c8357392e93239c804772f4aada3d67d7202fa4b96b05b4d13934d220cc09bf964a76e9f81747533b3af5c9efab75c0b44eb25cc32
|
7
|
+
data.tar.gz: 3b6364df9e18604a3b9c8a546563cba68144daf76aa07131da7f7794626338e305d31eba68a4f5b8c82d33900e2728f32247bad290cbea607d0ae334ff8f18b6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
2
2
|
|
3
|
+
### v0.48.0 (2022-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220823
|
6
|
+
|
7
|
+
### v0.47.0 (2022-08-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220816
|
10
|
+
|
11
|
+
### v0.46.0 (2022-08-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220809
|
14
|
+
|
3
15
|
### v0.45.0 (2022-08-07)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220726
|
@@ -1435,10 +1435,9 @@ module Google
|
|
1435
1435
|
attr_accessor :initialize_params
|
1436
1436
|
|
1437
1437
|
# Specifies the disk interface to use for attaching this disk, which is either
|
1438
|
-
# SCSI or NVME.
|
1439
|
-
#
|
1440
|
-
#
|
1441
|
-
# characteristics of SCSI over NVMe, see Local SSD performance.
|
1438
|
+
# SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use
|
1439
|
+
# either NVME or SCSI. In certain configurations, persistent disks can use NVMe.
|
1440
|
+
# For more information, see About persistent disks.
|
1442
1441
|
# Corresponds to the JSON property `interface`
|
1443
1442
|
# @return [String]
|
1444
1443
|
attr_accessor :interface
|
@@ -1636,6 +1635,13 @@ module Google
|
|
1636
1635
|
# @return [Fixnum]
|
1637
1636
|
attr_accessor :provisioned_iops
|
1638
1637
|
|
1638
|
+
# Indicates how much throughput to provision for the disk. This sets the number
|
1639
|
+
# of throughput mb per second that the disk can handle. Values must be between 1
|
1640
|
+
# and 7,124.
|
1641
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
1642
|
+
# @return [Fixnum]
|
1643
|
+
attr_accessor :provisioned_throughput
|
1644
|
+
|
1639
1645
|
# URLs of the zones where the disk should be replicated to. Only applicable for
|
1640
1646
|
# regional resources.
|
1641
1647
|
# Corresponds to the JSON property `replicaZones`
|
@@ -1728,6 +1734,7 @@ module Google
|
|
1728
1734
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
1729
1735
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1730
1736
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
1737
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
1731
1738
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
1732
1739
|
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
1733
1740
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
@@ -4969,25 +4976,28 @@ module Google
|
|
4969
4976
|
# anyone who is authenticated with a Google account or a service account. * `
|
4970
4977
|
# user:`emailid``: An email address that represents a specific Google account.
|
4971
4978
|
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
4972
|
-
# address that represents a service account. For example, `my-other-app@
|
4973
|
-
# gserviceaccount.com`. * `
|
4974
|
-
#
|
4975
|
-
#
|
4976
|
-
#
|
4977
|
-
#
|
4978
|
-
#
|
4979
|
-
#
|
4980
|
-
#
|
4981
|
-
#
|
4982
|
-
#
|
4983
|
-
# emailid
|
4984
|
-
#
|
4985
|
-
#
|
4986
|
-
#
|
4987
|
-
#
|
4988
|
-
#
|
4989
|
-
#
|
4990
|
-
#
|
4979
|
+
# address that represents a Google service account. For example, `my-other-app@
|
4980
|
+
# appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
|
4981
|
+
# namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
|
4982
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
|
4983
|
+
# accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
|
4984
|
+
# . * `group:`emailid``: An email address that represents a Google group. For
|
4985
|
+
# example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
|
4986
|
+
# email address (plus unique identifier) representing a user that has been
|
4987
|
+
# recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
|
4988
|
+
# If the user is recovered, this value reverts to `user:`emailid`` and the
|
4989
|
+
# recovered user retains the role in the binding. * `deleted:serviceAccount:`
|
4990
|
+
# emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
4991
|
+
# representing a service account that has been recently deleted. For example, `
|
4992
|
+
# my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
|
4993
|
+
# service account is undeleted, this value reverts to `serviceAccount:`emailid``
|
4994
|
+
# and the undeleted service account retains the role in the binding. * `deleted:
|
4995
|
+
# group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
4996
|
+
# representing a Google group that has been recently deleted. For example, `
|
4997
|
+
# admins@example.com?uid=123456789012345678901`. If the group is recovered, this
|
4998
|
+
# value reverts to `group:`emailid`` and the recovered group retains the role in
|
4999
|
+
# the binding. * `domain:`domain``: The G Suite domain (primary) that represents
|
5000
|
+
# all the users of that domain. For example, `google.com` or `example.com`.
|
4991
5001
|
# Corresponds to the JSON property `members`
|
4992
5002
|
# @return [Array<String>]
|
4993
5003
|
attr_accessor :members
|
@@ -6551,6 +6561,13 @@ module Google
|
|
6551
6561
|
# @return [Fixnum]
|
6552
6562
|
attr_accessor :provisioned_iops
|
6553
6563
|
|
6564
|
+
# Indicates how much throughput to provision for the disk. This sets the number
|
6565
|
+
# of throughput mb per second that the disk can handle. Values must be between 1
|
6566
|
+
# and 7,124.
|
6567
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
6568
|
+
# @return [Fixnum]
|
6569
|
+
attr_accessor :provisioned_throughput
|
6570
|
+
|
6554
6571
|
# [Output Only] URL of the region where the disk resides. Only applicable for
|
6555
6572
|
# regional resources. You must specify this field as part of the HTTP request
|
6556
6573
|
# URL. It is not settable as a field in the request body.
|
@@ -6785,6 +6802,7 @@ module Google
|
|
6785
6802
|
@params = args[:params] if args.key?(:params)
|
6786
6803
|
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
6787
6804
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
6805
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
6788
6806
|
@region = args[:region] if args.key?(:region)
|
6789
6807
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
6790
6808
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
@@ -7884,8 +7902,10 @@ module Google
|
|
7884
7902
|
end
|
7885
7903
|
end
|
7886
7904
|
|
7887
|
-
#
|
7888
|
-
|
7905
|
+
# A transient resource used in compute.disks.stopGroupAsyncReplication and
|
7906
|
+
# compute.regionDisks.stopGroupAsyncReplication. It is only used to process
|
7907
|
+
# requests and is not persisted.
|
7908
|
+
class DisksStopGroupAsyncReplicationResource
|
7889
7909
|
include Google::Apis::Core::Hashable
|
7890
7910
|
|
7891
7911
|
# The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This
|
@@ -8594,9 +8614,8 @@ module Google
|
|
8594
8614
|
attr_accessor :destination_ranges
|
8595
8615
|
|
8596
8616
|
# Direction of traffic to which this firewall applies, either `INGRESS` or `
|
8597
|
-
# EGRESS`. The default is `INGRESS`. For `
|
8598
|
-
# the
|
8599
|
-
# sourceRanges or sourceTags fields.
|
8617
|
+
# EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify
|
8618
|
+
# the sourceTags fields.
|
8600
8619
|
# Corresponds to the JSON property `direction`
|
8601
8620
|
# @return [String]
|
8602
8621
|
attr_accessor :direction
|
@@ -13735,9 +13754,9 @@ module Google
|
|
13735
13754
|
# forwarding the request to the selected backend. If routeAction specifies any
|
13736
13755
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
13737
13756
|
# routeAction cannot contain any weightedBackendServices. Only one of
|
13738
|
-
# urlRedirect, service or routeAction.weightedBackendService must be set.
|
13739
|
-
#
|
13740
|
-
# within a route rule's routeAction.
|
13757
|
+
# urlRedirect, service or routeAction.weightedBackendService must be set. URL
|
13758
|
+
# maps for Classic external HTTP(S) load balancers only support the urlRewrite
|
13759
|
+
# action within a route rule's routeAction.
|
13741
13760
|
# Corresponds to the JSON property `routeAction`
|
13742
13761
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
13743
13762
|
attr_accessor :route_action
|
@@ -14954,7 +14973,7 @@ module Google
|
|
14954
14973
|
# @return [Google::Apis::ComputeAlpha::Tags]
|
14955
14974
|
attr_accessor :tags
|
14956
14975
|
|
14957
|
-
# Upcoming Maintenance notification information. TODO(b/
|
14976
|
+
# Upcoming Maintenance notification information. TODO(b/242069500) Deprecate
|
14958
14977
|
# this proto once it's fully migrated to be under proto ResourceStatus.
|
14959
14978
|
# UpcomingMaintenance.
|
14960
14979
|
# Corresponds to the JSON property `upcomingMaintenance`
|
@@ -15877,6 +15896,12 @@ module Google
|
|
15877
15896
|
# @return [Fixnum]
|
15878
15897
|
attr_accessor :none
|
15879
15898
|
|
15899
|
+
# [Output Only] The number of instances that the managed instance group is
|
15900
|
+
# currently queuing.
|
15901
|
+
# Corresponds to the JSON property `queuing`
|
15902
|
+
# @return [Fixnum]
|
15903
|
+
attr_accessor :queuing
|
15904
|
+
|
15880
15905
|
# [Output Only] The number of instances in the managed instance group that are
|
15881
15906
|
# scheduled to be recreated or are currently being being recreated. Recreating
|
15882
15907
|
# an instance deletes the existing root persistent disk and creates a new disk
|
@@ -15941,6 +15966,7 @@ module Google
|
|
15941
15966
|
@creating_without_retries = args[:creating_without_retries] if args.key?(:creating_without_retries)
|
15942
15967
|
@deleting = args[:deleting] if args.key?(:deleting)
|
15943
15968
|
@none = args[:none] if args.key?(:none)
|
15969
|
+
@queuing = args[:queuing] if args.key?(:queuing)
|
15944
15970
|
@recreating = args[:recreating] if args.key?(:recreating)
|
15945
15971
|
@refreshing = args[:refreshing] if args.key?(:refreshing)
|
15946
15972
|
@restarting = args[:restarting] if args.key?(:restarting)
|
@@ -16169,10 +16195,9 @@ module Google
|
|
16169
16195
|
|
16170
16196
|
# A bit indicating whether to forcefully apply the group's latest configuration
|
16171
16197
|
# when repairing a VM. Valid options are: - NO (default): If configuration
|
16172
|
-
# updates are available, they are not forcefully applied during repair.
|
16173
|
-
#
|
16174
|
-
#
|
16175
|
-
# applied during repair.
|
16198
|
+
# updates are available, they are not forcefully applied during repair. Instead,
|
16199
|
+
# configuration updates are applied according to the group's update policy. -
|
16200
|
+
# YES: If configuration updates are available, they are applied during repair.
|
16176
16201
|
# Corresponds to the JSON property `forceUpdateOnRepair`
|
16177
16202
|
# @return [String]
|
16178
16203
|
attr_accessor :force_update_on_repair
|
@@ -22933,7 +22958,7 @@ module Google
|
|
22933
22958
|
class LocalizedMessage
|
22934
22959
|
include Google::Apis::Core::Hashable
|
22935
22960
|
|
22936
|
-
# The locale used following the specification defined at
|
22961
|
+
# The locale used following the specification defined at https://www.rfc-editor.
|
22937
22962
|
# org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
|
22938
22963
|
# Corresponds to the JSON property `locale`
|
22939
22964
|
# @return [String]
|
@@ -23973,6 +23998,12 @@ module Google
|
|
23973
23998
|
# @return [Google::Apis::ComputeAlpha::ManagedInstanceLastAttempt]
|
23974
23999
|
attr_accessor :last_attempt
|
23975
24000
|
|
24001
|
+
# [Output Only] The name of the instance. The name will always exist even if the
|
24002
|
+
# instance has not yet been created.
|
24003
|
+
# Corresponds to the JSON property `name`
|
24004
|
+
# @return [String]
|
24005
|
+
attr_accessor :name
|
24006
|
+
|
23976
24007
|
# Preserved state for a given instance.
|
23977
24008
|
# Corresponds to the JSON property `preservedStateFromConfig`
|
23978
24009
|
# @return [Google::Apis::ComputeAlpha::PreservedState]
|
@@ -24014,6 +24045,7 @@ module Google
|
|
24014
24045
|
@instance_status = args[:instance_status] if args.key?(:instance_status)
|
24015
24046
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
24016
24047
|
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
24048
|
+
@name = args[:name] if args.key?(:name)
|
24017
24049
|
@preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
|
24018
24050
|
@preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
|
24019
24051
|
@tag = args[:tag] if args.key?(:tag)
|
@@ -24521,8 +24553,10 @@ module Google
|
|
24521
24553
|
# @return [String]
|
24522
24554
|
attr_accessor :kind
|
24523
24555
|
|
24524
|
-
# Maximum Transmission Unit in bytes. The minimum value for this field is
|
24525
|
-
# and the maximum value is
|
24556
|
+
# Maximum Transmission Unit in bytes. The minimum value for this field is 1300
|
24557
|
+
# and the maximum value is 8896. The suggested value is 1500, which is the
|
24558
|
+
# default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If
|
24559
|
+
# unspecified, the value defaults to 1460.
|
24526
24560
|
# Corresponds to the JSON property `mtu`
|
24527
24561
|
# @return [Fixnum]
|
24528
24562
|
attr_accessor :mtu
|
@@ -25065,6 +25099,12 @@ module Google
|
|
25065
25099
|
# @return [String]
|
25066
25100
|
attr_accessor :network_endpoint_type
|
25067
25101
|
|
25102
|
+
# All data that is specifically relevant to only network endpoint groups of type
|
25103
|
+
# PRIVATE_SERVICE_CONNECT.
|
25104
|
+
# Corresponds to the JSON property `pscData`
|
25105
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupPscData]
|
25106
|
+
attr_accessor :psc_data
|
25107
|
+
|
25068
25108
|
# The target service url used to set up private service connection to a Google
|
25069
25109
|
# API or a PSC Producer Service Attachment. An example value is: "asia-
|
25070
25110
|
# northeast3-cloudkms.googleapis.com"
|
@@ -25136,6 +25176,7 @@ module Google
|
|
25136
25176
|
@name = args[:name] if args.key?(:name)
|
25137
25177
|
@network = args[:network] if args.key?(:network)
|
25138
25178
|
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
25179
|
+
@psc_data = args[:psc_data] if args.key?(:psc_data)
|
25139
25180
|
@psc_target_service = args[:psc_target_service] if args.key?(:psc_target_service)
|
25140
25181
|
@region = args[:region] if args.key?(:region)
|
25141
25182
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -25551,6 +25592,39 @@ module Google
|
|
25551
25592
|
end
|
25552
25593
|
end
|
25553
25594
|
|
25595
|
+
# All data that is specifically relevant to only network endpoint groups of type
|
25596
|
+
# PRIVATE_SERVICE_CONNECT.
|
25597
|
+
class NetworkEndpointGroupPscData
|
25598
|
+
include Google::Apis::Core::Hashable
|
25599
|
+
|
25600
|
+
# [Output Only] Address allocated from given subnetwork for PSC. This IP address
|
25601
|
+
# acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.
|
25602
|
+
# Corresponds to the JSON property `consumerPscAddress`
|
25603
|
+
# @return [String]
|
25604
|
+
attr_accessor :consumer_psc_address
|
25605
|
+
|
25606
|
+
# [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
|
25607
|
+
# Corresponds to the JSON property `pscConnectionId`
|
25608
|
+
# @return [Fixnum]
|
25609
|
+
attr_accessor :psc_connection_id
|
25610
|
+
|
25611
|
+
# [Output Only] The connection status of the PSC Forwarding Rule.
|
25612
|
+
# Corresponds to the JSON property `pscConnectionStatus`
|
25613
|
+
# @return [String]
|
25614
|
+
attr_accessor :psc_connection_status
|
25615
|
+
|
25616
|
+
def initialize(**args)
|
25617
|
+
update!(**args)
|
25618
|
+
end
|
25619
|
+
|
25620
|
+
# Update properties of this object
|
25621
|
+
def update!(**args)
|
25622
|
+
@consumer_psc_address = args[:consumer_psc_address] if args.key?(:consumer_psc_address)
|
25623
|
+
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
25624
|
+
@psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
|
25625
|
+
end
|
25626
|
+
end
|
25627
|
+
|
25554
25628
|
# Configuration for a serverless network endpoint group (NEG). The platform must
|
25555
25629
|
# be provided. Note: The target backend service must be in the same project and
|
25556
25630
|
# located in the same region as the Serverless NEG.
|
@@ -27413,6 +27487,25 @@ module Google
|
|
27413
27487
|
end
|
27414
27488
|
end
|
27415
27489
|
|
27490
|
+
#
|
27491
|
+
class NodeGroupsSimulateMaintenanceEventRequest
|
27492
|
+
include Google::Apis::Core::Hashable
|
27493
|
+
|
27494
|
+
# Names of the nodes to go under maintenance simulation.
|
27495
|
+
# Corresponds to the JSON property `nodes`
|
27496
|
+
# @return [Array<String>]
|
27497
|
+
attr_accessor :nodes
|
27498
|
+
|
27499
|
+
def initialize(**args)
|
27500
|
+
update!(**args)
|
27501
|
+
end
|
27502
|
+
|
27503
|
+
# Update properties of this object
|
27504
|
+
def update!(**args)
|
27505
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
27506
|
+
end
|
27507
|
+
end
|
27508
|
+
|
27416
27509
|
# Represent a sole-tenant Node Template resource. You can use a template to
|
27417
27510
|
# define properties for nodes in a node group. For more information, read
|
27418
27511
|
# Creating node groups and instances.
|
@@ -30367,8 +30460,9 @@ module Google
|
|
30367
30460
|
# If defaultRouteAction specifies any weightedBackendServices, defaultService
|
30368
30461
|
# must not be set. Conversely if defaultService is set, defaultRouteAction
|
30369
30462
|
# cannot contain any weightedBackendServices. Only one of defaultRouteAction or
|
30370
|
-
# defaultUrlRedirect must be set.
|
30371
|
-
#
|
30463
|
+
# defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
|
30464
|
+
# balancers only support the urlRewrite action within a path matcher's
|
30465
|
+
# defaultRouteAction.
|
30372
30466
|
# Corresponds to the JSON property `defaultRouteAction`
|
30373
30467
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
30374
30468
|
attr_accessor :default_route_action
|
@@ -30474,8 +30568,9 @@ module Google
|
|
30474
30568
|
# the request to the selected backend. If routeAction specifies any
|
30475
30569
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
30476
30570
|
# routeAction cannot contain any weightedBackendServices. Only one of
|
30477
|
-
# routeAction or urlRedirect must be set. URL maps for external HTTP(S)
|
30478
|
-
# balancers support
|
30571
|
+
# routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S)
|
30572
|
+
# load balancers only support the urlRewrite action within a path rule's
|
30573
|
+
# routeAction.
|
30479
30574
|
# Corresponds to the JSON property `routeAction`
|
30480
30575
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
30481
30576
|
attr_accessor :route_action
|
@@ -33106,29 +33201,6 @@ module Google
|
|
33106
33201
|
end
|
33107
33202
|
end
|
33108
33203
|
|
33109
|
-
#
|
33110
|
-
class RegionDisksStopGroupAsyncReplicationRequest
|
33111
|
-
include Google::Apis::Core::Hashable
|
33112
|
-
|
33113
|
-
# The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This
|
33114
|
-
# may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/
|
33115
|
-
# projects/project/regions/region /resourcePolicies/resourcePolicy - projects/
|
33116
|
-
# project/regions/region/resourcePolicies/resourcePolicy - regions/region/
|
33117
|
-
# resourcePolicies/resourcePolicy
|
33118
|
-
# Corresponds to the JSON property `resourcePolicy`
|
33119
|
-
# @return [String]
|
33120
|
-
attr_accessor :resource_policy
|
33121
|
-
|
33122
|
-
def initialize(**args)
|
33123
|
-
update!(**args)
|
33124
|
-
end
|
33125
|
-
|
33126
|
-
# Update properties of this object
|
33127
|
-
def update!(**args)
|
33128
|
-
@resource_policy = args[:resource_policy] if args.key?(:resource_policy)
|
33129
|
-
end
|
33130
|
-
end
|
33131
|
-
|
33132
33204
|
# Contains a list of InstanceGroup resources.
|
33133
33205
|
class RegionInstanceGroupList
|
33134
33206
|
include Google::Apis::Core::Hashable
|
@@ -38471,6 +38543,12 @@ module Google
|
|
38471
38543
|
# @return [Fixnum]
|
38472
38544
|
attr_accessor :current_memory_mb
|
38473
38545
|
|
38546
|
+
# Configuration for properties related to dynamic assignment of computing
|
38547
|
+
# resources to VM (CPU and RAM).
|
38548
|
+
# Corresponds to the JSON property `dynamicResizeProperties`
|
38549
|
+
# @return [Google::Apis::ComputeAlpha::SchedulingDynamicResizeProperties]
|
38550
|
+
attr_accessor :dynamic_resize_properties
|
38551
|
+
|
38474
38552
|
# Specify the time in seconds for host error detection, the value must be within
|
38475
38553
|
# the range of [90, 330] with the increment of 30, if unset, the default
|
38476
38554
|
# behavior of host error recovery will be used.
|
@@ -38568,6 +38646,7 @@ module Google
|
|
38568
38646
|
@availability_domain = args[:availability_domain] if args.key?(:availability_domain)
|
38569
38647
|
@current_cpus = args[:current_cpus] if args.key?(:current_cpus)
|
38570
38648
|
@current_memory_mb = args[:current_memory_mb] if args.key?(:current_memory_mb)
|
38649
|
+
@dynamic_resize_properties = args[:dynamic_resize_properties] if args.key?(:dynamic_resize_properties)
|
38571
38650
|
@host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
|
38572
38651
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
38573
38652
|
@latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
|
@@ -38584,6 +38663,33 @@ module Google
|
|
38584
38663
|
end
|
38585
38664
|
end
|
38586
38665
|
|
38666
|
+
# Configuration for properties related to dynamic assignment of computing
|
38667
|
+
# resources to VM (CPU and RAM).
|
38668
|
+
class SchedulingDynamicResizeProperties
|
38669
|
+
include Google::Apis::Core::Hashable
|
38670
|
+
|
38671
|
+
# Set to true if this VM is supporting HotStandby modes (b/235044648).
|
38672
|
+
# Corresponds to the JSON property `enableHotStandby`
|
38673
|
+
# @return [Boolean]
|
38674
|
+
attr_accessor :enable_hot_standby
|
38675
|
+
alias_method :enable_hot_standby?, :enable_hot_standby
|
38676
|
+
|
38677
|
+
# Current Hot Standby state of VM.
|
38678
|
+
# Corresponds to the JSON property `hotStandbyState`
|
38679
|
+
# @return [String]
|
38680
|
+
attr_accessor :hot_standby_state
|
38681
|
+
|
38682
|
+
def initialize(**args)
|
38683
|
+
update!(**args)
|
38684
|
+
end
|
38685
|
+
|
38686
|
+
# Update properties of this object
|
38687
|
+
def update!(**args)
|
38688
|
+
@enable_hot_standby = args[:enable_hot_standby] if args.key?(:enable_hot_standby)
|
38689
|
+
@hot_standby_state = args[:hot_standby_state] if args.key?(:hot_standby_state)
|
38690
|
+
end
|
38691
|
+
end
|
38692
|
+
|
38587
38693
|
# Node Affinity: the configuration of desired nodes onto which this Instance
|
38588
38694
|
# could be scheduled.
|
38589
38695
|
class SchedulingNodeAffinity
|
@@ -39560,6 +39666,13 @@ module Google
|
|
39560
39666
|
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcher]
|
39561
39667
|
attr_accessor :match
|
39562
39668
|
|
39669
|
+
# Preconfigured WAF configuration to be applied for the rule. If the rule does
|
39670
|
+
# not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is
|
39671
|
+
# not used, this field will have no effect.
|
39672
|
+
# Corresponds to the JSON property `preconfiguredWafConfig`
|
39673
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfig]
|
39674
|
+
attr_accessor :preconfigured_waf_config
|
39675
|
+
|
39563
39676
|
# If set to true, the specified action is not enforced.
|
39564
39677
|
# Corresponds to the JSON property `preview`
|
39565
39678
|
# @return [Boolean]
|
@@ -39637,6 +39750,7 @@ module Google
|
|
39637
39750
|
@header_action = args[:header_action] if args.key?(:header_action)
|
39638
39751
|
@kind = args[:kind] if args.key?(:kind)
|
39639
39752
|
@match = args[:match] if args.key?(:match)
|
39753
|
+
@preconfigured_waf_config = args[:preconfigured_waf_config] if args.key?(:preconfigured_waf_config)
|
39640
39754
|
@preview = args[:preview] if args.key?(:preview)
|
39641
39755
|
@priority = args[:priority] if args.key?(:priority)
|
39642
39756
|
@rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
|
@@ -39849,6 +39963,107 @@ module Google
|
|
39849
39963
|
end
|
39850
39964
|
end
|
39851
39965
|
|
39966
|
+
#
|
39967
|
+
class SecurityPolicyRulePreconfiguredWafConfig
|
39968
|
+
include Google::Apis::Core::Hashable
|
39969
|
+
|
39970
|
+
# A list of exclusions to apply during preconfigured WAF evaluation.
|
39971
|
+
# Corresponds to the JSON property `exclusions`
|
39972
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusion>]
|
39973
|
+
attr_accessor :exclusions
|
39974
|
+
|
39975
|
+
def initialize(**args)
|
39976
|
+
update!(**args)
|
39977
|
+
end
|
39978
|
+
|
39979
|
+
# Update properties of this object
|
39980
|
+
def update!(**args)
|
39981
|
+
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
39982
|
+
end
|
39983
|
+
end
|
39984
|
+
|
39985
|
+
#
|
39986
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusion
|
39987
|
+
include Google::Apis::Core::Hashable
|
39988
|
+
|
39989
|
+
# A list of request cookie names whose value will be excluded from inspection
|
39990
|
+
# during preconfigured WAF evaluation.
|
39991
|
+
# Corresponds to the JSON property `requestCookiesToExclude`
|
39992
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
39993
|
+
attr_accessor :request_cookies_to_exclude
|
39994
|
+
|
39995
|
+
# A list of request header names whose value will be excluded from inspection
|
39996
|
+
# during preconfigured WAF evaluation.
|
39997
|
+
# Corresponds to the JSON property `requestHeadersToExclude`
|
39998
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
39999
|
+
attr_accessor :request_headers_to_exclude
|
40000
|
+
|
40001
|
+
# A list of request query parameter names whose value will be excluded from
|
40002
|
+
# inspection during preconfigured WAF evaluation. Note that the parameter can be
|
40003
|
+
# in the query string or in the POST body.
|
40004
|
+
# Corresponds to the JSON property `requestQueryParamsToExclude`
|
40005
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
40006
|
+
attr_accessor :request_query_params_to_exclude
|
40007
|
+
|
40008
|
+
# A list of request URIs from the request line to be excluded from inspection
|
40009
|
+
# during preconfigured WAF evaluation. When specifying this field, the query or
|
40010
|
+
# fragment part should be excluded.
|
40011
|
+
# Corresponds to the JSON property `requestUrisToExclude`
|
40012
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams>]
|
40013
|
+
attr_accessor :request_uris_to_exclude
|
40014
|
+
|
40015
|
+
# A list of target rule IDs under the WAF rule set to apply the preconfigured
|
40016
|
+
# WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule
|
40017
|
+
# set.
|
40018
|
+
# Corresponds to the JSON property `targetRuleIds`
|
40019
|
+
# @return [Array<String>]
|
40020
|
+
attr_accessor :target_rule_ids
|
40021
|
+
|
40022
|
+
# Target WAF rule set to apply the preconfigured WAF exclusion.
|
40023
|
+
# Corresponds to the JSON property `targetRuleSet`
|
40024
|
+
# @return [String]
|
40025
|
+
attr_accessor :target_rule_set
|
40026
|
+
|
40027
|
+
def initialize(**args)
|
40028
|
+
update!(**args)
|
40029
|
+
end
|
40030
|
+
|
40031
|
+
# Update properties of this object
|
40032
|
+
def update!(**args)
|
40033
|
+
@request_cookies_to_exclude = args[:request_cookies_to_exclude] if args.key?(:request_cookies_to_exclude)
|
40034
|
+
@request_headers_to_exclude = args[:request_headers_to_exclude] if args.key?(:request_headers_to_exclude)
|
40035
|
+
@request_query_params_to_exclude = args[:request_query_params_to_exclude] if args.key?(:request_query_params_to_exclude)
|
40036
|
+
@request_uris_to_exclude = args[:request_uris_to_exclude] if args.key?(:request_uris_to_exclude)
|
40037
|
+
@target_rule_ids = args[:target_rule_ids] if args.key?(:target_rule_ids)
|
40038
|
+
@target_rule_set = args[:target_rule_set] if args.key?(:target_rule_set)
|
40039
|
+
end
|
40040
|
+
end
|
40041
|
+
|
40042
|
+
#
|
40043
|
+
class SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams
|
40044
|
+
include Google::Apis::Core::Hashable
|
40045
|
+
|
40046
|
+
# The match operator for the field.
|
40047
|
+
# Corresponds to the JSON property `op`
|
40048
|
+
# @return [String]
|
40049
|
+
attr_accessor :op
|
40050
|
+
|
40051
|
+
# The value of the field.
|
40052
|
+
# Corresponds to the JSON property `val`
|
40053
|
+
# @return [String]
|
40054
|
+
attr_accessor :val
|
40055
|
+
|
40056
|
+
def initialize(**args)
|
40057
|
+
update!(**args)
|
40058
|
+
end
|
40059
|
+
|
40060
|
+
# Update properties of this object
|
40061
|
+
def update!(**args)
|
40062
|
+
@op = args[:op] if args.key?(:op)
|
40063
|
+
@val = args[:val] if args.key?(:val)
|
40064
|
+
end
|
40065
|
+
end
|
40066
|
+
|
39852
40067
|
#
|
39853
40068
|
class SecurityPolicyRuleRateLimitOptions
|
39854
40069
|
include Google::Apis::Core::Hashable
|
@@ -47383,7 +47598,7 @@ module Google
|
|
47383
47598
|
end
|
47384
47599
|
end
|
47385
47600
|
|
47386
|
-
# Upcoming Maintenance notification information. TODO(b/
|
47601
|
+
# Upcoming Maintenance notification information. TODO(b/242069500) Deprecate
|
47387
47602
|
# this proto once it's fully migrated to be under proto ResourceStatus.
|
47388
47603
|
# UpcomingMaintenance.
|
47389
47604
|
class UpcomingMaintenance
|
@@ -47494,8 +47709,8 @@ module Google
|
|
47494
47709
|
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
47495
47710
|
# not be set. Conversely if defaultService is set, defaultRouteAction cannot
|
47496
47711
|
# contain any weightedBackendServices. Only one of defaultRouteAction or
|
47497
|
-
# defaultUrlRedirect must be set.
|
47498
|
-
#
|
47712
|
+
# defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
|
47713
|
+
# balancers only support the urlRewrite action within defaultRouteAction.
|
47499
47714
|
# defaultRouteAction has no effect when the URL map is bound to a target gRPC
|
47500
47715
|
# proxy that has the validateForProxyless field set to true.
|
47501
47716
|
# Corresponds to the JSON property `defaultRouteAction`
|
@@ -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.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220823"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|