Close httplib2 connections.
Gets details of a single JobRun.
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists JobRuns in a given project and location.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets details of a single JobRun. Args: name: string, Required. Name of the `JobRun`. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A `JobRun` resource in the Google Cloud Deploy API. A `JobRun` contains information of a single `Rollout` job evaluation. "createTime": "A String", # Output only. Time at which the `JobRun` was created. "deployJobRun": { # DeployJobRun contains information specific to a deploy `JobRun`. # Output only. Information specific to a deploy `JobRun`. "build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}. "failureCause": "A String", # Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the deploy failure, if available. }, "endTime": "A String", # Output only. Time at which the `JobRun` ended. "etag": "A String", # Output only. 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. "jobId": "A String", # Output only. ID of the `Rollout` job this `JobRun` corresponds to. "name": "A String", # Optional. Name of the `JobRun`. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ {rollouts}/jobRuns/{uuid}. "phaseId": "A String", # Output only. ID of the `Rollout` phase this `JobRun` belongs in. "startTime": "A String", # Output only. Time at which the `JobRun` was started. "state": "A String", # Output only. The current state of the `JobRun`. "uid": "A String", # Output only. Unique identifier of the `JobRun`. "verifyJobRun": { # VerifyJobRun contains information specific to a verify `JobRun`. # Output only. Information specific to a verify `JobRun`. "artifactUri": "A String", # Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log. "build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to verify. Format is projects/{project}/locations/{location}/builds/{build}. "eventLogPath": "A String", # Output only. File path of the Skaffold event log relative to the artifact URI. "failureCause": "A String", # Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the verify failure, if available. }, }
list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists JobRuns in a given project and location. Args: parent: string, Required. The `Rollout` which owns this collection of `JobRun` objects. (required) filter: string, Optional. Filter results to be returned. See https://google.aip.dev/160 for more details. orderBy: string, Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. pageSize: integer, Optional. The maximum number of `JobRun` objects to return. The service may return fewer than this value. If unspecified, at most 50 `JobRun` objects will be returned. The maximum value is 1000; values above 1000 will be set to 1000. pageToken: string, Optional. A page token, received from a previous `ListJobRuns` call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # ListJobRunsResponse is the response object returned by `ListJobRuns`. "jobRuns": [ # The `JobRun` objects. { # A `JobRun` resource in the Google Cloud Deploy API. A `JobRun` contains information of a single `Rollout` job evaluation. "createTime": "A String", # Output only. Time at which the `JobRun` was created. "deployJobRun": { # DeployJobRun contains information specific to a deploy `JobRun`. # Output only. Information specific to a deploy `JobRun`. "build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to deploy. Format is projects/{project}/locations/{location}/builds/{build}. "failureCause": "A String", # Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the deploy failure, if available. }, "endTime": "A String", # Output only. Time at which the `JobRun` ended. "etag": "A String", # Output only. 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. "jobId": "A String", # Output only. ID of the `Rollout` job this `JobRun` corresponds to. "name": "A String", # Optional. Name of the `JobRun`. Format is projects/{project}/locations/{location}/ deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ {rollouts}/jobRuns/{uuid}. "phaseId": "A String", # Output only. ID of the `Rollout` phase this `JobRun` belongs in. "startTime": "A String", # Output only. Time at which the `JobRun` was started. "state": "A String", # Output only. The current state of the `JobRun`. "uid": "A String", # Output only. Unique identifier of the `JobRun`. "verifyJobRun": { # VerifyJobRun contains information specific to a verify `JobRun`. # Output only. Information specific to a verify `JobRun`. "artifactUri": "A String", # Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log. "build": "A String", # Output only. The resource name of the Cloud Build `Build` object that is used to verify. Format is projects/{project}/locations/{location}/builds/{build}. "eventLogPath": "A String", # Output only. File path of the Skaffold event log relative to the artifact URI. "failureCause": "A String", # Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded. "failureMessage": "A String", # Output only. Additional information about the verify failure, if available. }, }, ], "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. "unreachable": [ # Locations that could not be reached "A String", ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.