Class: Com::Vmware::Vapi::Metadata::Privilege::ServiceService
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Vapi::Metadata::Privilege::ServiceService
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb
Overview
The ``Com::Vmware::Vapi::Metadata::Privilege::Service`` class provides methods to retrieve privilege information of a service element.
A service element is said to contain privilege information if one of the operation elements contained in this service element has privilege information.
Constant Summary
- RESOURCE_TYPE =
'com.vmware.vapi.service'
Instance Method Summary (collapse)
-
- (Com::Vmware::Vapi::Metadata::Privilege::ServiceInfo) get(service_id)
Retrieves privilege information about the service element corresponding to ``service_id`` .
-
- (ServiceService) initialize(config)
constructor
Constructs a new instance.
-
- (Array<String>) list
Returns the identifiers for the service elements that have privilege information.
Constructor Details
- (ServiceService) initialize(config)
Constructs a new instance.
248 249 250 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 248 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Com::Vmware::Vapi::Metadata::Privilege::ServiceInfo) get(service_id)
Retrieves privilege information about the service element corresponding to ``service_id`` .
272 273 274 275 276 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 272 def get(service_id) invoke_with_info(@@get_info, { 'service_id' => service_id, }) end |
- (Array<String>) list
Returns the identifiers for the service elements that have privilege information.
259 260 261 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 259 def list() invoke_with_info(@@list_info) end |