Class AddressGroupServiceGrpc.AddressGroupServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AddressGroupServiceGrpc.AddressGroupServiceBlockingV2Stub>
com.google.cloud.networksecurity.v1.AddressGroupServiceGrpc.AddressGroupServiceBlockingV2Stub
- Enclosing class:
- AddressGroupServiceGrpc
public static final class AddressGroupServiceGrpc.AddressGroupServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<AddressGroupServiceGrpc.AddressGroupServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AddressGroupService.
AddressGroup is a resource that manages a collection of IP or Domain Names, it can be used in Firewall Policy to represent allow or deny traffic from all the IP or Domain Names from the Address Group.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionAdds items to an address group.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Clones items from one address group to another.Creates a new address group in a given project and location.Deletes a single address group.getAddressGroup(GetAddressGroupRequest request) Gets details of a single address group.Lists references of an address group.Lists address groups in a given project and location.Removes items from an address group.Updates the parameters of a single address group.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AddressGroupServiceGrpc.AddressGroupServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AddressGroupServiceGrpc.AddressGroupServiceBlockingV2Stub>
-
listAddressGroups
public ListAddressGroupsResponse listAddressGroups(ListAddressGroupsRequest request) throws io.grpc.StatusException Lists address groups in a given project and location.
- Throws:
io.grpc.StatusException
-
getAddressGroup
Gets details of a single address group.
- Throws:
io.grpc.StatusException
-
createAddressGroup
public Operation createAddressGroup(CreateAddressGroupRequest request) throws io.grpc.StatusException Creates a new address group in a given project and location.
- Throws:
io.grpc.StatusException
-
updateAddressGroup
public Operation updateAddressGroup(UpdateAddressGroupRequest request) throws io.grpc.StatusException Updates the parameters of a single address group.
- Throws:
io.grpc.StatusException
-
addAddressGroupItems
public Operation addAddressGroupItems(AddAddressGroupItemsRequest request) throws io.grpc.StatusException Adds items to an address group.
- Throws:
io.grpc.StatusException
-
removeAddressGroupItems
public Operation removeAddressGroupItems(RemoveAddressGroupItemsRequest request) throws io.grpc.StatusException Removes items from an address group.
- Throws:
io.grpc.StatusException
-
cloneAddressGroupItems
public Operation cloneAddressGroupItems(CloneAddressGroupItemsRequest request) throws io.grpc.StatusException Clones items from one address group to another.
- Throws:
io.grpc.StatusException
-
deleteAddressGroup
public Operation deleteAddressGroup(DeleteAddressGroupRequest request) throws io.grpc.StatusException Deletes a single address group.
- Throws:
io.grpc.StatusException
-
listAddressGroupReferences
public ListAddressGroupReferencesResponse listAddressGroupReferences(ListAddressGroupReferencesRequest request) throws io.grpc.StatusException Lists references of an address group.
- Throws:
io.grpc.StatusException
-