public static interface TermsOfServiceServiceGrpc.AsyncService
Service to support TermsOfService
API.
Methods
acceptTermsOfService(AcceptTermsOfServiceRequest request, StreamObserver<Empty> responseObserver)
public default void acceptTermsOfService(AcceptTermsOfServiceRequest request, StreamObserver<Empty> responseObserver)
Accepts a TermsOfService
. Executing this method requires admin access.
Parameters | |
---|---|
Name | Description |
request |
AcceptTermsOfServiceRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getTermsOfService(GetTermsOfServiceRequest request, StreamObserver<TermsOfService> responseObserver)
public default void getTermsOfService(GetTermsOfServiceRequest request, StreamObserver<TermsOfService> responseObserver)
Retrieves the TermsOfService
associated with the provided version.
Parameters | |
---|---|
Name | Description |
request |
GetTermsOfServiceRequest |
responseObserver |
io.grpc.stub.StreamObserver<TermsOfService> |
retrieveLatestTermsOfService(RetrieveLatestTermsOfServiceRequest request, StreamObserver<TermsOfService> responseObserver)
public default void retrieveLatestTermsOfService(RetrieveLatestTermsOfServiceRequest request, StreamObserver<TermsOfService> responseObserver)
Retrieves the latest version of the TermsOfService
for a given kind
and
region_code
.
Parameters | |
---|---|
Name | Description |
request |
RetrieveLatestTermsOfServiceRequest |
responseObserver |
io.grpc.stub.StreamObserver<TermsOfService> |