Skip to content

Commit a79ccb6

Browse files
Google APIscopybara-github
authored andcommitted
feat: add instances client library
docs: add instances description PiperOrigin-RevId: 856756379
1 parent 75fccab commit a79ccb6

File tree

5 files changed

+481
-1
lines changed

5 files changed

+481
-1
lines changed

google/cloud/run/v2/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ proto_library(
2626
srcs = [
2727
"build.proto",
2828
"condition.proto",
29+
"container_status.proto",
2930
"execution.proto",
3031
"execution_template.proto",
32+
"instance.proto",
3133
"instance_split.proto",
3234
"job.proto",
3335
"k8s.min.proto",
@@ -120,6 +122,8 @@ java_gapic_test(
120122
"com.google.cloud.run.v2.BuildsClientTest",
121123
"com.google.cloud.run.v2.ExecutionsClientHttpJsonTest",
122124
"com.google.cloud.run.v2.ExecutionsClientTest",
125+
"com.google.cloud.run.v2.InstancesClientHttpJsonTest",
126+
"com.google.cloud.run.v2.InstancesClientTest",
123127
"com.google.cloud.run.v2.JobsClientHttpJsonTest",
124128
"com.google.cloud.run.v2.JobsClientTest",
125129
"com.google.cloud.run.v2.RevisionsClientHttpJsonTest",
@@ -383,7 +387,6 @@ load(
383387

384388
csharp_proto_library(
385389
name = "run_csharp_proto",
386-
extra_opts = [],
387390
deps = [":run_proto"],
388391
)
389392

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Copyright 2026 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
package google.cloud.run.v2;
18+
19+
option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb";
20+
option java_multiple_files = true;
21+
option java_outer_classname = "ContainerStatusProto";
22+
option java_package = "com.google.cloud.run.v2";
23+
24+
// ContainerStatus holds the information of container name and image digest
25+
// value.
26+
message ContainerStatus {
27+
// The name of the container, if specified.
28+
string name = 1;
29+
30+
// ImageDigest holds the resolved digest for the image specified and resolved
31+
// during the creation of Revision. This field holds the digest value
32+
// regardless of whether a tag or digest was originally specified in the
33+
// Container object.
34+
string image_digest = 2;
35+
}

0 commit comments

Comments
 (0)