google-apis-compute_alpha 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee137e8d2b6f0318092bcea338879c98701b77d91efc8798073dfdee7de8ce63
|
|
4
|
+
data.tar.gz: 668117ce96c4472a4293f38da3920fa0e901117cdd52e20fbfa7ecf87eaef38e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ab5b282bc82a10af243ce208639c6fb4f78a299ae4cbbba6a2be5f38699a44052c904eae4d69cd96c800a8126c6620547af9576213293e85d9509ba226fc9c7
|
|
7
|
+
data.tar.gz: ee6e73957027131db28f3ce41968ccaafa52ae1544001046614497a829f0775b728f2e41e3c068466527f3c80ce23f43a5098cf70b6feac34848e2530f0c71ac
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-compute_alpha
|
|
2
2
|
|
|
3
|
+
### v0.55.0 (2022-12-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20221206
|
|
6
|
+
|
|
7
|
+
### v0.54.0 (2022-12-07)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20221126
|
|
10
|
+
|
|
3
11
|
### v0.53.0 (2022-11-10)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20221101
|
|
@@ -1170,6 +1170,11 @@ module Google
|
|
|
1170
1170
|
# @return [Fixnum]
|
|
1171
1171
|
attr_accessor :numa_node_count
|
|
1172
1172
|
|
|
1173
|
+
# Type of Performance Monitoring Unit requested on instance.
|
|
1174
|
+
# Corresponds to the JSON property `performanceMonitoringUnit`
|
|
1175
|
+
# @return [String]
|
|
1176
|
+
attr_accessor :performance_monitoring_unit
|
|
1177
|
+
|
|
1173
1178
|
# The number of threads per physical core. To disable simultaneous
|
|
1174
1179
|
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
|
1175
1180
|
# supported per core by the underlying processor is assumed.
|
|
@@ -1194,6 +1199,7 @@ module Google
|
|
|
1194
1199
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
|
1195
1200
|
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
|
1196
1201
|
@numa_node_count = args[:numa_node_count] if args.key?(:numa_node_count)
|
|
1202
|
+
@performance_monitoring_unit = args[:performance_monitoring_unit] if args.key?(:performance_monitoring_unit)
|
|
1197
1203
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
|
1198
1204
|
@visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
|
|
1199
1205
|
end
|
|
@@ -1698,7 +1704,7 @@ module Google
|
|
|
1698
1704
|
attr_accessor :provisioned_throughput
|
|
1699
1705
|
|
|
1700
1706
|
# URLs of the zones where the disk should be replicated to. Only applicable for
|
|
1701
|
-
# regional resources.
|
|
1707
|
+
# regional resources. Replica zones must have 1 zone same as the instance zone.
|
|
1702
1708
|
# Corresponds to the JSON property `replicaZones`
|
|
1703
1709
|
# @return [Array<String>]
|
|
1704
1710
|
attr_accessor :replica_zones
|
|
@@ -2871,7 +2877,9 @@ module Google
|
|
|
2871
2877
|
# group is completely drained, offering 0% of its available capacity. The valid
|
|
2872
2878
|
# ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and
|
|
2873
2879
|
# smaller than 0.1. You cannot configure a setting of 0 when there is only one
|
|
2874
|
-
# backend attached to the backend service.
|
|
2880
|
+
# backend attached to the backend service. Not available with backends that don'
|
|
2881
|
+
# t support using a balancingMode. This includes backends such as global
|
|
2882
|
+
# internet NEGs, regional serverless NEGs, and PSC NEGs.
|
|
2875
2883
|
# Corresponds to the JSON property `capacityScaler`
|
|
2876
2884
|
# @return [Float]
|
|
2877
2885
|
attr_accessor :capacity_scaler
|
|
@@ -4592,22 +4600,31 @@ module Google
|
|
|
4592
4600
|
attr_accessor :enable
|
|
4593
4601
|
alias_method :enable?, :enable
|
|
4594
4602
|
|
|
4595
|
-
# This field can only be specified if
|
|
4596
|
-
# service. Configures whether all, none or a
|
|
4597
|
-
# added to the reported logs. One of [
|
|
4598
|
-
# CUSTOM]. Default is
|
|
4603
|
+
# Deprecated in favor of optionalMode. This field can only be specified if
|
|
4604
|
+
# logging is enabled for this backend service. Configures whether all, none or a
|
|
4605
|
+
# subset of optional fields should be added to the reported logs. One of [
|
|
4606
|
+
# INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is
|
|
4607
|
+
# EXCLUDE_ALL_OPTIONAL.
|
|
4599
4608
|
# Corresponds to the JSON property `optional`
|
|
4600
4609
|
# @return [String]
|
|
4601
4610
|
attr_accessor :optional
|
|
4602
4611
|
|
|
4603
4612
|
# This field can only be specified if logging is enabled for this backend
|
|
4604
|
-
# service and "logConfig.
|
|
4613
|
+
# service and "logConfig.optionalMode" was set to CUSTOM. Contains a list of
|
|
4605
4614
|
# optional fields you want to include in the logs. For example: serverInstance,
|
|
4606
4615
|
# serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace
|
|
4607
4616
|
# Corresponds to the JSON property `optionalFields`
|
|
4608
4617
|
# @return [Array<String>]
|
|
4609
4618
|
attr_accessor :optional_fields
|
|
4610
4619
|
|
|
4620
|
+
# This field can only be specified if logging is enabled for this backend
|
|
4621
|
+
# service. Configures whether all, none or a subset of optional fields should be
|
|
4622
|
+
# added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL,
|
|
4623
|
+
# CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
|
|
4624
|
+
# Corresponds to the JSON property `optionalMode`
|
|
4625
|
+
# @return [String]
|
|
4626
|
+
attr_accessor :optional_mode
|
|
4627
|
+
|
|
4611
4628
|
# This field can only be specified if logging is enabled for this backend
|
|
4612
4629
|
# service. The value of the field must be in [0, 1]. This configures the
|
|
4613
4630
|
# sampling rate of requests to the load balancer where 1.0 means all logged
|
|
@@ -4626,6 +4643,7 @@ module Google
|
|
|
4626
4643
|
@enable = args[:enable] if args.key?(:enable)
|
|
4627
4644
|
@optional = args[:optional] if args.key?(:optional)
|
|
4628
4645
|
@optional_fields = args[:optional_fields] if args.key?(:optional_fields)
|
|
4646
|
+
@optional_mode = args[:optional_mode] if args.key?(:optional_mode)
|
|
4629
4647
|
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
|
|
4630
4648
|
end
|
|
4631
4649
|
end
|
|
@@ -8005,14 +8023,9 @@ module Google
|
|
|
8005
8023
|
class DisksStopAsyncReplicationRequest
|
|
8006
8024
|
include Google::Apis::Core::Hashable
|
|
8007
8025
|
|
|
8008
|
-
# The secondary disk to stop asynchronous replication to.
|
|
8009
|
-
#
|
|
8010
|
-
#
|
|
8011
|
-
# following are valid values: - https://www.googleapis.com/compute/v1/projects/
|
|
8012
|
-
# project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/
|
|
8013
|
-
# projects/project/regions/region /disks/disk - projects/project/zones/zone/
|
|
8014
|
-
# disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/
|
|
8015
|
-
# disk - regions/region/disks/disk
|
|
8026
|
+
# [Deprecated] The secondary disk to stop asynchronous replication to. This
|
|
8027
|
+
# field will not be included in the beta or v1 APIs and will be removed from the
|
|
8028
|
+
# alpha API in the near future.
|
|
8016
8029
|
# Corresponds to the JSON property `asyncSecondaryDisk`
|
|
8017
8030
|
# @return [String]
|
|
8018
8031
|
attr_accessor :async_secondary_disk
|
|
@@ -8185,7 +8198,8 @@ module Google
|
|
|
8185
8198
|
|
|
8186
8199
|
# The reason of the error. This is a constant value that identifies the
|
|
8187
8200
|
# proximate cause of the error. Error reasons are unique within a particular
|
|
8188
|
-
# domain of errors. This should be at most 63 characters and match
|
|
8201
|
+
# domain of errors. This should be at most 63 characters and match a regular
|
|
8202
|
+
# expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
|
|
8189
8203
|
# Corresponds to the JSON property `reason`
|
|
8190
8204
|
# @return [String]
|
|
8191
8205
|
attr_accessor :reason
|
|
@@ -9198,8 +9212,8 @@ module Google
|
|
|
9198
9212
|
attr_accessor :kind
|
|
9199
9213
|
|
|
9200
9214
|
# Name of the resource. For Organization Firewall Policies it's a [Output Only]
|
|
9201
|
-
# numeric ID allocated by
|
|
9202
|
-
# Firewall Policy.
|
|
9215
|
+
# numeric ID allocated by Google Cloud which uniquely identifies the
|
|
9216
|
+
# Organization Firewall Policy.
|
|
9203
9217
|
# Corresponds to the JSON property `name`
|
|
9204
9218
|
# @return [String]
|
|
9205
9219
|
attr_accessor :name
|
|
@@ -9814,12 +9828,13 @@ module Google
|
|
|
9814
9828
|
# @return [String]
|
|
9815
9829
|
attr_accessor :ip_protocol
|
|
9816
9830
|
|
|
9817
|
-
# This field
|
|
9818
|
-
#
|
|
9819
|
-
# internal and external
|
|
9820
|
-
#
|
|
9821
|
-
#
|
|
9822
|
-
#
|
|
9831
|
+
# This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
|
|
9832
|
+
# internal TCP/UDP load balancers, backend service-based network load balancers,
|
|
9833
|
+
# and internal and external protocol forwarding. Set this field to true to allow
|
|
9834
|
+
# packets addressed to any port or packets lacking destination port information (
|
|
9835
|
+
# for example, UDP fragments after the first fragment) to be forwarded to the
|
|
9836
|
+
# backends configured with this forwarding rule. The ports, port_range, and
|
|
9837
|
+
# allPorts fields are mutually exclusive.
|
|
9823
9838
|
# Corresponds to the JSON property `allPorts`
|
|
9824
9839
|
# @return [Boolean]
|
|
9825
9840
|
attr_accessor :all_ports
|
|
@@ -9848,6 +9863,15 @@ module Google
|
|
|
9848
9863
|
# @return [String]
|
|
9849
9864
|
attr_accessor :backend_service
|
|
9850
9865
|
|
|
9866
|
+
# [Output Only] The URL for the corresponding base Forwarding Rule. By base
|
|
9867
|
+
# Forwarding Rule, we mean the Forwarding Rule that has the same IP address,
|
|
9868
|
+
# protocol, and port settings with the current Forwarding Rule, but without
|
|
9869
|
+
# sourceIPRanges specified. Always empty if the current Forwarding Rule does not
|
|
9870
|
+
# have sourceIPRanges specified.
|
|
9871
|
+
# Corresponds to the JSON property `baseForwardingRule`
|
|
9872
|
+
# @return [String]
|
|
9873
|
+
attr_accessor :base_forwarding_rule
|
|
9874
|
+
|
|
9851
9875
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
|
9852
9876
|
# Corresponds to the JSON property `creationTimestamp`
|
|
9853
9877
|
# @return [String]
|
|
@@ -9982,27 +10006,35 @@ module Google
|
|
|
9982
10006
|
attr_accessor :no_automate_dns_zone
|
|
9983
10007
|
alias_method :no_automate_dns_zone?, :no_automate_dns_zone
|
|
9984
10008
|
|
|
9985
|
-
# This field can be used
|
|
9986
|
-
#
|
|
9987
|
-
#
|
|
9988
|
-
#
|
|
9989
|
-
#
|
|
9990
|
-
#
|
|
9991
|
-
#
|
|
9992
|
-
#
|
|
9993
|
-
#
|
|
10009
|
+
# This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
|
|
10010
|
+
# backend service-based network load balancers, target pool-based network load
|
|
10011
|
+
# balancers, internal proxy load balancers, external proxy load balancers,
|
|
10012
|
+
# Traffic Director, external protocol forwarding, and Classic VPN. Some products
|
|
10013
|
+
# have restrictions on what ports can be used. See port specifications for
|
|
10014
|
+
# details. Only packets addressed to ports in the specified range will be
|
|
10015
|
+
# forwarded to the backends configured with this forwarding rule. The ports,
|
|
10016
|
+
# port_range, and allPorts fields are mutually exclusive. For external
|
|
10017
|
+
# forwarding rules, two or more forwarding rules cannot use the same [IPAddress,
|
|
10018
|
+
# IPProtocol] pair, and cannot have overlapping portRanges. For internal
|
|
10019
|
+
# forwarding rules within the same VPC network, two or more forwarding rules
|
|
10020
|
+
# cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping
|
|
10021
|
+
# portRanges. @pattern: \\d+(?:-\\d+)?
|
|
9994
10022
|
# Corresponds to the JSON property `portRange`
|
|
9995
10023
|
# @return [String]
|
|
9996
10024
|
attr_accessor :port_range
|
|
9997
10025
|
|
|
9998
|
-
#
|
|
9999
|
-
#
|
|
10000
|
-
# ports
|
|
10001
|
-
#
|
|
10002
|
-
#
|
|
10003
|
-
#
|
|
10004
|
-
# the same [IPAddress, IPProtocol] pair
|
|
10005
|
-
#
|
|
10026
|
+
# This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
|
|
10027
|
+
# internal TCP/UDP load balancers, backend service-based network load balancers,
|
|
10028
|
+
# and internal protocol forwarding. You can specify a list of up to five ports
|
|
10029
|
+
# by number, separated by commas. The ports can be contiguous or discontiguous.
|
|
10030
|
+
# Only packets addressed to these ports will be forwarded to the backends
|
|
10031
|
+
# configured with this forwarding rule. For external forwarding rules, two or
|
|
10032
|
+
# more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and
|
|
10033
|
+
# cannot share any values defined in ports. For internal forwarding rules within
|
|
10034
|
+
# the same VPC network, two or more forwarding rules cannot use the same [
|
|
10035
|
+
# IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The
|
|
10036
|
+
# ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?
|
|
10037
|
+
# :-\\d+)?
|
|
10006
10038
|
# Corresponds to the JSON property `ports`
|
|
10007
10039
|
# @return [Array<String>]
|
|
10008
10040
|
attr_accessor :ports
|
|
@@ -10082,12 +10114,13 @@ module Google
|
|
|
10082
10114
|
# forwarding rules, this target must be in the same region as the forwarding
|
|
10083
10115
|
# rule. For global forwarding rules, this target must be a global load balancing
|
|
10084
10116
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
|
10085
|
-
# object. For
|
|
10117
|
+
# object. - For load balancers, see the "Target" column in [Port specifications](
|
|
10086
10118
|
# https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
|
|
10087
|
-
# ip_address_specifications). For Private Service Connect forwarding rules
|
|
10088
|
-
# forward traffic to Google APIs, provide the name of a supported Google
|
|
10089
|
-
# bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
|
|
10090
|
-
# supported Google APIs.
|
|
10119
|
+
# ip_address_specifications). - For Private Service Connect forwarding rules
|
|
10120
|
+
# that forward traffic to Google APIs, provide the name of a supported Google
|
|
10121
|
+
# API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
|
|
10122
|
+
# All supported Google APIs. - For Private Service Connect forwarding rules that
|
|
10123
|
+
# forward traffic to managed services, the target must be a service attachment.
|
|
10091
10124
|
# Corresponds to the JSON property `target`
|
|
10092
10125
|
# @return [String]
|
|
10093
10126
|
attr_accessor :target
|
|
@@ -10104,6 +10137,7 @@ module Google
|
|
|
10104
10137
|
@allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
|
|
10105
10138
|
@allow_psc_global_access = args[:allow_psc_global_access] if args.key?(:allow_psc_global_access)
|
|
10106
10139
|
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
|
10140
|
+
@base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
|
|
10107
10141
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
10108
10142
|
@description = args[:description] if args.key?(:description)
|
|
10109
10143
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
@@ -12196,13 +12230,18 @@ module Google
|
|
|
12196
12230
|
attr_accessor :fingerprint
|
|
12197
12231
|
|
|
12198
12232
|
# A list of URLs to the HealthCheck resources. Must have at least one
|
|
12199
|
-
# HealthCheck, and not more than 10
|
|
12233
|
+
# HealthCheck, and not more than 10 for regional HealthCheckService, and not
|
|
12234
|
+
# more than 1 for global HealthCheckService. HealthCheck resources must have
|
|
12200
12235
|
# portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For
|
|
12201
12236
|
# regional HealthCheckService, the HealthCheck must be regional and in the same
|
|
12202
12237
|
# region. For global HealthCheckService, HealthCheck must be global. Mix of
|
|
12203
12238
|
# regional and global HealthChecks is not supported. Multiple regional
|
|
12204
12239
|
# HealthChecks must belong to the same region. Regional HealthChecks must belong
|
|
12205
|
-
# to the same region as zones of
|
|
12240
|
+
# to the same region as zones of NetworkEndpointGroups. For global
|
|
12241
|
+
# HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the
|
|
12242
|
+
# global HealthChecks must specify sourceRegions, and HealthChecks that specify
|
|
12243
|
+
# sourceRegions can only be used with global INTERNET_IP_PORT
|
|
12244
|
+
# NetworkEndpointGroups.
|
|
12206
12245
|
# Corresponds to the JSON property `healthChecks`
|
|
12207
12246
|
# @return [Array<String>]
|
|
12208
12247
|
attr_accessor :health_checks
|
|
@@ -12212,7 +12251,8 @@ module Google
|
|
|
12212
12251
|
# NO_AGGREGATION. An EndpointHealth message is returned for each pair in the
|
|
12213
12252
|
# health check service. - AND. If any health check of an endpoint reports
|
|
12214
12253
|
# UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health
|
|
12215
|
-
# checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
|
|
12254
|
+
# checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is
|
|
12255
|
+
# only allowed with regional HealthCheckService.
|
|
12216
12256
|
# Corresponds to the JSON property `healthStatusAggregationPolicy`
|
|
12217
12257
|
# @return [String]
|
|
12218
12258
|
attr_accessor :health_status_aggregation_policy
|
|
@@ -12252,7 +12292,8 @@ module Google
|
|
|
12252
12292
|
|
|
12253
12293
|
# A list of URLs to the NetworkEndpointGroup resources. Must not have more than
|
|
12254
12294
|
# 100. For regional HealthCheckService, NEGs must be in zones in the region of
|
|
12255
|
-
# the HealthCheckService.
|
|
12295
|
+
# the HealthCheckService. For global HealthCheckServices, the
|
|
12296
|
+
# NetworkEndpointGroups must be global INTERNET_IP_PORT.
|
|
12256
12297
|
# Corresponds to the JSON property `networkEndpointGroups`
|
|
12257
12298
|
# @return [Array<String>]
|
|
12258
12299
|
attr_accessor :network_endpoint_groups
|
|
@@ -14932,17 +14973,12 @@ module Google
|
|
|
14932
14973
|
# @return [Fixnum]
|
|
14933
14974
|
attr_accessor :id
|
|
14934
14975
|
|
|
14935
|
-
# Encrypts
|
|
14936
|
-
#
|
|
14937
|
-
# in-memory contents of the instance
|
|
14938
|
-
#
|
|
14939
|
-
#
|
|
14940
|
-
#
|
|
14941
|
-
# local SSD and in-memory contents will be encrypted using an automatically
|
|
14942
|
-
# generated key and you do not need to provide a key to start the instance later.
|
|
14943
|
-
# Instance templates do not store customer-supplied encryption keys, so you
|
|
14944
|
-
# cannot use your own keys to encrypt local SSDs and in-memory content in a
|
|
14945
|
-
# managed instance group.
|
|
14976
|
+
# Encrypts suspended data for an instance with a customer-managed encryption key.
|
|
14977
|
+
# If you are creating a new instance, this field will encrypt the local SSD and
|
|
14978
|
+
# in-memory contents of the instance during the suspend operation. If you do not
|
|
14979
|
+
# provide an encryption key when creating the instance, then the local SSD and
|
|
14980
|
+
# in-memory contents will be encrypted using an automatically generated key
|
|
14981
|
+
# during the suspend operation.
|
|
14946
14982
|
# Corresponds to the JSON property `instanceEncryptionKey`
|
|
14947
14983
|
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
|
14948
14984
|
attr_accessor :instance_encryption_key
|
|
@@ -16392,6 +16428,11 @@ module Google
|
|
|
16392
16428
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
|
16393
16429
|
include Google::Apis::Core::Hashable
|
|
16394
16430
|
|
|
16431
|
+
# Defines behaviour for all instance or failures
|
|
16432
|
+
# Corresponds to the JSON property `defaultActionOnFailure`
|
|
16433
|
+
# @return [String]
|
|
16434
|
+
attr_accessor :default_action_on_failure
|
|
16435
|
+
|
|
16395
16436
|
# A bit indicating whether to forcefully apply the group's latest configuration
|
|
16396
16437
|
# when repairing a VM. Valid options are: - NO (default): If configuration
|
|
16397
16438
|
# updates are available, they are not forcefully applied during repair. Instead,
|
|
@@ -16421,6 +16462,7 @@ module Google
|
|
|
16421
16462
|
|
|
16422
16463
|
# Update properties of this object
|
|
16423
16464
|
def update!(**args)
|
|
16465
|
+
@default_action_on_failure = args[:default_action_on_failure] if args.key?(:default_action_on_failure)
|
|
16424
16466
|
@force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
|
|
16425
16467
|
@metadata_based_readiness_signal = args[:metadata_based_readiness_signal] if args.key?(:metadata_based_readiness_signal)
|
|
16426
16468
|
end
|
|
@@ -20243,8 +20285,9 @@ module Google
|
|
|
20243
20285
|
|
|
20244
20286
|
# Email address to contact the customer NOC for operations and maintenance
|
|
20245
20287
|
# notifications regarding this Interconnect. If specified, this will be used for
|
|
20246
|
-
# notifications in addition to all other forms described, such as
|
|
20247
|
-
# logs alerting and Cloud Notifications.
|
|
20288
|
+
# notifications in addition to all other forms described, such as Cloud
|
|
20289
|
+
# Monitoring logs alerting and Cloud Notifications. This field is required for
|
|
20290
|
+
# users who sign up for Cloud Interconnect using workforce identity federation.
|
|
20248
20291
|
# Corresponds to the JSON property `nocContactEmail`
|
|
20249
20292
|
# @return [String]
|
|
20250
20293
|
attr_accessor :noc_contact_email
|
|
@@ -20887,12 +20930,6 @@ module Google
|
|
|
20887
20930
|
# @return [Array<Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange>]
|
|
20888
20931
|
attr_accessor :bgp_peer_asn_ranges
|
|
20889
20932
|
|
|
20890
|
-
# [Output Only] Network Connectivity Center constraints, which can take one of
|
|
20891
|
-
# the following values: NCC_UNCONSTRAINED, NCC_SPOKE_REQUIRED
|
|
20892
|
-
# Corresponds to the JSON property `networkConnectivityCenter`
|
|
20893
|
-
# @return [String]
|
|
20894
|
-
attr_accessor :network_connectivity_center
|
|
20895
|
-
|
|
20896
20933
|
def initialize(**args)
|
|
20897
20934
|
update!(**args)
|
|
20898
20935
|
end
|
|
@@ -20901,7 +20938,6 @@ module Google
|
|
|
20901
20938
|
def update!(**args)
|
|
20902
20939
|
@bgp_md5 = args[:bgp_md5] if args.key?(:bgp_md5)
|
|
20903
20940
|
@bgp_peer_asn_ranges = args[:bgp_peer_asn_ranges] if args.key?(:bgp_peer_asn_ranges)
|
|
20904
|
-
@network_connectivity_center = args[:network_connectivity_center] if args.key?(:network_connectivity_center)
|
|
20905
20941
|
end
|
|
20906
20942
|
end
|
|
20907
20943
|
|
|
@@ -29795,11 +29831,6 @@ module Google
|
|
|
29795
29831
|
# @return [String]
|
|
29796
29832
|
attr_accessor :kind
|
|
29797
29833
|
|
|
29798
|
-
# [Output Only] Service-specific metadata attached to this operation.
|
|
29799
|
-
# Corresponds to the JSON property `metadata`
|
|
29800
|
-
# @return [Hash<String,Object>]
|
|
29801
|
-
attr_accessor :metadata
|
|
29802
|
-
|
|
29803
29834
|
# [Output Only] Name of the operation.
|
|
29804
29835
|
# Corresponds to the JSON property `name`
|
|
29805
29836
|
# @return [String]
|
|
@@ -29906,7 +29937,6 @@ module Google
|
|
|
29906
29937
|
@id = args[:id] if args.key?(:id)
|
|
29907
29938
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
29908
29939
|
@kind = args[:kind] if args.key?(:kind)
|
|
29909
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
29910
29940
|
@name = args[:name] if args.key?(:name)
|
|
29911
29941
|
@operation_group_id = args[:operation_group_id] if args.key?(:operation_group_id)
|
|
29912
29942
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
@@ -33373,6 +33403,221 @@ module Google
|
|
|
33373
33403
|
end
|
|
33374
33404
|
end
|
|
33375
33405
|
|
|
33406
|
+
#
|
|
33407
|
+
class QueuedResourcesAggregatedList
|
|
33408
|
+
include Google::Apis::Core::Hashable
|
|
33409
|
+
|
|
33410
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
33411
|
+
# Corresponds to the JSON property `id`
|
|
33412
|
+
# @return [String]
|
|
33413
|
+
attr_accessor :id
|
|
33414
|
+
|
|
33415
|
+
# A list of QueuedResourcesScopedList resources.
|
|
33416
|
+
# Corresponds to the JSON property `items`
|
|
33417
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::QueuedResourcesScopedList>]
|
|
33418
|
+
attr_accessor :items
|
|
33419
|
+
|
|
33420
|
+
# [Output Only] Type of resource. Always compute#queuedResourcesAggregatedList
|
|
33421
|
+
# for lists of QueuedResource.
|
|
33422
|
+
# Corresponds to the JSON property `kind`
|
|
33423
|
+
# @return [String]
|
|
33424
|
+
attr_accessor :kind
|
|
33425
|
+
|
|
33426
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
33427
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
33428
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
33429
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
33430
|
+
# continue paging through the results.
|
|
33431
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
33432
|
+
# @return [String]
|
|
33433
|
+
attr_accessor :next_page_token
|
|
33434
|
+
|
|
33435
|
+
# [Output Only] Server-defined URL for this resource.
|
|
33436
|
+
# Corresponds to the JSON property `selfLink`
|
|
33437
|
+
# @return [String]
|
|
33438
|
+
attr_accessor :self_link
|
|
33439
|
+
|
|
33440
|
+
# [Output Only] Unreachable resources.
|
|
33441
|
+
# Corresponds to the JSON property `unreachables`
|
|
33442
|
+
# @return [Array<String>]
|
|
33443
|
+
attr_accessor :unreachables
|
|
33444
|
+
|
|
33445
|
+
# [Output Only] Informational warning message.
|
|
33446
|
+
# Corresponds to the JSON property `warning`
|
|
33447
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning]
|
|
33448
|
+
attr_accessor :warning
|
|
33449
|
+
|
|
33450
|
+
def initialize(**args)
|
|
33451
|
+
update!(**args)
|
|
33452
|
+
end
|
|
33453
|
+
|
|
33454
|
+
# Update properties of this object
|
|
33455
|
+
def update!(**args)
|
|
33456
|
+
@id = args[:id] if args.key?(:id)
|
|
33457
|
+
@items = args[:items] if args.key?(:items)
|
|
33458
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
33459
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
33460
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
33461
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
|
33462
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
33463
|
+
end
|
|
33464
|
+
|
|
33465
|
+
# [Output Only] Informational warning message.
|
|
33466
|
+
class Warning
|
|
33467
|
+
include Google::Apis::Core::Hashable
|
|
33468
|
+
|
|
33469
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
33470
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
33471
|
+
# Corresponds to the JSON property `code`
|
|
33472
|
+
# @return [String]
|
|
33473
|
+
attr_accessor :code
|
|
33474
|
+
|
|
33475
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
|
33476
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
33477
|
+
# Corresponds to the JSON property `data`
|
|
33478
|
+
# @return [Array<Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Datum>]
|
|
33479
|
+
attr_accessor :data
|
|
33480
|
+
|
|
33481
|
+
# [Output Only] A human-readable description of the warning code.
|
|
33482
|
+
# Corresponds to the JSON property `message`
|
|
33483
|
+
# @return [String]
|
|
33484
|
+
attr_accessor :message
|
|
33485
|
+
|
|
33486
|
+
def initialize(**args)
|
|
33487
|
+
update!(**args)
|
|
33488
|
+
end
|
|
33489
|
+
|
|
33490
|
+
# Update properties of this object
|
|
33491
|
+
def update!(**args)
|
|
33492
|
+
@code = args[:code] if args.key?(:code)
|
|
33493
|
+
@data = args[:data] if args.key?(:data)
|
|
33494
|
+
@message = args[:message] if args.key?(:message)
|
|
33495
|
+
end
|
|
33496
|
+
|
|
33497
|
+
#
|
|
33498
|
+
class Datum
|
|
33499
|
+
include Google::Apis::Core::Hashable
|
|
33500
|
+
|
|
33501
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
33502
|
+
# For example, for warnings where there are no results in a list request for a
|
|
33503
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
33504
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
33505
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
33506
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
33507
|
+
# for IP forwarding).
|
|
33508
|
+
# Corresponds to the JSON property `key`
|
|
33509
|
+
# @return [String]
|
|
33510
|
+
attr_accessor :key
|
|
33511
|
+
|
|
33512
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
33513
|
+
# Corresponds to the JSON property `value`
|
|
33514
|
+
# @return [String]
|
|
33515
|
+
attr_accessor :value
|
|
33516
|
+
|
|
33517
|
+
def initialize(**args)
|
|
33518
|
+
update!(**args)
|
|
33519
|
+
end
|
|
33520
|
+
|
|
33521
|
+
# Update properties of this object
|
|
33522
|
+
def update!(**args)
|
|
33523
|
+
@key = args[:key] if args.key?(:key)
|
|
33524
|
+
@value = args[:value] if args.key?(:value)
|
|
33525
|
+
end
|
|
33526
|
+
end
|
|
33527
|
+
end
|
|
33528
|
+
end
|
|
33529
|
+
|
|
33530
|
+
#
|
|
33531
|
+
class QueuedResourcesScopedList
|
|
33532
|
+
include Google::Apis::Core::Hashable
|
|
33533
|
+
|
|
33534
|
+
# List of QueuedResources contained in this scope.
|
|
33535
|
+
# Corresponds to the JSON property `queuedResources`
|
|
33536
|
+
# @return [Array<Google::Apis::ComputeAlpha::QueuedResource>]
|
|
33537
|
+
attr_accessor :queued_resources
|
|
33538
|
+
|
|
33539
|
+
# Informational warning which replaces the list of backend services when the
|
|
33540
|
+
# list is empty.
|
|
33541
|
+
# Corresponds to the JSON property `warning`
|
|
33542
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning]
|
|
33543
|
+
attr_accessor :warning
|
|
33544
|
+
|
|
33545
|
+
def initialize(**args)
|
|
33546
|
+
update!(**args)
|
|
33547
|
+
end
|
|
33548
|
+
|
|
33549
|
+
# Update properties of this object
|
|
33550
|
+
def update!(**args)
|
|
33551
|
+
@queued_resources = args[:queued_resources] if args.key?(:queued_resources)
|
|
33552
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
33553
|
+
end
|
|
33554
|
+
|
|
33555
|
+
# Informational warning which replaces the list of backend services when the
|
|
33556
|
+
# list is empty.
|
|
33557
|
+
class Warning
|
|
33558
|
+
include Google::Apis::Core::Hashable
|
|
33559
|
+
|
|
33560
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
33561
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
33562
|
+
# Corresponds to the JSON property `code`
|
|
33563
|
+
# @return [String]
|
|
33564
|
+
attr_accessor :code
|
|
33565
|
+
|
|
33566
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
|
33567
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
33568
|
+
# Corresponds to the JSON property `data`
|
|
33569
|
+
# @return [Array<Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Datum>]
|
|
33570
|
+
attr_accessor :data
|
|
33571
|
+
|
|
33572
|
+
# [Output Only] A human-readable description of the warning code.
|
|
33573
|
+
# Corresponds to the JSON property `message`
|
|
33574
|
+
# @return [String]
|
|
33575
|
+
attr_accessor :message
|
|
33576
|
+
|
|
33577
|
+
def initialize(**args)
|
|
33578
|
+
update!(**args)
|
|
33579
|
+
end
|
|
33580
|
+
|
|
33581
|
+
# Update properties of this object
|
|
33582
|
+
def update!(**args)
|
|
33583
|
+
@code = args[:code] if args.key?(:code)
|
|
33584
|
+
@data = args[:data] if args.key?(:data)
|
|
33585
|
+
@message = args[:message] if args.key?(:message)
|
|
33586
|
+
end
|
|
33587
|
+
|
|
33588
|
+
#
|
|
33589
|
+
class Datum
|
|
33590
|
+
include Google::Apis::Core::Hashable
|
|
33591
|
+
|
|
33592
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
33593
|
+
# For example, for warnings where there are no results in a list request for a
|
|
33594
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
33595
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
33596
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
33597
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
33598
|
+
# for IP forwarding).
|
|
33599
|
+
# Corresponds to the JSON property `key`
|
|
33600
|
+
# @return [String]
|
|
33601
|
+
attr_accessor :key
|
|
33602
|
+
|
|
33603
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
33604
|
+
# Corresponds to the JSON property `value`
|
|
33605
|
+
# @return [String]
|
|
33606
|
+
attr_accessor :value
|
|
33607
|
+
|
|
33608
|
+
def initialize(**args)
|
|
33609
|
+
update!(**args)
|
|
33610
|
+
end
|
|
33611
|
+
|
|
33612
|
+
# Update properties of this object
|
|
33613
|
+
def update!(**args)
|
|
33614
|
+
@key = args[:key] if args.key?(:key)
|
|
33615
|
+
@value = args[:value] if args.key?(:value)
|
|
33616
|
+
end
|
|
33617
|
+
end
|
|
33618
|
+
end
|
|
33619
|
+
end
|
|
33620
|
+
|
|
33376
33621
|
# Queuing parameters for the requested deferred capacity.
|
|
33377
33622
|
class QueuingPolicy
|
|
33378
33623
|
include Google::Apis::Core::Hashable
|
|
@@ -34005,14 +34250,9 @@ module Google
|
|
|
34005
34250
|
class RegionDisksStopAsyncReplicationRequest
|
|
34006
34251
|
include Google::Apis::Core::Hashable
|
|
34007
34252
|
|
|
34008
|
-
# The secondary disk to stop asynchronous replication to.
|
|
34009
|
-
#
|
|
34010
|
-
#
|
|
34011
|
-
# following are valid values: - https://www.googleapis.com/compute/v1/projects/
|
|
34012
|
-
# project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/
|
|
34013
|
-
# projects/project/regions/region /disks/disk - projects/project/zones/zone/
|
|
34014
|
-
# disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/
|
|
34015
|
-
# disk - regions/region/disks/disk
|
|
34253
|
+
# [Deprecated] The secondary disk to stop asynchronous replication to. This
|
|
34254
|
+
# field will not be included in the beta or v1 APIs and will be removed from the
|
|
34255
|
+
# alpha API in the near future.
|
|
34016
34256
|
# Corresponds to the JSON property `asyncSecondaryDisk`
|
|
34017
34257
|
# @return [String]
|
|
34018
34258
|
attr_accessor :async_secondary_disk
|
|
@@ -35929,8 +36169,8 @@ module Google
|
|
|
35929
36169
|
# @return [Fixnum]
|
|
35930
36170
|
attr_accessor :amount
|
|
35931
36171
|
|
|
35932
|
-
# Type of resource for which this commitment applies. Possible values are VCPU
|
|
35933
|
-
# and
|
|
36172
|
+
# Type of resource for which this commitment applies. Possible values are VCPU,
|
|
36173
|
+
# MEMORY, LOCAL_SSD, and ACCELERATOR.
|
|
35934
36174
|
# Corresponds to the JSON property `type`
|
|
35935
36175
|
# @return [String]
|
|
35936
36176
|
attr_accessor :type
|
|
@@ -41049,6 +41289,14 @@ module Google
|
|
|
41049
41289
|
# @return [String]
|
|
41050
41290
|
attr_accessor :enforce_on_key
|
|
41051
41291
|
|
|
41292
|
+
# If specified, any combination of values of enforce_on_key_type/
|
|
41293
|
+
# enforce_on_key_name is treated as the key on which ratelimit threshold/action
|
|
41294
|
+
# is enforced. You can specify up to 3 enforce_on_key_configs. If
|
|
41295
|
+
# enforce_on_key_configs is specified, enforce_on_key must not be specified.
|
|
41296
|
+
# Corresponds to the JSON property `enforceOnKeyConfigs`
|
|
41297
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig>]
|
|
41298
|
+
attr_accessor :enforce_on_key_configs
|
|
41299
|
+
|
|
41052
41300
|
# Rate limit key name applicable only for the following key types: HTTP_HEADER --
|
|
41053
41301
|
# Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE --
|
|
41054
41302
|
# Name of the HTTP cookie whose value is taken as the key value.
|
|
@@ -41091,6 +41339,7 @@ module Google
|
|
|
41091
41339
|
@ban_threshold = args[:ban_threshold] if args.key?(:ban_threshold)
|
|
41092
41340
|
@conform_action = args[:conform_action] if args.key?(:conform_action)
|
|
41093
41341
|
@enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
|
|
41342
|
+
@enforce_on_key_configs = args[:enforce_on_key_configs] if args.key?(:enforce_on_key_configs)
|
|
41094
41343
|
@enforce_on_key_name = args[:enforce_on_key_name] if args.key?(:enforce_on_key_name)
|
|
41095
41344
|
@exceed_action = args[:exceed_action] if args.key?(:exceed_action)
|
|
41096
41345
|
@exceed_action_rpc_status = args[:exceed_action_rpc_status] if args.key?(:exceed_action_rpc_status)
|
|
@@ -41099,6 +41348,51 @@ module Google
|
|
|
41099
41348
|
end
|
|
41100
41349
|
end
|
|
41101
41350
|
|
|
41351
|
+
#
|
|
41352
|
+
class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
|
|
41353
|
+
include Google::Apis::Core::Hashable
|
|
41354
|
+
|
|
41355
|
+
# Rate limit key name applicable only for the following key types: HTTP_HEADER --
|
|
41356
|
+
# Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE --
|
|
41357
|
+
# Name of the HTTP cookie whose value is taken as the key value.
|
|
41358
|
+
# Corresponds to the JSON property `enforceOnKeyName`
|
|
41359
|
+
# @return [String]
|
|
41360
|
+
attr_accessor :enforce_on_key_name
|
|
41361
|
+
|
|
41362
|
+
# Determines the key to enforce the rate_limit_threshold on. Possible values are:
|
|
41363
|
+
# - ALL: A single rate limit threshold is applied to all the requests matching
|
|
41364
|
+
# this rule. This is the default value if "enforceOnKeyConfigs" is not
|
|
41365
|
+
# configured. - IP: The source IP address of the request is the key. Each IP has
|
|
41366
|
+
# this limit enforced separately. - HTTP_HEADER: The value of the HTTP header
|
|
41367
|
+
# whose name is configured under "enforceOnKeyName". The key value is truncated
|
|
41368
|
+
# to the first 128 bytes of the header value. If no such header is present in
|
|
41369
|
+
# the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e.
|
|
41370
|
+
# the originating client IP address) specified in the list of IPs under X-
|
|
41371
|
+
# Forwarded-For HTTP header. If no such header is present or the value is not a
|
|
41372
|
+
# valid IP, the key defaults to the source IP address of the request i.e. key
|
|
41373
|
+
# type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured
|
|
41374
|
+
# under "enforceOnKeyName". The key value is truncated to the first 128 bytes of
|
|
41375
|
+
# the cookie value. If no such cookie is present in the request, the key type
|
|
41376
|
+
# defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value
|
|
41377
|
+
# is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
|
|
41378
|
+
# session of the HTTPS request. The key value is truncated to the first 128
|
|
41379
|
+
# bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
|
|
41380
|
+
# country/region from which the request originates.
|
|
41381
|
+
# Corresponds to the JSON property `enforceOnKeyType`
|
|
41382
|
+
# @return [String]
|
|
41383
|
+
attr_accessor :enforce_on_key_type
|
|
41384
|
+
|
|
41385
|
+
def initialize(**args)
|
|
41386
|
+
update!(**args)
|
|
41387
|
+
end
|
|
41388
|
+
|
|
41389
|
+
# Update properties of this object
|
|
41390
|
+
def update!(**args)
|
|
41391
|
+
@enforce_on_key_name = args[:enforce_on_key_name] if args.key?(:enforce_on_key_name)
|
|
41392
|
+
@enforce_on_key_type = args[:enforce_on_key_type] if args.key?(:enforce_on_key_type)
|
|
41393
|
+
end
|
|
41394
|
+
end
|
|
41395
|
+
|
|
41102
41396
|
# Simplified google.rpc.Status type (omitting details).
|
|
41103
41397
|
class SecurityPolicyRuleRateLimitOptionsRpcStatus
|
|
41104
41398
|
include Google::Apis::Core::Hashable
|
|
@@ -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.55.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20221206"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -4246,6 +4246,42 @@ module Google
|
|
|
4246
4246
|
include Google::Apis::Core::JsonObjectSupport
|
|
4247
4247
|
end
|
|
4248
4248
|
|
|
4249
|
+
class QueuedResourcesAggregatedList
|
|
4250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4251
|
+
|
|
4252
|
+
class Warning
|
|
4253
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4254
|
+
|
|
4255
|
+
class Datum
|
|
4256
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4257
|
+
|
|
4258
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4259
|
+
end
|
|
4260
|
+
|
|
4261
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4262
|
+
end
|
|
4263
|
+
|
|
4264
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4265
|
+
end
|
|
4266
|
+
|
|
4267
|
+
class QueuedResourcesScopedList
|
|
4268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4269
|
+
|
|
4270
|
+
class Warning
|
|
4271
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4272
|
+
|
|
4273
|
+
class Datum
|
|
4274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4275
|
+
|
|
4276
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4277
|
+
end
|
|
4278
|
+
|
|
4279
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4280
|
+
end
|
|
4281
|
+
|
|
4282
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4283
|
+
end
|
|
4284
|
+
|
|
4249
4285
|
class QueuingPolicy
|
|
4250
4286
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4251
4287
|
|
|
@@ -5356,6 +5392,12 @@ module Google
|
|
|
5356
5392
|
include Google::Apis::Core::JsonObjectSupport
|
|
5357
5393
|
end
|
|
5358
5394
|
|
|
5395
|
+
class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
|
|
5396
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5397
|
+
|
|
5398
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5399
|
+
end
|
|
5400
|
+
|
|
5359
5401
|
class SecurityPolicyRuleRateLimitOptionsRpcStatus
|
|
5360
5402
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5361
5403
|
|
|
@@ -7122,6 +7164,7 @@ module Google
|
|
|
7122
7164
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
|
7123
7165
|
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
|
7124
7166
|
property :numa_node_count, as: 'numaNodeCount'
|
|
7167
|
+
property :performance_monitoring_unit, as: 'performanceMonitoringUnit'
|
|
7125
7168
|
property :threads_per_core, as: 'threadsPerCore'
|
|
7126
7169
|
property :visible_core_count, as: 'visibleCoreCount'
|
|
7127
7170
|
end
|
|
@@ -7854,6 +7897,7 @@ module Google
|
|
|
7854
7897
|
property :enable, as: 'enable'
|
|
7855
7898
|
property :optional, as: 'optional'
|
|
7856
7899
|
collection :optional_fields, as: 'optionalFields'
|
|
7900
|
+
property :optional_mode, as: 'optionalMode'
|
|
7857
7901
|
property :sample_rate, as: 'sampleRate'
|
|
7858
7902
|
end
|
|
7859
7903
|
end
|
|
@@ -9067,6 +9111,7 @@ module Google
|
|
|
9067
9111
|
property :allow_global_access, as: 'allowGlobalAccess'
|
|
9068
9112
|
property :allow_psc_global_access, as: 'allowPscGlobalAccess'
|
|
9069
9113
|
property :backend_service, as: 'backendService'
|
|
9114
|
+
property :base_forwarding_rule, as: 'baseForwardingRule'
|
|
9070
9115
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
9071
9116
|
property :description, as: 'description'
|
|
9072
9117
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
@@ -10580,6 +10625,7 @@ module Google
|
|
|
10580
10625
|
class InstanceGroupManagerInstanceLifecyclePolicy
|
|
10581
10626
|
# @private
|
|
10582
10627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10628
|
+
property :default_action_on_failure, as: 'defaultActionOnFailure'
|
|
10583
10629
|
property :force_update_on_repair, as: 'forceUpdateOnRepair'
|
|
10584
10630
|
property :metadata_based_readiness_signal, as: 'metadataBasedReadinessSignal', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignal::Representation
|
|
10585
10631
|
|
|
@@ -11743,7 +11789,6 @@ module Google
|
|
|
11743
11789
|
property :bgp_md5, as: 'bgpMd5'
|
|
11744
11790
|
collection :bgp_peer_asn_ranges, as: 'bgpPeerAsnRanges', class: Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange, decorator: Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange::Representation
|
|
11745
11791
|
|
|
11746
|
-
property :network_connectivity_center, as: 'networkConnectivityCenter'
|
|
11747
11792
|
end
|
|
11748
11793
|
end
|
|
11749
11794
|
|
|
@@ -14035,7 +14080,6 @@ module Google
|
|
|
14035
14080
|
property :id, :numeric_string => true, as: 'id'
|
|
14036
14081
|
property :insert_time, as: 'insertTime'
|
|
14037
14082
|
property :kind, as: 'kind'
|
|
14038
|
-
hash :metadata, as: 'metadata'
|
|
14039
14083
|
property :name, as: 'name'
|
|
14040
14084
|
property :operation_group_id, as: 'operationGroupId'
|
|
14041
14085
|
property :operation_type, as: 'operationType'
|
|
@@ -14939,6 +14983,67 @@ module Google
|
|
|
14939
14983
|
end
|
|
14940
14984
|
end
|
|
14941
14985
|
|
|
14986
|
+
class QueuedResourcesAggregatedList
|
|
14987
|
+
# @private
|
|
14988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14989
|
+
property :id, as: 'id'
|
|
14990
|
+
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList, decorator: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Representation
|
|
14991
|
+
|
|
14992
|
+
property :kind, as: 'kind'
|
|
14993
|
+
property :next_page_token, as: 'nextPageToken'
|
|
14994
|
+
property :self_link, as: 'selfLink'
|
|
14995
|
+
collection :unreachables, as: 'unreachables'
|
|
14996
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Representation
|
|
14997
|
+
|
|
14998
|
+
end
|
|
14999
|
+
|
|
15000
|
+
class Warning
|
|
15001
|
+
# @private
|
|
15002
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15003
|
+
property :code, as: 'code'
|
|
15004
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Warning::Datum::Representation
|
|
15005
|
+
|
|
15006
|
+
property :message, as: 'message'
|
|
15007
|
+
end
|
|
15008
|
+
|
|
15009
|
+
class Datum
|
|
15010
|
+
# @private
|
|
15011
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15012
|
+
property :key, as: 'key'
|
|
15013
|
+
property :value, as: 'value'
|
|
15014
|
+
end
|
|
15015
|
+
end
|
|
15016
|
+
end
|
|
15017
|
+
end
|
|
15018
|
+
|
|
15019
|
+
class QueuedResourcesScopedList
|
|
15020
|
+
# @private
|
|
15021
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15022
|
+
collection :queued_resources, as: 'queuedResources', class: Google::Apis::ComputeAlpha::QueuedResource, decorator: Google::Apis::ComputeAlpha::QueuedResource::Representation
|
|
15023
|
+
|
|
15024
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Representation
|
|
15025
|
+
|
|
15026
|
+
end
|
|
15027
|
+
|
|
15028
|
+
class Warning
|
|
15029
|
+
# @private
|
|
15030
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15031
|
+
property :code, as: 'code'
|
|
15032
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::QueuedResourcesScopedList::Warning::Datum::Representation
|
|
15033
|
+
|
|
15034
|
+
property :message, as: 'message'
|
|
15035
|
+
end
|
|
15036
|
+
|
|
15037
|
+
class Datum
|
|
15038
|
+
# @private
|
|
15039
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15040
|
+
property :key, as: 'key'
|
|
15041
|
+
property :value, as: 'value'
|
|
15042
|
+
end
|
|
15043
|
+
end
|
|
15044
|
+
end
|
|
15045
|
+
end
|
|
15046
|
+
|
|
14942
15047
|
class QueuingPolicy
|
|
14943
15048
|
# @private
|
|
14944
15049
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -16919,6 +17024,8 @@ module Google
|
|
|
16919
17024
|
|
|
16920
17025
|
property :conform_action, as: 'conformAction'
|
|
16921
17026
|
property :enforce_on_key, as: 'enforceOnKey'
|
|
17027
|
+
collection :enforce_on_key_configs, as: 'enforceOnKeyConfigs', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig::Representation
|
|
17028
|
+
|
|
16922
17029
|
property :enforce_on_key_name, as: 'enforceOnKeyName'
|
|
16923
17030
|
property :exceed_action, as: 'exceedAction'
|
|
16924
17031
|
property :exceed_action_rpc_status, as: 'exceedActionRpcStatus', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsRpcStatus, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsRpcStatus::Representation
|
|
@@ -16930,6 +17037,14 @@ module Google
|
|
|
16930
17037
|
end
|
|
16931
17038
|
end
|
|
16932
17039
|
|
|
17040
|
+
class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
|
|
17041
|
+
# @private
|
|
17042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17043
|
+
property :enforce_on_key_name, as: 'enforceOnKeyName'
|
|
17044
|
+
property :enforce_on_key_type, as: 'enforceOnKeyType'
|
|
17045
|
+
end
|
|
17046
|
+
end
|
|
17047
|
+
|
|
16933
17048
|
class SecurityPolicyRuleRateLimitOptionsRpcStatus
|
|
16934
17049
|
# @private
|
|
16935
17050
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -15125,6 +15125,9 @@ module Google
|
|
|
15125
15125
|
# second request. This prevents clients from accidentally creating duplicate
|
|
15126
15126
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
|
15127
15127
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
15128
|
+
# @param [Boolean] with_extended_notifications
|
|
15129
|
+
# Determines whether the customers receive notifications before migration. Only
|
|
15130
|
+
# applicable to SF vms.
|
|
15128
15131
|
# @param [String] fields
|
|
15129
15132
|
# Selector specifying which fields to include in a partial response.
|
|
15130
15133
|
# @param [String] quota_user
|
|
@@ -15144,7 +15147,7 @@ module Google
|
|
|
15144
15147
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15145
15148
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15146
15149
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15147
|
-
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15150
|
+
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, with_extended_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15148
15151
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
|
15149
15152
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
15150
15153
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
@@ -15152,6 +15155,7 @@ module Google
|
|
|
15152
15155
|
command.params['zone'] = zone unless zone.nil?
|
|
15153
15156
|
command.params['instance'] = instance unless instance.nil?
|
|
15154
15157
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
15158
|
+
command.query['withExtendedNotifications'] = with_extended_notifications unless with_extended_notifications.nil?
|
|
15155
15159
|
command.query['fields'] = fields unless fields.nil?
|
|
15156
15160
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15157
15161
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -15276,7 +15280,7 @@ module Google
|
|
|
15276
15280
|
# Name of the instance resource to stop.
|
|
15277
15281
|
# @param [Boolean] discard_local_ssd
|
|
15278
15282
|
# If true, discard the contents of any attached localSSD partitions. Default
|
|
15279
|
-
# value is false
|
|
15283
|
+
# value is false.
|
|
15280
15284
|
# @param [String] request_id
|
|
15281
15285
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
15282
15286
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -15336,7 +15340,7 @@ module Google
|
|
|
15336
15340
|
# Name of the instance resource to suspend.
|
|
15337
15341
|
# @param [Boolean] discard_local_ssd
|
|
15338
15342
|
# If true, discard the contents of any attached localSSD partitions. Default
|
|
15339
|
-
# value is false
|
|
15343
|
+
# value is false.
|
|
15340
15344
|
# @param [String] request_id
|
|
15341
15345
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
15342
15346
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -17242,7 +17246,7 @@ module Google
|
|
|
17242
17246
|
execute_or_queue_command(command, &block)
|
|
17243
17247
|
end
|
|
17244
17248
|
|
|
17245
|
-
# Deletes the specified
|
|
17249
|
+
# Deletes the specified Interconnect.
|
|
17246
17250
|
# @param [String] project
|
|
17247
17251
|
# Project ID for this request.
|
|
17248
17252
|
# @param [String] interconnect
|
|
@@ -17289,7 +17293,7 @@ module Google
|
|
|
17289
17293
|
execute_or_queue_command(command, &block)
|
|
17290
17294
|
end
|
|
17291
17295
|
|
|
17292
|
-
# Returns the specified
|
|
17296
|
+
# Returns the specified Interconnect. Get a list of available Interconnects by
|
|
17293
17297
|
# making a list() request.
|
|
17294
17298
|
# @param [String] project
|
|
17295
17299
|
# Project ID for this request.
|
|
@@ -17326,7 +17330,7 @@ module Google
|
|
|
17326
17330
|
execute_or_queue_command(command, &block)
|
|
17327
17331
|
end
|
|
17328
17332
|
|
|
17329
|
-
# Returns the interconnectDiagnostics for the specified
|
|
17333
|
+
# Returns the interconnectDiagnostics for the specified Interconnect.
|
|
17330
17334
|
# @param [String] project
|
|
17331
17335
|
# Project ID for this request.
|
|
17332
17336
|
# @param [String] interconnect
|
|
@@ -17402,7 +17406,7 @@ module Google
|
|
|
17402
17406
|
execute_or_queue_command(command, &block)
|
|
17403
17407
|
end
|
|
17404
17408
|
|
|
17405
|
-
# Returns the interconnectMacsecConfig for the specified
|
|
17409
|
+
# Returns the interconnectMacsecConfig for the specified Interconnect.
|
|
17406
17410
|
# @param [String] project
|
|
17407
17411
|
# Project ID for this request.
|
|
17408
17412
|
# @param [String] interconnect
|
|
@@ -17438,8 +17442,8 @@ module Google
|
|
|
17438
17442
|
execute_or_queue_command(command, &block)
|
|
17439
17443
|
end
|
|
17440
17444
|
|
|
17441
|
-
# Creates
|
|
17442
|
-
# request.
|
|
17445
|
+
# Creates an Interconnect in the specified project using the data included in
|
|
17446
|
+
# the request.
|
|
17443
17447
|
# @param [String] project
|
|
17444
17448
|
# Project ID for this request.
|
|
17445
17449
|
# @param [Google::Apis::ComputeAlpha::Interconnect] interconnect_object
|
|
@@ -17486,7 +17490,7 @@ module Google
|
|
|
17486
17490
|
execute_or_queue_command(command, &block)
|
|
17487
17491
|
end
|
|
17488
17492
|
|
|
17489
|
-
# Retrieves the list of
|
|
17493
|
+
# Retrieves the list of Interconnects available to the specified project.
|
|
17490
17494
|
# @param [String] project
|
|
17491
17495
|
# Project ID for this request.
|
|
17492
17496
|
# @param [String] filter
|
|
@@ -17574,7 +17578,7 @@ module Google
|
|
|
17574
17578
|
execute_or_queue_command(command, &block)
|
|
17575
17579
|
end
|
|
17576
17580
|
|
|
17577
|
-
# Updates the specified
|
|
17581
|
+
# Updates the specified Interconnect with the data included in the request. This
|
|
17578
17582
|
# method supports PATCH semantics and uses the JSON merge patch format and
|
|
17579
17583
|
# processing rules.
|
|
17580
17584
|
# @param [String] project
|
|
@@ -37450,6 +37454,62 @@ module Google
|
|
|
37450
37454
|
execute_or_queue_command(command, &block)
|
|
37451
37455
|
end
|
|
37452
37456
|
|
|
37457
|
+
# Modify the specified resource policy.
|
|
37458
|
+
# @param [String] project
|
|
37459
|
+
# Project ID for this request.
|
|
37460
|
+
# @param [String] region
|
|
37461
|
+
# Name of the region for this request.
|
|
37462
|
+
# @param [String] resource_policy
|
|
37463
|
+
# Id of the resource policy to patch.
|
|
37464
|
+
# @param [Google::Apis::ComputeAlpha::ResourcePolicy] resource_policy_object
|
|
37465
|
+
# @param [String] request_id
|
|
37466
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
37467
|
+
# that if you must retry your request, the server will know to ignore the
|
|
37468
|
+
# request if it has already been completed. For example, consider a situation
|
|
37469
|
+
# where you make an initial request and the request times out. If you make the
|
|
37470
|
+
# request again with the same request ID, the server can check if original
|
|
37471
|
+
# operation with the same request ID was received, and if so, will ignore the
|
|
37472
|
+
# second request. This prevents clients from accidentally creating duplicate
|
|
37473
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
|
37474
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
37475
|
+
# @param [String] update_mask
|
|
37476
|
+
# update_mask indicates fields to be updated as part of this request.
|
|
37477
|
+
# @param [String] fields
|
|
37478
|
+
# Selector specifying which fields to include in a partial response.
|
|
37479
|
+
# @param [String] quota_user
|
|
37480
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
37481
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
37482
|
+
# @param [String] user_ip
|
|
37483
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
37484
|
+
# @param [Google::Apis::RequestOptions] options
|
|
37485
|
+
# Request-specific options
|
|
37486
|
+
#
|
|
37487
|
+
# @yield [result, err] Result & error if block supplied
|
|
37488
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
37489
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
37490
|
+
#
|
|
37491
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
37492
|
+
#
|
|
37493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
37494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
37495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
37496
|
+
def patch_resource_policy(project, region, resource_policy, resource_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
37497
|
+
command = make_simple_command(:patch, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
|
|
37498
|
+
command.request_representation = Google::Apis::ComputeAlpha::ResourcePolicy::Representation
|
|
37499
|
+
command.request_object = resource_policy_object
|
|
37500
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
37501
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
37502
|
+
command.params['project'] = project unless project.nil?
|
|
37503
|
+
command.params['region'] = region unless region.nil?
|
|
37504
|
+
command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
|
|
37505
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
37506
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
37507
|
+
command.query['fields'] = fields unless fields.nil?
|
|
37508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
37509
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
37510
|
+
execute_or_queue_command(command, &block)
|
|
37511
|
+
end
|
|
37512
|
+
|
|
37453
37513
|
# Sets the access control policy on the specified resource. Replaces any
|
|
37454
37514
|
# existing policy.
|
|
37455
37515
|
# @param [String] project
|
|
@@ -47177,6 +47237,103 @@ module Google
|
|
|
47177
47237
|
execute_or_queue_command(command, &block)
|
|
47178
47238
|
end
|
|
47179
47239
|
|
|
47240
|
+
# Retrieves an aggregated list of all of the queued resources in a project
|
|
47241
|
+
# across all zones.
|
|
47242
|
+
# @param [String] project
|
|
47243
|
+
# Project ID for this request.
|
|
47244
|
+
# @param [String] filter
|
|
47245
|
+
# A filter expression that filters resources listed in the response. Most
|
|
47246
|
+
# Compute resources support two types of filter expressions: expressions that
|
|
47247
|
+
# support regular expressions and expressions that follow API improvement
|
|
47248
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
|
47249
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
|
47250
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
|
47251
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
|
47252
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
|
47253
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
|
47254
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
|
47255
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
|
47256
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
|
47257
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
|
47258
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
|
47259
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
|
47260
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
|
47261
|
+
# provide each separate expression within parentheses. For example: ``` (
|
|
47262
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
|
47263
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
|
47264
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
|
47265
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
47266
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
|
47267
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
|
47268
|
+
# expression with or without quotes or against multiple parenthesized
|
|
47269
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
|
47270
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
|
47271
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
|
47272
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
|
47273
|
+
# match the entire field. For example, to filter for instances that do not end
|
|
47274
|
+
# with name "instance", you would use `name ne .*instance`.
|
|
47275
|
+
# @param [Boolean] include_all_scopes
|
|
47276
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
47277
|
+
# global) should be included in the response. For new resource types added after
|
|
47278
|
+
# this field, the flag has no effect as new resource types will always include
|
|
47279
|
+
# every visible scope for each scope type in response. For resource types which
|
|
47280
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
|
47281
|
+
# types where the resource type is expected to be found will be included.
|
|
47282
|
+
# @param [Fixnum] max_results
|
|
47283
|
+
# The maximum number of results per page that should be returned. If the number
|
|
47284
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
47285
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
|
47286
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
47287
|
+
# @param [String] order_by
|
|
47288
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
47289
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
47290
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
47291
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
47292
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
47293
|
+
# resources like operations so that the newest operation is returned first.
|
|
47294
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
47295
|
+
# @param [String] page_token
|
|
47296
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
47297
|
+
# by a previous list request to get the next page of results.
|
|
47298
|
+
# @param [Boolean] return_partial_success
|
|
47299
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
47300
|
+
# failure. The default value is false.
|
|
47301
|
+
# @param [String] fields
|
|
47302
|
+
# Selector specifying which fields to include in a partial response.
|
|
47303
|
+
# @param [String] quota_user
|
|
47304
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
47305
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
47306
|
+
# @param [String] user_ip
|
|
47307
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
47308
|
+
# @param [Google::Apis::RequestOptions] options
|
|
47309
|
+
# Request-specific options
|
|
47310
|
+
#
|
|
47311
|
+
# @yield [result, err] Result & error if block supplied
|
|
47312
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList] parsed result object
|
|
47313
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
47314
|
+
#
|
|
47315
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList]
|
|
47316
|
+
#
|
|
47317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
47318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
47319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
47320
|
+
def aggregated_zone_queued_resource_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
47321
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/queuedResources', options)
|
|
47322
|
+
command.response_representation = Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList::Representation
|
|
47323
|
+
command.response_class = Google::Apis::ComputeAlpha::QueuedResourcesAggregatedList
|
|
47324
|
+
command.params['project'] = project unless project.nil?
|
|
47325
|
+
command.query['filter'] = filter unless filter.nil?
|
|
47326
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
|
47327
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
47328
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
47329
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
47330
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
47331
|
+
command.query['fields'] = fields unless fields.nil?
|
|
47332
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
47333
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
47334
|
+
execute_or_queue_command(command, &block)
|
|
47335
|
+
end
|
|
47336
|
+
|
|
47180
47337
|
# Cancels a QueuedResource. Only a resource in ACCEPTED state may be cancelled.
|
|
47181
47338
|
# @param [String] project
|
|
47182
47339
|
# Project ID for this request.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-compute_alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.55.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:
|
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.55.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|