google-api-client 0.45.1 → 0.46.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 +61 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +5 -5
- data/generated/google/apis/apigee_v1/service.rb +21 -19
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +38 -18
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +513 -131
- data/generated/google/apis/compute_alpha/representations.rb +124 -8
- data/generated/google/apis/compute_alpha/service.rb +1685 -762
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +491 -83
- data/generated/google/apis/compute_beta/representations.rb +96 -1
- data/generated/google/apis/compute_beta/service.rb +802 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +308 -45
- data/generated/google/apis/compute_v1/representations.rb +54 -1
- data/generated/google/apis/compute_v1/service.rb +736 -130
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +87 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +45 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +45 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +87 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +45 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -7
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -15
- data/generated/google/apis/apigateway_v1alpha1.rb +0 -34
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
- data/generated/google/apis/apigateway_v1alpha2.rb +0 -34
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +0 -633
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +0 -250
- data/generated/google/apis/apigateway_v1alpha2/service.rb +0 -623
- data/generated/google/apis/appsactivity_v1.rb +0 -34
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
26
26
|
module CloudidentityV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200927'
|
29
29
|
|
30
30
|
# See your device details
|
31
31
|
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'
|
@@ -1883,6 +1883,9 @@ module Google
|
|
1883
1883
|
include Google::Apis::Core::Hashable
|
1884
1884
|
|
1885
1885
|
# Each edge contains information about the member that belongs to this group.
|
1886
|
+
# Note: Fields returned here will help identify the specific Membership resource
|
1887
|
+
# (e.g name, preferred_member_key and role), but may not be a comprehensive list
|
1888
|
+
# of all fields.
|
1886
1889
|
# Corresponds to the JSON property `edges`
|
1887
1890
|
# @return [Array<Google::Apis::CloudidentityV1beta1::Membership>]
|
1888
1891
|
attr_accessor :edges
|
@@ -992,7 +992,10 @@ module Google
|
|
992
992
|
execute_or_queue_command(command, &block)
|
993
993
|
end
|
994
994
|
|
995
|
-
# Check a potential member for membership in a group.
|
995
|
+
# Check a potential member for membership in a group. A member has membership to
|
996
|
+
# a group as long as there is a single viewable transitive membership between
|
997
|
+
# the group and the member. The actor must have view permissions to at least one
|
998
|
+
# transitive membership between the member and group.
|
996
999
|
# @param [String] parent
|
997
1000
|
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
998
1001
|
# group to check the transitive membership in. Format: `groups/`group_id``,
|
@@ -1000,8 +1003,10 @@ module Google
|
|
1000
1003
|
# Membership belongs to.
|
1001
1004
|
# @param [String] query
|
1002
1005
|
# Required. A CEL expression that MUST include member specification. This is a `
|
1003
|
-
# required` field.
|
1004
|
-
# member_key_namespace
|
1006
|
+
# required` field. Certain groups are uniquely identified by both a '
|
1007
|
+
# member_key_id' and a 'member_key_namespace', which requires an additional
|
1008
|
+
# query input: 'member_key_namespace'. Example query: `member_key_id == '
|
1009
|
+
# member_key_id_value'`
|
1005
1010
|
# @param [String] fields
|
1006
1011
|
# Selector specifying which fields to include in a partial response.
|
1007
1012
|
# @param [String] quota_user
|
@@ -1128,7 +1133,10 @@ module Google
|
|
1128
1133
|
execute_or_queue_command(command, &block)
|
1129
1134
|
end
|
1130
1135
|
|
1131
|
-
# Get a membership graph of a member or member
|
1136
|
+
# Get a membership graph of just a member or both a member and a group. Given a
|
1137
|
+
# member, the response will contain all membership paths from the member. Given
|
1138
|
+
# both a group and a member, the response will contain all membership paths
|
1139
|
+
# between the group and the member.
|
1132
1140
|
# @param [String] parent
|
1133
1141
|
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
1134
1142
|
# of the group to search transitive memberships in. Format: `groups/`group_id``,
|
@@ -1140,8 +1148,10 @@ module Google
|
|
1140
1148
|
# returned.
|
1141
1149
|
# @param [String] query
|
1142
1150
|
# Required. A CEL expression that MUST include member specification AND label(s).
|
1143
|
-
#
|
1144
|
-
# member_key_namespace
|
1151
|
+
# Certain groups are uniquely identified by both a 'member_key_id' and a '
|
1152
|
+
# member_key_namespace', which requires an additional query input: '
|
1153
|
+
# member_key_namespace'. Example query: `member_key_id == 'member_key_id_value' &
|
1154
|
+
# & in labels`
|
1145
1155
|
# @param [String] fields
|
1146
1156
|
# Selector specifying which fields to include in a partial response.
|
1147
1157
|
# @param [String] quota_user
|
@@ -1296,7 +1306,9 @@ module Google
|
|
1296
1306
|
execute_or_queue_command(command, &block)
|
1297
1307
|
end
|
1298
1308
|
|
1299
|
-
# Search transitive groups of a member.
|
1309
|
+
# Search transitive groups of a member. A transitive group is any group that has
|
1310
|
+
# a direct or indirect membership to the member. Actor must have view
|
1311
|
+
# permissions all transitive groups.
|
1300
1312
|
# @param [String] parent
|
1301
1313
|
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
1302
1314
|
# group to search transitive memberships in. Format: `groups/`group_id``, where `
|
@@ -1309,9 +1321,10 @@ module Google
|
|
1309
1321
|
# @param [String] query
|
1310
1322
|
# Required. A CEL expression that MUST include member specification AND label(s).
|
1311
1323
|
# This is a `required` field. Users can search on label attributes of groups.
|
1312
|
-
# CONTAINS match ('in') is supported on labels.
|
1313
|
-
#
|
1314
|
-
#
|
1324
|
+
# CONTAINS match ('in') is supported on labels. Certain groups are uniquely
|
1325
|
+
# identified by both a 'member_key_id' and a 'member_key_namespace', which
|
1326
|
+
# requires an additional query input: 'member_key_namespace'. Example query: `
|
1327
|
+
# member_key_id == 'member_key_id_value' && in labels`
|
1315
1328
|
# @param [String] fields
|
1316
1329
|
# Selector specifying which fields to include in a partial response.
|
1317
1330
|
# @param [String] quota_user
|
@@ -1342,7 +1355,9 @@ module Google
|
|
1342
1355
|
execute_or_queue_command(command, &block)
|
1343
1356
|
end
|
1344
1357
|
|
1345
|
-
# Search transitive memberships of a group.
|
1358
|
+
# Search transitive memberships of a group. A transitive membership is any
|
1359
|
+
# direct or indirect membership of a group. Actor must have view permissions to
|
1360
|
+
# all transitive memberships.
|
1346
1361
|
# @param [String] parent
|
1347
1362
|
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
1348
1363
|
# group to search transitive memberships in. Format: `groups/`group_id``, where `
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200922'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -682,7 +682,8 @@ module Google
|
|
682
682
|
attr_accessor :cloud_sql_ipv4_cidr_block
|
683
683
|
|
684
684
|
# Optional. If `true`, a Private IP Cloud Composer environment is created. If
|
685
|
-
# this field is true, `use_ip_aliases` must be
|
685
|
+
# this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
|
686
|
+
# true.
|
686
687
|
# Corresponds to the JSON property `enablePrivateEnvironment`
|
687
688
|
# @return [Boolean]
|
688
689
|
attr_accessor :enable_private_environment
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200901'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1195,13 +1195,6 @@ module Google
|
|
1195
1195
|
# @return [Fixnum]
|
1196
1196
|
attr_accessor :maintenance_freeze_duration_hours
|
1197
1197
|
|
1198
|
-
# Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic"
|
1199
|
-
# designates this VM as a Stable Fleet VM.
|
1200
|
-
# See go/stable-fleet-ug for more details.
|
1201
|
-
# Corresponds to the JSON property `maintenanceInterval`
|
1202
|
-
# @return [String]
|
1203
|
-
attr_accessor :maintenance_interval
|
1204
|
-
|
1205
1198
|
# Minimum cpu platform the reservation.
|
1206
1199
|
# Corresponds to the JSON property `minCpuPlatform`
|
1207
1200
|
# @return [String]
|
@@ -1218,7 +1211,6 @@ module Google
|
|
1218
1211
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
1219
1212
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1220
1213
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
1221
|
-
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
1222
1214
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
1223
1215
|
end
|
1224
1216
|
end
|
@@ -2379,11 +2371,12 @@ module Google
|
|
2379
2371
|
|
2380
2372
|
# Indicates which method of prediction is used for CPU utilization metric, if
|
2381
2373
|
# any. Current set of possible values: * NONE: No predictions are made based on
|
2382
|
-
# the scaling metric when calculating the number of VM instances. *
|
2383
|
-
# Standard predictive autoscaling predicts the future
|
2384
|
-
# metric and then scales a MIG to ensure that new VM
|
2385
|
-
# to cover the predicted peak. New values might be
|
2386
|
-
# the values might not be available in all API
|
2374
|
+
# the scaling metric when calculating the number of VM instances. *
|
2375
|
+
# OPTIMIZE_AVAILABILITY: Standard predictive autoscaling predicts the future
|
2376
|
+
# values of the scaling metric and then scales a MIG to ensure that new VM
|
2377
|
+
# instances are ready in time to cover the predicted peak. New values might be
|
2378
|
+
# added in the future. Some of the values might not be available in all API
|
2379
|
+
# versions.
|
2387
2380
|
# Corresponds to the JSON property `predictiveMethod`
|
2388
2381
|
# @return [String]
|
2389
2382
|
attr_accessor :predictive_method
|
@@ -2942,12 +2935,12 @@ module Google
|
|
2942
2935
|
|
2943
2936
|
# Specifies the default TTL for cached content served by this origin for
|
2944
2937
|
# responses that do not have an existing valid TTL (max-age or s-max-age).
|
2945
|
-
# Setting a TTL of "0" means "always revalidate"
|
2946
|
-
#
|
2947
|
-
#
|
2948
|
-
#
|
2949
|
-
#
|
2950
|
-
#
|
2938
|
+
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
2939
|
+
# be set to a value greater than that of maxTTL, but can be equal. When the
|
2940
|
+
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
2941
|
+
# in all responses. The maximum allowed value is 31,622,400s (1 year), noting
|
2942
|
+
# that infrequently accessed objects may be evicted from the cache before the
|
2943
|
+
# defined TTL.
|
2951
2944
|
# Corresponds to the JSON property `defaultTtl`
|
2952
2945
|
# @return [Fixnum]
|
2953
2946
|
attr_accessor :default_ttl
|
@@ -2956,10 +2949,10 @@ module Google
|
|
2956
2949
|
# Cache directives that attempt to set a max-age or s-maxage higher than this,
|
2957
2950
|
# or an Expires header more than maxTTL seconds in the future will be capped at
|
2958
2951
|
# the value of maxTTL, as if it were the value of an s-maxage Cache-Control
|
2959
|
-
# directive.
|
2960
|
-
#
|
2961
|
-
#
|
2962
|
-
#
|
2952
|
+
# directive. Headers sent to the client will not be modified. Setting a TTL of "
|
2953
|
+
# 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
|
2954
|
+
# , noting that infrequently accessed objects may be evicted from the cache
|
2955
|
+
# before the defined TTL.
|
2963
2956
|
# Corresponds to the JSON property `maxTtl`
|
2964
2957
|
# @return [Fixnum]
|
2965
2958
|
attr_accessor :max_ttl
|
@@ -2970,8 +2963,8 @@ module Google
|
|
2970
2963
|
# default, Cloud CDN will apply the following default TTLs to these status codes:
|
2971
2964
|
# HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not
|
2972
2965
|
# Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method
|
2973
|
-
# Not Found),
|
2974
|
-
# be overridden in negative_caching_policy
|
2966
|
+
# Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These
|
2967
|
+
# defaults can be overridden in negative_caching_policy
|
2975
2968
|
# Corresponds to the JSON property `negativeCaching`
|
2976
2969
|
# @return [Boolean]
|
2977
2970
|
attr_accessor :negative_caching
|
@@ -3001,7 +2994,7 @@ module Google
|
|
3001
2994
|
# configured here will not be served. The default limit (max-stale) is 86400s (1
|
3002
2995
|
# day), which will allow stale content to be served up to this limit beyond the
|
3003
2996
|
# max-age (or s-max-age) of a cached response. The maximum allowed value is
|
3004
|
-
# 604800(1 week). Set this to zero (0) to disable serve-while-stale.
|
2997
|
+
# 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
|
3005
2998
|
# Corresponds to the JSON property `serveWhileStale`
|
3006
2999
|
# @return [Fixnum]
|
3007
3000
|
attr_accessor :serve_while_stale
|
@@ -3069,17 +3062,15 @@ module Google
|
|
3069
3062
|
include Google::Apis::Core::Hashable
|
3070
3063
|
|
3071
3064
|
# The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
|
3072
|
-
# 308, 404, 405, 410,
|
3065
|
+
# 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you
|
3073
3066
|
# cannot specify a status code more than once.
|
3074
3067
|
# Corresponds to the JSON property `code`
|
3075
3068
|
# @return [Fixnum]
|
3076
3069
|
attr_accessor :code
|
3077
3070
|
|
3078
3071
|
# The TTL (in seconds) to cache responses with the corresponding status code for.
|
3079
|
-
#
|
3080
|
-
#
|
3081
|
-
# that infrequently accessed objects may be evicted from the cache before the
|
3082
|
-
# defined TTL.
|
3072
|
+
# The maximum allowed value is 1800s (30 minutes), noting that infrequently
|
3073
|
+
# accessed objects may be evicted from the cache before the defined TTL.
|
3083
3074
|
# Corresponds to the JSON property `ttl`
|
3084
3075
|
# @return [Fixnum]
|
3085
3076
|
attr_accessor :ttl
|
@@ -3228,6 +3219,9 @@ module Google
|
|
3228
3219
|
class BackendService
|
3229
3220
|
include Google::Apis::Core::Hashable
|
3230
3221
|
|
3222
|
+
# Lifetime of cookies in seconds. Only applicable if the loadBalancingScheme is
|
3223
|
+
# EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the protocol is HTTP or
|
3224
|
+
# HTTPS, and the sessionAffinity is GENERATED_COOKIE, or HTTP_COOKIE.
|
3231
3225
|
# If set to 0, the cookie is non-persistent and lasts only until the end of the
|
3232
3226
|
# browser session (or equivalent). The maximum allowed value is one day (86,400).
|
3233
3227
|
# Not supported when the backend service is referenced by a URL map that is
|
@@ -3485,6 +3479,11 @@ module Google
|
|
3485
3479
|
# @return [String]
|
3486
3480
|
attr_accessor :session_affinity
|
3487
3481
|
|
3482
|
+
# Subsetting options to make L4 ILB support any number of backend instances
|
3483
|
+
# Corresponds to the JSON property `subsetting`
|
3484
|
+
# @return [Google::Apis::ComputeAlpha::Subsetting]
|
3485
|
+
attr_accessor :subsetting
|
3486
|
+
|
3488
3487
|
# The backend service timeout has a different meaning depending on the type of
|
3489
3488
|
# load balancer. For more information see, Backend service settings The default
|
3490
3489
|
# is 30 seconds.
|
@@ -3530,6 +3529,7 @@ module Google
|
|
3530
3529
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3531
3530
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
3532
3531
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3532
|
+
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3533
3533
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
3534
3534
|
end
|
3535
3535
|
end
|
@@ -3689,12 +3689,12 @@ module Google
|
|
3689
3689
|
|
3690
3690
|
# Specifies the default TTL for cached content served by this origin for
|
3691
3691
|
# responses that do not have an existing valid TTL (max-age or s-max-age).
|
3692
|
-
# Setting a TTL of "0" means "always revalidate"
|
3693
|
-
#
|
3694
|
-
#
|
3695
|
-
#
|
3696
|
-
#
|
3697
|
-
#
|
3692
|
+
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
3693
|
+
# be set to a value greater than that of maxTTL, but can be equal. When the
|
3694
|
+
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
3695
|
+
# in all responses. The maximum allowed value is 31,622,400s (1 year), noting
|
3696
|
+
# that infrequently accessed objects may be evicted from the cache before the
|
3697
|
+
# defined TTL.
|
3698
3698
|
# Corresponds to the JSON property `defaultTtl`
|
3699
3699
|
# @return [Fixnum]
|
3700
3700
|
attr_accessor :default_ttl
|
@@ -3703,10 +3703,10 @@ module Google
|
|
3703
3703
|
# Cache directives that attempt to set a max-age or s-maxage higher than this,
|
3704
3704
|
# or an Expires header more than maxTTL seconds in the future will be capped at
|
3705
3705
|
# the value of maxTTL, as if it were the value of an s-maxage Cache-Control
|
3706
|
-
# directive.
|
3707
|
-
#
|
3708
|
-
#
|
3709
|
-
#
|
3706
|
+
# directive. Headers sent to the client will not be modified. Setting a TTL of "
|
3707
|
+
# 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
|
3708
|
+
# , noting that infrequently accessed objects may be evicted from the cache
|
3709
|
+
# before the defined TTL.
|
3710
3710
|
# Corresponds to the JSON property `maxTtl`
|
3711
3711
|
# @return [Fixnum]
|
3712
3712
|
attr_accessor :max_ttl
|
@@ -3717,8 +3717,8 @@ module Google
|
|
3717
3717
|
# default, Cloud CDN will apply the following default TTLs to these status codes:
|
3718
3718
|
# HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not
|
3719
3719
|
# Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method
|
3720
|
-
# Not Found),
|
3721
|
-
# be overridden in negative_caching_policy
|
3720
|
+
# Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These
|
3721
|
+
# defaults can be overridden in negative_caching_policy
|
3722
3722
|
# Corresponds to the JSON property `negativeCaching`
|
3723
3723
|
# @return [Boolean]
|
3724
3724
|
attr_accessor :negative_caching
|
@@ -3748,7 +3748,7 @@ module Google
|
|
3748
3748
|
# configured here will not be served. The default limit (max-stale) is 86400s (1
|
3749
3749
|
# day), which will allow stale content to be served up to this limit beyond the
|
3750
3750
|
# max-age (or s-max-age) of a cached response. The maximum allowed value is
|
3751
|
-
# 604800(1 week). Set this to zero (0) to disable serve-while-stale.
|
3751
|
+
# 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
|
3752
3752
|
# Corresponds to the JSON property `serveWhileStale`
|
3753
3753
|
# @return [Fixnum]
|
3754
3754
|
attr_accessor :serve_while_stale
|
@@ -3817,17 +3817,15 @@ module Google
|
|
3817
3817
|
include Google::Apis::Core::Hashable
|
3818
3818
|
|
3819
3819
|
# The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
|
3820
|
-
# 308, 404, 405, 410,
|
3820
|
+
# 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you
|
3821
3821
|
# cannot specify a status code more than once.
|
3822
3822
|
# Corresponds to the JSON property `code`
|
3823
3823
|
# @return [Fixnum]
|
3824
3824
|
attr_accessor :code
|
3825
3825
|
|
3826
3826
|
# The TTL (in seconds) to cache responses with the corresponding status code for.
|
3827
|
-
#
|
3828
|
-
#
|
3829
|
-
# that infrequently accessed objects may be evicted from the cache before the
|
3830
|
-
# defined TTL.
|
3827
|
+
# The maximum allowed value is 1800s (30 minutes), noting that infrequently
|
3828
|
+
# accessed objects may be evicted from the cache before the defined TTL.
|
3831
3829
|
# Corresponds to the JSON property `ttl`
|
3832
3830
|
# @return [Fixnum]
|
3833
3831
|
attr_accessor :ttl
|
@@ -4544,6 +4542,12 @@ module Google
|
|
4544
4542
|
class Binding
|
4545
4543
|
include Google::Apis::Core::Hashable
|
4546
4544
|
|
4545
|
+
# A client-specified ID for this binding. Expected to be globally unique to
|
4546
|
+
# support the internal bindings-by-ID API.
|
4547
|
+
# Corresponds to the JSON property `bindingId`
|
4548
|
+
# @return [String]
|
4549
|
+
attr_accessor :binding_id
|
4550
|
+
|
4547
4551
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
4548
4552
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
4549
4553
|
# documented at https://github.com/google/cel-spec.
|
@@ -4614,6 +4618,7 @@ module Google
|
|
4614
4618
|
|
4615
4619
|
# Update properties of this object
|
4616
4620
|
def update!(**args)
|
4621
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
4617
4622
|
@condition = args[:condition] if args.key?(:condition)
|
4618
4623
|
@members = args[:members] if args.key?(:members)
|
4619
4624
|
@role = args[:role] if args.key?(:role)
|
@@ -5940,11 +5945,11 @@ module Google
|
|
5940
5945
|
# @return [Array<String>]
|
5941
5946
|
attr_accessor :resource_policies
|
5942
5947
|
|
5943
|
-
# [Output Only]
|
5944
|
-
# Corresponds to the JSON property `
|
5948
|
+
# [Output Only] Reserved for future use.
|
5949
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
5945
5950
|
# @return [Boolean]
|
5946
|
-
attr_accessor :
|
5947
|
-
alias_method :
|
5951
|
+
attr_accessor :satisfies_pzs
|
5952
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
5948
5953
|
|
5949
5954
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
5950
5955
|
# Corresponds to the JSON property `selfLink`
|
@@ -6153,7 +6158,7 @@ module Google
|
|
6153
6158
|
@region = args[:region] if args.key?(:region)
|
6154
6159
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
6155
6160
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
6156
|
-
@
|
6161
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
6157
6162
|
@self_link = args[:self_link] if args.key?(:self_link)
|
6158
6163
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
6159
6164
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
@@ -8773,9 +8778,9 @@ module Google
|
|
8773
8778
|
attr_accessor :name
|
8774
8779
|
|
8775
8780
|
# This field is not used for external load balancing.
|
8776
|
-
# For
|
8777
|
-
#
|
8778
|
-
#
|
8781
|
+
# For internal load balancing, this field identifies the network that the load
|
8782
|
+
# balanced IP should belong to for this Forwarding Rule. If this field is not
|
8783
|
+
# specified, the default network will be used.
|
8779
8784
|
# Corresponds to the JSON property `network`
|
8780
8785
|
# @return [String]
|
8781
8786
|
attr_accessor :network
|
@@ -8869,7 +8874,7 @@ module Google
|
|
8869
8874
|
# @return [String]
|
8870
8875
|
attr_accessor :service_name
|
8871
8876
|
|
8872
|
-
# This field is only used for
|
8877
|
+
# This field is only used for internal load balancing.
|
8873
8878
|
# For internal load balancing, this field identifies the subnetwork that the
|
8874
8879
|
# load balanced IP should belong to for this Forwarding Rule.
|
8875
8880
|
# If the network specified is in auto subnet mode, this field is optional.
|
@@ -11027,6 +11032,13 @@ module Google
|
|
11027
11032
|
# For matching against the HTTP request's authority, use a headerMatch with the
|
11028
11033
|
# header name ":authority".
|
11029
11034
|
# For matching a request's method, use the headerName ":method".
|
11035
|
+
# When the URL map is bound to target gRPC proxy that has validateForProxyless
|
11036
|
+
# field set to true, only non-binary user-specified custom metadata and the `
|
11037
|
+
# content-type` header are supported. The following transport-level headers
|
11038
|
+
# cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:
|
11039
|
+
# scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-
|
11040
|
+
# encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `
|
11041
|
+
# grpc-timeout` and `grpc-trace-bin.
|
11030
11042
|
# Corresponds to the JSON property `headerName`
|
11031
11043
|
# @return [String]
|
11032
11044
|
attr_accessor :header_name
|
@@ -11602,10 +11614,10 @@ module Google
|
|
11602
11614
|
# A list of weighted backend services to send traffic to when a route match
|
11603
11615
|
# occurs. The weights determine the fraction of traffic that flows to their
|
11604
11616
|
# corresponding backend service. If all traffic needs to go to a single backend
|
11605
|
-
# service, there must be one weightedBackendService with weight set to a non
|
11606
|
-
# number.
|
11617
|
+
# service, there must be one weightedBackendService with weight set to a non-
|
11618
|
+
# zero number.
|
11607
11619
|
# Once a backendService is identified and before forwarding the request to the
|
11608
|
-
# backend service, advanced routing actions
|
11620
|
+
# backend service, advanced routing actions such as URL rewrites and header
|
11609
11621
|
# transformations are applied depending on additional settings specified in this
|
11610
11622
|
# HttpRouteAction.
|
11611
11623
|
# Corresponds to the JSON property `weightedBackendServices`
|
@@ -11649,6 +11661,8 @@ module Google
|
|
11649
11661
|
# enabled by Traffic Director. httpFilterConfigs only applies for Loadbalancers
|
11650
11662
|
# with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for
|
11651
11663
|
# more details.
|
11664
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
11665
|
+
# validateForProxyless field set to true.
|
11652
11666
|
# Corresponds to the JSON property `httpFilterConfigs`
|
11653
11667
|
# @return [Array<Google::Apis::ComputeAlpha::HttpFilterConfig>]
|
11654
11668
|
attr_accessor :http_filter_configs
|
@@ -11658,6 +11672,8 @@ module Google
|
|
11658
11672
|
# Loadbalancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See
|
11659
11673
|
# ForwardingRule for more details.
|
11660
11674
|
# The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct
|
11675
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
11676
|
+
# validateForProxyless field set to true.
|
11661
11677
|
# Corresponds to the JSON property `httpFilterMetadata`
|
11662
11678
|
# @return [Array<Google::Apis::ComputeAlpha::HttpFilterConfig>]
|
11663
11679
|
attr_accessor :http_filter_metadata
|
@@ -11758,6 +11774,7 @@ module Google
|
|
11758
11774
|
# Specifies that prefixMatch and fullPathMatch matches are case sensitive.
|
11759
11775
|
# The default value is false.
|
11760
11776
|
# ignoreCase must not be used with regexMatch.
|
11777
|
+
# Not supported when the URL map is bound to target gRPC proxy.
|
11761
11778
|
# Corresponds to the JSON property `ignoreCase`
|
11762
11779
|
# @return [Boolean]
|
11763
11780
|
attr_accessor :ignore_case
|
@@ -11777,6 +11794,8 @@ module Google
|
|
11777
11794
|
# ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to.
|
11778
11795
|
# metadataFilters only applies to Loadbalancers that have their
|
11779
11796
|
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
11797
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
11798
|
+
# validateForProxyless field set to true.
|
11780
11799
|
# Corresponds to the JSON property `metadataFilters`
|
11781
11800
|
# @return [Array<Google::Apis::ComputeAlpha::MetadataFilter>]
|
11782
11801
|
attr_accessor :metadata_filters
|
@@ -11791,6 +11810,7 @@ module Google
|
|
11791
11810
|
|
11792
11811
|
# Specifies a list of query parameter match criteria, all of which must match
|
11793
11812
|
# corresponding query parameters in the request.
|
11813
|
+
# Not supported when the URL map is bound to target gRPC proxy.
|
11794
11814
|
# Corresponds to the JSON property `queryParameterMatches`
|
11795
11815
|
# @return [Array<Google::Apis::ComputeAlpha::HttpQueryParameterMatch>]
|
11796
11816
|
attr_accessor :query_parameter_matches
|
@@ -12965,7 +12985,7 @@ module Google
|
|
12965
12985
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
12966
12986
|
attr_accessor :network_interfaces
|
12967
12987
|
|
12968
|
-
#
|
12988
|
+
# PostKeyRevocationActionType of the instance.
|
12969
12989
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
12970
12990
|
# @return [String]
|
12971
12991
|
attr_accessor :post_key_revocation_action_type
|
@@ -12991,17 +13011,23 @@ module Google
|
|
12991
13011
|
# @return [Array<String>]
|
12992
13012
|
attr_accessor :resource_policies
|
12993
13013
|
|
12994
|
-
# [Output Only]
|
12995
|
-
# Corresponds to the JSON property `
|
13014
|
+
# [Output Only] Reserved for future use.
|
13015
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
12996
13016
|
# @return [Boolean]
|
12997
|
-
attr_accessor :
|
12998
|
-
alias_method :
|
13017
|
+
attr_accessor :satisfies_pzs
|
13018
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
12999
13019
|
|
13000
|
-
# Sets the scheduling options for an Instance. NextID:
|
13020
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
13001
13021
|
# Corresponds to the JSON property `scheduling`
|
13002
13022
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
13003
13023
|
attr_accessor :scheduling
|
13004
13024
|
|
13025
|
+
# Secure labels to apply to this instance. These can be later modified by the
|
13026
|
+
# update method. Maximum number of secure labels allowed is 300.
|
13027
|
+
# Corresponds to the JSON property `secureLabels`
|
13028
|
+
# @return [Array<String>]
|
13029
|
+
attr_accessor :secure_labels
|
13030
|
+
|
13005
13031
|
# [Output Only] Server-defined URL for this resource.
|
13006
13032
|
# Corresponds to the JSON property `selfLink`
|
13007
13033
|
# @return [String]
|
@@ -13126,8 +13152,9 @@ module Google
|
|
13126
13152
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
13127
13153
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
13128
13154
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
13129
|
-
@
|
13155
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
13130
13156
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
13157
|
+
@secure_labels = args[:secure_labels] if args.key?(:secure_labels)
|
13131
13158
|
@self_link = args[:self_link] if args.key?(:self_link)
|
13132
13159
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
13133
13160
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
@@ -15826,7 +15853,7 @@ module Google
|
|
15826
15853
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
15827
15854
|
attr_accessor :network_interfaces
|
15828
15855
|
|
15829
|
-
#
|
15856
|
+
# PostKeyRevocationActionType of the instance.
|
15830
15857
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
15831
15858
|
# @return [String]
|
15832
15859
|
attr_accessor :post_key_revocation_action_type
|
@@ -15848,7 +15875,7 @@ module Google
|
|
15848
15875
|
# @return [Array<String>]
|
15849
15876
|
attr_accessor :resource_policies
|
15850
15877
|
|
15851
|
-
# Sets the scheduling options for an Instance. NextID:
|
15878
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
15852
15879
|
# Corresponds to the JSON property `scheduling`
|
15853
15880
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
15854
15881
|
attr_accessor :scheduling
|
@@ -16551,6 +16578,267 @@ module Google
|
|
16551
16578
|
end
|
16552
16579
|
end
|
16553
16580
|
|
16581
|
+
# Represents a InstantSnapshot resource.
|
16582
|
+
# You can use instant snapshots to create disk rollback points quickly.. (==
|
16583
|
+
# resource_for `$api_version`.instantSnapshots ==)
|
16584
|
+
class InstantSnapshot
|
16585
|
+
include Google::Apis::Core::Hashable
|
16586
|
+
|
16587
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
16588
|
+
# Corresponds to the JSON property `creationTimestamp`
|
16589
|
+
# @return [String]
|
16590
|
+
attr_accessor :creation_timestamp
|
16591
|
+
|
16592
|
+
# An optional description of this resource. Provide this property when you
|
16593
|
+
# create the resource.
|
16594
|
+
# Corresponds to the JSON property `description`
|
16595
|
+
# @return [String]
|
16596
|
+
attr_accessor :description
|
16597
|
+
|
16598
|
+
# [Output Only] Size of the source disk, specified in GB.
|
16599
|
+
# Corresponds to the JSON property `diskSizeGb`
|
16600
|
+
# @return [Fixnum]
|
16601
|
+
attr_accessor :disk_size_gb
|
16602
|
+
|
16603
|
+
# Whether to attempt an application consistent instant snapshot by informing the
|
16604
|
+
# OS to prepare for the snapshot process. Currently only supported on Windows
|
16605
|
+
# instances using the Volume Shadow Copy Service (VSS).
|
16606
|
+
# Corresponds to the JSON property `guestFlush`
|
16607
|
+
# @return [Boolean]
|
16608
|
+
attr_accessor :guest_flush
|
16609
|
+
alias_method :guest_flush?, :guest_flush
|
16610
|
+
|
16611
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
16612
|
+
# defined by the server.
|
16613
|
+
# Corresponds to the JSON property `id`
|
16614
|
+
# @return [Fixnum]
|
16615
|
+
attr_accessor :id
|
16616
|
+
|
16617
|
+
# [Output Only] Type of the resource. Always compute#instantSnapshot for
|
16618
|
+
# InstantSnapshot resources.
|
16619
|
+
# Corresponds to the JSON property `kind`
|
16620
|
+
# @return [String]
|
16621
|
+
attr_accessor :kind
|
16622
|
+
|
16623
|
+
# A fingerprint for the labels being applied to this InstantSnapshot, which is
|
16624
|
+
# essentially a hash of the labels set used for optimistic locking. The
|
16625
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
16626
|
+
# request to modify or update labels. You must always provide an up-to-date
|
16627
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
16628
|
+
# will fail with error 412 conditionNotMet.
|
16629
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
16630
|
+
# InstantSnapshot.
|
16631
|
+
# Corresponds to the JSON property `labelFingerprint`
|
16632
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
16633
|
+
# @return [String]
|
16634
|
+
attr_accessor :label_fingerprint
|
16635
|
+
|
16636
|
+
# Labels to apply to this InstantSnapshot. These can be later modified by the
|
16637
|
+
# setLabels method. Label values may be empty.
|
16638
|
+
# Corresponds to the JSON property `labels`
|
16639
|
+
# @return [Hash<String,String>]
|
16640
|
+
attr_accessor :labels
|
16641
|
+
|
16642
|
+
# Name of the resource; provided by the client when the resource is created. The
|
16643
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
16644
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
16645
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
16646
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
16647
|
+
# except the last character, which cannot be a dash.
|
16648
|
+
# Corresponds to the JSON property `name`
|
16649
|
+
# @return [String]
|
16650
|
+
attr_accessor :name
|
16651
|
+
|
16652
|
+
# [Output Only] URL of the region where the instant snapshot resides. You must
|
16653
|
+
# specify this field as part of the HTTP request URL. It is not settable as a
|
16654
|
+
# field in the request body.
|
16655
|
+
# Corresponds to the JSON property `region`
|
16656
|
+
# @return [String]
|
16657
|
+
attr_accessor :region
|
16658
|
+
|
16659
|
+
# [Output Only] Server-defined URL for the resource.
|
16660
|
+
# Corresponds to the JSON property `selfLink`
|
16661
|
+
# @return [String]
|
16662
|
+
attr_accessor :self_link
|
16663
|
+
|
16664
|
+
# [Output Only] Server-defined URL for this resource's resource id.
|
16665
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
16666
|
+
# @return [String]
|
16667
|
+
attr_accessor :self_link_with_id
|
16668
|
+
|
16669
|
+
# URL of the source disk used to create this instant snapshot. Note that the
|
16670
|
+
# source disk must be in the same zone/region as the instant snapshot to be
|
16671
|
+
# created. This can be a full or valid partial URL. For example, the following
|
16672
|
+
# are valid values:
|
16673
|
+
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
16674
|
+
# - projects/project/zones/zone/disks/disk
|
16675
|
+
# - zones/zone/disks/disk
|
16676
|
+
# Corresponds to the JSON property `sourceDisk`
|
16677
|
+
# @return [String]
|
16678
|
+
attr_accessor :source_disk
|
16679
|
+
|
16680
|
+
# [Output Only] The ID value of the disk used to create this InstantSnapshot.
|
16681
|
+
# This value may be used to determine whether the InstantSnapshot was taken from
|
16682
|
+
# the current or a previous instance of a given disk name.
|
16683
|
+
# Corresponds to the JSON property `sourceDiskId`
|
16684
|
+
# @return [String]
|
16685
|
+
attr_accessor :source_disk_id
|
16686
|
+
|
16687
|
+
# [Output Only] The status of the instantSnapshot. This can be CREATING,
|
16688
|
+
# DELETING, FAILED, or READY.
|
16689
|
+
# Corresponds to the JSON property `status`
|
16690
|
+
# @return [String]
|
16691
|
+
attr_accessor :status
|
16692
|
+
|
16693
|
+
# [Output Only] URL of the zone where the instant snapshot resides. You must
|
16694
|
+
# specify this field as part of the HTTP request URL. It is not settable as a
|
16695
|
+
# field in the request body.
|
16696
|
+
# Corresponds to the JSON property `zone`
|
16697
|
+
# @return [String]
|
16698
|
+
attr_accessor :zone
|
16699
|
+
|
16700
|
+
def initialize(**args)
|
16701
|
+
update!(**args)
|
16702
|
+
end
|
16703
|
+
|
16704
|
+
# Update properties of this object
|
16705
|
+
def update!(**args)
|
16706
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
16707
|
+
@description = args[:description] if args.key?(:description)
|
16708
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
16709
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
16710
|
+
@id = args[:id] if args.key?(:id)
|
16711
|
+
@kind = args[:kind] if args.key?(:kind)
|
16712
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
16713
|
+
@labels = args[:labels] if args.key?(:labels)
|
16714
|
+
@name = args[:name] if args.key?(:name)
|
16715
|
+
@region = args[:region] if args.key?(:region)
|
16716
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
16717
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
16718
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
16719
|
+
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
16720
|
+
@status = args[:status] if args.key?(:status)
|
16721
|
+
@zone = args[:zone] if args.key?(:zone)
|
16722
|
+
end
|
16723
|
+
end
|
16724
|
+
|
16725
|
+
# Contains a list of InstantSnapshot resources.
|
16726
|
+
class InstantSnapshotList
|
16727
|
+
include Google::Apis::Core::Hashable
|
16728
|
+
|
16729
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
16730
|
+
# Corresponds to the JSON property `id`
|
16731
|
+
# @return [String]
|
16732
|
+
attr_accessor :id
|
16733
|
+
|
16734
|
+
# A list of InstantSnapshot resources.
|
16735
|
+
# Corresponds to the JSON property `items`
|
16736
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstantSnapshot>]
|
16737
|
+
attr_accessor :items
|
16738
|
+
|
16739
|
+
# Type of resource.
|
16740
|
+
# Corresponds to the JSON property `kind`
|
16741
|
+
# @return [String]
|
16742
|
+
attr_accessor :kind
|
16743
|
+
|
16744
|
+
# [Output Only] This token allows you to get the next page of results for list
|
16745
|
+
# requests. If the number of results is larger than maxResults, use the
|
16746
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
16747
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
16748
|
+
# continue paging through the results.
|
16749
|
+
# Corresponds to the JSON property `nextPageToken`
|
16750
|
+
# @return [String]
|
16751
|
+
attr_accessor :next_page_token
|
16752
|
+
|
16753
|
+
# [Output Only] Server-defined URL for this resource.
|
16754
|
+
# Corresponds to the JSON property `selfLink`
|
16755
|
+
# @return [String]
|
16756
|
+
attr_accessor :self_link
|
16757
|
+
|
16758
|
+
# [Output Only] Informational warning message.
|
16759
|
+
# Corresponds to the JSON property `warning`
|
16760
|
+
# @return [Google::Apis::ComputeAlpha::InstantSnapshotList::Warning]
|
16761
|
+
attr_accessor :warning
|
16762
|
+
|
16763
|
+
def initialize(**args)
|
16764
|
+
update!(**args)
|
16765
|
+
end
|
16766
|
+
|
16767
|
+
# Update properties of this object
|
16768
|
+
def update!(**args)
|
16769
|
+
@id = args[:id] if args.key?(:id)
|
16770
|
+
@items = args[:items] if args.key?(:items)
|
16771
|
+
@kind = args[:kind] if args.key?(:kind)
|
16772
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
16773
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
16774
|
+
@warning = args[:warning] if args.key?(:warning)
|
16775
|
+
end
|
16776
|
+
|
16777
|
+
# [Output Only] Informational warning message.
|
16778
|
+
class Warning
|
16779
|
+
include Google::Apis::Core::Hashable
|
16780
|
+
|
16781
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
16782
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
16783
|
+
# Corresponds to the JSON property `code`
|
16784
|
+
# @return [String]
|
16785
|
+
attr_accessor :code
|
16786
|
+
|
16787
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
16788
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
16789
|
+
# Corresponds to the JSON property `data`
|
16790
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstantSnapshotList::Warning::Datum>]
|
16791
|
+
attr_accessor :data
|
16792
|
+
|
16793
|
+
# [Output Only] A human-readable description of the warning code.
|
16794
|
+
# Corresponds to the JSON property `message`
|
16795
|
+
# @return [String]
|
16796
|
+
attr_accessor :message
|
16797
|
+
|
16798
|
+
def initialize(**args)
|
16799
|
+
update!(**args)
|
16800
|
+
end
|
16801
|
+
|
16802
|
+
# Update properties of this object
|
16803
|
+
def update!(**args)
|
16804
|
+
@code = args[:code] if args.key?(:code)
|
16805
|
+
@data = args[:data] if args.key?(:data)
|
16806
|
+
@message = args[:message] if args.key?(:message)
|
16807
|
+
end
|
16808
|
+
|
16809
|
+
#
|
16810
|
+
class Datum
|
16811
|
+
include Google::Apis::Core::Hashable
|
16812
|
+
|
16813
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
16814
|
+
# For example, for warnings where there are no results in a list request for a
|
16815
|
+
# particular zone, this key might be scope and the key value might be the zone
|
16816
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
16817
|
+
# suggested replacement, or a warning about invalid network settings (for
|
16818
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
16819
|
+
# for IP forwarding).
|
16820
|
+
# Corresponds to the JSON property `key`
|
16821
|
+
# @return [String]
|
16822
|
+
attr_accessor :key
|
16823
|
+
|
16824
|
+
# [Output Only] A warning data value corresponding to the key.
|
16825
|
+
# Corresponds to the JSON property `value`
|
16826
|
+
# @return [String]
|
16827
|
+
attr_accessor :value
|
16828
|
+
|
16829
|
+
def initialize(**args)
|
16830
|
+
update!(**args)
|
16831
|
+
end
|
16832
|
+
|
16833
|
+
# Update properties of this object
|
16834
|
+
def update!(**args)
|
16835
|
+
@key = args[:key] if args.key?(:key)
|
16836
|
+
@value = args[:value] if args.key?(:value)
|
16837
|
+
end
|
16838
|
+
end
|
16839
|
+
end
|
16840
|
+
end
|
16841
|
+
|
16554
16842
|
# HttpRouteRuleMatch criteria for field values that must stay within the
|
16555
16843
|
# specified integer range.
|
16556
16844
|
class Int64RangeMatch
|
@@ -19180,7 +19468,7 @@ module Google
|
|
19180
19468
|
# @return [String]
|
19181
19469
|
attr_accessor :description
|
19182
19470
|
|
19183
|
-
# [Input Only]
|
19471
|
+
# [Input Only] Whether to attempt an application consistent machine image by
|
19184
19472
|
# informing the OS to prepare for the snapshot process. Currently only supported
|
19185
19473
|
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
19186
19474
|
# Corresponds to the JSON property `guestFlush`
|
@@ -21482,6 +21770,15 @@ module Google
|
|
21482
21770
|
# @return [String]
|
21483
21771
|
attr_accessor :network_ip
|
21484
21772
|
|
21773
|
+
# The networking queue count for the network interface. Both Rx and Tx queues
|
21774
|
+
# will be set to this number. If it's not specified by the user, a default
|
21775
|
+
# number of queues will be assigned. For Virtio-net, each interface will get (
|
21776
|
+
# min(#vCPU, 32) / #vNIC) queues. For gVNIC, each interface will get (min(#vCPU /
|
21777
|
+
# 2, 16) / #vNIC) qeueus.
|
21778
|
+
# Corresponds to the JSON property `queueCount`
|
21779
|
+
# @return [Fixnum]
|
21780
|
+
attr_accessor :queue_count
|
21781
|
+
|
21485
21782
|
# The URL of the Subnetwork resource for this instance. If the network resource
|
21486
21783
|
# is in legacy mode, do not specify this field. If the network is in auto subnet
|
21487
21784
|
# mode, specifying the subnetwork is optional. If the network is in custom
|
@@ -21509,6 +21806,7 @@ module Google
|
|
21509
21806
|
@name = args[:name] if args.key?(:name)
|
21510
21807
|
@network = args[:network] if args.key?(:network)
|
21511
21808
|
@network_ip = args[:network_ip] if args.key?(:network_ip)
|
21809
|
+
@queue_count = args[:queue_count] if args.key?(:queue_count)
|
21512
21810
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
21513
21811
|
end
|
21514
21812
|
end
|
@@ -22394,11 +22692,11 @@ module Google
|
|
22394
22692
|
# @return [String]
|
22395
22693
|
attr_accessor :node_type
|
22396
22694
|
|
22397
|
-
# [Output Only]
|
22398
|
-
# Corresponds to the JSON property `
|
22695
|
+
# [Output Only] Reserved for future use.
|
22696
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
22399
22697
|
# @return [Boolean]
|
22400
|
-
attr_accessor :
|
22401
|
-
alias_method :
|
22698
|
+
attr_accessor :satisfies_pzs
|
22699
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
22402
22700
|
|
22403
22701
|
# Binding properties for the physical server.
|
22404
22702
|
# Corresponds to the JSON property `serverBinding`
|
@@ -22427,7 +22725,7 @@ module Google
|
|
22427
22725
|
@instances = args[:instances] if args.key?(:instances)
|
22428
22726
|
@name = args[:name] if args.key?(:name)
|
22429
22727
|
@node_type = args[:node_type] if args.key?(:node_type)
|
22430
|
-
@
|
22728
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
22431
22729
|
@server_binding = args[:server_binding] if args.key?(:server_binding)
|
22432
22730
|
@server_id = args[:server_id] if args.key?(:server_id)
|
22433
22731
|
@status = args[:status] if args.key?(:status)
|
@@ -25381,8 +25679,6 @@ module Google
|
|
25381
25679
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
25382
25680
|
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
25383
25681
|
# within a pathMatcher's defaultRouteAction.
|
25384
|
-
# Not supported when the backend service is referenced by a URL map that is
|
25385
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25386
25682
|
# Corresponds to the JSON property `defaultRouteAction`
|
25387
25683
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
25388
25684
|
attr_accessor :default_route_action
|
@@ -25405,8 +25701,6 @@ module Google
|
|
25405
25701
|
# the specified resource default_service:
|
25406
25702
|
# - compute.backendBuckets.use
|
25407
25703
|
# - compute.backendServices.use
|
25408
|
-
# pathMatchers[].defaultService is the only option available when the URL map is
|
25409
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25410
25704
|
# Corresponds to the JSON property `defaultService`
|
25411
25705
|
# @return [String]
|
25412
25706
|
attr_accessor :default_service
|
@@ -25440,8 +25734,6 @@ module Google
|
|
25440
25734
|
# For example: a pathRule with a path /a/b/c/* will match before /a/b/*
|
25441
25735
|
# irrespective of the order in which those paths appear in this list.
|
25442
25736
|
# Within a given pathMatcher, only one of pathRules or routeRules must be set.
|
25443
|
-
# Not supported when the backend service is referenced by a URL map that is
|
25444
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25445
25737
|
# Corresponds to the JSON property `pathRules`
|
25446
25738
|
# @return [Array<Google::Apis::ComputeAlpha::PathRule>]
|
25447
25739
|
attr_accessor :path_rules
|
@@ -25450,8 +25742,6 @@ module Google
|
|
25450
25742
|
# route matching and routing actions are desired. routeRules are evaluated in
|
25451
25743
|
# order of priority, from the lowest to highest number.
|
25452
25744
|
# Within a given pathMatcher, you can set only one of pathRules or routeRules.
|
25453
|
-
# Not supported when the backend service is referenced by a URL map that is
|
25454
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25455
25745
|
# Corresponds to the JSON property `routeRules`
|
25456
25746
|
# @return [Array<Google::Apis::ComputeAlpha::HttpRouteRule>]
|
25457
25747
|
attr_accessor :route_rules
|
@@ -27151,11 +27441,11 @@ module Google
|
|
27151
27441
|
# @return [String]
|
27152
27442
|
attr_accessor :status
|
27153
27443
|
|
27154
|
-
# [Output Only]
|
27155
|
-
# Corresponds to the JSON property `
|
27444
|
+
# [Output Only] Reserved for future use.
|
27445
|
+
# Corresponds to the JSON property `supportsPzs`
|
27156
27446
|
# @return [Boolean]
|
27157
|
-
attr_accessor :
|
27158
|
-
alias_method :
|
27447
|
+
attr_accessor :supports_pzs
|
27448
|
+
alias_method :supports_pzs?, :supports_pzs
|
27159
27449
|
|
27160
27450
|
# [Output Only] A list of zones available in this region, in the form of
|
27161
27451
|
# resource URLs.
|
@@ -27179,7 +27469,7 @@ module Google
|
|
27179
27469
|
@self_link = args[:self_link] if args.key?(:self_link)
|
27180
27470
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
27181
27471
|
@status = args[:status] if args.key?(:status)
|
27182
|
-
@
|
27472
|
+
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
27183
27473
|
@zones = args[:zones] if args.key?(:zones)
|
27184
27474
|
end
|
27185
27475
|
end
|
@@ -32038,7 +32328,7 @@ module Google
|
|
32038
32328
|
end
|
32039
32329
|
end
|
32040
32330
|
|
32041
|
-
# Sets the scheduling options for an Instance. NextID:
|
32331
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
32042
32332
|
class Scheduling
|
32043
32333
|
include Google::Apis::Core::Hashable
|
32044
32334
|
|
@@ -32849,10 +33139,26 @@ module Google
|
|
32849
33139
|
class SecurityPolicyRuleRateLimitOptions
|
32850
33140
|
include Google::Apis::Core::Hashable
|
32851
33141
|
|
32852
|
-
# Can only be specified if the action for the rule is "
|
33142
|
+
# Can only be specified if the action for the rule is "rate_based_ban". If
|
33143
|
+
# specified, the key will be banned for the configured 'ban_duration' when the
|
33144
|
+
# number of requests that exceed the 'rate_limit_threshold' also exceed this '
|
33145
|
+
# ban_threshold'.
|
33146
|
+
# Corresponds to the JSON property `banDurationSec`
|
33147
|
+
# @return [Fixnum]
|
33148
|
+
attr_accessor :ban_duration_sec
|
33149
|
+
|
33150
|
+
# Can only be specified if the action for the rule is "rate_based_ban". If
|
33151
|
+
# specified, the key will be banned for the configured 'ban_duration' when the
|
33152
|
+
# number of requests that exceed the 'rate_limit_threshold' also exceed this '
|
33153
|
+
# ban_threshold'.
|
33154
|
+
# Corresponds to the JSON property `banThreshold`
|
33155
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
|
33156
|
+
attr_accessor :ban_threshold
|
33157
|
+
|
33158
|
+
# Can only be specified if the action for the rule is "rate_based_ban" If
|
32853
33159
|
# specified, determines the time (in seconds) the traffic will continue to be
|
32854
33160
|
# blocked by the rate limit after the rate falls below the threshold. The
|
32855
|
-
# default value is 0 seconds.
|
33161
|
+
# default value is 0 seconds. [Deprecated] This field is deprecated.
|
32856
33162
|
# Corresponds to the JSON property `blockDuration`
|
32857
33163
|
# @return [Fixnum]
|
32858
33164
|
attr_accessor :block_duration
|
@@ -32877,7 +33183,13 @@ module Google
|
|
32877
33183
|
# @return [String]
|
32878
33184
|
attr_accessor :exceed_action
|
32879
33185
|
|
32880
|
-
#
|
33186
|
+
# Threshold at which to begin ratelimiting.
|
33187
|
+
# Corresponds to the JSON property `rateLimitThreshold`
|
33188
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
|
33189
|
+
attr_accessor :rate_limit_threshold
|
33190
|
+
|
33191
|
+
# Rate in requests per second at which to begin ratelimiting. [Deprecated] This
|
33192
|
+
# field is deprecated.
|
32881
33193
|
# Corresponds to the JSON property `thresholdRps`
|
32882
33194
|
# @return [Fixnum]
|
32883
33195
|
attr_accessor :threshold_rps
|
@@ -32888,14 +33200,42 @@ module Google
|
|
32888
33200
|
|
32889
33201
|
# Update properties of this object
|
32890
33202
|
def update!(**args)
|
33203
|
+
@ban_duration_sec = args[:ban_duration_sec] if args.key?(:ban_duration_sec)
|
33204
|
+
@ban_threshold = args[:ban_threshold] if args.key?(:ban_threshold)
|
32891
33205
|
@block_duration = args[:block_duration] if args.key?(:block_duration)
|
32892
33206
|
@conform_action = args[:conform_action] if args.key?(:conform_action)
|
32893
33207
|
@enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
|
32894
33208
|
@exceed_action = args[:exceed_action] if args.key?(:exceed_action)
|
33209
|
+
@rate_limit_threshold = args[:rate_limit_threshold] if args.key?(:rate_limit_threshold)
|
32895
33210
|
@threshold_rps = args[:threshold_rps] if args.key?(:threshold_rps)
|
32896
33211
|
end
|
32897
33212
|
end
|
32898
33213
|
|
33214
|
+
#
|
33215
|
+
class SecurityPolicyRuleRateLimitOptionsThreshold
|
33216
|
+
include Google::Apis::Core::Hashable
|
33217
|
+
|
33218
|
+
# Number of HTTP(S) requests for calculating the threshold.
|
33219
|
+
# Corresponds to the JSON property `count`
|
33220
|
+
# @return [Fixnum]
|
33221
|
+
attr_accessor :count
|
33222
|
+
|
33223
|
+
# Interval over which the threshold is computed.
|
33224
|
+
# Corresponds to the JSON property `intervalSec`
|
33225
|
+
# @return [Fixnum]
|
33226
|
+
attr_accessor :interval_sec
|
33227
|
+
|
33228
|
+
def initialize(**args)
|
33229
|
+
update!(**args)
|
33230
|
+
end
|
33231
|
+
|
33232
|
+
# Update properties of this object
|
33233
|
+
def update!(**args)
|
33234
|
+
@count = args[:count] if args.key?(:count)
|
33235
|
+
@interval_sec = args[:interval_sec] if args.key?(:interval_sec)
|
33236
|
+
end
|
33237
|
+
end
|
33238
|
+
|
32899
33239
|
# The authentication and authorization settings for a BackendService.
|
32900
33240
|
class SecuritySettings
|
32901
33241
|
include Google::Apis::Core::Hashable
|
@@ -33150,12 +33490,11 @@ module Google
|
|
33150
33490
|
# @return [String]
|
33151
33491
|
attr_accessor :name
|
33152
33492
|
|
33153
|
-
# An array of
|
33154
|
-
#
|
33155
|
-
#
|
33156
|
-
# Corresponds to the JSON property `natIpCidrRanges`
|
33493
|
+
# An array of URLs where each entry is the URL of a subnet provided by the
|
33494
|
+
# service producer to use for NAT in this service attachment.
|
33495
|
+
# Corresponds to the JSON property `natSubnets`
|
33157
33496
|
# @return [Array<String>]
|
33158
|
-
attr_accessor :
|
33497
|
+
attr_accessor :nat_subnets
|
33159
33498
|
|
33160
33499
|
# The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is
|
33161
33500
|
# serving the endpoint identified by this service attachment.
|
@@ -33188,7 +33527,7 @@ module Google
|
|
33188
33527
|
@id = args[:id] if args.key?(:id)
|
33189
33528
|
@kind = args[:kind] if args.key?(:kind)
|
33190
33529
|
@name = args[:name] if args.key?(:name)
|
33191
|
-
@
|
33530
|
+
@nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
|
33192
33531
|
@producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
|
33193
33532
|
@region = args[:region] if args.key?(:region)
|
33194
33533
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -33636,6 +33975,14 @@ module Google
|
|
33636
33975
|
# @return [Fixnum]
|
33637
33976
|
attr_accessor :download_bytes
|
33638
33977
|
|
33978
|
+
# [Input Only] Whether to attempt an application consistent snapshot by
|
33979
|
+
# informing the OS to prepare for the snapshot process. Currently only supported
|
33980
|
+
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
33981
|
+
# Corresponds to the JSON property `guestFlush`
|
33982
|
+
# @return [Boolean]
|
33983
|
+
attr_accessor :guest_flush
|
33984
|
+
alias_method :guest_flush?, :guest_flush
|
33985
|
+
|
33639
33986
|
# [Output Only] A list of features to enable on the guest operating system.
|
33640
33987
|
# Applicable only for bootable images. Read Enabling guest operating system
|
33641
33988
|
# features to see a list of available options.
|
@@ -33696,11 +34043,11 @@ module Google
|
|
33696
34043
|
# @return [String]
|
33697
34044
|
attr_accessor :name
|
33698
34045
|
|
33699
|
-
# [Output Only]
|
33700
|
-
# Corresponds to the JSON property `
|
34046
|
+
# [Output Only] Reserved for future use.
|
34047
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
33701
34048
|
# @return [Boolean]
|
33702
|
-
attr_accessor :
|
33703
|
-
alias_method :
|
34049
|
+
attr_accessor :satisfies_pzs
|
34050
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
33704
34051
|
|
33705
34052
|
# [Output Only] Server-defined URL for the resource.
|
33706
34053
|
# Corresponds to the JSON property `selfLink`
|
@@ -33726,7 +34073,7 @@ module Google
|
|
33726
34073
|
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
33727
34074
|
attr_accessor :snapshot_encryption_key
|
33728
34075
|
|
33729
|
-
#
|
34076
|
+
# The source disk used to create this snapshot.
|
33730
34077
|
# Corresponds to the JSON property `sourceDisk`
|
33731
34078
|
# @return [String]
|
33732
34079
|
attr_accessor :source_disk
|
@@ -33782,6 +34129,7 @@ module Google
|
|
33782
34129
|
@description = args[:description] if args.key?(:description)
|
33783
34130
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
33784
34131
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
34132
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
33785
34133
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
33786
34134
|
@id = args[:id] if args.key?(:id)
|
33787
34135
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -33790,7 +34138,7 @@ module Google
|
|
33790
34138
|
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
33791
34139
|
@licenses = args[:licenses] if args.key?(:licenses)
|
33792
34140
|
@name = args[:name] if args.key?(:name)
|
33793
|
-
@
|
34141
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
33794
34142
|
@self_link = args[:self_link] if args.key?(:self_link)
|
33795
34143
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
33796
34144
|
@snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
|
@@ -34043,7 +34391,7 @@ module Google
|
|
34043
34391
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
34044
34392
|
attr_accessor :network_interfaces
|
34045
34393
|
|
34046
|
-
# Sets the scheduling options for an Instance. NextID:
|
34394
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
34047
34395
|
# Corresponds to the JSON property `scheduling`
|
34048
34396
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
34049
34397
|
attr_accessor :scheduling
|
@@ -34101,9 +34449,9 @@ module Google
|
|
34101
34449
|
class SslCertificate
|
34102
34450
|
include Google::Apis::Core::Hashable
|
34103
34451
|
|
34104
|
-
# A
|
34105
|
-
# certificate chain must be no greater than 5 certs long. The
|
34106
|
-
# at least one intermediate cert.
|
34452
|
+
# A value read into memory from a certificate file. The certificate file must be
|
34453
|
+
# in PEM format. The certificate chain must be no greater than 5 certs long. The
|
34454
|
+
# chain must include at least one intermediate cert.
|
34107
34455
|
# Corresponds to the JSON property `certificate`
|
34108
34456
|
# @return [String]
|
34109
34457
|
attr_accessor :certificate
|
@@ -34151,7 +34499,8 @@ module Google
|
|
34151
34499
|
# @return [String]
|
34152
34500
|
attr_accessor :name
|
34153
34501
|
|
34154
|
-
# A write-only private key
|
34502
|
+
# A value read into memory from a write-only private key file. The private key
|
34503
|
+
# file must be in PEM format. For security, only insert requests include this
|
34155
34504
|
# field.
|
34156
34505
|
# Corresponds to the JSON property `privateKey`
|
34157
34506
|
# @return [String]
|
@@ -35742,6 +36091,25 @@ module Google
|
|
35742
36091
|
end
|
35743
36092
|
end
|
35744
36093
|
|
36094
|
+
# Subsetting options to make L4 ILB support any number of backend instances
|
36095
|
+
class Subsetting
|
36096
|
+
include Google::Apis::Core::Hashable
|
36097
|
+
|
36098
|
+
#
|
36099
|
+
# Corresponds to the JSON property `policy`
|
36100
|
+
# @return [String]
|
36101
|
+
attr_accessor :policy
|
36102
|
+
|
36103
|
+
def initialize(**args)
|
36104
|
+
update!(**args)
|
36105
|
+
end
|
36106
|
+
|
36107
|
+
# Update properties of this object
|
36108
|
+
def update!(**args)
|
36109
|
+
@policy = args[:policy] if args.key?(:policy)
|
36110
|
+
end
|
36111
|
+
end
|
36112
|
+
|
35745
36113
|
#
|
35746
36114
|
class TcpHealthCheck
|
35747
36115
|
include Google::Apis::Core::Hashable
|
@@ -36173,7 +36541,18 @@ module Google
|
|
36173
36541
|
# @return [String]
|
36174
36542
|
attr_accessor :description
|
36175
36543
|
|
36176
|
-
#
|
36544
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
36545
|
+
# This field is used in optimistic locking. This field will be ignored when
|
36546
|
+
# inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in
|
36547
|
+
# order to patch/update the TargetHttpProxy; otherwise, the request will fail
|
36548
|
+
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
|
36549
|
+
# request to retrieve the TargetHttpProxy.
|
36550
|
+
# Corresponds to the JSON property `fingerprint`
|
36551
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
36552
|
+
# @return [String]
|
36553
|
+
attr_accessor :fingerprint
|
36554
|
+
|
36555
|
+
# URLs to networkservices.HttpFilter resources enabled for xDS clients using
|
36177
36556
|
# this configuration. For example, https://networkservices.googleapis.com/
|
36178
36557
|
# v1alpha1/projects/project/locations/locationhttpFilters/httpFilter Only
|
36179
36558
|
# filters that handle outbound connection and stream events may be specified.
|
@@ -36248,6 +36627,7 @@ module Google
|
|
36248
36627
|
def update!(**args)
|
36249
36628
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
36250
36629
|
@description = args[:description] if args.key?(:description)
|
36630
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
36251
36631
|
@http_filters = args[:http_filters] if args.key?(:http_filters)
|
36252
36632
|
@id = args[:id] if args.key?(:id)
|
36253
36633
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -39077,22 +39457,23 @@ module Google
|
|
39077
39457
|
class TestFailure
|
39078
39458
|
include Google::Apis::Core::Hashable
|
39079
39459
|
|
39080
|
-
#
|
39460
|
+
# BackendService or BackendBucket returned by load balancer.
|
39081
39461
|
# Corresponds to the JSON property `actualService`
|
39082
39462
|
# @return [String]
|
39083
39463
|
attr_accessor :actual_service
|
39084
39464
|
|
39085
|
-
#
|
39465
|
+
# Expected BackendService or BackendBucket resource the given URL should be
|
39466
|
+
# mapped to.
|
39086
39467
|
# Corresponds to the JSON property `expectedService`
|
39087
39468
|
# @return [String]
|
39088
39469
|
attr_accessor :expected_service
|
39089
39470
|
|
39090
|
-
#
|
39471
|
+
# Host portion of the URL.
|
39091
39472
|
# Corresponds to the JSON property `host`
|
39092
39473
|
# @return [String]
|
39093
39474
|
attr_accessor :host
|
39094
39475
|
|
39095
|
-
#
|
39476
|
+
# Path portion including query parameters in the URL.
|
39096
39477
|
# Corresponds to the JSON property `path`
|
39097
39478
|
# @return [String]
|
39098
39479
|
attr_accessor :path
|
@@ -39382,9 +39763,8 @@ module Google
|
|
39382
39763
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
39383
39764
|
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
39384
39765
|
# within defaultRouteAction.
|
39385
|
-
# defaultRouteAction has no effect when the
|
39386
|
-
#
|
39387
|
-
# set to true.
|
39766
|
+
# defaultRouteAction has no effect when the URL map is bound to target gRPC
|
39767
|
+
# proxy that has validateForProxyless field set to true.
|
39388
39768
|
# Corresponds to the JSON property `defaultRouteAction`
|
39389
39769
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
39390
39770
|
attr_accessor :default_route_action
|
@@ -39398,9 +39778,8 @@ module Google
|
|
39398
39778
|
# specified.
|
39399
39779
|
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
39400
39780
|
# weightedBackendService must be set.
|
39401
|
-
# defaultService has no effect when the
|
39402
|
-
#
|
39403
|
-
# to true.
|
39781
|
+
# defaultService has no effect when the URL map is bound to target gRPC proxy
|
39782
|
+
# that has validateForProxyless field set to true.
|
39404
39783
|
# Corresponds to the JSON property `defaultService`
|
39405
39784
|
# @return [String]
|
39406
39785
|
attr_accessor :default_service
|
@@ -39479,8 +39858,8 @@ module Google
|
|
39479
39858
|
# The list of expected URL mapping tests. Request to update this UrlMap will
|
39480
39859
|
# succeed only if all of the test cases pass. You can specify a maximum of 100
|
39481
39860
|
# tests per UrlMap.
|
39482
|
-
# Not supported when the
|
39483
|
-
#
|
39861
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
39862
|
+
# validateForProxyless field set to true.
|
39484
39863
|
# Corresponds to the JSON property `tests`
|
39485
39864
|
# @return [Array<Google::Apis::ComputeAlpha::UrlMapTest>]
|
39486
39865
|
attr_accessor :tests
|
@@ -39661,12 +40040,13 @@ module Google
|
|
39661
40040
|
attr_accessor :description
|
39662
40041
|
|
39663
40042
|
# The expected URL that should be redirected to for the host and path being
|
39664
|
-
# tested.
|
40043
|
+
# tested. [Deprecated] This field is deprecated. Use expected_output_url instead.
|
39665
40044
|
# Corresponds to the JSON property `expectedUrlRedirect`
|
39666
40045
|
# @return [String]
|
39667
40046
|
attr_accessor :expected_url_redirect
|
39668
40047
|
|
39669
|
-
# Host portion of the URL.
|
40048
|
+
# Host portion of the URL. If headers contains a host header, then host must
|
40049
|
+
# also match the header value.
|
39670
40050
|
# Corresponds to the JSON property `host`
|
39671
40051
|
# @return [String]
|
39672
40052
|
attr_accessor :host
|
@@ -39676,7 +40056,9 @@ module Google
|
|
39676
40056
|
# @return [String]
|
39677
40057
|
attr_accessor :path
|
39678
40058
|
|
39679
|
-
# Expected BackendService resource the given URL should be
|
40059
|
+
# Expected BackendService or BackendBucket resource the given URL should be
|
40060
|
+
# mapped to.
|
40061
|
+
# service cannot be set if expectedRedirectResponseCode is set.
|
39680
40062
|
# Corresponds to the JSON property `service`
|
39681
40063
|
# @return [String]
|
39682
40064
|
attr_accessor :service
|
@@ -41968,11 +42350,11 @@ module Google
|
|
41968
42350
|
# @return [String]
|
41969
42351
|
attr_accessor :status
|
41970
42352
|
|
41971
|
-
# [Output Only]
|
41972
|
-
# Corresponds to the JSON property `
|
42353
|
+
# [Output Only] Reserved for future use.
|
42354
|
+
# Corresponds to the JSON property `supportsPzs`
|
41973
42355
|
# @return [Boolean]
|
41974
|
-
attr_accessor :
|
41975
|
-
alias_method :
|
42356
|
+
attr_accessor :supports_pzs
|
42357
|
+
alias_method :supports_pzs?, :supports_pzs
|
41976
42358
|
|
41977
42359
|
def initialize(**args)
|
41978
42360
|
update!(**args)
|
@@ -41990,7 +42372,7 @@ module Google
|
|
41990
42372
|
@region = args[:region] if args.key?(:region)
|
41991
42373
|
@self_link = args[:self_link] if args.key?(:self_link)
|
41992
42374
|
@status = args[:status] if args.key?(:status)
|
41993
|
-
@
|
42375
|
+
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
41994
42376
|
end
|
41995
42377
|
end
|
41996
42378
|
|