Skip to content

Commit 2fb6228

Browse files
authored
Add Container Analysis v1 service (#5364)
* Add Container Analysis v1 service * Regenerate with 0.22.0 version of artman * Add containeranalysis v1 artifacts to bom * Fix dependency in grpc-google-cloud-containeranalysis-v1
1 parent 6732e11 commit 2fb6228

27 files changed

Lines changed: 3595 additions & 8 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<artifactId>grpc-google-cloud-containeranalysis-v1</artifactId>
6+
<version>0.59.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-containeranalysis-v1:current} -->
7+
<name>grpc-google-cloud-containeranalysis-v1</name>
8+
<description>GRPC library for grpc-google-cloud-containeranalysis-v1</description>
9+
<parent>
10+
<groupId>com.google.api.grpc</groupId>
11+
<artifactId>google-api-grpc</artifactId>
12+
<version>0.59.1-SNAPSHOT</version><!-- {x-version-update:google-api-grpc:current} -->
13+
</parent>
14+
<dependencies>
15+
<dependency>
16+
<groupId>io.grpc</groupId>
17+
<artifactId>grpc-stub</artifactId>
18+
<scope>compile</scope>
19+
</dependency>
20+
<dependency>
21+
<groupId>io.grpc</groupId>
22+
<artifactId>grpc-protobuf</artifactId>
23+
<scope>compile</scope>
24+
</dependency>
25+
<dependency>
26+
<groupId>com.google.api.grpc</groupId>
27+
<artifactId>proto-google-cloud-containeranalysis-v1</artifactId>
28+
<scope>compile</scope>
29+
</dependency>
30+
</dependencies>
31+
<reporting>
32+
<plugins>
33+
<plugin>
34+
<groupId>org.apache.maven.plugins</groupId>
35+
<artifactId>maven-javadoc-plugin</artifactId>
36+
<version>3.1.0</version>
37+
<configuration>
38+
<show>protected</show>
39+
<nohelp>true</nohelp>
40+
<doclint>none</doclint>
41+
<splitindex>true</splitindex>
42+
<offlineLinks>
43+
<offlineLink>
44+
<url>${project.javadoc.protobufBaseURL}</url>
45+
<location>../../../../proto-google-cloud-containeranalysis-v1/target/site/apidocs/</location>
46+
</offlineLink>
47+
</offlineLinks>
48+
</configuration>
49+
</plugin>
50+
</plugins>
51+
</reporting>
52+
</project>

google-api-grpc/grpc-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/ContainerAnalysisGrpc.java

Lines changed: 702 additions & 0 deletions
Large diffs are not rendered by default.

google-api-grpc/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,16 @@
220220
<artifactId>grpc-google-cloud-container-v1</artifactId>
221221
<version>0.59.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-container-v1:current} -->
222222
</dependency>
223+
<dependency>
224+
<groupId>com.google.api.grpc</groupId>
225+
<artifactId>proto-google-cloud-containeranalysis-v1</artifactId>
226+
<version>0.59.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-containeranalysis-v1:current} -->
227+
</dependency>
228+
<dependency>
229+
<groupId>com.google.api.grpc</groupId>
230+
<artifactId>grpc-google-cloud-containeranalysis-v1</artifactId>
231+
<version>0.59.1-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-containeranalysis-v1:current} -->
232+
</dependency>
223233
<dependency>
224234
<groupId>com.google.api.grpc</groupId>
225235
<artifactId>proto-google-cloud-containeranalysis-v1beta1</artifactId>
@@ -807,6 +817,7 @@
807817
<module>grpc-google-cloud-bigtable-admin-v2</module>
808818
<module>grpc-google-cloud-bigtable-v2</module>
809819
<module>grpc-google-cloud-container-v1</module>
820+
<module>grpc-google-cloud-containeranalysis-v1</module>
810821
<module>grpc-google-cloud-containeranalysis-v1beta1</module>
811822
<module>grpc-google-cloud-datacatalog-v1beta1</module>
812823
<module>grpc-google-cloud-datalabeling-v1beta1</module>
@@ -873,6 +884,7 @@
873884
<module>proto-google-cloud-bigtable-admin-v2</module>
874885
<module>proto-google-cloud-bigtable-v2</module>
875886
<module>proto-google-cloud-container-v1</module>
887+
<module>proto-google-cloud-containeranalysis-v1</module>
876888
<module>proto-google-cloud-containeranalysis-v1beta1</module>
877889
<module>proto-google-cloud-datacatalog-v1beta1</module>
878890
<module>proto-google-cloud-datalabeling-v1beta1</module>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<artifactId>proto-google-cloud-containeranalysis-v1</artifactId>
6+
<version>0.59.1-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-containeranalysis-v1:current} -->
7+
<name>proto-google-cloud-containeranalysis-v1</name>
8+
<description>PROTO library for proto-google-cloud-containeranalysis-v1</description>
9+
<parent>
10+
<groupId>com.google.api.grpc</groupId>
11+
<artifactId>google-api-grpc</artifactId>
12+
<version>0.59.1-SNAPSHOT</version><!-- {x-version-update:google-api-grpc:current} -->
13+
</parent>
14+
<dependencies>
15+
<dependency>
16+
<groupId>com.google.protobuf</groupId>
17+
<artifactId>protobuf-java</artifactId>
18+
<scope>compile</scope>
19+
</dependency>
20+
<dependency>
21+
<groupId>com.google.api</groupId>
22+
<artifactId>api-common</artifactId>
23+
<scope>compile</scope>
24+
</dependency>
25+
<dependency>
26+
<groupId>com.google.api.grpc</groupId>
27+
<artifactId>proto-google-common-protos</artifactId>
28+
<scope>compile</scope>
29+
</dependency>
30+
<dependency>
31+
<groupId>com.google.api.grpc</groupId>
32+
<artifactId>proto-google-iam-v1</artifactId>
33+
<scope>compile</scope>
34+
</dependency>
35+
</dependencies>
36+
</project>

google-api-grpc/proto-google-cloud-containeranalysis-v1/src/main/java/com/google/containeranalysis/v1/Containeranalysis.java

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright 2018 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. 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 distributed under the License
10+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11+
* or implied. See the License for the specific language governing permissions and limitations under
12+
* the License.
13+
*/
14+
15+
package com.google.containeranalysis.v1;
16+
17+
import com.google.api.resourcenames.ResourceName;
18+
19+
// AUTO-GENERATED DOCUMENTATION AND CLASS
20+
@javax.annotation.Generated("by GAPIC protoc plugin")
21+
public abstract class IamResourceName implements ResourceName {
22+
protected IamResourceName() {}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright 2018 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5+
* in compliance with the License. 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 distributed under the License
10+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11+
* or implied. See the License for the specific language governing permissions and limitations under
12+
* the License.
13+
*/
14+
15+
package com.google.containeranalysis.v1;
16+
17+
// AUTO-GENERATED DOCUMENTATION AND CLASS
18+
@javax.annotation.Generated("by GAPIC protoc plugin")
19+
public class IamResourceNames {
20+
private IamResourceNames() {}
21+
22+
public static IamResourceName parse(String resourceNameString) {
23+
if (NoteName.isParsableFrom(resourceNameString)) {
24+
return NoteName.parse(resourceNameString);
25+
}
26+
if (OccurrenceName.isParsableFrom(resourceNameString)) {
27+
return OccurrenceName.parse(resourceNameString);
28+
}
29+
return UntypedIamResourceName.parse(resourceNameString);
30+
}
31+
}

0 commit comments

Comments
 (0)