public static final class OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub extends AbstractBlockingStub<OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service OrganizationVpcFlowLogsService.
The VPC Flow Logs organization service in the Google Cloud Network Management API provides organization level 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 > OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
OrganizationVpcFlowLogsServiceGrpc.OrganizationVpcFlowLogsServiceBlockingV2Stub |
|
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 organization.
| Parameter | |
|---|---|
| Name | Description |
request |
ListVpcFlowLogsConfigsRequest |
| Returns | |
|---|---|
| Type | Description |
ListVpcFlowLogsConfigsResponse |
|
| 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 |
|