REST Resource: projects.releases
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Release
Release
is a named reference to a Ruleset
. Once a Release
refers to a Ruleset
, rules-enabled services will be able to enforce the Ruleset
.
JSON representation |
{
"name": string,
"rulesetName": string,
"createTime": string,
"updateTime": string
} |
Fields |
name |
string
Format: projects/{project_id}/releases/{release_id}
|
rulesetName |
string
Name of the Ruleset referred to by this Release . The Ruleset must exist for the Release to be created.
|
createTime |
string (Timestamp format)
Output only. Time the release was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
updateTime |
string (Timestamp format)
Output only. Time the release was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
Methods |
|
Create a Release . |
|
Delete a Release by resource name. |
|
Get a Release by name. |
|
Get the Release executable to use when enforcing rules. |
|
List the Release values for a project. |
|
Update a Release via PATCH. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-30 UTC.
[null,null,["Last updated 2021-06-30 UTC."],[],[],null,["# REST Resource: projects.releases\n\n- [Resource: Release](#Release)\n - [JSON representation](#Release.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Release\n-----------------\n\n`Release` is a named reference to a `Ruleset`. Once a `Release` refers to a `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.\n\n| JSON representation ||\n|-----------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"rulesetName\": string, \"createTime\": string, \"updateTime\": string } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Format: `projects/{project_id}/releases/{release_id}` |\n| `rulesetName` | `string` Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist for the `Release` to be created. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Output only. Time the release was created. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `updateTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Output only. Time the release was updated. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| ### [create](/docs/reference/rules/rest/v1/projects.releases/create) | Create a `Release`. |\n| ### [delete](/docs/reference/rules/rest/v1/projects.releases/delete) | Delete a `Release` by resource name. |\n| ### [get](/docs/reference/rules/rest/v1/projects.releases/get) | Get a `Release` by name. |\n| ### [getExecutable](/docs/reference/rules/rest/v1/projects.releases/getExecutable) | Get the `Release` executable to use when enforcing rules. |\n| ### [list](/docs/reference/rules/rest/v1/projects.releases/list) | List the `Release` values for a project. |\n| ### [patch](/docs/reference/rules/rest/v1/projects.releases/patch) | Update a `Release` via PATCH. |"]]