Class: GatewayResourceProfile
- Inherits:
-
Object
- Object
- GatewayResourceProfile
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gateway_resource_profile_model_types.rb
Overview
Gateway Resource Profile
gatewayID:
Unique identifier for the gateway assigned by Airavata. Corelate this to Airavata Admin API Gateway Registration.
credentialStoreToken:
Gateway's defualt credential store token.
computeResourcePreferences:
List of resource preferences for each of the registered compute resources.
identityServerTenant:
identityServerPwdCredToken:
Constant Summary collapse
- GATEWAYID =
1
- CREDENTIALSTORETOKEN =
2
- COMPUTERESOURCEPREFERENCES =
3
- STORAGEPREFERENCES =
4
- IDENTITYSERVERTENANT =
5
- IDENTITYSERVERPWDCREDTOKEN =
6
- FIELDS =
{ GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayID'}, CREDENTIALSTORETOKEN => {:type => ::Thrift::Types::STRING, :name => 'credentialStoreToken', :optional => true}, COMPUTERESOURCEPREFERENCES => {:type => ::Thrift::Types::LIST, :name => 'computeResourcePreferences', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ComputeResourcePreference}, :optional => true}, STORAGEPREFERENCES => {:type => ::Thrift::Types::LIST, :name => 'storagePreferences', :element => {:type => ::Thrift::Types::STRUCT, :class => ::StoragePreference}, :optional => true}, IDENTITYSERVERTENANT => {:type => ::Thrift::Types::STRING, :name => 'identityServerTenant', :optional => true}, IDENTITYSERVERPWDCREDTOKEN => {:type => ::Thrift::Types::STRING, :name => 'identityServerPwdCredToken', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
157 |
# File 'lib/gateway_resource_profile_model_types.rb', line 157 def struct_fields; FIELDS; end |
#validate ⇒ Object
159 160 161 |
# File 'lib/gateway_resource_profile_model_types.rb', line 159 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field gatewayID is unset!') unless @gatewayID end |