mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update API descriptions
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
"projects": {
|
||||
"methods": {
|
||||
"explain": {
|
||||
"description": "Performs explanation on the data in the request.\nAI Platform implements a custom `explain` verb on top of an HTTP POST\nmethod.",
|
||||
"description": "Performs explanation on the data in the request.\n\n<div>{% dynamic include \"/ai-platform/includes/___explain-request\" %}</div>",
|
||||
"flatPath": "v1/projects/{projectsId}:explain",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.explain",
|
||||
@@ -287,7 +287,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"options.requestedPolicyVersion": {
|
||||
"description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
|
||||
"description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
@@ -385,7 +385,7 @@
|
||||
]
|
||||
},
|
||||
"setIamPolicy": {
|
||||
"description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
|
||||
"description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
|
||||
"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:setIamPolicy",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.jobs.setIamPolicy",
|
||||
@@ -413,7 +413,7 @@
|
||||
]
|
||||
},
|
||||
"testIamPermissions": {
|
||||
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
|
||||
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
|
||||
"flatPath": "v1/projects/{projectsId}/jobs/{jobsId}:testIamPermissions",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.jobs.testIamPermissions",
|
||||
@@ -678,7 +678,7 @@
|
||||
"trials": {
|
||||
"methods": {
|
||||
"addMeasurement": {
|
||||
"description": "Adds a measurement of the objective metrics to a Trial. This measurement\nis assumed to have been taken before the Trial is complete.",
|
||||
"description": "Adds a measurement of the objective metrics to a trial. This measurement\nis assumed to have been taken before the trial is complete.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:addMeasurement",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.locations.studies.trials.addMeasurement",
|
||||
@@ -706,7 +706,7 @@
|
||||
]
|
||||
},
|
||||
"checkEarlyStoppingState": {
|
||||
"description": "Checks whether a trial should stop or not.",
|
||||
"description": "Checks whether a trial should stop or not. Returns a\nlong-running operation. When the operation is successful,\nit will contain a\nCheckTrialEarlyStoppingStateResponse.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:checkEarlyStoppingState",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.locations.studies.trials.checkEarlyStoppingState",
|
||||
@@ -734,7 +734,7 @@
|
||||
]
|
||||
},
|
||||
"complete": {
|
||||
"description": "Marks a Trial as complete.",
|
||||
"description": "Marks a trial as complete.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}:complete",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.locations.studies.trials.complete",
|
||||
@@ -743,7 +743,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"name": {
|
||||
"description": "Required. The trial name.",
|
||||
"description": "Required. The trial name.metat",
|
||||
"location": "path",
|
||||
"pattern": "^projects/[^/]+/locations/[^/]+/studies/[^/]+/trials/[^/]+$",
|
||||
"required": true,
|
||||
@@ -762,7 +762,7 @@
|
||||
]
|
||||
},
|
||||
"create": {
|
||||
"description": "Adds a user provided trial to a Study.",
|
||||
"description": "Adds a user provided trial to a study.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.locations.studies.trials.create",
|
||||
@@ -790,7 +790,7 @@
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"description": "Deletes a Trial.",
|
||||
"description": "Deletes a trial.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}",
|
||||
"httpMethod": "DELETE",
|
||||
"id": "ml.projects.locations.studies.trials.delete",
|
||||
@@ -815,7 +815,7 @@
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"description": "Gets a Trial.",
|
||||
"description": "Gets a trial.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials/{trialsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "ml.projects.locations.studies.trials.get",
|
||||
@@ -840,7 +840,7 @@
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Lists the trials associated with a Study.",
|
||||
"description": "Lists the trials associated with a study.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials",
|
||||
"httpMethod": "GET",
|
||||
"id": "ml.projects.locations.studies.trials.list",
|
||||
@@ -893,7 +893,7 @@
|
||||
]
|
||||
},
|
||||
"suggest": {
|
||||
"description": "Returns a long-running operation associated with the generation of trial\nsuggestions.",
|
||||
"description": "Adds one or more trials to a study, with parameter values\nsuggested by AI Platform Optimizer. Returns a long-running\noperation associated with the generation of trial suggestions.\nWhen this long-running operation succeeds, it will contain\na SuggestTrialsResponse.",
|
||||
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/studies/{studiesId}/trials:suggest",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.locations.studies.trials.suggest",
|
||||
@@ -1017,7 +1017,7 @@
|
||||
],
|
||||
"parameters": {
|
||||
"options.requestedPolicyVersion": {
|
||||
"description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.",
|
||||
"description": "Optional. The policy format version to be returned.\n\nValid values are 0, 1, and 3. Requests specifying an invalid value will be\nrejected.\n\nRequests for policies with any conditional bindings must specify version 3.\nPolicies without any conditional bindings may specify any valid value or\nleave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"type": "integer"
|
||||
@@ -1115,7 +1115,7 @@
|
||||
]
|
||||
},
|
||||
"setIamPolicy": {
|
||||
"description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED",
|
||||
"description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.",
|
||||
"flatPath": "v1/projects/{projectsId}/models/{modelsId}:setIamPolicy",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.models.setIamPolicy",
|
||||
@@ -1143,7 +1143,7 @@
|
||||
]
|
||||
},
|
||||
"testIamPermissions": {
|
||||
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
|
||||
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
|
||||
"flatPath": "v1/projects/{projectsId}/models/{modelsId}:testIamPermissions",
|
||||
"httpMethod": "POST",
|
||||
"id": "ml.projects.models.testIamPermissions",
|
||||
@@ -1458,7 +1458,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20200328",
|
||||
"revision": "20200703",
|
||||
"rootUrl": "https://ml.googleapis.com/",
|
||||
"schemas": {
|
||||
"GoogleApi__HttpBody": {
|
||||
@@ -1492,7 +1492,7 @@
|
||||
"id": "GoogleCloudMlV1_AutomatedStoppingConfig_DecayCurveAutomatedStoppingConfig",
|
||||
"properties": {
|
||||
"useElapsedTime": {
|
||||
"description": "True if measurement.elapsed_time is used as the x-axis of each\nTrials Decay Curve. Otherwise, Measurement.steps will be used as the\nx-axis.",
|
||||
"description": "If true, measurement.elapsed_time is used as the x-axis of each\nTrials Decay Curve. Otherwise, Measurement.steps will be used as the\nx-axis.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -1503,7 +1503,7 @@
|
||||
"id": "GoogleCloudMlV1_AutomatedStoppingConfig_MedianAutomatedStoppingConfig",
|
||||
"properties": {
|
||||
"useElapsedTime": {
|
||||
"description": "True if median automated stopping rule applies on\nmeasurement.use_elapsed_time. it means that elapsed_time field of\nlatest measurement of current trial is used to compute median objective\nvalue for each completed trials.",
|
||||
"description": "If true, the median automated stopping rule applies to\nmeasurement.use_elapsed_time, which means the elapsed_time field of\nthe current trial's\nlatest measurement is used to compute the median objective\nvalue for each completed trial.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -1748,7 +1748,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudMlV1_Trial_Parameter": {
|
||||
"description": "A message representing a parameter to be tuned.",
|
||||
"description": "A message representing a parameter to be tuned. Contains the name of\nthe parameter and the suggested value to use for this trial.",
|
||||
"id": "GoogleCloudMlV1_Trial_Parameter",
|
||||
"properties": {
|
||||
"floatValue": {
|
||||
@@ -1926,7 +1926,7 @@
|
||||
"id": "GoogleCloudMlV1__CheckTrialEarlyStoppingStateMetatdata",
|
||||
"properties": {
|
||||
"createTime": {
|
||||
"description": "The time operation was submitted.",
|
||||
"description": "The time at which the operation was submitted.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1935,7 +1935,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"trial": {
|
||||
"description": "The Trial name.",
|
||||
"description": "The trial name.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1952,7 +1952,7 @@
|
||||
"id": "GoogleCloudMlV1__CheckTrialEarlyStoppingStateResponse",
|
||||
"properties": {
|
||||
"endTime": {
|
||||
"description": "The time operation processing completed.",
|
||||
"description": "The time at which operation processing completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1961,7 +1961,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"startTime": {
|
||||
"description": "The time operation was started.",
|
||||
"description": "The time at which the operation was started.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -1977,7 +1977,7 @@
|
||||
"description": "Optional. If provided, it will be used as the completed trial's\nfinal_measurement; Otherwise, the service will auto-select a\npreviously reported measurement as the final-measurement"
|
||||
},
|
||||
"infeasibleReason": {
|
||||
"description": "Optional. A human readable reason why the Trial was infeasible. This should\nonly be provided if `trial_infeasible` is true.",
|
||||
"description": "Optional. A human readable reason why the trial was infeasible. This should\nonly be provided if `trial_infeasible` is true.",
|
||||
"type": "string"
|
||||
},
|
||||
"trialInfeasible": {
|
||||
@@ -2002,7 +2002,7 @@
|
||||
"id": "GoogleCloudMlV1__EncryptionConfig",
|
||||
"properties": {
|
||||
"kmsKeyName": {
|
||||
"description": "The Cloud KMS resource identifier of the customer managed encryption key\nused to protect a resource, such as a training job. Has the form:\n`projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.",
|
||||
"description": "The Cloud KMS resource identifier of the customer-managed encryption key\nused to protect a resource, such as a training job. It has the following\nformat:\n`projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -2020,7 +2020,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudMlV1__ExplanationConfig": {
|
||||
"description": "Message holding configuration options for explaining model predictions.\nThere are two feature attribution methods supported for TensorFlow models:\nintegrated gradients and sampled Shapley.\n[Learn more about feature\nattributions.](/ml-engine/docs/ai-explanations/overview)",
|
||||
"description": "Message holding configuration options for explaining model predictions.\nThere are two feature attribution methods supported for TensorFlow models:\nintegrated gradients and sampled Shapley.\n[Learn more about feature\nattributions.](/ai-platform/prediction/docs/ai-explanations/overview)",
|
||||
"id": "GoogleCloudMlV1__ExplanationConfig",
|
||||
"properties": {
|
||||
"integratedGradientsAttribution": {
|
||||
@@ -2198,7 +2198,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudMlV1__IntegratedGradientsAttribution": {
|
||||
"description": "Attributes credit by computing the Aumann-Shapley value taking advantage\nof the model's fully differentiable structure. Refer to this paper for\nmore details: http://proceedings.mlr.press/v70/sundararajan17a.html",
|
||||
"description": "Attributes credit by computing the Aumann-Shapley value taking advantage\nof the model's fully differentiable structure. Refer to this paper for\nmore details: https://arxiv.org/abs/1703.01365",
|
||||
"id": "GoogleCloudMlV1__IntegratedGradientsAttribution",
|
||||
"properties": {
|
||||
"numIntegralSteps": {
|
||||
@@ -2348,7 +2348,7 @@
|
||||
"id": "GoogleCloudMlV1__ListStudiesResponse",
|
||||
"properties": {
|
||||
"studies": {
|
||||
"description": "The Studies associated with the project.",
|
||||
"description": "The studies associated with the project.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudMlV1__Study"
|
||||
},
|
||||
@@ -2418,11 +2418,11 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudMlV1__Measurement": {
|
||||
"description": "A message representing a Measurement.",
|
||||
"description": "A message representing a measurement.",
|
||||
"id": "GoogleCloudMlV1__Measurement",
|
||||
"properties": {
|
||||
"elapsedTime": {
|
||||
"description": "Time that the Trial has been running at the point of this Measurement.",
|
||||
"description": "Output only. Time that the trial has been running at the point of\nthis measurement.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2762,6 +2762,20 @@
|
||||
"$ref": "GoogleCloudMlV1__AcceleratorConfig",
|
||||
"description": "Represents the type and number of accelerators used by the replica.\n[Learn about restrictions on accelerator configurations for\ntraining.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)"
|
||||
},
|
||||
"containerArgs": {
|
||||
"description": "Arguments to the entrypoint command.\nThe following rules apply for container_command and container_args:\n- If you do not supply command or args:\n The defaults defined in the Docker image are used.\n- If you supply a command but no args:\n The default EntryPoint and the default Cmd defined in the Docker image\n are ignored. Your command is run without any arguments.\n- If you supply only args:\n The default Entrypoint defined in the Docker image is run with the args\n that you supplied.\n- If you supply a command and args:\n The default Entrypoint and the default Cmd defined in the Docker image\n are ignored. Your command is run with your args.\nIt cannot be set if custom container image is\nnot provided.\nNote that this field and [TrainingInput.args] are mutually exclusive, i.e.,\nboth cannot be set at the same time.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"containerCommand": {
|
||||
"description": "The command with which the replica's custom container is run.\nIf provided, it will override default ENTRYPOINT of the docker image.\nIf not provided, the docker image's ENTRYPOINT is used.\nIt cannot be set if custom container image is\nnot provided.\nNote that this field and [TrainingInput.args] are mutually exclusive, i.e.,\nboth cannot be set at the same time.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"imageUri": {
|
||||
"description": "The Docker image to run on the replica. This image must be in Container\nRegistry. Learn more about [configuring custom\ncontainers](/ai-platform/training/docs/distributed-training-containers).",
|
||||
"type": "string"
|
||||
@@ -2806,7 +2820,11 @@
|
||||
"id": "GoogleCloudMlV1__Scheduling",
|
||||
"properties": {
|
||||
"maxRunningTime": {
|
||||
"description": "Optional. The maximum job running time, expressed in seconds. The field can\ncontain up to nine fractional digits, terminated by `s`. By default there\nis no limit to the running time.\n\nIf the training job is still running after this duration, AI Platform\nTraining cancels it.\n\nFor example, if you want to ensure your job runs for no more than 2 hours,\nset this field to `7200s` (2 hours * 60 minutes / hour * 60 seconds /\nminute).\n\nIf you submit your training job using the `gcloud` tool, you can [provide\nthis field in a `config.yaml`\nfile](/ai-platform/training/docs/training-jobs#formatting_your_configuration_parameters).\nFor example:\n\n```yaml\ntrainingInput:\n ...\n scheduling:\n maxRunningTime: 7200s\n ...\n```",
|
||||
"description": "Optional. The maximum job running time, expressed in seconds. The field can\ncontain up to nine fractional digits, terminated by `s`. If not specified,\nthis field defaults to `604800s` (seven days).\n\nIf the training job is still running after this duration, AI Platform\nTraining cancels it.\n\nFor example, if you want to ensure your job runs for no more than 2 hours,\nset this field to `7200s` (2 hours * 60 minutes / hour * 60 seconds /\nminute).\n\nIf you submit your training job using the `gcloud` tool, you can [provide\nthis field in a `config.yaml`\nfile](/ai-platform/training/docs/training-jobs#formatting_your_configuration_parameters).\nFor example:\n\n```yaml\ntrainingInput:\n ...\n scheduling:\n maxRunningTime: 7200s\n ...\n```",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"maxWaitTime": {
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -2829,7 +2847,7 @@
|
||||
"id": "GoogleCloudMlV1__Study",
|
||||
"properties": {
|
||||
"createTime": {
|
||||
"description": "Output only. Time that the study was created.",
|
||||
"description": "Output only. Time at which the study was created.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2889,6 +2907,7 @@
|
||||
"description": "Configuration for automated stopping of unpromising Trials."
|
||||
},
|
||||
"metrics": {
|
||||
"description": "Metric specs for the study.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudMlV1_StudyConfig_MetricSpec"
|
||||
},
|
||||
@@ -2950,12 +2969,12 @@
|
||||
"id": "GoogleCloudMlV1__SuggestTrialsResponse",
|
||||
"properties": {
|
||||
"endTime": {
|
||||
"description": "The time operation processing completed.",
|
||||
"description": "The time at which operation processing completed.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"startTime": {
|
||||
"description": "The time operation was started.",
|
||||
"description": "The time at which the operation was started.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2976,7 +2995,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"trials": {
|
||||
"description": "A list of Trials.",
|
||||
"description": "A list of trials.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudMlV1__Trial"
|
||||
},
|
||||
@@ -2990,7 +3009,7 @@
|
||||
"id": "GoogleCloudMlV1__TrainingInput",
|
||||
"properties": {
|
||||
"args": {
|
||||
"description": "Optional. Arguments passed to the training.\n- If it is a python package training:\n It will be passed as command line argument to the program.\n- If it is a custom container training,\n It will be passed as an argument to the custom container\n image.",
|
||||
"description": "Optional. Command-line arguments passed to the training application when it\nstarts. If your job uses a custom container, then the arguments are passed\nto the container's <a class=\"external\" target=\"_blank\"\nhref=\"https://docs.docker.com/engine/reference/builder/#entrypoint\">\n`ENTRYPOINT`</a> command.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2998,11 +3017,11 @@
|
||||
},
|
||||
"encryptionConfig": {
|
||||
"$ref": "GoogleCloudMlV1__EncryptionConfig",
|
||||
"description": "Custom encryption key options for a training job. If this is set,\nthen all resources created by the training job will be encrypted with the\nprovided encryption key."
|
||||
"description": "Optional. Options for using customer-managed encryption keys (CMEK) to\nprotect resources created by a training job, instead of using Google's\ndefault encryption. If this is set, then all resources created by the\ntraining job will be encrypted with the customer-managed encryption key\nthat you specify.\n\n[Learn how and when to use CMEK with AI Platform\nTraining](/ai-platform/training/docs/cmek)."
|
||||
},
|
||||
"evaluatorConfig": {
|
||||
"$ref": "GoogleCloudMlV1__ReplicaConfig",
|
||||
"description": "Optional. The configuration for evaluators.\n\nYou should only set `evaluatorConfig.acceleratorConfig` if\n`evaluatorType` is set to a Compute Engine machine type. [Learn\nabout restrictions on accelerator configurations for\ntraining.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)\n\nSet `evaluatorConfig.imageUri` only if you build a custom image for\nyour evaluator. If `evaluatorConfig.imageUri` has not been\nset, AI Platform uses the value of `masterConfig.imageUri` .\nLearn more about [configuring custom\ncontainers](/ai-platform/training/docs/distributed-training-containers)."
|
||||
"description": "Optional. The configuration for evaluators.\n\nYou should only set `evaluatorConfig.acceleratorConfig` if\n`evaluatorType` is set to a Compute Engine machine type. [Learn\nabout restrictions on accelerator configurations for\ntraining.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)\n\nSet `evaluatorConfig.imageUri` only if you build a custom image for\nyour evaluator. If `evaluatorConfig.imageUri` has not been\nset, AI Platform uses the value of `masterConfig.imageUri`. Learn more about [configuring custom\ncontainers](/ai-platform/training/docs/distributed-training-containers)."
|
||||
},
|
||||
"evaluatorCount": {
|
||||
"description": "Optional. The number of evaluator replicas to use for the training job.\nEach replica in the cluster will be of the type specified in\n`evaluator_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `evaluator_type`.\n\nThe default value is zero.",
|
||||
@@ -3029,6 +3048,10 @@
|
||||
"description": "Optional. Specifies the type of virtual machine to use for your training\njob's master worker. You must specify this field when `scaleTier` is set to\n`CUSTOM`.\n\nYou can use certain Compute Engine machine types directly in this field.\nThe following types are supported:\n\n- `n1-standard-4`\n- `n1-standard-8`\n- `n1-standard-16`\n- `n1-standard-32`\n- `n1-standard-64`\n- `n1-standard-96`\n- `n1-highmem-2`\n- `n1-highmem-4`\n- `n1-highmem-8`\n- `n1-highmem-16`\n- `n1-highmem-32`\n- `n1-highmem-64`\n- `n1-highmem-96`\n- `n1-highcpu-16`\n- `n1-highcpu-32`\n- `n1-highcpu-64`\n- `n1-highcpu-96`\n\nLearn more about [using Compute Engine machine\ntypes](/ml-engine/docs/machine-types#compute-engine-machine-types).\n\nAlternatively, you can use the following legacy machine types:\n\n- `standard`\n- `large_model`\n- `complex_model_s`\n- `complex_model_m`\n- `complex_model_l`\n- `standard_gpu`\n- `complex_model_m_gpu`\n- `complex_model_l_gpu`\n- `standard_p100`\n- `complex_model_m_p100`\n- `standard_v100`\n- `large_model_v100`\n- `complex_model_m_v100`\n- `complex_model_l_v100`\n\nLearn more about [using legacy machine\ntypes](/ml-engine/docs/machine-types#legacy-machine-types).\n\nFinally, if you want to use a TPU for training, specify `cloud_tpu` in this\nfield. Learn more about the [special configuration options for training\nwith\nTPUs](/ml-engine/docs/tensorflow/using-tpus#configuring_a_custom_tpu_machine).",
|
||||
"type": "string"
|
||||
},
|
||||
"network": {
|
||||
"description": "Optional. The full name of the Google Compute Engine\n[network](/compute/docs/networks-and-firewalls#networks) to which the Job\nis peered. For example, projects/12345/global/networks/myVPC. Format is of\nthe form projects/{project}/global/networks/{network}. Where {project} is a\nproject number, as in '12345', and {network} is network name.\".\n\nPrivate services access must already be configured for the network. If left\nunspecified, the Job is not peered with any network. Learn more -\nConnecting Job to user network over private\nIP.",
|
||||
"type": "string"
|
||||
},
|
||||
"packageUris": {
|
||||
"description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.\nThe maximum number of package URIs is 100.",
|
||||
"items": {
|
||||
@@ -3038,7 +3061,7 @@
|
||||
},
|
||||
"parameterServerConfig": {
|
||||
"$ref": "GoogleCloudMlV1__ReplicaConfig",
|
||||
"description": "Optional. The configuration for parameter servers.\n\nYou should only set `parameterServerConfig.acceleratorConfig` if\n`parameterServerType` is set to a Compute Engine machine type. [Learn\nabout restrictions on accelerator configurations for\ntraining.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)\n\nSet `parameterServerConfig.imageUri` only if you build a custom image for\nyour parameter server. If `parameterServerConfig.imageUri` has not been\nset, AI Platform uses the value of `masterConfig.imageUri` .\nLearn more about [configuring custom\ncontainers](/ai-platform/training/docs/distributed-training-containers)."
|
||||
"description": "Optional. The configuration for parameter servers.\n\nYou should only set `parameterServerConfig.acceleratorConfig` if\n`parameterServerType` is set to a Compute Engine machine type. [Learn\nabout restrictions on accelerator configurations for\ntraining.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)\n\nSet `parameterServerConfig.imageUri` only if you build a custom image for\nyour parameter server. If `parameterServerConfig.imageUri` has not been\nset, AI Platform uses the value of `masterConfig.imageUri`. Learn more about [configuring custom\ncontainers](/ai-platform/training/docs/distributed-training-containers)."
|
||||
},
|
||||
"parameterServerCount": {
|
||||
"description": "Optional. The number of parameter server replicas to use for the training\njob. Each replica in the cluster will be of the type specified in\n`parameter_server_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `parameter_server_type`.\n\nThe default value is zero.",
|
||||
@@ -3089,13 +3112,17 @@
|
||||
"$ref": "GoogleCloudMlV1__Scheduling",
|
||||
"description": "Optional. Scheduling options for a training job."
|
||||
},
|
||||
"serviceAccount": {
|
||||
"description": "Optional. Specifies the service account for workload run-as account.\nUsers submitting jobs must have act-as permission on this run-as account.\nIf not specified, then CMLE P4SA will be used by default.",
|
||||
"type": "string"
|
||||
},
|
||||
"useChiefInTfConfig": {
|
||||
"description": "Optional. Use `chief` instead of `master` in the `TF_CONFIG` environment\nvariable when training with a custom container. Defaults to `false`. [Learn\nmore about this\nfield.](/ai-platform/training/docs/distributed-training-details#chief-versus-master)\n\nThis field has no effect for training jobs that don't use a custom\ncontainer.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"workerConfig": {
|
||||
"$ref": "GoogleCloudMlV1__ReplicaConfig",
|
||||
"description": "Optional. The configuration for workers.\n\nYou should only set `workerConfig.acceleratorConfig` if `workerType` is set\nto a Compute Engine machine type. [Learn about restrictions on accelerator\nconfigurations for\ntraining.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)\n\nSet `workerConfig.imageUri` only if you build a custom image for your\nworker. If `workerConfig.imageUri` has not been set, AI Platform uses\nthe value of `masterConfig.imageUri` .\nLearn more about [configuring custom\ncontainers](/ai-platform/training/docs/distributed-training-containers)."
|
||||
"description": "Optional. The configuration for workers.\n\nYou should only set `workerConfig.acceleratorConfig` if `workerType` is set\nto a Compute Engine machine type. [Learn about restrictions on accelerator\nconfigurations for\ntraining.](/ai-platform/training/docs/using-gpus#compute-engine-machine-types-with-gpu)\n\nSet `workerConfig.imageUri` only if you build a custom image for your\nworker. If `workerConfig.imageUri` has not been set, AI Platform uses\nthe value of `masterConfig.imageUri`. Learn more about [configuring custom\ncontainers](/ai-platform/training/docs/distributed-training-containers)."
|
||||
},
|
||||
"workerCount": {
|
||||
"description": "Optional. The number of worker replicas to use for the training job. Each\nreplica in the cluster will be of the type specified in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.\n\nThe default value is zero.",
|
||||
@@ -3150,7 +3177,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleCloudMlV1__Trial": {
|
||||
"description": "A message representing a Trial.",
|
||||
"description": "A message representing a trial.",
|
||||
"id": "GoogleCloudMlV1__Trial",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
@@ -3158,16 +3185,16 @@
|
||||
"type": "string"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Output only. Time the Trial's status changed to COMPLETED.",
|
||||
"description": "Output only. Time at which the trial's status changed to COMPLETED.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"finalMeasurement": {
|
||||
"$ref": "GoogleCloudMlV1__Measurement",
|
||||
"description": "The final Measurement containing the objective value."
|
||||
"description": "The final measurement containing the objective value."
|
||||
},
|
||||
"infeasibleReason": {
|
||||
"description": "Output only. A human readable string describing why the Trial is\ninfeasible. This should only be set if trial_infeasible is true.",
|
||||
"description": "Output only. A human readable string describing why the trial is\ninfeasible. This should only be set if trial_infeasible is true.",
|
||||
"type": "string"
|
||||
},
|
||||
"measurements": {
|
||||
@@ -3182,14 +3209,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parameters": {
|
||||
"description": "The parameters of the Trial.",
|
||||
"description": "The parameters of the trial.",
|
||||
"items": {
|
||||
"$ref": "GoogleCloudMlV1_Trial_Parameter"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"startTime": {
|
||||
"description": "Output only. Time the Trial was started.",
|
||||
"description": "Output only. Time at which the trial was started.",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3204,15 +3231,15 @@
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The trial state is unspecified.",
|
||||
"Indicates that a specific Trial has been requested, but it has not yet\nbeen suggested by the service.",
|
||||
"Indicates that the Trial has been suggested.",
|
||||
"Indicates that the Trial is done, and either has a final_measurement\nset, or is marked as trial_infeasible.",
|
||||
"Indicates that the Trial should stop according to the service."
|
||||
"Indicates that a specific trial has been requested, but it has not yet\nbeen suggested by the service.",
|
||||
"Indicates that the trial has been suggested.",
|
||||
"Indicates that the trial is done, and either has a final_measurement\nset, or is marked as trial_infeasible.",
|
||||
"Indicates that the trial should stop according to the service."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"trialInfeasible": {
|
||||
"description": "Output only. True if the parameters in this trial should not be attempted again.",
|
||||
"description": "Output only. If true, the parameters in this trial are not attempted again.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -3363,7 +3390,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleIamV1__AuditConfig": {
|
||||
"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
|
||||
"description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n },\n {\n \"log_type\": \"ADMIN_READ\"\n }\n ]\n },\n {\n \"service\": \"sampleservice.googleapis.com\",\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\"\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:aliya@example.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts jose@example.com from DATA_READ logging, and\naliya@example.com from DATA_WRITE logging.",
|
||||
"id": "GoogleIamV1__AuditConfig",
|
||||
"properties": {
|
||||
"auditLogConfigs": {
|
||||
@@ -3381,7 +3408,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleIamV1__AuditLogConfig": {
|
||||
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
|
||||
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:jose@example.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\"\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\njose@example.com from DATA_READ logging.",
|
||||
"id": "GoogleIamV1__AuditLogConfig",
|
||||
"properties": {
|
||||
"exemptedMembers": {
|
||||
@@ -3416,7 +3443,7 @@
|
||||
"properties": {
|
||||
"condition": {
|
||||
"$ref": "GoogleType__Expr",
|
||||
"description": "The condition that is associated with this binding.\nNOTE: An unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently."
|
||||
"description": "The condition that is associated with this binding.\n\nIf the condition evaluates to `true`, then this binding applies to the\ncurrent request.\n\nIf the condition evaluates to `false`, then this binding does not apply to\nthe current request. However, a different role binding might grant the same\nrole to one or more of the members in this binding.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM\ndocumentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
|
||||
},
|
||||
"members": {
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@example.com` .\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n* `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a user that has been recently deleted. For\n example, `alice@example.com?uid=123456789012345678901`. If the user is\n recovered, this value reverts to `user:{emailid}` and the recovered user\n retains the role in the binding.\n\n* `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus\n unique identifier) representing a service account that has been recently\n deleted. For example,\n `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.\n If the service account is undeleted, this value reverts to\n `serviceAccount:{emailid}` and the undeleted service account retains the\n role in the binding.\n\n* `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique\n identifier) representing a Google group that has been recently\n deleted. For example, `admins@example.com?uid=123456789012345678901`. If\n the group is recovered, this value reverts to `group:{emailid}` and the\n recovered group retains the role in the binding.\n\n\n* `domain:{domain}`: The G Suite domain (primary) that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n",
|
||||
@@ -3433,7 +3460,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleIamV1__Policy": {
|
||||
"description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nOptionally, a `binding` can specify a `condition`, which is a logical\nexpression that allows access to a resource only if the expression evaluates\nto `true`. A condition can add constraints based on attributes of the\nrequest, the resource, or both.\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\"user:eve@example.com\"],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
|
||||
"description": "An Identity and Access Management (IAM) policy, which specifies access\ncontrols for Google Cloud resources.\n\n\nA `Policy` is a collection of `bindings`. A `binding` binds one or more\n`members` to a single `role`. Members can be user accounts, service accounts,\nGoogle groups, and domains (such as G Suite). A `role` is a named list of\npermissions; each `role` can be an IAM predefined role or a user-created\ncustom role.\n\nFor some types of Google Cloud resources, a `binding` can also specify a\n`condition`, which is a logical expression that allows access to a resource\nonly if the expression evaluates to `true`. A condition can add constraints\nbased on attributes of the request, the resource, or both. To learn which\nresources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).\n\n**JSON example:**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/resourcemanager.organizationAdmin\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-project-id@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/resourcemanager.organizationViewer\",\n \"members\": [\n \"user:eve@example.com\"\n ],\n \"condition\": {\n \"title\": \"expirable access\",\n \"description\": \"Does not grant access after Sep 2020\",\n \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\",\n }\n }\n ],\n \"etag\": \"BwWWja0YfJA=\",\n \"version\": 3\n }\n\n**YAML example:**\n\n bindings:\n - members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-project-id@appspot.gserviceaccount.com\n role: roles/resourcemanager.organizationAdmin\n - members:\n - user:eve@example.com\n role: roles/resourcemanager.organizationViewer\n condition:\n title: expirable access\n description: Does not grant access after Sep 2020\n expression: request.time < timestamp('2020-10-01T00:00:00.000Z')\n - etag: BwWWja0YfJA=\n - version: 3\n\nFor a description of IAM and its features, see the\n[IAM documentation](https://cloud.google.com/iam/docs/).",
|
||||
"id": "GoogleIamV1__Policy",
|
||||
"properties": {
|
||||
"auditConfigs": {
|
||||
@@ -3456,7 +3483,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.",
|
||||
"description": "Specifies the format of the policy.\n\nValid values are `0`, `1`, and `3`. Requests that specify an invalid value\nare rejected.\n\nAny operation that affects conditional role bindings must specify version\n`3`. This requirement applies to the following operations:\n\n* Getting a policy that includes a conditional role binding\n* Adding a conditional role binding to a policy\n* Changing a conditional role binding in a policy\n* Removing any role binding, with or without a condition, from a policy\n that includes conditions\n\n**Important:** If you use IAM Conditions, you must include the `etag` field\nwhenever you call `setIamPolicy`. If you omit this field, then IAM allows\nyou to overwrite a version `3` policy with a version `1` policy, and all of\nthe conditions in the version `3` policy are lost.\n\nIf a policy does not include any conditions, operations on that policy may\nspecify any valid version or leave the field unset.\n\nTo learn which resources support conditions in their IAM policies, see the\n[IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
@@ -3472,7 +3499,7 @@
|
||||
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An empty policy is a\nvalid policy but certain Cloud Platform services (such as Projects)\nmight reject them."
|
||||
},
|
||||
"updateMask": {
|
||||
"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\"\nThis field is only used by Cloud IAM.",
|
||||
"description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\n\n`paths: \"bindings, etag\"`",
|
||||
"format": "google-fieldmask",
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user