Method: SDM::RemoteIdentityGroups#initialize
- Defined in:
- lib/svc.rb
#initialize(host, insecure, parent) ⇒ RemoteIdentityGroups
Returns a new instance of RemoteIdentityGroups.
946 947 948 949 950 951 952 953 954 955 956 957 958 |
# File 'lib/svc.rb', line 946 def initialize(host, insecure, parent) begin if insecure @stub = V1::RemoteIdentityGroups::Stub.new(host, :this_channel_is_insecure) else cred = GRPC::Core::ChannelCredentials.new() @stub = V1::RemoteIdentityGroups::Stub.new(host, cred) end rescue => exception raise Plumbing::convert_error_to_porcelain(exception) end @parent = parent end |