Skip to content

Commit

Permalink
feat(clouddeploy): update the api
Browse files Browse the repository at this point in the history
#### clouddeploy:v1

The following keys were added:
- schemas.DeliveryPipelineNotificationEvent.properties.pipelineUid.type (Total Keys: 1)
- schemas.GatewayServiceMesh.properties.stableCutbackDuration (Total Keys: 2)
- schemas.JobRunNotificationEvent.properties.release.type (Total Keys: 1)
- schemas.JobRunNotificationEvent.properties.rollout.type (Total Keys: 1)
- schemas.ReleaseNotificationEvent.properties.pipelineUid.type (Total Keys: 1)
- schemas.ReleaseNotificationEvent.properties.releaseUid.type (Total Keys: 1)
- schemas.ReleaseRenderEvent.properties.pipelineUid.type (Total Keys: 1)
- schemas.ReleaseRenderEvent.properties.type.type (Total Keys: 1)
- schemas.RolloutNotificationEvent.properties.release.type (Total Keys: 1)
- schemas.RolloutNotificationEvent.properties.rolloutUid.type (Total Keys: 1)
- schemas.RolloutUpdateEvent.properties.release.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jan 16, 2024
1 parent e203985 commit 2914a58
Show file tree
Hide file tree
Showing 9 changed files with 194 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ <h3>Method Details</h3>
<pre>Creates a new CustomTargetType in a given project and location.

Args:
parent: string, Required. The parent collection in which the `CustomTargetType` should be created in. Format should be `projects/{project_id}/locations/{location_name}`. (required)
parent: string, Required. The parent collection in which the `CustomTargetType` should be created. Format should be `projects/{project_id}/locations/{location_name}`. (required)
body: object, The request body.
The object takes the form of:

{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to a runtime that does not have a 1P integration with Cloud Deploy.
{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to other systems besides the supported runtimes.
&quot;annotations&quot;: { # Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -147,7 +147,7 @@ <h3>Method Details</h3>
}

customTargetTypeId: string, Required. ID of the `CustomTargetType`.
requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
validateOnly: boolean, Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
x__xgafv: string, V1 error format.
Allowed values
Expand Down Expand Up @@ -186,7 +186,7 @@ <h3>Method Details</h3>
name: string, Required. The name of the `CustomTargetType` to delete. Format must be `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. (required)
allowMissing: boolean, Optional. If set to true, then deleting an already deleted or non-existing `CustomTargetType` will succeed.
etag: string, Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
validateOnly: boolean, Optional. If set to true, the request is validated but no actual change is made.
x__xgafv: string, V1 error format.
Allowed values
Expand Down Expand Up @@ -231,7 +231,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to a runtime that does not have a 1P integration with Cloud Deploy.
{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to other systems besides the supported runtimes.
&quot;annotations&quot;: { # Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -288,7 +288,7 @@ <h3>Method Details</h3>

{ # The response object from `ListCustomTargetTypes.`
&quot;customTargetTypes&quot;: [ # The `CustomTargetType` objects.
{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to a runtime that does not have a 1P integration with Cloud Deploy.
{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to other systems besides the supported runtimes.
&quot;annotations&quot;: { # Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -354,7 +354,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to a runtime that does not have a 1P integration with Cloud Deploy.
{ # A `CustomTargetType` resource in the Cloud Deploy API. A `CustomTargetType` defines a type of custom target that can be referenced in a `Target` in order to facilitate deploying to other systems besides the supported runtimes.
&quot;annotations&quot;: { # Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -391,8 +391,8 @@ <h3>Method Details</h3>
}

allowMissing: boolean, Optional. If set to true, updating a `CustomTargetType` that does not exist will result in the creation of a new `CustomTargetType`.
requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `CustomTargetType` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
requestId: string, Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the `CustomTargetType` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it&#x27;s in the mask. If the user doesn&#x27;t provide a mask then all fields are overwritten.
validateOnly: boolean, Optional. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
x__xgafv: string, V1 error format.
Allowed values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ <h3>Method Details</h3>
],
&quot;selector&quot;: { # AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied. # Required. Selected resources to which the automation will be applied.
&quot;targets&quot;: [ # Contains attributes about a target.
{ # Contains criteria for selecting Targets. Attributes provided must match the target resource in order for policy restrictions to apply. E.g. if id &quot;prod&quot; and labels &quot;foo: bar&quot; are given the target resource must match both that id and have that label in order to be selected.
{ # Contains criteria for selecting Targets.
&quot;id&quot;: &quot;A String&quot;, # ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine which target is being referred to * &quot;*&quot;, all targets in a location.
&quot;labels&quot;: { # Target labels.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -388,7 +388,7 @@ <h3>Method Details</h3>
],
&quot;selector&quot;: { # AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied. # Required. Selected resources to which the automation will be applied.
&quot;targets&quot;: [ # Contains attributes about a target.
{ # Contains criteria for selecting Targets. Attributes provided must match the target resource in order for policy restrictions to apply. E.g. if id &quot;prod&quot; and labels &quot;foo: bar&quot; are given the target resource must match both that id and have that label in order to be selected.
{ # Contains criteria for selecting Targets.
&quot;id&quot;: &quot;A String&quot;, # ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine which target is being referred to * &quot;*&quot;, all targets in a location.
&quot;labels&quot;: { # Target labels.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down

0 comments on commit 2914a58

Please sign in to comment.