public static final class VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingV2Stub extends AbstractBlockingStub<VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service VpcFlowLogsService.
The VPC Flow Logs service in the Google Cloud Network Management API provides configurations that generate Flow Logs. The service and the configuration resources created using this service are global.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
VpcFlowLogsServiceGrpc.VpcFlowLogsServiceBlockingV2Stub |
|
createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request)
public Operation createVpcFlowLogsConfig(CreateVpcFlowLogsConfigRequest request) Creates a new VpcFlowLogsConfig.
If a configuration with the exact same settings already exists (even if the
ID is different), the creation fails.
Notes:
- Creating a configuration with
state=DISABLEDwill fail - The following fields are not considered as settings for the purpose
of the check mentioned above, therefore - creating another configuration
with the same fields but different values for the following fields will
fail as well:
- name
- create_time
- update_time
- labels
- description
| Parameter | |
|---|---|
| Name | Description |
request |
CreateVpcFlowLogsConfigRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request)
public Operation deleteVpcFlowLogsConfig(DeleteVpcFlowLogsConfigRequest request) Deletes a specific VpcFlowLogsConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteVpcFlowLogsConfigRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request)
public VpcFlowLogsConfig getVpcFlowLogsConfig(GetVpcFlowLogsConfigRequest request) Gets the details of a specific VpcFlowLogsConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
GetVpcFlowLogsConfigRequest |
| Returns | |
|---|---|
| Type | Description |
VpcFlowLogsConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request)
public ListVpcFlowLogsConfigsResponse listVpcFlowLogsConfigs(ListVpcFlowLogsConfigsRequest request) Lists all VpcFlowLogsConfigs in a given project.
| Parameter | |
|---|---|
| Name | Description |
request |
ListVpcFlowLogsConfigsRequest |
| Returns | |
|---|---|
| Type | Description |
ListVpcFlowLogsConfigsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
queryOrgVpcFlowLogsConfigs(QueryOrgVpcFlowLogsConfigsRequest request)
public QueryOrgVpcFlowLogsConfigsResponse queryOrgVpcFlowLogsConfigs(QueryOrgVpcFlowLogsConfigsRequest request)QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow Logs configurations applicable to the specified project.
| Parameter | |
|---|---|
| Name | Description |
request |
QueryOrgVpcFlowLogsConfigsRequest |
| Returns | |
|---|---|
| Type | Description |
QueryOrgVpcFlowLogsConfigsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
showEffectiveFlowLogsConfigs(ShowEffectiveFlowLogsConfigsRequest request)
public ShowEffectiveFlowLogsConfigsResponse showEffectiveFlowLogsConfigs(ShowEffectiveFlowLogsConfigsRequest request)ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs configurations applicable to a specified resource.
| Parameter | |
|---|---|
| Name | Description |
request |
ShowEffectiveFlowLogsConfigsRequest |
| Returns | |
|---|---|
| Type | Description |
ShowEffectiveFlowLogsConfigsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request)
public Operation updateVpcFlowLogsConfig(UpdateVpcFlowLogsConfigRequest request) Updates an existing VpcFlowLogsConfig.
If a configuration with the exact same settings already exists (even if the
ID is different), the creation fails.
Notes:
- Updating a configuration with
state=DISABLEDwill fail - The following fields are not considered as settings for the purpose
of the check mentioned above, therefore - updating another configuration
with the same fields but different values for the following fields will
fail as well:
- name
- create_time
- update_time
- labels
- description
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateVpcFlowLogsConfigRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|