Class: Com::Vmware::Vapi::Metadata::Metamodel::ResourceService

Inherits:
VAPI::Bindings::VapiService
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb

Overview

The :class:`Com::Vmware::Vapi::Metadata::Metamodel::Resource` class provides methods to retrieve information about resource types.


 A service is a logical grouping of operations that operate on an entity. Each entity is identifier by a namespace (or resource type) and an unique identifier.

Constant Summary

RESOURCE_TYPE =
'com.vmware.vapi.resource'

Instance Method Summary (collapse)

Constructor Details

- (ResourceService) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



366
367
368
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 366

def initialize(config)
    super(config, @@service_info)
end

Instance Method Details

- (Set<String>) list

Returns the set of resource types present across all the service elements contained in all the package elements.

Returns:

  • (Set<String>)

    Set of resource types



377
378
379
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/metamodel.rb', line 377

def list()
    invoke_with_info(@@list_info)
end