Sha256: 657ebf1fe61b285012510339a1bc76e7ebd47b4859ed47282233dbb7c0441ca6

Contents?: true

Size: 1.9 KB

Versions: 38

Compression:

Stored size: 1.9 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: accounts.proto for package 'v1'

require "grpc"
require "accounts_pb"

module V1
  module Accounts
    # Accounts are users that have access to strongDM. There are two types of accounts:
    # 1. **Users:** humans who are authenticated through username and password or SSO.
    # 2. **Service Accounts:** machines that are authenticated using a service token.
    # 3. **Tokens** are access keys with permissions that can be used for authentication.
    class Service
      include ::GRPC::GenericService

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

      # Create registers a new Account.
      rpc :Create, ::V1::AccountCreateRequest, ::V1::AccountCreateResponse
      # Get reads one Account by ID.
      rpc :Get, ::V1::AccountGetRequest, ::V1::AccountGetResponse
      # Update replaces all the fields of an Account by ID.
      rpc :Update, ::V1::AccountUpdateRequest, ::V1::AccountUpdateResponse
      # Delete removes an Account by ID.
      rpc :Delete, ::V1::AccountDeleteRequest, ::V1::AccountDeleteResponse
      # List gets a list of Accounts matching a given set of criteria.
      rpc :List, ::V1::AccountListRequest, ::V1::AccountListResponse
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
strongdm-12.4.0 ./lib/grpc/accounts_services_pb.rb
strongdm-12.2.0 ./lib/grpc/accounts_services_pb.rb
strongdm-12.1.0 ./lib/grpc/accounts_services_pb.rb
strongdm-12.0.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.23.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.22.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.21.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.20.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.18.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.17.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.16.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.15.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.14.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.13.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.12.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.11.2 ./lib/grpc/accounts_services_pb.rb
strongdm-11.11.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.10.1 ./lib/grpc/accounts_services_pb.rb
strongdm-11.10.0 ./lib/grpc/accounts_services_pb.rb
strongdm-11.9.0 ./lib/grpc/accounts_services_pb.rb