google-api-client 0.39.3 → 0.39.4
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 +4 -4
- data/CHANGELOG.md +25 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +142 -58
- data/generated/google/apis/compute_alpha/representations.rb +27 -0
- data/generated/google/apis/compute_alpha/service.rb +825 -668
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +171 -54
- data/generated/google/apis/compute_beta/representations.rb +47 -0
- data/generated/google/apis/compute_beta/service.rb +591 -591
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +111 -50
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1156 -0
- data/generated/google/apis/file_v1/representations.rb +381 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1156 -0
- data/generated/google/apis/file_v1beta1/representations.rb +381 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -7
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com
|
27
27
|
module FirebaseV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200513'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1313,18 +1313,8 @@ module Google
|
|
1313
1313
|
# @return [String]
|
1314
1314
|
attr_accessor :location_id
|
1315
1315
|
|
1316
|
-
#
|
1317
|
-
#
|
1318
|
-
# with Google Analytics APIs.
|
1319
|
-
# <br>
|
1320
|
-
# <br>This field is only present if the App is linked to a web stream in a
|
1321
|
-
# Google Analytics App + Web property. Learn more about this ID and Google
|
1322
|
-
# Analytics web streams in the [Analytics
|
1323
|
-
# documentation](https://support.google.com/analytics/topic/9303475).
|
1324
|
-
# <br>
|
1325
|
-
# <br>To generate a `measurementId` and link the Web App with a Google
|
1326
|
-
# Analytics web stream, call
|
1327
|
-
# [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics).
|
1316
|
+
# This field will no longer be provided here. Instead, use
|
1317
|
+
# `GetAnalyticsDetails`
|
1328
1318
|
# Corresponds to the JSON property `measurementId`
|
1329
1319
|
# @return [String]
|
1330
1320
|
attr_accessor :measurement_id
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
27
27
|
module JobsV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200506'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/memorystore/
|
27
27
|
module MemcacheV1beta2
|
28
28
|
VERSION = 'V1beta2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200512'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1255,10 +1255,13 @@ module Google
|
|
1255
1255
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1256
1256
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1257
1257
|
# custom role.
|
1258
|
-
#
|
1259
|
-
# expression that allows access to a resource
|
1260
|
-
# to `true`. A condition can add constraints
|
1261
|
-
# request, the resource, or both.
|
1258
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1259
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1260
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1261
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1262
|
+
# resources support conditions in their IAM policies, see the
|
1263
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1264
|
+
# policies).
|
1262
1265
|
# **JSON example:**
|
1263
1266
|
# `
|
1264
1267
|
# "bindings": [
|
@@ -1273,7 +1276,9 @@ module Google
|
|
1273
1276
|
# `,
|
1274
1277
|
# `
|
1275
1278
|
# "role": "roles/resourcemanager.organizationViewer",
|
1276
|
-
# "members": [
|
1279
|
+
# "members": [
|
1280
|
+
# "user:eve@example.com"
|
1281
|
+
# ],
|
1277
1282
|
# "condition": `
|
1278
1283
|
# "title": "expirable access",
|
1279
1284
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1351,6 +1356,9 @@ module Google
|
|
1351
1356
|
# the conditions in the version `3` policy are lost.
|
1352
1357
|
# If a policy does not include any conditions, operations on that policy may
|
1353
1358
|
# specify any valid version or leave the field unset.
|
1359
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1360
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1361
|
+
# policies).
|
1354
1362
|
# Corresponds to the JSON property `version`
|
1355
1363
|
# @return [Fixnum]
|
1356
1364
|
attr_accessor :version
|
@@ -1379,10 +1387,13 @@ module Google
|
|
1379
1387
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1380
1388
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1381
1389
|
# custom role.
|
1382
|
-
#
|
1383
|
-
# expression that allows access to a resource
|
1384
|
-
# to `true`. A condition can add constraints
|
1385
|
-
# request, the resource, or both.
|
1390
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1391
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1392
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1393
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1394
|
+
# resources support conditions in their IAM policies, see the
|
1395
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1396
|
+
# policies).
|
1386
1397
|
# **JSON example:**
|
1387
1398
|
# `
|
1388
1399
|
# "bindings": [
|
@@ -1397,7 +1408,9 @@ module Google
|
|
1397
1408
|
# `,
|
1398
1409
|
# `
|
1399
1410
|
# "role": "roles/resourcemanager.organizationViewer",
|
1400
|
-
# "members": [
|
1411
|
+
# "members": [
|
1412
|
+
# "user:eve@example.com"
|
1413
|
+
# ],
|
1401
1414
|
# "condition": `
|
1402
1415
|
# "title": "expirable access",
|
1403
1416
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1435,8 +1448,7 @@ module Google
|
|
1435
1448
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
1436
1449
|
# the fields in the mask will be modified. If no mask is provided, the
|
1437
1450
|
# following default mask is used:
|
1438
|
-
# paths: "bindings, etag"
|
1439
|
-
# This field is only used by Cloud IAM.
|
1451
|
+
# `paths: "bindings, etag"`
|
1440
1452
|
# Corresponds to the JSON property `updateMask`
|
1441
1453
|
# @return [String]
|
1442
1454
|
attr_accessor :update_mask
|
@@ -274,6 +274,9 @@ module Google
|
|
274
274
|
# Requests for policies with any conditional bindings must specify version 3.
|
275
275
|
# Policies without any conditional bindings may specify any valid value or
|
276
276
|
# leave the field unset.
|
277
|
+
# To learn which resources support conditions in their IAM policies, see the
|
278
|
+
# [IAM
|
279
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
277
280
|
# @param [String] fields
|
278
281
|
# Selector specifying which fields to include in a partial response.
|
279
282
|
# @param [String] quota_user
|
@@ -398,7 +401,7 @@ module Google
|
|
398
401
|
|
399
402
|
# Sets the access control policy on the specified resource. Replaces any
|
400
403
|
# existing policy.
|
401
|
-
# Can return
|
404
|
+
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
402
405
|
# @param [String] resource
|
403
406
|
# REQUIRED: The resource for which the policy is being specified.
|
404
407
|
# See the operation documentation for the appropriate value for this field.
|
@@ -434,7 +437,7 @@ module Google
|
|
434
437
|
|
435
438
|
# Returns permissions that a caller has on the specified resource.
|
436
439
|
# If the resource does not exist, this will return an empty set of
|
437
|
-
# permissions, not a NOT_FOUND error.
|
440
|
+
# permissions, not a `NOT_FOUND` error.
|
438
441
|
# Note: This operation is designed to be used for building permission-aware
|
439
442
|
# UIs and command-line tools, not for authorization checking. This operation
|
440
443
|
# may "fail open" without warning.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
26
26
|
module MlV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200513'
|
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'
|
@@ -906,13 +906,13 @@ module Google
|
|
906
906
|
# There are two feature attribution methods supported for TensorFlow models:
|
907
907
|
# integrated gradients and sampled Shapley.
|
908
908
|
# [Learn more about feature
|
909
|
-
# attributions.](/
|
909
|
+
# attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
|
910
910
|
class GoogleCloudMlV1ExplanationConfig
|
911
911
|
include Google::Apis::Core::Hashable
|
912
912
|
|
913
913
|
# Attributes credit by computing the Aumann-Shapley value taking advantage
|
914
914
|
# of the model's fully differentiable structure. Refer to this paper for
|
915
|
-
# more details:
|
915
|
+
# more details: https://arxiv.org/abs/1703.01365
|
916
916
|
# Corresponds to the JSON property `integratedGradientsAttribution`
|
917
917
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1IntegratedGradientsAttribution]
|
918
918
|
attr_accessor :integrated_gradients_attribution
|
@@ -1142,7 +1142,7 @@ module Google
|
|
1142
1142
|
|
1143
1143
|
# Attributes credit by computing the Aumann-Shapley value taking advantage
|
1144
1144
|
# of the model's fully differentiable structure. Refer to this paper for
|
1145
|
-
# more details:
|
1145
|
+
# more details: https://arxiv.org/abs/1703.01365
|
1146
1146
|
class GoogleCloudMlV1IntegratedGradientsAttribution
|
1147
1147
|
include Google::Apis::Core::Hashable
|
1148
1148
|
|
@@ -1937,6 +1937,38 @@ module Google
|
|
1937
1937
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
1938
1938
|
attr_accessor :accelerator_config
|
1939
1939
|
|
1940
|
+
# Arguments to the entrypoint command.
|
1941
|
+
# The following rules apply for container_command and container_args:
|
1942
|
+
# - If you do not supply command or args:
|
1943
|
+
# The defaults defined in the Docker image are used.
|
1944
|
+
# - If you supply a command but no args:
|
1945
|
+
# The default EntryPoint and the default Cmd defined in the Docker image
|
1946
|
+
# are ignored. Your command is run without any arguments.
|
1947
|
+
# - If you supply only args:
|
1948
|
+
# The default Entrypoint defined in the Docker image is run with the args
|
1949
|
+
# that you supplied.
|
1950
|
+
# - If you supply a command and args:
|
1951
|
+
# The default Entrypoint and the default Cmd defined in the Docker image
|
1952
|
+
# are ignored. Your command is run with your args.
|
1953
|
+
# It cannot be set if custom container image is
|
1954
|
+
# not provided.
|
1955
|
+
# Note that this field and [TrainingInput.args] are mutually exclusive, i.e.,
|
1956
|
+
# both cannot be set at the same time.
|
1957
|
+
# Corresponds to the JSON property `containerArgs`
|
1958
|
+
# @return [Array<String>]
|
1959
|
+
attr_accessor :container_args
|
1960
|
+
|
1961
|
+
# The command with which the replica's custom container is run.
|
1962
|
+
# If provided, it will override default ENTRYPOINT of the docker image.
|
1963
|
+
# If not provided, the docker image's ENTRYPOINT is used.
|
1964
|
+
# It cannot be set if custom container image is
|
1965
|
+
# not provided.
|
1966
|
+
# Note that this field and [TrainingInput.args] are mutually exclusive, i.e.,
|
1967
|
+
# both cannot be set at the same time.
|
1968
|
+
# Corresponds to the JSON property `containerCommand`
|
1969
|
+
# @return [Array<String>]
|
1970
|
+
attr_accessor :container_command
|
1971
|
+
|
1940
1972
|
# The Docker image to run on the replica. This image must be in Container
|
1941
1973
|
# Registry. Learn more about [configuring custom
|
1942
1974
|
# containers](/ai-platform/training/docs/distributed-training-containers).
|
@@ -1969,6 +2001,8 @@ module Google
|
|
1969
2001
|
# Update properties of this object
|
1970
2002
|
def update!(**args)
|
1971
2003
|
@accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
|
2004
|
+
@container_args = args[:container_args] if args.key?(:container_args)
|
2005
|
+
@container_command = args[:container_command] if args.key?(:container_command)
|
1972
2006
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
1973
2007
|
@tpu_tf_version = args[:tpu_tf_version] if args.key?(:tpu_tf_version)
|
1974
2008
|
end
|
@@ -2052,8 +2086,8 @@ module Google
|
|
2052
2086
|
include Google::Apis::Core::Hashable
|
2053
2087
|
|
2054
2088
|
# Optional. The maximum job running time, expressed in seconds. The field can
|
2055
|
-
# contain up to nine fractional digits, terminated by `s`.
|
2056
|
-
#
|
2089
|
+
# contain up to nine fractional digits, terminated by `s`. If not specified,
|
2090
|
+
# this field defaults to `604800s` (seven days).
|
2057
2091
|
# If the training job is still running after this duration, AI Platform
|
2058
2092
|
# Training cancels it.
|
2059
2093
|
# For example, if you want to ensure your job runs for no more than 2 hours,
|
@@ -2075,6 +2109,11 @@ module Google
|
|
2075
2109
|
# @return [String]
|
2076
2110
|
attr_accessor :max_running_time
|
2077
2111
|
|
2112
|
+
#
|
2113
|
+
# Corresponds to the JSON property `maxWaitTime`
|
2114
|
+
# @return [String]
|
2115
|
+
attr_accessor :max_wait_time
|
2116
|
+
|
2078
2117
|
def initialize(**args)
|
2079
2118
|
update!(**args)
|
2080
2119
|
end
|
@@ -2082,6 +2121,7 @@ module Google
|
|
2082
2121
|
# Update properties of this object
|
2083
2122
|
def update!(**args)
|
2084
2123
|
@max_running_time = args[:max_running_time] if args.key?(:max_running_time)
|
2124
|
+
@max_wait_time = args[:max_wait_time] if args.key?(:max_wait_time)
|
2085
2125
|
end
|
2086
2126
|
end
|
2087
2127
|
|
@@ -2415,6 +2455,19 @@ module Google
|
|
2415
2455
|
# @return [String]
|
2416
2456
|
attr_accessor :master_type
|
2417
2457
|
|
2458
|
+
# Optional. The full name of the Google Compute Engine
|
2459
|
+
# [network](/compute/docs/networks-and-firewalls#networks) to which the Job
|
2460
|
+
# is peered. For example, projects/12345/global/networks/myVPC. Format is of
|
2461
|
+
# the form projects/`project`/global/networks/`network`. Where `project` is a
|
2462
|
+
# project number, as in '12345', and `network` is network name.".
|
2463
|
+
# Private services access must already be configured for the network. If left
|
2464
|
+
# unspecified, the Job is not peered with any network. Learn more -
|
2465
|
+
# Connecting Job to user network over private
|
2466
|
+
# IP.
|
2467
|
+
# Corresponds to the JSON property `network`
|
2468
|
+
# @return [String]
|
2469
|
+
attr_accessor :network
|
2470
|
+
|
2418
2471
|
# Required. The Google Cloud Storage location of the packages with
|
2419
2472
|
# the training program and any additional dependencies.
|
2420
2473
|
# The maximum number of package URIs is 100.
|
@@ -2554,6 +2607,7 @@ module Google
|
|
2554
2607
|
@job_dir = args[:job_dir] if args.key?(:job_dir)
|
2555
2608
|
@master_config = args[:master_config] if args.key?(:master_config)
|
2556
2609
|
@master_type = args[:master_type] if args.key?(:master_type)
|
2610
|
+
@network = args[:network] if args.key?(:network)
|
2557
2611
|
@package_uris = args[:package_uris] if args.key?(:package_uris)
|
2558
2612
|
@parameter_server_config = args[:parameter_server_config] if args.key?(:parameter_server_config)
|
2559
2613
|
@parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count)
|
@@ -2779,7 +2833,7 @@ module Google
|
|
2779
2833
|
# There are two feature attribution methods supported for TensorFlow models:
|
2780
2834
|
# integrated gradients and sampled Shapley.
|
2781
2835
|
# [Learn more about feature
|
2782
|
-
# attributions.](/
|
2836
|
+
# attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
|
2783
2837
|
# Corresponds to the JSON property `explanationConfig`
|
2784
2838
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
|
2785
2839
|
attr_accessor :explanation_config
|
@@ -3233,10 +3287,13 @@ module Google
|
|
3233
3287
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
3234
3288
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
3235
3289
|
# custom role.
|
3236
|
-
#
|
3237
|
-
# expression that allows access to a resource
|
3238
|
-
# to `true`. A condition can add constraints
|
3239
|
-
# request, the resource, or both.
|
3290
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
3291
|
+
# `condition`, which is a logical expression that allows access to a resource
|
3292
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
3293
|
+
# based on attributes of the request, the resource, or both. To learn which
|
3294
|
+
# resources support conditions in their IAM policies, see the
|
3295
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
3296
|
+
# policies).
|
3240
3297
|
# **JSON example:**
|
3241
3298
|
# `
|
3242
3299
|
# "bindings": [
|
@@ -3251,7 +3308,9 @@ module Google
|
|
3251
3308
|
# `,
|
3252
3309
|
# `
|
3253
3310
|
# "role": "roles/resourcemanager.organizationViewer",
|
3254
|
-
# "members": [
|
3311
|
+
# "members": [
|
3312
|
+
# "user:eve@example.com"
|
3313
|
+
# ],
|
3255
3314
|
# "condition": `
|
3256
3315
|
# "title": "expirable access",
|
3257
3316
|
# "description": "Does not grant access after Sep 2020",
|
@@ -3329,6 +3388,9 @@ module Google
|
|
3329
3388
|
# the conditions in the version `3` policy are lost.
|
3330
3389
|
# If a policy does not include any conditions, operations on that policy may
|
3331
3390
|
# specify any valid version or leave the field unset.
|
3391
|
+
# To learn which resources support conditions in their IAM policies, see the
|
3392
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
3393
|
+
# policies).
|
3332
3394
|
# Corresponds to the JSON property `version`
|
3333
3395
|
# @return [Fixnum]
|
3334
3396
|
attr_accessor :version
|
@@ -3357,10 +3419,13 @@ module Google
|
|
3357
3419
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
3358
3420
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
3359
3421
|
# custom role.
|
3360
|
-
#
|
3361
|
-
# expression that allows access to a resource
|
3362
|
-
# to `true`. A condition can add constraints
|
3363
|
-
# request, the resource, or both.
|
3422
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
3423
|
+
# `condition`, which is a logical expression that allows access to a resource
|
3424
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
3425
|
+
# based on attributes of the request, the resource, or both. To learn which
|
3426
|
+
# resources support conditions in their IAM policies, see the
|
3427
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
3428
|
+
# policies).
|
3364
3429
|
# **JSON example:**
|
3365
3430
|
# `
|
3366
3431
|
# "bindings": [
|
@@ -3375,7 +3440,9 @@ module Google
|
|
3375
3440
|
# `,
|
3376
3441
|
# `
|
3377
3442
|
# "role": "roles/resourcemanager.organizationViewer",
|
3378
|
-
# "members": [
|
3443
|
+
# "members": [
|
3444
|
+
# "user:eve@example.com"
|
3445
|
+
# ],
|
3379
3446
|
# "condition": `
|
3380
3447
|
# "title": "expirable access",
|
3381
3448
|
# "description": "Does not grant access after Sep 2020",
|
@@ -3413,8 +3480,7 @@ module Google
|
|
3413
3480
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
3414
3481
|
# the fields in the mask will be modified. If no mask is provided, the
|
3415
3482
|
# following default mask is used:
|
3416
|
-
# paths: "bindings, etag"
|
3417
|
-
# This field is only used by Cloud IAM.
|
3483
|
+
# `paths: "bindings, etag"`
|
3418
3484
|
# Corresponds to the JSON property `updateMask`
|
3419
3485
|
# @return [String]
|
3420
3486
|
attr_accessor :update_mask
|
@@ -984,6 +984,8 @@ module Google
|
|
984
984
|
class Representation < Google::Apis::Core::JsonRepresentation
|
985
985
|
property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig::Representation
|
986
986
|
|
987
|
+
collection :container_args, as: 'containerArgs'
|
988
|
+
collection :container_command, as: 'containerCommand'
|
987
989
|
property :image_uri, as: 'imageUri'
|
988
990
|
property :tpu_tf_version, as: 'tpuTfVersion'
|
989
991
|
end
|
@@ -1008,6 +1010,7 @@ module Google
|
|
1008
1010
|
# @private
|
1009
1011
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1010
1012
|
property :max_running_time, as: 'maxRunningTime'
|
1013
|
+
property :max_wait_time, as: 'maxWaitTime'
|
1011
1014
|
end
|
1012
1015
|
end
|
1013
1016
|
|
@@ -1093,6 +1096,7 @@ module Google
|
|
1093
1096
|
property :master_config, as: 'masterConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
|
1094
1097
|
|
1095
1098
|
property :master_type, as: 'masterType'
|
1099
|
+
property :network, as: 'network'
|
1096
1100
|
collection :package_uris, as: 'packageUris'
|
1097
1101
|
property :parameter_server_config, as: 'parameterServerConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
|
1098
1102
|
|
@@ -48,8 +48,7 @@ module Google
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Performs explanation on the data in the request.
|
51
|
-
#
|
52
|
-
# method.
|
51
|
+
# <div>`% dynamic include "/ai-platform/includes/___explain-request" %`</div>
|
53
52
|
# @param [String] name
|
54
53
|
# Required. The resource name of a model or a version.
|
55
54
|
# Authorization: requires the `predict` permission on the specified resource.
|
@@ -260,6 +259,9 @@ module Google
|
|
260
259
|
# Requests for policies with any conditional bindings must specify version 3.
|
261
260
|
# Policies without any conditional bindings may specify any valid value or
|
262
261
|
# leave the field unset.
|
262
|
+
# To learn which resources support conditions in their IAM policies, see the
|
263
|
+
# [IAM
|
264
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
263
265
|
# @param [String] fields
|
264
266
|
# Selector specifying which fields to include in a partial response.
|
265
267
|
# @param [String] quota_user
|
@@ -397,7 +399,7 @@ module Google
|
|
397
399
|
|
398
400
|
# Sets the access control policy on the specified resource. Replaces any
|
399
401
|
# existing policy.
|
400
|
-
# Can return
|
402
|
+
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
401
403
|
# @param [String] resource
|
402
404
|
# REQUIRED: The resource for which the policy is being specified.
|
403
405
|
# See the operation documentation for the appropriate value for this field.
|
@@ -433,7 +435,7 @@ module Google
|
|
433
435
|
|
434
436
|
# Returns permissions that a caller has on the specified resource.
|
435
437
|
# If the resource does not exist, this will return an empty set of
|
436
|
-
# permissions, not a NOT_FOUND error.
|
438
|
+
# permissions, not a `NOT_FOUND` error.
|
437
439
|
# Note: This operation is designed to be used for building permission-aware
|
438
440
|
# UIs and command-line tools, not for authorization checking. This operation
|
439
441
|
# may "fail open" without warning.
|
@@ -1154,6 +1156,9 @@ module Google
|
|
1154
1156
|
# Requests for policies with any conditional bindings must specify version 3.
|
1155
1157
|
# Policies without any conditional bindings may specify any valid value or
|
1156
1158
|
# leave the field unset.
|
1159
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1160
|
+
# [IAM
|
1161
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
1157
1162
|
# @param [String] fields
|
1158
1163
|
# Selector specifying which fields to include in a partial response.
|
1159
1164
|
# @param [String] quota_user
|
@@ -1282,7 +1287,7 @@ module Google
|
|
1282
1287
|
|
1283
1288
|
# Sets the access control policy on the specified resource. Replaces any
|
1284
1289
|
# existing policy.
|
1285
|
-
# Can return
|
1290
|
+
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
1286
1291
|
# @param [String] resource
|
1287
1292
|
# REQUIRED: The resource for which the policy is being specified.
|
1288
1293
|
# See the operation documentation for the appropriate value for this field.
|
@@ -1318,7 +1323,7 @@ module Google
|
|
1318
1323
|
|
1319
1324
|
# Returns permissions that a caller has on the specified resource.
|
1320
1325
|
# If the resource does not exist, this will return an empty set of
|
1321
|
-
# permissions, not a NOT_FOUND error.
|
1326
|
+
# permissions, not a `NOT_FOUND` error.
|
1322
1327
|
# Note: This operation is designed to be used for building permission-aware
|
1323
1328
|
# UIs and command-line tools, not for authorization checking. This operation
|
1324
1329
|
# may "fail open" without warning.
|