Skip to content

Commit 3a238fe

Browse files
chore: generate libraries at Mon Jan 13 02:28:29 UTC 2025
1 parent 1dbe5ea commit 3a238fe

File tree

80 files changed

+24016
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+24016
-4
lines changed

java-network-management/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
4242
<dependency>
4343
<groupId>com.google.cloud</groupId>
4444
<artifactId>google-cloud-network-management</artifactId>
45-
<version>1.56.0</version>
45+
<version>1.57.0</version>
4646
</dependency>
4747
```
4848

4949
If you are using Gradle without BOM, add this to your dependencies:
5050

5151
```Groovy
52-
implementation 'com.google.cloud:google-cloud-network-management:1.56.0'
52+
implementation 'com.google.cloud:google-cloud-network-management:1.57.0'
5353
```
5454

5555
If you are using SBT, add this to your dependencies:
5656

5757
```Scala
58-
libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.56.0"
58+
libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.57.0"
5959
```
6060

6161
## Authentication
@@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
194194
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
195195
[stability-image]: https://img.shields.io/badge/stability-stable-green
196196
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-management.svg
197-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.56.0
197+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.57.0
198198
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
199199
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
200200
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/VpcFlowLogsServiceClient.java

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

java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/VpcFlowLogsServiceSettings.java

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

java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/gapic_metadata.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,45 @@
4646
}
4747
}
4848
}
49+
},
50+
"VpcFlowLogsService": {
51+
"clients": {
52+
"grpc": {
53+
"libraryClient": "VpcFlowLogsServiceClient",
54+
"rpcs": {
55+
"CreateVpcFlowLogsConfig": {
56+
"methods": ["createVpcFlowLogsConfigAsync", "createVpcFlowLogsConfigAsync", "createVpcFlowLogsConfigAsync", "createVpcFlowLogsConfigAsync", "createVpcFlowLogsConfigAsync", "createVpcFlowLogsConfigOperationCallable", "createVpcFlowLogsConfigCallable"]
57+
},
58+
"DeleteVpcFlowLogsConfig": {
59+
"methods": ["deleteVpcFlowLogsConfigAsync", "deleteVpcFlowLogsConfigAsync", "deleteVpcFlowLogsConfigAsync", "deleteVpcFlowLogsConfigOperationCallable", "deleteVpcFlowLogsConfigCallable"]
60+
},
61+
"GetIamPolicy": {
62+
"methods": ["getIamPolicy", "getIamPolicyCallable"]
63+
},
64+
"GetLocation": {
65+
"methods": ["getLocation", "getLocationCallable"]
66+
},
67+
"GetVpcFlowLogsConfig": {
68+
"methods": ["getVpcFlowLogsConfig", "getVpcFlowLogsConfig", "getVpcFlowLogsConfig", "getVpcFlowLogsConfigCallable"]
69+
},
70+
"ListLocations": {
71+
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
72+
},
73+
"ListVpcFlowLogsConfigs": {
74+
"methods": ["listVpcFlowLogsConfigs", "listVpcFlowLogsConfigs", "listVpcFlowLogsConfigs", "listVpcFlowLogsConfigsPagedCallable", "listVpcFlowLogsConfigsCallable"]
75+
},
76+
"SetIamPolicy": {
77+
"methods": ["setIamPolicy", "setIamPolicyCallable"]
78+
},
79+
"TestIamPermissions": {
80+
"methods": ["testIamPermissions", "testIamPermissionsCallable"]
81+
},
82+
"UpdateVpcFlowLogsConfig": {
83+
"methods": ["updateVpcFlowLogsConfigAsync", "updateVpcFlowLogsConfigAsync", "updateVpcFlowLogsConfigOperationCallable", "updateVpcFlowLogsConfigCallable"]
84+
}
85+
}
86+
}
87+
}
4988
}
5089
}
5190
}

java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/package-info.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,27 @@
4343
* ConnectivityTest response = reachabilityServiceClient.getConnectivityTest(name);
4444
* }
4545
* }</pre>
46+
*
47+
* <p>======================= VpcFlowLogsServiceClient =======================
48+
*
49+
* <p>Service Description: The VPC Flow Logs service in the Google Cloud Network Management API
50+
* provides configurations that generate Flow Logs. The service and the configuration resources
51+
* created using this service are global.
52+
*
53+
* <p>Sample for VpcFlowLogsServiceClient:
54+
*
55+
* <pre>{@code
56+
* // This snippet has been automatically generated and should be regarded as a code template only.
57+
* // It will require modifications to work:
58+
* // - It may require correct/in-range values for request initialization.
59+
* // - It may require specifying regional endpoints when creating the service client as shown in
60+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
61+
* try (VpcFlowLogsServiceClient vpcFlowLogsServiceClient = VpcFlowLogsServiceClient.create()) {
62+
* VpcFlowLogsConfigName name =
63+
* VpcFlowLogsConfigName.of("[PROJECT]", "[LOCATION]", "[VPC_FLOW_LOGS_CONFIG]");
64+
* VpcFlowLogsConfig response = vpcFlowLogsServiceClient.getVpcFlowLogsConfig(name);
65+
* }
66+
* }</pre>
4667
*/
4768
@Generated("by gapic-generator-java")
4869
package com.google.cloud.networkmanagement.v1;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
/*
2+
* Copyright 2025 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package com.google.cloud.networkmanagement.v1.stub;
18+
19+
import com.google.api.gax.grpc.GrpcCallSettings;
20+
import com.google.api.gax.grpc.GrpcCallableFactory;
21+
import com.google.api.gax.grpc.GrpcStubCallableFactory;
22+
import com.google.api.gax.rpc.BatchingCallSettings;
23+
import com.google.api.gax.rpc.BidiStreamingCallable;
24+
import com.google.api.gax.rpc.ClientContext;
25+
import com.google.api.gax.rpc.ClientStreamingCallable;
26+
import com.google.api.gax.rpc.OperationCallSettings;
27+
import com.google.api.gax.rpc.OperationCallable;
28+
import com.google.api.gax.rpc.PagedCallSettings;
29+
import com.google.api.gax.rpc.ServerStreamingCallSettings;
30+
import com.google.api.gax.rpc.ServerStreamingCallable;
31+
import com.google.api.gax.rpc.StreamingCallSettings;
32+
import com.google.api.gax.rpc.UnaryCallSettings;
33+
import com.google.api.gax.rpc.UnaryCallable;
34+
import com.google.longrunning.Operation;
35+
import com.google.longrunning.stub.OperationsStub;
36+
import javax.annotation.Generated;
37+
38+
// AUTO-GENERATED DOCUMENTATION AND CLASS.
39+
/**
40+
* gRPC callable factory implementation for the VpcFlowLogsService service API.
41+
*
42+
* <p>This class is for advanced usage.
43+
*/
44+
@Generated("by gapic-generator-java")
45+
public class GrpcVpcFlowLogsServiceCallableFactory implements GrpcStubCallableFactory {
46+
47+
@Override
48+
public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createUnaryCallable(
49+
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
50+
UnaryCallSettings<RequestT, ResponseT> callSettings,
51+
ClientContext clientContext) {
52+
return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext);
53+
}
54+
55+
@Override
56+
public <RequestT, ResponseT, PagedListResponseT>
57+
UnaryCallable<RequestT, PagedListResponseT> createPagedCallable(
58+
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
59+
PagedCallSettings<RequestT, ResponseT, PagedListResponseT> callSettings,
60+
ClientContext clientContext) {
61+
return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext);
62+
}
63+
64+
@Override
65+
public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCallable(
66+
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
67+
BatchingCallSettings<RequestT, ResponseT> callSettings,
68+
ClientContext clientContext) {
69+
return GrpcCallableFactory.createBatchingCallable(
70+
grpcCallSettings, callSettings, clientContext);
71+
}
72+
73+
@Override
74+
public <RequestT, ResponseT, MetadataT>
75+
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
76+
GrpcCallSettings<RequestT, Operation> grpcCallSettings,
77+
OperationCallSettings<RequestT, ResponseT, MetadataT> callSettings,
78+
ClientContext clientContext,
79+
OperationsStub operationsStub) {
80+
return GrpcCallableFactory.createOperationCallable(
81+
grpcCallSettings, callSettings, clientContext, operationsStub);
82+
}
83+
84+
@Override
85+
public <RequestT, ResponseT>
86+
BidiStreamingCallable<RequestT, ResponseT> createBidiStreamingCallable(
87+
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
88+
StreamingCallSettings<RequestT, ResponseT> callSettings,
89+
ClientContext clientContext) {
90+
return GrpcCallableFactory.createBidiStreamingCallable(
91+
grpcCallSettings, callSettings, clientContext);
92+
}
93+
94+
@Override
95+
public <RequestT, ResponseT>
96+
ServerStreamingCallable<RequestT, ResponseT> createServerStreamingCallable(
97+
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
98+
ServerStreamingCallSettings<RequestT, ResponseT> callSettings,
99+
ClientContext clientContext) {
100+
return GrpcCallableFactory.createServerStreamingCallable(
101+
grpcCallSettings, callSettings, clientContext);
102+
}
103+
104+
@Override
105+
public <RequestT, ResponseT>
106+
ClientStreamingCallable<RequestT, ResponseT> createClientStreamingCallable(
107+
GrpcCallSettings<RequestT, ResponseT> grpcCallSettings,
108+
StreamingCallSettings<RequestT, ResponseT> callSettings,
109+
ClientContext clientContext) {
110+
return GrpcCallableFactory.createClientStreamingCallable(
111+
grpcCallSettings, callSettings, clientContext);
112+
}
113+
}

0 commit comments

Comments
 (0)