Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2d0378a

Browse files
committedJan 28, 2025
feat(run): update the api
#### run:v1 The following keys were added: - schemas.GoogleDevtoolsCloudbuildV1Artifacts.properties.goModules (Total Keys: 2) - schemas.GoogleDevtoolsCloudbuildV1BuildOptions.properties.enableStructuredLogging.type (Total Keys: 1) - schemas.GoogleDevtoolsCloudbuildV1GoModule (Total Keys: 8) - schemas.GoogleDevtoolsCloudbuildV1Results.properties.goModules (Total Keys: 2) - schemas.GoogleDevtoolsCloudbuildV1UploadedGoModule (Total Keys: 6) #### run:v2 The following keys were added: - schemas.GoogleCloudRunV2BuildConfig (Total Keys: 13) - schemas.GoogleCloudRunV2BuildInfo (Total Keys: 6) - schemas.GoogleCloudRunV2Container.properties.baseImageUri.type (Total Keys: 1) - schemas.GoogleCloudRunV2Container.properties.buildInfo (Total Keys: 2) - schemas.GoogleCloudRunV2Execution.properties.creator (Total Keys: 2) - schemas.GoogleCloudRunV2Service.properties.buildConfig.$ref (Total Keys: 1) - schemas.GoogleDevtoolsCloudbuildV1Artifacts.properties.goModules (Total Keys: 2) - schemas.GoogleDevtoolsCloudbuildV1BuildOptions.properties.enableStructuredLogging.type (Total Keys: 1) - schemas.GoogleDevtoolsCloudbuildV1GoModule (Total Keys: 8) - schemas.GoogleDevtoolsCloudbuildV1Results.properties.goModules (Total Keys: 2) - schemas.GoogleDevtoolsCloudbuildV1UploadedGoModule (Total Keys: 6)
1 parent 3dbb550 commit 2d0378a

11 files changed

+1165
-13
lines changed
 

‎docs/dyn/run_v2.projects.locations.builds.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h3>Method Details</h3>
9797

9898
{ # Request message for submitting a Build.
9999
&quot;buildpackBuild&quot;: { # Build the source using Buildpacks. # Build the source using Buildpacks.
100-
&quot;baseImage&quot;: &quot;A String&quot;, # Optional. The base image used to opt into automatic base image updates.
100+
&quot;baseImage&quot;: &quot;A String&quot;, # Optional. The base image to use for the build.
101101
&quot;cacheImageUri&quot;: &quot;A String&quot;, # Optional. cache_image_uri is the GCR/AR URL where the cache image will be stored. cache_image_uri is optional and omitting it will disable caching. This URL must be stable across builds. It is used to derive a build-specific temporary URL by substituting the tag with the build ID. The build will clean up the temporary image on a best-effort basis.
102102
&quot;enableAutomaticUpdates&quot;: True or False, # Optional. Whether or not the application container will be enrolled in automatic base image updates. When true, the application will be built on a scratch base image, so the base layers can be appended at run time.
103103
&quot;environmentVariables&quot;: { # Optional. User-provided build-time environment variables.

‎docs/dyn/run_v2.projects.locations.html

+5
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ <h2>Instance Methods</h2>
9494
</p>
9595
<p class="firstline">Returns the services Resource.</p>
9696

97+
<p class="toc_element">
98+
<code><a href="run_v2.projects.locations.workerPools.html">workerPools()</a></code>
99+
</p>
100+
<p class="firstline">Returns the workerPools Resource.</p>
101+
97102
<p class="toc_element">
98103
<code><a href="#close">close()</a></code></p>
99104
<p class="firstline">Close httplib2 connections.</p>

‎docs/dyn/run_v2.projects.locations.jobs.executions.html

+15-3
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ <h3>Method Details</h3>
207207
&quot;exportJobState&quot;: &quot;A String&quot;, # Output only. Has the image export job finished (regardless of successful or failure).
208208
&quot;exportedImageDigest&quot;: &quot;A String&quot;, # The exported image ID as it will appear in Artifact Registry.
209209
&quot;status&quot;: { # Wire-format for a Status object # The status of the export task if done.
210-
&quot;canonicalCode&quot;: 42, # The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be.
211-
&quot;code&quot;: 42, # Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto
210+
&quot;canonicalCode&quot;: 42, # The canonical error code (see codes.proto) that most closely corresponds to this status. This may be missing, and in the common case of the generic space, it definitely will be. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;
211+
&quot;code&quot;: 42, # Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;
212212
&quot;message&quot;: &quot;A String&quot;, # Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;
213213
&quot;messageSet&quot;: { # This is proto2&#x27;s version of MessageSet. # message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;
214214
},
215-
&quot;space&quot;: &quot;A String&quot;, # The following are usually only present when code != 0 Space to which this status belongs
215+
&quot;space&quot;: &quot;A String&quot;, # The following are usually only present when code != 0 Space to which this status belongs copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string space = 2;
216216
},
217217
&quot;tag&quot;: &quot;A String&quot;, # The image tag as it will appear in Artifact Registry.
218218
},
@@ -255,6 +255,7 @@ <h3>Method Details</h3>
255255
},
256256
],
257257
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
258+
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of the authenticated creator.
258259
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
259260
&quot;etag&quot;: &quot;A String&quot;, # Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
260261
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
@@ -282,6 +283,11 @@ <h3>Method Details</h3>
282283
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
283284
&quot;A String&quot;,
284285
],
286+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
287+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
288+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
289+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
290+
},
285291
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
286292
&quot;A String&quot;,
287293
],
@@ -469,6 +475,7 @@ <h3>Method Details</h3>
469475
},
470476
],
471477
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
478+
&quot;creator&quot;: &quot;A String&quot;, # Output only. Email address of the authenticated creator.
472479
&quot;deleteTime&quot;: &quot;A String&quot;, # Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
473480
&quot;etag&quot;: &quot;A String&quot;, # Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
474481
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
@@ -496,6 +503,11 @@ <h3>Method Details</h3>
496503
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
497504
&quot;A String&quot;,
498505
],
506+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
507+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
508+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
509+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
510+
},
499511
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
500512
&quot;A String&quot;,
501513
],

‎docs/dyn/run_v2.projects.locations.jobs.executions.tasks.html

+10
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ <h3>Method Details</h3>
128128
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
129129
&quot;A String&quot;,
130130
],
131+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
132+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
133+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
134+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
135+
},
131136
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
132137
&quot;A String&quot;,
133138
],
@@ -349,6 +354,11 @@ <h3>Method Details</h3>
349354
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
350355
&quot;A String&quot;,
351356
],
357+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
358+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
359+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
360+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
361+
},
352362
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
353363
&quot;A String&quot;,
354364
],

‎docs/dyn/run_v2.projects.locations.jobs.html

+20
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ <h3>Method Details</h3>
190190
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
191191
&quot;A String&quot;,
192192
],
193+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
194+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
195+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
196+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
197+
},
193198
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
194199
&quot;A String&quot;,
195200
],
@@ -494,6 +499,11 @@ <h3>Method Details</h3>
494499
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
495500
&quot;A String&quot;,
496501
],
502+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
503+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
504+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
505+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
506+
},
497507
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
498508
&quot;A String&quot;,
499509
],
@@ -784,6 +794,11 @@ <h3>Method Details</h3>
784794
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
785795
&quot;A String&quot;,
786796
],
797+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
798+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
799+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
800+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
801+
},
787802
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
788803
&quot;A String&quot;,
789804
],
@@ -1033,6 +1048,11 @@ <h3>Method Details</h3>
10331048
&quot;args&quot;: [ # Arguments to the entrypoint. The docker image&#x27;s CMD is used if this is not provided.
10341049
&quot;A String&quot;,
10351050
],
1051+
&quot;baseImageUri&quot;: &quot;A String&quot;, # Base image for this container. Only supported for services. If set. it indicates that the service is enrolled into automatic base image update.
1052+
&quot;buildInfo&quot;: { # Build information of the image. # Output only. The build info of the container image.
1053+
&quot;functionTarget&quot;: &quot;A String&quot;, # Output only. Entry point of the function when the image is a Cloud Run function.
1054+
&quot;sourceLocation&quot;: &quot;A String&quot;, # Output only. Source code location of the image.
1055+
},
10361056
&quot;command&quot;: [ # Entrypoint array. Not executed within a shell. The docker image&#x27;s ENTRYPOINT is used if this is not provided.
10371057
&quot;A String&quot;,
10381058
],

0 commit comments

Comments
 (0)
Please sign in to comment.