Sha256: 7b509d21f7d50528b5c28e08ff7c93dbaf81cad8e707105c1cc744c30f8fd671

Contents?: true

Size: 1.58 KB

Versions: 8

Compression:

Stored size: 1.58 KB

Contents

# Copyright 2020 StrongDM Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: activities.proto for package 'v1'

require "grpc"
require "activities_pb"

module V1
  module Activities
    # An Activity is a record of an action taken against a strongDM deployment, e.g.
    # a user creation, resource deletion, sso configuration change, etc. The Activities
    # service is read-only.
    class Service
      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = "v1.Activities"

      # Get reads one Activity by ID.
      rpc :Get, V1::ActivityGetRequest, V1::ActivityGetResponse
      # List gets a list of Activities matching a given set of criteria.
      # The 'before' and 'after' filters can be used to control the time
      # range of the output activities. If not provided, one week of back
      # of activities will be returned.
      rpc :List, V1::ActivityListRequest, V1::ActivityListResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
strongdm-5.0.3 ./lib/grpc/activities_services_pb.rb
strongdm-5.0.2 ./lib/grpc/activities_services_pb.rb
strongdm-5.0.1 ./lib/grpc/activities_services_pb.rb
strongdm-5.0.0 ./lib/grpc/activities_services_pb.rb
strongdm-4.8.0 ./lib/grpc/activities_services_pb.rb
strongdm-4.7.0 ./lib/grpc/activities_services_pb.rb
strongdm-4.6.1 ./lib/grpc/activities_services_pb.rb
strongdm-4.6.0 ./lib/grpc/activities_services_pb.rb