index int64 0 731k | package stringlengths 2 98 ⌀ | name stringlengths 1 76 | docstring stringlengths 0 281k ⌀ | code stringlengths 4 8.19k | signature stringlengths 2 42.8k ⌀ | embed_func_code listlengths 768 768 |
|---|---|---|---|---|---|---|
719,036 | aiortc.rtcsctptransport | _t3_cancel | null | def _t3_cancel(self) -> None:
if self._t3_handle is not None:
self.__log_debug("- T3 cancel")
self._t3_handle.cancel()
self._t3_handle = None
| (self) -> NoneType | [
-0.032829366624355316,
0.014924871735274792,
-0.013559955172240734,
0.012899799272418022,
-0.028565116226673126,
-0.037182822823524475,
-0.026727385818958282,
0.03393557295203209,
0.015932947397232056,
-0.03502393513917923,
-0.01885904371738434,
0.001027590362355113,
-0.019840355962514877,
... |
719,037 | aiortc.rtcsctptransport | _t3_expired | null | @no_type_check
def _t3_expired(self) -> None:
self._t3_handle = None
self.__log_debug("x T3 expired")
# mark retransmit or abandoned chunks
for chunk in self._sent_queue:
if not self._maybe_abandon(chunk):
chunk._retransmit = True
self._update_advanced_peer_ack_point()
# adju... | (self) -> None | [
-0.03025228902697563,
0.03341510891914368,
-0.04899691417813301,
0.04774608090519905,
0.028929980471730232,
0.005342843942344189,
-0.061290815472602844,
-0.008496729657053947,
-0.015885578468441963,
-0.05953964963555336,
0.04170634597539902,
-0.004784435965120792,
-0.03132443130016327,
-0.... |
719,038 | aiortc.rtcsctptransport | _t3_restart | null | def _t3_restart(self) -> None:
self.__log_debug("- T3 restart")
if self._t3_handle is not None:
self._t3_handle.cancel()
self._t3_handle = None
self._t3_handle = self._loop.call_later(self._rto, self._t3_expired)
| (self) -> NoneType | [
0.020991729572415352,
-0.0007856385782361031,
-0.013970847241580486,
0.019201049581170082,
-0.009316853247582912,
-0.02295970544219017,
-0.03006923571228981,
0.03712557628750801,
0.02304835245013237,
-0.029856480658054352,
0.022197335958480835,
-0.018651435151696205,
0.012153573334217072,
... |
719,039 | aiortc.rtcsctptransport | _t3_start | null | def _t3_start(self) -> None:
assert self._t3_handle is None
self.__log_debug("- T3 start")
self._t3_handle = self._loop.call_later(self._rto, self._t3_expired)
| (self) -> NoneType | [
-0.026331892237067223,
0.01790018193423748,
-0.0359838604927063,
0.027029182761907578,
0.02497401088476181,
0.022441744804382324,
-0.016872595995664597,
0.02963484823703766,
-0.04613127559423447,
-0.032735954970121384,
0.010652030818164349,
0.04128693789243698,
0.008826230652630329,
-0.048... |
719,040 | aiortc.rtcsctptransport | _transmit |
Transmit outbound data.
| @no_type_check
async def _transmit(self) -> None:
"""
Transmit outbound data.
"""
# send FORWARD TSN
if self._forward_tsn_chunk is not None:
await self._send_chunk(self._forward_tsn_chunk)
self._forward_tsn_chunk = None
# ensure T3 is running
if not self._t3_handle:
... | (self) -> None | [
-0.030511004850268364,
0.011419943533837795,
-0.06776797026395798,
0.021509969606995583,
-0.0005228117806836963,
0.004288502037525177,
-0.07123731821775436,
-0.014407439157366753,
-0.06032814085483551,
-0.09475180506706238,
0.016238484531641006,
-0.0033103381283581257,
-0.018936868757009506,... |
719,041 | aiortc.rtcsctptransport | _transmit_reconfig | null | @no_type_check
async def _transmit(self) -> None:
"""
Transmit outbound data.
"""
# send FORWARD TSN
if self._forward_tsn_chunk is not None:
await self._send_chunk(self._forward_tsn_chunk)
self._forward_tsn_chunk = None
# ensure T3 is running
if not self._t3_handle:
... | (self) | [
-0.030511004850268364,
0.011419943533837795,
-0.06776797026395798,
0.021509969606995583,
-0.0005228117806836963,
0.004288502037525177,
-0.07123731821775436,
-0.014407439157366753,
-0.06032814085483551,
-0.09475180506706238,
0.016238484531641006,
-0.0033103381283581257,
-0.018936868757009506,... |
719,042 | aiortc.rtcsctptransport | _update_advanced_peer_ack_point |
Try to advance "Advanced.Peer.Ack.Point" according to RFC 3758.
| @no_type_check
def _update_advanced_peer_ack_point(self) -> None:
"""
Try to advance "Advanced.Peer.Ack.Point" according to RFC 3758.
"""
if uint32_gt(self._last_sacked_tsn, self._advanced_peer_ack_tsn):
self._advanced_peer_ack_tsn = self._last_sacked_tsn
done = 0
streams = {}
while ... | (self) -> None | [
-0.0536588616669178,
-0.0009146914235316217,
-0.058795250952243805,
0.02036341093480587,
-0.01563684083521366,
-0.019707702100276947,
0.005896828602999449,
0.04458821937441826,
0.034770797938108444,
-0.06746517866849899,
-0.036519356071949005,
-0.05405957251787186,
-0.042074669152498245,
0... |
719,043 | aiortc.rtcsctptransport | _update_rto |
Update RTO given a new roundtrip measurement R.
| def _update_rto(self, R: float) -> None:
"""
Update RTO given a new roundtrip measurement R.
"""
if self._srtt is None:
self._rttvar = R / 2
self._srtt = R
else:
self._rttvar = (1 - SCTP_RTO_BETA) * self._rttvar + SCTP_RTO_BETA * abs(
self._srtt - R
)
... | (self, R: float) -> NoneType | [
-0.05932968854904175,
0.002584713976830244,
-0.05041562020778656,
0.00572655675932765,
-0.026139402762055397,
-0.04994069039821625,
-0.03803091496229172,
0.005009595770388842,
-0.018239129334688187,
-0.051255881786346436,
-0.018942391499876976,
-0.00018009655468631536,
0.05330173298716545,
... |
719,054 | aiortc.rtcsctptransport | start |
Start the transport.
| def setTransport(self, transport) -> None:
self.__transport = transport
| (self, remoteCaps: aiortc.rtcsctptransport.RTCSctpCapabilities, remotePort: int) -> NoneType | [
0.012674350291490555,
0.0232005063444376,
-0.0029393089935183525,
0.0005006430437788367,
-0.019515525549650192,
-0.00004673357034334913,
-0.004949110560119152,
0.046797603368759155,
0.0037469477392733097,
0.0004306717892177403,
-0.015169561840593815,
-0.025332177057862282,
-0.015838807448744... |
719,055 | aiortc.rtcsctptransport | stop |
Stop the transport.
| self.__log_debug = lambda msg, *args: logger.debug(prefix + msg, *args)
| (self) -> NoneType | [
-0.025010650977492332,
0.032464735209941864,
0.04651349410414696,
0.06377189606428146,
0.012356243096292019,
-0.003047405742108822,
-0.016442837193608284,
0.02444940060377121,
0.03479742631316185,
-0.03742827847599983,
-0.009435995481908321,
-0.018223047256469727,
0.08537997305393219,
-0.0... |
719,056 | aiortc.rtcsessiondescription | RTCSessionDescription |
The :class:`RTCSessionDescription` dictionary describes one end of a
connection and how it's configured.
| class RTCSessionDescription:
"""
The :class:`RTCSessionDescription` dictionary describes one end of a
connection and how it's configured.
"""
sdp: str
type: str
def __post_init__(self):
if self.type not in {"offer", "pranswer", "answer", "rollback"}:
raise ValueError(
... | (sdp: str, type: str) -> None | [
0.005098874680697918,
-0.004663195926696062,
-0.018068687990307808,
-0.05580514669418335,
-0.021333882585167885,
-0.07200664281845093,
0.02786427177488804,
0.014774766750633717,
0.030277259647846222,
-0.04013987258076668,
-0.008488548919558525,
0.07813486456871033,
-0.00021634309086948633,
... |
719,057 | aiortc.rtcsessiondescription | __eq__ | null | from dataclasses import dataclass
@dataclass
class RTCSessionDescription:
"""
The :class:`RTCSessionDescription` dictionary describes one end of a
connection and how it's configured.
"""
sdp: str
type: str
def __post_init__(self):
if self.type not in {"offer", "pranswer", "answer... | (self, other) | [
0.027380920946598053,
-0.008424518629908562,
-0.004436814691871405,
-0.06328999996185303,
-0.00818762555718422,
-0.06518514454364777,
0.011972983367741108,
-0.005191911943256855,
0.03456668555736542,
-0.03847542405128479,
0.002529329853132367,
0.06427706032991409,
-0.003099354449659586,
0.... |
719,059 | aiortc.rtcsessiondescription | __post_init__ | null | def __post_init__(self):
if self.type not in {"offer", "pranswer", "answer", "rollback"}:
raise ValueError(
"'type' must be in ['offer', 'pranswer', 'answer', 'rollback'] "
f"(got '{self.type}')"
)
| (self) | [
0.008199026808142662,
0.0200167465955019,
0.03445505350828171,
-0.01356325950473547,
-0.04276802018284798,
-0.06788922101259232,
0.06041484326124191,
-0.008896331302821636,
0.002442845143377781,
-0.008627436123788357,
0.029569365084171295,
0.06296706944704056,
-0.013198656029999256,
-0.006... |
719,061 | aiortc.stats | RTCStatsReport |
Provides statistics data about WebRTC connections as returned by the
:meth:`RTCPeerConnection.getStats()`, :meth:`RTCRtpReceiver.getStats()`
and :meth:`RTCRtpSender.getStats()` coroutines.
This object consists of a mapping of string identifiers to objects which
are instances of:
- :class:`RTC... | class RTCStatsReport(dict):
"""
Provides statistics data about WebRTC connections as returned by the
:meth:`RTCPeerConnection.getStats()`, :meth:`RTCRtpReceiver.getStats()`
and :meth:`RTCRtpSender.getStats()` coroutines.
This object consists of a mapping of string identifiers to objects which
a... | null | [
-0.013880093581974506,
-0.08518803119659424,
-0.059187162667512894,
-0.03577897325158119,
-0.016982048749923706,
-0.049260906875133514,
-0.009657730348408222,
0.03881611302495003,
-0.000489599711727351,
-0.032501086592674255,
-0.031834397464990616,
0.05840935930609703,
0.048779409378767014,
... |
719,062 | aiortc.stats | add | null | def add(self, stats: RTCStats) -> None:
self[stats.id] = stats
| (self, stats: aiortc.stats.RTCStats) -> NoneType | [
-0.01903276890516281,
-0.0021165097132325172,
-0.03718814253807068,
-0.030590791255235672,
0.010292544029653072,
-0.01052032969892025,
-0.0083057451993227,
0.06826824694871902,
0.04012404754757881,
0.0016377377323806286,
-0.06826824694871902,
0.029409678652882576,
0.027587393298745155,
0.0... |
719,063 | aiortc.stats | RTCTransportStats | RTCTransportStats(timestamp: datetime.datetime, type: str, id: str, packetsSent: int, packetsReceived: int, bytesSent: int, bytesReceived: int, iceRole: str, dtlsState: str) | class RTCTransportStats(RTCStats):
packetsSent: int
"Total number of packets sent over this transport."
packetsReceived: int
"Total number of packets received over this transport."
bytesSent: int
"Total number of bytes sent over this transport."
bytesReceived: int
"Total number of bytes ... | (timestamp: datetime.datetime, type: str, id: str, packetsSent: int, packetsReceived: int, bytesSent: int, bytesReceived: int, iceRole: str, dtlsState: str) -> None | [
-0.008706890977919102,
-0.05552220717072487,
-0.01515143271535635,
-0.027562808245420456,
0.022046642377972603,
-0.05051078647375107,
-0.024876832962036133,
-0.0014218551805242896,
0.018603544682264328,
-0.03994714468717575,
-0.028770597651600838,
0.030411025509238243,
0.001353128463961184,
... |
719,067 | aiortc.mediastreams | VideoStreamTrack |
A dummy video track which reads green frames.
| class VideoStreamTrack(MediaStreamTrack):
"""
A dummy video track which reads green frames.
"""
kind = "video"
_start: float
_timestamp: int
async def next_timestamp(self) -> Tuple[int, fractions.Fraction]:
if self.readyState != "live":
raise MediaStreamError
... | () -> None | [
0.024678222835063934,
-0.06579608470201492,
-0.13249295949935913,
0.04541543498635292,
0.0019306251779198647,
0.022538818418979645,
0.010800241492688656,
0.08077191561460495,
-0.03616344928741455,
0.006150789093226194,
0.02959509938955307,
0.0022543510422110558,
0.017584405839443207,
0.035... |
719,084 | aiortc.mediastreams | recv |
Receive the next :class:`~av.video.frame.VideoFrame`.
The base implementation just reads a 640x480 green frame at 30fps,
subclass :class:`VideoStreamTrack` to provide a useful implementation.
| def stop(self) -> None:
if not self.__ended:
self.__ended = True
self.emit("ended")
# no more events will be emitted, so remove all event listeners
# to facilitate garbage collection.
self.remove_all_listeners()
| (self) -> av.frame.Frame | [
-0.01564098335802555,
0.0772659182548523,
-0.014049162156879902,
0.005267317872494459,
-0.060560740530490875,
-0.018922995775938034,
-0.028634892776608467,
0.059380289167165756,
0.019495336338877678,
0.017635229974985123,
-0.04514332860708237,
-0.03314207121729851,
0.018171800300478935,
0.... |
719,117 | sigtools._specifiers | forged_signature | Retrieves the full signature of ``obj``, either by taking note of
decorators from this module, or by performing automatic signature
discovery.
If ``auto`` is true, the signature will be automatically refined based on
how ``*args`` and ``**kwargs`` are used throughout the function.
If ``args`` and/... | def forged_signature(obj, auto=True, args=(), kwargs={}):
"""Retrieves the full signature of ``obj``, either by taking note of
decorators from this module, or by performing automatic signature
discovery.
If ``auto`` is true, the signature will be automatically refined based on
how ``*args`` and ``*... | (obj, auto=True, args=(), kwargs={}) | [
0.019069688394665718,
-0.029617171734571457,
0.0007939437055028975,
0.009494739584624767,
-0.013956365175545216,
-0.04130763188004494,
0.013104144483804703,
0.03420913591980934,
-0.0008634999394416809,
0.020343005657196045,
-0.031101036816835403,
-0.016061851754784584,
0.00909870769828558,
... |
719,170 | property_manager | cached_property |
A computed property whose value is computed once and cached, but can be reset.
This is a variant of :class:`lazy_property` that
has the :attr:`~custom_property.resettable`
option enabled by default.
| class cached_property(lazy_property):
"""
A computed property whose value is computed once and cached, but can be reset.
This is a variant of :class:`lazy_property` that
has the :attr:`~custom_property.resettable`
option enabled by default.
"""
resettable = True
| (*args, **options) | [
0.022108184173703194,
-0.021739155054092407,
0.04559183865785599,
0.016061142086982727,
0.06897484511137009,
-0.009905070066452026,
-0.031199712306261063,
0.016010820865631104,
0.08132053911685944,
-0.05954783782362938,
0.02185657247900963,
0.03448742255568504,
0.026234596967697144,
0.0187... |
719,179 | property_manager | clear_property |
Clear the assigned or cached value of a property.
:param obj: The object that owns the property.
:param name: The name of the property (a string).
This function directly modifies the :attr:`~object.__dict__` of the given
object and as such it avoids any interaction with object properties. This
... | def clear_property(obj, name):
"""
Clear the assigned or cached value of a property.
:param obj: The object that owns the property.
:param name: The name of the property (a string).
This function directly modifies the :attr:`~object.__dict__` of the given
object and as such it avoids any inter... | (obj, name) | [
0.011630600318312645,
0.012858675792813301,
0.024417035281658173,
-0.018032848834991455,
-0.013120545074343681,
-0.015757296234369278,
-0.0283541027456522,
-0.00858298595994711,
0.01955891214311123,
0.020172949880361557,
0.004799428395926952,
0.011486120522022247,
0.006492547690868378,
0.0... |
719,183 | property_manager | custom_property |
Custom :class:`property` subclass that supports additional features.
The :class:`custom_property` class implements Python's `descriptor
protocol`_ to provide a decorator that turns methods into computed
properties with several additional features.
.. _descriptor protocol: https://docs.python.org/... | class custom_property(property):
"""
Custom :class:`property` subclass that supports additional features.
The :class:`custom_property` class implements Python's `descriptor
protocol`_ to provide a decorator that turns methods into computed
properties with several additional features.
.. _desc... | (*args, **options) | [
0.04870650917291641,
-0.026677342131733894,
0.04532963037490845,
0.03901287913322449,
0.0776284784078598,
0.0022346992045640945,
-0.03251735493540764,
-0.006351511459797621,
0.01503704208880663,
-0.0330536812543869,
0.03728471323847771,
0.05621509626507759,
0.059750888496637344,
0.02794863... |
719,193 | property_manager | format_property |
Format an object property's dotted name.
:param obj: The object that owns the property.
:param name: The name of the property (a string).
:returns: The dotted path (a string).
| def format_property(obj, name):
"""
Format an object property's dotted name.
:param obj: The object that owns the property.
:param name: The name of the property (a string).
:returns: The dotted path (a string).
"""
return "%s.%s" % (obj.__class__.__name__, name)
| (obj, name) | [
-0.014901175163686275,
0.013124934397637844,
0.033477332442998886,
0.015338673256337643,
0.005696221254765987,
-0.06467967480421066,
0.013991179876029491,
-0.03933980315923691,
0.0013988992432132363,
-0.005114349070936441,
0.012949935160577297,
-0.045814771205186844,
0.030187347903847694,
... |
719,194 | property_manager | key_property |
A property whose value is used for comparison and hashing.
This is a variant of :class:`custom_property` that has the
:attr:`~custom_property.key` and :attr:`~custom_property.required`
options enabled by default.
| class key_property(custom_property):
"""
A property whose value is used for comparison and hashing.
This is a variant of :class:`custom_property` that has the
:attr:`~custom_property.key` and :attr:`~custom_property.required`
options enabled by default.
"""
key = True
required = True
| (*args, **options) | [
0.027347233146429062,
-0.054728418588638306,
0.001190394046716392,
0.04712347686290741,
0.06929323822259903,
-0.03551236167550087,
-0.03262655809521675,
-0.03140433505177498,
0.03775310143828392,
-0.04186112806200981,
0.01648303121328354,
0.029995383694767952,
0.08277163654565811,
0.023358... |
719,203 | property_manager | lazy_property |
A computed property whose value is computed once and cached.
This is a variant of :class:`custom_property` that
has the :attr:`~custom_property.cached`
option enabled by default.
| class lazy_property(custom_property):
"""
A computed property whose value is computed once and cached.
This is a variant of :class:`custom_property` that
has the :attr:`~custom_property.cached`
option enabled by default.
"""
cached = True
| (*args, **options) | [
0.022367410361766815,
-0.04111216589808464,
0.032404493540525436,
0.03562832623720169,
0.08229079842567444,
0.010701792314648628,
-0.0003378064720891416,
-0.006563987582921982,
0.06919606029987335,
-0.06607193499803543,
0.04377099499106407,
0.058660443872213364,
0.022201234474778175,
0.002... |
719,249 | flask.cli | with_appcontext | Wraps a callback so that it's guaranteed to be executed with the
script's application context.
Custom commands (and their options) registered under ``app.cli`` or
``blueprint.cli`` will always have an app context available, this
decorator is not required in that case.
.. versionchanged:: 2.2
... | def with_appcontext(f: F) -> F:
"""Wraps a callback so that it's guaranteed to be executed with the
script's application context.
Custom commands (and their options) registered under ``app.cli`` or
``blueprint.cli`` will always have an app context available, this
decorator is not required in that c... | (f: ~F) -> ~F | [
0.06387510150671005,
-0.052050407975912094,
0.009548620320856571,
-0.028328480198979378,
0.09285648167133331,
-0.005903278011828661,
0.027802536264061928,
0.009294715709984303,
0.046936050057411194,
-0.0203123539686203,
-0.023703793063759804,
-0.053900282829999924,
-0.018226711079478264,
-... |
719,250 | pykeops | clean_pykeops | null | def clean_pykeops(recompile_jit_binaries=True):
import pykeops
keopscore.clean_keops(recompile_jit_binary=recompile_jit_binaries)
keops_binder = pykeops.common.keops_io.keops_binder
for key in keops_binder:
keops_binder[key].reset()
if recompile_jit_binaries and keopscore.config.config.use_... | (recompile_jit_binaries=True) | [
-0.011979314498603344,
-0.09262055158615112,
0.039553653448820114,
0.02642388455569744,
-0.08991790562868118,
0.006185964681208134,
-0.09897543489933014,
0.011458871886134148,
0.09159792959690094,
-0.008957094512879848,
0.014042824506759644,
-0.012791936285793781,
0.009294925257563591,
-0.... |
719,253 | pykeops | get_build_folder | null | def get_build_folder():
return keops_get_build_folder()
| () | [
-0.0002003823610721156,
-0.03759130463004112,
-0.01402040384709835,
0.021136628463864326,
0.006874493323266506,
-0.025089142844080925,
0.004728599451482296,
0.061068907380104065,
0.028142588213086128,
-0.039423372596502304,
0.032807573676109314,
-0.04122151434421539,
-0.02335885725915432,
... |
719,254 | keopscore.config.config | get_build_folder | null | def get_build_folder():
return _build_path
| () | [
0.004494329448789358,
-0.00013502610090654343,
-0.03127855062484741,
0.0013094692258164287,
0.013648221269249916,
-0.034203168004751205,
0.015184885822236538,
0.07825420796871185,
-0.020802797749638557,
-0.043588388711214066,
0.024173544719815254,
-0.0007466452661901712,
-0.02007577382028103... |
719,260 | pykeops | set_build_folder | null | def set_build_folder(path=None):
import pykeops
keopscore.set_build_folder(path)
keops_binder = pykeops.common.keops_io.keops_binder
for key in keops_binder:
keops_binder[key].reset(new_save_folder=get_build_folder())
if keopscore.config.config.use_cuda and not os.path.exists(
pykeo... | (path=None) | [
-0.007053958717733622,
-0.04711584374308586,
-0.002424798207357526,
0.010331748984754086,
-0.045812394469976425,
-0.0040565053932368755,
-0.08326738327741623,
0.011769376695156097,
0.05769677832722664,
-0.0320495069026947,
0.059038564562797546,
0.012047317810356617,
-0.009320617653429508,
... |
719,261 | pykeops | set_verbose | null | def set_verbose(val):
global verbose
verbose = val
keopscore.verbose = val
| (val) | [
0.012984435074031353,
0.01862606778740883,
0.02154235914349556,
0.045896854251623154,
0.04610516130924225,
0.010345887392759323,
-0.021802742034196854,
-0.03850197419524193,
0.03992540389299393,
-0.03871028125286102,
-0.04280697554349899,
-0.02539602853357792,
-0.01335765141993761,
-0.0206... |
719,262 | keopscore.config.config | show_cuda_status | null | def show_cuda_status(force_print=False):
KeOps_Print(cuda_message, force_print=force_print)
| (force_print=False) | [
-0.00632865633815527,
-0.007375597953796387,
0.014785381965339184,
-0.01011901255697012,
0.04092046618461609,
0.03599770367145538,
-0.06943146884441376,
-0.03866419941186905,
0.04587741568684578,
-0.04317673295736313,
0.006379934959113598,
-0.0730893537402153,
0.016375023871660233,
-0.0282... |
719,263 | pykeops.numpy.test_install | test_numpy_bindings |
This function try to compile a simple keops formula using the numpy binder.
| def test_numpy_bindings():
"""
This function try to compile a simple keops formula using the numpy binder.
"""
x = np.arange(1, 10).reshape(-1, 3).astype("float32")
y = np.arange(3, 9).reshape(-1, 3).astype("float32")
import pykeops.numpy as pknp
my_conv = pknp.Genred(formula, var)
if ... | () | [
-0.014431911520659924,
-0.08269095420837402,
0.022835751995444298,
0.04439496994018555,
-0.017038166522979736,
0.05854320898652077,
-0.0862368792295456,
-0.0100526949390769,
0.13914206624031067,
-0.0447850227355957,
0.050387583673000336,
-0.04673527926206589,
0.03092045895755291,
-0.004959... |
719,293 | ibm_platform_services.case_management_v1 | CaseManagementV1 | The Case Management V1 service. | class CaseManagementV1(BaseService):
"""The Case Management V1 service."""
DEFAULT_SERVICE_URL = 'https://support-center.cloud.ibm.com/case-management/v1'
DEFAULT_SERVICE_NAME = 'case_management'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) ->... | (authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None | [
0.02303844876587391,
-0.0036410766188055277,
-0.05537240952253342,
-0.014754624105989933,
-0.010657786391675472,
-0.06855440884828568,
-0.02558269537985325,
-0.013382334262132645,
-0.01165945827960968,
-0.03249422833323479,
-0.05945923179388046,
0.023399051278829575,
-0.02808687463402748,
... |
719,294 | ibm_platform_services.case_management_v1 | __init__ |
Construct a new client for the Case Management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authenti... | def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Case Management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-c... | (self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType | [
-0.004342277534306049,
-0.04842735826969147,
0.006758672650903463,
-0.010280415415763855,
-0.023978594690561295,
-0.0565287247300148,
-0.0005515438388101757,
0.031103456392884254,
0.004995540715754032,
-0.014493849128484726,
-0.030669454485177994,
0.032495878636837006,
-0.06658309698104858,
... |
719,299 | ibm_platform_services.case_management_v1 | add_comment |
Add comment to case.
Add a comment to a case to be viewed by a support engineer.
:param str case_number: Unique identifier of a case.
:param str comment: Comment to add to the case.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedRespon... | def add_comment(self, case_number: str, comment: str, **kwargs) -> DetailedResponse:
"""
Add comment to case.
Add a comment to a case to be viewed by a support engineer.
:param str case_number: Unique identifier of a case.
:param str comment: Comment to add to the case.
:param dict headers: A `d... | (self, case_number: str, comment: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.05623900517821312,
0.008123612962663174,
-0.03906595706939697,
0.046436209231615067,
-0.02408946305513382,
-0.0661507174372673,
-0.053044017404317856,
0.05242680385708809,
-0.0036942018195986748,
-0.030878808349370956,
-0.019932352006435394,
-0.026249708607792854,
-0.027847202494740486,
... |
719,300 | ibm_platform_services.case_management_v1 | add_resource |
Add a resource to case.
Add a resource to case by specifying the Cloud Resource Name (CRN), or id and type
if attaching a class iaaS resource.
:param str case_number: Unique identifier of a case.
:param str crn: (optional) Cloud Resource Name of the resource.
:param st... | def add_resource(
self, case_number: str, *, crn: str = None, type: str = None, id: float = None, note: str = None, **kwargs
) -> DetailedResponse:
"""
Add a resource to case.
Add a resource to case by specifying the Cloud Resource Name (CRN), or id and type
if attaching a class iaaS resource.
:... | (self, case_number: str, *, crn: Optional[str] = None, type: Optional[str] = None, id: Optional[float] = None, note: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04307325929403305,
0.015874460339546204,
-0.02022070810198784,
-0.00829401146620512,
-0.00441111670807004,
-0.05734451860189438,
-0.016087602823972702,
0.02624429203569889,
-0.00900294166058302,
-0.05953154340386391,
-0.022018516436219215,
0.04503787308931351,
-0.010249359533190727,
-0.... |
719,301 | ibm_platform_services.case_management_v1 | add_watchlist |
Add users to watchlist of case.
Add users to the watchlist of case. By adding a user to the watchlist of the case,
you are granting them read and write permissions, so the user can view the case,
receive updates, and make updates to the case. Note that the user must be in the
a... | def add_watchlist(self, case_number: str, *, watchlist: List['User'] = None, **kwargs) -> DetailedResponse:
"""
Add users to watchlist of case.
Add users to the watchlist of case. By adding a user to the watchlist of the case,
you are granting them read and write permissions, so the user can view the ca... | (self, case_number: str, *, watchlist: Optional[List[ibm_platform_services.case_management_v1.User]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.050458066165447235,
-0.014597584493458271,
-0.07440177351236343,
0.019004402682185173,
-0.009915339760482311,
-0.03958791494369507,
-0.03936757147312164,
-0.001420739688910544,
-0.03630116209387779,
0.03734778240323067,
-0.03793535754084587,
-0.0027037663385272026,
0.02150159887969494,
... |
719,303 | ibm_platform_services.case_management_v1 | create_case |
Create a case.
Create a support case to resolve issues in your account.
:param str type: Case type.
:param str subject: Short description used to identify the case.
:param str description: Detailed description of the issue.
:param int severity: (optional) Severity of t... | def create_case(
self,
type: str,
subject: str,
description: str,
*,
severity: int = None,
eu: 'CasePayloadEu' = None,
offering: 'Offering' = None,
resources: List['ResourcePayload'] = None,
watchlist: List['User'] = None,
invoice_number: str = None,
sla_credit_request: b... | (self, type: str, subject: str, description: str, *, severity: Optional[int] = None, eu: Optional[ibm_platform_services.case_management_v1.CasePayloadEu] = None, offering: Optional[ibm_platform_services.case_management_v1.Offering] = None, resources: Optional[List[ibm_platform_services.case_management_v1.ResourcePayloa... | [
-0.01974921114742756,
0.04339157044887543,
0.0036923466250300407,
-0.0155158881098032,
-0.031258560717105865,
-0.07223109155893326,
-0.034036681056022644,
-0.005986184347420931,
-0.033375222235918045,
-0.006860252469778061,
-0.025796817615628242,
0.0647093802690506,
-0.017056137323379517,
... |
719,304 | ibm_platform_services.case_management_v1 | delete_file |
Remove attachment from case.
Remove an attachment from a case.
:param str case_number: Unique identifier of a case.
:param str file_id: Unique identifier of a file.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing th... | def delete_file(self, case_number: str, file_id: str, **kwargs) -> DetailedResponse:
"""
Remove attachment from case.
Remove an attachment from a case.
:param str case_number: Unique identifier of a case.
:param str file_id: Unique identifier of a file.
:param dict headers: A `dict` containing t... | (self, case_number: str, file_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.0118671590462327,
0.015339827165007591,
-0.05800151452422142,
0.03315382078289986,
-0.0354689322412014,
-0.050826434046030045,
-0.012671262957155704,
0.0479988157749176,
-0.028346870094537735,
0.006481430493295193,
-0.047751396894454956,
0.011734614148736,
-0.04662035033106804,
-0.036935... |
719,306 | ibm_platform_services.case_management_v1 | download_file |
Download an attachment.
Download an attachment from a case.
:param str case_number: Unique identifier of a case.
:param str file_id: Unique identifier of a file.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the r... | def download_file(self, case_number: str, file_id: str, **kwargs) -> DetailedResponse:
"""
Download an attachment.
Download an attachment from a case.
:param str case_number: Unique identifier of a case.
:param str file_id: Unique identifier of a file.
:param dict headers: A `dict` containing th... | (self, case_number: str, file_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.021778400987386703,
-0.007726398762315512,
-0.07287659496068954,
0.051979195326566696,
-0.021514100953936577,
-0.07414523512125015,
-0.02974267117679119,
0.03333716467022896,
-0.043169163167476654,
-0.0024734167382121086,
-0.0158756785094738,
0.02495001256465912,
-0.025637196376919746,
-... |
719,310 | ibm_platform_services.case_management_v1 | get_case |
Get a case in account.
View a case in the account that is specified by the case number.
:param str case_number: Unique identifier of a case.
:param List[str] fields: (optional) Selected fields of interest instead of
all of the case information.
:param dict heade... | def get_case(self, case_number: str, *, fields: List[str] = None, **kwargs) -> DetailedResponse:
"""
Get a case in account.
View a case in the account that is specified by the case number.
:param str case_number: Unique identifier of a case.
:param List[str] fields: (optional) Selected fields of int... | (self, case_number: str, *, fields: Optional[List[str]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.0027663123328238726,
0.0026077907532453537,
-0.028364190831780434,
0.0193619541823864,
-0.033222541213035583,
-0.03434782102704048,
-0.016718439757823944,
-0.026506586000323296,
0.0030163745395839214,
-0.061479561030864716,
-0.0353480689227581,
0.02911437675356865,
-0.03213298320770264,
... |
719,311 | ibm_platform_services.case_management_v1 | get_cases |
Get cases in account.
Get cases in the account that are specified by the content of the IAM token.
:param int offset: (optional) Number of cases that are skipped.
:param int limit: (optional) Number of cases that are returned.
:param str search: (optional) String that a case m... | def get_cases(
self,
*,
offset: int = None,
limit: int = None,
search: str = None,
sort: str = None,
status: List[str] = None,
fields: List[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Get cases in account.
Get cases in the account that are specified by the content o... | (self, *, offset: Optional[int] = None, limit: Optional[int] = None, search: Optional[str] = None, sort: Optional[str] = None, status: Optional[List[str]] = None, fields: Optional[List[str]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.006608879659324884,
-0.0025200641248375177,
-0.028301553800702095,
-0.034338731318712234,
-0.030185885727405548,
-0.01524844579398632,
-0.03951606899499893,
-0.031283553689718246,
0.007422983646392822,
-0.05334669351577759,
-0.05993270501494408,
0.027277063578367233,
-0.02729535847902298,... |
719,315 | ibm_platform_services.case_management_v1 | remove_watchlist |
Remove users from watchlist of case.
Remove users from the watchlist of a case if you don't want them to view the case,
receive updates, or make updates to the case.
:param str case_number: Unique identifier of a case.
:param List[User] watchlist: (optional) Array of user ID o... | def remove_watchlist(self, case_number: str, *, watchlist: List['User'] = None, **kwargs) -> DetailedResponse:
"""
Remove users from watchlist of case.
Remove users from the watchlist of a case if you don't want them to view the case,
receive updates, or make updates to the case.
:param str case_num... | (self, case_number: str, *, watchlist: Optional[List[ibm_platform_services.case_management_v1.User]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.02389165572822094,
0.006087866146117449,
-0.06665386259555817,
-0.011817081831395626,
-0.035865072160959244,
-0.05543452873826027,
-0.044141627848148346,
0.017426747828722,
-0.003694562241435051,
0.0525653213262558,
-0.05543452873826027,
0.0030232416465878487,
-0.005839569494128227,
-0.... |
719,323 | ibm_platform_services.case_management_v1 | update_case_status |
Update case status.
Mark the case as resolved or unresolved, or accept the provided resolution.
:param str case_number: Unique identifier of a case.
:param StatusPayload status_payload:
:param dict headers: A `dict` containing the request headers
:return: A `DetailedRe... | def update_case_status(self, case_number: str, status_payload: 'StatusPayload', **kwargs) -> DetailedResponse:
"""
Update case status.
Mark the case as resolved or unresolved, or accept the provided resolution.
:param str case_number: Unique identifier of a case.
:param StatusPayload status_payload:... | (self, case_number: str, status_payload: ibm_platform_services.case_management_v1.StatusPayload, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.00044368975795805454,
-0.028035558760166168,
-0.06966520845890045,
0.038835108280181885,
0.0003419932327233255,
-0.0833674743771553,
-0.057982221245765686,
-0.022843120619654655,
0.01723600924015045,
-0.05358307436108589,
-0.07226142287254333,
-0.04164767637848854,
0.004885939881205559,
... |
719,324 | ibm_platform_services.case_management_v1 | upload_file |
Add attachments to a support case.
You can add attachments to a case to provide more information for the support team
about the issue that you're experiencing.
:param str case_number: Unique identifier of a case.
:param list[FileWithMetadata] file: file of supported types, 8MB... | def upload_file(self, case_number: str, file: List[BinaryIO], **kwargs) -> DetailedResponse:
"""
Add attachments to a support case.
You can add attachments to a case to provide more information for the support team
about the issue that you're experiencing.
:param str case_number: Unique identifier o... | (self, case_number: str, file: List[BinaryIO], **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.00015213365259114653,
-0.025005239993333817,
-0.09655416011810303,
0.0775236189365387,
-0.040605854243040085,
-0.06472595781087875,
-0.015130382962524891,
0.037802908569574356,
-0.0497891940176487,
0.0013196441577747464,
-0.0024456637911498547,
0.00686906510964036,
-0.02924654260277748,
... |
719,325 | ibm_platform_services.catalog_management_v1 | CatalogManagementV1 | The Catalog Management V1 service. | class CatalogManagementV1(BaseService):
"""The Catalog Management V1 service."""
DEFAULT_SERVICE_URL = 'https://cm.globalcatalog.cloud.ibm.com/api/v1-beta'
DEFAULT_SERVICE_NAME = 'catalog_management'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
... | (authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None | [
-0.01890794187784195,
-0.060497213155031204,
-0.04083048924803734,
-0.032299358397722244,
0.036031730473041534,
-0.03065875545144081,
-0.04269667714834213,
-0.010469093918800354,
0.026044562458992004,
-0.0327710323035717,
-0.028443943709135056,
-0.0205587986856699,
0.0006485506310127676,
-... |
719,326 | ibm_platform_services.catalog_management_v1 | __init__ |
Construct a new client for the Catalog Management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/main/README.md
about initializing the authe... | def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Catalog Management service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sd... | (self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType | [
-0.024696137756109238,
-0.05444291606545448,
0.017259443178772926,
-0.019571226090192795,
0.0130165359005332,
-0.032569192349910736,
0.005361661780625582,
0.025903092697262764,
0.015170484781265259,
-0.007770927622914314,
-0.029579659923911095,
0.0243990421295166,
-0.045715708285570145,
-0... |
719,331 | ibm_platform_services.catalog_management_v1 | account_publish_object |
Publish object to account.
Publish a catalog object to account.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the... | def account_publish_object(self, catalog_identifier: str, object_identifier: str, **kwargs) -> DetailedResponse:
"""
Publish object to account.
Publish a catalog object to account.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict hea... | (self, catalog_identifier: str, object_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.07647453248500824,
0.008734781295061111,
-0.08120127767324448,
-0.02606765739619732,
0.06042475998401642,
-0.021429095417261124,
-0.01866006851196289,
-0.0040940153412520885,
-0.032857947051525116,
-0.06014256551861763,
0.00995615217834711,
0.01448007207363844,
0.051712024956941605,
-0.... |
719,332 | ibm_platform_services.catalog_management_v1 | account_publish_version |
Publish version to account members.
Publish the specified version so it is viewable by account members.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing t... | def account_publish_version(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Publish version to account members.
Publish the specified version so it is viewable by account members.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` contai... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03496045619249344,
-0.04247826710343361,
-0.07409163564443588,
0.008691922761499882,
0.013791417703032494,
-0.011530817486345768,
-0.030842307955026627,
0.025918051600456238,
-0.005292259622365236,
-0.007443335372954607,
-0.029475431889295578,
-0.002200362039729953,
0.024691369384527206,
... |
719,333 | ibm_platform_services.catalog_management_v1 | add_object_access_list |
Add accounts to object access list.
Add one or more accounts to the specified object's access list.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param List[str] accounts: A list of accounts to add.
:param dict hea... | def add_object_access_list(
self, catalog_identifier: str, object_identifier: str, accounts: List[str], **kwargs
) -> DetailedResponse:
"""
Add accounts to object access list.
Add one or more accounts to the specified object's access list.
:param str catalog_identifier: Catalog identifier.
:para... | (self, catalog_identifier: str, object_identifier: str, accounts: List[str], **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.06138060986995697,
0.009605972096323967,
-0.07711056619882584,
-0.015767496079206467,
0.04238453134894371,
-0.006260071415454149,
-0.020328808575868607,
0.006217836868017912,
-0.03376872092485428,
-0.03797338530421257,
-0.017156537622213364,
0.017466256394982338,
0.019709371030330658,
-... |
719,334 | ibm_platform_services.catalog_management_v1 | commit_version |
Commit version.
Commit a working copy of the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.... | def commit_version(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Commit version.
Commit a working copy of the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `Detailed... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.0022158571518957615,
-0.05574549362063408,
-0.09615397453308105,
-0.00512546906247735,
-0.005563169252127409,
-0.06054268777370453,
-0.05543035268783569,
0.07976648211479187,
-0.01568717509508133,
-0.03335275501012802,
-0.04226433113217354,
-0.020694464445114136,
0.0044711073860526085,
... |
719,336 | ibm_platform_services.catalog_management_v1 | copy_version |
Copy version to new target kind.
Copy the specified version to a new target kind within the same offering.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param List[str] tags: (optional) Tags array.
:param List[str] target_kinds: (optional) Target kinds... | def copy_version(
self,
version_loc_id: str,
*,
tags: List[str] = None,
target_kinds: List[str] = None,
content: bytes = None,
**kwargs
) -> DetailedResponse:
"""
Copy version to new target kind.
Copy the specified version to a new target kind within the same offering.
:param... | (self, version_loc_id: str, *, tags: Optional[List[str]] = None, target_kinds: Optional[List[str]] = None, content: Optional[bytes] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.01584114134311676,
-0.08524177968502045,
-0.07148823142051697,
-0.027866052463650703,
-0.05320054292678833,
-0.02590125985443592,
-0.00786861777305603,
0.061588697135448456,
0.034251630306243896,
0.0012327185831964016,
-0.038766875863075256,
0.00037046498619019985,
-0.02501332387328148,
... |
719,337 | ibm_platform_services.catalog_management_v1 | create_catalog |
Create a catalog.
Create a catalog for a given account.
:param str id: (optional) Unique ID.
:param str rev: (optional) Cloudant revision.
:param str label: (optional) Display Name in the requested language.
:param str short_description: (optional) Description in the r... | def create_catalog(
self,
*,
id: str = None,
rev: str = None,
label: str = None,
short_description: str = None,
catalog_icon_url: str = None,
tags: List[str] = None,
features: List['Feature'] = None,
disabled: bool = None,
resource_group_id: str = None,
owning_account: st... | (self, *, id: Optional[str] = None, rev: Optional[str] = None, label: Optional[str] = None, short_description: Optional[str] = None, catalog_icon_url: Optional[str] = None, tags: Optional[List[str]] = None, features: Optional[List[ibm_platform_services.catalog_management_v1.Feature]] = None, disabled: Optional[bool] = ... | [
-0.06937071681022644,
-0.010801142081618309,
0.006636617239564657,
-0.06480685621500015,
0.025614680722355843,
0.006693665403872728,
-0.01648695394396782,
0.047007787972688675,
0.01736169494688511,
-0.04198753833770752,
-0.027611371129751205,
0.06096560135483742,
-0.021830476820468903,
-0.... |
719,338 | ibm_platform_services.catalog_management_v1 | create_object |
Create catalog object.
Create an object with a specific catalog.
:param str catalog_identifier: Catalog identifier.
:param str id: (optional) unique id.
:param str name: (optional) The programmatic name of this offering.
:param str rev: (optional) Cloudant revision.
... | def create_object(
self,
catalog_identifier: str,
*,
id: str = None,
name: str = None,
rev: str = None,
crn: str = None,
url: str = None,
parent_id: str = None,
label_i18n: str = None,
label: str = None,
tags: List[str] = None,
created: datetime = None,
updated: d... | (self, catalog_identifier: str, *, id: Optional[str] = None, name: Optional[str] = None, rev: Optional[str] = None, crn: Optional[str] = None, url: Optional[str] = None, parent_id: Optional[str] = None, label_i18n: Optional[str] = None, label: Optional[str] = None, tags: Optional[List[str]] = None, created: Optional[da... | [
-0.05704466626048088,
-0.0055709173902869225,
-0.052007947117090225,
-0.06463790684938431,
0.035886626690626144,
-0.024477694183588028,
-0.00786510482430458,
0.057006508111953735,
-0.009119515307247639,
-0.054869718849658966,
-0.035962942987680435,
0.05139743536710739,
-0.001496468554250896,... |
719,339 | ibm_platform_services.catalog_management_v1 | create_object_access |
Add account ID to object access list.
Add an account ID to an object's access list.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param str account_identifier: Account identifier.
:param dict headers: A `dict` cont... | def create_object_access(
self, catalog_identifier: str, object_identifier: str, account_identifier: str, **kwargs
) -> DetailedResponse:
"""
Add account ID to object access list.
Add an account ID to an object's access list.
:param str catalog_identifier: Catalog identifier.
:param str object_i... | (self, catalog_identifier: str, object_identifier: str, account_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.0738442987203598,
0.017614565789699554,
-0.07521311938762665,
-0.022369418293237686,
0.06249748915433884,
-0.0050070034340023994,
-0.02233339659869671,
0.0519791804254055,
-0.032473478466272354,
-0.059039413928985596,
0.010635379701852798,
0.06066038832068443,
0.03513907641172409,
-0.04... |
719,340 | ibm_platform_services.catalog_management_v1 | create_offering |
Create offering.
Create an offering.
:param str catalog_identifier: Catalog identifier.
:param str id: (optional) unique id.
:param str rev: (optional) Cloudant revision.
:param str url: (optional) The url for this specific offering.
:param str crn: (optional) ... | def create_offering(
self,
catalog_identifier: str,
*,
id: str = None,
rev: str = None,
url: str = None,
crn: str = None,
label: str = None,
name: str = None,
offering_icon_url: str = None,
offering_docs_url: str = None,
offering_support_url: str = None,
tags: List[st... | (self, catalog_identifier: str, *, id: Optional[str] = None, rev: Optional[str] = None, url: Optional[str] = None, crn: Optional[str] = None, label: Optional[str] = None, name: Optional[str] = None, offering_icon_url: Optional[str] = None, offering_docs_url: Optional[str] = None, offering_support_url: Optional[str] = N... | [
-0.039985328912734985,
-0.06322992593050003,
-0.04814402759075165,
-0.028978779911994934,
-0.0006289799930527806,
-0.015980660915374756,
0.02207082323729992,
-0.00710518890991807,
-0.04814402759075165,
-0.00044016572064720094,
-0.038292013108730316,
0.031114665791392326,
0.002123859710991382... |
719,341 | ibm_platform_services.catalog_management_v1 | create_offering_instance |
Create an offering resource instance.
Provision a new offering in a given account, and return its resource instance.
:param str x_auth_refresh_token: IAM Refresh token.
:param str id: (optional) provisioned instance ID (part of the CRN).
:param str rev: (optional) Cloudant rev... | def create_offering_instance(
self,
x_auth_refresh_token: str,
*,
id: str = None,
rev: str = None,
url: str = None,
crn: str = None,
label: str = None,
catalog_id: str = None,
offering_id: str = None,
kind_format: str = None,
version: str = None,
cluster_id: str = Non... | (self, x_auth_refresh_token: str, *, id: Optional[str] = None, rev: Optional[str] = None, url: Optional[str] = None, crn: Optional[str] = None, label: Optional[str] = None, catalog_id: Optional[str] = None, offering_id: Optional[str] = None, kind_format: Optional[str] = None, version: Optional[str] = None, cluster_id: ... | [
0.0182987991720438,
-0.07775341719388962,
-0.03267979249358177,
-0.02908218838274479,
-0.022565066814422607,
-0.0017340538324788213,
0.03394177928566933,
-0.021849313750863075,
-0.0663767084479332,
0.01600085385143757,
-0.017159244045615196,
0.018082190304994583,
0.026520544663071632,
0.00... |
719,342 | ibm_platform_services.catalog_management_v1 | delete_catalog |
Delete catalog.
Delete a catalog.
:param str catalog_identifier: Catalog identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
| def delete_catalog(self, catalog_identifier: str, **kwargs) -> DetailedResponse:
"""
Delete catalog.
Delete a catalog.
:param str catalog_identifier: Catalog identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and ... | (self, catalog_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04261533543467522,
-0.03053145483136177,
0.008785837329924107,
-0.09037882834672928,
0.03133585676550865,
-0.011502922512590885,
-0.04636920243501663,
0.08015400916337967,
0.012066002935171127,
-0.014729460701346397,
-0.018376074731349945,
0.01440770085901022,
0.0027260228525847197,
-0.... |
719,343 | ibm_platform_services.catalog_management_v1 | delete_object |
Delete catalog object.
Delete a specific object within a specific catalog.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` con... | def delete_object(self, catalog_identifier: str, object_identifier: str, **kwargs) -> DetailedResponse:
"""
Delete catalog object.
Delete a specific object within a specific catalog.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict h... | (self, catalog_identifier: str, object_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.038439568132162094,
-0.002902331529185176,
-0.05205733701586723,
-0.07615862041711807,
0.049355398863554,
-0.04139368608593941,
-0.01587838865816593,
0.07572630792856216,
-0.023092562332749367,
-0.009546847082674503,
-0.02012043073773384,
0.011762436479330063,
-0.003753442084416747,
-0.... |
719,344 | ibm_platform_services.catalog_management_v1 | delete_object_access |
Remove account ID from object access list.
Delete the specified account ID from the specified object's access list.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param str account_identifier: Account identifier.
:p... | def delete_object_access(
self, catalog_identifier: str, object_identifier: str, account_identifier: str, **kwargs
) -> DetailedResponse:
"""
Remove account ID from object access list.
Delete the specified account ID from the specified object's access list.
:param str catalog_identifier: Catalog ide... | (self, catalog_identifier: str, object_identifier: str, account_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03410758078098297,
0.02964847907423973,
-0.058969348669052124,
-0.036710239946842194,
0.043171387165784836,
-0.02728242427110672,
-0.02305992878973484,
0.05966096743941307,
0.0024866319727152586,
-0.021567493677139282,
-0.00833579059690237,
0.04069613292813301,
0.017590703442692757,
-0.... |
719,345 | ibm_platform_services.catalog_management_v1 | delete_object_access_list |
Delete accounts from object access list.
Delete all or a set of accounts from an object's access list.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param List[str] accounts: A list of accounts to delete. An entry with
... | def delete_object_access_list(
self, catalog_identifier: str, object_identifier: str, accounts: List[str], **kwargs
) -> DetailedResponse:
"""
Delete accounts from object access list.
Delete all or a set of accounts from an object's access list.
:param str catalog_identifier: Catalog identifier.
... | (self, catalog_identifier: str, object_identifier: str, accounts: List[str], **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.02718624845147133,
0.013177573680877686,
-0.05692121013998985,
-0.046911053359508514,
0.018902938812971115,
-0.017148392274975777,
-0.020112652331590652,
0.023160025477409363,
-0.0002843925030902028,
-0.01199556328356266,
-0.02050049975514412,
0.030122807249426842,
0.002234739251434803,
... |
719,346 | ibm_platform_services.catalog_management_v1 | delete_offering |
Delete offering.
Delete an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP s... | def delete_offering(self, catalog_identifier: str, offering_id: str, **kwargs) -> DetailedResponse:
"""
Delete offering.
Delete an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param dict headers: A `dict` containing the request he... | (self, catalog_identifier: str, offering_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.059107013046741486,
-0.02877204306423664,
-0.015984468162059784,
-0.05118582025170326,
-0.011837386526167393,
-0.019696416333317757,
0.008773697540163994,
0.0485217422246933,
-0.04454338550567627,
0.00007451093551935628,
-0.04745611175894737,
-0.013817684724926949,
0.002013599034398794,
... |
719,347 | ibm_platform_services.catalog_management_v1 | delete_offering_instance |
Delete a version instance.
Delete and instance deployed out of a product version.
:param str instance_identifier: Version Instance identifier.
:param str x_auth_refresh_token: IAM Refresh token.
:param dict headers: A `dict` containing the request headers
:return: A `D... | def delete_offering_instance(
self, instance_identifier: str, x_auth_refresh_token: str, **kwargs
) -> DetailedResponse:
"""
Delete a version instance.
Delete and instance deployed out of a product version.
:param str instance_identifier: Version Instance identifier.
:param str x_auth_refresh_to... | (self, instance_identifier: str, x_auth_refresh_token: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.06999259442090988,
-0.06895434111356735,
-0.04886950924992561,
-0.03215004876255989,
-0.0010270652128383517,
-0.04367824271321297,
0.022179238498210907,
0.021230489015579224,
-0.014374437741935253,
0.05062379688024521,
-0.028140245005488396,
-0.057426147162914276,
0.018706459552049637,
-... |
719,348 | ibm_platform_services.catalog_management_v1 | delete_operators |
Delete operators.
Delete operators from a kubernetes cluster.
:param str x_auth_refresh_token: IAM Refresh token.
:param str cluster_id: Cluster identification.
:param str region: Cluster region.
:param str version_locator_id: A dotted value of `catalogID`.`versionID`.... | def delete_operators(
self, x_auth_refresh_token: str, cluster_id: str, region: str, version_locator_id: str, **kwargs
) -> DetailedResponse:
"""
Delete operators.
Delete operators from a kubernetes cluster.
:param str x_auth_refresh_token: IAM Refresh token.
:param str cluster_id: Cluster ident... | (self, x_auth_refresh_token: str, cluster_id: str, region: str, version_locator_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.01904669590294361,
-0.07799902558326721,
-0.019409144297242165,
-0.06429845094680786,
-0.004068490117788315,
-0.006746082101017237,
-0.059224169701337814,
0.05237388238310814,
-0.050634127110242844,
0.05559967830777168,
0.023377960547804832,
-0.022834287956357002,
0.04037681967020035,
-0... |
719,349 | ibm_platform_services.catalog_management_v1 | delete_version |
Delete version.
Delete the specified version. If the version is an active version with a working
copy, the working copy will be deleted as well.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
... | def delete_version(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Delete version.
Delete the specified version. If the version is an active version with a working
copy, the working copy will be deleted as well.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.024666721001267433,
-0.05179468169808388,
-0.07072453945875168,
-0.04191351681947708,
0.008193586021661758,
-0.05179468169808388,
-0.048066623508930206,
0.09953555464744568,
-0.0038162837736308575,
0.02598782815039158,
-0.04430237039923668,
-0.011826633475720882,
0.008632447570562363,
-0... |
719,350 | ibm_platform_services.catalog_management_v1 | deploy_operators |
Deploy operators.
Deploy operators on a kubernetes cluster.
:param str x_auth_refresh_token: IAM Refresh token.
:param str cluster_id: (optional) Cluster ID.
:param str region: (optional) Cluster region.
:param List[str] namespaces: (optional) Kube namespaces to deploy... | def deploy_operators(
self,
x_auth_refresh_token: str,
*,
cluster_id: str = None,
region: str = None,
namespaces: List[str] = None,
all_namespaces: bool = None,
version_locator_id: str = None,
**kwargs
) -> DetailedResponse:
"""
Deploy operators.
Deploy operators on a kub... | (self, x_auth_refresh_token: str, *, cluster_id: Optional[str] = None, region: Optional[str] = None, namespaces: Optional[List[str]] = None, all_namespaces: Optional[bool] = None, version_locator_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.02979205921292305,
-0.07779550552368164,
-0.03804813325405121,
-0.050496891140937805,
0.007438779808580875,
0.006649188697338104,
-0.03583173826336861,
0.0013840931933373213,
-0.06778478622436523,
0.0494995154440403,
0.04100332781672478,
-0.022108551114797592,
0.03725392371416092,
-0.035... |
719,351 | ibm_platform_services.catalog_management_v1 | deprecate_offering |
Allows offering to be deprecated.
Approve or disapprove the offering to be deprecated.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str setting: Set deprecation (true) or cancel deprecation (false).
:param s... | def deprecate_offering(
self,
catalog_identifier: str,
offering_id: str,
setting: str,
*,
description: str = None,
days_until_deprecate: int = None,
**kwargs
) -> DetailedResponse:
"""
Allows offering to be deprecated.
Approve or disapprove the offering to be deprecated.
... | (self, catalog_identifier: str, offering_id: str, setting: str, *, description: Optional[str] = None, days_until_deprecate: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03387536108493805,
-0.030247820541262627,
0.01640637405216694,
-0.045032795518636703,
-0.017872046679258347,
-0.0319516658782959,
0.008313111960887909,
0.010552843101322651,
-0.02907528169453144,
0.008459679782390594,
-0.054742876440286636,
-0.01777128130197525,
0.014995663426816463,
0.... |
719,352 | ibm_platform_services.catalog_management_v1 | deprecate_version |
Deprecate version immediately.
Deprecate the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.... | def deprecate_version(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Deprecate version immediately.
Deprecate the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `Detai... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.003573331981897354,
-0.03679470717906952,
-0.023916559293866158,
-0.031505465507507324,
-0.0036772594321519136,
-0.04832843318581581,
-0.034088172018527985,
0.07436776161193848,
-0.0064523410983383656,
0.00628871051594615,
-0.036476291716098785,
-0.03525569662451744,
0.02319127880036831,
... |
719,357 | ibm_platform_services.catalog_management_v1 | get_catalog |
Get catalog.
Get a catalog. This can also be used by an unauthenticated user to get the public
catalog.
:param str catalog_identifier: Catalog identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, ... | def get_catalog(self, catalog_identifier: str, **kwargs) -> DetailedResponse:
"""
Get catalog.
Get a catalog. This can also be used by an unauthenticated user to get the public
catalog.
:param str catalog_identifier: Catalog identifier.
:param dict headers: A `dict` containing the request header... | (self, catalog_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03755704686045647,
-0.04037204384803772,
-0.014618385583162308,
-0.060754045844078064,
0.06310581415891647,
0.010413706302642822,
-0.012213166803121567,
0.013549399562180042,
0.022484341636300087,
-0.0380559079349041,
-0.011803388595581055,
0.012979273684322834,
-0.013344510458409786,
-... |
719,358 | ibm_platform_services.catalog_management_v1 | get_catalog_account |
Get catalog account settings.
Get the account level settings for the account for private catalog.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict... | def get_catalog_account(self, **kwargs) -> DetailedResponse:
"""
Get catalog account settings.
Get the account level settings for the account for private catalog.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status... | (self, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.06714022904634476,
-0.03395984694361687,
-0.008082514628767967,
-0.029318490996956825,
0.04938970133662224,
-0.005190524738281965,
-0.027352115139365196,
-0.04634270444512367,
0.017892252653837204,
-0.04694501683115959,
0.026448644697666168,
-0.007444771006703377,
-0.0006892281235195696,
... |
719,359 | ibm_platform_services.catalog_management_v1 | get_catalog_account_audit |
Get catalog account audit log.
Get the audit log associated with a catalog account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `dict` result repre... | def get_catalog_account_audit(self, **kwargs) -> DetailedResponse:
"""
Get catalog account audit log.
Get the audit log associated with a catalog account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
... | (self, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.07330401241779327,
-0.028275905176997185,
-0.010483243502676487,
-0.007112692575901747,
0.014784958213567734,
-0.06242731958627701,
-0.038435645401477814,
-0.03196558728814125,
0.00383613258600235,
-0.03805093839764595,
-0.005425231531262398,
-0.008489766158163548,
0.020931513980031013,
... |
719,360 | ibm_platform_services.catalog_management_v1 | get_catalog_account_filters |
Get catalog account filters.
Get the accumulated filters of the account and of the catalogs you have access to.
:param str catalog: (optional) catalog id. Narrow down filters to the
account and just the one catalog.
:param dict headers: A `dict` containing the request h... | def get_catalog_account_filters(self, *, catalog: str = None, **kwargs) -> DetailedResponse:
"""
Get catalog account filters.
Get the accumulated filters of the account and of the catalogs you have access to.
:param str catalog: (optional) catalog id. Narrow down filters to the
account and ju... | (self, *, catalog: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.05902776122093201,
-0.017636768519878387,
-0.011545495130121708,
0.0007166846189647913,
0.002718383679166436,
-0.00236276863142848,
-0.03570987656712532,
-0.08021631836891174,
0.026930762454867363,
-0.02541230618953705,
0.02410329319536686,
-0.008696209639310837,
-0.022619744762778282,
... |
719,361 | ibm_platform_services.catalog_management_v1 | get_catalog_audit |
Get catalog audit log.
Get the audit log associated with a catalog.
:param str catalog_identifier: Catalog identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype... | def get_catalog_audit(self, catalog_identifier: str, **kwargs) -> DetailedResponse:
"""
Get catalog audit log.
Get the audit log associated with a catalog.
:param str catalog_identifier: Catalog identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse... | (self, catalog_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.04595661163330078,
-0.02508479543030262,
-0.008149486966431141,
-0.009724966250360012,
0.02048562467098236,
-0.05726144462823868,
-0.03844346106052399,
-0.005709467921406031,
0.0019506983226165175,
-0.03889986500144005,
-0.040620166808366776,
0.00515651423484087,
0.014534787274897099,
-... |
719,362 | ibm_platform_services.catalog_management_v1 | get_cluster |
Get kubernetes cluster.
Get the contents of the specified kubernetes cluster.
:param str cluster_id: ID of the cluster.
:param str region: Region of the cluster.
:param str x_auth_refresh_token: IAM Refresh token.
:param dict headers: A `dict` containing the request he... | def get_cluster(self, cluster_id: str, region: str, x_auth_refresh_token: str, **kwargs) -> DetailedResponse:
"""
Get kubernetes cluster.
Get the contents of the specified kubernetes cluster.
:param str cluster_id: ID of the cluster.
:param str region: Region of the cluster.
:param str x_auth_re... | (self, cluster_id: str, region: str, x_auth_refresh_token: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.01025465503334999,
-0.033302608877420425,
-0.007010835688561201,
-0.01595977321267128,
0.022620296105742455,
0.04898940771818161,
-0.00472241872921586,
0.06289279460906982,
-0.014094464480876923,
-0.006655971985310316,
-0.010709608905017376,
-0.02609614096581936,
-0.010391141287982464,
-... |
719,363 | ibm_platform_services.catalog_management_v1 | get_consumption_offerings |
Get consumption offerings.
Retrieve the available offerings from both public and from the account that
currently scoped for consumption. These copies cannot be used for updating. They
are not complete and only return what is visible to the caller. This can be used
by an unauthe... | def get_consumption_offerings(
self,
*,
digest: bool = None,
catalog: str = None,
select: str = None,
include_hidden: bool = None,
limit: int = None,
offset: int = None,
**kwargs
) -> DetailedResponse:
"""
Get consumption offerings.
Retrieve the available offerings from b... | (self, *, digest: Optional[bool] = None, catalog: Optional[str] = None, select: Optional[str] = None, include_hidden: Optional[bool] = None, limit: Optional[int] = None, offset: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.010669580660760403,
-0.06810992956161499,
-0.032282788306474686,
-0.05678263306617737,
-0.0022882961202412844,
0.029195187613368034,
0.035315580666065216,
-0.0855758860707283,
-0.09061835706233978,
-0.00019283234723843634,
-0.05174015834927559,
-0.015282712876796722,
-0.02899421937763691,... |
719,366 | ibm_platform_services.catalog_management_v1 | get_namespaces |
Get cluster namespaces.
Get the namespaces associated with the specified kubernetes cluster.
:param str cluster_id: ID of the cluster.
:param str region: Cluster region.
:param str x_auth_refresh_token: IAM Refresh token.
:param int limit: (optional) The maximum number... | def get_namespaces(
self,
cluster_id: str,
region: str,
x_auth_refresh_token: str,
*,
limit: int = None,
offset: int = None,
**kwargs
) -> DetailedResponse:
"""
Get cluster namespaces.
Get the namespaces associated with the specified kubernetes cluster.
:param str cluster... | (self, cluster_id: str, region: str, x_auth_refresh_token: str, *, limit: Optional[int] = None, offset: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.021603751927614212,
-0.0157233327627182,
-0.005183814559131861,
-0.06224196404218674,
0.003713710233569145,
0.07700633257627487,
-0.04736902937293053,
0.04769471287727356,
0.041542891412973404,
0.005740192718803883,
-0.041036270558834076,
-0.030759109184145927,
0.01581380143761635,
-0.0... |
719,367 | ibm_platform_services.catalog_management_v1 | get_object |
Get catalog object.
Get the specified object from within the specified catalog.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse... | def get_object(self, catalog_identifier: str, object_identifier: str, **kwargs) -> DetailedResponse:
"""
Get catalog object.
Get the specified object from within the specified catalog.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict... | (self, catalog_identifier: str, object_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.022615982219576836,
-0.017410140484571457,
-0.07720940560102463,
-0.04852748662233353,
0.07460195571184158,
-0.015635628253221512,
0.005088143050670624,
0.03668533265590668,
-0.01443149521946907,
-0.05519096180796623,
-0.005730951204895973,
0.01821591518819332,
-0.010293983854353428,
-0... |
719,368 | ibm_platform_services.catalog_management_v1 | get_object_access |
Check for account ID in object access list.
Determine if an account ID is in an object's access list.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param str account_identifier: Account identifier.
:param dict head... | def get_object_access(
self, catalog_identifier: str, object_identifier: str, account_identifier: str, **kwargs
) -> DetailedResponse:
"""
Check for account ID in object access list.
Determine if an account ID is in an object's access list.
:param str catalog_identifier: Catalog identifier.
:par... | (self, catalog_identifier: str, object_identifier: str, account_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.023627329617738724,
-0.007046747021377087,
-0.07879380881786346,
0.019716475158929825,
0.06830478459596634,
-0.004248774144798517,
-0.00038719939766451716,
0.017580823972821236,
-0.014661199413239956,
-0.05781576782464981,
0.0030435279477387667,
0.034404706209897995,
0.03182750940322876,
... |
719,369 | ibm_platform_services.catalog_management_v1 | get_object_access_list |
Get object access list.
Get the access list associated with the specified object.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param int limit: (optional) The maximum number of results to return.
:param int offset... | def get_object_access_list(
self, catalog_identifier: str, object_identifier: str, *, limit: int = None, offset: int = None, **kwargs
) -> DetailedResponse:
"""
Get object access list.
Get the access list associated with the specified object.
:param str catalog_identifier: Catalog identifier.
:p... | (self, catalog_identifier: str, object_identifier: str, *, limit: Optional[int] = None, offset: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.037426214665174484,
0.0015256702899932861,
-0.04810924455523491,
-0.003885952290147543,
0.06281621754169464,
0.026796601712703705,
-0.010736444965004921,
0.004673825576901436,
-0.014706972055137157,
-0.0426965095102787,
-0.03324202820658684,
0.02740197256207466,
0.02371632680296898,
-0.... |
719,370 | ibm_platform_services.catalog_management_v1 | get_object_audit |
Get catalog object audit log.
Get the audit log associated with a specific catalog object.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict headers: A `dict` containing the request headers
:return: A `Detai... | def get_object_audit(self, catalog_identifier: str, object_identifier: str, **kwargs) -> DetailedResponse:
"""
Get catalog object audit log.
Get the audit log associated with a specific catalog object.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier... | (self, catalog_identifier: str, object_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.039825912564992905,
-0.027100788429379463,
-0.054130587726831436,
-0.011571521870791912,
0.032194387167692184,
-0.06818678975105286,
-0.025769708678126335,
0.0028085787780582905,
-0.02348025143146515,
-0.03567294403910637,
-0.03375618904829025,
0.012068458832800388,
0.02843187004327774,
... |
719,371 | ibm_platform_services.catalog_management_v1 | get_offering |
Get offering.
Get an offering. This can be used by an unauthenticated user for publicly
available offerings.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str type: (optional) Offering Parameter Type. Valid ... | def get_offering(
self, catalog_identifier: str, offering_id: str, *, type: str = None, digest: bool = None, **kwargs
) -> DetailedResponse:
"""
Get offering.
Get an offering. This can be used by an unauthenticated user for publicly
available offerings.
:param str catalog_identifier: Catalog ide... | (self, catalog_identifier: str, offering_id: str, *, type: Optional[str] = None, digest: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03400174155831337,
-0.034774914383888245,
-0.030153842642903328,
-0.0316462516784668,
0.03150240704417229,
0.009174715727567673,
0.035242415964603424,
-0.054266128689050674,
-0.0626811534166336,
-0.015562403947114944,
-0.011130130849778652,
0.005879729986190796,
-0.009835511445999146,
0... |
719,372 | ibm_platform_services.catalog_management_v1 | get_offering_about |
Get version about information.
Get the about information, in markdown, for the current version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the resul... | def get_offering_about(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Get version about information.
Get the about information, in markdown, for the current version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the requ... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.0035824901424348354,
-0.07651972025632858,
-0.02589709870517254,
-0.023588916286826134,
0.04731772094964981,
-0.018990039825439453,
0.02652660198509693,
0.007833828218281269,
-0.023553943261504173,
0.008555134758353233,
-0.005984660238027573,
-0.010885174386203289,
-0.0015868748305365443,... |
719,373 | ibm_platform_services.catalog_management_v1 | get_offering_audit |
Get offering audit log.
Get the audit log associated with an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing ... | def get_offering_audit(self, catalog_identifier: str, offering_id: str, **kwargs) -> DetailedResponse:
"""
Get offering audit log.
Get the audit log associated with an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identifier.
:param dict headers: A... | (self, catalog_identifier: str, offering_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.055564939975738525,
-0.040304891765117645,
-0.02327863685786724,
0.011930742301046848,
-0.0075505441054701805,
-0.05249173566699028,
-0.0121073629707098,
-0.020611660555005074,
-0.042494989931583405,
-0.01615198142826557,
-0.04698116332292557,
-0.00671601016074419,
0.02133580669760704,
... |
719,374 | ibm_platform_services.catalog_management_v1 | get_offering_container_images |
Get version's container images.
Get the list of container images associated with the specified version. The
"image_manifest_url" property of the version should be the URL for the image
manifest, and the operation will return that content.
:param str version_loc_id: A dotted va... | def get_offering_container_images(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Get version's container images.
Get the list of container images associated with the specified version. The
"image_manifest_url" property of the version should be the URL for the image
manifest, and the o... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.001140684587880969,
-0.11164054274559021,
-0.08322294801473618,
-0.03272222727537155,
-0.01748976856470108,
0.03308969736099243,
-0.027525167912244797,
0.025460341945290565,
0.04815591871738434,
0.039476655423641205,
0.009772921912372112,
0.016474854201078415,
0.011566519737243652,
-0.03... |
719,375 | ibm_platform_services.catalog_management_v1 | get_offering_instance |
Get Offering Instance.
Get the resource associated with an installed offering instance.
:param str instance_identifier: Version Instance identifier.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HT... | def get_offering_instance(self, instance_identifier: str, **kwargs) -> DetailedResponse:
"""
Get Offering Instance.
Get the resource associated with an installed offering instance.
:param str instance_identifier: Version Instance identifier.
:param dict headers: A `dict` containing the request heade... | (self, instance_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.05010338872671127,
-0.08967704325914383,
-0.058750320225954056,
-0.03943419083952904,
0.015358762815594673,
-0.00787114817649126,
0.02778872661292553,
-0.04302545636892319,
-0.045710187405347824,
0.012543280608952045,
-0.026951927691698074,
-0.03139742463827133,
0.00425155321136117,
-0.0... |
719,376 | ibm_platform_services.catalog_management_v1 | get_offering_license |
Get version license content.
Get the license content for the specified license ID in the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str license_id: The ID of the license, which maps to the file name
in the 'licenses' ... | def get_offering_license(self, version_loc_id: str, license_id: str, **kwargs) -> DetailedResponse:
"""
Get version license content.
Get the license content for the specified license ID in the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str license... | (self, version_loc_id: str, license_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.009161737747490406,
-0.05640721321105957,
-0.02721027098596096,
0.006820306181907654,
0.03549397364258766,
-0.031893134117126465,
-0.025294555351138115,
0.03398623317480087,
-0.005161792039871216,
-0.00010088553972309455,
-0.003951165359467268,
-0.008381260558962822,
0.007587479427456856,
... |
719,377 | ibm_platform_services.catalog_management_v1 | get_offering_source |
Get offering source.
Get an offering's source. This request requires authorization, even for public
offerings.
:param str version: The version being requested.
:param str accept: (optional) The type of the response: application/yaml,
application/json, or applic... | def get_offering_source(
self,
version: str,
*,
accept: str = None,
catalog_id: str = None,
name: str = None,
id: str = None,
kind: str = None,
channel: str = None,
**kwargs
) -> DetailedResponse:
"""
Get offering source.
Get an offering's source. This request requir... | (self, version: str, *, accept: Optional[str] = None, catalog_id: Optional[str] = None, name: Optional[str] = None, id: Optional[str] = None, kind: Optional[str] = None, channel: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03989936038851738,
-0.07597517967224121,
-0.03653606027364731,
-0.03535005450248718,
0.012320299632847309,
-0.007523171603679657,
0.035987310111522675,
-0.001143964589573443,
0.005164436064660549,
0.022604918107390404,
-0.050272487103939056,
-0.022392498329281807,
-0.01293985452502966,
... |
719,378 | ibm_platform_services.catalog_management_v1 | get_offering_updates |
Get version updates.
Get available updates for the specified version.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str kind: The kind of offering (e.g, helm, ova, terraform ...).
:param str x_auth_refresh_to... | def get_offering_updates(
self,
catalog_identifier: str,
offering_id: str,
kind: str,
x_auth_refresh_token: str,
*,
target: str = None,
version: str = None,
cluster_id: str = None,
region: str = None,
resource_group_id: str = None,
namespace: str = None,
sha: str = No... | (self, catalog_identifier: str, offering_id: str, kind: str, x_auth_refresh_token: str, *, target: Optional[str] = None, version: Optional[str] = None, cluster_id: Optional[str] = None, region: Optional[str] = None, resource_group_id: Optional[str] = None, namespace: Optional[str] = None, sha: Optional[str] = None, cha... | [
0.00460880808532238,
-0.07092610746622086,
-0.07551871240139008,
-0.014500036835670471,
-0.01478707417845726,
-0.02218524180352688,
-0.0019942179787904024,
-0.0059305704198777676,
-0.04203714430332184,
0.02809266373515129,
-0.0468149334192276,
-0.05281494930386543,
0.020463014021515846,
0.... |
719,379 | ibm_platform_services.catalog_management_v1 | get_offering_working_copy |
Create working copy of version.
Create a working copy of the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and H... | def get_offering_working_copy(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Create working copy of version.
Create a working copy of the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request heade... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.020647436380386353,
-0.05331876128911972,
-0.09037196636199951,
-0.026431521400809288,
-0.022785793989896774,
-0.04592214152216911,
-0.018596714362502098,
0.03712331876158714,
0.01125267706811428,
-0.011384133249521255,
-0.02222491428256035,
-0.0022194241173565388,
-0.019806113094091415,
... |
719,380 | ibm_platform_services.catalog_management_v1 | get_override_values |
Get override values.
Returns the override values that were used to validate the specified offering
version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` ... | def get_override_values(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Get override values.
Returns the override values that were used to validate the specified offering
version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` co... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.02699974924325943,
-0.09851307421922684,
-0.03910308703780174,
-0.01287626288831234,
-0.03948954865336418,
-0.023591844365000725,
-0.025963325053453445,
-0.036714039742946625,
0.030073892325162888,
-0.016749681904911995,
-0.040157075971364975,
-0.004325756803154945,
-0.03766263276338577,
... |
719,381 | ibm_platform_services.catalog_management_v1 | get_preinstall |
Get version pre-install status.
Get the pre-install status for the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str x_auth_refresh_token: IAM Refresh token.
:param str cluster_id: (optional) ID of the cluster.
:param s... | def get_preinstall(
self,
version_loc_id: str,
x_auth_refresh_token: str,
*,
cluster_id: str = None,
region: str = None,
namespace: str = None,
**kwargs
) -> DetailedResponse:
"""
Get version pre-install status.
Get the pre-install status for the specified version.
:param... | (self, version_loc_id: str, x_auth_refresh_token: str, *, cluster_id: Optional[str] = None, region: Optional[str] = None, namespace: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.023632051423192024,
-0.040113985538482666,
-0.06024431437253952,
-0.003077758476138115,
0.06548773497343063,
-0.004296944942325354,
-0.00249795732088387,
0.030745500698685646,
0.012402702122926712,
0.008946812711656094,
-0.013942726887762547,
-0.04077399894595146,
-0.010055997408926487,
... |
719,382 | ibm_platform_services.catalog_management_v1 | get_validation_status |
Get offering install status.
Returns the install status for the specified offering version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str x_auth_refresh_token: IAM Refresh token.
:param dict headers: A `dict` containing the request headers
... | def get_validation_status(self, version_loc_id: str, x_auth_refresh_token: str, **kwargs) -> DetailedResponse:
"""
Get offering install status.
Returns the install status for the specified offering version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str x_auth_refre... | (self, version_loc_id: str, x_auth_refresh_token: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.03063041903078556,
-0.06849809736013412,
-0.05047805234789848,
0.010280197486281395,
0.022625572979450226,
-0.0424732081592083,
-0.02752351574599743,
-0.025604546070098877,
-0.006766654551029205,
0.005610703490674496,
-0.010727956891059875,
-0.04554355889558792,
0.04846770316362381,
-0.0... |
719,383 | ibm_platform_services.catalog_management_v1 | get_version |
Get offering/kind/version 'branch'.
Get the Offering/Kind/Version 'branch' for the specified locator ID.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing ... | def get_version(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Get offering/kind/version 'branch'.
Get the Offering/Kind/Version 'branch' for the specified locator ID.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the re... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.036645226180553436,
-0.08712949603796005,
-0.08592917025089264,
-0.014615725725889206,
-0.0098850317299366,
-0.046777382493019104,
0.004624783061444759,
0.011155964806675911,
-0.031949836760759354,
-0.020264316350221634,
-0.03943421691656113,
-0.030520036816596985,
-0.017342936247587204,
... |
719,384 | ibm_platform_services.catalog_management_v1 | ibm_publish_object |
Publish object to share with IBMers.
Publish the specified object so that it is visible to IBMers in the public
catalog.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param dict headers: A `dict` containing the req... | def ibm_publish_object(self, catalog_identifier: str, object_identifier: str, **kwargs) -> DetailedResponse:
"""
Publish object to share with IBMers.
Publish the specified object so that it is visible to IBMers in the public
catalog.
:param str catalog_identifier: Catalog identifier.
:param str ... | (self, catalog_identifier: str, object_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.03323061019182205,
-0.02382078766822815,
-0.05823633819818497,
0.004301943816244602,
0.05701654404401779,
-0.03465950861573219,
-0.011788414791226387,
0.03966065123677254,
-0.029553808271884918,
-0.015961844474077225,
-0.021660013124346733,
0.024064745754003525,
0.037255920469760895,
-0... |
719,385 | ibm_platform_services.catalog_management_v1 | ibm_publish_version |
Publish version to IBMers in public catalog.
Publish the specified version so that it is visible to IBMers in the public
catalog.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dict headers: A `dict` containing the request headers
:return:... | def ibm_publish_version(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Publish version to IBMers in public catalog.
Publish the specified version so that it is visible to IBMers in the public
catalog.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param dic... | (self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
0.004216181579977274,
-0.06728495657444,
-0.04700205475091934,
0.017682304605841637,
0.021587546914815903,
-0.033625081181526184,
-0.020578620955348015,
0.04849804937839508,
-0.0046358429826796055,
0.02440558187663555,
-0.050028834491968155,
0.012794231064617634,
0.02160494215786457,
-0.02... |
719,386 | ibm_platform_services.catalog_management_v1 | import_offering |
Import offering.
Import a new offering from a tgz.
:param str catalog_identifier: Catalog identifier.
:param List[str] tags: (optional) Tags array.
:param List[str] target_kinds: (optional) Target kinds. Current valid
values are 'iks', 'roks', 'vcenter', and 't... | def import_offering(
self,
catalog_identifier: str,
*,
tags: List[str] = None,
target_kinds: List[str] = None,
content: bytes = None,
zipurl: str = None,
offering_id: str = None,
target_version: str = None,
include_config: bool = None,
is_vsi: bool = None,
repo_type: str ... | (self, catalog_identifier: str, *, tags: Optional[List[str]] = None, target_kinds: Optional[List[str]] = None, content: Optional[bytes] = None, zipurl: Optional[str] = None, offering_id: Optional[str] = None, target_version: Optional[str] = None, include_config: Optional[bool] = None, is_vsi: Optional[bool] = None, rep... | [
-0.01379451248794794,
-0.06924153864383698,
-0.048799529671669006,
-0.04038449004292488,
-0.008179685100913048,
0.003400597022846341,
0.041806209832429886,
0.03381384536623955,
-0.08253652602434158,
-0.003376581473276019,
-0.0341980941593647,
-0.008684010244905949,
-0.05141241475939751,
0.... |
719,387 | ibm_platform_services.catalog_management_v1 | import_offering_version |
Import offering version.
Import new version to offering from a tgz.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param List[str] tags: (optional) Tags array.
:param List[str] target_kinds: (optional) Target kinds.... | def import_offering_version(
self,
catalog_identifier: str,
offering_id: str,
*,
tags: List[str] = None,
target_kinds: List[str] = None,
content: bytes = None,
zipurl: str = None,
target_version: str = None,
include_config: bool = None,
is_vsi: bool = None,
repo_type: str... | (self, catalog_identifier: str, offering_id: str, *, tags: Optional[List[str]] = None, target_kinds: Optional[List[str]] = None, content: Optional[bytes] = None, zipurl: Optional[str] = None, target_version: Optional[str] = None, include_config: Optional[bool] = None, is_vsi: Optional[bool] = None, repo_type: Optional[... | [
-0.004590229131281376,
-0.06425371766090393,
-0.05020296201109886,
-0.01195263396948576,
0.0009007197804749012,
-0.010167809203267097,
0.027854669839143753,
0.039304133504629135,
-0.0757601410150528,
-0.0008069689502008259,
-0.028215432539582253,
-0.01521848514676094,
-0.0486459881067276,
... |
719,388 | ibm_platform_services.catalog_management_v1 | install_version |
Install version.
Create an install for the specified version.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str x_auth_refresh_token: IAM Refresh token.
:param str cluster_id: (optional) Cluster ID.
:param str region: (optional) Cluster r... | def install_version(
self,
version_loc_id: str,
x_auth_refresh_token: str,
*,
cluster_id: str = None,
region: str = None,
namespace: str = None,
override_values: dict = None,
entitlement_apikey: str = None,
schematics: 'DeployRequestBodySchematics' = None,
script: str = None,... | (self, version_loc_id: str, x_auth_refresh_token: str, *, cluster_id: Optional[str] = None, region: Optional[str] = None, namespace: Optional[str] = None, override_values: Optional[dict] = None, entitlement_apikey: Optional[str] = None, schematics: Optional[ibm_platform_services.catalog_management_v1.DeployRequestBodyS... | [
0.012680936604738235,
-0.054739538580179214,
-0.06086069718003273,
0.009249968454241753,
0.013441207818686962,
0.0018677820917218924,
-0.046357057988643646,
0.04631807282567024,
-0.05177643150091171,
0.04011893644928932,
-0.006340468302369118,
-0.004797994624823332,
-0.016901416704058647,
... |
719,389 | ibm_platform_services.catalog_management_v1 | list_catalogs |
Get list of catalogs.
Retrieves the available catalogs for a given account. This can be used by an
unauthenticated user to retrieve the public catalog.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and... | def list_catalogs(self, **kwargs) -> DetailedResponse:
"""
Get list of catalogs.
Retrieves the available catalogs for a given account. This can be used by an
unauthenticated user to retrieve the public catalog.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResp... | (self, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse | [
-0.06346731632947922,
-0.06673376262187958,
-0.02031867392361164,
-0.08492749184370041,
0.03638746216893196,
0.0425691157579422,
-0.029485786333680153,
-0.027712073177099228,
0.035843055695295334,
0.00423012999817729,
-0.004732828587293625,
-0.010413979180157185,
-0.0036264529917389154,
-0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.