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,390
|
ibm_platform_services.catalog_management_v1
|
list_objects
|
List objects within a catalog.
List the available objects within the specified catalog.
:param str catalog_identifier: Catalog identifier.
:param int limit: (optional) The number of results to return.
:param int offset: (optional) The number of results to skip before
returning values.
:param str name: (optional) Only return results that contain the specified
string.
:param str sort: (optional) The field on which the output is sorted. Sorts
by default by **label** property. Available fields are **name**, **label**,
**created**, and **updated**. By adding **-** (i.e. **-label**) in front of
the query string, you can specify descending order. Default is ascending
order.
: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 representing a `ObjectListResult` object
|
def list_objects(
self,
catalog_identifier: str,
*,
limit: int = None,
offset: int = None,
name: str = None,
sort: str = None,
**kwargs
) -> DetailedResponse:
"""
List objects within a catalog.
List the available objects within the specified catalog.
:param str catalog_identifier: Catalog identifier.
:param int limit: (optional) The number of results to return.
:param int offset: (optional) The number of results to skip before
returning values.
:param str name: (optional) Only return results that contain the specified
string.
:param str sort: (optional) The field on which the output is sorted. Sorts
by default by **label** property. Available fields are **name**, **label**,
**created**, and **updated**. By adding **-** (i.e. **-label**) in front of
the query string, you can specify descending order. Default is ascending
order.
: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 representing a `ObjectListResult` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_objects'
)
headers.update(sdk_headers)
params = {'limit': limit, 'offset': offset, 'name': name, 'sort': sort}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier']
path_param_values = self.encode_path_vars(catalog_identifier)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/objects'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, *, limit: Optional[int] = None, offset: Optional[int] = None, name: Optional[str] = None, sort: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.037998951971530914,
-0.03160660341382027,
-0.03906434401869774,
-0.06182819977402687,
0.0367559939622879,
0.03735971823334694,
-0.025498362258076668,
0.00403072964400053,
0.0021940399892628193,
-0.04009421914815903,
-0.037714846432209015,
0.011097824200987816,
-0.0009999140165746212,
-0.03441213443875313,
0.0015403780853375793,
0.027504848316311836,
-0.03938395902514458,
-0.021112501621246338,
0.016602344810962677,
-0.004536790773272514,
0.02729177102446556,
0.04140820354223251,
0.0291739609092474,
0.013015528209507465,
0.025977788493037224,
-0.03031037747859955,
0.03892229124903679,
0.008962603285908699,
-0.020615318790078163,
0.03267199546098709,
-0.0381765179336071,
0.013601494021713734,
0.027540361508727074,
0.033044882118701935,
-0.03435886651277542,
-0.009499737992882729,
0.09609828144311905,
-0.0033870560582727194,
-0.004294858314096928,
0.013246363028883934,
0.02205359749495983,
0.013885597698390484,
0.05870305374264717,
0.010254389606416225,
0.029316013678908348,
0.020881665870547295,
-0.022976936772465706,
-0.04993133246898651,
0.0004136713978368789,
0.039135366678237915,
0.013583737425506115,
-0.013175337575376034,
-0.026403944939374924,
-0.03792792558670044,
0.0515294186770916,
-0.016460293903946877,
-0.011408563703298569,
0.023829249665141106,
-0.032600969076156616,
0.022586291655898094,
-0.018892936408519745,
0.02095269225537777,
-0.023136744275689125,
-0.03355982154607773,
-0.057531122118234634,
-0.011417442001402378,
0.022959180176258087,
0.02873004786670208,
-0.021716222167015076,
-0.004092877730727196,
0.020846154540777206,
0.048581838607788086,
0.03151782229542732,
-0.006103803403675556,
-0.018431266769766808,
-0.015581346116960049,
0.025107719004154205,
-0.008017068728804588,
-0.019354606047272682,
-0.07344096153974533,
-0.03412802889943123,
-0.041230637580156326,
0.007875015959143639,
0.011763693764805794,
0.010041311383247375,
0.01139968540519476,
-0.01853780634701252,
-0.028552483767271042,
0.05880959331989288,
0.06484680622816086,
-0.0006658694474026561,
0.033027127385139465,
-0.028659021481871605,
0.022710587829351425,
-0.0701027363538742,
-0.025977788493037224,
-0.007297929376363754,
-0.03806997835636139,
0.03917087987065315,
0.04311282932758331,
-0.013885597698390484,
-0.10014677047729492,
0.025835735723376274,
0.039987679570913315,
-0.016131797805428505,
-0.04396514222025871,
-0.006942798849195242,
0.039099857211112976,
0.028641264885663986,
0.02036672830581665,
-0.013610372319817543,
-0.0176677368581295,
0.0327252633869648,
-0.04645105451345444,
-0.036862533539533615,
-0.007644181605428457,
0.019194796681404114,
-0.0185200497508049,
-0.06310667097568512,
-0.08551539480686188,
-0.0068185036070644855,
-0.039277419447898865,
0.027700170874595642,
-0.04879491403698921,
-0.0037133321166038513,
-0.012305268086493015,
0.02574695274233818,
-0.008660742081701756,
-0.05856100097298622,
0.00828341580927372,
-0.004749868996441364,
0.01436502393335104,
-0.012598250061273575,
0.015314998105168343,
0.0466996468603611,
-0.015803301706910133,
-0.025391822680830956,
-0.013832328841090202,
-0.04794260114431381,
0.01471127662807703,
-0.006121559999883175,
0.015164067037403584,
0.013477197848260403,
0.01569676212966442,
-0.07912304997444153,
-0.03371962904930115,
0.03767933323979378,
-0.05273686349391937,
-0.020562049001455307,
0.015075284987688065,
-0.022976936772465706,
-0.012287511490285397,
0.025587143376469612,
-0.019603196531534195,
-0.04797811433672905,
-0.051280826330184937,
0.015279484912753105,
-0.053553663194179535,
-0.011044555343687534,
0.03197949007153511,
0.011630520224571228,
0.02532079629600048,
-0.026830101385712624,
-0.04684169963002205,
-0.043787576258182526,
-0.030523456633090973,
-0.07400917261838913,
-0.03821203112602234,
-0.059484340250492096,
-0.05078364536166191,
-0.027948761358857155,
0.0023394213058054447,
0.015750031918287277,
-0.024219892919063568,
0.011426320299506187,
0.010485224425792694,
0.0094731030985713,
-0.008336685597896576,
-0.0381765179336071,
-0.017942963168025017,
-0.03453642874956131,
-0.07621098309755325,
-0.01535938959568739,
0.006605425383895636,
-0.02631516195833683,
0.008878259919583797,
0.026776831597089767,
0.0387447252869606,
0.036578428000211716,
0.0013450563419610262,
-0.02450399659574032,
0.01351271104067564,
-0.020295701920986176,
-0.009739451110363007,
-0.04343244433403015,
-0.021023718640208244,
0.016353754326701164,
0.0018100552260875702,
-0.0005859651137143373,
0.013992137275636196,
-0.017516806721687317,
0.06836260110139847,
0.03251218795776367,
-0.0367559939622879,
0.07876791805028915,
0.03171314299106598,
-0.01287347637116909,
-0.0449950210750103,
-0.05373122915625572,
-0.028481457382440567,
0.022390970960259438,
0.045350149273872375,
-0.014764545485377312,
0.012642641551792622,
-0.020135892555117607,
0.0843079537153244,
0.008749525062739849,
-0.029688900336623192,
0.008012629114091396,
-0.0675458014011383,
0.027504848316311836,
-0.02617310918867588,
-0.02828613482415676,
-0.024805856868624687,
-0.04474642872810364,
0.029316013678908348,
0.050144411623477936,
0.010156729258596897,
0.061508581042289734,
-0.06964106857776642,
-0.038141004741191864,
-0.051849037408828735,
-0.021254554390907288,
0.05447700247168541,
0.016273850575089455,
0.002852140925824642,
0.054832130670547485,
0.0034869364462792873,
-0.027771195396780968,
-0.005841895006597042,
-0.009384320117533207,
-0.0004966276464983821,
-0.007635303307324648,
-0.0004666635359171778,
-0.06818503141403198,
-0.005002899095416069,
-0.0723755732178688,
0.0313580147922039,
-0.010174485854804516,
-0.03382616862654686,
0.020206918939948082,
-0.0373242050409317,
0.06854016333818436,
-0.062183331698179245,
0.028623508289456367,
-0.05983946844935417,
-0.08927977830171585,
-0.04751644656062126,
-0.00771076837554574,
-0.0322103276848793,
-0.05035748705267906,
-0.022106867283582687,
-0.09524597227573395,
0.05192006379365921,
0.04900799319148064,
0.010005798190832138,
0.009384320117533207,
0.0111777288839221,
-0.012864598073065281,
0.030345890671014786,
0.06168614700436592,
-0.008549763821065426,
-0.01118660718202591,
0.008816111832857132,
-0.00213411170989275,
0.06882426887750626,
0.008296733722090721,
-0.056394703686237335,
-0.0843079537153244,
0.03308039531111717,
0.008642985485494137,
-0.03906434401869774,
-0.020473266020417213,
-0.03110942244529724,
0.08445000648498535,
-0.048191193491220474,
0.0044790818355977535,
0.02686561457812786,
-0.07855483889579773,
-0.021556414663791656,
0.0461314357817173,
0.022266674786806107,
0.021023718640208244,
-0.06708412617444992,
-0.06939247995615005,
0.007728524971753359,
-0.07329890877008438,
-0.012908989563584328,
0.0018744225380942225,
0.01436502393335104,
-0.03469623997807503,
0.0008184645557776093,
0.05905818194150925,
-0.02633291855454445,
0.030470186844468117,
-0.030239352956414223,
0.05223967880010605,
-0.020562049001455307,
0.024131109938025475,
-0.0004758192226290703,
0.013619250617921352,
0.05515174940228462,
0.039099857211112976,
-0.027788951992988586,
-0.03775035962462425,
-0.017312606796622276,
0.001858885632827878,
-0.016824301332235336,
-0.0036201104521751404,
0.02716747485101223,
-0.006862894631922245,
0.035317715257406235,
-0.02631516195833683,
-0.03377290070056915,
0.08494719117879868,
-0.023847006261348724,
-0.02633291855454445,
0.06509540230035782,
0.06466924399137497,
-0.028374917805194855,
0.004936312325298786,
-0.024717075750231743,
-0.011133337393403053,
0.004652208182960749,
0.02121904119849205,
-0.06417205929756165,
-0.0024836931843310595,
-0.04460437595844269,
0.01139968540519476,
-0.005864090286195278,
0.007297929376363754,
-0.03380841389298439,
-0.016744397580623627,
-0.011887989938259125,
-0.019603196531534195,
0.04389411583542824,
0.12727873027324677,
-0.05163595825433731,
-0.005238173063844442,
-0.03608124703168869,
-0.02164519764482975,
0.01521733682602644,
0.0407334566116333,
0.0037288691382855177,
0.03506912663578987,
-0.030381403863430023,
0.013193094171583652,
-0.019319092854857445,
-0.03183743730187416,
-0.04638002812862396,
-0.05955536663532257,
-0.028055300936102867,
0.01266039814800024,
-0.020473266020417213,
0.018715370446443558,
-0.027966517955064774,
0.02249751053750515,
-0.03654291853308678,
-0.0035646213218569756,
-0.03549528121948242,
-0.08558642119169235,
-0.00414170790463686,
-0.04638002812862396,
0.006525520700961351,
0.012172093614935875,
-0.029671143740415573,
-0.011080067604780197,
-0.032494429498910904,
-0.019177040085196495,
0.09403852373361588,
0.04730336740612984,
-0.007684133946895599,
0.020704101771116257,
-0.039987679570913315,
0.014755667187273502,
-0.03577938675880432,
-0.020633075386285782,
0.043858602643013,
-0.049895819276571274,
-0.024983422830700874,
0.019745249301195145,
0.0103254159912467,
-0.005420177709311247,
0.0056376950815320015,
0.01371691096574068,
-0.03853164613246918,
0.05163595825433731,
-0.03821203112602234,
-0.03258321434259415,
-0.05770868808031082,
0.01923030987381935,
0.03538874164223671,
0.0145869804546237,
0.00883386842906475,
-0.031748656183481216,
-0.06111793965101242,
0.07699226588010788,
-0.062467433512210846,
-0.021840518340468407,
0.03689804673194885,
0.0347139947116375,
-0.06125999242067337,
0.0048120166175067425,
-0.03423456847667694,
0.015270606614649296,
0.06228987127542496,
0.01756119728088379,
0.08153793960809708,
0.0378924123942852,
0.01480005867779255,
0.03595695272088051,
-0.022728344425559044,
0.06534399092197418,
0.019620953127741814,
0.008603033609688282,
-0.025391822680830956,
0.009499737992882729,
-0.007621985860168934,
-0.009437589906156063,
-0.09233389794826508,
0.00852756854146719,
-0.027131961658596992,
-0.04826221987605095,
-0.03569060191512108,
0.028907613828778267,
-0.001852226909250021,
0.02038448490202427,
-0.04481745511293411,
-0.014560345560312271,
0.03043467365205288,
0.035335473716259,
-0.005020655691623688,
0.0008129156194627285,
0.00018158815510105342,
-0.0031384648755192757,
0.01266927644610405,
0.02164519764482975,
-0.04105307161808014,
0.03096736967563629,
0.010982407256960869,
0.02915620431303978,
0.027256257832050323,
0.0415857695043087,
-0.0193723626434803,
0.00746217742562294,
-0.08445000648498535,
0.02420213632285595,
0.03778587281703949,
-0.05472559109330177,
-0.01867985911667347,
0.008864942006766796,
-0.01429399847984314,
0.007932725362479687,
-0.020153649151325226,
0.005961751565337181,
0.04893696680665016,
-0.03881575167179108,
0.046628620475530624,
-0.015332754701375961,
-0.04229602962732315,
-0.023580657318234444,
-0.015323876403272152,
-0.018644345924258232,
0.02658150903880596,
0.03977460414171219,
0.03057672642171383,
0.011861355043947697,
0.00009710596350487322,
0.0062325382605195045,
0.00807033758610487,
0.017268214374780655,
-0.04034281149506569,
0.05334058403968811,
-0.055684443563222885,
0.020846154540777206,
0.005735355895012617,
0.04588284716010094,
0.037856899201869965,
-0.02958236075937748,
-0.03510463982820511,
0.03128698840737343,
0.06108242645859718,
-0.04339693486690521,
-0.0013428367674350739,
0.008984798565506935,
0.03622329980134964,
-0.019638709723949432,
0.019567683339118958,
-0.047765035182237625,
0.007670816499739885,
0.0435744971036911,
-0.03197949007153511,
0.03286731615662575,
-0.02631516195833683,
-0.037395231425762177,
-0.004155025351792574,
0.05788625404238701,
0.009996919892728329,
-0.00736007746309042,
-0.026918882504105568,
-0.03707561269402504,
0.029209474101662636,
0.044071681797504425,
-0.017294850200414658,
-0.02290591038763523,
0.08125383406877518,
-0.055826496332883835,
0.05660778284072876,
0.003433666890487075,
0.019034989178180695,
0.004612255841493607,
-0.011967893689870834,
-0.01138192880898714,
-0.02489463984966278,
-0.0045856209471821785,
0.011621641926467419,
-0.044355783611536026,
-0.010600642301142216,
0.023136744275689125,
0.058099329471588135,
-0.022675074636936188,
-0.003442545188590884,
-0.05419289693236351,
-0.040271785110235214,
-0.010645032860338688,
0.029653387144207954,
-0.08523128926753998,
0.035282202064991,
0.07400917261838913,
0.05103223770856857,
0.03506912663578987,
0.03973909094929695,
0.023562900722026825,
-0.006600986234843731,
-0.02207135409116745,
0.014853328466415405,
0.0028343843296170235,
0.004714355804026127,
0.024539509788155556,
-0.004363664425909519,
0.0737960934638977,
-0.06733272224664688,
0.01981627568602562,
-0.03100288286805153,
-0.021716222167015076,
0.03308039531111717,
0.012775816023349762,
-0.06360385566949844,
-0.04552771523594856,
-0.00591292092576623,
0.0321570560336113,
0.10746245831251144,
0.011097824200987816,
-0.005939555820077658,
0.016779910773038864,
0.08423692733049393,
0.07280173152685165,
-0.02251526713371277,
0.04659310728311539,
0.019354606047272682,
0.01760558970272541,
-0.01951441541314125,
-0.030665509402751923,
0.029617873951792717,
0.03888677805662155,
0.04474642872810364,
0.06719066947698593,
-0.048191193491220474,
0.019301336258649826,
-0.03835408017039299,
0.03973909094929695,
-0.0418698713183403,
0.04968274012207985,
-0.048617348074913025,
0.010529615916311741,
0.017792033031582832,
-0.02322552725672722,
-0.03348879516124725,
0.0763530358672142,
-0.01910601556301117,
0.009375441819429398,
-0.0018111650133505464,
-0.011195485480129719,
-0.001198565005324781,
-0.05177801102399826,
0.05149390548467636,
-0.06964106857776642,
-0.006836259737610817,
-0.011701546609401703,
-0.012323024682700634,
-0.011887989938259125,
0.055258288979530334,
-0.004323712550103664,
0.017596710473299026,
-0.008509811945259571,
0.018005110323429108,
0.013983258977532387,
-0.020704101771116257,
0.011852476745843887,
0.05685637518763542,
-0.012012285180389881,
-0.02024243213236332,
0.021467631682753563,
-0.025587143376469612,
0.009082459844648838,
0.024699319154024124,
0.022976936772465706,
0.03313366323709488,
0.0828874334692955,
-0.02817959524691105,
0.0415857695043087,
0.03382616862654686,
0.0036312080919742584,
0.04936312511563301,
-0.04108858481049538,
0.05628816783428192,
-0.006152634043246508,
-0.004223831929266453,
0.02858799695968628,
0.013903354294598103,
0.0133085111156106,
0.015297241508960724,
0.03015056997537613,
0.056252654641866684,
-0.0031162691302597523,
-0.015057528391480446,
-0.0028477017767727375,
-0.001174149801954627,
0.002033121418207884,
-0.027558118104934692,
0.06779439002275467,
0.024539509788155556,
-0.010893624275922775,
0.03453642874956131,
-0.05820586904883385,
0.02081064134836197,
0.001908825826831162,
-0.012980015948414803,
0.12074433267116547,
0.027131961658596992,
0.005229294765740633,
0.017587833106517792,
-0.036862533539533615,
0.027522604912519455,
-0.02349187433719635,
0.04510156065225601,
-0.04346795752644539,
-0.0011131118517369032,
0.05884510651230812,
0.010201120749115944,
0.008523128926753998,
-0.07287275791168213,
0.024131109938025475,
-0.016904206946492195,
0.048049140721559525,
-0.02873004786670208,
0.00110534334089607,
-0.06878875195980072,
0.015510319732129574,
0.03153557702898979,
0.023598413914442062,
0.038425106555223465,
0.09098440408706665,
0.04091101884841919,
-0.013006649911403656,
0.01839575357735157,
-0.03437662124633789,
0.017658857628703117,
0.03364860266447067,
0.018022866919636726,
-0.031642116606235504,
-0.002397130010649562,
-0.027558118104934692,
0.04062691703438759,
-0.013397294096648693,
-0.05508072301745415,
-0.034909315407276154,
-0.01883966661989689,
-0.011062311939895153,
0.0024659365881234407,
0.007515446748584509,
-0.0025902322959154844,
0.0009277781355194747,
-0.02645721286535263,
-0.05774420127272606,
0.0364718921482563,
-0.011133337393403053,
-0.027202988043427467,
0.03835408017039299,
0.02191154472529888,
0.04179884493350983,
0.011923503130674362,
0.03482053428888321,
0.05064159259200096,
0.006538838148117065,
-0.0026457214262336493,
-0.031322501599788666,
-0.024148866534233093,
0.011337537318468094,
0.0003101842012256384,
-0.006010581739246845,
0.08167999237775803,
0.036152273416519165,
-0.058489974588155746,
0.017854180186986923,
0.04083999618887901,
0.05575546994805336,
0.030470186844468117,
0.014436050318181515,
0.012065554969012737,
0.02194705791771412,
-0.020899422466754913,
0.05746009573340416,
0.042935263365507126,
0.061650633811950684,
0.0021085867192596197,
0.05564893037080765,
0.03977460414171219,
-0.01074269413948059,
0.01321972906589508,
0.019017232581973076,
0.005198221188038588,
-0.025587143376469612,
-0.027362795546650887,
0.03057672642171383,
-0.0583479218184948,
0.004126171115785837,
-0.05362468957901001,
-0.0003684477705974132,
0.02718523144721985,
0.012101068161427975,
-0.015528076328337193,
0.012305268086493015,
-0.019763005897402763,
-0.06935696303844452,
-0.0128823546692729,
0.07599790394306183,
0.02714971825480461,
0.0004400287289172411,
0.0472678542137146,
0.0007735183462500572,
-0.0018988377414643764,
-0.005047290585935116,
0.01795184053480625,
-0.05316301807761192,
0.018360240384936333,
-0.02436194382607937,
0.016096284613013268,
0.028978640213608742,
-0.0350513681769371,
-0.030825316905975342,
0.016673371195793152,
-0.017126163467764854,
0.009357685223221779,
-0.019727492704987526,
0.049185559153556824,
0.04545668885111809,
-0.021059231832623482
] |
719,391
|
ibm_platform_services.catalog_management_v1
|
list_offerings
|
Get list of offerings.
Retrieve the available offerings in the specified catalog. This can also be used
by an unauthenticated user to retreive publicly available offerings.
:param str catalog_identifier: Catalog identifier.
:param bool digest: (optional) true - Strip down the content of what is
returned. For example don't return the readme. Makes the result much
smaller. Defaults to false.
:param int limit: (optional) The maximum number of results to return.
:param int offset: (optional) The number of results to skip before
returning values.
:param str name: (optional) Only return results that contain the specified
string.
:param str sort: (optional) The field on which the output is sorted. Sorts
by default by **label** property. Available fields are **name**, **label**,
**created**, and **updated**. By adding **-** (i.e. **-label**) in front of
the query string, you can specify descending order. Default is ascending
order.
: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 representing a `OfferingSearchResult` object
|
def list_offerings(
self,
catalog_identifier: str,
*,
digest: bool = None,
limit: int = None,
offset: int = None,
name: str = None,
sort: str = None,
**kwargs
) -> DetailedResponse:
"""
Get list of offerings.
Retrieve the available offerings in the specified catalog. This can also be used
by an unauthenticated user to retreive publicly available offerings.
:param str catalog_identifier: Catalog identifier.
:param bool digest: (optional) true - Strip down the content of what is
returned. For example don't return the readme. Makes the result much
smaller. Defaults to false.
:param int limit: (optional) The maximum number of results to return.
:param int offset: (optional) The number of results to skip before
returning values.
:param str name: (optional) Only return results that contain the specified
string.
:param str sort: (optional) The field on which the output is sorted. Sorts
by default by **label** property. Available fields are **name**, **label**,
**created**, and **updated**. By adding **-** (i.e. **-label**) in front of
the query string, you can specify descending order. Default is ascending
order.
: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 representing a `OfferingSearchResult` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_offerings'
)
headers.update(sdk_headers)
params = {'digest': digest, 'limit': limit, 'offset': offset, 'name': name, 'sort': sort}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier']
path_param_values = self.encode_path_vars(catalog_identifier)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/offerings'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, *, digest: Optional[bool] = None, limit: Optional[int] = None, offset: Optional[int] = None, name: Optional[str] = None, sort: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.031722359359264374,
-0.05380984768271446,
-0.04275701195001602,
-0.06209947168827057,
0.005426432006061077,
0.033122140914201736,
0.011543666012585163,
-0.061372309923172,
-0.05675484612584114,
-0.026159584522247314,
-0.054282501339912415,
-0.017406394705176353,
-0.026541342958807945,
0.00948943942785263,
0.012898001819849014,
0.013134329579770565,
-0.0091894855722785,
-0.03679430112242699,
0.02550514042377472,
-0.01206176821142435,
0.031104272231459618,
-0.011252802796661854,
0.010616537183523178,
0.03246769681572914,
0.013443372212350368,
0.02137850597500801,
0.06082694232463837,
0.005794556811451912,
-0.047919850796461105,
0.03384930267930031,
0.01081650611013174,
-0.017115531489253044,
0.009334918111562729,
0.04904694855213165,
-0.0565730556845665,
0.0028132006991654634,
0.04959231987595558,
-0.006808036472648382,
0.005317358300089836,
0.03915756940841675,
0.004885606933385134,
0.014888603240251541,
0.04257522150874138,
0.002470071893185377,
-0.006239942740648985,
0.043484173715114594,
-0.041339050978422165,
-0.041593555361032486,
-0.02828652784228325,
0.04417497664690018,
-0.021487580612301826,
0.04497485235333443,
0.002658679150044918,
-0.02626865915954113,
0.04362960532307625,
-0.029068224132061005,
-0.01614295318722725,
0.016751950606703758,
-0.012043588794767857,
0.046610962599515915,
-0.06395372748374939,
-0.0019122038502246141,
-0.009039509110152721,
-0.04668367654085159,
-0.06460817158222198,
-0.02390538714826107,
-0.02323276549577713,
0.02332366071641445,
-0.029504520818591118,
0.030595261603593826,
0.06493539363145828,
0.021851161494851112,
0.0029427260160446167,
-0.0027541187591850758,
-0.008866808377206326,
-0.033322110772132874,
0.022523783147335052,
0.029195478186011314,
-0.016342923045158386,
-0.08027847111225128,
0.00639900891110301,
-0.024687085300683975,
0.0010066622635349631,
0.0091894855722785,
0.003944843541830778,
0.06028157100081444,
-0.011843619868159294,
-0.018669836223125458,
0.03752145916223526,
0.05759108066558838,
0.021814802661538124,
0.00007086970435921103,
-0.025032486766576767,
0.000628311769105494,
-0.04472034424543381,
-0.02643227018415928,
-0.039448436349630356,
-0.018351702019572258,
0.02770479954779148,
0.04490213468670845,
-0.05228281021118164,
-0.04486577585339546,
0.019324278458952904,
0.03648525848984718,
0.0039084856398403645,
-0.046029232442379,
-0.03937571868300438,
0.02579600363969803,
0.03692155331373215,
0.03846677020192146,
0.018288075923919678,
-0.015833910554647446,
0.009121314622461796,
-0.05573682114481926,
-0.03597624599933624,
0.03466735780239105,
0.008444146253168583,
-0.017688170075416565,
-0.021742086857557297,
-0.056900277733802795,
0.0190152358263731,
-0.036703404039144516,
0.030977020040154457,
-0.036667048931121826,
-0.02032412402331829,
-0.05064669996500015,
-0.03381294384598732,
0.006508082617074251,
0.0000875574623933062,
0.0027677530888468027,
-0.004490213468670845,
0.06271755695343018,
-0.005717296153306961,
0.008257811889052391,
0.03541269525885582,
-0.025105202570557594,
-0.005294634494930506,
0.03853948414325714,
-0.05155565217137337,
0.04326602444052696,
-0.020305944606661797,
-0.007780612912029028,
0.010389300063252449,
-0.02243288792669773,
-0.034467387944459915,
-0.02994081750512123,
0.006835304666310549,
-0.07046180963516235,
-0.009798482060432434,
0.0271594300866127,
-0.030849765986204147,
0.014252337627112865,
0.033885661512613297,
-0.014534112066030502,
0.007816971279680729,
-0.043484173715114594,
0.008266901597380638,
-0.023469092324376106,
0.013370656408369541,
-0.0030018077231943607,
0.03188597038388252,
-0.017442753538489342,
0.006485359277576208,
-0.03403109312057495,
-0.07057088613510132,
-0.007194340229034424,
-0.11678191274404526,
-0.019542427733540535,
-0.010825595818459988,
-0.06868027150630951,
-0.018488045781850815,
0.010643805377185345,
-0.05722749978303909,
-0.026723133400082588,
-0.017488200217485428,
0.00045191863318905234,
0.03284945711493492,
-0.017851781100034714,
-0.01056199986487627,
-0.0498468242585659,
-0.01687920279800892,
-0.06253577023744583,
-0.009634871035814285,
0.002515519503504038,
0.0016315655084326863,
-0.06373558193445206,
0.007130713667720556,
0.014415948651731014,
-0.017679080367088318,
-0.0039834738709032536,
-0.03099519945681095,
0.011716366745531559,
-0.028341064229607582,
0.036830659955739975,
-0.08398699015378952,
-0.03221319243311882,
0.03541269525885582,
0.020633166655898094,
-0.028431959450244904,
-0.0038334971759468317,
-0.03410380706191063,
0.03684883937239647,
0.03272220492362976,
-0.004431131761521101,
0.04708361625671387,
0.020433198660612106,
-0.023796314373612404,
-0.07896958291530609,
-0.016861025243997574,
-0.02719578705728054,
0.029649952426552773,
0.03237680345773697,
-0.012843465432524681,
0.02968631125986576,
-0.03926664590835571,
0.0776606947183609,
0.013879667967557907,
-0.023814493790268898,
0.005031039007008076,
-0.05671848729252815,
-0.016088416799902916,
-0.0936582162976265,
0.01994236558675766,
-0.01994236558675766,
-0.018960699439048767,
0.03575809672474861,
0.04628374055027962,
0.0014929505996406078,
0.01923338510096073,
-0.021069463342428207,
-0.038430411368608475,
-0.03730331361293793,
0.03719423711299896,
0.056173115968704224,
-0.02534152939915657,
0.02626865915954113,
-0.0034699169918894768,
-0.0014213707763701677,
-0.023341838270425797,
0.0027836596127599478,
0.057700153440237045,
0.0014781801728531718,
-0.039484791457653046,
0.01391602586954832,
-0.042938802391290665,
-0.011834530159831047,
-0.030722513794898987,
0.10151154547929764,
-0.030431650578975677,
-0.06402644515037537,
-0.024759801104664803,
-0.007585188839584589,
0.06686236709356308,
-0.054573364555835724,
-0.007417032960802317,
-0.09002242237329483,
-0.08645933121442795,
-0.026250479742884636,
0.009003151208162308,
-0.021778443828225136,
-0.030213501304388046,
-0.024014461785554886,
-0.1220901757478714,
-0.0034403761383146048,
0.018997058272361755,
0.01572483777999878,
-0.00015935031115077436,
-0.013352476991713047,
-0.0185334924608469,
0.03190414980053902,
-0.02821381203830242,
-0.024905232712626457,
0.022651037201285362,
0.008171461522579193,
0.009789392352104187,
0.06537169218063354,
0.03343118354678154,
0.005326447542756796,
-0.01939699612557888,
0.02150576002895832,
0.012625317089259624,
-0.009121314622461796,
-0.004662914201617241,
0.05097392201423645,
0.06988008320331573,
-0.030086249113082886,
-0.0025768736377358437,
0.019124310463666916,
-0.03937571868300438,
-0.023796314373612404,
0.0303589329123497,
0.01977875456213951,
0.045265715569257736,
-0.043702322989702225,
-0.0015247637638822198,
0.039193928241729736,
-0.0053900741040706635,
-0.05119207128882408,
0.04439312219619751,
0.009166762232780457,
-0.02083313651382923,
0.027413934469223022,
0.04679275304079056,
-0.0009600785560905933,
-0.01699736714363098,
-0.03014078550040722,
0.03217683359980583,
0.011834530159831047,
0.030049890279769897,
-0.04388410970568657,
0.0038562207482755184,
0.04101182892918587,
0.05522780865430832,
-0.022251099348068237,
0.0051946500316262245,
-0.024759801104664803,
-0.0196515005081892,
-0.03026803955435753,
-0.014225069433450699,
0.005258276592940092,
-0.009180395863950253,
0.10565636307001114,
-0.021523939445614815,
-0.02288736402988434,
0.06657150387763977,
-0.00639900891110301,
0.0014156898250803351,
0.06322657316923141,
0.04672003537416458,
-0.025232454761862755,
-0.03592170774936676,
-0.030977020040154457,
0.00025876672589220107,
0.02710489183664322,
-0.02981356345117092,
-0.0028722824063152075,
-0.0018837990937754512,
-0.013379746116697788,
-0.01770634762942791,
0.013652430847287178,
0.01725187338888645,
-0.014525022357702255,
-0.010761969722807407,
0.0005342922522686422,
0.027377577498555183,
0.02394174598157406,
0.0818055123090744,
-0.06631699949502945,
0.0019826474599540234,
-0.01357971504330635,
-0.029904458671808243,
-0.03014078550040722,
0.04864700883626938,
0.03343118354678154,
0.055845893919467926,
-0.017506379634141922,
-0.009180395863950253,
-0.01490678172558546,
-0.052428241819143295,
-0.007362496107816696,
-0.0396302230656147,
-0.03230408579111099,
-0.02639591135084629,
0.02655952237546444,
-0.02028776705265045,
-0.014752260409295559,
0.04439312219619751,
-0.06868027150630951,
0.045847442001104355,
-0.03684883937239647,
-0.03635800629854202,
-0.031976863741874695,
-0.02892279252409935,
0.012143573723733425,
0.0162974763661623,
-0.056645769625902176,
-0.04646553099155426,
0.01863347738981247,
-0.017379125580191612,
0.08369612693786621,
0.04101182892918587,
0.05410071089863777,
-0.0008964520529843867,
0.012388990260660648,
0.06268119812011719,
-0.03559448570013046,
-0.028777360916137695,
0.022323815152049065,
-0.018415329977869987,
-0.0013804680202156305,
0.009534887038171291,
0.025014307349920273,
-0.012179931625723839,
0.07118897140026093,
0.006976191885769367,
-0.04933781176805496,
0.014679544605314732,
-0.04522935673594475,
-0.06315385550260544,
-0.05446429178118706,
0.05028311908245087,
0.010362030938267708,
0.024432579055428505,
0.007267056033015251,
-0.027377577498555183,
-0.06133595481514931,
0.08042390644550323,
-0.05864546075463295,
-0.0009339462267234921,
0.040284667164087296,
0.03135877847671509,
-0.034558285027742386,
-0.019669679924845695,
-0.018669836223125458,
-0.017751796171069145,
0.0661715716123581,
-0.0006339927203953266,
0.050537627190351486,
0.04457491263747215,
0.027213966473937035,
0.05708206817507744,
-0.076715387403965,
0.020251408219337463,
0.04748355224728584,
0.0016395187703892589,
0.0210876427590847,
-0.016061147674918175,
-0.008507773280143738,
-0.016324743628501892,
-0.129143625497818,
0.016688324511051178,
0.015406704507768154,
-0.05228281021118164,
-0.04435676708817482,
0.01385239977389574,
0.005599132739007473,
0.01844259724020958,
-0.05231916904449463,
-0.04959231987595558,
-0.02492341212928295,
0.017379125580191612,
-0.017660900950431824,
-0.01699736714363098,
0.03766689449548721,
0.01507039275020361,
-0.009734855964779854,
-0.005081031005829573,
-0.01648835465312004,
0.012407168745994568,
-0.03550359234213829,
0.054282501339912415,
-0.02677766978740692,
0.042429789900779724,
0.02019687183201313,
-0.04959231987595558,
-0.04482942074537277,
0.04744719713926315,
-0.016279296949505806,
-0.05711842328310013,
0.020142333582043648,
0.016279296949505806,
-0.024777980521321297,
-0.006008160300552845,
0.03272220492362976,
0.015924805775284767,
0.06649879366159439,
-0.032649487257003784,
0.008780458010733128,
-0.0341947041451931,
0.008303259499371052,
-0.01302525494247675,
-0.021178537979722023,
-0.01155275572091341,
0.03212229534983635,
0.04468398913741112,
0.04232071712613106,
0.025286993011832237,
0.015352167189121246,
-0.011861799284815788,
0.0013975107576698065,
0.03890306502580643,
-0.01968785934150219,
-0.01761545240879059,
-0.023178227245807648,
0.04944688454270363,
0.026414090767502785,
0.01917884685099125,
0.06493539363145828,
-0.06729866564273834,
0.01981511153280735,
-0.023705419152975082,
0.04035738483071327,
-0.007603367790579796,
-0.0035585397854447365,
0.002590507734566927,
0.05221009626984596,
0.034721896052360535,
0.03412198647856712,
-0.02306915447115898,
0.02710489183664322,
0.031467851251363754,
-0.04301152005791664,
0.07969674468040466,
-0.03908485546708107,
-0.00666260439902544,
0.004226617980748415,
-0.017342768609523773,
0.05039219558238983,
-0.002017869148403406,
0.0498468242585659,
0.026341374963521957,
0.033031247556209564,
0.07238879054784775,
-0.0325949527323246,
0.0038812169805169106,
0.10427475720643997,
0.0024337139911949635,
0.026414090767502785,
0.01532489899545908,
0.011289160698652267,
0.013234313577413559,
0.06079058349132538,
0.030177144333720207,
-0.020415019243955612,
0.0008504364523105323,
0.04144812375307083,
-0.014425038360059261,
-0.03799411654472351,
-0.023178227245807648,
0.002531426027417183,
-0.0010941487271338701,
0.0421752855181694,
-0.03635800629854202,
-0.031722359359264374,
-0.018551671877503395,
0.02201477251946926,
-0.09060414880514145,
0.020051440224051476,
0.05889996886253357,
0.04333874210715294,
0.021051283925771713,
-0.005549140274524689,
0.025686930865049362,
-0.037921398878097534,
-0.05366441607475281,
0.01872437261044979,
-0.029759027063846588,
0.006812580861151218,
0.03428559750318527,
-0.07187977433204651,
0.070316381752491,
-0.046065591275691986,
0.06279027462005615,
-0.04577472805976868,
-0.024523474276065826,
-0.015079482458531857,
0.004101637285202742,
-0.05410071089863777,
-0.05475515499711037,
-0.013816041871905327,
-0.010325673036277294,
0.0770062506198883,
-0.00898042693734169,
-0.01617022231221199,
0.08936797827482224,
0.02196023426949978,
0.06017249822616577,
-0.015134019777178764,
-0.008366885595023632,
-0.07006187736988068,
-0.013634251430630684,
0.0041720811277627945,
-0.08013304322957993,
0.016597429290413857,
-0.009743944741785526,
0.019633322954177856,
0.030722513794898987,
-0.1026022881269455,
0.03692155331373215,
0.004999225493520498,
0.039739299565553665,
-0.04988318309187889,
-0.019924186170101166,
-0.04541114717721939,
-0.004431131761521101,
0.038394052535295486,
0.0003235294425394386,
-0.03904849663376808,
0.023887209594249725,
0.01348881982266903,
0.03161328658461571,
-0.004717451054602861,
0.028613749891519547,
-0.017379125580191612,
-0.02706853486597538,
0.06020885705947876,
-0.05577317997813225,
0.008462325669825077,
0.009843929670751095,
-0.007935134693980217,
-0.019669679924845695,
0.062244903296232224,
-0.0030586172360926867,
0.02525063417851925,
0.06642607599496841,
0.025050664320588112,
-0.020142333582043648,
0.025650572031736374,
-0.0466473214328289,
0.009962093085050583,
-0.0029722668696194887,
0.0036176214925944805,
0.02665041759610176,
-0.05068305879831314,
0.010125704109668732,
0.016370192170143127,
0.0425025075674057,
0.005212828982621431,
0.05330083519220352,
0.02336001768708229,
0.018424419686198235,
0.06366286426782608,
0.002062180545181036,
0.08653204888105392,
-0.06857119500637054,
-0.011152817867696285,
0.01578846387565136,
0.0026404999662190676,
0.017488200217485428,
0.021305790171027184,
-0.01856985129415989,
0.03541269525885582,
0.056972991675138474,
0.051373861730098724,
-0.00690347608178854,
-0.0266867745667696,
0.03255859389901161,
0.0002729690750129521,
0.028995508328080177,
-0.024905232712626457,
0.06209947168827057,
0.04839250445365906,
-0.023087332025170326,
0.025814183056354523,
0.006089965812861919,
0.09169488400220871,
-0.02825016900897026,
-0.02719578705728054,
0.058500029146671295,
0.030758872628211975,
0.002517791697755456,
-0.010516553185880184,
-0.013352476991713047,
0.015315809287130833,
-0.05119207128882408,
0.04679275304079056,
-0.034340135753154755,
0.04013923555612564,
0.04097547009587288,
0.013970563188195229,
0.032649487257003784,
-0.040757324546575546,
0.04853793606162071,
-0.022796468809247017,
-0.017360948026180267,
0.009094045497477055,
-0.0341947041451931,
-0.0607178658246994,
-0.000928833382204175,
0.0498468242585659,
0.03933935984969139,
0.02997717447578907,
0.062463052570819855,
0.010525641962885857,
-0.05777286738157272,
-0.005812735762447119,
-0.07555193454027176,
0.014961319044232368,
0.015134019777178764,
0.02719578705728054,
-0.032522235065698624,
-0.016733771190047264,
-0.02361452393233776,
0.038721274584531784,
-0.00464927963912487,
0.0040857307612895966,
-0.013061612844467163,
-0.03679430112242699,
-0.04831978678703308,
-0.017424574121832848,
0.02336001768708229,
-0.07046180963516235,
-0.03992109000682831,
-0.0023905388079583645,
0.016261117532849312,
-0.012916181236505508,
0.001798585057258606,
-0.04286608844995499,
0.020415019243955612,
-0.003990291152149439,
0.04228435829281807,
0.03166782110929489,
0.04333874210715294,
0.05620947480201721,
-0.00798967108130455,
-0.007689718157052994,
-0.028468318283557892,
-0.026468627154827118,
-0.0019087952096015215,
-0.03572173789143562,
0.006612611934542656,
0.06308113783597946,
0.029413625597953796,
-0.0396302230656147,
0.03572173789143562,
0.05282818153500557,
0.029068224132061005,
-0.00004171939144725911,
0.050610341131687164,
0.04552021995186806,
0.031267885118722916,
-0.016670145094394684,
0.05413706973195076,
0.01876072958111763,
0.03334029018878937,
0.02534152939915657,
0.017597274854779243,
0.04933781176805496,
0.02188751846551895,
0.0018088107462972403,
0.018142644315958023,
0.010071166791021824,
-0.04017559438943863,
-0.003653979394584894,
0.05206466093659401,
-0.04781077429652214,
0.03343118354678154,
0.007907865568995476,
0.008862263523042202,
-0.019742395728826523,
0.02083313651382923,
0.02955905720591545,
-0.024777980521321297,
-0.009253112599253654,
-0.016215670853853226,
0.011943604797124863,
0.04621102288365364,
-0.011661830358207226,
-0.007916955277323723,
0.017397304996848106,
-0.030667977407574654,
-0.010216599330306053,
0.011452771723270416,
0.040321025997400284,
-0.06893477588891983,
-0.0069671026431024075,
-0.005062852054834366,
0.015479420311748981,
-0.003156329272314906,
-0.031049735844135284,
-0.040830038487911224,
0.03377658501267433,
-0.011634561233222485,
0.012552601285278797,
-0.0537007711827755,
0.023723598569631577,
0.04955596104264259,
-0.011770904064178467
] |
719,392
|
ibm_platform_services.catalog_management_v1
|
list_operators
|
List operators.
List the 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`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `List[OperatorDeployResult]` result
|
def list_operators(
self, x_auth_refresh_token: str, cluster_id: str, region: str, version_locator_id: str, **kwargs
) -> DetailedResponse:
"""
List operators.
List the 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`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `List[OperatorDeployResult]` result
"""
if x_auth_refresh_token is None:
raise ValueError('x_auth_refresh_token must be provided')
if cluster_id is None:
raise ValueError('cluster_id must be provided')
if region is None:
raise ValueError('region must be provided')
if version_locator_id is None:
raise ValueError('version_locator_id must be provided')
headers = {'X-Auth-Refresh-Token': x_auth_refresh_token}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_operators'
)
headers.update(sdk_headers)
params = {'cluster_id': cluster_id, 'region': region, 'version_locator_id': version_locator_id}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
url = '/deploy/kubernetes/olm/operator'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, x_auth_refresh_token: str, cluster_id: str, region: str, version_locator_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.03291619196534157,
-0.08628551661968231,
-0.0244752187281847,
-0.05068191885948181,
0.024835944175720215,
0.029020357877016068,
-0.026495281606912613,
-0.0016458096215501428,
-0.04299846664071083,
0.05180016905069351,
0.02025473117828369,
-0.0372629351913929,
0.019659534096717834,
-0.057319264858961105,
0.016665512695908546,
-0.00874308217316866,
-0.002800130983814597,
-0.09616938978433609,
0.043575629591941833,
-0.026964223012328148,
0.008842281065881252,
-0.006732037756592035,
0.0523051843047142,
0.03820082172751427,
0.043683845549821854,
-0.003656853688880801,
0.012174482457339764,
-0.031130602583289146,
-0.02063349261879921,
0.001280575175769627,
-0.061215098947286606,
0.012291718274354935,
-0.014961086213588715,
0.015258684754371643,
-0.02108439989387989,
0.015249666757881641,
0.06749172508716583,
-0.026098482310771942,
-0.060601867735385895,
0.034232839941978455,
0.01349113043397665,
-0.0511869341135025,
0.028767850250005722,
-0.06128724664449692,
0.027505312114953995,
-0.0035553998313844204,
-0.02386198565363884,
-0.004671393893659115,
0.08325542509555817,
-0.04022088274359703,
-0.0060601867735385895,
0.014320798218250275,
-0.019118446856737137,
-0.00874308217316866,
-0.0017867180285975337,
0.006042150314897299,
0.0484093502163887,
0.002221842994913459,
0.012273681350052357,
0.02570168487727642,
-0.04206058010458946,
0.028226763010025024,
-0.01951524429023266,
0.042745959013700485,
0.012120373547077179,
-0.025322923436760902,
-0.02680189721286297,
0.01067747175693512,
-0.05695854127407074,
-0.015646465122699738,
-0.01221055444329977,
-0.011389904655516148,
0.007020618300884962,
-0.0445135161280632,
-0.012634406797587872,
-0.027793891727924347,
0.016854895278811455,
-0.004576703533530235,
-0.010884889401495457,
-0.035296980291604996,
-0.10966052114963531,
-0.023717695847153664,
0.008026139810681343,
0.007318216376006603,
0.0673113614320755,
-0.02597222849726677,
-0.025160597637295723,
-0.03127489238977432,
-0.006114295683801174,
0.03187008947134018,
0.017648490145802498,
0.001671736827120185,
-0.03681202605366707,
0.006858291570097208,
-0.0023402059450745583,
-0.01868557557463646,
-0.04844542220234871,
-0.0068086921237409115,
0.01691802218556404,
0.0021880250424146652,
-0.01879379339516163,
-0.013031205162405968,
-0.03711864352226257,
0.0033592553809285164,
0.03181597962975502,
-0.07719523459672928,
-0.05623709037899971,
-0.006952981930226088,
-0.0023356969468295574,
-0.0023920603562146425,
-0.015763700008392334,
0.048806145787239075,
0.035567525774240494,
-0.0222567580640316,
0.03264565020799637,
0.05941147357225418,
-0.015033231116831303,
-0.03286208584904671,
-0.006308185402303934,
-0.07160399109125137,
0.03259154036641121,
0.013599347323179245,
0.07430943101644516,
-0.03304244577884674,
0.01924470067024231,
0.05457775294780731,
0.017314819619059563,
0.014383925125002861,
-0.051980528980493546,
0.002473223488777876,
0.027162622660398483,
0.011615358293056488,
-0.011353831738233566,
0.010145401582121849,
0.030282897874712944,
-0.016719622537493706,
-0.017116419970989227,
-0.009947002865374088,
-0.009586277417838573,
-0.020056331530213356,
0.025719720870256424,
-0.011876883916556835,
-0.049419380724430084,
0.034467313438653946,
-0.04415278881788254,
-0.01254422590136528,
0.01379774697124958,
0.02458343654870987,
0.013364875689148903,
-0.029669664800167084,
0.0053116814233362675,
0.009288678877055645,
0.008864826522767544,
-0.13375698029994965,
-0.0022094431333243847,
-0.04025695472955704,
0.029831990599632263,
-0.0060150958597660065,
0.008116321638226509,
-0.04166378453373909,
0.004752557259052992,
-0.01735089160501957,
-0.029507337138056755,
-0.010019147768616676,
0.010091292671859264,
0.013247640803456306,
0.022617483511567116,
-0.06074615940451622,
-0.08440974354743958,
0.013536220416426659,
0.006831237114965916,
0.003895834321156144,
0.002608495531603694,
-0.03538716211915016,
-0.03320477157831192,
0.01349113043397665,
-0.004968992434442043,
0.01201215572655201,
-0.004941937979310751,
-0.056309234350919724,
-0.031563472002744675,
-0.03307851776480675,
-0.07315511256456375,
-0.0539645217359066,
-0.033240847289562225,
-0.0007851413683965802,
0.014961086213588715,
0.01935291849076748,
-0.0600607804954052,
0.02674778923392296,
-0.02620670013129711,
-0.005257572513073683,
0.051872313022613525,
0.06716707348823547,
-0.017341874539852142,
-0.08967633545398712,
0.01582682691514492,
0.04299846664071083,
0.004283613990992308,
0.055479567497968674,
-0.029525374993681908,
0.060818303376436234,
0.03643326461315155,
0.02231086604297161,
0.021210653707385063,
-0.018667539581656456,
0.0035914722830057144,
-0.009622350335121155,
0.02965162880718708,
-0.05912289395928383,
0.030950238928198814,
0.041303057223558426,
-0.001151503063738346,
0.04083411395549774,
-0.045523546636104584,
0.09616938978433609,
0.06792459636926651,
-0.01809939742088318,
-0.008472537621855736,
-0.0489504374563694,
0.023627514019608498,
-0.013301748782396317,
0.0033299464266747236,
-0.015592355281114578,
-0.05046548321843147,
0.01815350539982319,
0.04718288406729698,
-0.007660905830562115,
-0.009432969614863396,
-0.023122498765587807,
0.03464767336845398,
-0.041411276906728745,
0.043142758309841156,
-0.020146513357758522,
-0.04332312196493149,
-0.011471067555248737,
-0.007715014740824699,
0.035296980291604996,
-0.010641399770975113,
0.034575529396533966,
0.005884333048015833,
-0.003546381602063775,
0.01929880864918232,
0.016313806176185608,
0.01796412467956543,
-0.011994119733572006,
-0.007088254205882549,
0.011858847923576832,
0.03026486188173294,
-0.026892079040408134,
0.024385036900639534,
-0.035351090133190155,
0.03322280943393707,
-0.05180016905069351,
0.03370979055762291,
-0.06723921746015549,
-0.02864159643650055,
-0.04696644842624664,
0.04638928547501564,
-0.014230617322027683,
-0.094582200050354,
0.04902258142828941,
-0.030174680054187775,
0.043359193950891495,
0.007471525110304356,
-0.049419380724430084,
-0.008026139810681343,
0.03881405293941498,
-0.015141448937356472,
0.006181931588798761,
0.005415390245616436,
-0.011371868662536144,
-0.03931906819343567,
0.0014643196482211351,
0.02674778923392296,
0.008986571803689003,
0.025322923436760902,
-0.05071799084544182,
-0.05071799084544182,
-0.022617483511567116,
0.0021339161321520805,
-0.01577271893620491,
-0.03163561597466469,
-0.0007609051535837352,
-0.01732383668422699,
0.031076492741703987,
-0.003907106816768646,
-0.014997158199548721,
0.014771705493330956,
-0.020940110087394714,
0.014970104210078716,
0.005068191792815924,
0.01026263739913702,
-0.024150565266609192,
0.02703636884689331,
0.048301130533218384,
-0.005014082882553339,
0.01919059082865715,
0.04087018966674805,
-0.006709492299705744,
-0.026856007054448128,
-0.04112269729375839,
0.029561446979641914,
-0.059772200882434845,
0.03432302176952362,
-0.012228591367602348,
0.08657409995794296,
0.03187008947134018,
-0.014456070028245449,
-0.005293645430356264,
0.04054553434252739,
0.02631491795182228,
-0.01633184216916561,
-0.05836537107825279,
-0.0319783054292202,
0.0007586505962535739,
0.03481000289320946,
0.00014612196537200361,
0.04628106951713562,
0.0016300278948619962,
0.0053206998854875565,
0.03082398511469364,
0.007498579099774361,
0.009595295414328575,
0.03701042756438255,
-0.052990563213825226,
0.01039791014045477,
-0.027848001569509506,
0.050970498472452164,
-0.023176606744527817,
-0.01159732136875391,
-0.04866185784339905,
-0.010379873216152191,
-0.01897415705025196,
0.017837870866060257,
-0.04981617629528046,
-0.021264761686325073,
0.025845974683761597,
-0.016295770183205605,
0.07283046096563339,
0.02151726931333542,
-0.04411671683192253,
0.005735533777624369,
0.05252161994576454,
-0.06251370906829834,
0.04220487177371979,
0.07016108930110931,
0.034575529396533966,
-0.06860996782779694,
-0.013446039520204067,
-0.009009117260575294,
0.08758413046598434,
0.03809260204434395,
0.047868259251117706,
0.03769580274820328,
0.002529586898162961,
-0.012814769521355629,
0.014347853139042854,
0.016936058178544044,
-0.028677670285105705,
0.0034652184695005417,
-0.015709592029452324,
0.015276720747351646,
0.004657866898924112,
-0.024276819080114365,
-0.03042718768119812,
0.033908188343048096,
-0.01098408829420805,
0.0011362850200384855,
-0.07210900634527206,
-0.06031328812241554,
-0.02864159643650055,
0.029886100441217422,
0.00625858549028635,
0.028785886242985725,
0.06626525521278381,
-0.045631762593984604,
-0.013716583140194416,
-0.02981395460665226,
0.013869891874492168,
0.02564757689833641,
-0.025882046669721603,
0.0417359285056591,
-0.03508054465055466,
0.07690665870904922,
0.019280772656202316,
-0.036397192627191544,
-0.021372979506850243,
0.043864209204912186,
0.016665512695908546,
-0.017062311992049217,
0.016728639602661133,
-0.039968375116586685,
0.021102435886859894,
-0.03387211635708809,
0.016187552362680435,
0.009432969614863396,
-0.016241660341620445,
-0.02808247320353985,
-0.06370410323143005,
0.05850965902209282,
0.03291619196534157,
-0.004128051456063986,
-0.00780068663880229,
0.0059790234081447124,
-0.02314053475856781,
0.02303231693804264,
-0.06554380804300308,
-0.05533527582883835,
-0.018829865381121635,
0.0019400262972339988,
-0.060818303376436234,
0.06377625465393066,
0.014672505669295788,
-0.00998307578265667,
0.05706675723195076,
-0.007575233466923237,
0.09046993404626846,
0.040184810757637024,
-0.0035869632847607136,
0.03226688876748085,
-0.03266368433833122,
0.09241785109043121,
0.044585660099983215,
0.006073713768273592,
0.007764614187180996,
0.024348964914679527,
-0.044261008501052856,
-0.007390361744910479,
-0.02546721324324608,
0.006998072843998671,
-0.02097618207335472,
-0.05082621052861214,
0.012273681350052357,
-0.009351805783808231,
-0.002682895166799426,
0.011678485199809074,
-0.0107045266777277,
-0.029345011338591576,
0.020651528611779213,
0.045523546636104584,
-0.0004928974667564034,
0.018027251586318016,
0.024330928921699524,
-0.02218461222946644,
0.02081385627388954,
-0.008346283808350563,
-0.009333769790828228,
0.02020062319934368,
-0.013978109695017338,
0.03461160138249397,
0.006934945937246084,
0.006957491394132376,
0.04898650944232941,
0.04945545271039009,
-0.028244799003005028,
0.03888619691133499,
0.008738572709262371,
-0.020056331530213356,
-0.033240847289562225,
0.04794040694832802,
-0.0175312552601099,
0.006042150314897299,
0.008391374722123146,
0.012553243897855282,
0.04404457286000252,
-0.02692815102636814,
0.024330928921699524,
0.03942728787660599,
0.0017551545752212405,
0.016025226563215256,
-0.012354845181107521,
-0.057607848197221756,
0.04126698523759842,
-0.012048228643834591,
0.03758758679032326,
-0.027613529935479164,
0.010731580667197704,
-0.011029179207980633,
-0.04307061433792114,
-0.10100311040878296,
0.005559680052101612,
0.021427089348435402,
-0.04934723675251007,
-0.04851756617426872,
-0.012751642614603043,
0.019659534096717834,
-0.056886397302150726,
0.01588093489408493,
-0.04628106951713562,
-0.029994316399097443,
0.06965607404708862,
-0.0005861787940375507,
-0.0009897403651848435,
-0.03149132803082466,
0.054758116602897644,
-0.03215866908431053,
0.0005413698963820934,
-0.00034832546953111887,
0.02514255978167057,
0.05713890492916107,
0.059555765241384506,
0.010975070297718048,
-0.0300303902477026,
0.035333052277565,
-0.025737756863236427,
0.05324307084083557,
-0.028118545189499855,
0.004842738620936871,
-0.0022094431333243847,
-0.03744329512119293,
-0.028226763010025024,
0.05046548321843147,
0.04184414818882942,
-0.05439738929271698,
0.05129515379667282,
-0.025124523788690567,
0.061720117926597595,
0.008332756347954273,
0.04743539169430733,
0.04206058010458946,
-0.0004013070138171315,
-0.043250974267721176,
-0.06716707348823547,
-0.024096457287669182,
-0.0040130699053406715,
-0.062874436378479,
-0.07762810587882996,
-0.031130602583289146,
0.07373227179050446,
-0.08426545560359955,
-0.019984187558293343,
-0.11088699102401733,
0.027541384100914,
-0.027739783748984337,
0.0562010183930397,
-0.046641793102025986,
0.05129515379667282,
0.07369619607925415,
0.03214063495397568,
-0.01814448833465576,
0.01991204172372818,
0.004865284077823162,
-0.06554380804300308,
-0.027433166280388832,
-0.01429374422878027,
0.021012254059314728,
-0.0011159941786900163,
0.015493156388401985,
0.010605326853692532,
0.05266590788960457,
-0.018351905047893524,
-0.04660572111606598,
0.0350625105202198,
-0.028154617175459862,
0.07741167396306992,
0.05194445699453354,
-0.03369175270199776,
0.01182277500629425,
-0.0012287208810448647,
0.005600261967629194,
0.07182043045759201,
0.06208084151148796,
-0.03064362332224846,
0.015006177127361298,
0.05317092314362526,
0.0010731581132858992,
0.011885901913046837,
-0.01985793374478817,
-0.0018306814599782228,
0.025485249236226082,
-0.12913969159126282,
0.014816795475780964,
-0.07246973365545273,
0.030553441494703293,
-0.007868322543799877,
0.0450546033680439,
0.009640386328101158,
0.005167391151189804,
0.0007733050733804703,
-0.026837969198822975,
0.007877340540289879,
0.053639866411685944,
-0.06208084151148796,
0.035675741732120514,
0.06330730766057968,
0.022401047870516777,
0.007115308661013842,
0.06792459636926651,
0.021372979506850243,
-0.01638595201075077,
0.003246528562158346,
0.030517369508743286,
0.024781834334135056,
-0.013725601136684418,
-0.022292830049991608,
-0.07221722602844238,
0.03419676795601845,
-0.0022252248600125313,
0.015159484930336475,
0.025737756863236427,
0.04826505854725838,
-0.013554257340729237,
-0.0528462715446949,
-0.006069204770028591,
0.00016274915833491832,
-0.009631368331611156,
0.03291619196534157,
-0.007214508019387722,
0.013094332069158554,
0.04083411395549774,
-0.029507337138056755,
-0.0300303902477026,
0.011326777748763561,
0.03343924507498741,
0.02330286055803299,
-0.019208626821637154,
0.06741958111524582,
0.05071799084544182,
-0.024944161996245384,
0.03942728787660599,
0.024060383439064026,
-0.023681621998548508,
0.003449436742812395,
-0.08960419148206711,
0.08044176548719406,
-0.012381899170577526,
-0.0008770136046223342,
0.02241908386349678,
0.04678608477115631,
0.008400392718613148,
-0.04249345138669014,
0.035333052277565,
0.003834961913526058,
-0.033727824687957764,
-0.05252161994576454,
0.02580990269780159,
-0.02914661169052124,
0.0389583446085453,
-0.06406483054161072,
-0.002221842994913459,
0.04108662158250809,
0.0072370534762740135,
0.0031428199727088213,
-0.01947917230427265,
0.04956366866827011,
-0.02559346705675125,
0.0037763440050184727,
0.09465434402227402,
0.01221055444329977,
-0.01039791014045477,
0.0383811816573143,
0.0219681765884161,
0.01897415705025196,
-0.049311161041259766,
-0.058437515050172806,
-0.05746355652809143,
0.016954094171524048,
0.021877994760870934,
-0.007859304547309875,
-0.021318871527910233,
-0.03136507421731949,
-0.00028576215845532715,
0.02164352498948574,
-0.001982862362638116,
0.008431956171989441,
0.0026626044418662786,
-0.027902109548449516,
-0.0027234768494963646,
0.030751841142773628,
0.07806097716093063,
-0.019984187558293343,
0.04022088274359703,
0.03747937083244324,
0.013292730785906315,
0.025521323084831238,
-0.0107045266777277,
-0.02853337861597538,
-0.022058358415961266,
0.0011588303605094552,
-0.029074467718601227,
0.015258684754371643,
-0.009469041600823402,
0.05143944174051285,
-0.08116321265697479,
-0.017341874539852142,
-0.0009762131376191974,
0.028803924098610878,
-0.006051168777048588,
-0.03798438608646393,
0.0054740081541240215,
0.05129515379667282,
0.022761773318052292,
-0.0023537331726402044,
-0.041194841265678406,
0.043683845549821854,
-0.03917478024959564,
-0.04206058010458946,
0.003043620614334941,
0.02084992825984955,
0.017549291253089905,
-0.002138425363227725,
-0.0445135161280632,
0.02925482951104641,
0.013860873878002167,
0.04105054959654808,
0.018811829388141632,
-0.05497455224394798,
-0.05252161994576454,
-0.05129515379667282,
0.04696644842624664,
0.07712309062480927,
0.006795164663344622,
-0.08520334213972092,
0.049419380724430084,
0.027505312114953995,
-0.008490574546158314,
0.0015443556476384401,
0.028948213905096054,
0.005401862785220146,
-0.010352819226682186,
0.010433982126414776,
0.032230813056230545,
0.01777474395930767,
0.06936749815940857,
-0.01929880864918232,
0.03410658612847328,
0.030914166942238808,
-0.015817807987332344,
0.04032909870147705,
-0.04527103900909424,
0.05540742352604866,
0.01059630885720253,
-0.0205793846398592,
0.05068191885948181,
-0.06446162611246109,
-0.007552688010036945,
-0.05161980539560318,
0.02631491795182228,
0.052593763917684555,
0.0478321872651577,
0.004851756617426872,
-0.029056431725621223,
-0.029669664800167084,
-0.02869570627808571,
-0.028677670285105705,
0.03174383565783501,
0.015529228374361992,
0.03464767336845398,
0.02314053475856781,
-0.01654827781021595,
-0.023663586005568504,
0.00043399774585850537,
0.010722562670707703,
-0.02292409911751747,
0.008855808526277542,
-0.019785787910223007,
0.052701979875564575,
0.0035869632847607136,
-0.001537592033855617,
-0.031238820403814316,
-0.02580990269780159,
-0.03942728787660599,
0.02252730168402195,
-0.028858032077550888,
0.022004250437021255,
-0.01098408829420805,
-0.01804528757929802
] |
719,393
|
ibm_platform_services.catalog_management_v1
|
preinstall_version
|
Pre-install version.
Create a pre-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 region.
:param str namespace: (optional) Kube namespace.
:param dict override_values: (optional) Object containing Helm chart
override values. To use a secret for items of type password, specify a
JSON encoded value of $ref:#/components/schemas/SecretInstance, prefixed
with `cmsm_v1:`.
:param str entitlement_apikey: (optional) Entitlement API Key for this
offering.
:param DeployRequestBodySchematics schematics: (optional) Schematics
workspace configuration.
:param str script: (optional) Script.
:param str script_id: (optional) Script ID.
:param str version_locator_id: (optional) A dotted value of
`catalogID`.`versionID`.
:param str vcenter_id: (optional) VCenter ID.
:param str vcenter_user: (optional) VCenter User.
:param str vcenter_password: (optional) VCenter Password.
:param str vcenter_location: (optional) VCenter Location.
:param str vcenter_datastore: (optional) VCenter Datastore.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def preinstall_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,
script_id: str = None,
version_locator_id: str = None,
vcenter_id: str = None,
vcenter_user: str = None,
vcenter_password: str = None,
vcenter_location: str = None,
vcenter_datastore: str = None,
**kwargs
) -> DetailedResponse:
"""
Pre-install version.
Create a pre-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 region.
:param str namespace: (optional) Kube namespace.
:param dict override_values: (optional) Object containing Helm chart
override values. To use a secret for items of type password, specify a
JSON encoded value of $ref:#/components/schemas/SecretInstance, prefixed
with `cmsm_v1:`.
:param str entitlement_apikey: (optional) Entitlement API Key for this
offering.
:param DeployRequestBodySchematics schematics: (optional) Schematics
workspace configuration.
:param str script: (optional) Script.
:param str script_id: (optional) Script ID.
:param str version_locator_id: (optional) A dotted value of
`catalogID`.`versionID`.
:param str vcenter_id: (optional) VCenter ID.
:param str vcenter_user: (optional) VCenter User.
:param str vcenter_password: (optional) VCenter Password.
:param str vcenter_location: (optional) VCenter Location.
:param str vcenter_datastore: (optional) VCenter Datastore.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if version_loc_id is None:
raise ValueError('version_loc_id must be provided')
if x_auth_refresh_token is None:
raise ValueError('x_auth_refresh_token must be provided')
if schematics is not None:
schematics = convert_model(schematics)
headers = {'X-Auth-Refresh-Token': x_auth_refresh_token}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='preinstall_version'
)
headers.update(sdk_headers)
data = {
'cluster_id': cluster_id,
'region': region,
'namespace': namespace,
'override_values': override_values,
'entitlement_apikey': entitlement_apikey,
'schematics': schematics,
'script': script,
'script_id': script_id,
'version_locator_id': version_locator_id,
'vcenter_id': vcenter_id,
'vcenter_user': vcenter_user,
'vcenter_password': vcenter_password,
'vcenter_location': vcenter_location,
'vcenter_datastore': vcenter_datastore,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['version_loc_id']
path_param_values = self.encode_path_vars(version_loc_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/versions/{version_loc_id}/preinstall'.format(**path_param_dict)
request = self.prepare_request(method='POST', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(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.DeployRequestBodySchematics] = None, script: Optional[str] = None, script_id: Optional[str] = None, version_locator_id: Optional[str] = None, vcenter_id: Optional[str] = None, vcenter_user: Optional[str] = None, vcenter_password: Optional[str] = None, vcenter_location: Optional[str] = None, vcenter_datastore: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.001557659008540213,
-0.041126057505607605,
-0.0838724672794342,
0.004918923135846853,
0.027295202016830444,
-0.002768100006505847,
-0.014467420987784863,
0.03533908724784851,
-0.028433306142687798,
0.03288927301764488,
0.005434927996248007,
-0.016743628308176994,
-0.032657790929079056,
-0.037750326097011566,
0.023360062390565872,
-0.0435565821826458,
0.049767930060625076,
-0.007248178124427795,
0.006457292474806309,
-0.04101031646132469,
0.041974812746047974,
-0.007368740160018206,
-0.015152213163673878,
0.04243776947259903,
0.07133403420448303,
0.013580086641013622,
0.04131895676255226,
-0.02602206915616989,
0.022762076929211617,
-0.006925072520971298,
0.011303878389298916,
0.05011514946818352,
0.026272837072610855,
0.05293147265911102,
0.02793176844716072,
-0.020563028752803802,
0.0274881012737751,
-0.04479113593697548,
-0.08263791352510452,
0.06064743176102638,
0.017274100333452225,
0.03551269695162773,
0.013078548945486546,
-0.044984035193920135,
0.029609989374876022,
0.0051214671693742275,
-0.016859369352459908,
-0.017669543623924255,
0.020601607859134674,
-0.01592380926012993,
0.021739711984992027,
0.015865938737988472,
0.04579421132802963,
-0.04903491213917732,
-0.020871667191386223,
0.018788358196616173,
0.05690519139170647,
0.019984330981969833,
-0.032619211822748184,
0.05227561667561531,
0.01741877570748329,
0.037538137286901474,
-0.03854120895266533,
0.041396114975214005,
-0.015441561117768288,
-0.0032575810328125954,
0.011110980063676834,
-0.03707517683506012,
-0.012702396139502525,
-0.00448972312733531,
-0.0021327389404177666,
0.011911510489881039,
-0.006655013654381037,
0.003954428713768721,
0.06365665793418884,
0.02123817428946495,
0.0012574600987136364,
-0.05528483912348747,
0.040547359734773636,
-0.026504315435886383,
0.020833086222410202,
-0.08456689864397049,
0.013242512941360474,
-0.0549762025475502,
0.02505757473409176,
0.016560375690460205,
-0.009524385444819927,
-0.05397312715649605,
0.016570020467042923,
0.07260716706514359,
-0.00010353248217143118,
0.06284648180007935,
-0.0630393773317337,
0.05732956901192665,
0.05219845473766327,
-0.01928989589214325,
0.04965218901634216,
-0.06982941925525665,
0.012133344076573849,
0.01188257522881031,
0.03813612461090088,
-0.010069325566291809,
-0.015171502716839314,
-0.037268076092004776,
0.020254390314221382,
-0.03240702301263809,
-0.05312437191605568,
0.017351260408759117,
0.02403520978987217,
0.0015154624124988914,
0.03144253045320511,
-0.041666172444820404,
-0.03321719914674759,
-0.031018150970339775,
-0.019540663808584213,
-0.038734108209609985,
-0.014178073033690453,
-0.0001400024484610185,
0.01505576353520155,
0.017495935782790184,
0.029147032648324966,
-0.047337401658296585,
0.027989637106657028,
0.012712040916085243,
-0.033101461827754974,
0.008260897360742092,
-0.004750136751681566,
0.06238352134823799,
0.02168184146285057,
-0.07465189695358276,
0.04425102099776268,
-0.0031249630264937878,
-0.02820182777941227,
-0.01569232903420925,
-0.048880595713853836,
-0.06338659673929214,
0.03335222974419594,
0.020119361579418182,
-0.011303878389298916,
-0.004858642350882292,
0.013146063312888145,
-0.029282061383128166,
-0.02110314555466175,
-0.009934295900166035,
-0.05435892567038536,
-0.04162759333848953,
0.015943098813295364,
-0.006669481284916401,
-0.014776059426367283,
-0.000801736256107688,
0.07075533270835876,
-0.0007167401490733027,
0.013001389801502228,
-0.05204413831233978,
-0.037403106689453125,
-0.05574779585003853,
-0.003226235043257475,
-0.10447407513856888,
0.026851534843444824,
-0.0075471713207662106,
0.00536741316318512,
-0.07411177456378937,
0.09984450042247772,
-0.02212551049888134,
0.02810537815093994,
0.017679188400506973,
-0.026967274025082588,
-0.011670386418700218,
-0.044058121740818024,
0.03533908724784851,
0.060956068336963654,
0.05790826678276062,
-0.03369944542646408,
0.014650675468146801,
-0.008130691014230251,
0.025752009823918343,
0.013011034578084946,
-0.055940695106983185,
0.005343300756067038,
0.015287241898477077,
-0.020408708602190018,
-0.01143890805542469,
-0.053587328642606735,
-0.019125930964946747,
0.0013792274985462427,
0.0005238412413746119,
-0.0004023751534987241,
0.015894873067736626,
0.026446446776390076,
0.02075592800974846,
0.018335046246647835,
0.00007723493035882711,
0.0782398134469986,
0.06003015488386154,
-0.008776902221143246,
-0.03900416940450668,
-0.030805962160229683,
-0.020717347040772438,
0.03155826777219772,
-0.027391651645302773,
0.030227266252040863,
0.008545423857867718,
0.03267708420753479,
0.02386160008609295,
0.016685759648680687,
0.01427452266216278,
-0.004795950371772051,
-0.06616433709859848,
0.015470496378839016,
-0.004740491975098848,
0.00013796795974485576,
0.026581475511193275,
0.021431073546409607,
-0.010725181549787521,
-0.08124903589487076,
-0.044058121740818024,
0.05763820558786392,
-0.03697872906923294,
-0.015856293961405754,
-0.021045275032520294,
0.03902345895767212,
0.0012086324859410524,
0.02212551049888134,
0.012509496882557869,
-0.03813612461090088,
-0.018373625352978706,
0.0075471713207662106,
-0.04182049259543419,
-0.052429936826229095,
-0.010763761587440968,
-0.021739711984992027,
0.04598711058497429,
0.052970051765441895,
-0.023977339267730713,
-0.03568630665540695,
-0.008169271051883698,
-0.0017686422215774655,
0.07442041486501694,
0.0008083671564236283,
0.013030324131250381,
0.039930082857608795,
0.022202668711543083,
0.04903491213917732,
0.007460366934537888,
-0.014370972290635109,
0.03879198059439659,
-0.03344867751002312,
0.03329435735940933,
-0.03792393580079079,
-0.03485684096813202,
0.011516067199409008,
-0.01844114065170288,
-0.010937370359897614,
0.016087772324681282,
0.059760093688964844,
0.004470433108508587,
0.07048527896404266,
-0.035724885761737823,
0.05910423770546913,
0.014785705134272575,
-0.06577854603528976,
-0.04891917482018471,
-0.022858526557683945,
0.01871119812130928,
-0.020640188828110695,
-0.0383097305893898,
0.009524385444819927,
0.03294714167714119,
-0.003038158407434821,
0.05964435636997223,
-0.07523059099912643,
0.05293147265911102,
-0.03069022297859192,
-0.018605103716254234,
0.036824408918619156,
-0.015239017084240913,
-0.05200555920600891,
-0.06805475056171417,
-0.01059979759156704,
0.007021521683782339,
0.03184761852025986,
-0.01512327790260315,
0.025829169899225235,
0.05142686143517494,
0.00973175186663866,
0.007701490540057421,
-0.03121105022728443,
-0.0011965762823820114,
-0.00483452994376421,
-0.03298572078347206,
0.0005027428851462901,
0.04876485466957092,
0.013011034578084946,
-0.04996082931756973,
-0.027951058000326157,
0.0231864545494318,
-0.033275067806243896,
0.04039303958415985,
0.005849660839885473,
-0.024768225848674774,
0.025346921756863594,
-0.031461820006370544,
0.0045210691168904305,
-0.04506119713187218,
0.03530050814151764,
-0.02158539369702339,
0.06867202371358871,
0.012663816101849079,
-0.05200555920600891,
-0.044058121740818024,
-0.02044728957116604,
0.037673164159059525,
-0.04930497333407402,
-0.07924289256334305,
-0.055400580167770386,
-0.043209366500377655,
0.05138828232884407,
-0.024498166516423225,
0.05316295102238655,
-0.007850986905395985,
-0.014149137772619724,
0.0187497790902853,
0.02075592800974846,
0.013387187384068966,
0.004130448680371046,
-0.05678945034742355,
0.03618784248828888,
-0.019830012694001198,
-0.04506119713187218,
0.014525291509926319,
-0.0037759970873594284,
0.006683948915451765,
-0.0021894031669944525,
0.05335585027933121,
-0.027468811720609665,
-0.0391199067234993,
-0.022241249680519104,
-0.026967274025082588,
-0.011737901717424393,
0.06388813257217407,
0.07530774921178818,
-0.03113389015197754,
-0.014833929017186165,
0.037268076092004776,
-0.0669359341263771,
0.030574483796954155,
0.07171983271837234,
-0.000985593069344759,
-0.00015642899961676449,
-0.0037808194756507874,
-0.07033095508813858,
-0.02079450711607933,
-0.012866360135376453,
0.03516547754406929,
0.03896558657288551,
-0.05621075630187988,
-0.0019940929487347603,
-0.04209055006504059,
0.02779673971235752,
-0.05759962648153305,
-0.037808194756507874,
0.00018988490046467632,
-0.03090241178870201,
0.02536621317267418,
-0.03742239624261856,
-0.03335222974419594,
-0.014264877885580063,
0.014978603459894657,
-0.011053109541535378,
-0.005270964000374079,
-0.02519260346889496,
-0.0019808311481028795,
-0.0062547484412789345,
-0.0432865247130394,
0.049767930060625076,
-0.03584062680602074,
-0.06084033101797104,
-0.0073012253269553185,
-0.04066310077905655,
-0.03364157676696777,
0.008458619005978107,
0.014698900282382965,
-0.055323418229818344,
-0.060377370566129684,
0.047028765082359314,
0.009336309507489204,
0.014197362586855888,
-0.0023437223862856627,
0.007783472537994385,
0.01782386377453804,
0.019540663808584213,
0.00937488954514265,
0.020138651132583618,
-0.008694920688867569,
0.038116831332445145,
0.0034770036581903696,
-0.011101334355771542,
0.01933811977505684,
0.05690519139170647,
-0.060454532504081726,
0.025829169899225235,
0.025520531460642815,
0.031095311045646667,
-0.0016456692246720195,
0.012142988853156567,
-0.07334018498659134,
0.03277353197336197,
-0.0711025521159172,
-0.00775936059653759,
-0.015075053088366985,
-0.023340772837400436,
-0.0260799378156662,
-0.024266688153147697,
-0.026002779603004456,
-0.001484116306528449,
0.04903491213917732,
-0.023379353806376457,
0.05023088678717613,
-0.02133462391793728,
-0.028587624430656433,
0.014245587401092052,
0.05574779585003853,
0.03630358353257179,
0.086032934486866,
-0.015904517844319344,
0.03805896267294884,
-0.010493703186511993,
-0.006843090523034334,
-0.014997893944382668,
-0.023572251200675964,
0.08888784050941467,
-0.005309543572366238,
0.020254390314221382,
0.022318407893180847,
-0.045601312071084976,
0.034567493945360184,
0.02359154261648655,
0.020331550389528275,
-0.039660025388002396,
0.039081327617168427,
0.004716379567980766,
-0.0061631216667592525,
0.01857616938650608,
0.008188560605049133,
0.041434694081544876,
0.06396529078483582,
-0.0303815845400095,
-0.031944066286087036,
0.03553198650479317,
-0.04336368292570114,
-0.009259149432182312,
0.003954428713768721,
-0.02704443223774433,
0.011381038464605808,
-0.053934548050165176,
-0.0010567245772108436,
-0.054204605519771576,
0.019058415666222572,
-0.05077100545167923,
-0.00251009757630527,
0.010956660844385624,
-0.010416543111205101,
-0.033545129001140594,
0.03929351642727852,
0.05779252573847771,
0.013088193722069263,
-0.006968474481254816,
-0.0041039250791072845,
-0.045601312071084976,
-0.018190370872616768,
-0.0030068124178797007,
-0.08232927322387695,
0.03188619762659073,
0.07978300750255585,
0.008415216580033302,
0.019395990297198296,
-0.0031876552384346724,
-0.034779682755470276,
-0.03915848582983017,
-0.0019615411292761564,
-0.03915848582983017,
0.05945145711302757,
-0.008463441394269466,
0.020563028752803802,
-0.008473086170852184,
-0.03072880394756794,
-0.008964979089796543,
0.019347764551639557,
0.002695762785151601,
0.021701132878661156,
0.0009078307193703949,
-0.0063367304392158985,
0.011207428760826588,
0.07418894022703171,
-0.017968537285923958,
0.026639346033334732,
0.01911628618836403,
-0.005748388823121786,
0.04482971504330635,
-0.0052372063510119915,
-0.00866598542779684,
0.041704755276441574,
0.0039905970916152,
0.009505095891654491,
-0.007098681293427944,
0.010349028743803501,
-0.02058231830596924,
-0.00117788917850703,
0.014081623405218124,
0.025964198634028435,
-0.0374995581805706,
-0.008251252584159374,
0.07106397300958633,
0.019887881353497505,
-0.0030574484262615442,
0.08263791352510452,
-0.02611851878464222,
0.05131112039089203,
-0.03585991635918617,
0.025115443393588066,
0.01403339859098196,
0.03151968866586685,
0.028722653165459633,
-0.0896594300866127,
-0.024903254583477974,
0.010590152814984322,
0.0027463987935334444,
-0.09737539291381836,
0.017852798104286194,
0.05057810619473457,
-0.10493703186511993,
-0.02523118257522583,
-0.04633432999253273,
0.03395021706819534,
0.023225033655762672,
0.017862442880868912,
-0.0552462600171566,
0.02687082439661026,
-0.000772801402490586,
-0.05844838172197342,
0.026581475511193275,
0.011313523165881634,
-0.014631385914981365,
-0.015991322696208954,
-0.023437222465872765,
-0.0025414437986910343,
0.04606426879763603,
0.0274881012737751,
-0.05142686143517494,
-0.06805475056171417,
-0.0369015708565712,
-0.010406898334622383,
0.06392671167850494,
0.01556694507598877,
-0.03383447602391243,
0.03171258792281151,
0.0663958191871643,
-0.032927852123975754,
0.027121592313051224,
-0.005198626779019833,
0.004615107551217079,
0.037711746990680695,
0.04540841281414032,
-0.027295202016830444,
-0.033140040934085846,
0.03769245371222496,
-0.01241304725408554,
-0.0004587378352880478,
-0.0003315450740046799,
-0.015007538720965385,
0.035724885761737823,
-0.04043161869049072,
0.028626205399632454,
-0.011004885658621788,
-0.02860691398382187,
-0.01527759712189436,
0.014612095430493355,
-0.002768100006505847,
0.004340226296335459,
-0.009032493457198143,
0.033545129001140594,
-0.044058121740818024,
0.05073242634534836,
-0.07334018498659134,
-0.04151185601949692,
0.05019230768084526,
-0.007923324592411518,
0.07669662684202194,
0.05794684588909149,
0.00417867349460721,
-0.07341734319925308,
-0.027218041941523552,
0.0004964133840985596,
0.012326243333518505,
0.0028187360148876905,
-0.026504315435886383,
0.041396114975214005,
-0.026851534843444824,
0.020235100761055946,
-0.0013671712949872017,
-0.03792393580079079,
0.04563989117741585,
0.024440297856926918,
-0.004214842338114977,
-0.0015890051145106554,
-0.03188619762659073,
-0.07195130735635757,
0.045562732964754105,
0.003778408281505108,
-0.021161014214158058,
0.050963904708623886,
-0.02519260346889496,
-0.04317078739404678,
-0.0371716283261776,
-0.020987406373023987,
0.03773103654384613,
-0.0116607416421175,
0.04305504634976387,
0.005989512428641319,
-0.021971190348267555,
0.030169395729899406,
0.010464767925441265,
0.01703297719359398,
0.0019434569403529167,
-0.05281573161482811,
0.061341866850852966,
0.00024308281717821956,
-0.03155826777219772,
0.050616685301065445,
-0.027198752388358116,
0.03520406037569046,
0.040508780628442764,
0.03792393580079079,
0.020061491057276726,
0.03564772754907608,
-0.014689255505800247,
0.01765025407075882,
0.030227266252040863,
0.04552415385842323,
-0.0034770036581903696,
0.05786968395113945,
0.019492439925670624,
-0.011583582498133183,
0.04891917482018471,
0.00252697616815567,
0.030169395729899406,
-0.006404245272278786,
-0.02854904532432556,
0.0959865152835846,
0.013580086641013622,
-0.01328109297901392,
0.013628311455249786,
0.008661163039505482,
0.018479719758033752,
-0.04266924783587456,
-0.0050394851714372635,
-0.04332510381937027,
0.01848936453461647,
-0.020235100761055946,
0.005164869595319033,
0.009620835073292255,
-0.003725361078977585,
0.018788358196616173,
-0.03827115148305893,
0.003450480056926608,
0.03564772754907608,
0.06450541317462921,
-0.08425826579332352,
-0.02629212662577629,
0.018518298864364624,
-0.0061968788504600525,
-0.01906806230545044,
-0.006544096861034632,
0.006770753301680088,
0.04336368292570114,
-0.04945928975939751,
-0.030227266252040863,
-0.010493703186511993,
-0.0006865996983833611,
0.01505576353520155,
0.009548498317599297,
-0.01143890805542469,
0.003467358648777008,
0.03329435735940933,
-0.084412582218647,
-0.06979084014892578,
0.0008819099166430533,
-0.003467358648777008,
-0.0427464060485363,
-0.009235037490725517,
0.05424318462610245,
-0.004962325561791658,
0.011602872051298618,
-0.01150642242282629,
-0.04895775392651558,
0.006037737242877483,
-0.033371519297361374,
0.008000483736395836,
-0.04089457914233208,
0.014573516324162483,
0.08140335977077484,
-0.005965400021523237,
-0.034432463347911835,
0.08310087025165558,
-0.07098681479692459,
0.07573212683200836,
0.004496956709772348,
-0.05262283608317375,
-0.05131112039089203,
0.008526133373379707,
0.04753030091524124,
0.016840077936649323,
0.04625716805458069,
-0.07345592230558395,
0.024093078449368477,
0.06446682661771774,
-0.03703659772872925,
-0.004465610720217228,
0.015441561117768288,
0.030921701341867447,
-0.06122612580657005,
-0.00982337910681963,
-0.006915427278727293,
0.008323589339852333,
0.021874740719795227,
0.001737296232022345,
0.009673882275819778,
0.00545421801507473,
0.037846773862838745,
0.04996082931756973,
-0.0004276931576896459,
0.010185064747929573,
-0.02141178399324417,
-0.0716426745057106,
0.05725241079926491,
-0.038116831332445145,
0.0018964378396049142,
0.027430230751633644,
-0.004723613150417805,
-0.025559110566973686,
-0.0050394851714372635,
0.0074941241182386875,
-0.04876485466957092,
-0.043826643377542496,
0.018778713420033455,
0.06226778030395508,
0.04004582390189171,
-0.042360611259937286,
0.01082163117825985,
-0.01225872803479433,
0.0013068903936073184,
0.002736753784120083,
-0.041974812746047974,
0.013763340190052986,
0.013551151379942894,
-0.012249083258211613,
0.005680873990058899,
0.084412582218647,
0.053895968943834305,
-0.012509496882557869,
0.008854062296450138,
-0.12368680536746979,
-0.03782748430967331,
0.004716379567980766,
0.054204605519771576,
0.031596846878528595,
0.03823257237672806,
-0.019048770889639854
] |
719,395
|
ibm_platform_services.catalog_management_v1
|
public_publish_object
|
Publish object to share with all users.
Publish the specified object so it is visible to all users in the public 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` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def public_publish_object(self, catalog_identifier: str, object_identifier: str, **kwargs) -> DetailedResponse:
"""
Publish object to share with all users.
Publish the specified object so it is visible to all users in the public 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` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if object_identifier is None:
raise ValueError('object_identifier must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='public_publish_object'
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['catalog_identifier', 'object_identifier']
path_param_values = self.encode_path_vars(catalog_identifier, object_identifier)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/objects/{object_identifier}/public-publish'.format(**path_param_dict)
request = self.prepare_request(method='POST', url=url, headers=headers)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, object_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0710199624300003,
0.0009552909759804606,
-0.09099214524030685,
-0.011374018155038357,
0.0671442449092865,
-0.012369136326014996,
-0.004159416537731886,
0.012107263319194317,
-0.04043319448828697,
-0.0037840651348233223,
-0.0033694328740239143,
0.022748036310076714,
0.050209786742925644,
-0.032803960144519806,
-0.0917603075504303,
0.010029736906290054,
-0.04430891573429108,
0.012831778265535831,
-0.004107041750103235,
0.010282880626618862,
0.016096461564302444,
0.008838214911520481,
0.042912259697914124,
0.005735019221901894,
-0.005870320368558168,
-0.01670749858021736,
0.03739546984434128,
0.03128509595990181,
-0.05157152935862541,
0.054225172847509384,
0.016890810802578926,
-0.010841542854905128,
0.07667642086744308,
0.041375938802957535,
0.02398756891489029,
0.03084864281117916,
0.025960346683859825,
0.032611921429634094,
-0.07374344766139984,
-0.0020109666511416435,
0.011164519935846329,
0.069099560379982,
0.03175646811723709,
-0.0423186793923378,
0.05600591003894806,
0.03938570246100426,
0.0025707201566547155,
0.06375735253095627,
-0.011243081651628017,
0.021822752431035042,
0.012831778265535831,
0.010047195479273796,
-0.003467635251581669,
-0.08470719307661057,
-0.015040241181850433,
0.016314689069986343,
0.03624322637915611,
0.032908711582422256,
-0.037255801260471344,
-0.005049784667789936,
-0.012840507552027702,
0.04025861248373985,
0.049755875021219254,
-0.031878676265478134,
-0.014708534814417362,
0.0010845907963812351,
-0.018278736621141434,
0.008964786306023598,
-0.027234794571995735,
0.0024135964922606945,
0.03570202365517616,
-0.0388619564473629,
-0.009296492673456669,
-0.03338008001446724,
-0.011531142517924309,
-0.018750108778476715,
0.02353365533053875,
0.012430239468812943,
-0.024982687085866928,
-0.009060806594789028,
0.026868171989917755,
-0.08875750005245209,
0.0025096165481954813,
-0.023393990471959114,
0.0035811136476695538,
0.021822752431035042,
-0.05328243225812912,
-0.03655747324228287,
-0.014533952809870243,
0.036452725529670715,
0.05027962103486061,
0.018627900630235672,
0.019762683659791946,
-0.004399466793984175,
-0.03620830923318863,
-0.00921793095767498,
-0.021770376712083817,
-0.017178870737552643,
0.007153498008847237,
0.0026187303010374308,
-0.015590174123644829,
-0.04078235849738121,
-0.03447994962334633,
0.03634797781705856,
0.04050302878022194,
-0.030796267092227936,
0.014394287019968033,
0.043750252574682236,
0.00035107354051433504,
0.05632016062736511,
0.009680572897195816,
-0.03830329328775406,
-0.0224512480199337,
-0.050035204738378525,
-0.04458824545145035,
-0.03364195302128792,
0.0020622501615434885,
0.008772746659815311,
-0.03729071840643883,
-0.04891788214445114,
0.011391476728022099,
-0.004089583642780781,
0.04430891573429108,
-0.014464120380580425,
0.0051588984206318855,
0.010789168998599052,
0.030516937375068665,
0.012072346173226833,
-0.014315725304186344,
0.00554297911003232,
-0.04217901453375816,
-0.0010103933745995164,
-0.017065392807126045,
0.05185085907578468,
-0.03963011875748634,
-0.017414556816220284,
0.01969285123050213,
-0.01923893764615059,
-0.015433050692081451,
-0.008078782819211483,
0.018139071762561798,
-0.025436600670218468,
-0.003960829693824053,
0.06679508090019226,
0.009235388599336147,
-0.02206716686487198,
-0.005215637851506472,
-0.006162745412439108,
-0.007236424833536148,
-0.007153498008847237,
-0.01118197850883007,
-0.05516791716217995,
0.019640477374196053,
0.03879212588071823,
-0.052793603390455246,
-0.07164846360683441,
0.07388310879468918,
-0.057158153504133224,
-0.009008431807160378,
0.0414457693696022,
-0.00570446765050292,
0.02737445943057537,
-0.000382716505555436,
0.021875126287341118,
-0.040817275643348694,
-0.05209527537226677,
0.039909448474645615,
0.0038517157081514597,
-0.028037872165441513,
-0.01688208058476448,
-0.04333125799894333,
-0.0229924526065588,
-0.09322679787874222,
0.01322458777576685,
0.006359150167554617,
0.008379937149584293,
0.012246928177773952,
0.03365941345691681,
-0.049232129007577896,
-0.016305960714817047,
-0.01619248278439045,
-0.06784257292747498,
-0.008227177895605564,
0.023778071627020836,
-0.03338008001446724,
0.047870390117168427,
0.02465098164975643,
0.04919721186161041,
-0.009959904477000237,
-0.008048230782151222,
0.01880248263478279,
0.003323605051264167,
-0.04605473577976227,
0.014656160026788712,
0.014743451029062271,
-0.024389108642935753,
-0.01519736461341381,
-0.03868737444281578,
-0.06703949719667435,
0.0481497198343277,
0.030132856220006943,
-0.03063914366066456,
0.011531142517924309,
0.015817129984498024,
0.06623641401529312,
-0.043750252574682236,
-0.04011894762516022,
0.01908181421458721,
-0.022940076887607574,
-0.05335226282477379,
0.027112586423754692,
0.05520283430814743,
-0.009357595816254616,
0.030674060806632042,
-0.05583132803440094,
0.029940815642476082,
0.03441011533141136,
-0.04507707804441452,
0.023935195058584213,
-0.053107850253582,
0.008467228151857853,
0.011723182164132595,
-0.004076490178704262,
0.022241748869419098,
-0.014437932521104813,
0.005887778475880623,
0.07835240662097931,
-0.03341499716043472,
0.0470673106610775,
-0.08386920392513275,
-0.019011981785297394,
0.008262094110250473,
-0.08352003991603851,
0.05258410423994064,
-0.00777762895449996,
-0.020513387396931648,
0.0334673710167408,
-0.003404349321499467,
-0.03521319478750229,
0.029451986774802208,
0.021421212702989578,
-0.01805178076028824,
0.0018483870662748814,
0.03795412927865982,
-0.06309393793344498,
0.013102380558848381,
-0.0649794265627861,
0.059148386120796204,
-0.018558068200945854,
-0.03942061960697174,
0.03861754387617111,
-0.03177392855286598,
-0.02407485991716385,
-0.03441011533141136,
0.042563095688819885,
-0.01988489180803299,
-0.05544725060462952,
-0.014001477509737015,
-0.012421510182321072,
-0.016489271074533463,
-0.03893179073929787,
-0.012229470536112785,
-0.0969279333949089,
0.05628524348139763,
0.025506433099508286,
-0.03959520161151886,
-0.04982570931315422,
0.014254622161388397,
-0.03338008001446724,
0.03634797781705856,
0.05226985737681389,
0.005983798764646053,
0.023568572476506233,
0.015817129984498024,
0.010108298622071743,
0.012290573678910732,
-0.022224290296435356,
0.02765379101037979,
-0.05391092598438263,
0.010309068486094475,
0.0039237309247255325,
-0.01979760080575943,
0.035073526203632355,
-0.01579967327415943,
0.08142505586147308,
-0.009872613474726677,
0.031965967267751694,
0.04333125799894333,
-0.033257875591516495,
-0.0399443656206131,
-0.032908711582422256,
0.08184404671192169,
0.007323715835809708,
-0.03830329328775406,
-0.07402277737855911,
0.060998957604169846,
-0.08317087590694427,
0.008964786306023598,
0.04734664410352707,
0.01971030980348587,
0.00570446765050292,
0.07192779332399368,
-0.004508580546826124,
-0.05824056267738342,
0.01843586191534996,
0.004704985301941633,
0.0459849052131176,
0.017824824899435043,
0.014080040156841278,
0.0029722589533776045,
-0.02891078218817711,
0.023865362629294395,
0.030883558094501495,
0.02526201866567135,
0.026676131412386894,
-0.02154342085123062,
0.06284952908754349,
-0.025419142097234726,
-0.006075454410165548,
0.033991117030382156,
-0.008061324246227741,
-0.009069535881280899,
0.014228434301912785,
-0.025855597108602524,
0.07688592374324799,
-0.04647373408079147,
-0.04930196329951286,
0.01314602605998516,
0.03392128646373749,
-0.030866101384162903,
-0.022049708291888237,
0.032978542149066925,
0.019413519650697708,
0.03770971670746803,
0.020600678399205208,
-0.036906637251377106,
-0.014228434301912785,
-0.03358957916498184,
0.00835374929010868,
0.011941409669816494,
-0.042737677693367004,
0.016768602654337883,
0.003413078375160694,
0.028491785749793053,
-0.036627307534217834,
0.03145967796444893,
-0.011932681314647198,
-0.048778217285871506,
-0.021770376712083817,
-0.02044355496764183,
-0.06351293623447418,
0.040468111634254456,
0.022311581298708916,
-0.033083293586969376,
0.0712294653058052,
-0.02335907332599163,
0.016218669712543488,
-0.0008876404608599842,
-0.07723508775234222,
-0.03254208713769913,
0.005241825245320797,
-0.02573338896036148,
0.01140893530100584,
-0.03285633400082588,
-0.0010491288267076015,
0.034549780189991,
-0.012386593967676163,
0.025314392521977425,
0.018994523212313652,
-0.04116643965244293,
-0.03369433060288429,
-0.058903973549604416,
-0.10069891065359116,
0.010466191917657852,
0.04441366344690323,
0.04525166004896164,
-0.02838703617453575,
-0.011243081651628017,
-0.04259801283478737,
0.04074744135141373,
0.04326142370700836,
-0.014926762320101261,
0.0028500515036284924,
-0.03495132178068161,
0.05254918709397316,
0.0036160300951451063,
0.03969994932413101,
0.02428435906767845,
-0.04130610451102257,
0.014944220893085003,
0.02681579813361168,
-0.02891078218817711,
-0.005883413832634687,
-0.00834502000361681,
0.03603372722864151,
-0.049860622733831406,
0.034794196486473083,
0.010527295991778374,
-0.03746530041098595,
-0.03491640463471413,
0.009820238687098026,
-0.019186563789844513,
-0.05848497524857521,
0.0036684046499431133,
-0.026134928688406944,
-0.06330344080924988,
0.05869447439908981,
-0.04518182575702667,
0.009898800402879715,
0.02489539608359337,
0.04134102165699005,
-0.04134102165699005,
-0.0066559393890202045,
-0.041096605360507965,
0.014883116818964481,
0.004997410345822573,
-0.020129306241869926,
0.021421212702989578,
-0.032245296984910965,
-0.016943184658885002,
0.041655268520116806,
-0.005407677963376045,
0.01591315120458603,
0.01951826922595501,
-0.033449914306402206,
-0.06459534913301468,
0.004054667428135872,
-0.007441558409482241,
0.043191589415073395,
-0.039280954748392105,
0.026030179113149643,
-0.011190706863999367,
-0.04930196329951286,
0.007803816348314285,
0.037185970693826675,
-0.02426690049469471,
0.022486163303256035,
0.029975732788443565,
0.006154016125947237,
0.06340818852186203,
0.04654356464743614,
-0.04961621016263962,
0.002409231849014759,
-0.044204168021678925,
0.010736794210970402,
0.04574048891663551,
-0.016209939494729042,
-0.05604082718491554,
0.022835327312350273,
0.059078555554151535,
0.06229086220264435,
-0.007559401448816061,
0.04588015377521515,
-0.02154342085123062,
-0.038268379867076874,
-0.08100605756044388,
0.006167109590023756,
-0.035265568643808365,
-0.033083293586969376,
-0.02379552833735943,
-0.010413817130029202,
-0.040084030479192734,
-0.05712323635816574,
-0.005372761748731136,
-0.006293681915849447,
0.037639882415533066,
-0.05516791716217995,
-0.002535803709179163,
-0.01057966984808445,
0.002884967951104045,
0.03154696896672249,
-0.02108950726687908,
-0.0111732492223382,
0.008833849802613258,
0.044483497738838196,
0.01584331877529621,
-0.02637934312224388,
0.006241307128220797,
-0.04762597382068634,
-0.014158601872622967,
-0.021054591983556747,
-0.0013093651505187154,
0.0628146082162857,
0.023114658892154694,
0.003744784276932478,
0.024755729362368584,
0.09504245221614838,
0.04242343083024025,
0.012491343542933464,
-0.009183013811707497,
0.058973804116249084,
0.029888441786170006,
-0.005529885180294514,
0.0075768595561385155,
-0.06511909514665604,
0.009322679601609707,
-0.05007012188434601,
0.050209786742925644,
-0.03687172383069992,
-0.054225172847509384,
0.002616547979414463,
0.01542432140558958,
0.00862435158342123,
0.0018691187724471092,
0.02946944534778595,
0.020042015239596367,
0.005494968965649605,
0.01140893530100584,
0.0018418403342366219,
-0.009924987331032753,
-0.0615227036178112,
0.01081535592675209,
-0.018313653767108917,
0.010911376215517521,
0.0034283543936908245,
0.07863174378871918,
-0.00211353343911469,
0.06148778647184372,
-0.05254918709397316,
-0.0632685199379921,
0.034549780189991,
-0.011120874434709549,
0.0007365178898908198,
-0.014708534814417362,
0.018400944769382477,
-0.017004288733005524,
-0.0729752853512764,
-0.016786061227321625,
-0.019099272787570953,
0.04207426682114601,
-0.04546115919947624,
0.015904420986771584,
-0.07241661846637726,
-0.031424764543771744,
-0.000950926449149847,
0.02936469577252865,
-0.05946263670921326,
-0.010021007619798183,
0.05335226282477379,
0.025768306106328964,
-0.010483650490641594,
-0.01500532403588295,
-0.026553925126791,
-0.0253667663782835,
-0.01806923933327198,
0.014429204165935516,
0.01573856920003891,
-0.011845390312373638,
0.03893179073929787,
-0.04162035137414932,
0.06270986050367355,
-0.038722291588783264,
0.0518159419298172,
0.04196951538324356,
0.006372243631631136,
0.08617368340492249,
0.013111109845340252,
-0.04106169193983078,
-0.030796267092227936,
0.001552688772790134,
0.004835921805351973,
0.021037133410573006,
0.041271187365055084,
-0.005512427072972059,
-0.042388513684272766,
0.03327533230185509,
0.009741676971316338,
-0.02856161817908287,
0.028247371315956116,
-0.009794050827622414,
0.018645359203219414,
-0.005259283352643251,
-0.04368042200803757,
-0.009942445904016495,
0.04423908144235611,
0.0319485105574131,
0.007908564992249012,
-0.023970110341906548,
0.01567746512591839,
-0.012674654833972454,
0.01308492198586464,
0.005429500713944435,
0.06047521159052849,
-0.0399443656206131,
-0.06124337017536163,
0.006298046093434095,
0.02133392170071602,
-0.016829706728458405,
0.03830329328775406,
-0.03694155439734459,
-0.02791566401720047,
0.01932622864842415,
-0.005983798764646053,
0.01057966984808445,
0.028509244322776794,
0.006232577841728926,
-0.015179906040430069,
-0.02327178232371807,
0.0733942836523056,
-0.0438200868666172,
-0.007092394400388002,
0.04514690861105919,
-0.048848047852516174,
0.019011981785297394,
0.024197068065404892,
0.005525521002709866,
-0.019396062940359116,
-0.020548302680253983,
0.02281787060201168,
-0.03351974859833717,
-0.016209939494729042,
0.005721925757825375,
-0.028579076752066612,
0.003048638580366969,
-0.007114217150956392,
0.01144385151565075,
-0.05265393480658531,
0.052793603390455246,
0.012892882339656353,
-0.0009700213558971882,
0.006197661627084017,
0.01591315120458603,
-0.04514690861105919,
0.015965525060892105,
-0.04085219278931618,
0.07105488330125809,
0.04535640776157379,
-0.02927740477025509,
0.033257875591516495,
-0.0014904940035194159,
-0.01144385151565075,
0.058973804116249084,
0.026798339560627937,
0.02845686860382557,
0.05293326824903488,
0.019832517951726913,
-0.026763422414660454,
0.030255064368247986,
0.008349385112524033,
0.010728064924478531,
0.07548926770687103,
0.025488974526524544,
-0.04060777649283409,
-0.02791566401720047,
0.0323849655687809,
0.04870838299393654,
0.016611479222774506,
-0.046683233231306076,
0.03503861278295517,
-0.03091847524046898,
0.003912819549441338,
0.009994820691645145,
0.02627459354698658,
0.005713196471333504,
0.06459534913301468,
0.08212338387966156,
0.021752920001745224,
-0.014769638888537884,
0.016305960714817047,
0.004456206224858761,
0.05000029131770134,
-0.06452551484107971,
0.023463822901248932,
-0.0528983511030674,
0.023463822901248932,
0.013713417574763298,
-0.005407677963376045,
-0.10970734059810638,
-0.06724899262189865,
0.04622931778430939,
0.019465895369648933,
0.0011795198079198599,
0.07912056893110275,
0.04479774460196495,
0.02016422338783741,
0.01761532574892044,
-0.020548302680253983,
0.0017403644742444158,
-0.027164962142705917,
-0.008275187574326992,
-0.002243378898128867,
-0.07674625515937805,
-0.020042015239596367,
0.020757801830768585,
-0.018837399780750275,
-0.06679508090019226,
0.009855154901742935,
-0.06847106665372849,
-0.06246544420719147,
-0.005944517906755209,
0.012840507552027702,
-0.07779374718666077,
-0.006027444265782833,
-0.016419438645243645,
-0.030150314792990685,
0.017449472099542618,
-0.015764756128191948,
0.058345310389995575,
0.008427946828305721,
-0.015878234058618546,
0.03168663755059242,
0.012526259757578373,
0.038722291588783264,
0.07451160252094269,
-0.04294717684388161,
0.03386891260743141,
-0.004353639204055071,
-0.01537194661796093,
0.07444177567958832,
-0.05118744820356369,
-0.03969994932413101,
0.02964402735233307,
0.032908711582422256,
-0.03154696896672249,
-0.0025794492103159428,
0.017222516238689423,
-0.011487497016787529,
0.08365970104932785,
0.02444148249924183,
-0.03341499716043472,
-0.0023306699004024267,
-0.04738156124949455,
0.02444148249924183,
-0.0040153865702450275,
0.06861073523759842,
-0.014394287019968033,
0.03833821043372154,
0.03285633400082588,
0.02864890918135643,
0.0017807366093620658,
0.039839617908000946,
0.042737677693367004,
-0.03283887729048729,
-0.009846425615251064,
0.043645504862070084,
0.006215119734406471,
0.04472791403532028,
-0.028439410030841827,
-0.025314392521977425,
0.03510844334959984,
0.011915222741663456,
-0.023970110341906548,
0.045565906912088394,
-0.09371563047170639,
0.013765792362391949,
-0.026344425976276398,
0.039455536752939224,
0.011592245660722256,
0.04416925087571144,
0.042912259697914124,
0.05701848864555359,
0.01071933563798666,
-0.026868171989917755,
-0.008502144366502762,
0.021648170426487923,
0.0016694405348971486,
-0.028334662318229675,
0.06731882691383362,
0.02489539608359337,
-0.054155342280864716,
-0.04930196329951286,
-0.04458824545145035,
-0.00013536926417145878,
0.011915222741663456,
0.01259609218686819,
0.10076873749494553,
0.031878676265478134,
0.00879893358796835
] |
719,396
|
ibm_platform_services.catalog_management_v1
|
public_publish_version
|
Publish version to all users in public catalog.
Publish the specified version so it is visible to all users 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: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def public_publish_version(self, version_loc_id: str, **kwargs) -> DetailedResponse:
"""
Publish version to all users in public catalog.
Publish the specified version so it is visible to all users 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: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if version_loc_id is None:
raise ValueError('version_loc_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='public_publish_version'
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['version_loc_id']
path_param_values = self.encode_path_vars(version_loc_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/versions/{version_loc_id}/public-publish'.format(**path_param_dict)
request = self.prepare_request(method='POST', url=url, headers=headers)
response = self.send(request, **kwargs)
return response
|
(self, version_loc_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.03949884697794914,
-0.04967067390680313,
-0.07284566015005112,
0.0029121660627424717,
0.021741842851042747,
-0.011849653907120228,
-0.019766900688409805,
0.03311960771679878,
-0.0028553646989166737,
0.024887768551707268,
-0.04072226211428642,
0.004133397247642279,
0.02633839100599289,
-0.041561175137758255,
-0.05690630525350571,
-0.0038188043981790543,
0.0365976057946682,
-0.013885767199099064,
-0.012216678820550442,
-0.0036462154239416122,
0.03504211828112602,
-0.02927458845078945,
0.041036855429410934,
0.04390314221382141,
0.01019804272800684,
0.025534432381391525,
0.06246410682797432,
-0.03133691847324371,
-0.005431091412901878,
-0.0033775009214878082,
0.03687724098563194,
-0.002992999041453004,
0.07109792530536652,
0.04502169415354729,
0.023751741275191307,
0.03708697110414505,
0.01607917621731758,
-0.010250475257635117,
-0.09102212637662888,
0.028418198227882385,
0.04163108766078949,
0.08340199291706085,
0.023576967418193817,
-0.052536964416503906,
0.04491683095693588,
0.038555070757865906,
0.02126995474100113,
0.059947364032268524,
-0.027666671201586723,
-0.015668459236621857,
-0.016481155529618263,
0.062918521463871,
0.03457023203372955,
-0.07557213306427002,
0.0367024689912796,
0.02647821046411991,
0.06431670486927032,
0.04956581071019173,
-0.0025648034643381834,
-0.006890451535582542,
-0.017966732382774353,
0.0261636171489954,
0.030602868646383286,
-0.012688567861914635,
0.018403666093945503,
0.037156879901885986,
0.006859866436570883,
-0.03437798097729683,
-0.04026785120368004,
0.03158159926533699,
0.04233017936348915,
-0.033049698919057846,
-0.04411287233233452,
-0.002333228476345539,
0.04250495508313179,
0.025656772777438164,
-0.04683934152126312,
0.007598285097628832,
0.015799539163708687,
-0.015449991449713707,
0.03600337356328964,
-0.12171237915754318,
0.04816761985421181,
-0.070783331990242,
-0.006925406400114298,
0.00489366240799427,
-0.04005812481045723,
-0.05002022162079811,
-0.008760529570281506,
0.07529249042272568,
0.057850081473588943,
0.055927570909261703,
-0.031179621815681458,
0.005553433205932379,
0.018193937838077545,
-0.015336388722062111,
0.01297694444656372,
-0.007471574004739523,
-0.010451464913785458,
0.029117291793227196,
-0.0003686631971504539,
-0.02799873985350132,
-0.053271010518074036,
-0.022825440391898155,
0.021724365651607513,
-0.038590025156736374,
-0.0016286720056086779,
0.018316280096769333,
-0.021724365651607513,
0.052187416702508926,
0.028208468109369278,
-0.01690935157239437,
-0.030393140390515327,
-0.04061739891767502,
-0.01934744417667389,
-0.0037226788699626923,
0.008882870897650719,
-0.025062542408704758,
-0.037331655621528625,
0.006379238795489073,
0.035968419164419174,
-0.010486419312655926,
0.030288275331258774,
0.01821141503751278,
-0.0270374845713377,
0.020675724372267723,
-0.014375133439898491,
-0.0070433784276247025,
0.017547275871038437,
-0.02228364162147045,
-0.006165140774101019,
-0.0018613394349813461,
0.014969363808631897,
0.025971366092562675,
-0.05424974486231804,
-0.04372837021946907,
0.0037270484026521444,
0.02018635720014572,
-0.01557233277708292,
0.05945799872279167,
-0.004736366216093302,
-0.01803664118051529,
-0.019627083092927933,
0.040337760001420975,
0.04058244451880455,
-0.05341083183884621,
-0.004094073083251715,
0.007873553782701492,
0.002361629158258438,
-0.013510003685951233,
0.03144178166985512,
-0.011482629925012589,
0.02607623115181923,
0.019731946289539337,
-0.019731946289539337,
-0.09444768726825714,
0.08983366191387177,
-0.09381850063800812,
0.002837887266650796,
0.019592126831412315,
0.0074846819043159485,
-0.04683934152126312,
0.05935313552618027,
0.006156402174383402,
-0.02415372058749199,
-0.009271742776036263,
0.011517584323883057,
0.015082966536283493,
-0.038939572870731354,
0.025097498670220375,
0.010320384986698627,
0.00786044541746378,
-0.06054159626364708,
-0.007454096805304289,
0.02799873985350132,
-0.02027374505996704,
0.045231424272060394,
0.011264162138104439,
0.00280074798502028,
-0.0227205753326416,
0.0016297644469887018,
-0.04023289680480957,
-0.03271763026714325,
0.011543800123035908,
0.004981049336493015,
0.05875890329480171,
0.006204464938491583,
0.044357556849718094,
-0.02368183061480522,
-0.000864037312567234,
-0.0012518164003267884,
-0.007318647112697363,
0.03831038624048233,
-0.0015117921866476536,
-0.00914940144866705,
-0.009752370417118073,
-0.021025272086262703,
-0.05861908569931984,
-0.012653613463044167,
-0.0076856715604662895,
0.032001055777072906,
-0.06945504993200302,
-0.003204911947250366,
0.006912298500537872,
0.03058539144694805,
0.005474784877151251,
-0.0098310187458992,
-0.03422068431973457,
0.009796063415706158,
-0.03154664486646652,
0.0231575109064579,
0.02284291759133339,
-0.02438092604279518,
0.021217523142695427,
-0.09507687389850616,
-0.03355654329061508,
0.0030847550369799137,
-0.04502169415354729,
0.020693201571702957,
-0.013195411302149296,
0.04512656107544899,
-0.008629449643194675,
0.039813440293073654,
0.004517899360507727,
0.0031896193977445364,
-0.00441303476691246,
0.04617520049214363,
-0.01677827164530754,
-0.026058752089738846,
-0.05421479046344757,
0.013579913415014744,
0.014506214298307896,
0.009245526976883411,
-0.006960361264646053,
-0.03406338766217232,
-0.06190482899546623,
-0.0009175617014989257,
0.05928322672843933,
-0.00309130921959877,
0.052397143095731735,
0.02647821046411991,
-0.012828386388719082,
0.050474632531404495,
0.03708697110414505,
-0.04264477267861366,
-0.01663845218718052,
-0.05805981159210205,
0.038240477442741394,
0.006287482567131519,
-0.05103391036391258,
0.006051538046449423,
-0.03694715350866318,
-0.02490524761378765,
-0.008445937186479568,
0.09703433513641357,
-0.0081662992015481,
-0.030830074101686478,
-0.01934744417667389,
0.008965888991951942,
-0.039463892579078674,
-0.06928028166294098,
0.003292298875749111,
-0.055193521082401276,
0.037366610020399094,
-0.03537419065833092,
-0.04023289680480957,
0.0009033613605424762,
-0.0010710348142310977,
0.0007247645407915115,
0.05987745523452759,
-0.02275553159415722,
0.04760834574699402,
-0.027719102799892426,
-0.01983681134879589,
0.034745004028081894,
-0.019644560292363167,
-0.001908309874124825,
-0.016918091103434563,
-0.03691219910979271,
-0.027893876656889915,
0.03642283007502556,
0.006095231510698795,
0.05543820559978485,
0.05194273218512535,
0.05043967813253403,
0.01694430597126484,
-0.016612237319350243,
0.04865698888897896,
-0.030340706929564476,
-0.04792293906211853,
-0.02324489690363407,
0.07109792530536652,
-0.0020656061824411154,
-0.0383453406393528,
-0.06075132638216019,
0.05358560383319855,
-0.049041491001844406,
0.0636875256896019,
0.009988314472138882,
-0.02424110658466816,
-0.032088443636894226,
0.009822280146181583,
0.01673457771539688,
-0.021636979654431343,
0.038555070757865906,
0.008926564827561378,
0.02228364162147045,
0.0020754372235387564,
-0.0016734577948227525,
-0.021479682996869087,
-0.03214087709784508,
0.02341967076063156,
-0.010914615355432034,
-0.03796083852648735,
0.024660563096404076,
-0.003976100590080023,
0.045895565301179886,
-0.03453527390956879,
0.039114344865083694,
0.0192251019179821,
-0.02132238633930683,
0.010967046953737736,
0.05613730102777481,
-0.01773952692747116,
0.01358865201473236,
-0.05386524274945259,
0.02030869945883751,
-0.03904443606734276,
0.0067550018429756165,
0.011744789779186249,
-0.008306118659675121,
0.03514698147773743,
0.05225732550024986,
0.012880818918347359,
0.011971996165812016,
-0.05393515154719353,
-0.022178778424859047,
-0.015825755894184113,
0.011194253340363503,
0.01044272631406784,
0.009813541546463966,
-0.0095863351598382,
0.011316594667732716,
0.058514222502708435,
-0.02887260913848877,
0.058164674788713455,
-0.014707203954458237,
-0.014034325256943703,
-0.02551695518195629,
-0.05645189434289932,
-0.048027802258729935,
0.011919563636183739,
-0.00732738571241498,
-0.013527481816709042,
0.05603243410587311,
-0.013676038943231106,
0.03519941493868828,
-0.001227785018272698,
-0.035444099456071854,
0.017066648229956627,
0.004635871388018131,
-0.013186672702431679,
-0.00904453732073307,
-0.03645778447389603,
-0.009664983488619328,
0.014060541056096554,
0.0071001797914505005,
-0.025674249976873398,
0.004517899360507727,
-0.013116762973368168,
-0.029257111251354218,
-0.035793647170066833,
-0.04561592638492584,
-0.02441588044166565,
0.037366610020399094,
0.03105727955698967,
-0.018158983439207077,
0.010870921425521374,
-0.013230365701019764,
-0.06655380874872208,
0.009123184718191624,
-0.003606891492381692,
0.03362645208835602,
-0.043134137988090515,
0.067951999604702,
-0.0001745005720295012,
0.04736366122961044,
0.01598305068910122,
-0.05456433817744255,
0.059073496609926224,
0.007794905453920364,
-0.005422352813184261,
-0.027334600687026978,
-0.008992104791104794,
0.020605815574526787,
-0.021287431940436363,
0.019102761521935463,
0.022877871990203857,
0.003799142548814416,
-0.07487303763628006,
-0.005090282764285803,
0.012548749335110188,
-0.061869874596595764,
-0.00033015836379490793,
-0.029029905796051025,
-0.07738977670669556,
0.011124343611299992,
-0.1081499382853508,
0.000023246262571774423,
-0.033958520740270615,
0.029711522161960602,
-0.03799579292535782,
-0.005911719053983688,
-0.009385345503687859,
0.042924411594867706,
0.06865109503269196,
-0.00952516496181488,
-0.00010916526662185788,
-0.047853030264377594,
-0.03635292127728462,
0.057150986045598984,
0.02799873985350132,
0.04302927479147911,
0.06302338093519211,
-0.03105727955698967,
-0.034797437489032745,
-0.014742158353328705,
-0.013448833487927914,
0.006632660515606403,
-0.05662666633725166,
0.053655512630939484,
-0.017879346385598183,
-0.0036003373097628355,
0.018858078867197037,
0.020238790661096573,
0.004522268660366535,
0.03144178166985512,
0.04949590191245079,
-0.006711308378726244,
0.06949000805616379,
0.043308913707733154,
-0.02983386442065239,
-0.010556329041719437,
-0.02612866275012493,
0.031948626041412354,
0.023839127272367477,
-0.021724365651607513,
-0.04572078958153725,
0.020588336512446404,
-0.016358815133571625,
0.021776799112558365,
0.013440094888210297,
0.0081662992015481,
-0.04002316668629646,
-0.015362604521214962,
-0.043658461421728134,
-0.030602868646383286,
-0.029466839507222176,
-0.059737637639045715,
-0.04037271440029144,
0.01642872393131256,
-0.029973682016134262,
-0.06917541474103928,
-0.00441303476691246,
-0.017931777983903885,
0.012924511916935444,
-0.02298273704946041,
-0.02161950245499611,
0.01908528432250023,
0.02962413616478443,
0.039079390466213226,
-0.0008126975153572857,
-0.0033731316216289997,
0.05096399784088135,
0.025569386780261993,
0.011264162138104439,
-0.04694420471787453,
-0.008581386879086494,
-0.05998232215642929,
0.020256267860531807,
-0.06945504993200302,
0.05424974486231804,
0.02473047375679016,
0.04288945719599724,
-0.008760529570281506,
0.0024905246682465076,
0.05341083183884621,
-0.0022185330744832754,
0.035968419164419174,
0.017057908698916435,
0.0690355971455574,
0.05812972038984299,
0.0383453406393528,
0.02149716019630432,
-0.06176501139998436,
0.03638787567615509,
-0.02502758800983429,
0.03533923253417015,
0.02494020201265812,
-0.05470415577292442,
0.0014145743334665895,
0.04233017936348915,
0.0035369819961488247,
0.024171197786927223,
0.06665867567062378,
0.005286903120577335,
0.01057380624115467,
-0.00035965142888017,
-0.023297328501939774,
0.0017477365909144282,
-0.06145041808485985,
-0.04002316668629646,
-0.017241422086954117,
0.0098310187458992,
0.007397295441478491,
0.06089114397764206,
-0.028156036511063576,
0.005487892776727676,
-0.059073496609926224,
-0.039638664573431015,
0.03180880472064018,
0.031738895922899246,
0.025149930268526077,
-0.022685620933771133,
-0.01284586451947689,
-0.010101917199790478,
-0.07836850732564926,
-0.03416825085878372,
-0.025744160637259483,
0.07934724539518356,
-0.09283977001905441,
0.011928302235901356,
-0.0784384161233902,
-0.020431041717529297,
0.01572963036596775,
0.0383453406393528,
-0.08025606721639633,
0.017931777983903885,
-0.015292695723474026,
0.007239998783916235,
-0.024433357641100883,
0.00011360288044670597,
-0.024433357641100883,
-0.09325922280550003,
-0.03519941493868828,
0.012242894619703293,
0.04274963587522507,
-0.00019648383022285998,
0.020238790661096573,
-0.04683934152126312,
0.030550435185432434,
-0.005710729397833347,
0.060087185353040695,
0.01716277375817299,
0.022790485993027687,
0.06997937709093094,
0.00930669717490673,
-0.0636875256896019,
-0.03292735666036606,
-0.008279901929199696,
0.010643715970218182,
0.06211455911397934,
0.06239419803023338,
-0.021654456853866577,
-0.09619542211294174,
0.04320405051112175,
-0.0192251019179821,
-0.035968419164419174,
0.02930954284965992,
-0.03817056864500046,
0.028767744079232216,
-0.0305329579859972,
-0.02004653960466385,
-0.01343135628849268,
0.00801337230950594,
-0.023699307814240456,
0.04886671528220177,
0.030672777444124222,
0.03184376284480095,
0.04026785120368004,
0.002043759450316429,
0.009070753119885921,
0.05323605611920357,
-0.035444099456071854,
-0.04865698888897896,
0.028767744079232216,
0.04152622073888779,
0.03537419065833092,
0.05386524274945259,
-0.006492841523140669,
-0.01417414378374815,
-0.02336723916232586,
0.01864834874868393,
-0.0037904037162661552,
0.021479682996869087,
-0.08011624962091446,
-0.04690925031900406,
-0.011596232652664185,
0.05893367901444435,
-0.01544125284999609,
-0.02092040702700615,
0.013859551399946213,
-0.028470629826188087,
-0.013239105232059956,
0.006838019471615553,
-0.027771534398198128,
-0.041386403143405914,
0.037331655621528625,
0.0028073019348084927,
-0.023646876215934753,
0.00033534696558490396,
-0.009079491719603539,
-0.05620720982551575,
-0.027509374544024467,
-0.008581386879086494,
0.023087600246071815,
-0.03708697110414505,
0.08305244147777557,
-0.024363448843359947,
-0.03827543184161186,
-0.003980470355600119,
0.004430512432008982,
-0.02432849444448948,
0.024695517495274544,
-0.046280063688755035,
0.03656265139579773,
0.05271173641085625,
0.03519941493868828,
0.0628136545419693,
0.02432849444448948,
-0.0226681437343359,
0.06400211155414581,
0.007681302260607481,
0.024048855528235435,
0.035391665995121,
-0.022004004567861557,
-0.03210592269897461,
0.017722049728035927,
0.04848221316933632,
0.051733002066612244,
0.09074248373508453,
-0.0032682674936950207,
-0.033836182206869125,
-0.01803664118051529,
0.04648979380726814,
0.12171237915754318,
-0.023699307814240456,
-0.009769847616553307,
0.037506427615880966,
-0.055717844516038895,
-0.0007700964342802763,
0.01054759044200182,
0.021724365651607513,
-0.0012824017321690917,
0.021077703684568405,
0.008218731731176376,
-0.013326491229236126,
0.023035168647766113,
-0.009673722088336945,
0.019032850861549377,
0.05928322672843933,
-0.08228343725204468,
0.04655970260500908,
-0.05732576176524162,
0.021287431940436363,
0.010862182825803757,
0.011910825036466122,
-0.07787914574146271,
-0.09353886544704437,
0.018927987664937973,
0.006034060847014189,
-0.016105392947793007,
0.017617184668779373,
0.020867975428700447,
0.018333757296204567,
-0.0176958329975605,
-0.020291222259402275,
0.009158140048384666,
-0.055543068796396255,
-0.008227470330893993,
0.006510318722575903,
-0.05634702742099762,
0.013798380270600319,
0.021549591794610023,
-0.06428175419569016,
-0.03214087709784508,
-0.017791958525776863,
-0.021112658083438873,
-0.034919776022434235,
-0.027893876656889915,
0.044881876558065414,
-0.04830744117498398,
0.005343704484403133,
-0.0017313516000285745,
-0.017800698056817055,
0.038729842752218246,
-0.02341967076063156,
0.014514952898025513,
-0.04334386810660362,
-0.01711907982826233,
0.0340808629989624,
-0.012033166363835335,
0.00879985373467207,
0.09102212637662888,
-0.04274963587522507,
0.022301118820905685,
0.016437463462352753,
0.01987176574766636,
0.03018341213464737,
-0.026757847517728806,
-0.008314857259392738,
0.032560333609580994,
0.015493685379624367,
-0.041036855429410934,
0.04044262692332268,
0.02569172903895378,
-0.0038100657984614372,
0.061485372483730316,
0.032909881323575974,
0.004264477174729109,
-0.03357401862740517,
-0.021042749285697937,
-0.027509374544024467,
-0.01260118093341589,
0.05113877356052399,
-0.0021934094838798046,
0.05662666633725166,
-0.0035260585136711597,
0.013011898845434189,
0.02756180614233017,
-0.013317752629518509,
0.019539695233106613,
-0.01351874228566885,
-0.04159612953662872,
0.031511690467596054,
0.0063355453312397,
0.0393240749835968,
0.01369351614266634,
-0.02057085931301117,
-0.019627083092927933,
-0.013501265086233616,
-0.005999105982482433,
0.02030869945883751,
-0.10626238584518433,
0.008249316364526749,
-0.003685539588332176,
0.044846922159194946,
-0.03953380137681961,
0.0032092812471091747,
0.028575493022799492,
0.0532011017203331,
0.036842286586761475,
-0.026058752089738846,
0.010390293784439564,
0.04414782673120499,
-0.05127859115600586,
-0.01733754761517048,
0.0864081010222435,
0.014357656240463257,
-0.04030280560255051,
-0.032997265458106995,
-0.06676353514194489,
-0.01594809629023075,
0.00374015630222857,
0.0076681943610310555,
0.06260392814874649,
0.03554896265268326,
0.024258583784103394
] |
719,397
|
ibm_platform_services.catalog_management_v1
|
put_offering_instance
|
Update Offering Instance.
Update an installed offering instance.
:param str instance_identifier: Version Instance identifier.
: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 revision.
:param str url: (optional) url reference to this object.
:param str crn: (optional) platform CRN for this instance.
:param str label: (optional) the label for this instance.
:param str catalog_id: (optional) Catalog ID this instance was created
from.
:param str offering_id: (optional) Offering ID this instance was created
from.
:param str kind_format: (optional) the format this instance has (helm,
operator, ova...).
:param str version: (optional) The version this instance was installed from
(not version id).
:param str cluster_id: (optional) Cluster ID.
:param str cluster_region: (optional) Cluster region (e.g., us-south).
:param List[str] cluster_namespaces: (optional) List of target namespaces
to install into.
:param bool cluster_all_namespaces: (optional) designate to install into
all namespaces.
:param str schematics_workspace_id: (optional) Id of the schematics
workspace, for offering instances provisioned through schematics.
:param str resource_group_id: (optional) Id of the resource group to
provision the offering instance into.
:param str install_plan: (optional) Type of install plan (also known as
approval strategy) for operator subscriptions. Can be either automatic,
which automatically upgrades operators to the latest in a channel, or
manual, which requires approval on the cluster.
:param str channel: (optional) Channel to pin the operator subscription to.
:param dict metadata: (optional) Map of metadata values for this offering
instance.
:param OfferingInstanceLastOperation last_operation: (optional) the last
operation performed and status.
: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 representing a `OfferingInstance` object
|
def put_offering_instance(
self,
instance_identifier: str,
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 = None,
cluster_region: str = None,
cluster_namespaces: List[str] = None,
cluster_all_namespaces: bool = None,
schematics_workspace_id: str = None,
resource_group_id: str = None,
install_plan: str = None,
channel: str = None,
metadata: dict = None,
last_operation: 'OfferingInstanceLastOperation' = None,
**kwargs
) -> DetailedResponse:
"""
Update Offering Instance.
Update an installed offering instance.
:param str instance_identifier: Version Instance identifier.
: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 revision.
:param str url: (optional) url reference to this object.
:param str crn: (optional) platform CRN for this instance.
:param str label: (optional) the label for this instance.
:param str catalog_id: (optional) Catalog ID this instance was created
from.
:param str offering_id: (optional) Offering ID this instance was created
from.
:param str kind_format: (optional) the format this instance has (helm,
operator, ova...).
:param str version: (optional) The version this instance was installed from
(not version id).
:param str cluster_id: (optional) Cluster ID.
:param str cluster_region: (optional) Cluster region (e.g., us-south).
:param List[str] cluster_namespaces: (optional) List of target namespaces
to install into.
:param bool cluster_all_namespaces: (optional) designate to install into
all namespaces.
:param str schematics_workspace_id: (optional) Id of the schematics
workspace, for offering instances provisioned through schematics.
:param str resource_group_id: (optional) Id of the resource group to
provision the offering instance into.
:param str install_plan: (optional) Type of install plan (also known as
approval strategy) for operator subscriptions. Can be either automatic,
which automatically upgrades operators to the latest in a channel, or
manual, which requires approval on the cluster.
:param str channel: (optional) Channel to pin the operator subscription to.
:param dict metadata: (optional) Map of metadata values for this offering
instance.
:param OfferingInstanceLastOperation last_operation: (optional) the last
operation performed and status.
: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 representing a `OfferingInstance` object
"""
if instance_identifier is None:
raise ValueError('instance_identifier must be provided')
if x_auth_refresh_token is None:
raise ValueError('x_auth_refresh_token must be provided')
if last_operation is not None:
last_operation = convert_model(last_operation)
headers = {'X-Auth-Refresh-Token': x_auth_refresh_token}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='put_offering_instance'
)
headers.update(sdk_headers)
data = {
'id': id,
'_rev': rev,
'url': url,
'crn': crn,
'label': label,
'catalog_id': catalog_id,
'offering_id': offering_id,
'kind_format': kind_format,
'version': version,
'cluster_id': cluster_id,
'cluster_region': cluster_region,
'cluster_namespaces': cluster_namespaces,
'cluster_all_namespaces': cluster_all_namespaces,
'schematics_workspace_id': schematics_workspace_id,
'resource_group_id': resource_group_id,
'install_plan': install_plan,
'channel': channel,
'metadata': metadata,
'last_operation': last_operation,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['instance_identifier']
path_param_values = self.encode_path_vars(instance_identifier)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/instances/offerings/{instance_identifier}'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(self, instance_identifier: str, 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: Optional[str] = None, cluster_region: Optional[str] = None, cluster_namespaces: Optional[List[str]] = None, cluster_all_namespaces: Optional[bool] = None, schematics_workspace_id: Optional[str] = None, resource_group_id: Optional[str] = None, install_plan: Optional[str] = None, channel: Optional[str] = None, metadata: Optional[dict] = None, last_operation: Optional[ibm_platform_services.catalog_management_v1.OfferingInstanceLastOperation] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.04649950936436653,
-0.08477563410997391,
-0.05162043496966362,
-0.031809549778699875,
-0.014867507852613926,
-0.01633463427424431,
0.0359773114323616,
-0.02248348481953144,
-0.055619992315769196,
0.02814640663564205,
-0.035416629165410995,
-0.045677170157432556,
0.017998000606894493,
0.012409836985170841,
-0.005690956953912973,
-0.006536657456308603,
0.020707979798316956,
-0.062647245824337,
0.004039271268993616,
0.003244966734200716,
0.03208989277482033,
-0.006359106861054897,
-0.030912455171346664,
0.017904553562402725,
0.05195684731006622,
0.05113450810313225,
0.06216132268309593,
0.01846523955464363,
-0.046462129801511765,
0.02390388771891594,
0.07333765178918839,
-0.043397050350904465,
-0.02523084357380867,
0.03618289902806282,
0.022726448252797127,
-0.011279121041297913,
-0.016213152557611465,
-0.017680279910564423,
-0.025006568059325218,
0.07083325833082199,
-0.0072515313513576984,
0.002317499602213502,
-0.013213485479354858,
-0.04268684983253479,
-0.029529431834816933,
0.05083547532558441,
-0.003452887525781989,
-0.0033664486836642027,
-0.0036257656756788492,
-0.00731227220967412,
-0.008083214052021503,
-0.03640717267990112,
0.003368784673511982,
0.013241520151495934,
-0.012307044118642807,
0.05707777291536331,
0.006134832743555307,
0.042014025151729584,
0.013662033714354038,
0.008106576278805733,
-0.041864510625600815,
-0.014643233269453049,
0.02422160841524601,
0.006303038448095322,
-0.008354212157428265,
0.016689734533429146,
-0.06380599737167358,
0.0402945913374424,
-0.03702392429113388,
0.0438082180917263,
0.09628837555646896,
-0.015045057982206345,
-0.016465460881590843,
-0.021810662001371384,
-0.022838585078716278,
0.00796173233538866,
-0.021007012575864792,
0.04563979059457779,
-0.026221387088298798,
-0.012652800418436527,
0.03289354220032692,
-0.006723552476614714,
-0.00989609770476818,
-0.06380599737167358,
0.03537924960255623,
0.006831016857177019,
0.00859250407665968,
-0.016895320266485214,
-0.07255268841981888,
-0.03474380448460579,
0.019810883328318596,
-0.03304306045174599,
-0.01640004850924015,
-0.02052108570933342,
0.009209257550537586,
-0.04036934673786163,
-0.02745489403605461,
-0.1083991751074791,
-0.005097564775496721,
0.0012264993274584413,
-0.040967412292957306,
-0.012082770466804504,
0.03098721243441105,
0.023249754682183266,
0.06959974765777588,
-0.08724264800548553,
-0.05700301378965378,
0.006223607808351517,
-0.02384781837463379,
-0.03803315758705139,
0.02427767775952816,
0.01134453434497118,
-0.09292425960302353,
-0.021007012575864792,
-0.016829906031489372,
-0.0002803427050821483,
-0.010419403202831745,
0.0069711883552372456,
0.014830128289759159,
-0.05147092044353485,
0.013577931560575962,
-0.026034491136670113,
-0.030744249001145363,
-0.005718991160392761,
-0.015138505958020687,
-0.024053404107689857,
-0.01945578306913376,
0.02681945078074932,
-0.025660701096057892,
-0.0648152306675911,
-0.011325844563543797,
0.0177643820643425,
-0.061488498002290726,
0.020072536543011665,
-0.02840805985033512,
-0.015727225691080093,
0.02511870488524437,
0.022913342341780663,
-0.02347402833402157,
0.021829351782798767,
0.0075926147401332855,
0.005578819662332535,
-0.017755037173628807,
-0.04549027606844902,
-0.003146846778690815,
-0.010064302943646908,
-0.04818156361579895,
0.006363779306411743,
0.04436890408396721,
-0.004387363325804472,
0.0033828020095825195,
-0.02919301949441433,
0.08574748784303665,
0.005817111115902662,
0.026296144351363182,
-0.07670176029205322,
0.007704752031713724,
-0.010026924312114716,
0.023231064900755882,
-0.021885419264435768,
0.009980199858546257,
-0.06690845638513565,
0.05670398473739624,
-0.003868729341775179,
-0.03418311849236488,
0.0030113477259874344,
-0.0562928132712841,
0.01919412985444069,
0.013054625131189823,
0.020651912316679955,
0.007578597404062748,
-0.02311892807483673,
-0.07386095821857452,
0.007246858906000853,
-0.08156103640794754,
0.09075627475976944,
0.029903221875429153,
-0.020222052931785583,
0.08574748784303665,
-0.02597842365503311,
-0.03676227107644081,
-0.0033197246957570314,
-0.01830637827515602,
0.020240742713212967,
-0.025006568059325218,
-0.034407392144203186,
0.017213040962815285,
0.03151052072644234,
-0.016988767310976982,
-0.018166206777095795,
0.06930071860551834,
-0.013129383325576782,
0.007798199541866779,
0.05674136057496071,
-0.06750652194023132,
-0.016857940703630447,
-0.014288133010268211,
-0.019016578793525696,
0.03547269478440285,
0.07225365936756134,
-0.010718435980379581,
-0.0040042283944785595,
0.010036268271505833,
0.019960399717092514,
0.038537777960300446,
0.02358616515994072,
0.014512406662106514,
-0.042238298803567886,
0.00687774084508419,
0.0015629105037078261,
-0.010111026465892792,
0.005125598981976509,
-0.04739660397171974,
0.04877962917089462,
0.01692335493862629,
-0.012914453633129597,
-0.00692913681268692,
-0.02676338329911232,
-0.019175440073013306,
-0.024670157581567764,
-0.02909957244992256,
-0.030688181519508362,
-0.015045057982206345,
0.011120260693132877,
-0.026483040302991867,
0.027006346732378006,
0.05662922561168671,
0.024576710537075996,
-0.016689734533429146,
-0.004702748730778694,
-0.05401269346475601,
0.027791306376457214,
0.06989877671003342,
0.031977757811546326,
-0.05547047406435013,
0.028370680287480354,
-0.022913342341780663,
0.01528802141547203,
0.005929247941821814,
-0.010624988004565239,
0.05020003393292427,
-0.04436890408396721,
-0.02242741547524929,
-0.024240298196673393,
-0.061226844787597656,
-0.0016528537962585688,
0.0000863659952301532,
0.05532095953822136,
-0.021455561742186546,
-0.08858828991651535,
0.01274624839425087,
-0.01203604694455862,
0.03719213232398033,
0.007003895007073879,
-0.0013818559236824512,
-0.050536442548036575,
0.0075692529790103436,
-0.039061084389686584,
0.04818156361579895,
0.017801761627197266,
-0.03375326097011566,
0.0002191637468058616,
-0.06657204777002335,
-0.014241409488022327,
-0.03808922693133354,
0.0100736478343606,
-0.02930515632033348,
0.010241853073239326,
0.013746136799454689,
0.017371902242302895,
0.02136211283504963,
0.015998223796486855,
-0.02257693186402321,
0.012979866936802864,
0.0100736478343606,
0.021791972219944,
-0.011895875446498394,
-0.028912676498293877,
0.0035136283840984106,
-0.05786273255944252,
0.007915008813142776,
-0.002107242587953806,
0.045565031468868256,
0.033566366881132126,
0.012110804207623005,
-0.011905220337212086,
-0.01666170172393322,
0.07247792929410934,
0.005340528208762407,
0.010718435980379581,
-0.035528764128685,
0.035622213035821915,
0.035360559821128845,
0.0022637671791017056,
-0.010905331000685692,
0.08470087498426437,
-0.038799431174993515,
0.005947937723249197,
0.016540220007300377,
-0.04227567836642265,
0.006218935362994671,
0.015316056087613106,
0.0027940822765231133,
0.015559019520878792,
-0.004041607026010752,
-0.0011756871826946735,
0.07617845386266708,
0.0527791865170002,
0.03988341987133026,
0.01581132784485817,
-0.014923576265573502,
-0.0075692529790103436,
-0.028893986716866493,
0.0011353879235684872,
0.022408725693821907,
-0.014035824686288834,
-0.0004678218683693558,
-0.01988564245402813,
0.005480699706822634,
-0.012110804207623005,
-0.015054402872920036,
0.05188208818435669,
0.00010746470070444047,
-0.0026469023432582617,
0.021810662001371384,
-0.0467611625790596,
-0.0027777289506047964,
0.024258987978100777,
0.03336077928543091,
0.015596399083733559,
-0.059694305062294006,
-0.06018023192882538,
0.03237023577094078,
0.057937491685152054,
-0.014970299787819386,
-0.012877075001597404,
-0.005139616318047047,
-0.009115810506045818,
-0.022446105256676674,
0.07472067326307297,
0.03887418657541275,
0.03285616263747215,
-0.028015580028295517,
0.02465146780014038,
-0.01766159012913704,
0.009139171801507473,
0.009269998408854008,
-0.0684409961104393,
-0.014082548208534718,
0.01941840350627899,
-0.10428748279809952,
0.010895986109972,
0.05819914489984512,
0.028688402846455574,
0.0467611625790596,
-0.03380933031439781,
-0.019904332235455513,
-0.029118262231349945,
-0.05046168714761734,
-0.0324636846780777,
-0.01274624839425087,
-0.02797820046544075,
-0.07187987118959427,
0.02971632592380047,
-0.036052070558071136,
-0.0027029707562178373,
-0.007779509760439396,
-0.05094761401414871,
0.0007446602685377002,
-0.026950277388095856,
-0.016848595812916756,
-0.0560685396194458,
-0.010157749988138676,
-0.00777483731508255,
0.07053422182798386,
0.015017024241387844,
-0.07008567452430725,
0.050013136118650436,
-0.06361909955739975,
-0.004015909042209387,
0.04597620293498039,
0.022203141823410988,
-0.04541551694273949,
0.002808099379763007,
0.057675838470458984,
0.01560574397444725,
-0.0031982429791241884,
-0.010624988004565239,
0.044294144958257675,
0.0020943935960531235,
-0.004039271268993616,
0.04066837951540947,
0.03769674897193909,
0.03242630511522293,
0.034930698573589325,
-0.010438092984259129,
-0.0324636846780777,
-0.005340528208762407,
0.01446568313986063,
-0.061488498002290726,
0.044555798172950745,
0.029921909794211388,
0.07767361402511597,
0.02792213298380375,
0.03560352325439453,
-0.04100479185581207,
0.012792971916496754,
-0.014250753447413445,
-0.006148850079625845,
0.011634222231805325,
-0.017166318371891975,
-0.05928313732147217,
0.004772834479808807,
-0.024146851152181625,
-0.033659812062978745,
0.0709453895688057,
0.0034248533193022013,
0.04515386372804642,
0.01654956489801407,
0.00481254979968071,
0.05490978807210922,
0.0054900445975363255,
0.04126644507050514,
0.05087285488843918,
-0.038313500583171844,
0.002639893675222993,
-0.004188787192106247,
-0.06044188514351845,
0.05049906298518181,
-0.06967450678348541,
-0.011419292539358139,
0.040967412292957306,
-0.023193685337901115,
0.05700301378965378,
0.00045672498526982963,
-0.01322283037006855,
0.04317277669906616,
-0.03962176665663719,
-0.006756259128451347,
0.024632778018712997,
0.004840584006160498,
-0.0465368889272213,
0.0013818559236824512,
0.061376363039016724,
0.02147425152361393,
0.019530542194843292,
-0.01835310272872448,
-0.02586628682911396,
0.042238298803567886,
-0.008746691979467869,
0.11789344996213913,
-0.05674136057496071,
0.0233805812895298,
0.06616088002920151,
-0.048742249608039856,
-0.042873743921518326,
0.012008012272417545,
-0.03977128490805626,
-0.015437537804245949,
0.0063310726545751095,
-0.01899789087474346,
0.014101237989962101,
-0.03194037824869156,
0.059058863669633865,
0.00034166767727583647,
0.050798095762729645,
0.05988119915127754,
-0.004403716418892145,
0.003952831961214542,
0.032575823366642,
0.0033664486836642027,
-0.04235043749213219,
0.019268888980150223,
0.007999111898243427,
0.032650578767061234,
0.03569696843624115,
0.041602857410907745,
0.011624877341091633,
-0.03902370482683182,
-0.04182713106274605,
0.03485594317317009,
-0.003681834088638425,
-0.01213883887976408,
0.010204474441707134,
-0.0171382836997509,
0.0139330318197608,
0.021717214956879616,
0.027847373858094215,
-0.026744693517684937,
0.007751475553959608,
-0.00401824526488781,
-0.01899789087474346,
-0.03579041734337807,
-0.013998445123434067,
-0.016857940703630447,
0.013680723495781422,
0.018287688493728638,
0.043397050350904465,
-0.009508289396762848,
-0.02416554093360901,
0.012475250288844109,
-0.012213597074151039,
0.035454005002975464,
-0.022932032123208046,
0.03864991292357445,
0.01654956489801407,
-0.08163579553365707,
0.043023258447647095,
0.018539996817708015,
0.07804740965366364,
0.014951610937714577,
-0.020932255312800407,
0.07180511206388474,
-0.011989322490990162,
0.025903664529323578,
0.12477119266986847,
-0.001519691082648933,
0.053339872509241104,
0.019530542194843292,
-0.01623184233903885,
0.010232508182525635,
0.02410947158932686,
0.050648581236600876,
-0.03248237445950508,
-0.021306045353412628,
-0.010578264482319355,
-0.009709201753139496,
-0.06089043244719505,
-0.038537777960300446,
0.015988878905773163,
-0.045677170157432556,
-0.012279010377824306,
-0.026539109647274017,
0.003789298702031374,
-0.025660701096057892,
0.013942376710474491,
-0.058049626648426056,
0.03152921050786972,
0.042761605232954025,
-0.028389370068907738,
-0.024184230715036392,
-0.012858385220170021,
-0.032127272337675095,
-0.03412705287337303,
-0.04915342107415199,
-0.023287134245038033,
0.016044946387410164,
0.008522418327629566,
-0.018764270469546318,
-0.06130160391330719,
0.035528764128685,
-0.005144288297742605,
0.1092962697148323,
0.024558020755648613,
-0.0721789002418518,
0.020035158842802048,
0.007695407141000032,
-0.03083769604563713,
0.026352213695645332,
-0.04044410586357117,
-0.040481485426425934,
0.010428748093545437,
0.07505708187818527,
-0.05696563795208931,
0.06862789392471313,
0.008508400991559029,
0.008816777728497982,
0.008377574384212494,
-0.05012527480721474,
-0.010699746198952198,
-0.02592235431075096,
0.023885197937488556,
-0.01443764939904213,
-0.04421938955783844,
-0.015502951107919216,
-0.0016096343751996756,
0.0021235959138721228,
-0.005919903516769409,
0.03412705287337303,
-0.01203604694455862,
0.014260098338127136,
0.0021235959138721228,
-0.004177106078714132,
-0.048368461430072784,
0.0024459899868816137,
0.06332007050514221,
-0.026912899687886238,
0.017998000606894493,
-0.009849373251199722,
0.055246200412511826,
-0.002079208381474018,
0.03846301883459091,
0.04044410586357117,
-0.0036981874145567417,
0.028744472190737724,
0.05203160643577576,
0.015895431861281395,
-0.02210969477891922,
0.05711515247821808,
-0.00625631446018815,
0.030688181519508362,
0.03861253336071968,
0.020128605887293816,
-0.0062095909379422665,
0.05367628112435341,
0.03309912979602814,
-0.0648152306675911,
0.019754815846681595,
-0.03793971240520477,
-0.055881645530462265,
0.010036268271505833,
-0.01126043125987053,
-0.019848262891173363,
-0.07408522814512253,
-0.05240539461374283,
0.046200476586818695,
0.009755926206707954,
0.00035802097409032285,
0.005550785455852747,
-0.0360894501209259,
-0.044294144958257675,
0.007358995731920004,
0.008251420222222805,
0.028445439413189888,
-0.0654880553483963,
-0.017895208671689034,
0.02364223450422287,
-0.019474472850561142,
-0.014830128289759159,
-0.0032940267119556665,
0.006999222561717033,
0.05539571866393089,
0.025567254051566124,
0.006317055318504572,
0.0375659205019474,
0.00543397618457675,
0.030819008126854897,
0.022464795038104057,
0.004859273321926594,
0.01654956489801407,
0.059582166373729706,
0.013204141519963741,
-0.03476249426603317,
0.03399622440338135,
0.028576266020536423,
0.057040393352508545,
-0.023941267281770706,
-0.06511426717042923,
-0.047733016312122345,
0.02872578240931034,
-0.003868729341775179,
0.017119593918323517,
0.003887418657541275,
-0.034239187836647034,
-0.02919301949441433,
0.0017988656181842089,
-0.012344423681497574,
0.002502058632671833,
0.010718435980379581,
0.01507309265434742,
0.01427878811955452,
-0.01115763932466507,
0.02009122632443905,
-0.0008462844998575747,
-0.041229065507650375,
0.06616088002920151,
-0.04167761281132698,
-0.05386317893862724,
0.004029926378279924,
0.10548361390829086,
-0.0027683840598911047,
-0.030912455171346664,
-0.02375437133014202,
0.06731962412595749,
-0.053975313901901245,
-0.035510074347257614,
-0.028370680287480354,
-0.0031959067564457655,
-0.0527791865170002,
0.040743138641119,
0.02655779756605625,
-0.02855757623910904,
-0.010054958052933216,
0.026576487347483635,
-0.020296812057495117,
-0.009298033080995083,
0.009274670854210854,
0.015437537804245949,
-0.009555013850331306,
-0.060105472803115845,
-0.01894182153046131,
-0.07016043365001678,
-0.0749075710773468,
0.012344423681497574,
-0.00962509959936142,
-0.0838785320520401,
-0.0216237660497427,
-0.0527791865170002,
-0.0010203305864706635,
-0.030819008126854897,
0.02347402833402157,
0.007905663922429085,
0.004284570924937725,
0.0062329526990652084,
-0.009185895323753357,
0.031660035252571106,
-0.04694805666804314,
-0.026090560480952263,
0.043471809476614,
-0.04418200999498367,
0.020913565531373024,
0.06724486500024796,
0.01936233602464199,
-0.03130493313074112,
0.05838603898882866,
0.04549027606844902,
-0.04253733158111572,
-0.05251753330230713,
0.009597064927220345,
0.051059748977422714,
0.00032560635008849204,
0.014129271730780602,
0.07386095821857452,
-0.027211930602788925,
-0.017306489869952202,
0.017689624801278114,
-0.017783071845769882,
0.03864991292357445,
0.05726466700434685,
0.029977979138493538,
0.011708980426192284,
0.0234366487711668,
-0.07909402251243591,
-0.046349991112947464,
0.05348938703536987,
-0.04522862285375595,
0.03231417015194893,
0.02422160841524601,
0.057302046567201614,
-0.002264935290440917,
-0.002420292003080249,
0.02592235431075096,
-0.027697859331965446,
-0.005083547439426184,
0.05020003393292427,
0.05887196585536003,
0.03771543875336647,
-0.029286466538906097,
0.012391147203743458,
-0.01340972539037466,
-0.028576266020536423,
-0.026632556691765785,
0.032239411026239395,
0.10944578796625137,
0.06290890276432037,
-0.061376363039016724,
-0.006382468622177839,
0.07625321298837662,
-0.006980533245950937,
0.0002826788986567408,
0.0201472956687212,
-0.02543642744421959,
0.042238298803567886,
-0.009980199858546257,
-0.031809549778699875,
-0.015540330670773983,
0.020278122276067734,
-0.008737347088754177
] |
719,398
|
ibm_platform_services.catalog_management_v1
|
reload_offering
|
Reload offering.
Reload an existing version in offering from a tgz.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str target_version: The semver value for this new version.
:param List[str] tags: (optional) Tags array.
:param List[str] target_kinds: (optional) Target kinds. Current valid
values are 'iks', 'roks', 'vcenter', and 'terraform'.
:param bytes content: (optional) byte array representing the content to be
imported. Only supported for OVA images at this time.
:param str zipurl: (optional) URL path to zip location. If not specified,
must provide content in this post body.
:param str repo_type: (optional) The type of repository containing this
version. Valid values are 'public_git' or 'enterprise_git'.
: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 representing a `Offering` object
|
def reload_offering(
self,
catalog_identifier: str,
offering_id: str,
target_version: str,
*,
tags: List[str] = None,
target_kinds: List[str] = None,
content: bytes = None,
zipurl: str = None,
repo_type: str = None,
**kwargs
) -> DetailedResponse:
"""
Reload offering.
Reload an existing version in offering from a tgz.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str target_version: The semver value for this new version.
:param List[str] tags: (optional) Tags array.
:param List[str] target_kinds: (optional) Target kinds. Current valid
values are 'iks', 'roks', 'vcenter', and 'terraform'.
:param bytes content: (optional) byte array representing the content to be
imported. Only supported for OVA images at this time.
:param str zipurl: (optional) URL path to zip location. If not specified,
must provide content in this post body.
:param str repo_type: (optional) The type of repository containing this
version. Valid values are 'public_git' or 'enterprise_git'.
: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 representing a `Offering` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if offering_id is None:
raise ValueError('offering_id must be provided')
if target_version is None:
raise ValueError('target_version must be provided')
if content is not None:
content = str(base64.b64encode(content), 'utf-8')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='reload_offering'
)
headers.update(sdk_headers)
params = {'targetVersion': target_version, 'zipurl': zipurl, 'repoType': repo_type}
data = {'tags': tags, 'target_kinds': target_kinds, 'content': content}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier', 'offering_id']
path_param_values = self.encode_path_vars(catalog_identifier, offering_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/offerings/{offering_id}/reload'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, params=params, data=data)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, offering_id: str, target_version: str, *, tags: Optional[List[str]] = None, target_kinds: Optional[List[str]] = None, content: Optional[bytes] = None, zipurl: Optional[str] = None, repo_type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.009552150964736938,
-0.06986180692911148,
-0.07248396426439285,
-0.04319070652127266,
-0.004392116330564022,
-0.019291598349809647,
0.007843065075576305,
0.03530550003051758,
-0.05854906514286995,
-0.004656673409044743,
-0.025341294705867767,
-0.04472653940320015,
-0.01841130293905735,
0.05341712385416031,
-0.03940730541944504,
-0.05244318023324013,
0.0009265352273359895,
-0.011668607592582703,
-0.01892636902630329,
-0.06263214349746704,
0.04229167848825455,
-0.020883623510599136,
0.011631147935986519,
0.035211849957704544,
0.01660388521850109,
0.010132771916687489,
0.05806209146976471,
0.02105219103395939,
-0.04731123894453049,
-0.003558644326403737,
0.053566962480545044,
-0.04416465014219284,
-0.048247724771499634,
0.09634561091661453,
-0.007744734175503254,
0.025528591126203537,
0.025678427889943123,
-0.011294013820588589,
0.023580702021718025,
0.03586738929152489,
-0.059860143810510635,
-0.012090026400983334,
0.02747648023068905,
-0.03669149801135063,
-0.017399897798895836,
0.04330308362841606,
-0.0435652993619442,
-0.009008989669382572,
-0.005263047758489847,
0.02037792094051838,
0.003963674418628216,
0.01178098563104868,
-0.009992298670113087,
0.0033713472075760365,
0.023842917755246162,
0.038208603858947754,
-0.003315158188343048,
0.09102638065814972,
0.04779821261763573,
0.043415460735559464,
-0.017184507101774216,
-0.0389203317463398,
-0.054653286933898926,
-0.0005212126416154206,
-0.00402922835201025,
-0.012736201286315918,
-0.05027053505182266,
-0.003947285935282707,
-0.03285190835595131,
-0.00025402166647836566,
0.0850328728556633,
0.026109211146831512,
-0.017999248579144478,
-0.005183446686714888,
0.021745190024375916,
0.008442415855824947,
-0.013316822238266468,
0.020284272730350494,
-0.013663321733474731,
-0.06315657496452332,
0.02906850539147854,
-0.07435693591833115,
0.02049029991030693,
-0.055402472615242004,
-0.01663197949528694,
-0.027364103123545647,
0.031035125255584717,
-0.05622658133506775,
-0.015854697674512863,
-0.019965868443250656,
0.03656039014458656,
0.020115705206990242,
-0.03266460821032524,
-0.027195535600185394,
0.04191708564758301,
-0.04247897490859032,
-0.0160326287150383,
-0.07873968780040741,
0.028525345027446747,
-0.01989094913005829,
-0.02556605078279972,
-0.03088528662919998,
-0.035642631351947784,
0.02605302259325981,
0.03538041561841965,
-0.02348705381155014,
-0.03028593771159649,
0.036766417324543,
0.018804626539349556,
-0.04000665619969368,
-0.02097727172076702,
-0.017811952158808708,
-0.06360608339309692,
-0.08151168376207352,
-0.012333512306213379,
-0.006574127357453108,
0.008802962489426136,
0.0011413415195420384,
-0.01498376578092575,
-0.040156491100788116,
0.013850618153810501,
-0.013700781390070915,
-0.019403977319598198,
-0.003240239340811968,
0.024854321032762527,
-0.015620576217770576,
-0.05326728895306587,
0.022606756538152695,
-0.03185923397541046,
-0.03436901420354843,
-0.009842460975050926,
0.03180304169654846,
-0.041242815554142,
0.024741943925619125,
0.025547320023179054,
-0.029873883351683617,
-0.02588445506989956,
0.016528965905308723,
-0.012436525896191597,
0.01792432926595211,
0.02494797110557556,
-0.012998417019844055,
0.004691791720688343,
-0.002352919429540634,
0.010095312260091305,
-0.021689001470804214,
0.008390909060835838,
-0.030117370188236237,
-0.009051131084561348,
0.030192287638783455,
-0.0006139831966720521,
0.003242580685764551,
0.06626570224761963,
-0.03534295782446861,
0.004047958180308342,
-0.06892532110214233,
-0.04349038004875183,
-0.0042001367546617985,
-0.018860815092921257,
-0.04558810591697693,
0.01994713768362999,
-0.031053854152560234,
0.04270373284816742,
-0.01859859935939312,
-0.05255555734038353,
-0.025790806859731674,
-0.08076249808073044,
0.004916548263281584,
-0.007515294943004847,
0.02270040474832058,
-0.019778570160269737,
0.012193039059638977,
-0.10683424770832062,
-0.004115852992981672,
0.021314406767487526,
0.06484224647283554,
0.017634019255638123,
-0.03494963422417641,
0.037646710872650146,
-0.0391450896859169,
-0.010835135355591774,
-0.004708180204033852,
-0.04019395262002945,
0.05094480514526367,
-0.014262672513723373,
-0.021763920783996582,
0.0264276172965765,
0.0009236087207682431,
0.008250435814261436,
-0.00414394773542881,
0.02251310832798481,
0.0065179383382201195,
0.005675101187080145,
0.020284272730350494,
-0.023936565965414047,
-0.0641305148601532,
-0.0006385659798979759,
-0.029761504381895065,
-0.0008680048631504178,
0.032758258283138275,
-0.002029831986874342,
-0.0046660383231937885,
0.04202946275472641,
0.010778946802020073,
0.03401314839720726,
0.0057312906719744205,
0.022831512615084648,
-0.06664029508829117,
0.010469906032085419,
0.01336364634335041,
0.016884831711649895,
0.04109297692775726,
-0.01651960238814354,
-0.001204554340802133,
-0.014337590895593166,
0.020171895623207092,
-0.03088528662919998,
-0.012286688201129436,
-0.001747715868987143,
-0.03993173688650131,
-0.029761504381895065,
-0.001090420177206397,
-0.02232581190764904,
0.014749644324183464,
-0.030117370188236237,
0.018701612949371338,
0.021670270711183548,
0.01854241080582142,
-0.017502911388874054,
-0.024254970252513885,
-0.028675181791186333,
-0.021632812917232513,
0.07761590927839279,
-0.014571712352335453,
-0.02380545809864998,
0.00558145297691226,
-0.010507365688681602,
0.036241982132196426,
0.032570961862802505,
-0.012108756229281425,
0.034537579864263535,
-0.017634019255638123,
-0.018017979338765144,
0.0010201837867498398,
-0.07948888093233109,
-0.03528676927089691,
-0.0392574667930603,
0.06514192372560501,
-0.03034212626516819,
-0.03517439216375351,
0.043415460735559464,
-0.03895778954029083,
0.021707730367779732,
-0.0027228312101215124,
0.03697244077920914,
-0.05281777307391167,
-0.00662095146253705,
-0.03376966342329979,
0.022044865414500237,
-0.031184962019324303,
-0.051057182252407074,
-0.038508277386426926,
-0.09117621183395386,
-0.012015107087790966,
-0.04000665619969368,
-0.0013134207110852003,
0.006639681290835142,
-0.0021703047677874565,
-0.006176121067255735,
-0.002526169177144766,
-0.0029663173481822014,
0.0183832086622715,
-0.019928408786654472,
0.015405184589326382,
0.03779654949903488,
0.05854906514286995,
0.00914009753614664,
-0.04075584188103676,
0.023318486288189888,
-0.0023927201982587576,
0.001033645705319941,
-0.012333512306213379,
0.07439439743757248,
0.04393989220261574,
-0.006063742563128471,
-0.006606904324144125,
-0.06356862932443619,
0.028656452894210815,
-0.006007553543895483,
0.003930897451937199,
-0.0002529973862692714,
0.08211103826761246,
0.028338046744465828,
0.009584927931427956,
0.002272147685289383,
0.06705234944820404,
-0.03751560300588608,
0.0240489449352026,
0.02446099743247032,
-0.009598975069820881,
0.018233370035886765,
-0.014290766790509224,
0.007875842042267323,
-0.038395900279283524,
-0.02226962149143219,
-0.04416465014219284,
0.08151168376207352,
-0.01643531769514084,
0.024854321032762527,
-0.004750322084873915,
0.036728955805301666,
0.007107923738658428,
-0.033132851123809814,
-0.011724797077476978,
0.0015112533001229167,
-0.031653206795454025,
-0.012249228544533253,
-0.014328226447105408,
0.021145839244127274,
-0.025191456079483032,
-0.04349038004875183,
0.06360608339309692,
0.007515294943004847,
0.0132419029250741,
0.04543827101588249,
-0.053866639733314514,
0.012015107087790966,
0.028712641447782516,
0.010835135355591774,
-0.007468470837920904,
-0.035642631351947784,
-0.01576104946434498,
0.040643464773893356,
0.010910054668784142,
-0.0075340247713029385,
-0.01819591037929058,
0.014440604485571384,
-0.031166233122348785,
-0.005216223653405905,
0.07184715569019318,
0.06349370628595352,
0.000633883522823453,
0.002105921506881714,
-0.0027087838388979435,
-0.0017348391702398658,
0.01621992699801922,
0.05562723055481911,
-0.060721710324287415,
0.021370595321059227,
-0.014131564646959305,
-0.09701988101005554,
-0.032758258283138275,
0.06300673633813858,
0.024086402729153633,
0.033114124089479446,
-0.04828518629074097,
0.014740279875695705,
0.02599683403968811,
-0.06386829912662506,
-0.04716140404343605,
-0.07128526270389557,
-0.03830225020647049,
-0.0503079928457737,
0.0172219667583704,
-0.04528843238949776,
-0.012071296572685242,
-0.0024208147078752518,
-0.05847414582967758,
-0.016454048454761505,
-0.03064180165529251,
-0.0320652574300766,
-0.02796345390379429,
-0.03446266055107117,
-0.00735609233379364,
0.03199034184217453,
-0.01932905800640583,
-0.06495462357997894,
-0.010713392868638039,
-0.03243985399603844,
0.04476400092244148,
0.09589610248804092,
0.03485598415136337,
-0.0032542867120355368,
0.02612794190645218,
0.015995170921087265,
-0.024573376402258873,
0.00011786546383518726,
-0.008198929019272327,
0.006049695424735546,
0.003898120252415538,
0.049334049224853516,
0.023393403738737106,
0.029031045734882355,
0.08368433266878128,
0.014197118580341339,
-0.04423956945538521,
-0.033114124089479446,
-0.012567633762955666,
-0.04240405559539795,
-0.03214017674326897,
0.0597103051841259,
0.03554898500442505,
0.055514853447675705,
0.015274076722562313,
-0.016013899818062782,
-0.06499208509922028,
0.06341879069805145,
-0.05240572243928909,
-0.008372179232537746,
-0.006639681290835142,
0.006770789157599211,
0.004225890152156353,
-0.0183832086622715,
-0.0022182997781783342,
-0.015545656904578209,
0.08151168376207352,
0.012015107087790966,
0.05828684940934181,
-0.006302546709775925,
0.04551319032907486,
0.059672847390174866,
0.022962620481848717,
0.021670270711183548,
0.05896111950278282,
-0.02550986222922802,
0.017961788922548294,
-0.008269165642559528,
-0.012333512306213379,
-0.0024652977008372545,
-0.09312410652637482,
0.027982182800769806,
0.06334386765956879,
-0.02208232507109642,
0.001910430146381259,
0.03249604254961014,
-0.004832264501601458,
0.026502536609768867,
-0.028525345027446747,
-0.0435652993619442,
0.007061099633574486,
0.023599430918693542,
-0.024423537775874138,
-0.003144249552860856,
0.03805876523256302,
0.02704569697380066,
-0.018767166882753372,
-0.025846995413303375,
0.009238428436219692,
-0.01587342657148838,
-0.02380545809864998,
0.1031632274389267,
-0.020696327090263367,
0.028787560760974884,
0.053866639733314514,
-0.08263546973466873,
-0.03584865853190422,
0.06514192372560501,
0.033189039677381516,
-0.05360442399978638,
-0.018514316529035568,
-0.024030214175581932,
0.005717243067920208,
0.027701236307621002,
0.03607341647148132,
0.027570128440856934,
0.07518104463815689,
-0.0006918285507708788,
-0.005576770287007093,
-0.0264838058501482,
0.03674768656492233,
0.005759384948760271,
-0.07956379652023315,
0.02550986222922802,
0.032027799636125565,
0.023693079128861427,
0.04202946275472641,
0.03052942268550396,
0.06768916547298431,
-0.007622990757226944,
-0.018401937559247017,
0.03264588117599487,
0.005553358234465122,
-0.021014731377363205,
0.012155580334365368,
0.013569672591984272,
-0.007613625843077898,
0.03485598415136337,
0.07016148418188095,
-0.0414675734937191,
0.0021831814665347338,
-0.024329889565706253,
0.02140805497765541,
-0.069000244140625,
0.02470448426902294,
0.007590213790535927,
0.024685753509402275,
0.006770789157599211,
0.03584865853190422,
0.000021455025489558466,
-0.0183832086622715,
0.0414675734937191,
-0.04143011197447777,
0.0480978898704052,
-0.016941020265221596,
0.0016423611668869853,
0.01018896047025919,
-0.02815075032413006,
0.06862565129995346,
0.004097123630344868,
0.04161740839481354,
-0.03493090346455574,
0.030117370188236237,
0.05499042198061943,
0.005300506949424744,
0.008648442104458809,
0.10735867917537689,
-0.009453820064663887,
0.06544160097837448,
0.011865269392728806,
0.003610151121392846,
0.019197950139641762,
0.04697410762310028,
0.04045616835355759,
-0.03689752519130707,
-0.038807954639196396,
0.005117892753332853,
-0.008419003337621689,
-0.044876378029584885,
-0.009186921641230583,
0.02013443596661091,
-0.06304419785737991,
0.006555397529155016,
-0.010357527993619442,
0.0037131644785404205,
-0.007946078665554523,
0.03266460821032524,
-0.06948721408843994,
-0.03446266055107117,
0.012389701791107655,
-0.04232914000749588,
-0.02256929688155651,
0.006850390695035458,
-0.023168647661805153,
-0.0006327129085548222,
-0.05360442399978638,
0.006002871319651604,
0.01676308736205101,
0.03689752519130707,
0.007398234214633703,
-0.035755012184381485,
-0.02955547906458378,
-0.027738695964217186,
0.08345957845449448,
-0.004827582277357578,
-0.07491882890462875,
-0.027176804840564728,
-0.002409108681604266,
-0.07207191735506058,
-0.014965035952627659,
-0.01159368921071291,
-0.0038278838619589806,
0.01425330713391304,
0.09244983643293381,
0.002091874135658145,
0.09709480404853821,
0.07941395789384842,
0.04262881353497505,
0.017268789932131767,
-0.023693079128861427,
-0.05472820624709129,
0.021614082157611847,
-0.022925162687897682,
-0.01132210809737444,
-0.00788052473217249,
-0.015161697752773762,
0.015864063054323196,
0.015021225437521935,
-0.049521345645189285,
0.03479979559779167,
0.009107320569455624,
0.012399066239595413,
0.007393551990389824,
0.037721630185842514,
-0.05873636156320572,
-0.003785742213949561,
0.04937150701880455,
-0.028918668627738953,
0.06064679101109505,
0.07188461720943451,
0.0439024344086647,
-0.047198861837387085,
0.02110837958753109,
0.019684921950101852,
-0.0503079928457737,
0.0009920891607180238,
0.04143011197447777,
0.0072015724144876,
-0.013607132248580456,
0.022157244384288788,
0.010947514325380325,
0.014571712352335453,
0.011256554163992405,
0.006855072919279337,
-0.0021562576293945312,
0.004368704278022051,
0.030978936702013016,
-0.027083156630396843,
0.044014811515808105,
-0.01116290595382452,
-0.027120616286993027,
0.01275493111461401,
-0.02146424539387226,
-0.007501247804611921,
-0.08113709092140198,
-0.050869885832071304,
0.006190168205648661,
0.00032279480365104973,
0.008685901761054993,
0.03582993149757385,
-0.034219175577163696,
-0.06750186532735825,
0.011865269392728806,
0.00468945037573576,
0.04229167848825455,
-0.08862897753715515,
0.024367349222302437,
0.007932031527161598,
0.012211768887937069,
-0.025828266516327858,
-0.0037599888164550066,
-0.0035375733859837055,
-0.0015639305347576737,
0.07686671614646912,
0.05847414582967758,
0.019310329109430313,
-0.025491131469607353,
0.04453924298286438,
0.02446099743247032,
0.009954839013516903,
0.0014936941443011165,
0.11140429973602295,
0.01643531769514084,
-0.007519977632910013,
0.020396651700139046,
-0.003867684630677104,
0.05914841592311859,
-0.0061573912389576435,
-0.008091233670711517,
-0.0027134662959724665,
0.007014275528490543,
0.026165401563048363,
0.02140805497765541,
-0.0012794731883332133,
-0.027626318857073784,
-0.044501785188913345,
0.041242815554142,
0.0020274908747524023,
-0.018701612949371338,
0.017512276768684387,
0.03431282564997673,
0.03369474411010742,
-0.012164944782853127,
0.04547572880983353,
0.011125446297228336,
0.013925537467002869,
0.0043148561380803585,
-0.021614082157611847,
-0.07068591564893723,
0.016538331285119057,
0.06454256922006607,
-0.002500416012480855,
-0.031784314662218094,
-0.012857943773269653,
0.04828518629074097,
-0.043640218675136566,
-0.08241071552038193,
-0.017783857882022858,
-0.0018355112988501787,
-0.027270453050732613,
0.05352950468659401,
0.05109464004635811,
-0.011762255802750587,
-0.005127257201820612,
-0.01232414785772562,
-0.025491131469607353,
0.01523661706596613,
-0.02831931784749031,
-0.006555397529155016,
-0.019347786903381348,
-0.04221675917506218,
-0.0055674053728580475,
-0.041018057614564896,
-0.053866639733314514,
-0.004752663429826498,
0.02453591674566269,
-0.08008822798728943,
-0.02000332809984684,
-0.06330641359090805,
-0.033619824796915054,
0.0034275364596396685,
0.07027386128902435,
0.007519977632910013,
0.010226420126855373,
0.0598226860165596,
-0.015592481009662151,
0.022962620481848717,
-0.055215176194906235,
-0.0022709770128130913,
-0.03182177245616913,
-0.038395900279283524,
0.03933238610625267,
0.05191874876618385,
0.006494525820016861,
-0.022419460117816925,
0.08256054669618607,
0.043340541422367096,
-0.0391450896859169,
-0.04495129734277725,
0.006213580258190632,
0.03744068369269371,
-0.03854573890566826,
-0.004125217907130718,
0.06937483698129654,
0.005263047758489847,
0.045775406062603,
0.030697990208864212,
0.04240405559539795,
0.056376419961452484,
0.061208683997392654,
0.04202946275472641,
0.0161731019616127,
0.015302170999348164,
-0.037403225898742676,
-0.10638473927974701,
0.030679261311888695,
-0.05514025688171387,
-0.014581076800823212,
0.044876378029584885,
0.06574127078056335,
0.011022432707250118,
-0.008774868212640285,
0.03161574527621269,
-0.03828352317214012,
-0.004265690688043833,
-0.013588402420282364,
0.025472402572631836,
0.06915008276700974,
-0.022868972271680832,
0.0031372259836643934,
0.028581533581018448,
-0.03571755066514015,
-0.008124010637402534,
0.01562994159758091,
0.06795138120651245,
0.02275659516453743,
-0.04026887193322182,
-0.016397858038544655,
0.05547739192843437,
-0.0011313913855701685,
0.01667880453169346,
0.009186921641230583,
-0.02380545809864998,
-0.00855947658419609,
-0.02049029991030693,
-0.015835966914892197,
0.016294846311211586,
0.015470738522708416,
0.002526169177144766
] |
719,399
|
ibm_platform_services.catalog_management_v1
|
replace_catalog
|
Update catalog.
Update a catalog.
:param str catalog_identifier: Catalog identifier.
: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 requested
language.
:param str catalog_icon_url: (optional) URL for an icon associated with
this catalog.
:param List[str] tags: (optional) List of tags associated with this
catalog.
:param List[Feature] features: (optional) List of features associated with
this catalog.
:param bool disabled: (optional) Denotes whether a catalog is disabled.
:param str resource_group_id: (optional) Resource group id the catalog is
owned by.
:param str owning_account: (optional) Account that owns catalog.
:param Filters catalog_filters: (optional) Filters for account and catalog
filters.
:param SyndicationResource syndication_settings: (optional) Feature
information.
:param str kind: (optional) Kind of catalog. Supported kinds are offering
and vpe.
: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 representing a `Catalog` object
|
def replace_catalog(
self,
catalog_identifier: str,
*,
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: str = None,
catalog_filters: 'Filters' = None,
syndication_settings: 'SyndicationResource' = None,
kind: str = None,
**kwargs
) -> DetailedResponse:
"""
Update catalog.
Update a catalog.
:param str catalog_identifier: Catalog identifier.
: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 requested
language.
:param str catalog_icon_url: (optional) URL for an icon associated with
this catalog.
:param List[str] tags: (optional) List of tags associated with this
catalog.
:param List[Feature] features: (optional) List of features associated with
this catalog.
:param bool disabled: (optional) Denotes whether a catalog is disabled.
:param str resource_group_id: (optional) Resource group id the catalog is
owned by.
:param str owning_account: (optional) Account that owns catalog.
:param Filters catalog_filters: (optional) Filters for account and catalog
filters.
:param SyndicationResource syndication_settings: (optional) Feature
information.
:param str kind: (optional) Kind of catalog. Supported kinds are offering
and vpe.
: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 representing a `Catalog` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if features is not None:
features = [convert_model(x) for x in features]
if catalog_filters is not None:
catalog_filters = convert_model(catalog_filters)
if syndication_settings is not None:
syndication_settings = convert_model(syndication_settings)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_catalog'
)
headers.update(sdk_headers)
data = {
'id': id,
'_rev': rev,
'label': label,
'short_description': short_description,
'catalog_icon_url': catalog_icon_url,
'tags': tags,
'features': features,
'disabled': disabled,
'resource_group_id': resource_group_id,
'owning_account': owning_account,
'catalog_filters': catalog_filters,
'syndication_settings': syndication_settings,
'kind': kind,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier']
path_param_values = self.encode_path_vars(catalog_identifier)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, *, 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] = None, resource_group_id: Optional[str] = None, owning_account: Optional[str] = None, catalog_filters: Optional[ibm_platform_services.catalog_management_v1.Filters] = None, syndication_settings: Optional[ibm_platform_services.catalog_management_v1.SyndicationResource] = None, kind: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.011561925522983074,
-0.0512370839715004,
-0.030070602893829346,
-0.04578714445233345,
0.027902141213417053,
-0.01130286231637001,
-0.012070458382368088,
0.05634159967303276,
0.041757263243198395,
-0.023392511531710625,
-0.053117696195840836,
0.0008653454133309424,
-0.033582355827093124,
0.0037180467043071985,
-0.003941129427403212,
-0.00793023407459259,
-0.045441728085279465,
0.006798028480261564,
-0.007671169936656952,
-0.05760813504457474,
0.05016244575381279,
-0.007661574985831976,
-0.016129126772284508,
0.02260572463274002,
0.053693391382694244,
-0.021914886310696602,
0.09149753302335739,
-0.005867317784577608,
-0.033448029309511185,
0.03421562537550926,
0.024313626810908318,
-0.021224049851298332,
0.005118910688906908,
0.04617094248533249,
-0.007421701215207577,
0.0034973626025021076,
0.02373792976140976,
-0.01398945041000843,
0.02049483358860016,
-0.0064430152997374535,
-0.02891920693218708,
-0.006265508476644754,
0.014574742875993252,
-0.043753013014793396,
-0.009513402357697487,
0.06490030139684677,
-0.05883628875017166,
0.006625319365411997,
-0.06267427653074265,
0.04114318639039993,
0.007661574985831976,
-0.038187939673662186,
-0.023910637944936752,
0.01389350090175867,
0.03421562537550926,
-0.001068638637661934,
-0.012118433602154255,
0.08643139153718948,
0.029629234224557877,
0.003411008045077324,
0.028247559443116188,
-0.02680831588804722,
-0.07591531425714493,
0.004766296129673719,
-0.02803647145628929,
0.0012125630164518952,
0.0136824119836092,
-0.0005061341216787696,
-0.003008019644767046,
-0.0062463185749948025,
0.004008294083178043,
-0.0013049144763499498,
0.011062988080084324,
-0.016570495441555977,
0.0341004841029644,
-0.011792205274105072,
0.017971359193325043,
-0.02291276305913925,
0.015658972784876823,
-0.06509220600128174,
-0.0045504095032811165,
-0.11682822555303574,
0.039454471319913864,
-0.00977726373821497,
-0.026405328884720802,
0.005320405121892691,
0.02584882080554962,
-0.032949090003967285,
-0.02941814437508583,
0.020897820591926575,
0.007042699959129095,
-0.002145672682672739,
-0.008016588166356087,
0.025906389579176903,
-0.025695301592350006,
-0.006116786506026983,
0.0321047343313694,
-0.09318624436855316,
0.09932702034711838,
0.00018815115618053824,
0.01949695684015751,
-0.05833735316991806,
0.010851899161934853,
0.014757047407329082,
0.0007795904530212283,
-0.014814617112278938,
-0.022893572226166725,
0.059488747268915176,
-0.005258037708699703,
-0.012358307838439941,
-0.0036796669010072947,
-0.034772131592035294,
-0.013624842278659344,
-0.042448099702596664,
-0.08113497495651245,
-0.030089791864156723,
-0.02110891044139862,
-0.03822631761431694,
-0.05039272457361221,
-0.030320070683956146,
-0.04118156433105469,
-0.05864439159631729,
-0.005689810961484909,
-0.0011364029487594962,
0.007248991634696722,
0.0005364181706681848,
-0.013461727648973465,
0.044367093592882156,
-0.03774657100439072,
-0.005713798105716705,
-0.0129340048879385,
-0.02442876622080803,
0.005680216010659933,
0.04240972176194191,
0.06693443655967712,
-0.045441728085279465,
-0.020590782165527344,
-0.001253341557458043,
-0.0418340228497982,
0.03304503858089447,
-0.011418001726269722,
0.005147695541381836,
-0.014450008980929852,
0.01436365395784378,
-0.04014531150460243,
-0.06490030139684677,
-0.026712367311120033,
-0.07553151994943619,
-0.044750891625881195,
-0.009959567338228226,
-0.023699549958109856,
-0.01862381584942341,
0.026654796674847603,
0.014162159524857998,
-0.029993843287229538,
-0.02905353717505932,
0.011264482513070107,
-0.027825381606817245,
0.03456104174256325,
0.006347065791487694,
0.03747791051864624,
-0.009009666740894318,
0.029993843287229538,
-0.02642451785504818,
-0.011139747686684132,
-0.03271881118416786,
-0.04260161891579628,
-0.0014512375928461552,
-0.031759314239025116,
-0.015342339873313904,
-0.0368446446955204,
0.007565625477582216,
-0.08105821907520294,
-0.0049653914757072926,
-0.02598314918577671,
0.027096165344119072,
0.05361663177609444,
-0.046823401004076004,
0.026712367311120033,
0.014622718095779419,
-0.015035301446914673,
-0.020686732605099678,
-0.024505525827407837,
0.050124067813158035,
0.011350836604833603,
-0.04536496847867966,
0.01642657071352005,
0.031202808022499084,
0.06332673132419586,
-0.001881811418570578,
0.055497244000434875,
-0.006265508476644754,
-0.015946822240948677,
-0.0004788484366144985,
-0.02905353717505932,
-0.06240561604499817,
0.025906389579176903,
-0.05227333679795265,
-0.010209036991000175,
-0.007891854271292686,
0.027748622000217438,
-0.017510801553726196,
0.07533962279558182,
0.0016155513003468513,
0.0716167762875557,
0.022202735766768456,
-0.0042169843800365925,
-0.06133098155260086,
-0.03193202614784241,
-0.022337066009640694,
0.06601332128047943,
0.07265303283929825,
0.02936057560145855,
-0.03392777591943741,
-0.007306561339646578,
0.04486602917313576,
0.0070954724214971066,
-0.009734085761010647,
-0.011686660349369049,
-0.03680626302957535,
0.020206984132528305,
-0.012981980107724667,
0.008755400776863098,
-0.00380200264044106,
-0.04171888157725334,
-0.02066754177212715,
0.08489619940519333,
0.04045234993100166,
0.01511206105351448,
-0.037074923515319824,
-0.05346311256289482,
-0.02916867658495903,
0.01673360913991928,
0.006020836997777224,
-0.009791656397283077,
-0.06294292956590652,
0.01599479652941227,
0.042141061276197433,
-0.004425675142556429,
0.036000289022922516,
0.029533283784985542,
0.005353987216949463,
-0.015198415145277977,
0.03404291719198227,
-0.08696871250867844,
-0.007570422720164061,
-0.06785555183887482,
0.050124067813158035,
-0.022586533799767494,
-0.0413350835442543,
0.0064238253980875015,
-0.06505382061004639,
0.020782681182026863,
0.002341170096769929,
0.06432460993528366,
-0.05442260950803757,
-0.03968475013971329,
-0.030128171667456627,
0.048243455588817596,
-0.05177440121769905,
-0.07299844920635223,
-0.010074707679450512,
-0.0736892893910408,
0.05353987216949463,
0.002763348165899515,
-0.02966761402785778,
0.01490097213536501,
-0.013509702868759632,
0.041642121970653534,
0.03653760626912117,
0.007071484811604023,
0.04452061280608177,
0.00015846674796193838,
0.04271676018834114,
0.024313626810908318,
0.038015227764844894,
0.005924887489527464,
-0.029629234224557877,
0.029072726145386696,
0.035885147750377655,
0.020341314375400543,
-0.032258253544569016,
0.001464430708438158,
0.006486192345619202,
0.07253789156675339,
-0.04087452590465546,
-0.04279351979494095,
0.018470296636223793,
-0.039377711713314056,
-0.005320405121892691,
0.04121994599699974,
0.03661436587572098,
0.0018362352857366204,
0.01349051296710968,
-0.02285519242286682,
0.0582222118973732,
-0.08904122561216354,
0.010851899161934853,
0.02179974690079689,
-0.011274076998233795,
-0.022893572226166725,
0.013979855924844742,
0.03905148431658745,
-0.04229458048939705,
0.023392511531710625,
-0.03504079207777977,
0.039454471319913864,
-0.002722569741308689,
0.0129340048879385,
0.07779593020677567,
0.022816812619566917,
0.026501277461647987,
0.0031015705317258835,
-0.012799675576388836,
-0.03755467012524605,
-0.015966013073921204,
0.012406282126903534,
-0.04843535274267197,
0.01217600330710411,
0.008601880632340908,
0.020571593195199966,
-0.027767812833189964,
-0.04221782088279724,
0.002385546686127782,
0.05495992675423622,
-0.045633625239133835,
0.027441583573818207,
0.020590782165527344,
0.05334797501564026,
-0.03179769590497017,
-0.00943664275109768,
0.03803442046046257,
-0.01587006263434887,
0.008587488904595375,
0.02536907233297825,
-0.03383182734251022,
-0.03889796510338783,
-0.08942501991987228,
0.022663293406367302,
0.020341314375400543,
0.000028428814403014258,
-0.0017606749897822738,
-0.028554599732160568,
-0.006644509267061949,
-0.037324391305446625,
0.04279351979494095,
0.05127546191215515,
-0.05960388854146004,
0.004713523667305708,
-0.046938542276620865,
-0.04310055822134018,
-0.06904532760381699,
0.038379836827516556,
0.03198959305882454,
0.0035549323074519634,
-0.004643960390239954,
0.018220826983451843,
-0.0016551305307075381,
-0.034196436405181885,
-0.054998308420181274,
-0.062443993985652924,
-0.0029360575135797262,
0.016695229336619377,
0.03237339109182358,
-0.011619496159255505,
-0.02135838009417057,
-0.027940521016716957,
-0.02254815399646759,
-0.01558221410959959,
-0.05476802587509155,
0.0017894599586725235,
-0.0014500381657853723,
-0.02105133980512619,
-0.012022484093904495,
0.002369954949244857,
-0.005896102637052536,
-0.04114318639039993,
-0.03861011564731598,
-0.03778494894504547,
0.008266057819128036,
0.06589818000793457,
0.008011790923774242,
-0.017347685992717743,
-0.024582285434007645,
0.0014608325436711311,
-0.04597904533147812,
-0.016503330320119858,
0.024025777354836464,
-0.03415805473923683,
0.006303888279944658,
0.01302035991102457,
0.006601332221180201,
0.03246934339404106,
-0.011715445667505264,
0.03623056784272194,
-0.04808993637561798,
0.026904266327619553,
-0.03742033988237381,
0.016704823821783066,
-0.02534988336265087,
0.00560825364664197,
0.02110891044139862,
0.025868009775877,
0.008630665950477123,
-0.0035237488336861134,
-0.06313483417034149,
0.07065728306770325,
-0.01130286231637001,
-0.03590433672070503,
0.002312385244295001,
0.02723049372434616,
0.0014008641010150313,
-0.014536363072693348,
-0.030876578763127327,
-0.02193407714366913,
0.05476802587509155,
0.007815094664692879,
0.05104518309235573,
-0.037765759974718094,
0.048934292048215866,
0.05142898112535477,
-0.000042015428334707394,
0.037880897521972656,
0.03893634304404259,
-0.020379694178700447,
0.008860944770276546,
0.021818937733769417,
-0.010947848670184612,
-0.009407857432961464,
-0.08029062300920486,
-0.011226102709770203,
-0.006577344611287117,
-0.008673842996358871,
-0.014670692384243011,
-0.002602632623165846,
-0.03805360943078995,
0.02517717331647873,
-0.0191707294434309,
-0.022720864042639732,
0.04348435625433922,
0.04486602917313576,
-0.02772943302989006,
-0.0026626011822372675,
-0.0360962375998497,
-0.045633625239133835,
0.026405328884720802,
-0.0017282920889556408,
-0.04927971214056015,
0.056571878492832184,
0.004013091791421175,
0.06140774115920067,
0.013289018534123898,
-0.0003394216764718294,
0.04110480472445488,
-0.023833878338336945,
-0.091651052236557,
0.027940521016716957,
0.007287371437996626,
-0.03715168312191963,
-0.017894599586725235,
-0.05242685601115227,
-0.030627110973000526,
-0.007335346192121506,
0.06536085903644562,
0.02878487855195999,
0.035635679960250854,
0.006562951952219009,
0.001057844259776175,
-0.039569612592458725,
-0.012895625084638596,
0.005334797315299511,
-0.05304093658924103,
0.048243455588817596,
0.05158250033855438,
0.04858887568116188,
0.05607294291257858,
0.003247893648222089,
0.009014463983476162,
-0.046938542276620865,
0.02235625497996807,
0.021454328671097755,
0.02548421174287796,
-0.04816669598221779,
-0.017789054661989212,
0.03745872154831886,
-0.03878282383084297,
0.0666273981332779,
0.06751013547182083,
0.01121650729328394,
0.04509630799293518,
-0.01045850571244955,
0.021204860880970955,
-0.017011862248182297,
0.006591736804693937,
-0.007541637867689133,
-0.0070954724214971066,
0.008021386340260506,
0.03342883661389351,
-0.0281132310628891,
0.0018254410242661834,
0.012214383110404015,
-0.06823935359716415,
0.03546296805143356,
-0.01483380701392889,
0.003391818143427372,
-0.043445974588394165,
-0.02492770366370678,
0.042563240975141525,
0.004454459995031357,
0.03661436587572098,
-0.04709206148982048,
-0.03218149393796921,
0.0726146548986435,
-0.08942501991987228,
0.019448982551693916,
0.09111373126506805,
-0.037017352879047394,
0.022030025720596313,
-0.010583240538835526,
0.013279424048960209,
-0.031087668612599373,
-0.014843402430415154,
0.04091290757060051,
-0.012415877543389797,
0.016263455152511597,
0.031452275812625885,
-0.017645129933953285,
-0.07687481492757797,
-0.0019741628784686327,
0.009326300583779812,
-0.08052089810371399,
-0.004648757632821798,
-0.04152698442339897,
-0.05139060318470001,
-0.0014080603141337633,
0.03291071206331253,
-0.04367625340819359,
-0.01729971170425415,
-0.0015711745945736766,
-0.022010836750268936,
-0.02778700180351734,
0.03611542657017708,
-0.012847650796175003,
0.025560971349477768,
-0.019391411915421486,
0.009748478420078754,
-0.01761634461581707,
0.0028113231528550386,
0.025023654103279114,
-0.024659045040607452,
-0.005253240000456572,
0.009820440784096718,
0.04041396826505661,
-0.02229868620634079,
-0.06443974375724792,
0.006582141853868961,
0.005723393056541681,
-0.0557275228202343,
-0.02803647145628929,
0.05108356475830078,
0.00999794714152813,
0.04651636257767677,
0.05208143964409828,
-0.02354603074491024,
0.10216712951660156,
0.09072993695735931,
0.06827773153781891,
-0.050507865846157074,
0.048934292048215866,
-0.010209036991000175,
0.04121994599699974,
-0.06052500382065773,
0.004389693960547447,
0.029264625161886215,
-0.032008785754442215,
0.020072655752301216,
0.05457612872123718,
-0.09103697538375854,
0.03193202614784241,
0.0019513748120516539,
-0.009532592259347439,
-0.0006005844916217029,
0.06513058394193649,
-0.030262501910328865,
0.005593861453235149,
0.04390653222799301,
-0.006241520866751671,
0.06417109072208405,
0.08528000116348267,
-0.00420019356533885,
-0.021473519504070282,
0.0562264621257782,
0.04298541694879532,
-0.06536085903644562,
-0.033946964889764786,
0.0273648239672184,
-0.013135499320924282,
0.0017594756791368127,
0.021339189261198044,
0.0020485238637775183,
-0.050507865846157074,
-0.0175491813570261,
-0.00044136811629869044,
0.014852996915578842,
-0.014613122679293156,
-0.010544859804213047,
-0.009590161964297295,
-0.006879585795104504,
-0.024198487401008606,
0.010026732459664345,
0.0006398638361133635,
-0.02379549853503704,
0.01904599368572235,
-0.034196436405181885,
0.0350983627140522,
-0.007594410330057144,
0.022874383255839348,
0.031202808022499084,
0.031893644481897354,
-0.03972313180565834,
-0.009854023344814777,
-0.011475571431219578,
-0.021339189261198044,
0.02105133980512619,
-0.07207733392715454,
0.0835912823677063,
0.018019333481788635,
-0.04878077283501625,
-0.012655750848352909,
0.00761839747428894,
-0.018652601167559624,
0.025503402575850487,
0.027767812833189964,
0.043829772621393204,
-0.005694608204066753,
-0.004228978417813778,
0.030377641320228577,
0.05304093658924103,
0.01710781268775463,
0.053424734622240067,
0.09433764219284058,
0.02235625497996807,
0.002984032267704606,
0.06486192345619202,
0.005617848597466946,
0.04359949380159378,
0.02055240236222744,
-0.0597190260887146,
0.040567487478256226,
-0.02193407714366913,
-0.0160523671656847,
0.04352273419499397,
-0.06893018633127213,
0.0008851349703036249,
0.01749161072075367,
0.03953123092651367,
-0.014411629177629948,
0.06451650708913803,
0.02135838009417057,
0.031893644481897354,
0.06336510926485062,
-0.041258323937654495,
0.03110685758292675,
0.00541635463014245,
0.003593312343582511,
-0.008745805360376835,
0.04467413201928139,
-0.08182581514120102,
0.03241177275776863,
-0.007330548949539661,
0.03991502895951271,
-0.032642051577568054,
0.045940663665533066,
0.017270926386117935,
-0.009513402357697487,
-0.06163801997900009,
-0.059987686574459076,
0.06033310294151306,
0.07192381471395493,
0.0682009682059288,
0.009570972062647343,
-0.02636694721877575,
0.005037353839725256,
-0.004893429111689329,
-0.009748478420078754,
-0.02024536393582821,
-0.005977659486234188,
-0.001162789179943502,
-0.04298541694879532,
-0.035443779081106186,
0.0006992326816543937,
-0.032757192850112915,
-0.04659312218427658,
-0.05238847807049751,
0.006476597394794226,
-0.001279727672226727,
-0.029782753437757492,
-0.044367093592882156,
0.01930505782365799,
0.021531088277697563,
0.04778289794921875,
0.018470296636223793,
-0.00008373101445613429,
0.04467413201928139,
0.007220206782221794,
0.0039603193290531635,
-0.040682628750801086,
-0.033582355827093124,
-0.005339595023542643,
-0.008937704376876354,
0.012358307838439941,
0.06528410315513611,
0.009978757239878178,
-0.023219801485538483,
0.0008653454133309424,
0.06866152584552765,
-0.018882879987359047,
-0.03406210616230965,
0.032891519367694855,
0.00560825364664197,
0.008131727576255798,
-0.003691660473123193,
0.0077767143957316875,
0.040759388357400894,
0.053309593349695206,
-0.0011028206208720803,
0.07188543677330017,
0.06079366058111191,
0.055996183305978775,
0.013922286219894886,
0.04022207111120224,
0.04240972176194191,
-0.05503668636083603,
-0.02755672298371792,
-0.012473447248339653,
-0.06113908067345619,
-0.03398534655570984,
-0.026750747114419937,
-0.0005807948764413595,
-0.010324176400899887,
0.014497983269393444,
0.03517512232065201,
0.018643006682395935,
0.02730725333094597,
-0.052503615617752075,
0.02598314918577671,
0.06881504505872726,
-0.023315751925110817,
0.01910356432199478,
0.023219801485538483,
-0.010141871869564056,
0.033390458673238754,
-0.026155859231948853,
0.07553151994943619,
-0.024467146024107933,
-0.05453774705529213,
0.029456524178385735,
0.07146325707435608,
0.025445831939578056,
0.0008977283723652363,
0.018259206786751747,
-0.02435200661420822,
0.010257011279463768,
0.00027225696248933673,
0.018403131514787674,
0.03005141206085682,
0.03241177275776863,
0.01811528392136097
] |
719,400
|
ibm_platform_services.catalog_management_v1
|
replace_object
|
Update catalog object.
Update an object within a specific catalog.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param str id: (optional) unique id.
:param str name: (optional) The programmatic name of this offering.
:param str rev: (optional) Cloudant revision.
:param str crn: (optional) The crn for this specific object.
:param str url: (optional) The url for this specific object.
:param str parent_id: (optional) The parent for this specific object.
:param str label_i18n: (optional) Translated display name in the requested
language.
:param str label: (optional) Display name in the requested language.
:param List[str] tags: (optional) List of tags associated with this
catalog.
:param datetime created: (optional) The date and time this catalog was
created.
:param datetime updated: (optional) The date and time this catalog was last
updated.
:param str short_description: (optional) Short description in the requested
language.
:param str short_description_i18n: (optional) Short description
translation.
:param str kind: (optional) Kind of object.
:param PublishObject publish: (optional) Publish information.
:param State state: (optional) Offering state.
:param str catalog_id: (optional) The id of the catalog containing this
offering.
:param str catalog_name: (optional) The name of the catalog.
:param dict data: (optional) Map of data values for this object.
: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 representing a `CatalogObject` object
|
def replace_object(
self,
catalog_identifier: str,
object_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: datetime = None,
short_description: str = None,
short_description_i18n: str = None,
kind: str = None,
publish: 'PublishObject' = None,
state: 'State' = None,
catalog_id: str = None,
catalog_name: str = None,
data: dict = None,
**kwargs
) -> DetailedResponse:
"""
Update catalog object.
Update an object within a specific catalog.
:param str catalog_identifier: Catalog identifier.
:param str object_identifier: Object identifier.
:param str id: (optional) unique id.
:param str name: (optional) The programmatic name of this offering.
:param str rev: (optional) Cloudant revision.
:param str crn: (optional) The crn for this specific object.
:param str url: (optional) The url for this specific object.
:param str parent_id: (optional) The parent for this specific object.
:param str label_i18n: (optional) Translated display name in the requested
language.
:param str label: (optional) Display name in the requested language.
:param List[str] tags: (optional) List of tags associated with this
catalog.
:param datetime created: (optional) The date and time this catalog was
created.
:param datetime updated: (optional) The date and time this catalog was last
updated.
:param str short_description: (optional) Short description in the requested
language.
:param str short_description_i18n: (optional) Short description
translation.
:param str kind: (optional) Kind of object.
:param PublishObject publish: (optional) Publish information.
:param State state: (optional) Offering state.
:param str catalog_id: (optional) The id of the catalog containing this
offering.
:param str catalog_name: (optional) The name of the catalog.
:param dict data: (optional) Map of data values for this object.
: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 representing a `CatalogObject` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if object_identifier is None:
raise ValueError('object_identifier must be provided')
if created is not None:
created = datetime_to_string(created)
if updated is not None:
updated = datetime_to_string(updated)
if publish is not None:
publish = convert_model(publish)
if state is not None:
state = convert_model(state)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_object'
)
headers.update(sdk_headers)
data = {
'id': id,
'name': name,
'_rev': rev,
'crn': crn,
'url': url,
'parent_id': parent_id,
'label_i18n': label_i18n,
'label': label,
'tags': tags,
'created': created,
'updated': updated,
'short_description': short_description,
'short_description_i18n': short_description_i18n,
'kind': kind,
'publish': publish,
'state': state,
'catalog_id': catalog_id,
'catalog_name': catalog_name,
'data': data,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier', 'object_identifier']
path_param_values = self.encode_path_vars(catalog_identifier, object_identifier)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/objects/{object_identifier}'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, object_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[datetime.datetime] = None, updated: Optional[datetime.datetime] = None, short_description: Optional[str] = None, short_description_i18n: Optional[str] = None, kind: Optional[str] = None, publish: Optional[ibm_platform_services.catalog_management_v1.PublishObject] = None, state: Optional[ibm_platform_services.catalog_management_v1.State] = None, catalog_id: Optional[str] = None, catalog_name: Optional[str] = None, data: Optional[dict] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.014732340350747108,
-0.04379620775580406,
-0.09165920317173004,
-0.04129356890916824,
0.029581991955637932,
-0.04473469778895378,
-0.001641135779209435,
0.05423691123723984,
0.015318896621465683,
-0.03636649250984192,
-0.043913520872592926,
-0.00791851058602333,
-0.007463929709047079,
0.019366135820746422,
-0.03513472527265549,
0.009991009719669819,
-0.07515741884708405,
0.025456545874476433,
-0.0020272855181246996,
-0.05885115638375282,
0.022113174200057983,
-0.012493650428950787,
0.017606467008590698,
-0.00045916365343146026,
0.03183045983314514,
-0.01680484041571617,
0.07003483176231384,
0.04070701077580452,
-0.040980737656354904,
0.0515778549015522,
0.025671616196632385,
-0.03648380562663078,
0.022406453266739845,
0.052477240562438965,
0.005958435125648975,
-0.014048025012016296,
0.019512774422764778,
0.0033458152320235968,
-0.0017462271498516202,
0.003120968583971262,
-0.02019708976149559,
0.022328244522213936,
-0.02950378507375717,
-0.03435264900326729,
0.018466750159859657,
0.07253746688365936,
-0.050678469240665436,
0.04606422409415245,
0.0024977524299174547,
0.04473469778895378,
0.004885525442659855,
-0.04966177046298981,
-0.04039417952299118,
-0.006290816701948643,
-0.00675517413765192,
-0.006276153028011322,
-0.010059441439807415,
0.07159897685050964,
-0.008539282716810703,
-0.007361282128840685,
0.019473671913146973,
0.0004166994185652584,
-0.05322021245956421,
-0.010108320973813534,
-0.03793064504861832,
-0.012405666522681713,
0.013461468741297722,
0.009076959453523159,
-0.00883256085216999,
-0.009604860097169876,
-0.009409341961145401,
-0.006153953727334738,
0.014077352359890938,
-0.02696203999221325,
0.004174326080828905,
-0.014654132537543774,
0.04383531212806702,
-0.01332460530102253,
-0.00260284380055964,
-0.0395534485578537,
0.005283895414322615,
-0.08540260791778564,
0.004814649932086468,
-0.019796276465058327,
-0.03509562090039253,
0.005425646435469389,
0.019610533490777016,
-0.02346225455403328,
-0.019346583634614944,
-0.010401599109172821,
0.01666797697544098,
-0.010030114091932774,
-0.008602826856076717,
0.013881834223866463,
-0.027392182499170303,
-0.011476952582597733,
0.015201585367321968,
-0.08907835930585861,
0.07945883274078369,
-0.0051665836945176125,
0.02135065197944641,
-0.05267276242375374,
-0.03536934778094292,
-0.0002042254782281816,
0.02189810387790203,
-0.015182034112513065,
0.006872485391795635,
0.051147714257240295,
0.018114816397428513,
0.0021042709704488516,
-0.015260240994393826,
-0.03961210697889328,
-0.05740431696176529,
-0.03707036003470421,
-0.06370002031326294,
-0.045086633414030075,
-0.005220351740717888,
-0.000842563749756664,
-0.04946625232696533,
-0.05220351740717888,
-0.01855473220348358,
-0.040198661386966705,
-0.0330817773938179,
-0.0018647604156285524,
0.026121309027075768,
0.001950299832969904,
0.014839875511825085,
0.040667906403541565,
-0.02928871475160122,
-0.03267119079828262,
-0.025769375264644623,
-0.025593409314751625,
-0.029386473819613457,
0.040550597012043,
0.01719587668776512,
0.002407324966043234,
-0.02011888287961483,
-0.03091152012348175,
-0.04977908357977867,
0.004528704099357128,
0.027450837194919586,
-0.0148692037910223,
0.01871114782989025,
0.007977166213095188,
-0.03044227510690689,
-0.04528215155005455,
-0.020549023523926735,
-0.06471671909093857,
-0.0641692653298378,
0.006999572739005089,
-0.026434140279889107,
-0.032045528292655945,
0.03881048038601875,
0.03540845215320587,
-0.061862144619226456,
-0.04418724402785301,
0.0022777938283979893,
-0.0515778549015522,
-0.008001605980098248,
0.014370630495250225,
0.034685034304857254,
-0.01059711817651987,
0.012923792004585266,
-0.0005694484570994973,
-0.015827246010303497,
-0.05877294763922691,
-0.0076936641708016396,
-0.01713722199201584,
-0.035447556525468826,
-0.009991009719669819,
-0.032984018325805664,
0.02004067599773407,
-0.07414072006940842,
0.01596410945057869,
-0.03929927572607994,
0.061549313366413116,
0.0212724432349205,
-0.03294491395354271,
0.00476821418851614,
0.003604877507314086,
-0.029581991955637932,
-0.02322763204574585,
0.010460254736244678,
0.05458884313702583,
-0.011819110251963139,
-0.0032529437448829412,
0.017391396686434746,
0.035682179033756256,
0.06323077529668808,
0.02142885886132717,
0.033824749290943146,
0.020451264455914497,
-0.019405240193009377,
0.001314863795414567,
-0.003441130742430687,
-0.014624805189669132,
0.01045047864317894,
-0.0328667089343071,
-0.026316829025745392,
0.04442186653614044,
0.009560869075357914,
-0.012992223724722862,
0.04868417605757713,
-0.002381663303822279,
0.05607478693127632,
0.02228914201259613,
0.018926218152046204,
-0.026707865297794342,
-0.04575139656662941,
-0.013637435622513294,
0.019434567540884018,
0.08125760406255722,
0.008221564814448357,
-0.02649279497563839,
0.0170394629240036,
0.03579948842525482,
0.020021123811602592,
-0.027372630313038826,
0.002021175343543291,
-0.038106612861156464,
-0.0017511150799691677,
-0.012219924479722977,
-0.005107928067445755,
-0.010225632227957249,
-0.055488232523202896,
-0.004829314071685076,
0.06585072726011276,
0.022641075775027275,
0.04841045290231705,
-0.055253610014915466,
-0.06800143420696259,
-0.016188954934477806,
-0.006628086790442467,
0.03679663687944412,
0.01222969964146614,
-0.04266219958662987,
0.014126231893897057,
0.01640402525663376,
-0.04536035656929016,
0.00269815931096673,
0.01614985242486,
-0.02174168825149536,
-0.03536934778094292,
0.041606396436691284,
-0.07945883274078369,
-0.016394250094890594,
-0.05310290306806564,
0.01977672427892685,
-0.03257342800498009,
-0.0633871927857399,
0.04094163328409195,
-0.04164550080895424,
0.0029205619357526302,
-0.005782468244433403,
0.03814571350812912,
-0.04363979399204254,
-0.01852540485560894,
-0.03052048198878765,
0.014399958774447441,
-0.035310693085193634,
-0.04199743643403053,
-0.03216284140944481,
-0.07543114572763443,
0.05212530866265297,
-0.01727408543229103,
-0.018593836575746536,
-0.006109962239861488,
0.00018497910059522837,
-0.015709934756159782,
0.02445939928293228,
0.12403711676597595,
0.010949051938951015,
-0.014761668629944324,
0.0626051127910614,
0.007561689242720604,
0.03179135546088219,
-0.023208079859614372,
-0.008265556767582893,
-0.027235766872763634,
0.001385739422403276,
0.013168190605938435,
-0.030794208869338036,
0.016003211960196495,
-0.01616940274834633,
0.05509719252586365,
-0.04872328042984009,
-0.02406836301088333,
0.05087398737668991,
-0.05912487953901291,
-0.013109534978866577,
-0.0010985712287947536,
0.030735552310943604,
-0.02571072056889534,
0.02921050600707531,
-0.07629142701625824,
0.05677865445613861,
-0.133187398314476,
0.01616940274834633,
0.019434567540884018,
-0.007825639098882675,
-0.0032065080013126135,
0.03505651652812958,
0.034606825560331345,
-0.045243047177791595,
0.02463536709547043,
-0.044148143380880356,
0.06655459105968475,
-0.007737656123936176,
0.015172258019447327,
0.0665154904127121,
0.007498145569115877,
0.03527158871293068,
-0.01312908623367548,
0.00588511535897851,
-0.011750679463148117,
-0.050052810460329056,
0.010577565990388393,
-0.03536934778094292,
0.011584487743675709,
0.013197517953813076,
0.010704653337597847,
-0.057287003844976425,
-0.04094163328409195,
-0.01472256425768137,
0.06952647864818573,
-0.07202912122011185,
-0.010733981616795063,
0.045946914702653885,
0.054119598120450974,
-0.02788097970187664,
-0.03597545623779297,
0.006848045624792576,
-0.0002078914549201727,
0.02252376452088356,
0.030422722920775414,
-0.053884975612163544,
-0.04023776575922966,
-0.08688855171203613,
0.01565127819776535,
0.032280150800943375,
0.010294063948094845,
0.008827673271298409,
-0.041841018944978714,
0.004895301535725594,
-0.06862709671258926,
0.024107465520501137,
0.07159897685050964,
-0.06913544237613678,
0.01374497078359127,
-0.028232913464307785,
-0.07816840708255768,
-0.02842843160033226,
0.02322763204574585,
-0.010753532871603966,
0.02967975102365017,
-0.010675325989723206,
0.018818683922290802,
-0.013148638419806957,
-0.05306379869580269,
-0.06534238159656525,
-0.0539240799844265,
-0.009541316889226437,
0.008769017644226551,
0.003971475176513195,
0.004655790980905294,
-0.0005001003737561405,
-0.037402745336294174,
0.019033754244446754,
-0.01975717395544052,
-0.05779535323381424,
-0.02711845561861992,
-0.006618310697376728,
-0.042075641453266144,
-0.028956331312656403,
0.01643335446715355,
0.005586949177086353,
-0.019512774422764778,
-0.010235408321022987,
-0.04363979399204254,
0.02936692163348198,
0.04684630036354065,
-0.0026052878238260746,
-0.02633638121187687,
-0.040589701384305954,
0.0016228059539571404,
-0.017674898728728294,
0.010382047854363918,
0.0492316298186779,
-0.01841786876320839,
-0.031341660767793655,
0.02129199542105198,
-0.01952255144715309,
0.03937748447060585,
-0.004423612728714943,
0.04876238480210304,
-0.03636649250984192,
0.033511918038129807,
-0.03190866485238075,
-0.019053306430578232,
-0.03775467723608017,
0.008182461373507977,
0.02244555577635765,
0.008949872106313705,
0.008783681318163872,
0.0017804428935050964,
-0.08767062425613403,
0.1094123125076294,
0.03605366498231888,
-0.006931141018867493,
0.010479806922376156,
0.020842302590608597,
-0.019825605675578117,
-0.01910218596458435,
-0.036698877811431885,
-0.016130300238728523,
0.03838033601641655,
0.027685459703207016,
0.05466705188155174,
-0.02641458809375763,
0.03536934778094292,
0.020705439150333405,
0.0257889274507761,
0.019297704100608826,
0.005802019964903593,
-0.03951434791088104,
-0.020294850692152977,
0.04258399084210396,
-0.02748994156718254,
0.016081420704722404,
-0.039123307913541794,
-0.003372699022293091,
-0.04297503083944321,
-0.03505651652812958,
0.0020590571220964193,
0.03038361854851246,
-0.03294491395354271,
0.04684630036354065,
-0.013754746876657009,
-0.018202798441052437,
0.06272242963314056,
0.06123648211359978,
-0.04778479039669037,
0.007405274081975222,
-0.02236734889447689,
-0.04250578582286835,
0.041137151420116425,
0.01196574978530407,
-0.052790071815252304,
0.05024832859635353,
0.04164550080895424,
0.10018382221460342,
-0.009780826978385448,
0.01954210177063942,
0.008299772627651691,
-0.07527473568916321,
-0.0818832665681839,
0.02866305410861969,
0.0159347802400589,
-0.030246756970882416,
-0.04320965334773064,
-0.07202912122011185,
-0.025828031823039055,
0.009218710474669933,
0.05474526062607765,
0.021018270403146744,
0.07026945054531097,
-0.030403170734643936,
-0.0032773837447166443,
-0.046103328466415405,
-0.04450007528066635,
-0.006603647023439407,
-0.06151020899415016,
0.0030916407704353333,
0.029093194752931595,
0.04117625579237938,
0.038947343826293945,
-0.002246021991595626,
0.006442343816161156,
-0.02111602947115898,
0.004144998267292976,
0.029699303209781647,
-0.046807195991277695,
0.036542460322380066,
-0.022699730470776558,
0.025515202432870865,
-0.016267163679003716,
0.07824661582708359,
0.06725846230983734,
0.013314829207956791,
0.002879014005884528,
0.01651156134903431,
0.016726631671190262,
-0.04895790293812752,
0.012288355268537998,
-0.017987728118896484,
0.009208934381604195,
-0.01729363575577736,
0.02719666250050068,
-0.03472413495182991,
-0.04141087830066681,
0.005494077689945698,
-0.044773802161216736,
0.022797489538788795,
-0.023168975487351418,
-0.006652526557445526,
-0.02967975102365017,
0.002942557679489255,
0.023794636130332947,
0.01933680847287178,
0.01440973486751318,
-0.04817583039402962,
0.028056945651769638,
0.07273298501968384,
-0.028174256905913353,
-0.0012103834887966514,
0.0905643031001091,
-0.021018270403146744,
0.06847067922353745,
-0.025143716484308243,
-0.023051664233207703,
-0.004342961125075817,
-0.025143716484308243,
0.04285771772265434,
-0.046885404735803604,
0.031576283276081085,
-0.019454119727015495,
-0.020392609760165215,
-0.03302312269806862,
0.019982019439339638,
0.01351034827530384,
-0.07367147505283356,
-0.012034181505441666,
-0.04356158524751663,
-0.02743128500878811,
0.01964963786303997,
0.03707036003470421,
-0.030891967937350273,
-0.016394250094890594,
0.02011888287961483,
-0.007605680730193853,
0.0010063108056783676,
0.03005123697221279,
-0.024654919281601906,
0.0261799655854702,
-0.03714856877923012,
0.00043411279330030084,
-0.002425655024126172,
0.013158414512872696,
0.016843942925333977,
-0.03255387768149376,
0.03357057645916939,
-0.022738834843039513,
0.05638761818408966,
0.025124164298176765,
-0.05857742950320244,
0.0012769820168614388,
0.006950692739337683,
-0.04528215155005455,
-0.019297704100608826,
0.00902807991951704,
0.0168243907392025,
0.05537091940641403,
0.07253746688365936,
0.0005737254396080971,
0.09478750824928284,
0.08149223029613495,
0.0193856880068779,
-0.02354046143591404,
0.04684630036354065,
0.03511517494916916,
0.0433269627392292,
-0.032280150800943375,
-0.00046649560681544244,
0.004856197629123926,
0.022465107962489128,
0.005704260431230068,
0.006065970286726952,
-0.04015955701470375,
0.025221923366189003,
-0.037402745336294174,
0.037246327847242355,
0.0012574301799759269,
0.056700449436903,
-0.052868280559778214,
-0.012180820107460022,
0.00791851058602333,
-0.012327459640800953,
0.07109063118696213,
0.09142458438873291,
-0.035779938101768494,
-0.040824323892593384,
0.05924219265580177,
0.012376339174807072,
-0.031126590445637703,
-0.02471357397735119,
0.0874359980225563,
0.0008767795516178012,
-0.03339460864663124,
0.027294421568512917,
-0.027998290956020355,
-0.025261027738451958,
0.013490796089172363,
0.0007099775830283761,
0.02678607404232025,
-0.023892395198345184,
0.003494898322969675,
-0.031107038259506226,
0.0015323784900829196,
-0.002575960010290146,
0.0020358392503112555,
0.03490010276436806,
-0.018349438905715942,
0.009844371117651463,
0.002852130215615034,
-0.016100972890853882,
-0.014497717842459679,
-0.003289603628218174,
0.05337662994861603,
0.006036642473191023,
-0.04215385019779205,
-0.010890396311879158,
0.001873314380645752,
-0.009859034791588783,
0.02430298551917076,
-0.057990871369838715,
0.0705040767788887,
0.028604397550225258,
-0.07101242244243622,
-0.005938882939517498,
-0.015944557264447212,
0.005171471741050482,
0.0198842603713274,
0.023266736418008804,
0.046885404735803604,
0.007419937755912542,
0.0297384075820446,
0.017831312492489815,
0.02772456407546997,
-0.013138862326741219,
0.04203654080629349,
0.09502212703227997,
0.023012561723589897,
-0.008294884115457535,
0.04203654080629349,
-0.021155131980776787,
0.0417628139257431,
0.04708092287182808,
-0.05408049747347832,
0.03417668491601944,
0.0265710037201643,
-0.01583702117204666,
0.04860597103834152,
-0.03302312269806862,
-0.005239903461188078,
0.057365212589502335,
0.06413016468286514,
-0.0033018235117197037,
0.006417904049158096,
0.03136121481657028,
0.033981166779994965,
0.04293592646718025,
-0.0539240799844265,
0.0189946498721838,
-0.01080241333693266,
0.03652290999889374,
0.02035350538790226,
0.03435264900326729,
-0.07054317742586136,
0.03431354835629463,
0.036229632794857025,
0.016922151669859886,
-0.022562867030501366,
0.07003483176231384,
0.059163983911275864,
-0.013148638419806957,
-0.05709148570895195,
-0.016003211960196495,
0.029464680701494217,
0.05165606364607811,
0.031419869512319565,
-0.0021470405627042055,
-0.052633658051490784,
-0.014595476910471916,
0.032201945781707764,
0.010890396311879158,
-0.040120456367731094,
0.018085487186908722,
-0.022152278572320938,
-0.019972244277596474,
-0.024107465520501137,
0.008167797699570656,
-0.057756248861551285,
-0.05337662994861603,
-0.04520394280552864,
-0.038243476301431656,
-0.011750679463148117,
-0.030403170734643936,
-0.0001461808424210176,
0.0194932222366333,
0.015445983968675137,
0.06006336957216263,
0.031165694817900658,
0.01991358771920204,
0.014067576266825199,
0.0026248397771269083,
0.028604397550225258,
-0.03497831150889397,
-0.03337505832314491,
0.020470816642045975,
-0.025593409314751625,
-0.005445198155939579,
0.06518596410751343,
0.04762837663292885,
-0.03916241228580475,
0.025515202432870865,
0.0559183731675148,
-0.0053669908083975315,
0.0024562047328799963,
0.010821964591741562,
-0.013529899530112743,
-0.0022716838866472244,
-0.0299143735319376,
0.046181537210941315,
0.03347281739115715,
0.0936926007270813,
-0.017186101526021957,
0.030637793242931366,
0.03474368900060654,
0.03832168132066727,
0.033648781478405,
0.044382765889167786,
0.052164413034915924,
-0.056348513811826706,
-0.06389553844928741,
0.038106612861156464,
-0.06663279980421066,
0.013109534978866577,
-0.03634694218635559,
-0.00974661111831665,
0.027861427515745163,
0.018906665965914726,
0.009673291817307472,
0.01149650476872921,
0.0002877791994251311,
-0.02725531905889511,
0.0004512206942308694,
0.07331954687833786,
0.004318521358072758,
0.03237790986895561,
0.046416159719228745,
0.039123307913541794,
0.0030061013530939817,
-0.010968604125082493,
0.041449982672929764,
0.010460254736244678,
-0.033062227070331573,
0.005357214715331793,
0.08774883300065994,
0.06018068268895149,
0.005547845736145973,
-0.009736835956573486,
-0.038165267556905746,
0.026610106229782104,
0.006500999443233013,
0.013872058130800724,
0.07316312938928604,
0.005562509410083294,
-0.00854417122900486
] |
719,401
|
ibm_platform_services.catalog_management_v1
|
replace_offering
|
Update offering.
Update an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
: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) The crn for this specific offering.
:param str label: (optional) Display Name in the requested language.
:param str name: (optional) The programmatic name of this offering.
:param str offering_icon_url: (optional) URL for an icon associated with
this offering.
:param str offering_docs_url: (optional) URL for an additional docs with
this offering.
:param str offering_support_url: (optional) [deprecated] - Use
offering.support instead. URL to be displayed in the Consumption UI for
getting support on this offering.
:param List[str] tags: (optional) List of tags associated with this
catalog.
:param List[str] keywords: (optional) List of keywords associated with
offering, typically used to search for it.
:param Rating rating: (optional) Repository info for offerings.
:param datetime created: (optional) The date and time this catalog was
created.
:param datetime updated: (optional) The date and time this catalog was last
updated.
:param str short_description: (optional) Short description in the requested
language.
:param str long_description: (optional) Long description in the requested
language.
:param List[Feature] features: (optional) list of features associated with
this offering.
:param List[Kind] kinds: (optional) Array of kind.
:param bool permit_request_ibm_public_publish: (optional) Is it permitted
to request publishing to IBM or Public.
:param bool ibm_publish_approved: (optional) Indicates if this offering has
been approved for use by all IBMers.
:param bool public_publish_approved: (optional) Indicates if this offering
has been approved for use by all IBM Cloud users.
:param str public_original_crn: (optional) The original offering CRN that
this publish entry came from.
:param str publish_public_crn: (optional) The crn of the public catalog
entry of this offering.
:param str portal_approval_record: (optional) The portal's approval record
ID.
:param str portal_ui_url: (optional) The portal UI URL.
:param str catalog_id: (optional) The id of the catalog containing this
offering.
:param str catalog_name: (optional) The name of the catalog.
:param dict metadata: (optional) Map of metadata values for this offering.
:param str disclaimer: (optional) A disclaimer for this offering.
:param bool hidden: (optional) Determine if this offering should be
displayed in the Consumption UI.
:param str provider: (optional) Deprecated - Provider of this offering.
:param ProviderInfo provider_info: (optional) Information on the provider
for this offering, or omitted if no provider information is given.
:param RepoInfo repo_info: (optional) Repository info for offerings.
:param Support support: (optional) Offering Support information.
:param List[MediaItem] media: (optional) A list of media items related to
this offering.
: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 representing a `Offering` object
|
def replace_offering(
self,
catalog_identifier: str,
offering_id: 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[str] = None,
keywords: List[str] = None,
rating: 'Rating' = None,
created: datetime = None,
updated: datetime = None,
short_description: str = None,
long_description: str = None,
features: List['Feature'] = None,
kinds: List['Kind'] = None,
permit_request_ibm_public_publish: bool = None,
ibm_publish_approved: bool = None,
public_publish_approved: bool = None,
public_original_crn: str = None,
publish_public_crn: str = None,
portal_approval_record: str = None,
portal_ui_url: str = None,
catalog_id: str = None,
catalog_name: str = None,
metadata: dict = None,
disclaimer: str = None,
hidden: bool = None,
provider: str = None,
provider_info: 'ProviderInfo' = None,
repo_info: 'RepoInfo' = None,
support: 'Support' = None,
media: List['MediaItem'] = None,
**kwargs
) -> DetailedResponse:
"""
Update offering.
Update an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
: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) The crn for this specific offering.
:param str label: (optional) Display Name in the requested language.
:param str name: (optional) The programmatic name of this offering.
:param str offering_icon_url: (optional) URL for an icon associated with
this offering.
:param str offering_docs_url: (optional) URL for an additional docs with
this offering.
:param str offering_support_url: (optional) [deprecated] - Use
offering.support instead. URL to be displayed in the Consumption UI for
getting support on this offering.
:param List[str] tags: (optional) List of tags associated with this
catalog.
:param List[str] keywords: (optional) List of keywords associated with
offering, typically used to search for it.
:param Rating rating: (optional) Repository info for offerings.
:param datetime created: (optional) The date and time this catalog was
created.
:param datetime updated: (optional) The date and time this catalog was last
updated.
:param str short_description: (optional) Short description in the requested
language.
:param str long_description: (optional) Long description in the requested
language.
:param List[Feature] features: (optional) list of features associated with
this offering.
:param List[Kind] kinds: (optional) Array of kind.
:param bool permit_request_ibm_public_publish: (optional) Is it permitted
to request publishing to IBM or Public.
:param bool ibm_publish_approved: (optional) Indicates if this offering has
been approved for use by all IBMers.
:param bool public_publish_approved: (optional) Indicates if this offering
has been approved for use by all IBM Cloud users.
:param str public_original_crn: (optional) The original offering CRN that
this publish entry came from.
:param str publish_public_crn: (optional) The crn of the public catalog
entry of this offering.
:param str portal_approval_record: (optional) The portal's approval record
ID.
:param str portal_ui_url: (optional) The portal UI URL.
:param str catalog_id: (optional) The id of the catalog containing this
offering.
:param str catalog_name: (optional) The name of the catalog.
:param dict metadata: (optional) Map of metadata values for this offering.
:param str disclaimer: (optional) A disclaimer for this offering.
:param bool hidden: (optional) Determine if this offering should be
displayed in the Consumption UI.
:param str provider: (optional) Deprecated - Provider of this offering.
:param ProviderInfo provider_info: (optional) Information on the provider
for this offering, or omitted if no provider information is given.
:param RepoInfo repo_info: (optional) Repository info for offerings.
:param Support support: (optional) Offering Support information.
:param List[MediaItem] media: (optional) A list of media items related to
this offering.
: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 representing a `Offering` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if offering_id is None:
raise ValueError('offering_id must be provided')
if rating is not None:
rating = convert_model(rating)
if created is not None:
created = datetime_to_string(created)
if updated is not None:
updated = datetime_to_string(updated)
if features is not None:
features = [convert_model(x) for x in features]
if kinds is not None:
kinds = [convert_model(x) for x in kinds]
if provider_info is not None:
provider_info = convert_model(provider_info)
if repo_info is not None:
repo_info = convert_model(repo_info)
if support is not None:
support = convert_model(support)
if media is not None:
media = [convert_model(x) for x in media]
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_offering'
)
headers.update(sdk_headers)
data = {
'id': id,
'_rev': rev,
'url': url,
'crn': crn,
'label': label,
'name': name,
'offering_icon_url': offering_icon_url,
'offering_docs_url': offering_docs_url,
'offering_support_url': offering_support_url,
'tags': tags,
'keywords': keywords,
'rating': rating,
'created': created,
'updated': updated,
'short_description': short_description,
'long_description': long_description,
'features': features,
'kinds': kinds,
'permit_request_ibm_public_publish': permit_request_ibm_public_publish,
'ibm_publish_approved': ibm_publish_approved,
'public_publish_approved': public_publish_approved,
'public_original_crn': public_original_crn,
'publish_public_crn': publish_public_crn,
'portal_approval_record': portal_approval_record,
'portal_ui_url': portal_ui_url,
'catalog_id': catalog_id,
'catalog_name': catalog_name,
'metadata': metadata,
'disclaimer': disclaimer,
'hidden': hidden,
'provider': provider,
'provider_info': provider_info,
'repo_info': repo_info,
'support': support,
'media': media,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier', 'offering_id']
path_param_values = self.encode_path_vars(catalog_identifier, offering_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/offerings/{offering_id}'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, offering_id: 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] = None, tags: Optional[List[str]] = None, keywords: Optional[List[str]] = None, rating: Optional[ibm_platform_services.catalog_management_v1.Rating] = None, created: Optional[datetime.datetime] = None, updated: Optional[datetime.datetime] = None, short_description: Optional[str] = None, long_description: Optional[str] = None, features: Optional[List[ibm_platform_services.catalog_management_v1.Feature]] = None, kinds: Optional[List[ibm_platform_services.catalog_management_v1.Kind]] = None, permit_request_ibm_public_publish: Optional[bool] = None, ibm_publish_approved: Optional[bool] = None, public_publish_approved: Optional[bool] = None, public_original_crn: Optional[str] = None, publish_public_crn: Optional[str] = None, portal_approval_record: Optional[str] = None, portal_ui_url: Optional[str] = None, catalog_id: Optional[str] = None, catalog_name: Optional[str] = None, metadata: Optional[dict] = None, disclaimer: Optional[str] = None, hidden: Optional[bool] = None, provider: Optional[str] = None, provider_info: Optional[ibm_platform_services.catalog_management_v1.ProviderInfo] = None, repo_info: Optional[ibm_platform_services.catalog_management_v1.RepoInfo] = None, support: Optional[ibm_platform_services.catalog_management_v1.Support] = None, media: Optional[List[ibm_platform_services.catalog_management_v1.MediaItem]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0066302926279604435,
-0.0841279849410057,
-0.06425677984952927,
-0.008971553295850754,
-0.008007504977285862,
-0.03936859220266342,
0.020658181980252266,
-0.002215835964307189,
-0.020972972735762596,
0.010525835677981377,
-0.05020921677350998,
-0.009970031678676605,
-0.011066882871091366,
0.06524050235748291,
-0.01604452170431614,
-0.007791085634380579,
-0.021366462111473083,
-0.025301354005932808,
0.0325809046626091,
-0.06165975332260132,
0.01387049350887537,
-0.01792343147099018,
0.005159626714885235,
0.017657825723290443,
0.03169555217027664,
0.04851721599698067,
0.074015311896801,
0.02238953299820423,
-0.0541047602891922,
0.0133983064442873,
0.0525701530277729,
-0.05083880200982094,
0.002936412813141942,
0.03999817371368408,
0.01622159034013748,
0.006743420846760273,
-0.004286572802811861,
-0.016251102089881897,
-0.011283301748335361,
0.012876933440566063,
-0.04737609624862671,
-0.018444804474711418,
0.02888210490345955,
-0.054065410047769547,
-0.044070787727832794,
0.0903451144695282,
-0.04694325849413872,
0.06370589882135391,
0.013614725321531296,
0.03627970069646835,
-0.03529597818851471,
-0.004933370277285576,
-0.019595760852098465,
0.03014126978814602,
-0.011725977063179016,
0.013004817068576813,
-0.021563205868005753,
0.0956178680062294,
0.03753886744379997,
0.00179283507168293,
-0.019212108105421066,
-0.0323251336812973,
-0.02957071177661419,
-0.020304040983319283,
-0.018543176352977753,
-0.004608741961419582,
-0.01968429610133171,
-0.014873890206217766,
-0.02842959202826023,
0.03773561120033264,
0.05780356004834175,
-0.010299579240381718,
-0.02490786463022232,
0.007535317447036505,
0.025458749383687973,
-0.027839358896017075,
0.02252725511789322,
0.009197809733450413,
-0.004672683775424957,
-0.05355387553572655,
0.0730709359049797,
-0.06555529683828354,
0.016890522092580795,
-0.053199734538793564,
0.008332133293151855,
0.012434258125722408,
0.027819683775305748,
-0.006610617972910404,
-0.042496830224990845,
-0.02270432561635971,
0.029236245900392532,
0.007628771476447582,
-0.0004866354283876717,
-0.0010630355682224035,
-0.0005044654244557023,
-0.025439074262976646,
-0.02238953299820423,
-0.08963683247566223,
0.0218189749866724,
0.005666243843734264,
-0.03313178941607475,
-0.006890979129821062,
-0.03988012671470642,
-0.00893712230026722,
0.04615627974271774,
-0.05056335777044296,
-0.027760660275816917,
0.04289031773805618,
-0.00883383210748434,
-0.011676791124045849,
0.007156584411859512,
-0.04226073622703552,
-0.07377921789884567,
-0.07000172138214111,
-0.02447502687573433,
0.016142893582582474,
-0.025439074262976646,
-0.020048273727297783,
0.014332843013107777,
-0.015306728892028332,
-0.02541940100491047,
-0.042693573981523514,
-0.04536930099129677,
-0.005518685560673475,
0.01886780560016632,
-0.03138076141476631,
-0.021150043234229088,
0.04285097122192383,
0.0017571750795468688,
-0.0349615141749382,
-0.03328918293118477,
0.022094417363405228,
-0.023058464750647545,
0.028036102652549744,
0.012040768750011921,
-0.028508290648460388,
-0.012296536937355995,
0.02416023425757885,
-0.03921119496226311,
0.035827189683914185,
-0.010968510992825031,
-0.010083160363137722,
-0.005228487309068441,
-0.005469499621540308,
-0.007884539663791656,
-0.04997312277555466,
0.0026732669211924076,
-0.058984026312828064,
-0.044503625482320786,
-0.0064384667202830315,
-0.009360123425722122,
-0.017716849222779274,
0.060676030814647675,
0.0004801797622349113,
0.010801278054714203,
-0.043126411736011505,
-0.00890269223600626,
-0.025616144761443138,
-0.015946147963404655,
-0.00284787779673934,
0.044306881725788116,
-0.05390801653265953,
0.06689316034317017,
0.03183327242732048,
-0.028960803523659706,
-0.01760864071547985,
-0.053317781537771225,
0.0010476649040356278,
0.023766744881868362,
0.0010347535135224462,
0.015109984204173088,
0.02384544350206852,
-0.1092325896024704,
-0.024297956377267838,
-0.04206399247050285,
0.08027178794145584,
0.04914679750800133,
-0.05744941905140877,
0.03240383416414261,
-0.035886213183403015,
-0.011814512312412262,
0.0028675522189587355,
-0.026383448392152786,
0.061305612325668335,
-0.009911008179187775,
-0.04961898550391197,
0.017126616090536118,
0.015877287834882736,
0.02095329761505127,
0.012542467564344406,
0.020481111481785774,
0.0014374650781974196,
-0.0023892170283943415,
-0.0005976116517558694,
-0.08050788193941116,
-0.047218699008226395,
0.028154149651527405,
-0.010525835677981377,
-0.004970259964466095,
0.019713807851076126,
-0.0003169432166032493,
-0.02158288098871708,
0.015159170143306255,
0.02905917540192604,
0.05150773376226425,
-0.0026658892165869474,
0.008956797420978546,
-0.055521320551633835,
-0.005981035530567169,
0.022428883239626884,
0.016506871208548546,
0.055324576795101166,
-0.0007273401133716106,
-0.016024846583604813,
0.03037736378610134,
0.02654084376990795,
0.00956670567393303,
0.015375589020550251,
-0.020028598606586456,
-0.017520105466246605,
-0.0472973994910717,
-0.06909669935703278,
0.006586025003343821,
-0.01887764222919941,
0.005444906186312437,
-0.003022488672286272,
0.06854581087827682,
0.03718472644686699,
0.02083525061607361,
-0.03384006768465042,
-0.059731654822826385,
-0.0019194893538951874,
0.04973703250288963,
0.03529597818851471,
-0.02502591162919998,
-0.027032705023884773,
-0.012178489938378334,
0.006389280315488577,
-0.032816994935274124,
-0.013368794694542885,
0.05158643051981926,
-0.028134476393461227,
-0.037263423204422,
0.04647107049822807,
-0.09317823499441147,
-0.01610354334115982,
-0.013211398385465145,
0.05103554576635361,
-0.009330611675977707,
-0.05245210602879524,
0.0410015732049942,
-0.019261294975876808,
-0.011096394620835781,
-0.004306246992200613,
0.015523147769272327,
-0.07157567888498306,
-0.04989442601799965,
-0.01566086895763874,
0.02591126225888729,
-0.04328380897641182,
-0.03889640420675278,
-0.014077074825763702,
-0.07527447491884232,
0.007909132167696953,
-0.023550326004624367,
0.0005244472995400429,
-0.000569637049920857,
0.006197454407811165,
0.0072697121649980545,
0.011598093435168266,
0.0009148623212240636,
0.01666426658630371,
0.010555346496403217,
0.024573398754000664,
0.011224278248846531,
0.030613457784056664,
0.0017756199231371284,
-0.008287865668535233,
-0.03415485844016075,
-0.004955504089593887,
0.023038791492581367,
-0.011598093435168266,
0.05548197403550148,
0.0793667659163475,
0.02126809023320675,
-0.02390446700155735,
-0.034764766693115234,
0.047533489763736725,
-0.023550326004624367,
-0.017461081966757774,
-0.03509923443198204,
0.06563398987054825,
0.02113036811351776,
0.03177424892783165,
-0.0013132700696587563,
0.08845636248588562,
-0.03338755667209625,
0.005823639687150717,
0.0386209636926651,
-0.025655493140220642,
0.007525480352342129,
0.03895542770624161,
0.06795557588338852,
-0.020736878737807274,
-0.0032315298449248075,
-0.03999817371368408,
0.047336746007204056,
-0.012827746570110321,
0.03177424892783165,
0.0062122102826833725,
-0.0166741032153368,
0.0026216215919703245,
-0.004935829900205135,
0.025084935128688812,
0.003642234019935131,
-0.03974240645766258,
-0.025399725884199142,
0.002308059949427843,
0.017834896221756935,
0.01465747132897377,
0.007884539663791656,
0.008917448110878468,
-0.030711829662322998,
-0.0007832893752492964,
0.08711849898099899,
-0.08790548145771027,
0.011086557060480118,
0.025498097762465477,
0.019271131604909897,
-0.004311165772378445,
-0.056701790541410446,
-0.0011109920451417565,
-0.0003590588748920709,
0.028134476393461227,
-0.03222676366567612,
-0.024632422253489494,
-0.029610060155391693,
-0.05493108928203583,
0.002412580419331789,
0.045447997748851776,
0.014647634699940681,
0.010152020491659641,
-0.034568022936582565,
0.024258607998490334,
-0.021169716492295265,
0.0010519686620682478,
0.05327843502163887,
-0.08176705241203308,
0.0051399520598351955,
-0.03063313104212284,
-0.07224461436271667,
-0.03486314043402672,
0.06000709906220436,
0.044306881725788116,
0.05666244029998779,
-0.0012173571158200502,
-0.011243953369557858,
-0.007107398007065058,
-0.06496506184339523,
-0.03203001990914345,
-0.009197809733450413,
-0.019782667979598045,
-0.013506515882909298,
0.04403143748641014,
-0.03311211243271828,
0.0003353880310896784,
0.0025847319047898054,
-0.023196186870336533,
0.024317631497979164,
-0.06638162583112717,
0.003543861908838153,
-0.019261294975876808,
-0.010329090990126133,
-0.02018599398434162,
0.008666599169373512,
0.008164900355041027,
-0.05024856701493263,
0.04808437451720238,
-0.07708452641963959,
0.029708432033658028,
0.049225494265556335,
0.053435828536748886,
-0.014323005452752113,
0.016506871208548546,
0.03214806690812111,
-0.03157750517129898,
0.0004202341369818896,
-0.0009173215948976576,
-0.027662288397550583,
-0.0066401297226548195,
0.007289386820048094,
0.010732416994869709,
0.01268018875271082,
0.05209796503186226,
0.029098523780703545,
-0.07582536339759827,
-0.00811571441590786,
-0.01968429610133171,
-0.04233943298459053,
-0.048595912754535675,
0.0478089340031147,
0.015287053771317005,
0.02768196351826191,
-0.0055678714998066425,
-0.0025601389352232218,
-0.06248607859015465,
0.07476294040679932,
0.014145935885608196,
-0.009453576989471912,
0.039289891719818115,
0.006708990316838026,
-0.020225342363119125,
-0.035512398928403854,
-0.040608081966638565,
-0.03732244670391083,
0.05548197403550148,
-0.009310937486588955,
0.04336250573396683,
-0.007481212727725506,
0.03574848920106888,
0.0441494844853878,
-0.018021803349256516,
0.036240354180336,
0.07303158938884735,
-0.02842959202826023,
-0.005034202244132757,
0.002353557152673602,
-0.027898382395505905,
0.02089427411556244,
-0.1060846820473671,
0.04226073622703552,
0.03348592668771744,
-0.006881142035126686,
-0.020717205479741096,
0.03507956117391586,
-0.02213376574218273,
0.02264530211687088,
-0.058669235557317734,
-0.042182039469480515,
-0.002406432293355465,
0.05087814852595329,
-0.05579676479101181,
-0.027662288397550583,
0.028095126152038574,
0.008838750422000885,
0.001888748025521636,
-0.018336595967411995,
-0.007761573884636164,
0.01163744181394577,
0.0026831042487174273,
0.09742791950702667,
-0.00264129601418972,
0.03082987666130066,
0.017844734713435173,
-0.04714000225067139,
-0.05748876929283142,
0.05355387553572655,
0.004402160178869963,
-0.04674651473760605,
-0.0011509557953104377,
-0.004650549963116646,
-0.01906454935669899,
0.002403972903266549,
0.06708990037441254,
0.061502356082201004,
0.09254865348339081,
0.02018599398434162,
-0.020618831738829613,
-0.054576948285102844,
0.011539069935679436,
0.006497489754110575,
-0.05170447751879692,
0.01988103985786438,
0.00896171573549509,
0.02982647903263569,
0.022684650495648384,
0.014254145324230194,
0.03566979244351387,
-0.01566086895763874,
0.006920490879565477,
0.060912124812603,
-0.016438009217381477,
-0.019979411736130714,
0.014864053577184677,
0.011460372246801853,
-0.014155772514641285,
0.04454297199845314,
0.02502591162919998,
-0.026816286146640778,
0.024514375254511833,
-0.012434258125722408,
-0.005617057904601097,
-0.009104355238378048,
0.022409208118915558,
-0.0006843022420071065,
0.027190102264285088,
0.022291161119937897,
0.013427818194031715,
0.007884539663791656,
-0.03140043467283249,
0.01912357285618782,
-0.0708673968911171,
0.02258627861738205,
-0.016870848834514618,
0.03220708668231964,
-0.027524568140506744,
-0.06055798381567001,
0.04926484450697899,
-0.007663201540708542,
0.043874043971300125,
0.0004826390650123358,
0.005238324403762817,
0.08570194244384766,
-0.06653901934623718,
0.011942395940423012,
0.10096932202577591,
0.015503473579883575,
0.04163115471601486,
-0.005533441435545683,
-0.017333198338747025,
0.023373257368803024,
-0.0000955287177930586,
0.050996195524930954,
-0.021543532609939575,
0.003770118113607168,
0.014509913511574268,
-0.02120906673371792,
-0.05241275578737259,
-0.027544241398572922,
0.0032733380794525146,
-0.06956888735294342,
-0.009994625113904476,
-0.017451245337724686,
-0.01132265105843544,
0.007707469165325165,
0.040234267711639404,
-0.051232289522886276,
-0.03338755667209625,
0.04403143748641014,
0.0058039650321006775,
-0.01220800168812275,
0.013683585450053215,
-0.044897112995386124,
-0.022094417363405228,
-0.052491456270217896,
0.011125906370580196,
-0.008666599169373512,
0.012650677002966404,
0.016447847709059715,
-0.05209796503186226,
0.003819304285570979,
-0.010624207556247711,
0.09396521002054214,
0.021405810490250587,
-0.03143978491425514,
-0.016270777210593224,
0.03128238767385483,
-0.057095278054475784,
-0.01976299285888672,
0.0017805384704843163,
-0.0267966128885746,
0.018916992470622063,
0.05705592781305313,
-0.029964199289679527,
0.10388114303350449,
0.031026620417833328,
0.027347497642040253,
0.018464479595422745,
-0.011519395746290684,
-0.04965833202004433,
0.01975315622985363,
-0.02327488362789154,
-0.019772831350564957,
0.002963465405628085,
-0.0641387328505516,
-0.015169007703661919,
-0.00966015923768282,
-0.05855118855834007,
0.01333928294479847,
0.010761928744614124,
0.00209287041798234,
0.012237513437867165,
0.008263272233307362,
-0.0546162948012352,
-0.003349576611071825,
0.02648182027041912,
-0.014362354762852192,
0.03498118743300438,
0.03529597818851471,
0.04462167248129845,
-0.04560539498925209,
0.04686456173658371,
0.037145376205444336,
-0.03679123893380165,
-0.006325338501483202,
0.07405465841293335,
0.003079052781686187,
-0.02522265538573265,
0.03570914268493652,
0.009704426862299442,
0.008578063920140266,
0.008317377418279648,
0.019831854850053787,
-0.005004690494388342,
0.048281121999025345,
0.03348592668771744,
-0.05178317427635193,
0.022605951875448227,
-0.04946158826351166,
-0.021799299865961075,
0.003686501644551754,
0.030239641666412354,
-0.013181887567043304,
-0.05477369204163551,
-0.038719333708286285,
-0.015149332582950592,
0.0021469753701239824,
0.03319081291556358,
0.0338597446680069,
-0.027504893019795418,
-0.039978500455617905,
0.008081283420324326,
-0.019212108105421066,
0.04178854823112488,
-0.07082805037498474,
-0.008779726922512054,
0.00801734160631895,
-0.06134496256709099,
-0.02988550253212452,
-0.0015874828677624464,
0.010368439368903637,
0.02522265538573265,
0.06807362288236618,
0.040726128965616226,
0.023038791492581367,
0.0330924391746521,
0.031734902411699295,
0.030593782663345337,
-0.0013833603588864207,
0.03409583494067192,
0.13378632068634033,
0.025655493140220642,
-0.011716140434145927,
0.0023461792152374983,
0.04367729648947716,
0.10222848504781723,
-0.021425485610961914,
-0.06783753633499146,
-0.0061777797527611256,
0.027072055265307426,
-0.018513664603233337,
0.02787870727479458,
-0.00811079517006874,
-0.03340722993016243,
0.017588965594768524,
0.025635819882154465,
-0.029905177652835846,
0.027544241398572922,
0.00747137563303113,
0.016497032716870308,
0.040490034967660904,
-0.038719333708286285,
0.05138968676328659,
-0.010525835677981377,
-0.02433730475604534,
0.02370772324502468,
-0.0043185437098145485,
-0.07039520889520645,
0.027819683775305748,
0.0913681834936142,
0.02957071177661419,
-0.022625626996159554,
0.03289569541811943,
0.044503625482320786,
-0.018257897347211838,
-0.05241275578737259,
-0.011480046436190605,
0.030672481283545494,
-0.005194057244807482,
0.03025931678712368,
0.026127681136131287,
-0.056701790541410446,
-0.01179483812302351,
0.02026469260454178,
-0.0010113901225849986,
0.00437510758638382,
-0.023766744881868362,
-0.02378642000257969,
-0.040411338210105896,
-0.03145945817232132,
0.00679260678589344,
-0.08381319046020508,
-0.06846711784601212,
-0.02089427411556244,
0.013103188946843147,
-0.05453759804368019,
-0.02113036811351776,
-0.052491456270217896,
-0.001126977615058422,
0.01729384809732437,
0.07586470991373062,
0.02711140364408493,
0.018444804474711418,
0.00012703859829343855,
-0.019221946597099304,
0.05264884978532791,
-0.03956533595919609,
-0.014332843013107777,
-0.00805177167057991,
-0.05536392703652382,
0.010240555740892887,
0.08884985744953156,
0.011745651252567768,
-0.040726128965616226,
0.06602748483419418,
0.036889608949422836,
-0.04011622071266174,
-0.01616256684064865,
0.013270421884953976,
0.03616165369749069,
-0.004817782901227474,
0.0024015135131776333,
0.04328380897641182,
-0.013496678322553635,
0.018907153978943825,
0.0011195996776223183,
0.0019207190489396453,
0.03301374241709709,
0.0746055468916893,
0.021996043622493744,
0.027445869520306587,
0.06307631731033325,
-0.06642097234725952,
-0.05453759804368019,
0.036968305706977844,
-0.06480766832828522,
0.026580194011330605,
0.031616855412721634,
0.024868516251444817,
-0.014500075951218605,
0.02290106937289238,
0.048399168998003006,
-0.02504558488726616,
0.012276861816644669,
-0.017067592591047287,
0.04399208724498749,
0.06008579581975937,
-0.04163115471601486,
0.0006197454640641809,
0.015139495953917503,
0.00015847160830162466,
-0.0014337761094793677,
-0.019094061106443405,
0.08444277197122574,
-0.0020018762443214655,
-0.05918077006936073,
0.01079144049435854,
0.10128410905599594,
0.0027224530931562185,
0.010152020491659641,
-0.002208458026871085,
0.004775974899530411,
0.029078848659992218,
0.008376400917768478,
-0.01452958770096302,
0.031675878912210464,
0.021169716492295265,
0.005307184997946024
] |
719,402
|
ibm_platform_services.catalog_management_v1
|
replace_offering_icon
|
Upload icon for offering.
Upload an icon file to be stored in GC. File is uploaded as a binary payload - not
as a form.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str file_name: Name of the file name that is being uploaded.
: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 representing a `Offering` object
|
def replace_offering_icon(
self, catalog_identifier: str, offering_id: str, file_name: str, **kwargs
) -> DetailedResponse:
"""
Upload icon for offering.
Upload an icon file to be stored in GC. File is uploaded as a binary payload - not
as a form.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str file_name: Name of the file name that is being uploaded.
: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 representing a `Offering` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if offering_id is None:
raise ValueError('offering_id must be provided')
if file_name is None:
raise ValueError('file_name must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_offering_icon'
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier', 'offering_id', 'file_name']
path_param_values = self.encode_path_vars(catalog_identifier, offering_id, file_name)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/offerings/{offering_id}/icon/{file_name}'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, offering_id: str, file_name: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.007079399656504393,
-0.09537051618099213,
-0.048401255160570145,
0.011617016978561878,
-0.02031635493040085,
-0.04546567425131798,
0.018096771091222763,
0.029248392209410667,
0.01435569766908884,
-0.016566332429647446,
0.012449361383914948,
-0.031414274126291275,
0.004591317381709814,
-0.008363715372979641,
-0.03150377422571182,
-0.017353925853967667,
-0.006801951676607132,
-0.02998228557407856,
-0.0015942073659971356,
-0.02831759862601757,
0.04410528391599655,
0.0027163056656718254,
0.01215401291847229,
-0.01519699115306139,
0.06146816164255142,
0.07206488400697708,
0.03374125808477402,
0.03553124517202377,
-0.018141521140933037,
-0.04163510352373123,
0.03331166133284569,
-0.07875943928956985,
-0.022804437205195427,
0.07002430409193039,
0.028049100190401077,
-0.009827029891312122,
0.012440411373972893,
0.0040856460109353065,
-0.0027856675442308187,
0.015984585508704185,
-0.06340134888887405,
-0.013290654867887497,
0.0255610179156065,
-0.06844910979270935,
-0.016360484063625336,
0.07346107810735703,
-0.0340813584625721,
0.01945716142654419,
-0.016709530726075172,
0.008139966987073421,
-0.014230398461222649,
-0.02389632910490036,
-0.017479225993156433,
0.016700580716133118,
0.033419061452150345,
0.0352090485394001,
-0.0019555611070245504,
0.05140843242406845,
0.004618166945874691,
0.016360484063625336,
-0.014409396797418594,
-0.03354436159133911,
0.002447807462885976,
-0.05534640699625015,
-0.007625345606356859,
0.01798042096197605,
-0.02343093231320381,
-0.016279933974146843,
-0.05742279067635536,
0.034976352006196976,
0.06898611038923264,
-0.0255610179156065,
-0.017523974180221558,
-0.00697200046852231,
0.00780881941318512,
-0.013791851699352264,
0.03642623871564865,
0.003416638122871518,
0.010865222662687302,
-0.045573074370622635,
0.05352061986923218,
-0.06454694271087646,
0.03399185836315155,
-0.07460666447877884,
-0.003253301838412881,
-0.003984958864748478,
0.0711698904633522,
-0.03758973255753517,
-0.04947524890303612,
0.005003014113754034,
0.04020311310887337,
0.002461232477799058,
-0.012234563007950783,
-0.03769713267683983,
0.011563317850232124,
-0.03531644865870476,
-0.01116952020674944,
-0.08506019413471222,
0.037876129150390625,
-0.008632213808596134,
-0.03769713267683983,
-0.025650516152381897,
-0.007535846438258886,
0.003213027026504278,
0.06905771046876907,
-0.038592126220464706,
-0.0003669473808258772,
0.010211877524852753,
-0.010050778277218342,
-0.018141521140933037,
-0.002055129036307335,
-0.03200497105717659,
-0.04371148720383644,
-0.05799558758735657,
-0.00014131110219750553,
0.018383169546723366,
-0.024594424292445183,
-0.03612194210290909,
0.058997977524995804,
-0.035781845450401306,
-0.025041921064257622,
-0.05051343888044357,
-0.015501289628446102,
-0.010534075088799,
0.009576431475579739,
-0.002351595787331462,
-0.015733987092971802,
0.05384281650185585,
-0.024845022708177567,
-0.0091289347037673,
-0.03694533556699753,
0.001896267756819725,
-0.03121737763285637,
0.05545380339026451,
0.026617109775543213,
-0.020549053326249123,
-0.006752726621925831,
0.02307293564081192,
-0.01397085003554821,
0.058997977524995804,
0.015071692876517773,
-0.020334254950284958,
-0.03937971964478493,
0.020942850038409233,
0.026187513023614883,
-0.002640231279656291,
0.011876565404236317,
-0.043568290770053864,
-0.04983324557542801,
-0.047148264944553375,
-0.037052735686302185,
0.017747722566127777,
0.010972621850669384,
0.024898722767829895,
0.03417085483670235,
-0.03492265194654465,
-0.014454146847128868,
0.019224463030695915,
-0.02919469214975834,
-0.016056185588240623,
0.01717492751777172,
-0.035405948758125305,
0.0413845032453537,
-0.015367040410637856,
-0.0397019162774086,
-0.02352043241262436,
-0.04568047448992729,
0.03934391960501671,
0.0271541066467762,
0.02024475485086441,
-0.02309083566069603,
-0.006779576651751995,
-0.05237502604722977,
-0.02636651135981083,
0.0035396998282521963,
0.09128934890031815,
0.021623045206069946,
-0.08377140015363693,
0.05627719685435295,
-0.01075782347470522,
-0.005114888306707144,
0.005369961727410555,
0.013729201629757881,
0.06243475526571274,
-0.006220205686986446,
-0.04217210039496422,
0.04822225496172905,
0.025740016251802444,
0.04485708102583885,
-0.0395229198038578,
0.07063289731740952,
0.03153957426548004,
0.000964355596806854,
0.032595667988061905,
-0.008471114560961723,
-0.07292407751083374,
0.04002411291003227,
-0.0404537096619606,
-0.030125485733151436,
-0.009818079881370068,
-0.007007800042629242,
0.026617109775543213,
0.01459734607487917,
0.037016935646533966,
0.030698280781507492,
0.0010600080713629723,
0.07292407751083374,
-0.04589527100324631,
-0.04417688399553299,
0.05352061986923218,
0.008265266194939613,
0.050799839198589325,
-0.028603995218873024,
-0.009916529059410095,
-0.007088349666446447,
0.04865185171365738,
-0.037876129150390625,
0.05806718394160271,
-0.0443916842341423,
-0.003989433869719505,
-0.030948879197239876,
0.016494732350111008,
-0.021802043542265892,
0.03030448406934738,
-0.009316883981227875,
-0.0027632927522063255,
0.05939177796244621,
0.003761210711672902,
0.019564559683203697,
-0.017971470952033997,
-0.092506542801857,
-0.007647720631211996,
0.013675502501428127,
0.015948785468935966,
-0.048401255160570145,
0.020907049998641014,
0.0340813584625721,
-0.014472046867012978,
0.014087199233472347,
0.004530905280262232,
0.016512632369995117,
-0.005602660123258829,
-0.032559867948293686,
0.05108623579144478,
-0.061360761523246765,
-0.046432267874479294,
-0.03560284525156021,
0.08169502019882202,
-0.02919469214975834,
-0.03569234535098076,
0.08069262653589249,
-0.031808074563741684,
-0.019743559882044792,
0.008726187981665134,
0.046790264546871185,
-0.07424867153167725,
-0.08269740641117096,
-0.05377121642231941,
0.03741073235869408,
-0.01032822672277689,
-0.047255661338567734,
-0.0344572551548481,
-0.021282948553562164,
-0.029767487198114395,
-0.0139529500156641,
-0.030429782345891,
-0.01909916289150715,
0.008180242031812668,
-0.012243513017892838,
0.027261504903435707,
0.01661108061671257,
0.04410528391599655,
0.005759283900260925,
0.016449982300400734,
0.0389501228928566,
0.023609930649399757,
-0.0027521054726094007,
-0.002852792153134942,
-0.003763448214158416,
-0.04829385504126549,
0.003025078447535634,
-0.017515024170279503,
0.04951104521751404,
0.052446626126766205,
0.018320519477128983,
-0.010829422622919083,
0.003767923219129443,
0.028049100190401077,
0.004850865341722965,
-0.006931725423783064,
-0.01235091220587492,
0.09916529059410095,
-0.035513345152139664,
0.005446036346256733,
-0.024146927520632744,
0.07081189751625061,
-0.04220790043473244,
0.02395002916455269,
0.024146927520632744,
-0.0139529500156641,
-0.0243438258767128,
0.0135770533233881,
0.008377140387892723,
-0.05155163258314133,
-0.008296591229736805,
-0.019582459703087807,
0.04790005832910538,
-0.011983964592218399,
-0.004562229849398136,
0.03884272277355194,
0.03225557133555412,
0.014203548431396484,
-0.030107585713267326,
-0.030948879197239876,
0.03291786462068558,
-0.005396811291575432,
0.0438188873231411,
0.02028055489063263,
0.01135746855288744,
0.014704745262861252,
0.008618788793683052,
0.012807358987629414,
-0.08226781338453293,
0.006000932306051254,
0.06977370381355286,
-0.05219602584838867,
0.038269925862550735,
0.04936784878373146,
0.04485708102583885,
-0.019725659862160683,
-0.007535846438258886,
0.019922558218240738,
-0.008395040407776833,
-0.017013829201459885,
-0.0055042109452188015,
0.0006958575104363263,
0.00047910126158967614,
-0.05291202291846275,
0.03223767131567001,
0.08212461322546005,
-0.01236881222575903,
-0.006170981097966433,
-0.007097299210727215,
-0.007594021037220955,
-0.04994064196944237,
0.007164423819631338,
0.04424848407506943,
-0.0754658579826355,
-0.021694645285606384,
0.021766245365142822,
-0.04736306145787239,
-0.05065663903951645,
0.02387842908501625,
-0.009558531455695629,
0.0291230920702219,
-0.011625966988503933,
-0.005808508489280939,
0.014668945223093033,
-0.035441748797893524,
-0.004528667777776718,
-0.017649274319410324,
-0.03166487440466881,
-0.03526274859905243,
-0.0014644332695752382,
-0.023592032492160797,
-0.019689859822392464,
-0.0035128500312566757,
0.00029618694679811597,
-0.011975014582276344,
-0.05906957760453224,
0.012485160492360592,
0.005598185118287802,
-0.022822337225079536,
-0.043926287442445755,
0.02638441137969494,
0.017506076022982597,
-0.04242269694805145,
-0.0029064917471259832,
-0.07013169676065445,
0.024451225996017456,
0.04048950970172882,
0.024827122688293457,
-0.0387711226940155,
0.0565635971724987,
0.017300225794315338,
-0.016727430745959282,
0.014642095193266869,
-0.01700487919151783,
-0.0016479069599881768,
0.0012362098786979914,
0.01500904280692339,
-0.016530532389879227,
0.06118176504969597,
0.0623631551861763,
0.026205413043498993,
-0.08634898066520691,
-0.022428540512919426,
-0.007173373829573393,
-0.0242543276399374,
-0.016655830666422844,
0.0004765841003973037,
0.026008514687418938,
0.02017315663397312,
0.017094377428293228,
0.01743447594344616,
-0.027243604883551598,
0.005016439128667116,
-0.023985829204320908,
0.009862829931080341,
-0.007249448448419571,
-0.009012585505843163,
-0.014677895233035088,
-0.002479132264852524,
-0.028979893773794174,
-0.014266198500990868,
0.05799558758735657,
-0.04693346470594406,
-0.03080568090081215,
-0.032559867948293686,
0.034188754856586456,
0.006551353260874748,
0.02026265487074852,
0.00408788351342082,
0.06680232286453247,
-0.05062083899974823,
-0.029803287237882614,
0.009827029891312122,
-0.00988072995096445,
0.03121737763285637,
-0.06111016497015953,
-0.00011208396608708426,
0.07038229703903198,
-0.004128158092498779,
-0.02187364362180233,
0.029731687158346176,
-0.03812672942876816,
0.013460704125463963,
-0.05463040992617607,
-0.045573074370622635,
0.02957058884203434,
0.014910593628883362,
-0.048759251832962036,
-0.025435717776417732,
0.016306784003973007,
-0.016637930646538734,
0.006488703656941652,
-0.07582385838031769,
0.02672450989484787,
0.008032567799091339,
-0.0003552005800884217,
0.08649218082427979,
0.006023306865245104,
-0.004645016975700855,
0.007236023433506489,
-0.012887908145785332,
-0.04335349053144455,
0.02672450989484787,
-0.02181994356215,
-0.017819322645664215,
-0.029230492189526558,
-0.026133812963962555,
0.032613568007946014,
-0.027225704863667488,
-0.014830044470727444,
0.04449908435344696,
0.07711265236139297,
0.026652909815311432,
0.0010359551524743438,
-0.01990465819835663,
0.016942229121923447,
0.04689766466617584,
-0.053699616342782974,
0.027655303478240967,
0.004459305666387081,
0.06608632951974869,
0.04994064196944237,
0.010883122682571411,
0.077542245388031,
-0.018114671111106873,
-0.0023560707923024893,
0.06855650991201401,
-0.024540724232792854,
-0.03758973255753517,
-0.010820472612977028,
0.04768525809049606,
0.014534696005284786,
0.037911929190158844,
0.03649783879518509,
-0.007070449646562338,
0.026026414707303047,
0.010408775880932808,
0.016655830666422844,
-0.09315093606710434,
0.03451095521450043,
0.03934391960501671,
0.014937443658709526,
0.030232883989810944,
0.021802043542265892,
-0.02309083566069603,
-0.038627926260232925,
0.016118835657835007,
-0.07439187169075012,
-0.006833276245743036,
-0.013066906481981277,
0.015689238905906677,
-0.012422511354088783,
-0.06193355843424797,
0.03417085483670235,
0.0023851580917835236,
0.023234033957123756,
-0.01112477108836174,
0.005969607271254063,
0.06698132306337357,
-0.005893533118069172,
-0.011250069364905357,
0.08470219373703003,
-0.012118213810026646,
0.023985829204320908,
0.021121850237250328,
-0.026563409715890884,
-0.022804437205195427,
-0.013612852431833744,
0.0462532714009285,
-0.03196917101740837,
-0.009097609668970108,
0.015877187252044678,
0.00018976660794578493,
-0.05276882275938988,
-0.028603995218873024,
-0.023627830669283867,
-0.0827690064907074,
0.031432174146175385,
-0.014301997609436512,
-0.058138784021139145,
0.01986885815858841,
0.047255661338567734,
-0.0091289347037673,
-0.023305634036660194,
0.019958358258008957,
-0.02151564694941044,
-0.04077591001987457,
0.009862829931080341,
-0.05126523599028587,
-0.0015147767262533307,
-0.035370148718357086,
-0.01908126473426819,
-0.005208862945437431,
-0.03413505479693413,
0.048759251832962036,
-0.0653703361749649,
-0.02591901458799839,
0.020745951682329178,
0.07496466487646103,
-0.021121850237250328,
-0.06290014833211899,
0.03494055196642876,
0.007889368571341038,
-0.07618185877799988,
-0.039487119764089584,
-0.008395040407776833,
-0.037911929190158844,
0.07245868444442749,
0.08957096189260483,
-0.0509430356323719,
0.05871158093214035,
0.051229435950517654,
0.043604087084531784,
0.03166487440466881,
-0.009764380753040314,
-0.07274508476257324,
0.015044842846691608,
0.04260169714689255,
-0.010999471880495548,
-0.026008514687418938,
-0.05602660030126572,
0.004591317381709814,
0.05778078734874725,
-0.04764946177601814,
0.0387711226940155,
0.007455296814441681,
-0.04453488066792488,
0.01659318245947361,
0.031378477811813354,
-0.02344883233308792,
-0.02026265487074852,
0.033025264739990234,
-0.033025264739990234,
0.03030448406934738,
0.016521582379937172,
0.06436794251203537,
-0.03937971964478493,
0.0202268548309803,
0.009424283169209957,
-0.05781658738851547,
-0.02590111456811428,
0.055310606956481934,
0.03683793544769287,
-0.02554311789572239,
-0.005929332692176104,
0.00869933795183897,
0.013899250887334347,
-0.027010906487703323,
-0.03458255156874657,
0.035101648420095444,
-0.0004961621016263962,
0.04482128098607063,
-0.04893825203180313,
0.0307161808013916,
-0.05380701646208763,
-0.011196370236575603,
-0.024111127480864525,
0.012503060512244701,
0.021730445325374603,
0.002861742163076997,
-0.03519114851951599,
0.023251933977007866,
-0.01696907915174961,
0.0007221479900181293,
0.005150688346475363,
0.031324777752161026,
-0.07653985172510147,
-0.03816252946853638,
-0.02588321454823017,
0.02676030993461609,
-0.0372675359249115,
-0.0014073774218559265,
0.006622952874749899,
0.04285229369997978,
-0.028657695278525352,
0.03574604541063309,
-0.034600451588630676,
0.013890300877392292,
0.0486876517534256,
0.04005991294980049,
0.041133906692266464,
0.007526896428316832,
-0.00187389284837991,
0.042136300355196,
-0.03676633909344673,
0.03880692273378372,
0.11749476194381714,
0.033777058124542236,
-0.03841312602162361,
0.008976786397397518,
0.01866956613957882,
0.0694873034954071,
-0.0014745020307600498,
-0.08026302605867386,
-0.03572814539074898,
-0.019331861287355423,
-0.010032878257334232,
0.020745951682329178,
0.006081481464207172,
-0.03166487440466881,
0.06186195835471153,
0.017532924190163612,
-0.018302619457244873,
-0.0018369744066148996,
-0.0062962803058326244,
0.02430802583694458,
0.05638459697365761,
-0.03225557133555412,
0.05545380339026451,
0.024540724232792854,
-0.017336025834083557,
-0.02219584211707115,
0.04500027745962143,
-0.09236334264278412,
0.0007008918910287321,
0.03238086774945259,
0.023180333897471428,
-0.008148916997015476,
-0.021229248493909836,
0.0017743248026818037,
-0.031467974185943604,
-0.019940458238124847,
-0.011473817750811577,
0.034618351608514786,
0.004338481463491917,
0.07517946511507034,
0.014328847639262676,
-0.05291202291846275,
0.0015427452744916081,
0.03812672942876816,
0.01400665007531643,
0.0032175020314753056,
0.022500138729810715,
-0.03195127099752426,
-0.07625345885753632,
-0.009594331495463848,
0.022822337225079536,
-0.062219955027103424,
-0.047255661338567734,
0.002171478234231472,
-0.00033869914477691054,
-0.020763851702213287,
-0.018418967723846436,
-0.04528667777776718,
-0.01380080170929432,
0.01599353551864624,
0.05520320683717728,
0.006349979899823666,
0.02103235013782978,
0.0009693899773992598,
-0.03476155176758766,
-0.0001229217741638422,
-0.058138784021139145,
-0.030161285772919655,
-0.008824637159705162,
-0.014096149243414402,
0.01983305811882019,
0.046432267874479294,
-0.018955964595079422,
0.01478529442101717,
0.008932036347687244,
0.07747064530849457,
-0.08599098771810532,
-0.06350874900817871,
0.012852108106017113,
0.035012152045965195,
0.022356940433382988,
0.017667174339294434,
0.046432267874479294,
0.022410640493035316,
-0.0004961621016263962,
0.018132571130990982,
0.021712545305490494,
0.02948109060525894,
0.030608782544732094,
0.03157537430524826,
0.03730333223938942,
0.03923651948571205,
-0.09501252323389053,
-0.008135491982102394,
0.023305634036660194,
-0.054487209767103195,
-0.017541874200105667,
0.006488703656941652,
0.03275676816701889,
-0.005419186316430569,
0.006305229850113392,
0.02672450989484787,
-0.018141521140933037,
0.03288206458091736,
0.0005143416346982121,
0.03930811956524849,
0.05591920018196106,
0.026456011459231377,
-0.007714844774454832,
0.07768544554710388,
-0.007549270987510681,
-0.01008657831698656,
-0.009361633099615574,
0.12035874277353287,
0.027261504903435707,
-0.05957077443599701,
0.007370272651314735,
0.07804344594478607,
0.03413505479693413,
0.04342509061098099,
-0.002194971777498722,
0.0012831970816478133,
0.03125317767262459,
-0.023305634036660194,
-0.010185027495026588,
0.03170067444443703,
-0.005338636692613363,
0.015116441994905472
] |
719,403
|
ibm_platform_services.catalog_management_v1
|
replace_operators
|
Update operators.
Update the 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
Operator(s) to.
:param bool all_namespaces: (optional) Denotes whether to install
Operator(s) globally.
:param str version_locator_id: (optional) 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.
:rtype: DetailedResponse with `List[OperatorDeployResult]` result
|
def replace_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:
"""
Update operators.
Update the 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
Operator(s) to.
:param bool all_namespaces: (optional) Denotes whether to install
Operator(s) globally.
:param str version_locator_id: (optional) 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.
:rtype: DetailedResponse with `List[OperatorDeployResult]` result
"""
if x_auth_refresh_token is None:
raise ValueError('x_auth_refresh_token must be provided')
headers = {'X-Auth-Refresh-Token': x_auth_refresh_token}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='replace_operators'
)
headers.update(sdk_headers)
data = {
'cluster_id': cluster_id,
'region': region,
'namespaces': namespaces,
'all_namespaces': all_namespaces,
'version_locator_id': version_locator_id,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
url = '/deploy/kubernetes/olm/operator'
request = self.prepare_request(method='PUT', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(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.044269222766160965,
-0.09547532349824905,
-0.03841390088200569,
-0.04650692641735077,
-0.0033215901348739862,
-0.0061630066484212875,
-0.05299626290798187,
-0.02013932541012764,
-0.04162127524614334,
0.05467453971505165,
0.022656742483377457,
-0.050870444625616074,
0.03986840695142746,
-0.004461420234292746,
-0.000022034671928850003,
-0.020213916897773743,
0.013892405666410923,
-0.07309829443693161,
0.029891980811953545,
-0.06038068234920502,
0.02166842296719551,
-0.014507774263620377,
0.03595242649316788,
0.00994845386594534,
0.04949053004384041,
-0.009920482523739338,
0.0364186130464077,
-0.018824676051735878,
-0.03306205943226814,
-0.01029343344271183,
-0.03968193009495735,
-0.005281911231577396,
-0.0012773553607985377,
0.03326718136668205,
0.002461473224684596,
-0.02273133210837841,
0.0364745557308197,
-0.0032330146059393883,
-0.026442188769578934,
0.005184011533856392,
-0.011430932208895683,
-0.02894095703959465,
-0.0030651867855340242,
-0.0793638601899147,
0.05172823369503021,
0.0246333796530962,
-0.027542393654584885,
0.05974666774272919,
0.08346632122993469,
-0.0006369294715113938,
-0.0139297004789114,
-0.03662373870611191,
-0.02312293089926243,
0.02207866869866848,
-0.0066152093932032585,
0.03045140765607357,
0.0493786446750164,
0.027169443666934967,
0.026684606447815895,
-0.018274573609232903,
-0.01862887665629387,
0.010955420322716236,
-0.04762577638030052,
0.04057701304554939,
0.017127750441432,
-0.019468015059828758,
-0.020661456510424614,
0.011412285268306732,
-0.060119617730379105,
-0.011393637396395206,
-0.030973536893725395,
-0.019374778494238853,
-0.004102455452084541,
-0.05422700196504593,
-0.010116281919181347,
0.026684606447815895,
-0.0020978464744985104,
-0.028568007051944733,
-0.01952395774424076,
-0.013547426089644432,
-0.07630567252635956,
-0.03492681309580803,
0.03986840695142746,
-0.002941646846011281,
0.043001189827919006,
-0.04893110319972038,
-0.012055624276399612,
-0.04881921783089638,
-0.00994845386594534,
-0.020474981516599655,
0.04393356665968895,
-0.03708992525935173,
-0.00042743622907437384,
-0.022768627852201462,
0.030358169227838516,
-0.01582242362201214,
-0.019785022363066673,
-0.05318273976445198,
0.04165856912732124,
-0.030358169227838516,
0.006358805578202009,
0.01318379957228899,
-0.03772393986582756,
-0.03278234601020813,
0.07757370173931122,
-0.028120465576648712,
-0.03019034117460251,
-0.005230630747973919,
-0.020661456510424614,
-0.04479135200381279,
-0.008615156635642052,
0.033155299723148346,
-0.018955208361148834,
-0.016894657164812088,
0.025174157693982124,
0.039085209369659424,
-0.036120254546403885,
-0.03475898504257202,
0.01886196993291378,
-0.030992185696959496,
-0.006382115185260773,
0.02054957114160061,
0.07552247494459152,
0.004006886854767799,
0.04009217768907547,
0.04572372883558273,
0.03272640332579613,
0.03800365328788757,
-0.03755611553788185,
-0.03170078992843628,
0.007850607857108116,
-0.02338399551808834,
-0.008838926441967487,
0.02377559244632721,
0.015393530949950218,
-0.017211664468050003,
0.000047092282329685986,
-0.03578459843993187,
-0.012596402317285538,
-0.059895846992731094,
0.04538807272911072,
0.013668634928762913,
-0.042889304459095,
0.03882414475083351,
-0.028866367414593697,
-0.011580112390220165,
0.009253833442926407,
0.016642915084958076,
-0.012736259028315544,
-0.04889380931854248,
0.007319153286516666,
-0.009272481314837933,
0.010181548073887825,
-0.08950811624526978,
-0.008741026744246483,
-0.008526580408215523,
0.05709872022271156,
-0.012568430975079536,
-0.020307153463363647,
-0.04646962881088257,
0.022358382120728493,
-0.0267964918166399,
-0.004316901788115501,
0.013752548955380917,
0.028642596676945686,
-0.024782558903098106,
0.030544644221663475,
-0.04180774837732315,
-0.06716838479042053,
0.02465202659368515,
0.01629793643951416,
0.01542150229215622,
-0.0034474609419703484,
-0.029836038127541542,
-0.036101605743169785,
0.03067517653107643,
-0.003918311093002558,
-0.018740762025117874,
0.017659205943346024,
-0.007547585293650627,
-0.0320923887193203,
-0.0058739702217280865,
-0.025341985747218132,
-0.05191470682621002,
-0.04322496056556702,
0.006731756031513214,
0.003701533656567335,
0.02467067539691925,
-0.05202659219503403,
0.013155828230082989,
0.042889304459095,
-0.003330914070829749,
0.05594257265329361,
0.06701920181512833,
-0.002538394182920456,
-0.08421222120523453,
0.0192815400660038,
0.012698964215815067,
0.04527618736028671,
0.07205403596162796,
-0.03157025948166847,
0.0471782349050045,
0.06239461526274681,
0.060119617730379105,
0.044679466634988785,
-0.018722115084528923,
0.013957671821117401,
-0.03343500941991806,
0.03776123747229576,
-0.04613397642970085,
0.04781225323677063,
0.07608190178871155,
-0.007039440330117941,
0.003701533656567335,
-0.047029055655002594,
0.1006966307759285,
0.0705995261669159,
-0.02358911745250225,
-0.018386458978056908,
-0.026050591841340065,
0.016223346814513206,
0.00933308620005846,
0.020642809569835663,
-0.007957831025123596,
-0.02271268516778946,
0.01823727786540985,
0.029686858877539635,
-0.0011007866123691201,
-0.009072020649909973,
-0.024987682700157166,
0.04240446910262108,
-0.03170078992843628,
0.02744915522634983,
-0.05877699702978134,
-0.022414324805140495,
-0.04859544709324837,
-0.028400178998708725,
0.006936878897249699,
-0.0299852192401886,
0.032036446034908295,
0.012176833115518093,
-0.030824357643723488,
-0.013752548955380917,
0.018526315689086914,
-0.01007898710668087,
-0.00816295389086008,
-0.030115751549601555,
-0.009799273684620857,
0.026460837572813034,
-0.011626731604337692,
0.05236224830150604,
-0.03168214485049248,
-0.006969511974602938,
-0.007104706950485706,
0.04057701304554939,
-0.024987682700157166,
-0.01825592666864395,
-0.009883187711238861,
0.07000280916690826,
-0.017276931554079056,
-0.08682287484407425,
0.035691361874341965,
-0.04393356665968895,
0.04046512767672539,
-0.013267713598906994,
-0.04885651171207428,
-0.008526580408215523,
0.02595735341310501,
0.00997642520815134,
-0.01403226237744093,
0.010088310576975346,
0.007221253588795662,
-0.025006329640746117,
0.018992504104971886,
0.029854686930775642,
0.029052842408418655,
0.0214073583483696,
-0.026927024126052856,
-0.020754694938659668,
-0.06407289206981659,
0.023533174768090248,
-0.033957142382860184,
-0.017649881541728973,
-0.0014626651536673307,
-0.0033798636868596077,
0.041919633746147156,
-0.025397928431630135,
-0.007058087736368179,
0.024353666231036186,
-0.016586972400546074,
0.012773553840816021,
-0.009039387106895447,
0.008633803576231003,
0.007286520209163427,
0.00018312451720703393,
0.06776510179042816,
-0.027561040595173836,
0.009752655401825905,
0.04848356172442436,
-0.004876327700912952,
-0.032017797231674194,
-0.029649563133716583,
0.013752548955380917,
-0.07410526275634766,
0.08488353341817856,
-0.032036446034908295,
0.08331713825464249,
0.029705505818128586,
-0.016596296802163124,
0.054152410477399826,
0.05277249217033386,
-0.01654967851936817,
-0.03815283626317978,
-0.06254379451274872,
-0.007957831025123596,
-0.03229751065373421,
0.035448942333459854,
-0.026274360716342926,
0.04315037280321121,
-0.02912743203341961,
0.031122718006372452,
-0.017631234601140022,
-0.005230630747973919,
-0.0033588854130357504,
-0.005790056195110083,
-0.07354583591222763,
0.02189219370484352,
-0.02761698327958584,
0.0493786446750164,
-0.044716764241456985,
-0.009556856006383896,
-0.05482372269034386,
0.005682833027094603,
-0.031234603375196457,
0.021519243717193604,
-0.04326225444674492,
-0.038451194763183594,
0.009235186502337456,
0.017519349232316017,
0.08965729922056198,
0.02062416262924671,
0.004076815210282803,
0.0019370116060599685,
0.04479135200381279,
-0.10121876001358032,
0.038451194763183594,
0.02854936011135578,
0.04755118489265442,
-0.03559812530875206,
-0.0300411619246006,
-0.022656742483377457,
0.04844626784324646,
0.0256962887942791,
0.020512277260422707,
0.04591020569205284,
-0.004165390506386757,
0.014284003525972366,
0.04915487393736839,
0.017957566305994987,
-0.07582083344459534,
-0.018973855301737785,
-0.03231615945696831,
0.03175673261284828,
0.024950386956334114,
-0.021370062604546547,
-0.024092601612210274,
0.0028600639197975397,
0.01845172606408596,
-0.020903874188661575,
-0.07831960171461105,
-0.013743225485086441,
-0.02912743203341961,
0.028250999748706818,
-0.014666277915239334,
0.008083702065050602,
0.08495812118053436,
-0.06903313100337982,
0.0011147722834721208,
-0.024987682700157166,
-0.02683378756046295,
0.0641474798321724,
-0.0449778288602829,
0.02549116499722004,
-0.04024135693907738,
0.06787698715925217,
0.027952639386057854,
-0.01446115504950285,
-0.029481735080480576,
0.06269297748804092,
0.0016596296336501837,
-0.0012132545234635472,
0.0058739702217280865,
-0.02403665892779827,
0.017537996172904968,
-0.055010195821523666,
0.05128069221973419,
-0.006885598413646221,
-0.032465338706970215,
-0.030358169227838516,
-0.056912243366241455,
0.04949053004384041,
0.032689109444618225,
0.018955208361148834,
-0.003619950730353594,
0.03295017406344414,
-0.04162127524614334,
0.03360283747315407,
-0.0364559106528759,
-0.05251142755150795,
0.029519030824303627,
-0.028456121683120728,
-0.039122506976127625,
0.03283828869462013,
0.017323549836874008,
-0.008764336816966534,
0.04132291302084923,
-0.012988000176846981,
0.04009217768907547,
0.031831324100494385,
-0.0062375967390835285,
0.0006497496506199241,
-0.0053658252581954,
0.05762084946036339,
0.01778973825275898,
-0.042590945959091187,
-0.018088098615407944,
0.04956511780619621,
-0.04867003858089447,
-0.012988000176846981,
0.01802283152937889,
-0.012353984639048576,
-0.046022091060876846,
-0.051765527576208115,
0.03451656550168991,
0.004699176177382469,
-0.010880830697715282,
0.019169654697179794,
0.007193282246589661,
-0.026908377185463905,
0.022432971745729446,
0.04673069715499878,
-0.010423965752124786,
0.017211664468050003,
-0.01209291908890009,
-0.04113643988966942,
0.01436791755259037,
-0.019766375422477722,
-0.030768414959311485,
-0.011365666054189205,
0.010265462100505829,
0.06761592626571655,
0.011365666054189205,
-0.019020475447177887,
0.052213069051504135,
0.044492993503808975,
-0.04781225323677063,
0.04773766174912453,
0.007258548866957426,
0.008232882246375084,
-0.04430651664733887,
0.0064194099977612495,
-0.03468439355492592,
0.006046459544450045,
0.04482864961028099,
0.0053192065097391605,
0.04818520322442055,
-0.01989690773189068,
-0.0016619606176391244,
0.031402431428432465,
0.010554498992860317,
0.01950531080365181,
-0.054786425083875656,
-0.025379279628396034,
0.04094996303319931,
-0.02612518146634102,
0.029519030824303627,
-0.03630673140287399,
0.016670886427164078,
-0.008857574313879013,
-0.02636759914457798,
-0.09547532349824905,
0.003032553708180785,
0.005631552077829838,
-0.05060938000679016,
-0.012027652934193611,
-0.03302476555109024,
0.03565406799316406,
-0.04967700317502022,
0.03511328622698784,
-0.020642809569835663,
-0.01864752359688282,
0.02806452475488186,
0.00556628592312336,
-0.009006754495203495,
-0.0556815080344677,
0.019206950441002846,
-0.047476597130298615,
0.026871083304286003,
-0.013351627625524998,
0.013855110853910446,
0.046208564192056656,
0.03516922891139984,
0.01843307726085186,
-0.023906126618385315,
0.062469206750392914,
-0.05254872143268585,
0.030563293024897575,
-0.03019034117460251,
0.01672682911157608,
0.02832558937370777,
-0.05489831045269966,
-0.05590527877211571,
0.05202659219503403,
0.004960241261869669,
-0.017472730949521065,
0.03690345212817192,
0.00825619138777256,
0.07145731151103973,
-0.011141895316541195,
0.02418583817780018,
0.02483850158751011,
-0.033546894788742065,
-0.034255500882864,
-0.03602701798081398,
-0.031383782625198364,
-0.005407781805843115,
-0.034441977739334106,
-0.07597001641988754,
-0.024913093075156212,
0.024987682700157166,
-0.09249172359704971,
-0.003335575805976987,
-0.10539580881595612,
0.01650305837392807,
0.008451990783214569,
0.053630281239748,
-0.007785341236740351,
0.02485715039074421,
0.027337269857525826,
0.03041411191225052,
-0.05396593362092972,
0.038898736238479614,
-0.012885439209640026,
-0.03798500820994377,
-0.0536675751209259,
-0.0006538288434967399,
0.016232669353485107,
-0.010274785570800304,
0.044903237372636795,
-0.0026176462415605783,
-0.006526633631438017,
-0.013025295920670033,
-0.03173808753490448,
0.05459995195269585,
-0.036325376480817795,
0.030059808865189552,
0.039346277713775635,
-0.017416788265109062,
0.0021572853438556194,
0.02761698327958584,
-0.011095277033746243,
0.03794771060347557,
0.1050228551030159,
-0.02509956806898117,
0.03321124240756035,
0.08249665051698685,
-0.013127856887876987,
0.011291075497865677,
-0.018125394359230995,
0.023477232083678246,
0.029891980811953545,
-0.10576875507831573,
0.0299852192401886,
-0.10688760876655579,
0.01843307726085186,
-0.030171694234013557,
0.033752020448446274,
0.02185489796102047,
0.0014265356585383415,
0.007999788038432598,
-0.032483987510204315,
0.02847476862370968,
0.05251142755150795,
-0.06955526769161224,
0.05400323122739792,
0.055010195821523666,
0.007850607857108116,
0.05508478730916977,
0.10815563797950745,
0.006932217162102461,
-0.030525997281074524,
0.012885439209640026,
0.034647099673748016,
-0.004470743704587221,
-0.018936561420559883,
0.008904192596673965,
-0.06369994580745697,
0.021351415663957596,
0.0027202076744288206,
0.0007872751448303461,
0.022843217477202415,
0.033770665526390076,
-0.012372632510960102,
-0.05266060680150986,
-0.014078880660235882,
0.0053518395870924,
-0.009734007529914379,
0.05038560926914215,
-0.008326119743287563,
0.006769051309674978,
0.06343887746334076,
-0.016577649861574173,
-0.005682833027094603,
0.021388709545135498,
0.03543029725551605,
0.015132466331124306,
-0.03300611674785614,
0.09144745767116547,
0.008922840468585491,
-0.0665343627333641,
0.005953222047537565,
0.01868481934070587,
-0.050460200756788254,
-0.020717399194836617,
-0.06959255784749985,
0.08630074560642242,
-0.009263157844543457,
-0.027691572904586792,
-0.02399936318397522,
0.03979381546378136,
-0.010927448980510235,
-0.03147701919078827,
0.027393212541937828,
-0.00713267782703042,
-0.032894231379032135,
-0.03164484724402428,
0.007361110299825668,
0.008577860891819,
0.014377241022884846,
-0.023216167464852333,
0.040390536189079285,
0.048334382474422455,
0.03990570083260536,
0.0014020607341080904,
-0.012913410551846027,
0.041061848402023315,
-0.01103933434933424,
-0.000957433832809329,
0.04460487887263298,
0.0028996900655329227,
-0.005841337144374847,
0.04564914107322693,
0.01562662608921528,
0.00568749476224184,
-0.03330447897315025,
-0.05698683485388756,
-0.034628450870513916,
-0.002318120328709483,
0.03373337164521217,
-0.020530924201011658,
-0.0155427111312747,
-0.04109914228320122,
-0.003356554312631488,
0.034199558198451996,
0.005109421443194151,
0.024745265021920204,
0.006018488667905331,
-0.038264717906713486,
0.030283579602837563,
0.0203817430883646,
0.07697697728872299,
-0.049415938556194305,
0.04561184346675873,
0.027747515588998795,
0.010405318811535835,
-0.009314438328146935,
-0.0006742245750501752,
-0.02789669670164585,
-0.02293645404279232,
0.023421291261911392,
-0.001888061873614788,
0.00781797431409359,
-0.0027668264228850603,
0.01862887665629387,
-0.07451550662517548,
-0.02426042966544628,
0.012689639814198017,
0.04997536540031433,
-0.015412178821861744,
-0.028866367414593697,
0.012736259028315544,
0.03537435457110405,
0.01584107242524624,
-0.024596083909273148,
-0.022432971745729446,
0.03168214485049248,
-0.04031594842672348,
-0.0321483314037323,
-0.001502291182987392,
0.011085953563451767,
0.014936666935682297,
0.01405090931802988,
-0.061014700680971146,
-0.009090667590498924,
0.03556082770228386,
0.07996058464050293,
0.008279500529170036,
-0.054115116596221924,
-0.04867003858089447,
-0.04893110319972038,
0.0343487411737442,
0.06728027015924454,
-0.01371525414288044,
-0.0706741139292717,
0.043411437422037125,
0.030097104609012604,
-0.012064947746694088,
-0.02633030340075493,
0.0493040531873703,
0.006717770826071501,
-0.023290757089853287,
0.030749768018722534,
0.0112537806853652,
0.007333138957619667,
0.07127083837985992,
-0.035020049661397934,
0.03196185827255249,
0.03716451674699783,
-0.00781797431409359,
0.04333684593439102,
-0.020083382725715637,
0.09480401128530502,
0.010153576731681824,
-0.04852085933089256,
0.022582150995731354,
-0.0556815080344677,
-0.014088204130530357,
-0.06455773115158081,
-0.004559319466352463,
0.05765814334154129,
0.04270283132791519,
-0.003186395624652505,
-0.00104717502836138,
-0.020064735785126686,
-0.013761872425675392,
-0.029202023521065712,
0.01654035411775112,
0.015365559607744217,
0.03990570083260536,
0.06761592626571655,
-0.031160013750195503,
0.006834317464381456,
0.012381955981254578,
0.04531348496675491,
0.01991555653512478,
-0.006307525094598532,
-0.009584827348589897,
0.07869255542755127,
0.020885227248072624,
0.005678171291947365,
-0.02295510284602642,
-0.02592005953192711,
-0.01113257184624672,
0.022246496751904488,
-0.027393212541937828,
0.03725775331258774,
-0.00930977612733841,
-0.006013826467096806
] |
719,404
|
ibm_platform_services.catalog_management_v1
|
search_objects
|
List objects across catalogs.
List the available objects from both public and private catalogs. These copies
cannot be used for updating. They are not complete and only return what is visible
to the caller.
:param str query: Lucene query string.
:param int limit: (optional) The maximum number of results to return.
:param int offset: (optional) The number of results to skip before
returning values.
:param bool collapse: (optional) When true, hide private objects that
correspond to public or IBM published objects.
:param bool digest: (optional) Display a digests of search results, has
default value of true.
: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 representing a `ObjectSearchResult` object
|
def search_objects(
self, query: str, *, limit: int = None, offset: int = None, collapse: bool = None, digest: bool = None, **kwargs
) -> DetailedResponse:
"""
List objects across catalogs.
List the available objects from both public and private catalogs. These copies
cannot be used for updating. They are not complete and only return what is visible
to the caller.
:param str query: Lucene query string.
:param int limit: (optional) The maximum number of results to return.
:param int offset: (optional) The number of results to skip before
returning values.
:param bool collapse: (optional) When true, hide private objects that
correspond to public or IBM published objects.
:param bool digest: (optional) Display a digests of search results, has
default value of true.
: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 representing a `ObjectSearchResult` object
"""
if query is None:
raise ValueError('query must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='search_objects'
)
headers.update(sdk_headers)
params = {'query': query, 'limit': limit, 'offset': offset, 'collapse': collapse, 'digest': digest}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
url = '/objects'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, query: str, *, limit: Optional[int] = None, offset: Optional[int] = None, collapse: Optional[bool] = None, digest: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.02754492126405239,
-0.033709898591041565,
-0.07933761179447174,
-0.0421760119497776,
0.03034406155347824,
0.036406002938747406,
0.008603494614362717,
-0.053853411227464676,
0.005521005019545555,
-0.009410608559846878,
-0.02848941646516323,
0.02682366967201233,
0.010286413133144379,
-0.012183990329504013,
0.00265102693811059,
0.05460900813341141,
-0.02479729801416397,
-0.02041827328503132,
0.057631392031908035,
0.005181845277547836,
-0.018907081335783005,
0.05910823866724968,
0.05381906405091286,
0.06312663853168488,
0.022650716826319695,
-0.05622323602437973,
0.030052125453948975,
-0.00974547490477562,
-0.005327812861651182,
-0.0014414287870749831,
-0.020761726424098015,
-0.007517324760556221,
0.02479729801416397,
0.053922101855278015,
-0.029880400747060776,
-0.05694448575377464,
0.11402635276317596,
0.03340079262852669,
-0.024350808933377266,
0.019748540595173836,
-0.05426555499434471,
0.00973688904196024,
0.0535443015396595,
-0.027081258594989777,
0.08799262344837189,
0.021877948194742203,
0.005383623763918877,
0.01581600494682789,
-0.013042623177170753,
0.027270158752799034,
-0.03120269440114498,
-0.00808402244001627,
-0.026033727452158928,
-0.06570253521203995,
0.011643052101135254,
-0.013317384757101536,
-0.001418889733031392,
0.030241025611758232,
-0.031116830185055733,
0.022307263687253,
-0.02223857305943966,
0.016889294609427452,
0.003559030359610915,
0.012578961439430714,
-0.07343022525310516,
0.02754492126405239,
-0.01746457815170288,
0.017086779698729515,
-0.04330940544605255,
0.005053050350397825,
-0.021946638822555542,
0.021551668643951416,
0.02570744790136814,
0.007710516918450594,
-0.02862679772078991,
-0.0030653169378638268,
0.00735418451949954,
-0.021963810548186302,
-0.013987118378281593,
-0.057734426110982895,
-0.011428394354879856,
-0.04945721477270126,
0.004988653119653463,
-0.046675246208906174,
0.0008795613539405167,
0.030927931889891624,
-0.005946028046309948,
-0.023406313732266426,
0.07150688767433167,
0.022702235728502274,
-0.007306959945708513,
0.04056178405880928,
-0.019868748262524605,
0.01950812339782715,
-0.008187057450413704,
0.013085554353892803,
-0.004645199980586767,
-0.025209439918398857,
-0.036543384194374084,
0.019027289003133774,
-0.008187057450413704,
-0.046675246208906174,
0.04245077446103096,
0.018718181177973747,
-0.022650716826319695,
-0.014167430810630322,
-0.010183378122746944,
-0.0005554276867769659,
0.05570805445313454,
0.06714503467082977,
0.007560256402939558,
0.02751057595014572,
0.049182452261447906,
-0.02208402007818222,
-0.03477460518479347,
-0.008989878930151463,
0.018941426649689674,
-0.01648573763668537,
-0.05168965831398964,
-0.05251394584774971,
-0.006787487305700779,
-0.0038337926380336285,
0.028025753796100616,
-0.008144126273691654,
0.03678380325436592,
0.011299599893391132,
0.021637530997395515,
0.004318919964134693,
-0.015360930003225803,
0.0011580801801756024,
-0.02661759778857231,
0.015412447974085808,
-0.0314946286380291,
0.019903093576431274,
0.05725359544157982,
0.027081258594989777,
-0.00648267287760973,
-0.03990922495722771,
-0.06872492283582687,
0.06676723808050156,
0.0013823978370055556,
-0.008333025500178337,
0.03474025800824165,
-0.004752529319375753,
-0.05083102360367775,
0.00852192472666502,
0.060516394674777985,
-0.03034406155347824,
0.0038316461723297834,
0.01249309815466404,
0.002241030102595687,
-0.03863844648003578,
0.06443175673484802,
0.007135233376175165,
-0.06254276633262634,
-0.035547371953725815,
0.04832381755113602,
-0.08840476721525192,
-0.0277338195592165,
0.022341609001159668,
0.04695000872015953,
-0.004447714891284704,
-0.03589082509279251,
-0.0010013798018917441,
-0.016459979116916656,
-0.010423794388771057,
-0.01007175538688898,
-0.04512970894575119,
-0.06240538880228996,
-0.028935903683304787,
-0.02399018406867981,
0.019748540595173836,
-0.023749766871333122,
-0.029794536530971527,
0.0008591688238084316,
0.045576196163892746,
0.002844219096004963,
0.010054582729935646,
-0.039291009306907654,
-0.035409990698099136,
-0.06189020723104477,
-0.06068812310695648,
-0.024230599403381348,
-0.02112235128879547,
-0.00876663438975811,
0.03595951572060585,
-0.01832321099936962,
0.03606254979968071,
0.033606864511966705,
0.01155718881636858,
-0.02936522103846073,
0.007774914614856243,
0.02046979032456875,
-0.003981906920671463,
-0.049285486340522766,
-0.030824895948171616,
-0.007036490831524134,
0.025106405839323997,
-0.017876721918582916,
0.08517631143331528,
-0.04324071481823921,
0.0661490261554718,
0.023612385615706444,
-0.04818643629550934,
0.03242195025086403,
0.026342835277318954,
-0.040046606212854385,
-0.010509657673537731,
-0.02122538723051548,
-0.03980618715286255,
0.0020939891692250967,
0.028111618012189865,
-0.008534803986549377,
-0.006830418948084116,
0.0038316461723297834,
0.10365407913923264,
0.01925053261220455,
-0.03140876442193985,
0.026171108707785606,
-0.053132157772779465,
0.026016555726528168,
-0.06065377593040466,
-0.011342531070113182,
-0.01749892346560955,
-0.05165531113743782,
0.006551363505423069,
0.06604598462581635,
-0.019697021692991257,
0.040115296840667725,
-0.10578348487615585,
0.0012621893547475338,
-0.026583252474665642,
-0.01245875284075737,
0.04787733033299446,
0.006590002216398716,
0.002466420875862241,
0.041145652532577515,
0.04221035912632942,
-0.02943391166627407,
-0.007358477916568518,
0.01755044236779213,
-0.02953694760799408,
-0.037436362355947495,
0.015506897121667862,
-0.04911376163363457,
0.001252529677003622,
-0.02040110155940056,
0.007989572361111641,
0.0020843297243118286,
-0.028386380523443222,
-0.0038616983219981194,
-0.04337809607386589,
0.023595212027430534,
-0.05375037342309952,
0.06312663853168488,
-0.07239986211061478,
-0.08936643600463867,
-0.05093406140804291,
-0.007684757933020592,
-0.025449857115745544,
-0.040115296840667725,
-0.05508984252810478,
-0.03334927558898926,
0.05440293624997139,
0.01702667586505413,
0.02488316036760807,
0.033709898591041565,
0.004179392009973526,
0.007341305259615183,
0.021963810548186302,
0.0007432535057887435,
0.006036184262484312,
-0.01378963328897953,
0.03599386289715767,
-0.03527260944247246,
0.050212811678647995,
-0.01943943277001381,
-0.027287330478429794,
-0.09699109196662903,
0.008169884793460369,
0.009290399961173534,
-0.022736581042408943,
-0.004308186937123537,
-0.033538173884153366,
0.08524500578641891,
-0.017808031290769577,
0.030189506709575653,
0.032645195722579956,
-0.028042927384376526,
-0.05141489580273628,
0.040115296840667725,
0.008749461732804775,
0.02776816487312317,
-0.06453479826450348,
-0.049491558223962784,
0.024419499561190605,
-0.042965956032276154,
-0.015738727524876595,
-0.00959092192351818,
0.007130940444767475,
-0.052033111453056335,
-0.00486844452098012,
0.08181047439575195,
-0.03623427823185921,
0.0645691379904747,
-0.005662679206579924,
0.0649125948548317,
0.005984666291624308,
0.03613124042749405,
0.01763630472123623,
-0.027201468124985695,
0.043000299483537674,
0.025346821174025536,
-0.02301134169101715,
-0.06975527852773666,
-0.05533025786280632,
0.004157926421612501,
-0.015378102660179138,
-0.010861696675419807,
0.02295982465147972,
-0.015927627682685852,
0.00973688904196024,
-0.007719103246927261,
-0.06010425090789795,
0.05718490481376648,
-0.05467769876122475,
-0.03987487778067589,
0.06477521359920502,
0.052136145532131195,
-0.02026372030377388,
0.012681997381150723,
-0.032593678683042526,
0.04605703055858612,
0.04124869033694267,
-0.00036169879604130983,
-0.09232012927532196,
0.027888372540473938,
-0.04420238360762596,
0.009118673391640186,
0.02874700538814068,
0.01628825254738331,
-0.04183255881071091,
-0.030996622517704964,
0.0012407235335558653,
-0.023251758888363838,
-0.005920269060879946,
0.04990370199084282,
-0.056704070419073105,
0.00695062754675746,
-0.07741427421569824,
0.02579331025481224,
0.016399875283241272,
0.013987118378281593,
0.012724928557872772,
0.06793497502803802,
0.010380863212049007,
0.02496902458369732,
0.009565162472426891,
-0.026102418079972267,
-0.05289174243807793,
-0.034620050340890884,
-0.019817231222987175,
-0.027132777497172356,
-0.03568475320935249,
0.013102727010846138,
-0.019078807905316353,
0.013918427750468254,
-0.01601349003612995,
0.04324071481823921,
-0.05907389521598816,
-0.04492363706231117,
-0.03870713710784912,
-0.05629192665219307,
0.028077272698283195,
0.0028785644099116325,
0.02761361002922058,
-0.04616006463766098,
-0.03413921594619751,
-0.03504936397075653,
0.06292056292295456,
0.017103953287005424,
-0.0020832563750445843,
0.006899109575897455,
-0.04306899011135101,
0.028437897562980652,
0.0020478377118706703,
0.00692057516425848,
0.06206193566322327,
0.004342532251030207,
0.003413063008338213,
-0.0060919951647520065,
-0.02046979032456875,
0.018666664138436317,
0.0014929467579349875,
-0.00020915742788929492,
0.005671265535056591,
0.03760809078812599,
-0.037505052983760834,
-0.053132157772779465,
-0.04801471158862114,
0.03853541240096092,
0.012913827784359455,
-0.009256054647266865,
0.015378102660179138,
-0.022702235728502274,
-0.07899416238069534,
0.06961789727210999,
-0.05818091705441475,
-0.0040055192075669765,
0.03856975585222244,
0.030945103615522385,
-0.11801040917634964,
-0.013987118378281593,
0.02302851527929306,
-0.029863227158784866,
0.007246855646371841,
-0.017490336671471596,
0.038260649889707565,
0.008045383729040623,
0.03498067334294319,
0.03144311159849167,
-0.023337623104453087,
0.042072977870702744,
-0.004110701382160187,
0.0052118971943855286,
-0.02223857305943966,
-0.004003372509032488,
-0.026411525905132294,
0.05625757947564125,
-0.04588530212640762,
0.023663902655243874,
-0.005984666291624308,
-0.058524370193481445,
-0.0349978469312191,
-0.021517323330044746,
0.0042416430078446865,
-0.03664642199873924,
-0.02045261859893799,
-0.007757741957902908,
0.022513335570693016,
0.009084328077733517,
-0.039084937423467636,
-0.01292241457849741,
0.0022624956909567118,
0.02754492126405239,
0.004945721477270126,
0.05323519557714462,
-0.0031447403598576784,
0.03424225002527237,
-0.01107635535299778,
0.05649799853563309,
0.001237503602169454,
-0.006641519721597433,
-0.026085246354341507,
0.032748229801654816,
-0.0701674222946167,
0.027424711734056473,
0.047430843114852905,
-0.016210975125432014,
-0.023784112185239792,
-0.03386445343494415,
-0.03949708119034767,
-0.01249309815466404,
-0.0105440029874444,
-0.01296534575521946,
0.023406313732266426,
-0.03400183469057083,
0.012570375576615334,
-0.011711742728948593,
-0.06697331368923187,
-0.03987487778067589,
-0.006160685792565346,
-0.042794227600097656,
0.007259734906256199,
0.05910823866724968,
0.02759643830358982,
-0.007409995887428522,
-0.039153628051280975,
-0.00022928162070456892,
-0.0021165283396840096,
0.007500152103602886,
-0.03221587836742401,
0.07363629341125488,
-0.025518547743558884,
-0.006821832619607449,
0.016107939183712006,
0.06886230409145355,
0.025381166487932205,
0.052067454904317856,
-0.03681814670562744,
0.06985831260681152,
0.09314441680908203,
-0.054025135934352875,
-0.010458139702677727,
0.017138298600912094,
0.046640899032354355,
-0.05508984252810478,
0.02871266007423401,
-0.030807722359895706,
0.008676478639245033,
0.05278870835900307,
-0.029159149155020714,
0.03846672177314758,
-0.023303277790546417,
-0.018151484429836273,
-0.026291318237781525,
0.07150688767433167,
-0.013566388748586178,
0.030086470767855644,
-0.005662679206579924,
-0.053990792483091354,
0.03147745504975319,
0.03228456899523735,
0.0016131552401930094,
-0.004919962491840124,
0.06305794417858124,
-0.057631392031908035,
0.029897572472691536,
-0.018786871805787086,
0.03393314406275749,
0.02390431985259056,
0.03221587836742401,
-0.03695552796125412,
-0.05241090804338455,
-0.02218705601990223,
-0.02776816487312317,
-0.06151241064071655,
0.003471020609140396,
0.0015262187225744128,
0.03795154392719269,
-0.015824591740965843,
-0.02017785608768463,
-0.0754222497344017,
-0.025175096467137337,
0.027184294536709785,
0.03420790657401085,
-0.019611159339547157,
-0.00265102693811059,
0.11436980962753296,
0.03973749652504921,
0.0440993495285511,
0.019559640437364578,
0.012913827784359455,
-0.0011430541053414345,
-0.01935356855392456,
0.048461198806762695,
0.03231891617178917,
-0.04732780531048775,
0.04519839957356453,
0.00624225614592433,
0.04495798051357269,
-0.049182452261447906,
0.02295982465147972,
0.01718123070895672,
0.013463352806866169,
0.06920575350522995,
-0.0025758964475244284,
-0.05828395113348961,
-0.028953077271580696,
-0.0105440029874444,
0.03134007379412651,
0.06539342552423477,
0.022736581042408943,
0.010878869332373142,
-0.018220175057649612,
0.035581719130277634,
0.021998155862092972,
-0.00010156008647754788,
0.026188282296061516,
0.014064394868910313,
0.02675497904419899,
-0.008006745018064976,
-0.05646365135908127,
0.04502667114138603,
0.046606555581092834,
0.030824895948171616,
0.015068994835019112,
-0.036543384194374084,
0.036509040743112564,
-0.03616558760404587,
0.033486656844615936,
-0.04911376163363457,
0.02769947424530983,
-0.06553080677986145,
-0.025604411959648132,
0.018992943689227104,
-0.00005614649489871226,
-0.04306899011135101,
0.04135172441601753,
-0.05241090804338455,
0.038088925182819366,
-0.021019315347075462,
-0.023406313732266426,
0.01016620546579361,
-0.0285237617790699,
0.03939404338598251,
-0.06769455969333649,
-0.05326953902840614,
-0.012407234869897366,
-0.05361299216747284,
-0.009831338189542294,
0.07260593771934509,
-0.011531430296599865,
-0.0005876264185644686,
-0.012441580183804035,
0.03137442097067833,
0.013197177089750767,
0.01949094980955124,
-0.012681997381150723,
0.01386690977960825,
-0.0039947861805558205,
-0.011840538121759892,
-0.013231521472334862,
0.03527260944247246,
-0.00852192472666502,
0.032782576978206635,
-0.021963810548186302,
0.06082550436258316,
0.004151486791670322,
-0.011394049040973186,
0.03408769890666008,
0.049285486340522766,
0.015403861179947853,
0.036406002938747406,
-0.06477521359920502,
0.03963446244597435,
0.003958294168114662,
-0.007684757933020592,
0.040046606212854385,
0.013669424690306187,
-0.007225389592349529,
0.03242195025086403,
0.013188590295612812,
0.020847588777542114,
-0.006753141991794109,
0.014313398860394955,
0.020778898149728775,
0.02107083424925804,
-0.017790859565138817,
0.008878257125616074,
-0.0014478685334324837,
0.012175404466688633,
-0.012141059152781963,
0.03994356840848923,
-0.07061391323804855,
0.03966880589723587,
0.009942960925400257,
-0.0041557797230780125,
0.08297821134328842,
0.011677397415041924,
0.00917019136250019,
0.013343144208192825,
0.026943877339363098,
0.013059795834124088,
-0.016829190775752068,
-0.022891134023666382,
-0.009015637449920177,
-0.0014553815126419067,
0.050281502306461334,
0.020933452993631363,
0.03571910038590431,
-0.07370498776435852,
0.02778533659875393,
-0.019868748262524605,
0.05447162687778473,
-0.004555043764412403,
0.037195947021245956,
-0.04993804916739464,
0.03041275218129158,
0.05873044207692146,
0.03314320370554924,
0.03302299231290817,
0.07281200587749481,
0.043824587017297745,
-0.03420790657401085,
0.03230174258351326,
0.010337931104004383,
-0.007736275903880596,
0.03163200989365578,
0.0012364303693175316,
-0.044648874551057816,
-0.002314013661816716,
-0.025106405839323997,
0.06347008794546127,
-0.020641516894102097,
-0.041214343160390854,
-0.003093222388997674,
-0.026480216532945633,
-0.028609624132514,
-0.0535443015396595,
0.00916160549968481,
-0.050144121050834656,
0.028403552249073982,
-0.045713577419519424,
-0.032748229801654816,
0.0792689248919487,
-0.004816926550120115,
-0.04808340221643448,
0.05134620517492294,
0.00184605922549963,
0.06529039144515991,
0.030653169378638268,
0.04715608060359955,
0.03134007379412651,
-0.01648573763668537,
0.05522722005844116,
-0.00692057516425848,
-0.01743023283779621,
-0.0015036795521155,
-0.01943943277001381,
-0.015927627682685852,
0.06295491009950638,
0.025140751153230667,
-0.01842624694108963,
0.04354982450604439,
0.007221096660941839,
0.053716029971838,
0.06017294153571129,
-0.007628947030752897,
-0.02955411933362484,
0.023423485457897186,
-0.037505052983760834,
0.031082484871149063,
0.045610543340444565,
0.06168413534760475,
-0.01336890272796154,
-0.018065620213747025,
0.029262185096740723,
-0.01286230981349945,
-0.022616371512413025,
-0.00011557994002941996,
0.03168352693319321,
-0.024694262072443962,
-0.02943391166627407,
0.004696717951446772,
-0.05907389521598816,
0.013884082436561584,
-0.05089971423149109,
-0.0069678002037107944,
0.02672063373029232,
-0.02033241093158722,
0.026342835277318954,
0.002741183154284954,
-0.04698435217142105,
-0.0663207471370697,
-0.01520637609064579,
0.05660103261470795,
0.00440048985183239,
-0.005907389335334301,
0.027149949222803116,
0.04519839957356453,
0.005319226533174515,
0.02213553711771965,
0.025415511801838875,
-0.01749892346560955,
0.01923336088657379,
-0.018014103174209595,
0.004187978338450193,
0.04248512163758278,
-0.04224470257759094,
-0.029777364805340767,
-0.03477460518479347,
-0.03487763926386833,
-0.0077019305899739265,
0.004452007822692394,
0.07171296328306198,
0.034723084419965744,
-0.0479460209608078
] |
719,407
|
ibm_platform_services.catalog_management_v1
|
set_deprecate_version
|
Sets version to be deprecated in a certain time period.
Set or cancel the version to be deprecated.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str setting: Set deprecation (true) or cancel deprecation (false).
:param str description: (optional) Additional information that users can
provide to be displayed in deprecation notification.
:param int days_until_deprecate: (optional) Specifies the amount of days
until product is not available in catalog.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def set_deprecate_version(
self, version_loc_id: str, setting: str, *, description: str = None, days_until_deprecate: int = None, **kwargs
) -> DetailedResponse:
"""
Sets version to be deprecated in a certain time period.
Set or cancel the version to be deprecated.
:param str version_loc_id: A dotted value of `catalogID`.`versionID`.
:param str setting: Set deprecation (true) or cancel deprecation (false).
:param str description: (optional) Additional information that users can
provide to be displayed in deprecation notification.
:param int days_until_deprecate: (optional) Specifies the amount of days
until product is not available in catalog.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if version_loc_id is None:
raise ValueError('version_loc_id must be provided')
if setting is None:
raise ValueError('setting must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='set_deprecate_version'
)
headers.update(sdk_headers)
data = {'description': description, 'days_until_deprecate': days_until_deprecate}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['version_loc_id', 'setting']
path_param_values = self.encode_path_vars(version_loc_id, setting)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/versions/{version_loc_id}/deprecate/{setting}'.format(**path_param_dict)
request = self.prepare_request(method='POST', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(self, version_loc_id: str, setting: str, *, description: Optional[str] = None, days_until_deprecate: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.012345255352556705,
-0.02995634637773037,
-0.01332109235227108,
-0.013302680104970932,
-0.0033670971170067787,
-0.028170380741357803,
-0.04510943591594696,
0.049344196915626526,
-0.0014672073302790523,
0.0064580137841403484,
-0.05037527158856392,
-0.028906861320137978,
0.016791757196187973,
-0.018688194453716278,
0.0076179709285497665,
0.018632957711815834,
-0.030066819861531258,
0.0009718091459944844,
0.05512557178735733,
-0.03220261260867119,
0.020750340074300766,
-0.039217591285705566,
-0.021652529016137123,
0.02927510254085064,
0.00593327172100544,
0.06554677337408066,
0.020952872931957245,
0.027857378125190735,
0.0005420036613941193,
-0.030416646972298622,
-0.0042577781714499,
-0.0008774475427344441,
-0.01797933131456375,
0.0739426463842392,
-0.01171004120260477,
-0.01828313060104847,
-0.004948228597640991,
0.004589194431900978,
-0.07998178899288177,
0.05571475625038147,
-0.03220261260867119,
0.019019611179828644,
0.027470724657177925,
-0.023383257910609245,
0.004598400555551052,
0.022425834089517593,
-0.028649093583226204,
0.06241672858595848,
-0.0286859180778265,
0.019387850537896156,
0.048276301473379135,
0.014554697088897228,
0.026310767978429794,
-0.02782055363059044,
0.019995447248220444,
0.034964416176080704,
0.05987586826086044,
0.08057097345590591,
0.024285446852445602,
0.02393561787903309,
-0.010853881947696209,
0.02205759286880493,
-0.042642224580049515,
-0.010669762268662453,
-0.028557034209370613,
-0.005795181263238192,
0.012741114012897015,
-0.023954030126333237,
0.011746864765882492,
0.046140506863594055,
0.009353303350508213,
-0.0042969039641320705,
-0.0359586626291275,
0.027470724657177925,
0.07924530655145645,
-0.025905704125761986,
-0.04481484368443489,
-0.004764108452945948,
-0.015880363062024117,
-0.03397016599774361,
-0.018237100914120674,
-0.0505962148308754,
0.04871818795800209,
-0.01496896706521511,
0.014462636783719063,
0.019479911774396896,
0.003143851412460208,
-0.030656004324555397,
0.026605360209941864,
0.05534651502966881,
0.004529355559498072,
0.011295770294964314,
-0.04396789148449898,
0.007005771156400442,
0.003703116439282894,
0.011682422831654549,
0.027691669762134552,
-0.022591540589928627,
0.02062145620584488,
-0.0015615689335390925,
0.04452025145292282,
-0.08859860897064209,
-0.03702656179666519,
-0.02732342854142189,
0.03800239786505699,
-0.09839380532503128,
-0.019516734406352043,
0.011452272534370422,
0.04426248371601105,
-0.07475277781486511,
0.04790806025266647,
-0.032128963619470596,
-0.04017501324415207,
-0.020069096237421036,
-0.028759565204381943,
0.01501499768346548,
-0.00255236541852355,
-0.07401629537343979,
-0.022867722436785698,
-0.003516694763675332,
-0.0004105303669348359,
-0.047024283558130264,
-0.029238278046250343,
0.043305058032274246,
-0.02227853797376156,
-0.0040207235142588615,
-0.03371239826083183,
0.06558359414339066,
0.07110720127820969,
-0.012520169839262962,
-0.022444244474172592,
-0.0046766516752541065,
-0.006370557006448507,
0.02859385870397091,
0.007843517698347569,
-0.022241713479161263,
-0.0011841226369142532,
0.059544455260038376,
-0.01642351597547531,
0.03072965145111084,
-0.003947075456380844,
0.004451104439795017,
0.005307263229042292,
0.0097215436398983,
-0.006499440874904394,
-0.03168707713484764,
-0.03255243971943855,
0.0005187009810470045,
-0.070002481341362,
0.034283168613910675,
-0.01007137168198824,
0.045956388115882874,
0.02023480273783207,
-0.045072611421346664,
0.010273903608322144,
-0.05604616925120354,
-0.016893023625016212,
-0.022830897942185402,
0.0476502925157547,
0.019884975627064705,
0.031944844871759415,
-0.049822911620140076,
0.07725681364536285,
0.01098276674747467,
0.056745827198028564,
-0.0005394144682213664,
-0.003397016553208232,
-0.013680126518011093,
-0.016662873327732086,
0.030784888193011284,
-0.0026421239599585533,
0.06698291003704071,
0.006927520502358675,
0.013818216510117054,
-0.011986221186816692,
0.04013819247484207,
0.06856633722782135,
-0.04455707594752312,
0.020584631711244583,
0.0003837754193227738,
0.008708883076906204,
0.029330339282751083,
-0.03918076679110527,
0.028851626440882683,
0.024451155215501785,
-0.001542006153613329,
-0.004750299733132124,
0.039328061044216156,
-0.05078033357858658,
0.009436157532036304,
0.06039140745997429,
0.03781827539205551,
0.05777690187096596,
0.03929123654961586,
-0.023493729531764984,
-0.0034154285676777363,
-0.006453410722315311,
-0.0681244507431984,
0.04142703115940094,
-0.017187615856528282,
0.04879183694720268,
0.013818216510117054,
0.01682858169078827,
-0.014941349625587463,
0.0476502925157547,
0.04444660246372223,
0.05777690187096596,
-0.058697499334812164,
-0.0690450519323349,
0.0057031214237213135,
0.02682630531489849,
0.03279179707169533,
0.017169203609228134,
-0.030803300440311432,
-0.03713703155517578,
-0.02353055402636528,
0.02334643341600895,
0.006034537684172392,
-0.03899664431810379,
-0.0165339894592762,
0.025924116373062134,
-0.06304273754358292,
0.05008067935705185,
0.0389229990541935,
0.012676672078669071,
0.006895299069583416,
0.030269350856542587,
-0.04161115363240242,
-0.0389229990541935,
-0.03555360063910484,
-0.03266291320323944,
0.025113986805081367,
0.049454670399427414,
-0.011406242847442627,
-0.005081715993583202,
-0.037781454622745514,
-0.019977035000920296,
0.011654805392026901,
0.017758388072252274,
0.011617980897426605,
0.019185319542884827,
-0.030600767582654953,
0.05122222378849983,
0.08624187111854553,
-0.01182051282376051,
0.05368943139910698,
-0.02605300024151802,
0.017546650022268295,
0.00035241746809333563,
-0.03371239826083183,
0.011028796434402466,
-0.06797715276479721,
-0.008437305688858032,
0.04742934927344322,
0.06543629616498947,
-0.025316519662737846,
0.031852785497903824,
-0.007134655490517616,
0.03536947816610336,
-0.05276883393526077,
-0.051111750304698944,
-0.027249781414866447,
-0.09309114515781403,
0.0025500638876110315,
-0.017878064885735512,
-0.04337870702147484,
0.05843973159790039,
-0.013008087873458862,
-0.000248706026468426,
0.03984360024333,
-0.05512557178735733,
0.014158838428556919,
-0.038849350064992905,
-0.024561626836657524,
0.0012623737566173077,
0.016570812091231346,
-0.012179546989500523,
-0.07497372478246689,
0.01732570491731167,
-0.014131220988929272,
0.012179546989500523,
-0.040506429970264435,
0.03654784709215164,
0.1341131180524826,
0.004879183601588011,
-0.008313024416565895,
-0.028464972972869873,
0.05843973159790039,
-0.0008935580844990909,
0.0104488180950284,
-0.0003466636990197003,
0.016552399843931198,
0.024451155215501785,
-0.0005437298095785081,
-0.05729818716645241,
0.026715831831097603,
-0.021634116768836975,
0.03229467198252678,
0.017528237774968147,
-0.014996585436165333,
-0.013680126518011093,
-0.025353344157338142,
0.03818651661276817,
0.03054553084075451,
0.04120608791708946,
-0.041390206664800644,
0.07534196227788925,
-0.03435681760311127,
0.04753981903195381,
-0.018688194453716278,
-0.008639837615191936,
-0.0038227944169193506,
-0.03833381459116936,
-0.06212213635444641,
-0.000672038528136909,
-0.016506370157003403,
-0.03277338668704033,
-0.04485166817903519,
0.04927055165171623,
0.06863998621702194,
0.0064810290932655334,
-0.012879204005002975,
0.01249255146831274,
0.0204189233481884,
0.044593896716833115,
-0.040506429970264435,
0.03431999310851097,
-0.0036616893485188484,
0.01769394613802433,
0.018154246732592583,
-0.030876947566866875,
-0.03895982354879379,
0.0038688245695084333,
0.011397036723792553,
0.01133259478956461,
-0.04606685787439346,
-0.004623717162758112,
-0.07011295109987259,
0.024727335199713707,
0.051885057240724564,
0.03431999310851097,
-0.028262441977858543,
-0.051001280546188354,
0.008773325011134148,
-0.044483426958322525,
0.024377506226301193,
0.036511022597551346,
-0.003037982387468219,
0.06352145224809647,
0.06075964495539665,
-0.055088747292757034,
0.00787573866546154,
-0.0008170331129804254,
0.07607844471931458,
0.027065660804510117,
-0.016893023625016212,
0.0330311544239521,
0.01361568458378315,
-0.0033624940551817417,
-0.0651785284280777,
-0.09250196069478989,
0.0023406273685395718,
0.02898051030933857,
0.0016237094532698393,
0.0012876902474090457,
-0.03461458534002304,
0.015530534088611603,
-0.07029706984758377,
0.005629473365843296,
-0.02189188450574875,
-0.03374922275543213,
0.02811514586210251,
0.0496019646525383,
0.00043527153320610523,
0.05413132160902023,
-0.04058007895946503,
-0.06573089212179184,
0.037100207060575485,
-0.01790568418800831,
0.00750749884173274,
-0.016957465559244156,
-0.034467291086912155,
-0.013716950081288815,
0.044778019189834595,
0.06967106461524963,
0.00031300424598157406,
0.016975877806544304,
-0.023493729531764984,
-0.022315360605716705,
0.019387850537896156,
0.02828085422515869,
-0.020971283316612244,
-0.004234763327986002,
0.04908642917871475,
-0.026697419583797455,
-0.04724522680044174,
-0.03293909505009651,
-0.012308431789278984,
0.03513012453913689,
-0.05972857400774956,
0.004430390894412994,
0.051295872777700424,
-0.029919523745775223,
-0.0035189962945878506,
-0.007120846305042505,
-0.009555835276842117,
0.013229032047092915,
-0.04197939112782478,
-0.01964561827480793,
-0.02121064066886902,
-0.00660991296172142,
-0.04787123575806618,
0.005523604340851307,
-0.009601864963769913,
0.020584631711244583,
0.0758574977517128,
-0.04650874808430672,
0.05173775926232338,
0.05648805946111679,
-0.023015018552541733,
0.034669823944568634,
-0.02148682065308094,
0.06116471067070961,
0.014628345146775246,
-0.03634531423449516,
-0.05262153595685959,
-0.007304966449737549,
-0.007001168560236692,
-0.0427895225584507,
-0.025519050657749176,
0.0564144104719162,
-0.011010384187102318,
-0.01749141328036785,
-0.016009246930480003,
0.002354436321184039,
-0.007590353023260832,
0.03629007935523987,
0.0006967796362005174,
-0.043599650263786316,
0.021744588389992714,
-0.004856168758124113,
-0.027654845267534256,
0.010411993600428104,
-0.012639847584068775,
-0.015631800517439842,
-0.00179977435618639,
-0.004948228597640991,
-0.034853942692279816,
0.02995634637773037,
-0.053137071430683136,
0.041758447885513306,
0.031447719782590866,
0.006517853122204542,
-0.017565062269568443,
-0.05427861586213112,
-0.0369344986975193,
-0.03122677654027939,
-0.020179567858576775,
-0.00942695140838623,
0.02614505961537361,
0.033307332545518875,
-0.03225784748792648,
-0.09117629379034042,
0.0301404669880867,
-0.008151919580996037,
0.07379535585641861,
0.01585274375975132,
-0.04245810583233833,
-0.04684016481041908,
-0.0034085242077708244,
-0.013486800715327263,
-0.0788034200668335,
0.002819339744746685,
0.060833293944597244,
-0.042936816811561584,
0.034577760845422745,
-0.02178141288459301,
0.01074341032654047,
-0.024543214589357376,
0.012510963715612888,
-0.013588066212832928,
0.008727294392883778,
0.01380901038646698,
-0.01973767951130867,
0.009592659771442413,
-0.05203235149383545,
0.011737658642232418,
0.012382079847157001,
-0.049233727157115936,
0.039438534528017044,
0.014683580957353115,
-0.03343621641397476,
-0.012998881749808788,
-0.025132399052381516,
-0.001597242197021842,
0.02227853797376156,
0.025795232504606247,
-0.03152136877179146,
0.03269973769783974,
-0.03490917757153511,
0.01596321538090706,
-0.012225577607750893,
-0.0043958681635558605,
-0.026881540194153786,
0.03866523131728172,
-0.04190574586391449,
-0.0049252137541770935,
0.04304729029536247,
-0.015981627628207207,
-0.027489136904478073,
-0.04941784590482712,
0.01195860281586647,
0.06598865985870361,
0.014794053509831429,
0.014803259633481503,
0.0340254008769989,
-0.05843973159790039,
0.035940252244472504,
0.008101286366581917,
-0.008345245383679867,
0.013873452320694923,
0.07917165756225586,
0.0738689973950386,
-0.01719682104885578,
0.016561606898903847,
-0.01759267970919609,
-0.03988042101264,
-0.04842359572649002,
0.018550103530287743,
0.019203729927539825,
-0.08528444916009903,
-0.014416607096791267,
-0.01576068438589573,
0.005721533205360174,
0.03907029330730438,
-0.0020863113459199667,
-0.07836153358221054,
0.024580039083957672,
-0.051885057240724564,
-0.002359039383009076,
0.01113926898688078,
0.02704724855720997,
-0.017675533890724182,
-0.027857378125190735,
-0.06768256425857544,
-0.023217549547553062,
0.0208976361900568,
0.05873432382941246,
0.0027618021704256535,
-0.06186436861753464,
-0.0015224433736875653,
0.018338365480303764,
0.08447431772947311,
0.01225319504737854,
-0.05564110726118088,
0.029993170872330666,
-0.004195637535303831,
-0.012207165360450745,
0.015705447643995285,
-0.02500351518392563,
-0.0690082311630249,
0.035148534923791885,
0.0923546627163887,
-0.021799825131893158,
-0.0028469576500356197,
0.05891844630241394,
0.03929123654961586,
-0.0320553183555603,
-0.03341780602931976,
-0.053026601672172546,
0.0004663417930714786,
-0.05659853294491768,
-0.013072529807686806,
0.009795191697776318,
-0.03733956441283226,
0.025629524141550064,
0.045735444873571396,
-0.03895982354879379,
0.025647936388850212,
0.04426248371601105,
-0.028722742572426796,
0.0104488180950284,
0.005841211415827274,
-0.053247544914484024,
-0.011203710921108723,
0.03133724629878998,
0.017924096435308456,
0.04971243813633919,
0.11400718986988068,
0.023291198536753654,
-0.014573109336197376,
-0.04385741800069809,
0.0067387972958385944,
-0.05726136267185211,
-0.021652529016137123,
0.02071351557970047,
-0.025206048041582108,
-0.03536947816610336,
0.033491455018520355,
0.045735444873571396,
-0.01710476167500019,
0.012750320136547089,
0.012437315657734871,
-0.031447719782590866,
0.034964416176080704,
0.013054117560386658,
-0.03043505921959877,
0.017970126122236252,
-0.0320737287402153,
-0.032828621566295624,
-0.008382069878280163,
-0.003861919976770878,
0.004411979112774134,
0.020345276221632957,
-0.005150760989636183,
-0.010218667797744274,
0.005090922117233276,
0.03965947777032852,
-0.034172698855400085,
-0.04588273912668228,
-0.015042615123093128,
0.02537175454199314,
0.013118560425937176,
-0.009804397821426392,
-0.05048574134707451,
-0.0006047195638529956,
0.020566219463944435,
-0.051700934767723083,
-0.04256857559084892,
0.000579690735321492,
-0.022444244474172592,
0.049454670399427414,
0.030177291482686996,
-0.007705427706241608,
-0.010365963913500309,
-0.027268193662166595,
0.013385534286499023,
-0.018043773248791695,
0.055383339524269104,
0.024819394573569298,
0.13440769910812378,
0.0466928668320179,
0.0097215436398983,
0.04220033809542656,
-0.05398402363061905,
0.09272290021181107,
0.006872284226119518,
-0.025924116373062134,
0.03240514546632767,
0.003710020799189806,
-0.02859385870397091,
0.02780214138329029,
-0.018927549943327904,
-0.061496127396821976,
-0.025850467383861542,
0.0041427030228078365,
-0.013698538765311241,
0.047208406031131744,
0.021321112290024757,
0.0007784829940646887,
0.03954900801181793,
-0.031153127551078796,
0.005634076427668333,
-0.013054117560386658,
0.0277284923940897,
0.015723859891295433,
0.014352165162563324,
-0.03170548751950264,
0.016165748238563538,
0.008800942450761795,
0.030416646972298622,
-0.02734184078872204,
-0.0026743451599031687,
0.05656170845031738,
0.007673206739127636,
-0.0641842782497406,
-0.020345276221632957,
0.003325670026242733,
-0.03579295426607132,
0.014978173188865185,
0.003613357665017247,
0.059286683797836304,
-0.02218647673726082,
0.03200007975101471,
-0.058992091566324234,
0.014140427112579346,
-0.003698513377457857,
-0.013937894254922867,
-0.047392524778842926,
-0.02539016678929329,
0.047687117010354996,
-0.058292437344789505,
-0.04816582798957825,
-0.01394710037857294,
-0.009785985574126244,
-0.03656626120209694,
-0.05026479810476303,
-0.011056414805352688,
-0.04879183694720268,
0.024359093979001045,
0.0427526980638504,
-0.012188753113150597,
-0.0076179709285497665,
0.08962968736886978,
0.01623019017279148,
0.0031300424598157406,
0.013118560425937176,
-0.054978273808956146,
-0.011774483136832714,
-0.022536305710673332,
0.03266291320323944,
0.06293226778507233,
0.03616119548678398,
-0.08440067619085312,
-0.002310707699507475,
0.03969630226492882,
-0.07177003473043442,
-0.046913813799619675,
0.028336089104413986,
0.07747775316238403,
-0.027581196278333664,
0.0006858475389890373,
-0.0011484493734315038,
-0.015079439617693424,
0.018412014469504356,
0.010881500318646431,
0.017482208088040352,
0.05162728577852249,
-0.022149652242660522,
-0.039622653275728226,
-0.0015926392516121268,
0.007581146899610758,
-0.01566862314939499,
-0.06860316544771194,
0.02091604843735695,
-0.05066986382007599,
-0.010632937774062157,
0.04407836124300957,
0.04912325367331505,
0.022389009594917297,
-0.018835490569472313,
0.05678265169262886,
-0.023769909515976906,
-0.0243222713470459,
-0.03965947777032852,
0.03969630226492882,
-0.008290009573101997,
0.0019804423209279776,
0.001109899254515767,
-0.010117401368916035,
0.017132379114627838,
-0.0052244090475142,
-0.04588273912668228,
0.024156562983989716,
0.06823492795228958,
-0.0768149197101593,
0.001331418752670288,
0.054978273808956146,
0.031944844871759415,
0.0257768202573061,
0.0070886253379285336,
0.01955355890095234,
-0.02691836468875408,
0.017132379114627838,
-0.01866978220641613,
0.07339029014110565,
0.00678482698276639,
0.014913731254637241
] |
719,413
|
ibm_platform_services.catalog_management_v1
|
shared_publish_object
|
Publish object to share with allow list.
Publish the specified object so that it is visible to those in the allow list.
: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 result, headers and HTTP status code.
:rtype: DetailedResponse
|
def shared_publish_object(self, catalog_identifier: str, object_identifier: str, **kwargs) -> DetailedResponse:
"""
Publish object to share with allow list.
Publish the specified object so that it is visible to those in the allow list.
: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 result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if object_identifier is None:
raise ValueError('object_identifier must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='shared_publish_object'
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['catalog_identifier', 'object_identifier']
path_param_values = self.encode_path_vars(catalog_identifier, object_identifier)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/objects/{object_identifier}/shared-publish'.format(**path_param_dict)
request = self.prepare_request(method='POST', url=url, headers=headers)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, object_identifier: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.043812043964862823,
-0.004780450835824013,
-0.11389029771089554,
0.0027360639069229364,
0.05169190838932991,
-0.015173115767538548,
-0.013956114649772644,
0.031151728704571724,
-0.03367328643798828,
-0.019734680652618408,
-0.016503937542438507,
0.010734125971794128,
0.019349442794919014,
-0.051096539944410324,
-0.0881844311952591,
0.0027032310608774424,
-0.045598145574331284,
0.01889416202902794,
-0.0007912696455605328,
0.00706123374402523,
0.0316070094704628,
0.014542726799845695,
0.017475787550210953,
-0.014682812616229057,
-0.0012159068137407303,
-0.029698330909013748,
0.03957442566752434,
0.02799978293478489,
-0.06566552817821503,
0.08244088292121887,
0.024164915084838867,
-0.026826558634638786,
0.043847065418958664,
0.03172958642244339,
0.047384247183799744,
0.017081793397665024,
0.005051868036389351,
0.04167572408914566,
-0.09518875181674957,
-0.02982090599834919,
-0.003475895384326577,
0.015654662624001503,
0.06429968774318695,
-0.022063618525862694,
0.03381337225437164,
0.039364296942949295,
-0.015243158675730228,
0.07091877609491348,
-0.0001978174113901332,
0.018684033304452896,
0.010532751679420471,
-0.021941043436527252,
-0.031204260885715485,
-0.06457985937595367,
-0.02080284059047699,
0.03537183254957199,
0.018789097666740417,
0.04328671842813492,
-0.05459870025515556,
0.0030687691178172827,
0.010637816041707993,
0.02160833775997162,
0.053758181631565094,
-0.022221215069293976,
-0.020960437133908272,
0.00721007538959384,
-0.02721179649233818,
0.010322622023522854,
-0.004246370866894722,
-0.001171035342849791,
0.00035623551229946315,
-0.052007101476192474,
0.0002576004189904779,
-0.0007409260724671185,
0.0015781616093590856,
-0.026651451364159584,
0.03743810951709747,
0.015269424766302109,
-0.022063618525862694,
-0.00912313163280487,
0.03228992968797684,
-0.08279110491275787,
-0.01913931407034397,
-0.02453264221549034,
-0.013351991772651672,
0.03537183254957199,
-0.05501896142959595,
-0.014271308667957783,
-0.019261889159679413,
-0.005804833024740219,
0.049450524151325226,
0.031274303793907166,
0.02265898697078228,
0.005817966070026159,
-0.036737676709890366,
-0.020977947860956192,
-0.03339311107993126,
-0.029540734365582466,
-0.0028630171436816454,
0.010270088911056519,
-0.03157198801636696,
-0.04528295248746872,
-0.01353585533797741,
0.030959108844399452,
0.03722797706723213,
-0.03414607793092728,
0.012003659270703793,
0.04706905409693718,
-0.005953674670308828,
0.06006207317113876,
0.02444508858025074,
-0.04643866419792175,
-0.03614230826497078,
-0.04097529128193855,
-0.04671883583068848,
-0.01772969402372837,
0.011399536393582821,
0.006711017340421677,
-0.0014150922652333975,
-0.04727918282151222,
0.007350161671638489,
-0.005743545014411211,
0.0382436066865921,
-0.016171231865882874,
0.002309237839654088,
0.03257010504603386,
0.02358705922961235,
0.010051203891634941,
-0.045738231390714645,
0.027667077258229256,
-0.03897906094789505,
-0.013500832952558994,
-0.008492741733789444,
0.04150061681866646,
-0.029453180730342865,
-0.0032854655291885138,
0.005038734991103411,
0.00010130276496056467,
-0.007302007172256708,
-0.0354243665933609,
0.013789761811494827,
-0.031309325248003006,
-0.008006816729903221,
0.05985194444656372,
0.0018780342070385814,
-0.02269400842487812,
-0.03883897140622139,
-0.005454616621136665,
0.01447268296033144,
0.022939158603549004,
-0.04440740868449211,
-0.04423230141401291,
0.014595258980989456,
0.05001086741685867,
-0.06640098243951797,
-0.03981957957148552,
0.044757626950740814,
-0.02715926431119442,
-0.002606921596452594,
0.028367510065436363,
-0.014831654727458954,
0.010217556729912758,
0.012038680724799633,
0.025968529284000397,
-0.016477670520544052,
-0.05484385043382645,
0.025740887969732285,
0.009018066339194775,
-0.024917880073189735,
-0.02355203777551651,
-0.0398896224796772,
-0.018403859809041023,
-0.08517257124185562,
-0.027439437806606293,
0.00326138804666698,
0.02075030840933323,
0.005367062985897064,
0.019489530473947525,
-0.03193971514701843,
-0.043917108327150345,
-0.028490085154771805,
-0.05880129337310791,
-0.007131276652216911,
0.015138094313442707,
-0.049275416880846024,
0.03234246373176575,
0.031116707250475883,
0.027807163074612617,
0.022799072787165642,
0.022361302748322487,
0.019454509019851685,
0.00861531775444746,
-0.03148443251848221,
0.006995568051934242,
-0.02637127786874771,
-0.042025938630104065,
-0.015260669402778149,
-0.05067627876996994,
-0.04255126416683197,
0.061042677611112595,
0.014866676181554794,
-0.04825978726148605,
-0.005752300377935171,
0.030398763716220856,
0.08419197052717209,
-0.050361085683107376,
-0.015146849676966667,
0.009394548833370209,
-0.04710407555103302,
-0.03544187545776367,
-0.003530616872012615,
0.048434894531965256,
0.04822476580739021,
0.020680265501141548,
0.001638354966416955,
0.02451513148844242,
0.0415356382727623,
-0.03374332934617996,
-0.0015114016132429242,
-0.053828224539756775,
-0.000035705634218174964,
0.005936163943260908,
-0.02719428576529026,
0.0612177848815918,
-0.02435753494501114,
-0.021363185718655586,
0.05729536712169647,
-0.019209356978535652,
0.04601840302348137,
-0.07669734209775925,
-0.02701917663216591,
0.05449363589286804,
-0.07074366509914398,
0.041990917176008224,
-0.002655076328665018,
-0.020172450691461563,
0.0437069796025753,
-0.03554693982005119,
-0.03265765681862831,
0.034969083964824677,
0.026598917320370674,
0.008974289521574974,
0.0066453516483306885,
0.03743810951709747,
-0.02251889929175377,
0.005774189252406359,
-0.03505663946270943,
0.05449363589286804,
-0.004097529221326113,
-0.016740333288908005,
0.0431816540658474,
-0.015987368300557137,
-0.04255126416683197,
-0.04178078845143318,
0.055754415690898895,
-0.006584064103662968,
-0.05088641121983528,
-0.012336364947259426,
-0.019384464249014854,
-0.0039202324114739895,
-0.03428616374731064,
-0.015532087534666061,
-0.08440209925174713,
0.015076805837452412,
0.013833538629114628,
-0.02621367946267128,
-0.06727652251720428,
0.0158035047352314,
-0.04405719414353371,
0.028279956430196762,
0.06724150478839874,
-0.020435113459825516,
0.05368813872337341,
0.011592155322432518,
0.003771390300244093,
0.009902361780405045,
0.009228195995092392,
0.031239282339811325,
-0.06055237725377083,
0.02882279083132744,
0.006229470018297434,
-0.01669655553996563,
0.04164070263504982,
-0.014061179012060165,
0.055614326149225235,
-0.0013384823687374592,
0.03712291270494461,
0.028209911659359932,
-0.0033773970790207386,
-0.03447878360748291,
-0.05158684030175209,
0.06853730231523514,
0.0450027771294117,
-0.023797187954187393,
-0.0801294595003128,
0.08419197052717209,
-0.0743158683180809,
0.008361411280930042,
0.04587831720709801,
0.03454882651567459,
0.024812815710902214,
0.07459604740142822,
-0.006128782872110605,
-0.036737676709890366,
-0.0024208691902458668,
-0.03873390704393387,
0.06517522782087326,
0.03533681109547615,
0.01983974687755108,
-0.003292032051831484,
-0.030346231535077095,
0.01887665130198002,
0.01669655553996563,
0.02271151915192604,
0.015453288331627846,
0.005498393904417753,
0.017274413257837296,
-0.02792974002659321,
-0.040204815566539764,
0.047384247183799744,
-0.010138758458197117,
-0.018613988533616066,
-0.007446471136063337,
-0.005966808181256056,
0.09785039722919464,
-0.05908146873116493,
-0.05193705856800079,
-0.000823008012957871,
0.034776464104652405,
0.003837055992335081,
-0.039294254034757614,
0.03069644793868065,
0.0071444096975028515,
0.04416225850582123,
0.041185420006513596,
-0.03172958642244339,
-0.03621235117316246,
-0.05536917597055435,
0.006877370178699493,
0.012870443984866142,
-0.035809602588415146,
0.019436998292803764,
0.013290703296661377,
0.0025718999095261097,
-0.05001086741685867,
0.0380684994161129,
-0.011023053899407387,
-0.01821123994886875,
-0.03083653375506401,
-0.021398207172751427,
-0.05498393997550011,
0.06773180514574051,
0.03363826125860214,
0.005826721433550119,
0.07179431617259979,
-0.022396324202418327,
-0.0016886985395103693,
0.006439599674195051,
-0.07480617612600327,
-0.055509261786937714,
0.020084897056221962,
-0.004933670163154602,
0.02610861510038376,
-0.007183809299021959,
-0.02004987560212612,
0.04727918282151222,
-0.046823900192976,
0.02537316083908081,
0.004872382618486881,
-0.0764872133731842,
-0.04794459417462349,
-0.06443977355957031,
-0.07200444489717484,
0.011837306432425976,
0.056699998676776886,
0.06846725940704346,
-0.048995241522789,
-0.0038523778785020113,
-0.03155447542667389,
0.03922421112656593,
0.04685892164707184,
-0.022799072787165642,
-0.00008372355659957975,
-0.04262130707502365,
0.068852499127388,
-0.005086889956146479,
0.029453180730342865,
0.017904801294207573,
-0.01498925220221281,
0.018824119120836258,
0.03701784834265709,
-0.046683814376592636,
-0.011110607534646988,
-0.009604678489267826,
0.00796303991228342,
-0.07529647648334503,
0.002499667927622795,
0.019454509019851685,
-0.04167572408914566,
-0.019717169925570488,
0.03293783217668533,
0.001482946565374732,
-0.04139555245637894,
-0.014358863234519958,
-0.04696398973464966,
-0.061883196234703064,
0.04731420427560806,
-0.012984264642000198,
0.009315750561654568,
0.023972297087311745,
0.032237399369478226,
-0.04976571723818779,
-0.0004465256060939282,
-0.02346448414027691,
0.0022271559573709965,
0.01723063550889492,
-0.026966644451022148,
0.041115377098321915,
-0.043847065418958664,
-0.011811040341854095,
0.0561046302318573,
-0.017449520528316498,
0.02805231511592865,
0.004014352802187204,
-0.02257143147289753,
-0.07991933077573776,
-0.021188078448176384,
0.012931732460856438,
0.017545830458402634,
-0.07319518178701401,
0.04052001237869263,
0.022046107798814774,
-0.04146559536457062,
0.0005119175184518099,
0.05008091405034065,
-0.01450770441442728,
0.020154939964413643,
-0.012415163218975067,
0.011907349340617657,
0.04903026297688484,
0.03890901803970337,
-0.05256744846701622,
-0.005590325687080622,
-0.034881532192230225,
0.008575918152928352,
0.005047490354627371,
-0.030241167172789574,
-0.05862618610262871,
0.04409221559762955,
0.04356689006090164,
0.07487621903419495,
-0.007074366789311171,
0.0362473726272583,
-0.0045221662148833275,
-0.04269134998321533,
-0.0779581218957901,
0.02891034446656704,
-0.03981957957148552,
-0.055614326149225235,
-0.03782334551215172,
-0.011986148543655872,
-0.05169190838932991,
-0.06083254888653755,
0.009639699943363667,
0.00946459174156189,
0.05092143267393112,
-0.04468758404254913,
0.01223129965364933,
-0.010716615244746208,
0.005813588388264179,
0.011154385283589363,
-0.02525058574974537,
-0.011740997433662415,
0.013229415751993656,
0.05536917597055435,
0.018701544031500816,
-0.02094292640686035,
-0.009841074235737324,
-0.07200444489717484,
0.002970270812511444,
0.004903026390820742,
-0.004482767079025507,
0.025057967752218246,
0.019191846251487732,
-0.01090923324227333,
0.019401974976062775,
0.10751636326313019,
0.03090657666325569,
0.010935500264167786,
-0.010392664931714535,
0.04976571723818779,
0.007752910256385803,
-0.010348888114094734,
0.015759726986289024,
-0.03705286979675293,
0.014288819395005703,
-0.049450524151325226,
0.05876627191901207,
-0.0173006784170866,
-0.05358307436108589,
-0.004034052602946758,
-0.0008344994857907295,
-0.002151640597730875,
-0.007932396605610847,
0.01917433552443981,
0.013273192569613457,
-0.022886626422405243,
-0.007091877516359091,
-0.017011750489473343,
0.016171231865882874,
-0.050220999866724014,
0.008694116026163101,
0.01903424970805645,
0.026791537180542946,
0.0346013568341732,
0.061042677611112595,
-0.016959218308329582,
0.03078400157392025,
-0.04612347111105919,
-0.06507016718387604,
0.031326837837696075,
-0.03003103658556938,
-0.007547158282250166,
-0.04959060996770859,
0.017169347032904625,
-0.05806583911180496,
-0.06328406184911728,
-0.017843514680862427,
-0.019612105563282967,
0.03446127101778984,
-0.04643866419792175,
0.018368838354945183,
-0.06906262785196304,
-0.03537183254957199,
0.0071444096975028515,
0.04041494429111481,
-0.05620969459414482,
-0.006872992496937513,
0.07063860446214676,
0.009552146308124065,
-0.016959218308329582,
-0.009018066339194775,
-0.02899789810180664,
-0.0029308716766536236,
-0.031116707250475883,
0.03512668237090111,
-0.006855481304228306,
-0.013351991772651672,
0.008357033133506775,
-0.0362473726272583,
0.05368813872337341,
-0.036632612347602844,
0.06044730916619301,
0.04461754113435745,
-0.00566474674269557,
0.05964181199669838,
0.012091212905943394,
-0.05806583911180496,
0.008891113102436066,
0.0013592764735221863,
0.02342946082353592,
0.023341907188296318,
0.036702655255794525,
-0.017904801294207573,
0.000026659521608962677,
0.00807248242199421,
0.03740308806300163,
-0.03174709528684616,
0.017510809004306793,
0.0034430627711117268,
0.02912047505378723,
-0.025758398696780205,
-0.03596720099449158,
0.0035568829625844955,
0.048610005527734756,
0.05256744846701622,
0.0288753230124712,
-0.05585948005318642,
-0.007538402918726206,
0.011942371726036072,
0.021468251943588257,
0.018578967079520226,
0.0739656537771225,
-0.032272420823574066,
-0.058381035923957825,
0.033795859664678574,
0.019699659198522568,
-0.03813854232430458,
0.04868004843592644,
-0.016136210411787033,
-0.052077144384384155,
0.039364296942949295,
0.021030481904745102,
0.023149289190769196,
0.00855403020977974,
0.04377702251076698,
-0.010348888114094734,
-0.014262553304433823,
0.06419462710618973,
-0.03834867104887962,
0.0158035047352314,
0.026756515726447105,
-0.028227422386407852,
0.02544320560991764,
0.05442359298467636,
0.008816692046821117,
-0.030941598117351532,
-0.04230611398816109,
0.007113765925168991,
-0.019226867705583572,
-0.03454882651567459,
-0.0011765074450522661,
-0.008877979591488838,
-0.003151945536956191,
0.006772305350750685,
0.024970412254333496,
-0.042131006717681885,
0.04720913991332054,
0.019454509019851685,
0.013395768590271473,
0.016722822561860085,
0.013483322225511074,
-0.05498393997550011,
0.016346339136362076,
-0.030328720808029175,
0.06675120443105698,
0.015295690856873989,
-0.029365625232458115,
0.02185348980128765,
-0.006925524678081274,
-0.011793529614806175,
0.058381035923957825,
0.0561046302318573,
0.02264147624373436,
0.05722532048821449,
0.0455281026661396,
0.0012793834321200848,
0.0326051265001297,
0.0113820256665349,
0.02351701632142067,
0.08986546844244003,
0.017388232052326202,
-0.0377182811498642,
-0.016547713428735733,
-0.002834562212228775,
0.05001086741685867,
0.029575755819678307,
-0.05015095695853233,
0.019209356978535652,
0.023849721997976303,
-0.00326138804666698,
0.0227640513330698,
-0.005108778364956379,
-0.01217001210898161,
0.08979542553424835,
0.05694514885544777,
0.02978588454425335,
-0.028665194287896156,
-0.0048373606987297535,
0.006465866230428219,
0.02889283373951912,
-0.04041494429111481,
-0.0010413458803668618,
-0.055649347603321075,
0.0022567054256796837,
-0.02073279768228531,
0.003427740652114153,
-0.09161654859781265,
-0.0036641366314142942,
0.06447479873895645,
0.02278156206011772,
-0.03155447542667389,
0.01997983269393444,
0.07035842537879944,
0.015812259167432785,
-0.015138094313442707,
-0.0011447691358625889,
0.008877979591488838,
-0.0327802337706089,
-0.009587167762219906,
-0.017563341185450554,
-0.07900876551866531,
-0.03381337225437164,
0.004012164194136858,
-0.000587159302085638,
-0.036667633801698685,
0.021398207172751427,
-0.05799579620361328,
-0.07984928786754608,
-0.00163288286421448,
0.010760392062366009,
-0.0757867768406868,
-0.010436441749334335,
-0.030538849532604218,
-0.03775330260396004,
0.012371386401355267,
0.0075165145099163055,
0.028717726469039917,
-0.0009997576707974076,
-0.005607836414128542,
0.02997850440442562,
0.015759726986289024,
0.04605342447757721,
0.04444243013858795,
-0.04002970829606056,
0.031396880745887756,
-0.02985592931509018,
-0.011705975048244,
0.07487621903419495,
-0.06570055335760117,
-0.022799072787165642,
0.024987922981381416,
0.06387943029403687,
0.021503273397684097,
-0.018596477806568146,
-0.005879254080355167,
-0.02997850440442562,
0.07438591122627258,
0.03600222244858742,
-0.01762462966144085,
-0.02166086994111538,
-0.029313093051314354,
0.04272637143731117,
-0.014744101092219353,
0.059221554547548294,
-0.02362208068370819,
0.06363427639007568,
0.034023500978946686,
0.054633721709251404,
-0.006255736108869314,
0.034881532192230225,
0.02185348980128765,
-0.04377702251076698,
0.003635681699961424,
0.05186701565980911,
0.009035577066242695,
0.05092143267393112,
-0.01137327030301094,
-0.01779973693192005,
0.05908146873116493,
0.04808467999100685,
0.008497119881212711,
0.049450524151325226,
-0.07382556796073914,
-0.017843514680862427,
-0.030521338805556297,
0.027632055804133415,
-0.01357963215559721,
0.040309879928827286,
0.010672837495803833,
0.06261865049600601,
0.00791926309466362,
-0.021153056994080544,
0.012940487824380398,
0.013964870013296604,
0.012835422530770302,
-0.029278071597218513,
0.035844624042510986,
0.0035415610764175653,
-0.04776948690414429,
-0.02080284059047699,
-0.024234959855675697,
0.015488309785723686,
-0.000369642220903188,
0.012397652491927147,
0.08419197052717209,
0.03600222244858742,
0.010217556729912758
] |
719,414
|
ibm_platform_services.catalog_management_v1
|
update_catalog_account
|
Update account settings.
Update the account level settings for the account for private catalog.
:param str id: (optional) Account identification.
:param bool hide_ibm_cloud_catalog: (optional) Hide the public catalog in
this account.
:param Filters account_filters: (optional) Filters for account and catalog
filters.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def update_catalog_account(
self, *, id: str = None, hide_ibm_cloud_catalog: bool = None, account_filters: 'Filters' = None, **kwargs
) -> DetailedResponse:
"""
Update account settings.
Update the account level settings for the account for private catalog.
:param str id: (optional) Account identification.
:param bool hide_ibm_cloud_catalog: (optional) Hide the public catalog in
this account.
:param Filters account_filters: (optional) Filters for account and catalog
filters.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if account_filters is not None:
account_filters = convert_model(account_filters)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_catalog_account'
)
headers.update(sdk_headers)
data = {'id': id, 'hide_IBM_cloud_catalog': hide_ibm_cloud_catalog, 'account_filters': account_filters}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
url = '/catalogaccount'
request = self.prepare_request(method='PUT', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(self, *, id: Optional[str] = None, hide_ibm_cloud_catalog: Optional[bool] = None, account_filters: Optional[ibm_platform_services.catalog_management_v1.Filters] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04191998019814491,
-0.043426305055618286,
0.03042045794427395,
-0.001119412248954177,
0.008665972389280796,
-0.015348002314567566,
-0.011453595943748951,
-0.017680972814559937,
0.0046705324202775955,
-0.008946113288402557,
-0.03381887823343277,
-0.056138236075639725,
-0.005616579204797745,
0.007651038933545351,
-0.046255260705947876,
-0.013556943275034428,
-0.025478970259428024,
0.007830144837498665,
0.029410116374492645,
-0.01035140547901392,
0.024486998096108437,
-0.04471219331026077,
-0.026250503957271576,
0.0495985709130764,
0.05801196023821831,
0.016826774924993515,
0.07134846597909927,
0.03760306537151337,
-0.029832622036337852,
0.028748802840709686,
0.017524829134345055,
0.0058599794283509254,
0.023292958736419678,
0.03519661724567413,
-0.023384807631373405,
-0.0311919916421175,
0.04070756956934929,
0.004307727795094252,
-0.00535940146073699,
0.009644166566431522,
-0.04316912591457367,
0.025019723922014236,
0.089497871696949,
-0.035931408405303955,
-0.019563881680369377,
0.028546733781695366,
-0.017635047435760498,
0.03372702747583389,
-0.045483727008104324,
0.020666072145104408,
-0.01647774875164032,
-0.030604155734181404,
-0.013951894827187061,
-0.0030264314264059067,
0.03651924431324005,
-0.04169953987002373,
0.0020930138416588306,
-0.023054150864481926,
-0.0011963358847424388,
-0.03418627381324768,
-0.009106849320232868,
-0.05643215402960777,
-0.04258129373192787,
-0.04313238710165024,
-0.017726896330714226,
0.009598242118954659,
-0.03435160219669342,
0.02316437102854252,
-0.02013334631919861,
0.009910529479384422,
-0.0058553870767354965,
-0.009846234694123268,
0.011325007304549217,
-0.024615587666630745,
-0.013520203530788422,
-0.02246631681919098,
-0.017230911180377007,
-0.002714144065976143,
-0.052207089960575104,
-0.03460878133773804,
0.007719926070421934,
-0.06058373674750328,
0.04203019663691521,
0.018434135243296623,
-0.014016188681125641,
0.05305210128426552,
0.02619539387524128,
-0.04438153654336929,
-0.031577758491039276,
0.02606680430471897,
0.017864670604467392,
-0.038797106593847275,
0.03514150530099869,
0.02050074376165867,
0.02180500142276287,
0.010663692839443684,
0.01872805319726467,
-0.07546330988407135,
0.03115525096654892,
0.008059768006205559,
-0.002762364922091365,
-0.07979859411716461,
0.022154029458761215,
-0.022686755284667015,
0.04754114896059036,
-0.05235404893755913,
-0.032973866909742355,
0.009653352200984955,
0.022227508947253227,
-0.0239726435393095,
0.03418627381324768,
-0.0036647834349423647,
-0.026177024468779564,
-0.05202339217066765,
0.0018863531295210123,
0.032973866909742355,
-0.00950639322400093,
-0.030402088537812233,
0.031081771478056908,
0.027848679572343826,
-0.019747579470276833,
-0.059371329843997955,
0.028546733781695366,
0.009442098438739777,
0.005253774579614401,
0.043426305055618286,
-0.012969108298420906,
0.045887865126132965,
-0.014199887402355671,
0.04710027202963829,
-0.03238603100180626,
-0.08361952006816864,
-0.0038186307065188885,
0.00788984727114439,
0.0735161080956459,
-0.01987616904079914,
0.04034017398953438,
0.01590828225016594,
-0.032937124371528625,
0.0619063675403595,
-0.005400733556598425,
0.05025988817214966,
-0.05132533609867096,
0.01594502292573452,
-0.04783506691455841,
-0.024744177237153053,
0.005262959748506546,
-0.04177302122116089,
-0.02955707535147667,
-0.013593683019280434,
-0.026323983445763588,
-0.005019559059292078,
-0.02672811970114708,
0.034902699291706085,
-0.017864670604467392,
0.0020734958816319704,
0.031871676445007324,
-0.05235404893755913,
0.04842290282249451,
-0.0040620313957333565,
-0.041221924126148224,
-0.0017968001775443554,
0.03898080438375473,
-0.03519661724567413,
-0.030916443094611168,
-0.018847458064556122,
-0.03209211304783821,
-0.008757822215557098,
-0.029208047315478325,
-0.0037015231791883707,
-0.016569597646594048,
-0.050884462893009186,
-0.05878349393606186,
0.0029575445223599672,
-0.03967885673046112,
0.001986239105463028,
0.06153896823525429,
-0.07087084650993347,
0.015384742058813572,
0.03499455004930496,
0.00043829294736497104,
-0.010250371880829334,
-0.01954551227390766,
0.0646250993013382,
0.03754795715212822,
-0.03890732303261757,
-0.003956404514610767,
0.07234043627977371,
0.018351471051573753,
-0.010075857862830162,
0.03269831836223602,
0.00948802288621664,
0.0036808568984270096,
-0.016698185354471207,
-0.09045310318470001,
-0.06062047556042671,
0.03552727401256561,
-0.05430125072598457,
-0.031063402071595192,
-0.019380182027816772,
0.020849769935011864,
0.004130918066948652,
0.05749760568141937,
-0.008904780261218548,
0.10735335201025009,
-0.01268437597900629,
-0.00846849661320448,
-0.0800190269947052,
-0.010847391560673714,
0.020114976912736893,
0.0221356600522995,
0.01634915918111801,
0.0015993242850527167,
-0.05521974340081215,
-0.04541024938225746,
0.09758059680461884,
0.008271020837128162,
0.0028978425543755293,
-0.011242343112826347,
-0.0009471949306316674,
0.019563881680369377,
-0.04210367798805237,
0.010057488456368446,
-0.00029420448117889464,
-0.0021228648256510496,
0.006645290181040764,
0.07061367481946945,
0.027371063828468323,
0.005028744228184223,
-0.027371063828468323,
-0.0011699292808771133,
0.04287521168589592,
-0.0447489358484745,
-0.010066673159599304,
-0.021143687888979912,
-0.018379027023911476,
0.028307925909757614,
-0.022962301969528198,
-0.013207916170358658,
0.06727036088705063,
0.009106849320232868,
0.003281312994658947,
0.006411074660718441,
0.06591099500656128,
-0.11514216661453247,
-0.014649949036538601,
-0.016174646094441414,
0.034572042524814606,
-0.0200047567486763,
-0.030108170583844185,
0.020519113168120384,
-0.07200977951288223,
0.02307252027094364,
0.05375015735626221,
0.04643895849585533,
0.009451283141970634,
-0.07707985490560532,
-0.009120626375079155,
0.018342286348342896,
-0.0587100125849247,
-0.03615184873342514,
-0.030402088537812233,
-0.0703197568655014,
-0.014705058187246323,
0.028087487444281578,
0.012895628809928894,
0.01709313690662384,
0.03251462057232857,
0.06436792761087418,
0.03139406070113182,
0.06017960235476494,
0.04963531345129013,
0.01770852692425251,
0.06065721809864044,
0.005478805396705866,
0.0205374825745821,
0.018066739663481712,
-0.04078104719519615,
-0.024046123027801514,
0.00740763870999217,
0.008900187909603119,
-0.0395318977534771,
-0.037492845207452774,
0.006833581253886223,
0.06300855427980423,
-0.07024627178907394,
-0.020996728911995888,
0.050847720354795456,
-0.05209686979651451,
0.015807248651981354,
0.02127227745950222,
0.021492714062333107,
-0.05150903761386871,
-0.01406211405992508,
0.013648792169988155,
0.04526329040527344,
-0.08744044601917267,
-0.04283846914768219,
0.02590147592127323,
0.014346846379339695,
-0.04923117533326149,
0.02603006549179554,
0.01489794161170721,
-0.030310237780213356,
0.08090078085660934,
-0.026415832340717316,
0.01791059598326683,
0.006879505701363087,
0.07759421318769455,
0.08611781895160675,
0.030365347862243652,
-0.009166550822556019,
-0.008587900549173355,
-0.02422982081770897,
-0.006429444532841444,
-0.04566742479801178,
0.01000237837433815,
-0.05907741189002991,
0.004776158835738897,
0.04992922767996788,
-0.011563815176486969,
-0.04430805891752243,
-0.04390392079949379,
-0.05499930679798126,
0.027352694422006607,
-0.030806224793195724,
0.041295405477285385,
0.06855624914169312,
0.056174974888563156,
-0.04599808156490326,
-0.03694175183773041,
0.04383044317364693,
0.025258531793951988,
-0.0072698649019002914,
0.003136650426313281,
-0.06951148062944412,
-0.0058002774603664875,
-0.06095113605260849,
0.03165123611688614,
0.040597349405288696,
-0.03312082588672638,
-0.0295938141644001,
-0.014356031082570553,
-0.016174646094441414,
-0.033965837210416794,
0.03868688642978668,
-0.0012606304371729493,
-0.04496937245130539,
-0.031743086874485016,
0.015889912843704224,
0.004530461970716715,
-0.07520613074302673,
0.0109484251588583,
0.04063408821821213,
-0.004831268452107906,
0.002089569577947259,
-0.000576640828512609,
-0.009717646054923534,
0.007719926070421934,
-0.05907741189002991,
0.0022307876497507095,
-0.009864605031907558,
0.004636088851839304,
0.016744110733270645,
0.016955364495515823,
-0.016404269263148308,
-0.0359865203499794,
-0.027279214933514595,
0.04357326403260231,
-0.06197984516620636,
0.023384807631373405,
-0.02536875195801258,
0.03086133301258087,
-0.04191998019814491,
0.043316084891557693,
0.06591099500656128,
-0.07840248197317123,
0.01473261322826147,
-0.04203019663691521,
0.04992922767996788,
0.03868688642978668,
-0.017800375819206238,
-0.022907191887497902,
0.01647774875164032,
0.008027620613574982,
-0.025552449747920036,
-0.005024151876568794,
-0.008160802535712719,
-0.008840486407279968,
0.04173627868294716,
0.008362870663404465,
0.035472165793180466,
-0.0017348019173368812,
-0.04357326403260231,
-0.029005980119109154,
0.012638450600206852,
0.018351471051573753,
-0.022025439888238907,
0.0013628125889226794,
-0.04915769770741463,
-0.04283846914768219,
0.016238940879702568,
0.05610149726271629,
0.0019472031854093075,
-0.0059104966931045055,
-0.023844053968787193,
0.016670631244778633,
0.0008714193827472627,
-0.027352694422006607,
-0.00991971418261528,
0.049414873123168945,
-0.005432880483567715,
0.029152939096093178,
-0.03497617691755295,
0.00006325396680040285,
0.034663889557123184,
-0.0655803307890892,
-0.035894669592380524,
-0.02020682580769062,
0.015889912843704224,
0.026654640212655067,
-0.022282617166638374,
-0.006512108724564314,
-0.004909340292215347,
-0.03477410972118378,
-0.013382429257035255,
0.016018502414226532,
0.004179139155894518,
-0.009736016392707825,
-0.06811537593603134,
0.04280173033475876,
0.018333101645112038,
-0.003960996866226196,
0.015283708460628986,
0.011187233962118626,
0.003423679154366255,
0.04419783875346184,
-0.0029093236662447453,
-0.036170218139886856,
0.052574485540390015,
0.03514150530099869,
-0.019821058958768845,
-0.04103822633624077,
-0.0806068629026413,
-0.04247107356786728,
0.002583259018138051,
-0.020721182227134705,
-0.025038093328475952,
0.03591303899884224,
0.011747513897716999,
0.06378009170293808,
0.03675805404782295,
-0.010507549159228802,
-0.027646612375974655,
0.02643420174717903,
-0.06010612100362778,
-0.024486998096108437,
0.011995506472885609,
0.007476525381207466,
0.02004149742424488,
-0.044161099940538406,
-0.030567416921257973,
-0.04419783875346184,
0.03651924431324005,
0.06550685316324234,
0.01980268955230713,
0.029171308502554893,
-0.023458287119865417,
-0.017451349645853043,
0.003076948458328843,
-0.009745201095938683,
-0.04361000284552574,
0.0395318977534771,
0.07854944467544556,
0.03301060572266579,
0.06231050193309784,
-0.0028128819540143013,
0.0010499513009563088,
-0.08891003578901291,
0.031871676445007324,
0.005033336579799652,
0.06455162167549133,
-0.01551333162933588,
-0.02004149742424488,
0.007389268837869167,
-0.054080814123153687,
0.0703197568655014,
0.07553678750991821,
0.017984075471758842,
-0.008785376325249672,
0.04280173033475876,
-0.03269831836223602,
-0.03923797979950905,
0.05143555626273155,
-0.03271668776869774,
-0.05518300458788872,
0.01557762548327446,
0.04191998019814491,
-0.0020780882332473993,
-0.013125251978635788,
-0.002482224954292178,
-0.0852360650897026,
0.03258809819817543,
-0.023274589329957962,
0.0012181501369923353,
-0.0015281412051990628,
-0.0682990700006485,
0.017359500750899315,
0.015302077867090702,
0.005125185940414667,
-0.03288201615214348,
-0.021051838994026184,
0.021455975249409676,
-0.09633144736289978,
0.0029667294584214687,
0.04147910326719284,
-0.04401414096355438,
0.026911817491054535,
-0.002743995049968362,
-0.018801532685756683,
-0.029281526803970337,
-0.04254455491900444,
0.02812422811985016,
0.012032246217131615,
0.04188323765993118,
0.028234446421265602,
-0.02130901627242565,
-0.04735745117068291,
-0.014328476041555405,
-0.059701986610889435,
-0.0634494349360466,
-0.01000237837433815,
-0.03712544962763786,
-0.10412026196718216,
-0.00918492116034031,
-0.04717375338077545,
-0.054374732077121735,
-0.026379091665148735,
-0.022117288783192635,
-0.011554630473256111,
-0.016275679692626,
0.04026669263839722,
-0.020996728911995888,
-0.002727921586483717,
-0.0032950902823358774,
-0.003125169314444065,
-0.02077629044651985,
0.008119470439851284,
0.01606442593038082,
0.005699243396520615,
0.026819968596100807,
0.018783163279294968,
0.061465490609407425,
0.014622393995523453,
-0.025570819154381752,
0.05878349393606186,
-0.020261935889720917,
-0.06921756267547607,
-0.03659272566437721,
0.029483595862984657,
-0.013354875147342682,
0.03605999797582626,
0.027150625362992287,
-0.04684309661388397,
0.03712544962763786,
-0.01872805319726467,
0.02759150229394436,
0.025111572816967964,
0.034535303711891174,
-0.03583956137299538,
-0.004776158835738897,
0.028454884886741638,
0.0006234265165403485,
0.03857666626572609,
-0.03499455004930496,
0.005033336579799652,
0.07641854137182236,
-0.0019035747973248363,
0.059665244072675705,
0.029704034328460693,
-0.007481118198484182,
0.022943932563066483,
0.021878480911254883,
-0.022227508947253227,
0.016046056523919106,
0.005331846419721842,
-0.020794659852981567,
0.031504277139902115,
0.05209686979651451,
0.001763504813425243,
-0.032037004828453064,
0.07094433158636093,
-0.004135510418564081,
-0.05584431812167168,
-0.007912809029221535,
0.003864555386826396,
-0.00514355581253767,
-0.03312082588672638,
-0.005272144451737404,
0.01676248013973236,
-0.037364259362220764,
-0.028399774804711342,
-0.0015143638011068106,
0.0014190702931955457,
-0.0016383602051064372,
-0.0024179304018616676,
0.000034909873647848144,
-0.03398420661687851,
-0.04970879107713699,
0.03095318377017975,
0.00689787557348609,
-0.024486998096108437,
0.04886377975344658,
0.014806092716753483,
0.06231050193309784,
-0.015669474378228188,
-0.0034879737067967653,
-0.0038025572430342436,
0.026985296979546547,
0.006562625989317894,
-0.054411470890045166,
0.014098853804171085,
-0.04063408821821213,
0.03637228533625603,
-0.05676281079649925,
0.029906101524829865,
0.03697849065065384,
-0.017892226576805115,
-0.018112663179636,
0.04177302122116089,
-0.05352971702814102,
0.06513945758342743,
-0.003478788770735264,
-0.006204414181411266,
0.022025439888238907,
0.031541019678115845,
0.0006010382785461843,
0.038760364055633545,
0.0035384907387197018,
0.0346822626888752,
0.09412706643342972,
0.024854395538568497,
-0.01414477825164795,
0.04673287644982338,
0.03425975516438484,
0.08383996039628983,
-0.0349210686981678,
-0.032808538526296616,
0.013060957193374634,
-0.0512518584728241,
-0.05532996356487274,
0.019931277260184288,
-0.04790854826569557,
-0.0032468694262206554,
-0.019857799634337425,
0.009616612456738949,
0.007554597221314907,
0.08398691564798355,
0.019490402191877365,
0.008693527430295944,
0.027444543316960335,
-0.05940806865692139,
0.00957068707793951,
-0.04081778973340988,
0.0464022196829319,
-0.006254930980503559,
0.03659272566437721,
-0.012564972043037415,
0.052978623658418655,
-0.029042718932032585,
0.05911415070295334,
-0.04136888310313225,
-0.0030976145062595606,
0.050847720354795456,
-0.032973866909742355,
0.0026154061779379845,
-0.04662265628576279,
0.003981663379818201,
0.03238603100180626,
0.03328615427017212,
-0.013327320106327534,
-0.06172266602516174,
0.00743978563696146,
0.0014179222052916884,
0.016000131145119667,
-0.011297452263534069,
0.015366372652351856,
-0.026140283793210983,
-0.04629199951887131,
0.010994350537657738,
-0.028436515480279922,
-0.04856986179947853,
-0.03370865806937218,
-0.015807248651981354,
0.06550685316324234,
-0.004169953987002373,
-0.0432058684527874,
-0.017772821709513664,
-0.007127498742192984,
0.038429707288742065,
0.03604162856936455,
-0.01070043258368969,
0.026581160724163055,
0.03225744143128395,
0.000590131152421236,
-0.0022055290173739195,
-0.030383717268705368,
-0.043426305055618286,
0.011508706025779247,
0.026103544980287552,
-0.03868688642978668,
0.10331198573112488,
0.004305431619286537,
-0.013134436681866646,
-0.02439514920115471,
0.056468892842531204,
-0.020353784784674644,
-0.030549045652151108,
-0.0038094460032880306,
0.02193359099328518,
0.04607156291604042,
0.045814383774995804,
-0.014337661676108837,
0.022980671375989914,
0.015109194442629814,
0.0011458188528195024,
0.017451349645853043,
0.07700637727975845,
0.006319225300103426,
0.01045244000852108,
0.057975221425294876,
0.03345148265361786,
-0.051472295075654984,
0.0314859077334404,
-0.010874946601688862,
0.0022790085058659315,
-0.03321267291903496,
-0.022980671375989914,
0.022723494097590446,
0.012546601705253124,
0.06763775646686554,
0.0426180325448513,
0.02410123310983181,
0.008119470439851284,
-0.07171586155891418,
0.016137905418872833,
0.05922437086701393,
0.0023467473220080137,
0.07950467616319656,
0.035472165793180466,
0.016551226377487183,
0.033635180443525314,
-0.006048270501196384,
0.07369980216026306,
0.03760306537151337,
-0.038466449826955795,
-0.0086705656722188,
0.04383044317364693,
0.022815342992544174,
0.023880794644355774,
0.05735064670443535,
0.0009810643969103694,
0.00663151266053319,
0.000019787046767305583,
0.0628615990281105,
0.013905970379710197,
-0.004447797778993845,
-0.004996596835553646
] |
719,415
|
ibm_platform_services.catalog_management_v1
|
update_offering
|
Update offering.
Update an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str if_match: Offering etag contained in quotes.
:param List[JsonPatchOperation] updates: (optional)
: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 representing a `Offering` object
|
def update_offering(
self,
catalog_identifier: str,
offering_id: str,
if_match: str,
*,
updates: List['JsonPatchOperation'] = None,
**kwargs
) -> DetailedResponse:
"""
Update offering.
Update an offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str if_match: Offering etag contained in quotes.
:param List[JsonPatchOperation] updates: (optional)
: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 representing a `Offering` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if offering_id is None:
raise ValueError('offering_id must be provided')
if if_match is None:
raise ValueError('if_match must be provided')
if updates is not None:
updates = [convert_model(x) for x in updates]
headers = {'If-Match': if_match}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_offering'
)
headers.update(sdk_headers)
data = json.dumps(updates)
headers['content-type'] = 'application/json-patch+json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier', 'offering_id']
path_param_values = self.encode_path_vars(catalog_identifier, offering_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/offerings/{offering_id}'.format(**path_param_dict)
request = self.prepare_request(method='PATCH', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, offering_id: str, if_match: str, *, updates: Optional[List[ibm_platform_services.catalog_management_v1.JsonPatchOperation]] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.013734622858464718,
-0.06636391580104828,
-0.07018475979566574,
-0.03709553927183151,
-0.021663794293999672,
-0.04358725622296333,
0.007952355779707432,
-0.02661604806780815,
-0.057943232357501984,
0.006598368752747774,
-0.042437296360731125,
-0.05979800596833229,
0.01894654519855976,
0.03182797133922577,
-0.02220167964696884,
-0.03761487454175949,
-0.023388735949993134,
-0.06543652713298798,
0.04087928310036659,
-0.029008710756897926,
0.038727741688489914,
-0.013085450977087021,
0.030882036313414574,
0.047927435487508774,
0.02183072455227375,
0.04347597062587738,
0.09822898358106613,
0.008684992790222168,
-0.006065120454877615,
0.014726928435266018,
0.04566460847854614,
-0.028118418529629707,
-0.003959948662668467,
0.05260147154331207,
-0.0038996683433651924,
0.012399183586239815,
0.0013273247750476003,
-0.007632406894117594,
-0.03416499122977257,
0.025577373802661896,
-0.020996075123548508,
0.007799336686730385,
0.008490241132676601,
-0.017527641728520393,
-0.002619872335344553,
0.06947994232177734,
-0.03831969201564789,
0.0506725050508976,
0.02145976945757866,
0.045961372554302216,
-0.0017631972441449761,
-0.029639335349202156,
-0.003020967822521925,
0.01956789568066597,
-0.0046902671456336975,
0.020866239443421364,
0.0032759997993707657,
0.04607265815138817,
0.01886308193206787,
-0.00901421532034874,
-0.05156279727816582,
-0.05134022608399391,
-0.03340453281998634,
-0.026226544752717018,
-0.04087928310036659,
-0.03347872197628021,
-0.040805090218782425,
0.026764430105686188,
-0.03857935965061188,
0.019604992121458054,
0.04125024005770683,
0.0023903436958789825,
-0.023778239265084267,
0.0163405854254961,
-0.0023833883460611105,
0.010609324090182781,
0.009375897236168385,
0.05096926912665367,
0.020050138235092163,
-0.04195505380630493,
0.0420292429625988,
-0.058610949665308,
-0.009635565802454948,
-0.050449930131435394,
0.013345119543373585,
0.007841069251298904,
0.018649781122803688,
-0.030789297074079514,
-0.018148992210626602,
-0.0072614517994225025,
0.017425628378987312,
-0.012343540787696838,
-0.004780687391757965,
-0.02515077404677868,
0.03141992166638374,
-0.012983438558876514,
-0.02578139863908291,
-0.09310980141162872,
0.01466201152652502,
0.032161831855773926,
-0.023073425516486168,
0.003480025101453066,
0.01650751382112503,
0.02064366638660431,
0.07252177596092224,
-0.0555691160261631,
-0.02967642992734909,
0.03399806097149849,
0.01731434278190136,
-0.0499676913022995,
0.04555331915616989,
-0.0281369648873806,
-0.08012636005878448,
-0.05645940825343132,
-0.030325602740049362,
0.01741635426878929,
-0.015403922647237778,
-0.03483270853757858,
0.027895845472812653,
-0.038542263209819794,
-0.0026453756727278233,
-0.02895306795835495,
-0.0018095667473971844,
-0.003992407117038965,
0.021867819130420685,
-0.058944810181856155,
-0.05475301295518875,
0.03913579136133194,
-0.014281782321631908,
-0.009839591570198536,
-0.012380636297166348,
0.0037350570783019066,
-0.018807437270879745,
0.014828941784799099,
0.024687081575393677,
-0.0136604318395257,
-0.018186086788773537,
0.018723972141742706,
-0.04006318002939224,
0.010794801637530327,
0.012788686901330948,
-0.021033169701695442,
-0.0038857576437294483,
-0.011221400462090969,
-0.026152353733778,
-0.012547565624117851,
-0.0026384200900793076,
-0.04195505380630493,
-0.006120763719081879,
0.014866037294268608,
-0.04588717967271805,
0.014940228313207626,
0.062283407896757126,
-0.01006216462701559,
0.011462521739304066,
-0.06402689963579178,
-0.044514644891023636,
-0.03012157790362835,
0.05022735893726349,
-0.03353436663746834,
0.03637217357754707,
-0.031957805156707764,
0.053343385457992554,
0.0037072354461997747,
-0.03266262263059616,
-0.005021808668971062,
-0.13161496818065643,
0.0018628916004672647,
0.008263031020760536,
-0.017815131694078445,
0.0006943821208551526,
0.019994495436549187,
-0.07708452641963959,
-0.006018751300871372,
-0.03321905434131622,
0.04355016350746155,
0.04173247888684273,
-0.03817130997776985,
0.05174827575683594,
-0.029008710756897926,
-0.001617133617401123,
0.000886815192643553,
0.0003602324577514082,
0.07515556365251541,
-0.010127081535756588,
-0.042622774839401245,
-0.004365681204944849,
0.014940228313207626,
-0.027395054697990417,
-0.034962546080350876,
0.03038124553859234,
-0.006853400729596615,
-0.006769935600459576,
0.009839591570198536,
-0.07649099826812744,
-0.02264682576060295,
0.04021156206727028,
-0.023833883926272392,
0.017388533800840378,
0.021867819130420685,
-0.006111490074545145,
-0.029824811965227127,
0.016711540520191193,
0.05890771374106407,
0.03282955288887024,
0.035852838307619095,
0.045145269483327866,
-0.047741957008838654,
-0.02689426578581333,
-0.0060604833997786045,
0.01362333633005619,
0.046406518667936325,
-0.02110736072063446,
-0.003897350048646331,
0.02199765481054783,
0.058944810181856155,
0.007256814744323492,
-0.006649375427514315,
-0.03084493987262249,
-0.03742939978837967,
-0.09088406711816788,
-0.049374163150787354,
0.013947922736406326,
0.028266800567507744,
-0.022331513464450836,
0.02670878730714321,
0.05530944839119911,
0.06432366371154785,
0.012844329699873924,
0.0043378593400120735,
-0.06298822164535522,
-0.000031734074582345784,
0.07437655329704285,
0.010451667942106724,
-0.05664488673210144,
0.015589400194585323,
-0.038764838129282,
-0.002951413858681917,
-0.02129283919930458,
-0.026226544752717018,
0.047741957008838654,
-0.039543844759464264,
-0.009783947840332985,
0.008671081624925137,
-0.06450913846492767,
-0.010627871379256248,
-0.02001304365694523,
0.024019360542297363,
-0.00855979509651661,
-0.03637217357754707,
0.025317704305052757,
-0.006375795695930719,
0.031067512929439545,
0.028841780498623848,
0.017842954024672508,
-0.02878613770008087,
-0.03850517049431801,
-0.009830317460000515,
0.023481475189328194,
-0.011926215142011642,
-0.056867461651563644,
-0.001416585873812437,
-0.09934185445308685,
-0.005703439004719257,
-0.04896610975265503,
-0.006820942275226116,
0.009505731984972954,
0.008007999509572983,
-0.002394980750977993,
0.026003971695899963,
0.08799061924219131,
-0.025670113041996956,
0.022127488628029823,
0.014764023944735527,
0.027636175975203514,
0.07526684552431107,
0.006524177733808756,
0.013066903688013554,
0.005453044082969427,
-0.03511092811822891,
0.045071080327034,
0.0008531973580829799,
0.019642086699604988,
0.05820289999246597,
0.03796728327870369,
-0.022331513464450836,
-0.021663794293999672,
0.06124473363161087,
-0.023852430284023285,
-0.003197171725332737,
0.017267972230911255,
0.04484850540757179,
0.029008710756897926,
0.02066221460700035,
-0.029305474832654,
0.08554231375455856,
-0.02967642992734909,
-0.012362088076770306,
0.057943232357501984,
-0.047296810895204544,
0.005100636277347803,
0.03292229026556015,
0.027469245716929436,
-0.03524076193571091,
0.0022616686765104532,
-0.028619207441806793,
0.05304662138223648,
0.005657069385051727,
0.02398226596415043,
0.006774572655558586,
-0.004277579020708799,
0.015524482354521751,
-0.036483462899923325,
-0.009306343272328377,
-0.026207998394966125,
-0.019716277718544006,
-0.03379403427243233,
-0.01982756517827511,
-0.004669400863349438,
-0.006055846810340881,
-0.015645043924450874,
0.06335917860269547,
0.01586761698126793,
0.02255408652126789,
0.023425832390785217,
-0.03579719364643097,
0.04714842885732651,
0.03839388117194176,
0.02887887693941593,
-0.01105447020381689,
-0.03995189443230629,
-0.037114087492227554,
0.024316124618053436,
0.008740636520087719,
-0.014179769903421402,
-0.007882801815867424,
0.009895234368741512,
-0.06120763719081879,
-0.017379259690642357,
0.06517685949802399,
0.047927435487508774,
-0.005703439004719257,
0.004676356445997953,
0.015014419332146645,
-0.026133807376027107,
0.007929171435534954,
0.037485040724277496,
-0.04280824959278107,
0.018621960654854774,
0.02272101677954197,
-0.06862674653530121,
-0.02578139863908291,
0.057312607765197754,
0.004975439049303532,
0.05033864453434944,
-0.025410443544387817,
-0.0062459614127874374,
-0.022331513464450836,
-0.04536784440279007,
-0.044885601848363876,
-0.04425497725605965,
-0.027728915214538574,
-0.000566576374694705,
0.021125908941030502,
-0.04844677448272705,
-0.015802700072526932,
0.02453869767487049,
-0.0459984689950943,
-0.01787077635526657,
-0.031086061149835587,
-0.011425425298511982,
-0.006134674418717623,
0.0182139091193676,
-0.007966266945004463,
0.03965513035655022,
-0.010581502690911293,
-0.06391561031341553,
0.04688876122236252,
-0.03672458231449127,
0.04165828973054886,
0.023945169523358345,
-0.0005451305187307298,
-0.04585008695721626,
0.012297171168029308,
0.03763342276215553,
0.00018098564760293812,
-0.02201620116829872,
-0.04147281125187874,
-0.005457681138068438,
-0.0004008057003375143,
0.026634596288204193,
0.02878613770008087,
0.022238774225115776,
0.03542624041438103,
-0.04284534603357315,
-0.0452936515212059,
0.001247337437234819,
-0.04095347598195076,
-0.020773502066731453,
-0.0506725050508976,
0.03462868556380272,
0.012287897057831287,
0.05512396991252899,
0.013892279006540775,
-0.0010212865890935063,
-0.047741957008838654,
0.021886367350816727,
-0.011202852241694927,
-0.006848763674497604,
0.03453594446182251,
0.013076176866889,
-0.02064366638660431,
-0.01975337415933609,
-0.013076176866889,
-0.04214053228497505,
0.07459912449121475,
0.0007517642807215452,
0.015394648537039757,
0.01222298014909029,
0.06640101224184036,
0.05482720583677292,
-0.007641681004315615,
0.03245859593153,
0.059389956295490265,
-0.02470562793314457,
-0.058944810181856155,
0.012278622947633266,
-0.03505528345704079,
0.034127894788980484,
-0.06955413520336151,
0.0039228531531989574,
0.00707597378641367,
-0.05274985358119011,
-0.007168712560087442,
0.0032458596397191286,
-0.005100636277347803,
0.052898235619068146,
-0.02199765481054783,
-0.047741957008838654,
-0.009445451200008392,
0.023926621302962303,
-0.04221472144126892,
-0.027042647823691368,
0.05364014953374863,
-0.02976916916668415,
-0.012427004985511303,
0.011573808267712593,
-0.04358725622296333,
-0.014884584583342075,
0.00407819077372551,
0.11403168737888336,
-0.028730494901537895,
-0.005374216008931398,
0.06673487275838852,
-0.03917288780212402,
-0.05130312964320183,
0.047741957008838654,
-0.013586240820586681,
-0.02264682576060295,
0.006496356334537268,
-0.016359131783246994,
0.011110113933682442,
0.028971616178750992,
0.053157906979322433,
-0.008323311805725098,
0.05564330890774727,
0.027357960119843483,
0.006598368752747774,
-0.0370027981698513,
0.033775486052036285,
0.002401936100795865,
-0.06755097210407257,
0.014179769903421402,
0.040916379541158676,
0.03182797133922577,
0.0429566316306591,
0.017713120207190514,
0.027654724195599556,
-0.030084481462836266,
0.007386649027466774,
0.03056672401726246,
0.021700890734791756,
-0.00757212657481432,
-0.01947515830397606,
0.045071080327034,
-0.037651970982551575,
0.022146036848425865,
0.028211155906319618,
-0.06105925515294075,
0.02589268609881401,
0.008763820864260197,
-0.027840200811624527,
-0.024649985134601593,
-0.04492269828915596,
-0.03590847924351692,
0.01982756517827511,
0.036835867911577225,
0.03895031660795212,
-0.0265047624707222,
-0.03208763897418976,
0.02388952672481537,
-0.03299647942185402,
0.054530441761016846,
-0.05115474760532379,
0.00703424122184515,
-0.025725755840539932,
-0.02507658302783966,
0.05070960149168968,
0.011193579062819481,
0.06495428830385208,
-0.012872152030467987,
0.005726623814553022,
0.07548941671848297,
-0.042437296360731125,
0.026449117809534073,
0.09281303733587265,
0.010841171257197857,
0.04336468502879143,
0.014235412701964378,
-0.018733246251940727,
0.012454827316105366,
0.005967744626104832,
0.060910873115062714,
-0.02633783221244812,
-0.020977526903152466,
0.032421499490737915,
-0.0009355031070299447,
-0.05278695002198219,
-0.0055411458015441895,
-0.033497270196676254,
-0.07730710506439209,
0.05197085067629814,
-0.03961803391575813,
-0.0005906305159442127,
0.001307617756538093,
0.01992030441761017,
-0.055420733988285065,
-0.00019518629414960742,
-0.00453261099755764,
-0.017258699983358383,
0.0021863183937966824,
0.05838837847113609,
-0.018464304506778717,
-0.016711540520191193,
-0.03998899087309837,
-0.0021770442835986614,
-0.014235412701964378,
-0.00020286622748244554,
0.009746852330863476,
-0.06996218860149384,
-0.015172075480222702,
-0.005272203590720892,
0.087322898209095,
0.03399806097149849,
-0.051636990159749985,
-0.011740737594664097,
0.006635464262217283,
-0.05545783042907715,
-0.032699715346097946,
-0.00127399992197752,
-0.0474080964922905,
-0.0028656304348260164,
0.10965441167354584,
-0.024279030039906502,
0.08420687168836594,
0.01326165534555912,
0.05853676050901413,
0.02003159001469612,
-0.02145976945757866,
-0.026449117809534073,
0.005211923271417618,
0.012640304863452911,
-0.05007897689938545,
-0.04340178146958351,
-0.04418078437447548,
-0.026820074766874313,
-0.0233516413718462,
-0.07044442743062973,
0.04355016350746155,
0.012464100494980812,
-0.018158266320824623,
0.0035936301574110985,
-0.016173655167222023,
-0.043253395706415176,
0.015589400194585323,
0.031883616000413895,
-0.051896657794713974,
0.028285348787903786,
0.013363667763769627,
0.06306241452693939,
-0.012417731806635857,
0.004423642996698618,
0.024149196222424507,
-0.029880456626415253,
0.004027184564620256,
0.0611705407500267,
-0.02515077404677868,
-0.04247439280152321,
0.019734825938940048,
-0.009301706217229366,
-0.002211821498349309,
0.024149196222424507,
-0.012742317281663418,
-0.000985350226983428,
0.05842547118663788,
0.02670878730714321,
-0.040359944105148315,
0.01766674965620041,
-0.061726976186037064,
-0.04651780426502228,
0.008773094974458218,
0.02741360291838646,
0.015923259779810905,
-0.016368405893445015,
-0.008870470337569714,
0.006913681048899889,
-0.004013273399323225,
0.003658547531813383,
0.04499688744544983,
-0.02670878730714321,
-0.03077074885368347,
0.012464100494980812,
-0.012306444346904755,
0.036483462899923325,
-0.0625801756978035,
-0.0037721525877714157,
0.035389143973588943,
-0.04840967804193497,
-0.026449117809534073,
0.010451667942106724,
0.012195157818496227,
0.028637755662202835,
0.08086827397346497,
0.03668748587369919,
0.03039979375898838,
-0.012158062309026718,
0.027561984956264496,
-0.004678674973547459,
0.022776659578084946,
0.010664966888725758,
0.11321558058261871,
0.01984611339867115,
0.017165960744023323,
0.009352712891995907,
0.028841780498623848,
0.0793844535946846,
-0.02353711985051632,
-0.05475301295518875,
-0.0030858851969242096,
-0.010368202812969685,
-0.005021808668971062,
0.015209170989692211,
-0.02084769308567047,
-0.021793628111481667,
0.011212126351892948,
0.028934519737958908,
0.011397603899240494,
-0.01849212497472763,
0.018473578616976738,
0.02010578103363514,
-0.003869528416544199,
0.00306501891463995,
0.035407692193984985,
0.0014386113034561276,
0.0008218979928642511,
0.017629655078053474,
0.0006561273476108909,
-0.07908768951892853,
0.03984060883522034,
0.07871673256158829,
0.024872558191418648,
0.008508789353072643,
-0.016850648447871208,
0.07359755039215088,
-0.07114924490451813,
-0.0665493980050087,
-0.023333093151450157,
0.013178190216422081,
-0.017907870933413506,
0.010256916284561157,
0.03932126984000206,
-0.05438205972313881,
-0.0221831314265728,
0.0016194521449506283,
0.009570648893713951,
0.008638623170554638,
0.006371158640831709,
-0.0163405854254961,
-0.03258842974901199,
-0.012853603810071945,
0.007613859139382839,
-0.11195433139801025,
-0.06636391580104828,
-0.016173655167222023,
0.02932402305305004,
-0.09110663831233978,
-0.03754068538546562,
-0.015459565445780754,
-0.05033864453434944,
0.024408863857388496,
0.06376723200082779,
0.03564881160855293,
0.012779412791132927,
0.016813552007079124,
0.006018751300871372,
0.01159235555678606,
-0.05430786684155464,
-0.02118155173957348,
0.013901553116738796,
-0.05178537219762802,
0.004180203657597303,
0.08999377489089966,
-0.005309299100190401,
-0.07953283190727234,
0.08621002733707428,
0.06914608180522919,
-0.03598267212510109,
-0.031327180564403534,
0.05104346200823784,
0.046480707824230194,
-0.03177232667803764,
0.027895845472812653,
0.0350181870162487,
-0.03464723378419876,
-0.004437553696334362,
-0.03173523396253586,
0.018334468826651573,
0.05709003284573555,
0.018260277807712555,
0.0203098077327013,
0.006681833881884813,
0.017295794561505318,
-0.05441915616393089,
-0.1092834547162056,
0.04815001040697098,
-0.03600122034549713,
-0.012018954381346703,
-0.011926215142011642,
0.04555331915616989,
0.006500992923974991,
0.025410443544387817,
0.023295998573303223,
0.019716277718544006,
0.012491922825574875,
-0.03129008784890175,
0.017203055322170258,
0.030511079356074333,
0.00002150019645341672,
0.02003159001469612,
0.006278419867157936,
-0.017731666564941406,
0.009334164671599865,
0.010535133071243763,
0.05386272072792053,
0.04076799750328064,
-0.0492628738284111,
-0.008824100717902184,
0.07901349663734436,
0.03294083848595619,
0.0492628738284111,
-0.0020228661596775055,
0.04859515652060509,
0.03065946139395237,
0.012918520718812943,
-0.047111332416534424,
0.01822318322956562,
-0.0027172481641173363,
-0.001784063526429236
] |
719,416
|
ibm_platform_services.catalog_management_v1
|
update_offering_ibm
|
Allow offering to be published.
Approve or disapprove the offering to be allowed to publish to the IBM Public
Catalog. Options:
* `allow_request` - (Allow requesting to publish to IBM)
* `ibm` - (Allow publishing to be visible to IBM only)
* `public` - (Allow publishing to be visible to everyone, including IBM)
If disapprove `public`, then `ibm` approval will not be changed. If disapprove
`ibm` then `public` will automatically be disapproved. if disapprove
`allow_request` then all rights to publish will be removed. This is because the
process steps always go first through `allow` to `ibm` and then to `public`. `ibm`
cannot be skipped. Only users with Approval IAM authority can use this. Approvers
should use the catalog and offering id from the public catalog since they wouldn't
have access to the private offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str approval_type: Type of approval, ibm or public.
:param str approved: Approve (true) or disapprove (false).
: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 representing a `ApprovalResult` object
|
def update_offering_ibm(
self, catalog_identifier: str, offering_id: str, approval_type: str, approved: str, **kwargs
) -> DetailedResponse:
"""
Allow offering to be published.
Approve or disapprove the offering to be allowed to publish to the IBM Public
Catalog. Options:
* `allow_request` - (Allow requesting to publish to IBM)
* `ibm` - (Allow publishing to be visible to IBM only)
* `public` - (Allow publishing to be visible to everyone, including IBM)
If disapprove `public`, then `ibm` approval will not be changed. If disapprove
`ibm` then `public` will automatically be disapproved. if disapprove
`allow_request` then all rights to publish will be removed. This is because the
process steps always go first through `allow` to `ibm` and then to `public`. `ibm`
cannot be skipped. Only users with Approval IAM authority can use this. Approvers
should use the catalog and offering id from the public catalog since they wouldn't
have access to the private offering.
:param str catalog_identifier: Catalog identifier.
:param str offering_id: Offering identification.
:param str approval_type: Type of approval, ibm or public.
:param str approved: Approve (true) or disapprove (false).
: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 representing a `ApprovalResult` object
"""
if catalog_identifier is None:
raise ValueError('catalog_identifier must be provided')
if offering_id is None:
raise ValueError('offering_id must be provided')
if approval_type is None:
raise ValueError('approval_type must be provided')
if approved is None:
raise ValueError('approved must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_offering_ibm'
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['catalog_identifier', 'offering_id', 'approval_type', 'approved']
path_param_values = self.encode_path_vars(catalog_identifier, offering_id, approval_type, approved)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/catalogs/{catalog_identifier}/offerings/{offering_id}/publish/{approval_type}/{approved}'.format(
**path_param_dict
)
request = self.prepare_request(method='POST', url=url, headers=headers)
response = self.send(request, **kwargs)
return response
|
(self, catalog_identifier: str, offering_id: str, approval_type: str, approved: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0020168395712971687,
-0.03766002133488655,
-0.02226627990603447,
0.00919734500348568,
0.018737390637397766,
-0.05623995512723923,
0.0034200598020106554,
-0.012874430045485497,
-0.04479190334677696,
0.023618558421730995,
-0.029435208067297935,
-0.026434261351823807,
-0.015792015939950943,
0.023007255047559738,
-0.04494009539484978,
-0.01730175130069256,
-0.011059042997658253,
-0.05790714919567108,
0.04968233406543732,
-0.012161241844296455,
0.045792218297719955,
-0.0011380903888493776,
0.013115246780216694,
0.03419596701860428,
0.042680125683546066,
0.05887041613459587,
0.0505344532430172,
0.01839469000697136,
-0.028027355670928955,
0.0012353432830423117,
0.0570550262928009,
-0.03132469207048416,
0.022136610001325607,
0.04979347810149193,
0.04590336233377457,
0.001895273569971323,
0.0036909787449985743,
-0.0025957259349524975,
-0.030379949137568474,
0.019617296755313873,
-0.05209049955010414,
-0.0008353328448720276,
0.06954044848680496,
-0.03849361836910248,
-0.02774948999285698,
0.0602412186563015,
-0.02969454787671566,
0.05957433953881264,
0.024137239903211594,
0.01978401653468609,
-0.012892954051494598,
-0.022896109148859978,
0.023840850219130516,
-0.018672553822398186,
-0.009401112794876099,
0.018042726442217827,
-0.002896746853366494,
0.026749175041913986,
0.04753350839018822,
-0.013439422473311424,
-0.03830837458372116,
-0.03823427855968475,
-0.01915418729186058,
-0.048904310911893845,
-0.033510565757751465,
0.0148009629920125,
-0.034714650362730026,
0.003496472956612706,
-0.04682958126068115,
0.06628015637397766,
0.062464140355587006,
-0.02022860012948513,
-0.05101608484983444,
0.0148009629920125,
0.013902531936764717,
0.0003047836071345955,
-0.009461316280066967,
0.019987784326076508,
-0.020691709592938423,
-0.01743142306804657,
0.044717803597450256,
-0.06635425984859467,
0.027582772076129913,
-0.0269158948212862,
-0.008428583852946758,
0.025748860090970993,
0.033195652067661285,
-0.024396581575274467,
-0.037159863859415054,
-0.022784963250160217,
0.026934418827295303,
0.02356298454105854,
0.04230963811278343,
0.024396581575274467,
0.02033974602818489,
-0.0016637190710753202,
-0.02204398810863495,
-0.07943245768547058,
0.04531058296561241,
0.021654976531863213,
-0.03960508108139038,
-0.027619820088148117,
0.022414475679397583,
-0.004056834615767002,
0.0656132847070694,
-0.038123130798339844,
-0.020580563694238663,
0.015328907407820225,
-0.016662660986185074,
-0.02936111018061638,
0.01817239634692669,
-0.04971938207745552,
-0.0710223913192749,
-0.07735772430896759,
-0.023951996117830276,
0.03688200190663338,
-0.010179135948419571,
-0.02067318558692932,
0.041457515209913254,
0.017801908776164055,
-0.028675708919763565,
-0.05905565991997719,
0.04023490846157074,
-0.020728757604956627,
0.010475525632500648,
-0.0017725497018545866,
-0.03139878809452057,
0.021358586847782135,
0.010308805853128433,
0.001442584558390081,
-0.038790009915828705,
-0.009688240475952625,
-0.0322694331407547,
0.05694388225674629,
0.0019080090569332242,
-0.013309752568602562,
0.011068305000662804,
0.016570039093494415,
-0.00726154912263155,
0.015319645404815674,
-0.01948762685060501,
-0.016097668558359146,
-0.01870960369706154,
0.003269549459218979,
-0.03628921881318092,
-0.008993576280772686,
0.01991368643939495,
-0.028138501569628716,
-0.024118715897202492,
-0.03617807477712631,
0.009493734687566757,
-0.025007884949445724,
0.019172711297869682,
-0.009447423741221428,
0.012133455835282803,
-0.017829695716500282,
0.006210291758179665,
-0.03541857749223709,
-0.0039179022423923016,
-0.029324062168598175,
-0.021914318203926086,
-0.027045564725995064,
0.03356613963842392,
0.021006623283028603,
-0.03371433541178703,
-0.011373956687748432,
-0.030954204499721527,
0.012513204477727413,
0.010188397951424122,
0.016616350039839745,
-0.006983683444559574,
0.02432248368859291,
-0.09973515570163727,
-0.03360318765044212,
-0.027490150183439255,
0.07795050740242004,
0.04779284819960594,
-0.07235614955425262,
0.03614102676510811,
-0.02419281378388405,
-0.010105038061738014,
0.0023850114084780216,
-0.06279757618904114,
0.05323901027441025,
-0.011114615947008133,
-0.006210291758179665,
0.0025818326976150274,
0.052016403526067734,
-0.008470263332128525,
-0.017866745591163635,
0.03397367522120476,
-0.009076936170458794,
0.007729289121925831,
0.01622733846306801,
-0.07272663712501526,
-0.03614102676510811,
0.032325007021427155,
-0.002794862724840641,
-0.012133455835282803,
0.011420267634093761,
0.043532244861125946,
-0.008007154799997807,
-0.0010391008108854294,
0.05657339468598366,
0.06913290917873383,
-0.03530742973089218,
-0.010318067856132984,
-0.04605155810713768,
-0.0035080506931990385,
0.0006529836682602763,
0.012346485629677773,
0.036844950169324875,
-0.04371748864650726,
-0.028916524723172188,
-0.010790439322590828,
0.05683273449540138,
0.02054351568222046,
0.02495231293141842,
-0.023914948105812073,
-0.006766022183001041,
-0.03034290112555027,
-0.030157657340168953,
0.032880738377571106,
0.017311014235019684,
0.04442141577601433,
0.031120924279093742,
0.08832414448261261,
0.022229231894016266,
0.003626143326982856,
0.013522782362997532,
-0.057092078030109406,
-0.007701502647250891,
0.012911478988826275,
0.013893269933760166,
-0.04871906712651253,
-0.025322800502181053,
0.011142401956021786,
-0.014708341099321842,
-0.055573079735040665,
0.03614102676510811,
0.06268643587827682,
-0.008701818063855171,
0.0044898418709635735,
0.083952397108078,
-0.11877819150686264,
-0.013494996353983879,
0.010132825002074242,
0.03904934972524643,
0.009845697320997715,
-0.019061565399169922,
0.04501419514417648,
-0.06724342703819275,
-0.019302383065223694,
0.005950950551778078,
0.04594041034579277,
-0.020302698016166687,
-0.052016403526067734,
-0.029324062168598175,
0.021969890221953392,
-0.023081352934241295,
-0.05186820775270462,
0.01059593353420496,
-0.06935520470142365,
0.0018964313203468919,
-0.02032122202217579,
-0.021599402651190758,
0.0024776330683380365,
-0.0031815588008612394,
0.06439067423343658,
0.018830010667443275,
-0.016032833606004715,
0.015375218354165554,
0.03797493875026703,
0.028860952705144882,
0.00045992512605153024,
0.04271717369556427,
0.015264072455465794,
-0.0038576978258788586,
-0.05887041613459587,
-0.03251025080680847,
0.01027175784111023,
0.0050293635576963425,
0.05027511343359947,
0.05757370963692665,
-0.013319014571607113,
-0.013513520359992981,
-0.04375453665852547,
0.016570039093494415,
-0.0016822434263303876,
-0.02550804242491722,
-0.013884007930755615,
0.09743813425302505,
0.007414374966174364,
-0.008544361218810081,
0.013680239208042622,
0.07898786664009094,
-0.036844950169324875,
-0.009322384372353554,
0.05898156017065048,
-0.007460685912519693,
-0.027490150183439255,
0.016440369188785553,
0.03582611307501793,
-0.05875926837325096,
0.05175705999135971,
-0.020135978236794472,
0.05661044269800186,
-0.01730175130069256,
-0.0041564032435417175,
0.02723080851137638,
0.009368695318698883,
0.00865087565034628,
-0.05668453872203827,
0.0006489314837381244,
0.0059277950786054134,
-0.01958024874329567,
0.0037396051920950413,
-0.0104847876355052,
-0.003811387112364173,
0.03723396360874176,
-0.02247004769742489,
-0.008238708600401878,
-0.03306598216295242,
-0.02163645252585411,
0.055239640176296234,
-0.06839193403720856,
0.009484471753239632,
0.04345814883708954,
0.04219849035143852,
-0.025674762204289436,
-0.02787916176021099,
0.01355983130633831,
0.006562254391610622,
-0.0018559092422947288,
-0.009892008267343044,
-0.0322694331407547,
0.003044941695407033,
-0.05457276478409767,
0.02378527820110321,
0.05312786251306534,
-0.042346686124801636,
0.0025100507773458958,
0.01065150648355484,
0.03249172866344452,
-0.0667617917060852,
0.012624351307749748,
0.002305125119164586,
-0.07124468684196472,
-0.024248387664556503,
-0.012198290787637234,
-0.08247044682502747,
-0.01468055509030819,
0.01926533319056034,
0.04645909368991852,
0.010901585221290588,
0.0010350486263632774,
0.0079423189163208,
0.0029638975393027067,
-0.052868522703647614,
-0.015134401619434357,
0.002667507855221629,
-0.02624901756644249,
0.00803494080901146,
0.033195652067661285,
-0.021340062841773033,
-0.004133247770369053,
0.008627720177173615,
-0.037715595215559006,
0.02763834409415722,
-0.050719697028398514,
0.014504573307931423,
-0.02687884494662285,
-0.03486284613609314,
-0.0040961988270282745,
0.022673815488815308,
0.060204170644283295,
-0.10447739064693451,
0.024711495265364647,
-0.08121079206466675,
0.04323585703969002,
0.0505344532430172,
0.004779284819960594,
0.0010518362978473306,
0.03897525370121002,
0.03778969496488571,
-0.028342269361019135,
-0.004793177824467421,
-0.02204398810863495,
-0.03182484954595566,
0.03773412108421326,
0.01070707943290472,
0.005765706766396761,
0.004471317399293184,
0.0035103661939501762,
0.021358586847782135,
-0.0559435673058033,
-0.03443678468465805,
-0.029546353965997696,
-0.05623995512723923,
-0.05186820775270462,
0.02786063775420189,
0.04382863640785217,
0.04349519684910774,
-0.024711495265364647,
-0.020487941801548004,
-0.029083244502544403,
0.01969139464199543,
-0.00044255852117203176,
-0.030954204499721527,
0.03295483440160751,
0.01597725972533226,
0.011920425109565258,
0.0067567601799964905,
-0.06898471713066101,
-0.02250709757208824,
0.024581825360655785,
-0.00313524785451591,
0.01489358488470316,
-0.012726235203444958,
0.026100823655724525,
0.07080010324716568,
-0.002473002066835761,
0.05727732181549072,
0.04097588360309601,
-0.03186189755797386,
-0.04016081243753433,
0.00372339622117579,
-0.00022533147421199828,
0.0366041362285614,
-0.10425509512424469,
0.06005597487092018,
0.07491251081228256,
0.0004955266485922039,
0.023396266624331474,
0.012568778358399868,
-0.003630774561315775,
0.005233131814748049,
-0.02021007612347603,
-0.028231123462319374,
0.015847589820623398,
0.03165813162922859,
-0.03747478127479553,
-0.053646545857191086,
0.005154402926564217,
0.008002523332834244,
0.006562254391610622,
-0.027619820088148117,
-0.019024517387151718,
0.022766437381505966,
0.040197860449552536,
0.10121709853410721,
0.006682662758976221,
0.02626754157245159,
0.013809910044074059,
-0.01377286110073328,
-0.03530742973089218,
0.03356613963842392,
0.005316491238772869,
-0.03945688530802727,
0.01151288952678442,
-0.00170771440025419,
-0.02980569377541542,
-0.029194390401244164,
0.04808923602104187,
0.06742867082357407,
0.05175705999135971,
0.0019184290431439877,
-0.010457000695168972,
-0.04423617199063301,
0.04123522341251373,
0.018200183287262917,
-0.06794735044240952,
0.04883021116256714,
0.045681070536375046,
0.03667823225259781,
0.033510565757751465,
-0.0069605279713869095,
0.015958735719323158,
-0.03486284613609314,
0.004628774244338274,
0.02358151040971279,
0.055684223771095276,
-0.010086514055728912,
0.018181659281253815,
0.006789177656173706,
-0.05661044269800186,
0.06001892685890198,
0.01980254054069519,
-0.008405428379774094,
0.0006240393850021064,
0.026008201763033867,
0.04016081243753433,
0.018496572971343994,
0.04397682845592499,
0.00865087565034628,
-0.007034625392407179,
0.005835173185914755,
-0.0009841065621003509,
0.0000853857200127095,
-0.015301121398806572,
0.02356298454105854,
-0.042457833886146545,
0.01606988161802292,
-0.029287012293934822,
0.054498665034770966,
-0.01926533319056034,
-0.08024752885103226,
0.01028101984411478,
-0.024896739050745964,
0.035566769540309906,
-0.015236285515129566,
-0.019987784326076508,
0.05905565991997719,
-0.08128488808870316,
-0.00926217995584011,
0.08913921564817429,
0.02421133778989315,
0.05401703342795372,
0.00195779325440526,
-0.017199868336319923,
0.03636331856250763,
-0.05586946755647659,
-0.012781808152794838,
-0.016005046665668488,
0.0044921571388840675,
-0.019339431077241898,
-0.010818226262927055,
-0.0731341689825058,
-0.03428858891129494,
-0.03766002133488655,
-0.08098850399255753,
0.0032139765098690987,
-0.025693286210298538,
-0.04164275899529457,
-0.011105353944003582,
0.03213976323604584,
-0.07869148254394531,
-0.004899693187326193,
0.04419912025332451,
-0.011503627523779869,
-0.006636351812630892,
0.033825479447841644,
-0.07554233819246292,
-0.01054962258785963,
-0.02787916176021099,
0.010947896167635918,
-0.047607604414224625,
-0.008701818063855171,
0.021914318203926086,
-0.011188712902367115,
-0.02152530662715435,
-0.014059988781809807,
0.08269274234771729,
0.06305692344903946,
-0.03682642802596092,
0.05049740523099899,
0.06290872395038605,
-0.06698408722877502,
-0.007780231069773436,
0.016458893194794655,
-0.05846288055181503,
0.025897054001688957,
0.07491251081228256,
-0.05498030036687851,
0.06005597487092018,
0.028101453557610512,
0.05838878080248833,
0.019061565399169922,
0.003339015878736973,
-0.03625217080116272,
0.01888558454811573,
-0.027805063873529434,
-0.024989360943436623,
-0.03462202847003937,
-0.0527203269302845,
-0.0009053780813701451,
-0.010299543850123882,
-0.05386883765459061,
-0.00020507044973783195,
0.030843058601021767,
-0.027249332517385483,
0.03245467692613602,
0.04605155810713768,
-0.04853382334113121,
-0.02669360302388668,
0.009285335429012775,
-0.048459723591804504,
-0.010077252052724361,
0.007423636969178915,
0.06824374198913574,
-0.05972253531217575,
0.01269844826310873,
-0.014106299728155136,
-0.03540005162358284,
0.0013765915064141154,
0.04753350839018822,
0.03171370550990105,
-0.03853066638112068,
0.02519312873482704,
-0.006293651182204485,
0.017709288746118546,
-0.00023705391504336149,
-0.008664769120514393,
0.0066595072858035564,
0.04853382334113121,
0.03778969496488571,
-0.014958420768380165,
-0.011975998058915138,
-0.07217090576887131,
-0.0037164497189223766,
-0.014504573307931423,
0.019672870635986328,
0.022340377792716026,
-0.009892008267343044,
-0.02465592324733734,
-0.0014935265062376857,
-0.039345741271972656,
0.03249172866344452,
0.03919754549860954,
-0.015162188559770584,
-0.044162072241306305,
-0.019506150856614113,
-0.01274475920945406,
0.005696240812540054,
-0.05027511343359947,
0.0026999253313988447,
0.031898945569992065,
-0.044903047382831573,
0.011975998058915138,
0.015634559094905853,
-0.009076936170458794,
0.07124468684196472,
0.06924405694007874,
-0.009340908378362656,
0.06287167966365814,
-0.005696240812540054,
0.012402058579027653,
0.049422990530729294,
-0.0166904479265213,
0.03034290112555027,
0.10692260414361954,
0.005376695189625025,
-0.0018177027814090252,
-0.027249332517385483,
0.05972253531217575,
0.10381051152944565,
-0.03736363351345062,
-0.03519628196954727,
-0.007909901440143585,
-0.007645929232239723,
-0.044162072241306305,
-0.0004547151329461485,
-0.002600356936454773,
-0.016218077391386032,
-0.0440879762172699,
-0.012151979841291904,
-0.003102830145508051,
0.03139878809452057,
0.005566569976508617,
-0.007182820234447718,
0.009641929529607296,
-0.0494600385427475,
0.006075989920645952,
-0.015477102249860764,
0.005103460978716612,
0.015532675199210644,
0.009192713536322117,
-0.07943245768547058,
0.024748545140028,
0.051164280623197556,
0.0838783010840416,
0.0017783385701477528,
0.03477022424340248,
0.052979666739702225,
-0.03108387626707554,
-0.017070196568965912,
-0.009725288487970829,
0.016588564962148666,
-0.005765706766396761,
0.026712127029895782,
0.024489203467965126,
-0.0731341689825058,
-0.010058727115392685,
0.011540676467120647,
0.014495311304926872,
-0.01684790477156639,
0.017514782026410103,
-0.0295834019780159,
-0.06402018666267395,
-0.04134637117385864,
-0.0030819904059171677,
-0.08587893098592758,
-0.052238695323467255,
-0.024563301354646683,
0.0387529619038105,
-0.03886410593986511,
-0.06264938414096832,
-0.02228480391204357,
-0.022840535268187523,
0.02215513400733471,
0.07283778488636017,
0.0034802639856934547,
0.026119347661733627,
0.022877583280205727,
-0.011661084368824959,
0.05909270793199539,
-0.05401703342795372,
-0.015171450562775135,
0.007090198807418346,
-0.04657024145126343,
0.001260814256966114,
0.11255400627851486,
-0.005612880922853947,
-0.052757374942302704,
0.06487230956554413,
0.03838247433304787,
-0.0958079844713211,
-0.012392796576023102,
0.012503942474722862,
0.01790379360318184,
-0.014374903403222561,
0.00341542880050838,
-0.013893269933760166,
-0.041976198554039,
-0.012226077727973461,
-0.002391957910731435,
-0.004008208401501179,
0.04475485160946846,
0.040716543793678284,
0.0290461964905262,
0.013541307300329208,
0.04723711684346199,
-0.055461931973695755,
-0.04875611513853073,
0.023711180314421654,
-0.03195451945066452,
-0.028323745355010033,
0.01956172287464142,
0.05453571304678917,
0.001706556649878621,
0.042976513504981995,
0.06628015637397766,
0.02271086536347866,
0.015717919915914536,
-0.04108703136444092,
0.015301121398806572,
0.0290647204965353,
-0.03360318765044212,
0.057092078030109406,
0.019357955083251,
-0.007298597600311041,
-0.0007652876083739102,
-0.017496258020401,
0.062241848558187485,
0.03640036657452583,
-0.024489203467965126,
0.012503942474722862,
0.07009617984294891,
0.005145140923559666,
0.03002798743546009,
-0.0024706865660846233,
-0.004246709402650595,
0.029953889548778534,
-0.00031925574876368046,
-0.0025540459901094437,
0.024026094004511833,
-0.006534467916935682,
0.013217130675911903
] |
719,417
|
ibm_platform_services.catalog_management_v1
|
validate_install
|
Validate offering.
Validate the offering associated with 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 region.
:param str namespace: (optional) Kube namespace.
:param dict override_values: (optional) Object containing Helm chart
override values. To use a secret for items of type password, specify a
JSON encoded value of $ref:#/components/schemas/SecretInstance, prefixed
with `cmsm_v1:`.
:param str entitlement_apikey: (optional) Entitlement API Key for this
offering.
:param DeployRequestBodySchematics schematics: (optional) Schematics
workspace configuration.
:param str script: (optional) Script.
:param str script_id: (optional) Script ID.
:param str version_locator_id: (optional) A dotted value of
`catalogID`.`versionID`.
:param str vcenter_id: (optional) VCenter ID.
:param str vcenter_user: (optional) VCenter User.
:param str vcenter_password: (optional) VCenter Password.
:param str vcenter_location: (optional) VCenter Location.
:param str vcenter_datastore: (optional) VCenter Datastore.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def validate_install(
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,
script_id: str = None,
version_locator_id: str = None,
vcenter_id: str = None,
vcenter_user: str = None,
vcenter_password: str = None,
vcenter_location: str = None,
vcenter_datastore: str = None,
**kwargs
) -> DetailedResponse:
"""
Validate offering.
Validate the offering associated with 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 region.
:param str namespace: (optional) Kube namespace.
:param dict override_values: (optional) Object containing Helm chart
override values. To use a secret for items of type password, specify a
JSON encoded value of $ref:#/components/schemas/SecretInstance, prefixed
with `cmsm_v1:`.
:param str entitlement_apikey: (optional) Entitlement API Key for this
offering.
:param DeployRequestBodySchematics schematics: (optional) Schematics
workspace configuration.
:param str script: (optional) Script.
:param str script_id: (optional) Script ID.
:param str version_locator_id: (optional) A dotted value of
`catalogID`.`versionID`.
:param str vcenter_id: (optional) VCenter ID.
:param str vcenter_user: (optional) VCenter User.
:param str vcenter_password: (optional) VCenter Password.
:param str vcenter_location: (optional) VCenter Location.
:param str vcenter_datastore: (optional) VCenter Datastore.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if version_loc_id is None:
raise ValueError('version_loc_id must be provided')
if x_auth_refresh_token is None:
raise ValueError('x_auth_refresh_token must be provided')
if schematics is not None:
schematics = convert_model(schematics)
headers = {'X-Auth-Refresh-Token': x_auth_refresh_token}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='validate_install'
)
headers.update(sdk_headers)
data = {
'cluster_id': cluster_id,
'region': region,
'namespace': namespace,
'override_values': override_values,
'entitlement_apikey': entitlement_apikey,
'schematics': schematics,
'script': script,
'script_id': script_id,
'version_locator_id': version_locator_id,
'vcenter_id': vcenter_id,
'vcenter_user': vcenter_user,
'vcenter_password': vcenter_password,
'vcenter_location': vcenter_location,
'vcenter_datastore': vcenter_datastore,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['version_loc_id']
path_param_values = self.encode_path_vars(version_loc_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/versions/{version_loc_id}/validation/install'.format(**path_param_dict)
request = self.prepare_request(method='POST', url=url, headers=headers, data=data)
response = self.send(request, **kwargs)
return response
|
(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.DeployRequestBodySchematics] = None, script: Optional[str] = None, script_id: Optional[str] = None, version_locator_id: Optional[str] = None, vcenter_id: Optional[str] = None, vcenter_user: Optional[str] = None, vcenter_password: Optional[str] = None, vcenter_location: Optional[str] = None, vcenter_datastore: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.026194630190730095,
-0.039018675684928894,
-0.059025753289461136,
-0.0022703150752931833,
-0.000879579340107739,
-0.015107781626284122,
-0.009944980964064598,
0.009808346629142761,
-0.06577935814857483,
0.057503264397382736,
0.008710397407412529,
0.005094484426081181,
0.009818105958402157,
-0.02439887262880802,
0.0053726318292319775,
-0.04161471873521805,
0.02594088204205036,
-0.01839675009250641,
0.02014371007680893,
-0.02570665255188942,
0.027365775778889656,
-0.013536494225263596,
-0.02570665255188942,
0.06296861171722412,
0.06449110060930252,
0.06320284307003021,
0.08947554975748062,
-0.006597455125302076,
0.006568176671862602,
0.018699295818805695,
-0.005445828195661306,
0.040365494787693024,
0.016659550368785858,
0.09205206483602524,
0.014805235899984837,
-0.05098388344049454,
0.028127020224928856,
-0.056917689740657806,
-0.07858388870954514,
0.07382123172283173,
-0.022329848259687424,
0.06425686925649643,
0.040755875408649445,
-0.02264215424656868,
0.011282038874924183,
0.013985433615744114,
-0.044386427849531174,
0.04696295037865639,
-0.044972002506256104,
-0.00574837438762188,
-0.013341303914785385,
0.009447243995964527,
0.03814031928777695,
-0.038296472281217575,
-0.01629844680428505,
0.0330263152718544,
0.03343621641397476,
0.03263593092560768,
0.008861670270562172,
0.02535530924797058,
-0.03536860644817352,
0.00748557411134243,
-0.02779519557952881,
0.020065633580088615,
-0.02722914144396782,
0.004050212912261486,
-0.036930132657289505,
-0.038647815585136414,
-0.02188090980052948,
0.01571287401020527,
0.005133522674441338,
0.02668260782957077,
-0.018308913335204124,
-0.010471995919942856,
0.07639774680137634,
-0.004730941262096167,
0.005821571219712496,
-0.02687779814004898,
0.04450354352593422,
-0.03413890302181244,
0.04723621904850006,
-0.06050920486450195,
0.004247843753546476,
-0.07241585105657578,
0.015576240606606007,
0.03316294774413109,
0.015976382419466972,
-0.02012418955564499,
0.015302972868084908,
0.038862522691488266,
0.013692647218704224,
0.03765233978629112,
-0.04180990904569626,
0.04610411077737808,
0.026936355978250504,
-0.0066316137090325356,
0.014756438322365284,
-0.07538275420665741,
-0.026428859680891037,
0.017606226727366447,
0.0026619171258062124,
0.011828573420643806,
-0.027151064947247505,
0.007163509260863066,
0.022603115066885948,
-0.03359236940741539,
-0.0778031274676323,
-0.013946395367383957,
0.00835905410349369,
0.03872589021921158,
0.04204413667321205,
-0.006758487783372402,
-0.038647815585136414,
-0.0037525466177612543,
-0.03612985089421272,
-0.0035353966522961855,
-0.035212453454732895,
-0.01685474067926407,
-0.020046113058924675,
0.024047529324889183,
0.03743762895464897,
-0.005011528264731169,
0.017157286405563354,
0.009813226759433746,
0.039818961173295975,
0.01647411845624447,
-0.048992935568094254,
0.0560588501393795,
0.05879152566194534,
-0.04832928627729416,
0.05391174927353859,
-0.018904246389865875,
0.016962096095085144,
-0.011340595781803131,
-0.05703480541706085,
-0.03261641412973404,
0.018845688551664352,
0.004194166045635939,
-0.02668260782957077,
0.03246026113629341,
0.019284868612885475,
-0.0006923180189915001,
-0.026214148849248886,
-0.022525038570165634,
-0.030078930780291557,
-0.02857596054673195,
-0.03784753009676933,
-0.03285064175724983,
-0.03187468647956848,
-0.010969732888042927,
0.03860877454280853,
-0.02301301620900631,
0.0341193825006485,
-0.03724243864417076,
-0.0425906740128994,
-0.04688487574458122,
-0.010530553758144379,
-0.08682095259428024,
0.05262348800897598,
-0.044074125587940216,
-0.009437483735382557,
-0.08143367618322372,
0.09658049792051315,
0.009710751473903656,
0.004630906041711569,
0.02478925511240959,
-0.02994229644536972,
-0.005782532971352339,
-0.0464944913983345,
0.0349782258272171,
0.017947811633348465,
0.04637737572193146,
-0.04395700991153717,
-0.00853472575545311,
-0.0322650708258152,
0.047665636986494064,
0.04477681219577789,
-0.07222066074609756,
0.04157567769289017,
0.006099718157202005,
-0.06101670116186142,
-0.0042234449647367,
-0.034451209008693695,
0.01859194040298462,
0.010023056529462337,
0.002076344098895788,
-0.02396945282816887,
0.020865915343165398,
0.011955447494983673,
0.0031059766188263893,
0.007344060577452183,
0.010471995919942856,
0.0801844522356987,
0.0580107606947422,
-0.03722292184829712,
-0.02992277778685093,
-0.029298165813088417,
0.04243452101945877,
-0.008715277537703514,
-0.03938953951001167,
0.0406387634575367,
-0.0235790703445673,
0.025745689868927002,
0.030976809561252594,
-0.011506508104503155,
-0.015585999935865402,
-0.01996803656220436,
-0.061055738478899,
-0.001637164386920631,
0.010335362516343594,
0.0024130484089255333,
0.016962096095085144,
-0.02881018817424774,
0.01955813728272915,
-0.041146259754896164,
-0.020846396684646606,
0.08330751210451126,
-0.045752767473459244,
-0.008944626897573471,
-0.002708274871110916,
0.04684583470225334,
-0.05032023414969444,
0.06222688406705856,
0.007061033975332975,
-0.03210891783237457,
-0.014453892596065998,
0.033650923520326614,
-0.03089873306453228,
-0.04196606203913689,
-0.003408522577956319,
-0.02939576283097267,
0.027365775778889656,
0.08955362439155579,
0.026057995855808258,
-0.08705517649650574,
0.005001768935471773,
0.0020885434933006763,
0.09345744550228119,
0.048992935568094254,
0.015986140817403793,
0.04926620423793793,
-0.024281758815050125,
-0.0009106879006139934,
0.028478363528847694,
-0.02742433361709118,
0.017908772453665733,
-0.025667613372206688,
0.034041307866573334,
-0.04024837911128998,
-0.0506325401365757,
-0.03162093833088875,
0.0016408242518082261,
-0.003393883118405938,
0.013204669579863548,
0.04602603241801262,
0.012277512811124325,
0.04227836802601814,
-0.07663197815418243,
0.09548743069171906,
-0.024476949125528336,
-0.005216478835791349,
-0.006348586641252041,
-0.016796184703707695,
0.049812737852334976,
-0.04793890565633774,
-0.045401424169540405,
0.033104389905929565,
0.020280342549085617,
0.0040868110954761505,
0.06027497351169586,
-0.09259860217571259,
0.08775786310434341,
-0.03571994975209236,
0.009710751473903656,
0.029883738607168198,
0.037300996482372284,
-0.0009753449121490121,
-0.03449024632573128,
-0.011721218936145306,
0.0011497968807816505,
0.028263654559850693,
0.005499505903571844,
0.03308487311005592,
0.0882263258099556,
-0.007285503204911947,
0.003772065741941333,
-0.03536860644817352,
-0.024086566641926765,
-0.022915421053767204,
-0.022603115066885948,
-0.020299863070249557,
0.019245831295847893,
0.043644703924655914,
-0.05032023414969444,
-0.0016932818107306957,
0.05043734982609749,
-0.0017603787127882242,
0.016805943101644516,
0.008934867568314075,
-0.056332118809223175,
0.00900318380445242,
-0.02229081094264984,
0.026897316798567772,
-0.029864219948649406,
0.027326736599206924,
-0.03534908592700958,
0.052272144705057144,
-0.0018323553958907723,
0.006372985430061817,
-0.012599578127264977,
-0.016396041959524155,
0.023657146841287613,
-0.018953043967485428,
-0.05375559628009796,
-0.0006697490462101996,
-0.01957765594124794,
0.017225604504346848,
-0.009217893704771996,
0.026253188028931618,
-0.007802759297192097,
0.019850922748446465,
0.03316294774413109,
0.02763904258608818,
-0.036403119564056396,
0.0015651877038180828,
-0.08198021352291107,
0.05644923076033592,
-0.01862121932208538,
-0.047119103372097015,
-0.007363579701632261,
-0.018133241683244705,
-0.009247172623872757,
0.047899868339300156,
0.04196606203913689,
0.000921667437069118,
-0.034080345183610916,
0.00417464692145586,
-0.0172744020819664,
0.007046394515782595,
0.06687243282794952,
0.0647643655538559,
0.005958204623311758,
-0.01882616989314556,
0.0345488041639328,
-0.05742518603801727,
-0.0008740896009840071,
0.029122494161128998,
-0.024320796132087708,
-0.03370948135852814,
-0.008890949189662933,
-0.07635871320962906,
-0.017108488827943802,
-0.008402971550822258,
0.02420368231832981,
0.03995559364557266,
-0.012140879407525063,
-0.010676946491003036,
-0.01440509408712387,
-0.002922985004261136,
-0.038296472281217575,
-0.0425906740128994,
-0.014795476570725441,
-0.05941613391041756,
0.015302972868084908,
-0.03677397966384888,
-0.03509533777832985,
-0.0022288369946181774,
-0.008188261650502682,
0.02303253673017025,
-0.026526454836130142,
0.009813226759433746,
-0.010110893286764622,
-0.0050261677242815495,
-0.0556294284760952,
0.05203791707754135,
0.016376523301005363,
-0.030352197587490082,
0.010540313087403774,
-0.07030779123306274,
-0.04512815549969673,
0.024476949125528336,
0.036383599042892456,
-0.0628124549984932,
-0.04067780077457428,
0.0686681866645813,
-0.021724756807088852,
-0.030801137909293175,
0.00256432150490582,
-0.020046113058924675,
0.04848543927073479,
0.04458162188529968,
-0.00968635268509388,
0.046143148094415665,
0.009671713225543499,
0.03919434919953346,
-0.0002693025453481823,
-0.0212953370064497,
0.031054886057972908,
0.004074611701071262,
-0.04840736463665962,
-0.011125885881483555,
0.0068219248205423355,
0.03450976684689522,
0.0008600602741353214,
0.007788120303303003,
-0.05578558146953583,
0.02549194172024727,
-0.06261726468801498,
-0.0015798270469531417,
0.0003110856341663748,
0.007422137074172497,
-0.021549085155129433,
-0.01669858768582344,
-0.022798307240009308,
-0.05000792816281319,
0.07015164196491241,
-0.03111344203352928,
0.06511571258306503,
-0.01652291603386402,
0.0062851496040821075,
0.01669858768582344,
0.017742861062288284,
0.031601421535015106,
0.07838869839906693,
-0.020026594400405884,
0.043644703924655914,
-0.02670212648808956,
-0.006846323609352112,
-0.0031718534883111715,
-0.07538275420665741,
0.06382744759321213,
0.0314062274992466,
-0.025003964081406593,
0.0012577618472278118,
-0.048056021332740784,
-0.014873553067445755,
-0.01459052599966526,
-0.01978260651230812,
-0.03376803919672966,
0.031386710703372955,
0.0014810116263106465,
-0.05773749202489853,
0.02648741565644741,
0.05480962619185448,
0.0243403147906065,
0.03374852240085602,
-0.030449792742729187,
-0.02014371007680893,
-0.004911493044346571,
-0.04719717800617218,
0.013009479269385338,
-0.015566481277346611,
-0.029864219948649406,
-0.005704456474632025,
-0.05945517495274544,
0.0006971978000365198,
-0.026955874636769295,
-0.014551487751305103,
-0.052857719361782074,
-0.013487696647644043,
0.014327018521726131,
-0.03513437509536743,
-0.043449513614177704,
0.03525149077177048,
-0.002962023252621293,
0.03337765857577324,
-0.011935928836464882,
0.009681472554802895,
-0.023500993847846985,
0.01844554767012596,
-0.04333239793777466,
-0.06917568296194077,
0.036383599042892456,
0.0675751194357872,
0.02535530924797058,
0.02627270668745041,
0.03197228163480759,
0.004306401126086712,
-0.07046394795179367,
-0.01438557542860508,
-0.00047913286834955215,
0.051140036433935165,
-0.0018347952282056212,
0.014658843167126179,
0.003044979413971305,
-0.022700712084770203,
0.009813226759433746,
0.000858840299770236,
-0.01821131817996502,
0.05637115612626076,
0.008837271481752396,
-0.015966622158885002,
0.0061924341134727,
0.03761330246925354,
0.027307217940688133,
-0.01652291603386402,
0.03817935660481453,
0.010569592006504536,
0.044269315898418427,
-0.013497455976903439,
0.004013614729046822,
0.03085969388484955,
0.02800990641117096,
0.030566908419132233,
0.017762379720807076,
0.003769625909626484,
-0.03431457281112671,
0.008500567637383938,
0.023891376331448555,
0.02533578872680664,
-0.0680045410990715,
0.018845688551664352,
0.05445828288793564,
0.03917482867836952,
0.03230410814285278,
0.0749533399939537,
-0.020377937704324722,
0.020221786573529243,
-0.008959266357123852,
0.050203122198581696,
0.008212660439312458,
0.06726281344890594,
0.04071683809161186,
-0.08853863179683685,
-0.024418391287326813,
0.024028010666370392,
0.013429139740765095,
-0.1071208119392395,
0.017118249088525772,
0.014229422435164452,
-0.07686620950698853,
-0.010881897062063217,
-0.050359275192022324,
0.0392138697206974,
0.014912591315805912,
0.03470495715737343,
-0.054770588874816895,
0.01991923898458481,
-0.014775956980884075,
-0.02939576283097267,
0.026370301842689514,
0.015878787264227867,
-0.02379378117620945,
-0.03491966798901558,
-0.044230274856090546,
0.0026472776662558317,
0.03048883192241192,
0.0020031474996358156,
-0.02340339869260788,
-0.06753607839345932,
-0.010062094777822495,
0.012921643443405628,
0.08588403463363647,
0.025862805545330048,
-0.02746337093412876,
0.00003919069058611058,
0.05492674186825752,
-0.023169169202446938,
0.024672139436006546,
-0.02894682250916958,
-0.021744275465607643,
0.010403679683804512,
0.008027229458093643,
-0.04446450620889664,
-0.019480060786008835,
-0.010696466080844402,
0.0023093533236533403,
-0.04235644266009331,
-0.036559272557497025,
0.00614363607019186,
-0.0030937769915908575,
-0.003284088335931301,
-0.018874967470765114,
-0.008080906234681606,
-0.027190104126930237,
-0.027482889592647552,
-0.0029034658800810575,
-0.004401556681841612,
0.0006416903343051672,
-0.008139464072883129,
0.002382549922913313,
-0.021431969478726387,
0.03314342722296715,
-0.05004696920514107,
-0.022934939712285995,
0.04946139454841614,
-0.008593282662332058,
0.030020372942090034,
0.01900184154510498,
0.012892364524304867,
-0.02361810952425003,
0.00407949136570096,
-0.011340595781803131,
0.0192263126373291,
0.011203962378203869,
0.013995193876326084,
0.00393065856769681,
-0.029415281489491463,
0.02514059841632843,
-0.01526393461972475,
-0.05906479060649872,
0.05332617461681366,
0.02473069727420807,
-0.010120652616024017,
0.0053726318292319775,
-0.011838332749903202,
-0.06796550005674362,
0.05000792816281319,
0.005597101524472237,
-0.039604250341653824,
0.01649363711476326,
-0.045596614480018616,
-0.03447072580456734,
-0.053052909672260284,
-0.02840028703212738,
0.0017189006321132183,
-0.0235790703445673,
0.0697612538933754,
0.006626734044402838,
-0.013458418659865856,
0.025003964081406593,
0.012209195643663406,
0.012092080898582935,
0.01845530793070793,
-0.06160227581858635,
0.051140036433935165,
-0.02149052731692791,
0.026350783184170723,
0.02611655369400978,
-0.011535787023603916,
0.0077442023903131485,
0.04704102501273155,
0.03353381156921387,
-0.011506508104503155,
0.05625404044985771,
-0.014649082906544209,
0.03919434919953346,
0.03812079876661301,
0.04934427887201309,
0.015176098793745041,
0.070620097219944,
0.02437935397028923,
0.004733381327241659,
0.03687157481908798,
0.013956155627965927,
0.08307328075170517,
-0.002644837833940983,
-0.035954177379608154,
0.10228007286787033,
-0.005802052095532417,
-0.029278647154569626,
0.04391797259449959,
-0.019050639122724533,
-0.027170585468411446,
0.005582462064921856,
-0.0018982322653755546,
-0.015605518594384193,
0.00970099214464426,
-0.000004793997050001053,
0.014775956980884075,
-0.01939222402870655,
0.02420368231832981,
0.03134767338633537,
-0.037886571139097214,
-0.007710043806582689,
0.05071061849594116,
0.06960510462522507,
-0.08744555711746216,
-0.034822072833776474,
0.040599726140499115,
-0.008456649258732796,
-0.017567187547683716,
0.017606226727366447,
0.06773126870393753,
-0.010813580825924873,
-0.037340033799409866,
-0.06296861171722412,
-0.03050835058093071,
-0.006290029268711805,
-0.011516268365085125,
0.010218247771263123,
-0.04044357314705849,
-0.013507216237485409,
0.013585292734205723,
-0.06382744759321213,
-0.05071061849594116,
0.005616620648652315,
0.003662270726636052,
-0.05223310738801956,
-0.023754741996526718,
0.016991375014185905,
-0.03938953951001167,
-0.01181881409138441,
-0.03337765857577324,
-0.007900355383753777,
-0.01488331239670515,
-0.02051457203924656,
0.005031047388911247,
-0.01094045490026474,
0.01881641149520874,
0.08814825117588043,
-0.02670212648808956,
-0.03474399447441101,
0.10649619996547699,
-0.046572569757699966,
0.042707785964012146,
-0.022739749401807785,
-0.01862121932208538,
-0.06269534677267075,
0.0016652230406180024,
0.063007652759552,
0.0387844480574131,
0.027502410113811493,
-0.06683339178562164,
0.03858925774693489,
0.034841589629650116,
-0.03197228163480759,
-0.021197739988565445,
0.024067047983407974,
-0.024028010666370392,
-0.04102914407849312,
-0.007875956594944,
-0.0297666247934103,
-0.0032011321745812893,
0.02668260782957077,
0.017957570031285286,
-0.01181881409138441,
0.029083456844091415,
0.07788120210170746,
0.06726281344890594,
-0.009476521983742714,
0.007553890813142061,
-0.04138048738241196,
-0.009808346629142761,
0.04875870794057846,
-0.03876492753624916,
-0.007719803135842085,
0.049031972885131836,
-0.006290029268711805,
-0.023715704679489136,
0.037340033799409866,
0.027014432474970818,
-0.009515560232102871,
-0.05598077550530434,
0.016064217314124107,
0.0775688961148262,
0.014600285328924656,
-0.03568091243505478,
-0.009188615716993809,
-0.05523904785513878,
-0.0034280417021363974,
-0.009647314436733723,
-0.017401276156306267,
0.06078247353434563,
0.017206085845828056,
-0.02898586168885231,
0.01526393461972475,
0.05547327548265457,
0.04376181960105896,
0.0014663722831755877,
0.0014151346404105425,
-0.10025008767843246,
-0.01936294510960579,
0.0017579387640580535,
0.001029022503644228,
0.021041586995124817,
0.05832306668162346,
-0.0005575142567977309
] |
719,425
|
ibm_platform_services.enterprise_billing_units_v1
|
EnterpriseBillingUnitsV1
|
The Enterprise Billing Units V1 service.
|
class EnterpriseBillingUnitsV1(BaseService):
"""The Enterprise Billing Units V1 service."""
DEFAULT_SERVICE_URL = 'https://billing.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'enterprise_billing_units'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'EnterpriseBillingUnitsV1':
"""
Return a new client for the Enterprise Billing Units service using the
specified parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Enterprise Billing Units 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# Billing Units
#########################
def get_billing_unit(self, billing_unit_id: str, **kwargs) -> DetailedResponse:
"""
Get billing unit by ID.
Return the billing unit information if it exists.
:param str billing_unit_id: The ID of the requested billing unit.
: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 representing a `BillingUnit` object
"""
if not billing_unit_id:
raise ValueError('billing_unit_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_billing_unit'
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['billing_unit_id']
path_param_values = self.encode_path_vars(billing_unit_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/billing-units/{billing_unit_id}'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers)
response = self.send(request, **kwargs)
return response
def list_billing_units(
self,
*,
account_id: str = None,
enterprise_id: str = None,
account_group_id: str = None,
limit: int = None,
start: str = None,
**kwargs,
) -> DetailedResponse:
"""
List billing units.
Return matching billing unit information if any exists. Omits internal properties
and enterprise account ID from the billing unit.
:param str account_id: (optional) The enterprise account ID.
:param str enterprise_id: (optional) The enterprise ID.
:param str account_group_id: (optional) The account group ID.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `BillingUnitsList` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_billing_units'
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'enterprise_id': enterprise_id,
'account_group_id': account_group_id,
'limit': limit,
'start': start,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/billing-units'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
#########################
# Billing Options
#########################
def list_billing_options(
self, billing_unit_id: str, *, limit: int = None, start: str = None, **kwargs
) -> DetailedResponse:
"""
List billing options.
Return matching billing options if any exist. Show subscriptions and promotional
offers that are available to a billing unit.
:param str billing_unit_id: The billing unit ID.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `BillingOptionsList` object
"""
if not billing_unit_id:
raise ValueError('billing_unit_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_billing_options'
)
headers.update(sdk_headers)
params = {
'billing_unit_id': billing_unit_id,
'limit': limit,
'start': start,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/billing-options'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
#########################
# Credit Pools
#########################
def get_credit_pools(
self,
billing_unit_id: str,
*,
date: str = None,
type: str = None,
limit: int = None,
start: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get credit pools.
Get credit pools for a billing unit. Credit pools can be either platform or
support credit pools. The platform credit pool contains credit from platform
subscriptions and promotional offers. The support credit pool contains credit from
support subscriptions.
:param str billing_unit_id: The ID of the billing unit.
:param str date: (optional) The date in the format of YYYY-MM.
:param str type: (optional) Filters the credit pool by type, either
`PLATFORM` or `SUPPORT`.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `CreditPoolsList` object
"""
if not billing_unit_id:
raise ValueError('billing_unit_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
0.018446289002895355,
-0.03426632657647133,
-0.03993569687008858,
-0.0482730008661747,
-0.013287581503391266,
-0.0035407496616244316,
-0.04489639401435852,
-0.030431166291236877,
-0.04910673201084137,
-0.045938555151224136,
-0.01728948764503002,
-0.024657582864165306,
0.02116633579134941,
-0.01131789293140173,
-0.001344390562735498,
0.03889353200793266,
0.011474217288196087,
-0.08316462486982346,
0.059945229440927505,
-0.03964389115571976,
0.027867445722222328,
0.04969034343957901,
0.06444737315177917,
0.07891260087490082,
0.02394891157746315,
0.059653423726558685,
0.03893521800637245,
0.00027959284489043057,
-0.0017182666342705488,
-0.03549607843160629,
-0.008691641502082348,
0.025512155145406723,
-0.031723447144031525,
0.02986839786171913,
-0.00822787918150425,
-0.021781211718916893,
0.07353504002094269,
-0.015569918788969517,
-0.08570750802755356,
0.06136257201433182,
-0.012307947501540184,
-0.015340643003582954,
0.08879230916500092,
-0.009332572109997272,
0.005205605179071426,
0.001191974151879549,
-0.04372917115688324,
0.011484638787806034,
0.004812188912183046,
0.032890670001506805,
0.06428062915802002,
-0.0002532131038606167,
-0.04252025857567787,
-0.00875938218086958,
0.007128396537154913,
-0.024303246289491653,
-0.02171868272125721,
0.023386143147945404,
0.025908177718520164,
0.02792997471988201,
-0.06811578571796417,
0.008087187074124813,
-0.0058100600726902485,
-0.05681873857975006,
-0.010577957145869732,
-0.014142154715955257,
-0.041373878717422485,
0.034349698573350906,
0.04589686915278435,
0.034537289291620255,
0.06011197715997696,
0.03668414428830147,
-0.018446289002895355,
0.005664157215505838,
0.0027539164293557405,
0.0023305376525968313,
0.00042826394201256335,
-0.004950275178998709,
-0.025720588862895966,
-0.05706885829567909,
-0.028096720576286316,
0.03132742643356323,
0.006565628573298454,
-0.024324089288711548,
0.028659489005804062,
0.008941760286688805,
0.01686220057308674,
0.011568011716008186,
-0.02647094614803791,
-0.027513109147548676,
-0.04939853772521019,
0.005403616465628147,
-0.033474281430244446,
0.06632326543331146,
0.020280497148633003,
-0.037642937153577805,
-0.06311340630054474,
-0.032161157578229904,
-0.11547168344259262,
0.059028126299381256,
-0.027179617434740067,
-0.047731075435876846,
-0.021551935002207756,
0.031160680577158928,
0.0676572397351265,
-0.007816224358975887,
-0.040748581290245056,
0.0026731486432254314,
0.017966894432902336,
0.016883043572306633,
-0.044146034866571426,
-0.03622559458017349,
-0.001542401616461575,
-0.1012982651591301,
0.016205638647079468,
0.05002383515238762,
0.015601183287799358,
0.014162998646497726,
-0.04456289857625961,
0.0024855593219399452,
0.01973857171833515,
-0.08695810288190842,
0.034495603293180466,
0.012995775789022446,
0.01967604272067547,
0.031139837577939034,
-0.004674102179706097,
0.024553366005420685,
0.055484771728515625,
-0.041665684431791306,
0.03964389115571976,
-0.03209862858057022,
-0.026158297434449196,
0.0460636168718338,
0.045938555151224136,
0.019436344504356384,
-0.05473441258072853,
0.02292759157717228,
-0.014819561503827572,
0.09020964801311493,
0.02928478643298149,
-0.003400057554244995,
-0.03501668572425842,
-0.00892091728746891,
-0.03755956143140793,
-0.003298446536064148,
0.021843740716576576,
-0.0108801843598485,
-0.055443085730075836,
-0.017018524929881096,
-0.058444514870643616,
-0.015059258788824081,
0.03862256929278374,
-0.033661872148513794,
-0.034870781004428864,
-0.011213676072657108,
-0.013464748859405518,
0.025324566289782524,
0.029097197577357292,
0.006289455108344555,
-0.013704446144402027,
0.058152709156274796,
-0.008863598108291626,
-0.053442131727933884,
-0.030514540150761604,
0.006831380072981119,
-0.08320631086826324,
-0.044187720865011215,
-0.0365590862929821,
-0.017570871859788895,
-0.0002002907422138378,
0.011693071573972702,
-0.02991008572280407,
0.021270550787448883,
-0.033182475715875626,
0.014684080146253109,
0.03249464929103851,
-0.03714269772171974,
-0.03578788414597511,
-0.02131223864853382,
-0.006893910001963377,
-0.004470880143344402,
-0.05181635543704033,
0.01175560150295496,
-0.021041275933384895,
-0.01985321007668972,
0.022281449288129807,
0.01733117550611496,
0.03820570558309555,
-0.0053984057158231735,
0.018956949934363365,
0.02534540928900242,
0.06561459600925446,
-0.017435390502214432,
-0.03343259543180466,
-0.018269121646881104,
0.035162586718797684,
-0.028784548863768578,
-0.013808663003146648,
-0.0021781211253255606,
-0.03791389986872673,
0.053108640015125275,
0.05477609857916832,
0.006549995858222246,
0.07049192488193512,
-0.04197833687067032,
0.0026913865003734827,
-0.027554795145988464,
-0.01594509743154049,
0.022073017433285713,
-0.011380422860383987,
0.005382773000746965,
-0.04848143458366394,
0.02399059757590294,
-0.005518254358321428,
0.014704923145473003,
0.016351541504263878,
-0.022114703431725502,
0.024553366005420685,
-0.030618755146861076,
0.05435923486948013,
-0.083373062312603,
0.03418295457959175,
-0.04187411814928055,
-0.03595463186502457,
0.0559433214366436,
0.014652814716100693,
0.026846125721931458,
-0.01267270464450121,
-0.013141678646206856,
0.014079625718295574,
-0.00516391871497035,
0.0068522230722010136,
0.0376637801527977,
-0.05027395486831665,
-0.0797046422958374,
0.006252979394048452,
-0.029118040576577187,
0.04522988572716713,
-0.017893942072987556,
0.01886315457522869,
0.045063138008117676,
0.05094093829393387,
0.018456710502505302,
-0.08203908801078796,
-0.018633877858519554,
-0.037017639726400375,
0.018665144219994545,
0.014934198930859566,
-0.011724336072802544,
-0.01648702286183834,
-0.019061164930462837,
0.03191103786230087,
0.012464271858334541,
-0.029889240860939026,
-0.10321584343910217,
-0.02230229414999485,
-0.04485470429062843,
0.021989643573760986,
-0.03249464929103851,
-0.005841325037181377,
-0.060820646584033966,
-0.05498453229665756,
0.04860649257898331,
0.007003337144851685,
0.029805868864059448,
0.038810160011053085,
0.012068250216543674,
0.027700698003172874,
0.012693548575043678,
0.10796811431646347,
0.016903888434171677,
-0.012505958788096905,
0.0037361551076173782,
-0.0015267691342160106,
0.0028164461255073547,
0.03978979215025902,
-0.04101954400539398,
-0.10254886001348495,
-0.027867445722222328,
0.000874765741173178,
-0.006232135929167271,
0.03136911243200302,
-0.005367140751332045,
0.023532046005129814,
-0.04960697144269943,
0.00924919918179512,
-0.01871725171804428,
0.013058305718004704,
0.04264532029628754,
-0.030452009290456772,
0.03908112272620201,
-0.005486989393830299,
-0.029659966006875038,
-0.014652814716100693,
-0.03236959129571915,
-0.06019534915685654,
-0.03189019486308098,
-0.010082929395139217,
-0.023719634860754013,
-0.06915795058012009,
0.04731421172618866,
0.04989877715706825,
0.009457631036639214,
-0.04735589772462845,
-0.04889829829335213,
0.0541091151535511,
-0.05052407458424568,
-0.004051409661769867,
0.017935629934072495,
0.007571315858513117,
0.017570871859788895,
0.015705399215221405,
-0.06011197715997696,
0.04589686915278435,
0.0012095606653019786,
-0.02830515429377556,
0.02549131214618683,
0.0169976819306612,
0.05052407458424568,
-0.043312303721904755,
0.02132266014814377,
-0.00728472089394927,
-0.0013404825003817677,
0.0625297948718071,
0.039581358432769775,
-0.0037856579292565584,
0.05064913257956505,
0.03824739158153534,
-0.0016700666164979339,
-0.06332183629274368,
-0.024886857718229294,
-0.02534540928900242,
0.031723447144031525,
0.03239043429493904,
-0.07666152715682983,
0.03020189143717289,
-0.04823131486773491,
-0.03351597115397453,
-0.0011581039289012551,
0.04081111401319504,
-0.030285263434052467,
-0.054025743156671524,
-0.021145492792129517,
-0.051024310290813446,
-0.015080101788043976,
0.07403527945280075,
-0.026637692004442215,
0.006617736537009478,
0.008915706537663937,
-0.02840936928987503,
-0.010963557288050652,
0.06607314944267273,
0.07086709886789322,
0.03680920600891113,
-0.05719392001628876,
-0.023677948862314224,
0.009337782859802246,
0.004145204089581966,
0.017424969002604485,
0.008071553893387318,
0.006325930822640657,
-0.03935208544135094,
0.017612557858228683,
-0.02215639129281044,
-0.06294666230678558,
0.04293712601065636,
-0.06248810887336731,
0.05114937201142311,
-0.0068261693231761456,
0.0005875195492990315,
-0.030181046575307846,
0.022281449288129807,
0.023010963574051857,
0.004879929590970278,
0.02409481443464756,
-0.009624377824366093,
-0.0043692695908248425,
-0.08595762401819229,
0.05465104058384895,
0.030660443007946014,
-0.004859086126089096,
-0.026992028579115868,
0.0588613785803318,
0.015642870217561722,
-0.04039424657821655,
-0.022719157859683037,
-0.008691641502082348,
-0.02986839786171913,
-0.04589686915278435,
0.015767930075526237,
-0.021989643573760986,
-0.04527157172560692,
0.06382207572460175,
-0.012974931858479977,
-0.028471900150179863,
-0.018988214433193207,
0.002079115714877844,
0.0025910784024745226,
-0.05089925229549408,
0.016737140715122223,
0.0019240939291194081,
0.02822178043425083,
0.037788838148117065,
-0.017341597005724907,
-0.03860172629356384,
0.03557945415377617,
-0.01655997335910797,
0.025762274861335754,
0.028096720576286316,
-0.03893521800637245,
0.02376132272183895,
-0.00954100489616394,
-0.038414135575294495,
-0.09171036630868912,
0.000033544627513037995,
-0.04998214915394783,
0.05210816115140915,
0.02578311786055565,
0.021885428577661514,
0.03505837172269821,
-0.02138518914580345,
0.002634067554026842,
-0.029701652005314827,
-0.021301817148923874,
-0.004090490750968456,
0.028909608721733093,
0.01531980000436306,
-0.013037461787462234,
-0.028972137719392776,
0.05615175515413284,
0.07378515601158142,
-0.05452597886323929,
-0.05173298344016075,
0.01769593171775341,
0.022281449288129807,
-0.02186458557844162,
-0.02413650043308735,
0.028346840292215347,
0.0037074957508593798,
-0.03641318529844284,
-0.013944144360721111,
-0.020415978506207466,
0.02077031321823597,
-0.017247801646590233,
-0.01146379578858614,
-0.044479526579380035,
-0.06065389886498451,
0.02986839786171913,
-0.008050710894167423,
-0.006586471572518349,
-0.016289010643959045,
0.03078550286591053,
-0.037309445440769196,
0.001190020120702684,
-0.06899120658636093,
0.0020296128932386637,
0.019394658505916595,
-0.013964987359941006,
0.00017081707483157516,
0.032411277294158936,
-0.02986839786171913,
0.04222845286130905,
0.06277991086244583,
0.019071586430072784,
0.06519772857427597,
0.02534540928900242,
0.06065389886498451,
-0.011088617146015167,
0.058194395154714584,
-0.059069812297821045,
0.014256793074309826,
-0.029493220150470734,
0.03751787543296814,
0.010713438503444195,
0.031785979866981506,
0.0005422505782917142,
0.03020189143717289,
-0.003149938303977251,
-0.07015842944383621,
0.06632326543331146,
0.0037127065006643534,
0.03384946286678314,
-0.030431166291236877,
-0.012162044644355774,
-0.019144538789987564,
0.057027172297239304,
0.005182156804949045,
-0.03562114015221596,
-0.033911991864442825,
-0.019467609003186226,
-0.010755124501883984,
-0.023052651435136795,
0.04427109286189079,
-0.017998158931732178,
-0.012162044644355774,
0.002720046089962125,
-0.01330842450261116,
0.05256671458482742,
0.01996784843504429,
0.03576704114675522,
0.013704446144402027,
0.03937292844057083,
-0.010296572931110859,
0.03883100301027298,
0.027033714577555656,
-0.06536448001861572,
0.04793950915336609,
-0.041853275150060654,
-0.034057892858982086,
-0.04560506343841553,
0.03814317286014557,
0.022719157859683037,
-0.018592191860079765,
-0.02544962614774704,
0.07245118916034698,
-0.032307058572769165,
0.046313732862472534,
-0.010890605859458447,
0.02661684900522232,
0.010463318787515163,
0.05319201201200485,
0.0003243733081035316,
0.04120713472366333,
0.014538177289068699,
0.04585518315434456,
-0.03374524414539337,
-0.05585994943976402,
-0.022239763289690018,
-0.006565628573298454,
0.031785979866981506,
-0.0011743877548724413,
-0.020999589934945107,
-0.007097131572663784,
-0.004410956054925919,
-0.0035850415006279945,
-0.04618867486715317,
-0.04410434886813164,
0.013787820003926754,
0.0009750739554874599,
0.034203797578811646,
0.04739758372306824,
0.022469040006399155,
-0.021489406004548073,
-0.09479516744613647,
-0.01871725171804428,
0.03993569687008858,
0.02628335729241371,
-0.008550949394702911,
0.01003603171557188,
0.06165437772870064,
-0.02753395214676857,
0.05189972743391991,
0.013673181645572186,
-0.004598545376211405,
-0.029305629432201385,
0.02106211893260479,
0.0015293745091184974,
0.010395578108727932,
-0.03151501715183258,
0.013370954431593418,
0.02106211893260479,
-0.060862332582473755,
0.04698072001338005,
-0.0035954632330685854,
0.02230229414999485,
0.02142687700688839,
0.04347905144095421,
0.020937059074640274,
-0.002915451768785715,
0.01199529878795147,
-0.03278645500540733,
-0.014267214573919773,
0.044521212577819824,
-0.024949388578534126,
-0.0036084901075810194,
0.012328791432082653,
-0.0017729802057147026,
-0.004744448233395815,
-0.017706353217363358,
0.02822178043425083,
0.013610651716589928,
-0.019915739074349403,
-0.0621546171605587,
0.00022129685385152698,
0.02870117500424385,
-0.052233222872018814,
-0.04735589772462845,
0.05123274400830269,
-0.001569758402183652,
-0.013277160003781319,
-0.024553366005420685,
-0.008514473214745522,
-0.01572624407708645,
0.0010402092011645436,
0.10029778629541397,
-0.059069812297821045,
-0.022218920290470123,
-0.011265784502029419,
0.07595285773277283,
0.019874053075909615,
0.0478978231549263,
0.04070689529180527,
0.018269121646881104,
0.037538718432188034,
0.024365777149796486,
-0.02947237715125084,
-0.0424160435795784,
-0.012839451432228088,
0.000278615829301998,
0.005674578715115786,
-0.03457897529006004,
0.008676009252667427,
-0.0032072572503238916,
-0.06015366315841675,
-0.06749048829078674,
-0.012120358645915985,
0.01817532628774643,
0.05677705258131027,
-0.028972137719392776,
0.014319323003292084,
0.029972614720463753,
-0.000511311343871057,
0.05919487029314041,
-0.06378038972616196,
-0.0012304040137678385,
0.013579387217760086,
-0.014392274431884289,
-0.03697595000267029,
0.0015267691342160106,
0.0018420235719531775,
0.03966473415493965,
0.03674667701125145,
-0.0020960508845746517,
0.003056143643334508,
0.015090523287653923,
0.04852312058210373,
0.003350554732605815,
0.005492200143635273,
-0.023594575002789497,
0.005002383608371019,
0.010187145322561264,
0.0006399533594958484,
0.03539186343550682,
-0.041957490146160126,
0.044229406863451004,
-0.05198310315608978,
-0.07236781716346741,
0.05348381772637367,
-0.0013717473484575748,
-0.06444737315177917,
0.06257148087024689,
0.0005689560202881694,
-0.010343469679355621,
-0.020780734717845917,
0.0030379057861864567,
-0.06940807402133942,
0.03136911243200302,
0.011495060287415981,
-0.014319323003292084,
-0.029013823717832565,
0.018217014148831367,
0.0354752354323864,
-0.03560029715299606,
-0.05060744658112526,
-0.035162586718797684,
0.03872678428888321,
-0.03349512815475464,
-0.016257746145129204,
0.05719392001628876,
0.04548000544309616,
-0.02661684900522232,
0.010296572931110859,
0.00587780075147748,
-0.027429737150669098,
0.06611483544111252,
-0.0014199473662301898,
-0.024699268862605095,
0.008420678786933422,
0.017612557858228683,
0.02355288900434971,
-0.012057828716933727,
-0.02578311786055565,
0.0475226454436779,
0.007508785929530859,
-0.005664157215505838,
-0.03407873958349228,
-0.01728948764503002,
-0.04948190972208977,
-0.014663237147033215,
0.012036985717713833,
-0.017018524929881096,
0.01616395264863968,
0.021406032145023346,
-0.028200937435030937,
0.005872590001672506,
0.004212944768369198,
-0.06307172030210495,
0.0010584470583125949,
0.05656861886382103,
0.047189150005578995,
-0.0822475254535675,
0.047731075435876846,
0.01982194557785988,
0.032598864287137985,
0.017893942072987556,
0.005716265179216862,
-0.045063138008117676,
0.03981063514947891,
0.013360532931983471,
0.09754648059606552,
0.06386376172304153,
0.058152709156274796,
-0.029159726575016975,
0.018623456358909607,
0.04062352329492569,
-0.08295619487762451,
0.0234069861471653,
-0.017122741788625717,
0.03412042558193207,
0.009301306679844856,
0.0508158802986145,
0.01696641743183136,
-0.05335875600576401,
0.059403304010629654,
0.05089925229549408,
0.015924254432320595,
-0.0008187494822777808,
-0.023427829146385193,
0.03883100301027298,
-0.019394658505916595,
0.01623690314590931,
-0.06594809144735336,
-0.00390290142968297,
0.02326108328998089,
-0.0632801502943039,
0.010234043002128601,
0.01916538178920746,
0.005622470751404762,
0.037163540720939636,
-0.00495548639446497,
0.02190627157688141,
0.040644366294145584,
0.025282880291342735,
-0.0742020234465599,
0.03712185472249985,
0.04212423786520958,
-0.01166180707514286,
0.022802531719207764,
-0.033474281430244446,
-0.010333048179745674,
-0.03191103786230087,
-0.0164557583630085,
0.05319201201200485,
-0.0032802086789160967,
-0.03522511571645737,
-0.026262514293193817,
0.02801334857940674,
0.007868332788348198,
-0.03097309172153473,
-0.0012499445583671331,
-0.012307947501540184,
0.025032760575413704,
0.009525371715426445,
0.040936172008514404,
0.0123392129316926,
0.0051300483755767345,
0.0077536944299936295
] |
719,426
|
ibm_platform_services.enterprise_billing_units_v1
|
__init__
|
Construct a new client for the Enterprise Billing Units 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 authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Enterprise Billing Units 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.0035721983294934034,
-0.06950510293245316,
-0.006266853306442499,
-0.01699952781200409,
-0.028724608942866325,
-0.04616520553827286,
-0.020987525582313538,
0.007516548503190279,
-0.03896108269691467,
-0.013792590238153934,
-0.0007155882776714861,
0.008527331054210663,
-0.058147575706243515,
-0.0028210028540343046,
-0.021061036735773087,
0.05075967311859131,
-0.0076957326382398605,
-0.025820905342698097,
0.010558085516095161,
-0.0679246038198471,
0.026868443936109543,
0.03442174941301346,
0.012616407126188278,
0.06112479045987129,
0.026978710666298866,
0.06718948483467102,
-0.008325174450874329,
0.0023868256248533726,
0.008564086630940437,
-0.03932863846421242,
0.002026160014793277,
-0.0028646502178162336,
-0.02010538801550865,
0.06197017431259155,
0.046716541051864624,
-0.03370501101016998,
0.0341828353703022,
0.0073695252649486065,
-0.07579033076763153,
0.03269422799348831,
-0.004305015783756971,
-0.021979931741952896,
0.11041423678398132,
-0.010980776511132717,
0.022972336038947105,
0.0350833497941494,
0.03837298974394798,
-0.009942427277565002,
0.020564835518598557,
0.033227186650037766,
-0.031462911516427994,
0.004573792219161987,
0.01847894676029682,
-0.0015942801255732775,
-0.05017158016562462,
0.03682924807071686,
0.02109779417514801,
-0.016016311943531036,
-0.08512628823518753,
0.05928700417280197,
-0.10504789650440216,
-0.027548424899578094,
0.012322360649704933,
-0.031646691262722015,
-0.023578805848956108,
0.008789216168224812,
-0.0512007437646389,
0.03366825729608536,
0.025196058675646782,
0.034642282873392105,
0.0841706395149231,
0.027621936053037643,
-0.036222778260707855,
-0.014196903444826603,
0.030746174976229668,
0.0021674397867172956,
-0.02550848200917244,
0.012846129946410656,
-0.024222031235694885,
-0.03390716761350632,
-0.015529299154877663,
0.014435815624892712,
0.002478715032339096,
0.035469286143779755,
0.027493292465806007,
0.019057849422097206,
0.0072822305373847485,
-0.004833379294723272,
0.0005010840832255781,
0.055060096085071564,
-0.044070128351449966,
-0.0341828353703022,
-0.025563616305589676,
0.023156113922595978,
0.009813781827688217,
-0.025140924379229546,
-0.019407030194997787,
-0.021979931741952896,
-0.025159303098917007,
0.04087238013744354,
0.009942427277565002,
-0.022806935012340546,
-0.008977589197456837,
0.006285231094807386,
0.026886822655797005,
-0.009078667499125004,
-0.02401987463235855,
-0.019388651475310326,
0.03670060262084007,
0.03308016434311867,
0.03686600551009178,
0.0058901067823171616,
-0.030231595039367676,
0.00042355243931524456,
-0.041056159883737564,
0.038740549236536026,
0.07681949436664581,
0.014729862101376057,
0.044070128351449966,
0.028044627979397774,
0.0011595286196097732,
-0.06759379804134369,
-0.005109047517180443,
0.007075479254126549,
0.04146047309041023,
-0.01688007265329361,
0.0008476792136207223,
0.02425878681242466,
-0.0012347630690783262,
-0.019462162628769875,
0.05733894929289818,
-0.04892188683152199,
0.013957991264760494,
0.004242990631610155,
0.0310953538864851,
0.005012563895434141,
0.030213216319680214,
0.03910810500383377,
-0.019462162628769875,
0.10372468829154968,
0.01142184529453516,
0.017367085441946983,
-0.05480280518531799,
0.007107640616595745,
-0.013893668539822102,
0.03844650089740753,
-0.041644249111413956,
-0.021281572058796883,
-0.015327142551541328,
0.005568494088947773,
-0.07704002410173416,
0.0042223152704536915,
0.013774212449789047,
-0.0030530234798789024,
-0.008481386117637157,
-0.002775058150291443,
0.012359117157757282,
-0.041644249111413956,
0.027199245989322662,
-0.012634784914553165,
0.004045428242534399,
-0.005637411028146744,
0.028228405863046646,
-0.061418838798999786,
-0.015042285434901714,
0.018965961411595345,
-0.10688568651676178,
-0.02517767995595932,
-0.030562395229935646,
-0.026721421629190445,
-0.05487631633877754,
-0.04462146386504173,
-0.08556735515594482,
-0.03576333448290825,
0.033723387867212296,
0.0013048286782577634,
0.056309789419174194,
-0.004966618958860636,
-0.02944134548306465,
0.021244816482067108,
-0.0067952168174088,
0.02093239314854145,
-0.019792964681982994,
-0.006367931608110666,
0.018313545733690262,
-0.0020100793335586786,
0.07204124331474304,
0.02400149591267109,
0.03826272115111351,
-0.028871631249785423,
0.011495357379317284,
0.04778245836496353,
0.010548897087574005,
0.05476604774594307,
-0.007116829510778189,
-0.004842568654567003,
0.05116398632526398,
-0.016586026176810265,
-0.04179127514362335,
0.05252394825220108,
-0.039732951670885086,
0.08681704849004745,
0.02300909161567688,
0.008150584995746613,
0.08681704849004745,
-0.012956397607922554,
0.0038639470003545284,
-0.0573757067322731,
-0.04002700001001358,
-0.03274936228990555,
-0.022531267255544662,
-0.030213216319680214,
-0.029331078752875328,
0.014224470593035221,
-0.04116642475128174,
0.04543009027838707,
0.03767463192343712,
-0.007985183969140053,
0.00625306973233819,
0.03410932421684265,
0.06498414278030396,
0.006496576592326164,
0.05579521134495735,
-0.07630491256713867,
-0.010852131061255932,
0.046385738998651505,
-0.0022604777477681637,
-0.0264273751527071,
-0.049068909138441086,
-0.02150210738182068,
-0.017550865188241005,
0.03602062165737152,
-0.01668710447847843,
0.05517036095261574,
-0.014435815624892712,
-0.0647636130452156,
-0.006487387698143721,
-0.04770894721150398,
-0.05252394825220108,
0.008531925268471241,
0.03517524152994156,
0.05035535991191864,
0.03635142371058464,
0.029551612213253975,
-0.07226178050041199,
-0.02850407361984253,
-0.02275180071592331,
0.02916567772626877,
0.008357335813343525,
-0.0028301917482167482,
-0.046054940670728683,
-0.021704262122511864,
0.016466571018099785,
-0.01680656149983406,
0.0018710967851802707,
-0.048811618238687515,
-0.03467903658747673,
-0.016393059864640236,
0.038740549236536026,
0.00901893898844719,
-0.00391908036544919,
-0.011559679172933102,
-0.03936539590358734,
0.06557223945856094,
0.008109234273433685,
0.01716492883861065,
0.015694700181484222,
0.0021283868700265884,
0.07880429923534393,
0.006606843788176775,
0.14694944024085999,
0.010806187056005001,
0.0201788991689682,
0.015272009186446667,
-0.009933237917721272,
-0.03444012627005577,
0.02043619006872177,
-0.020289167761802673,
-0.06689544022083282,
-0.008077072910964489,
-0.010604030452668667,
0.013406655751168728,
0.04862784221768379,
0.0433717705309391,
-0.0365903377532959,
-0.047157611697912216,
0.004353257827460766,
-0.05053913965821266,
-0.013599622994661331,
0.003710032207891345,
-0.003935161046683788,
0.053148794919252396,
0.015281197614967823,
-0.03410932421684265,
-0.008132207207381725,
-0.04734139144420624,
-0.040725357830524445,
-0.03936539590358734,
0.010686730965971947,
-0.052229903638362885,
-0.030066194012761116,
0.04627547413110733,
-0.0069284564815461636,
0.015878478065133095,
-0.009620814584195614,
-0.04344528168439865,
0.0147574283182621,
0.022549644112586975,
-0.031223999336361885,
0.0070984517224133015,
0.013967180624604225,
0.023119358345866203,
-0.02475498989224434,
-0.04219558835029602,
0.03774814307689667,
0.049068909138441086,
0.014150958508253098,
-0.05443524569272995,
0.012689918279647827,
0.031554799526929855,
-0.033796899020671844,
0.03232667222619057,
-0.02809976227581501,
-0.03633304685354233,
-0.03219802677631378,
0.005136614199727774,
0.008444630540907383,
0.07681949436664581,
-0.0070249405689537525,
0.006234691943973303,
-0.05079643055796623,
-0.010484574362635612,
-0.0010463899234309793,
0.0004990739980712533,
-0.030801307410001755,
-0.08828727900981903,
0.03050726279616356,
-0.05778001993894577,
-0.05072291940450668,
-0.009427846409380436,
0.043077725917100906,
-0.034973084926605225,
-0.04458471015095711,
0.005177964456379414,
-0.03444012627005577,
-0.02166750654578209,
0.012634784914553165,
-0.08446468412876129,
0.03510173037648201,
-0.035800088196992874,
-0.018093012273311615,
0.02883487567305565,
0.02543497085571289,
0.05686112493276596,
0.02960674650967121,
0.003857055213302374,
-0.029643502086400986,
0.009777026250958443,
-0.0005926862941123545,
-0.028393806889653206,
-0.01892920397222042,
0.019296761602163315,
-0.001502390718087554,
0.033484477549791336,
-0.05803731083869934,
-0.05443524569272995,
0.03743571788072586,
-0.028007872402668,
0.06718948483467102,
0.04028428718447685,
0.007819782942533493,
-0.07689300179481506,
0.04109291359782219,
0.04274692386388779,
0.00783816073089838,
0.010365118272602558,
-0.034054189920425415,
-0.02975376881659031,
-0.046643029898405075,
0.023486915975809097,
-0.00023805083765182644,
0.03995348513126373,
-0.00393056683242321,
0.04395986348390579,
0.02743815816938877,
-0.031462911516427994,
0.004072995390743017,
0.025067413225769997,
0.00980459339916706,
0.0194254070520401,
-0.01258883997797966,
-0.02859596349298954,
-0.0173946525901556,
0.014959584921598434,
0.004477308131754398,
-0.026941955089569092,
-0.05733894929289818,
-0.025526858866214752,
-0.019296761602163315,
-0.02819165028631687,
0.022126954048871994,
0.005738489329814911,
0.09343308210372925,
0.014343926683068275,
-0.024148520082235336,
-0.0012473978567868471,
0.0225128885358572,
-0.052487194538116455,
0.047745704650878906,
-0.005017158109694719,
-0.02784247137606144,
0.022200465202331543,
-0.018405435606837273,
-0.013765024021267891,
-0.047488413751125336,
-0.004906890913844109,
-0.07873079180717468,
0.010778619907796383,
0.027125734835863113,
-0.00625306973233819,
-0.0029473507311195135,
-0.005306609440594912,
-0.014371493831276894,
0.0006415024981833994,
-0.014610406011343002,
0.01883731596171856,
-0.0005065400036983192,
0.022880446165800095,
0.01612658053636551,
-0.0695786103606224,
0.02852245233952999,
0.06480036675930023,
-0.0076405988074839115,
-0.05759624019265175,
0.0011922642588615417,
0.04476848989725113,
-0.04443768784403801,
-0.04862784221768379,
0.03353961184620857,
-0.020325923338532448,
-0.08137720078229904,
-0.06531494855880737,
-0.016301169991493225,
-0.017651943489909172,
-0.008196529932320118,
-0.03466065973043442,
-0.07112235575914383,
0.013957991264760494,
0.0838765949010849,
0.0037582742515951395,
0.04752516746520996,
-0.0620436854660511,
0.01501471921801567,
-0.03092995285987854,
-0.02001350000500679,
-0.08314147591590881,
0.03818920999765396,
0.02574739418923855,
0.014904451556503773,
0.0001311576779698953,
-0.00691926758736372,
-0.047819215804338455,
0.03394392505288124,
-0.020822124555706978,
0.028393806889653206,
0.03976970911026001,
0.013957991264760494,
0.023395026102662086,
0.012763429433107376,
0.020050255581736565,
-0.011642379686236382,
0.009193528443574905,
0.028118139132857323,
0.05160505697131157,
0.027860848233103752,
0.034899573773145676,
0.03353961184620857,
-0.013342333026230335,
-0.05726543813943863,
-0.01968269795179367,
0.02550848200917244,
-0.005118236411362886,
0.0017102904384955764,
0.0044497414492070675,
-0.034072570502758026,
0.013700701296329498,
0.013278010301291943,
-0.03069104067981243,
0.03477092832326889,
-0.03943890705704689,
0.00018392226775176823,
0.08725812286138535,
-0.027566803619265556,
0.047745704650878906,
0.0715266689658165,
0.0069146729074418545,
0.02185128629207611,
0.015492543578147888,
0.009694325737655163,
0.04778245836496353,
0.01421528123319149,
-0.020785368978977203,
0.048480816185474396,
-0.045577116310596466,
0.04590791463851929,
-0.01874542608857155,
-0.10806186497211456,
0.015988746657967567,
0.010512140579521656,
0.0006949131493456662,
0.032804496586322784,
0.0065287379547953606,
-0.012864507734775543,
-0.03287800773978233,
-0.01733032986521721,
0.02843056246638298,
-0.07564330846071243,
-0.01829516887664795,
-0.01858002506196499,
0.006262258626520634,
0.006087669171392918,
0.021741019561886787,
-0.009437035769224167,
0.028706230223178864,
0.004330285359174013,
-0.019976742565631866,
-0.01902109384536743,
-0.018350301310420036,
0.01304828654974699,
-0.014729862101376057,
-0.00822869036346674,
0.0029680258594453335,
-0.03409094735980034,
-0.028246784582734108,
-0.01567632146179676,
0.0012933425605297089,
-0.09233041107654572,
-0.046312227845191956,
0.025949550792574883,
-0.04870135337114334,
0.02550848200917244,
0.04741490259766579,
0.0030507261399179697,
-0.019370274618268013,
-0.0495467334985733,
-0.009147584438323975,
-0.04116642475128174,
-0.0013048286782577634,
-0.016200091689825058,
0.001458743354305625,
0.06752029061317444,
-0.012405061163008213,
0.009161368012428284,
0.00683656707406044,
-0.037968676537275314,
-0.005324987694621086,
0.025067413225769997,
-0.024075008928775787,
0.010466196574270725,
0.006542521063238382,
0.010401873849332333,
0.042967457324266434,
-0.06531494855880737,
0.03852001205086708,
0.05950753763318062,
0.010162961669266224,
0.025526858866214752,
-0.011872103437781334,
-0.02666628733277321,
0.02368907257914543,
-0.02767707034945488,
-0.03144453465938568,
0.0011009492445737123,
0.08740514516830444,
-0.0718207135796547,
0.040468066930770874,
0.008247069083154202,
0.003374636173248291,
0.011596434749662876,
-0.05252394825220108,
0.015097418799996376,
0.009198123589158058,
-0.04708410054445267,
-0.07637841999530792,
-0.00971270352602005,
0.012368305586278439,
-0.029625125229358673,
-0.05524387210607529,
-0.012993153184652328,
-0.03236342594027519,
-0.016705483198165894,
-0.07336445152759552,
-0.017403841018676758,
-0.006905484013259411,
-0.04667978733778,
0.050980206578969955,
-0.01650332659482956,
-0.02633548527956009,
0.037968676537275314,
0.050649408251047134,
-0.0016804264159873128,
0.06656464189291,
0.02751166932284832,
0.03326394408941269,
0.06112479045987129,
-0.003746788017451763,
-0.06660139560699463,
-0.03442174941301346,
-0.040725357830524445,
0.022200465202331543,
0.015602810308337212,
0.003585981670767069,
0.00023374351439997554,
-0.010061883367598057,
-0.013719079084694386,
-0.007291419431567192,
-0.0083940913900733,
0.007870322093367577,
0.014720672741532326,
0.01808382198214531,
0.013195309787988663,
0.027860848233103752,
-0.014821751043200493,
0.042967457324266434,
-0.07704002410173416,
-0.01673305034637451,
0.035800088196992874,
-0.0287613645195961,
-0.004782840143889189,
-0.020564835518598557,
-0.01858002506196499,
0.029974304139614105,
-0.0031127515248954296,
-0.00856868177652359,
0.03557955473661423,
0.019645942375063896,
0.04851757362484932,
0.010098638944327831,
0.03969619795680046,
0.008867321535944939,
-0.004341771360486746,
0.006634410470724106,
0.019388651475310326,
0.03216126933693886,
-0.019774585962295532,
0.024626344442367554,
-0.06656464189291,
-0.0450257770717144,
0.009340551681816578,
0.02767707034945488,
-0.037398964166641235,
0.030782930552959442,
0.013939613476395607,
-0.006423064973205328,
-0.034807682037353516,
-0.024902012199163437,
-0.022972336038947105,
0.06112479045987129,
0.029735391959547997,
0.01730276271700859,
-0.03291476145386696,
0.030305106192827225,
0.029698636382818222,
0.03675573691725731,
0.007438442204147577,
-0.043224748224020004,
0.008449224755167961,
-0.04936295375227928,
0.037637874484062195,
0.018138956278562546,
0.05002455785870552,
0.03175695613026619,
0.0006518400623463094,
0.029625125229358673,
-0.02168588526546955,
0.01576821133494377,
0.014435815624892712,
-0.03552442044019699,
0.05671410262584686,
0.030617529526352882,
-0.03434823825955391,
-0.010135394521057606,
-0.004920674487948418,
-0.013425033539533615,
-0.00332639436237514,
-0.02508579008281231,
0.03774814307689667,
0.037141673266887665,
-0.0695786103606224,
-0.10041667520999908,
-0.016439003869891167,
-0.05535414069890976,
-0.018800560384988785,
0.010888887569308281,
-0.004690951202064753,
0.04208531975746155,
-0.001314017572440207,
-0.08622895926237106,
0.013728268444538116,
0.044070128351449966,
0.05219314619898796,
-0.01742221973836422,
-0.01375583466142416,
0.06560899317264557,
0.03844650089740753,
0.04675329849123955,
0.02416689693927765,
-0.05671410262584686,
0.03951241821050644,
-0.028614342212677002,
0.06976238638162613,
0.039549171924591064,
0.04741490259766579,
-0.022053442895412445,
0.022953957319259644,
0.051899101585149765,
-0.06211719661951065,
0.03353961184620857,
-0.031481288373470306,
-0.0079438341781497,
-0.0002597309648990631,
-0.000263320398516953,
0.03170182183384895,
-0.07887781411409378,
0.07049750536680222,
0.03921837359666824,
-0.0649106353521347,
0.005683355964720249,
0.00046518980525434017,
0.05469253659248352,
-0.019241629168391228,
-0.022880446165800095,
-0.05553792044520378,
0.0712326169013977,
-0.00015391464694403112,
-0.03793192282319069,
0.015575244091451168,
0.03050726279616356,
0.030213216319680214,
0.032473694533109665,
-0.011771025136113167,
0.006381714716553688,
0.01968269795179367,
0.037068162113428116,
-0.03370501101016998,
0.0528547503054142,
0.028301917016506195,
-0.0450257770717144,
0.020619967952370644,
0.025692259892821312,
-0.02458958886563778,
-0.016650348901748657,
-0.03210613504052162,
0.062411241233348846,
0.0017447489080950618,
-0.0698726549744606,
-0.003108157077804208,
0.006900889798998833,
0.00629441998898983,
-0.014702294953167439,
-0.008201124146580696,
-0.025324704125523567,
0.056236278265714645,
-0.03929188475012779,
0.014077447354793549,
0.042379364371299744,
0.03203262388706207,
-0.01133914478123188
] |
719,436
|
ibm_platform_services.enterprise_billing_units_v1
|
get_billing_unit
|
Get billing unit by ID.
Return the billing unit information if it exists.
:param str billing_unit_id: The ID of the requested billing unit.
: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 representing a `BillingUnit` object
|
def get_billing_unit(self, billing_unit_id: str, **kwargs) -> DetailedResponse:
"""
Get billing unit by ID.
Return the billing unit information if it exists.
:param str billing_unit_id: The ID of the requested billing unit.
: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 representing a `BillingUnit` object
"""
if not billing_unit_id:
raise ValueError('billing_unit_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_billing_unit'
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['billing_unit_id']
path_param_values = self.encode_path_vars(billing_unit_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/billing-units/{billing_unit_id}'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers)
response = self.send(request, **kwargs)
return response
|
(self, billing_unit_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0016810392262414098,
0.008011378347873688,
0.016922911629080772,
-0.02217981591820717,
-0.0010931255528703332,
-0.023602060973644257,
-0.019137293100357056,
0.027490729466080666,
-0.04306340962648392,
-0.06931192427873611,
-0.004874338861554861,
-0.0067511615343391895,
0.016544846817851067,
-0.037302419543266296,
0.016283802688121796,
0.036024197936058044,
0.018300149589776993,
-0.05228099599480629,
0.04133511334657669,
0.0007583805127069354,
0.04345947876572609,
0.03777049854397774,
0.01390739344060421,
0.058366041630506516,
0.00975767895579338,
0.0770532563328743,
0.018156124278903008,
-0.013457315973937511,
0.007043711841106415,
-0.03553811460733414,
0.02446620911359787,
-0.00902855396270752,
-0.022917943075299263,
0.05415331944823265,
-0.05321715772151947,
0.02086559124290943,
0.04342347010970116,
-0.0032990677282214165,
-0.12738992273807526,
0.03510604053735733,
-0.027256689965724945,
0.01964137889444828,
0.0708962008357048,
0.004667303059250116,
0.002011846285313368,
-0.014798546209931374,
-0.008740504272282124,
-0.049832575023174286,
-0.03712238743901253,
0.06020236015319824,
0.08627084642648697,
0.026554569602012634,
-0.0376264750957489,
-0.018723221495747566,
-0.005932020954787731,
-0.0464479923248291,
-0.03481798991560936,
0.014834553003311157,
0.039426784962415695,
0.04021891951560974,
-0.03993087261915207,
0.0033710801508277655,
-0.002079357858747244,
-0.04327944666147232,
-0.007043711841106415,
-0.008745004422962666,
-0.021603716537356377,
0.0595182403922081,
0.027130668982863426,
0.007129226811230183,
0.04021891951560974,
0.049544524401426315,
-0.009226587601006031,
-0.010909877717494965,
0.02122565172612667,
-0.01631980761885643,
-0.04374752938747406,
-0.0443236269056797,
-0.016364816576242447,
0.006872682366520166,
-0.02081158198416233,
-0.018633205443620682,
-0.009865697473287582,
-0.006701653357595205,
-0.03440392017364502,
-0.01886724680662155,
0.010063732042908669,
-0.025978470221161842,
-0.03928275778889656,
-0.057609912008047104,
-0.04367551580071449,
-0.006602636072784662,
-0.046375978738069534,
0.06322687864303589,
0.017544018104672432,
-0.058366041630506516,
-0.043495483696460724,
0.004865337163209915,
-0.08043783903121948,
0.050084616988897324,
-0.01837216131389141,
-0.043243441730737686,
-0.01821013353765011,
0.014942571520805359,
0.08050985634326935,
0.03227955475449562,
-0.0033485761377960443,
0.0011482600821182132,
0.010126742534339428,
0.025258345529437065,
-0.018615202978253365,
-0.043495483696460724,
-0.05138084292411804,
-0.03503402695059776,
0.03011918254196644,
0.017913082614541054,
0.026734599843621254,
0.03406186029314995,
-0.06952796131372452,
-0.00010499462950974703,
0.06146257743239403,
-0.07053613662719727,
0.018543191254138947,
-0.016148779541254044,
0.031073346734046936,
0.020793577656149864,
-0.022089801728725433,
0.02405213937163353,
0.09152775257825851,
0.007957369089126587,
0.04032693803310394,
-0.044431645423173904,
-0.05051669105887413,
0.05703381448984146,
0.020127464085817337,
0.06261477619409561,
0.026500560343265533,
0.049436505883932114,
0.03469197079539299,
0.10045728832483292,
0.022449862211942673,
-0.03809455409646034,
-0.014375473372638226,
-0.02340402640402317,
-0.017183957621455193,
-0.02304396592080593,
-0.017210962250828743,
-0.019011272117495537,
-0.0550534725189209,
-0.02903899736702442,
-0.02399813011288643,
0.009415620006620884,
0.05905016139149666,
-0.031901489943265915,
-0.004091204144060612,
-0.04486371949315071,
0.012017067521810532,
0.05357721820473671,
0.046844061464071274,
0.04464768245816231,
0.03209952265024185,
0.04893241822719574,
0.004811327904462814,
-0.048428334295749664,
-0.007930364459753036,
0.0052929106168448925,
-0.04515177011489868,
-0.0046132938005030155,
-0.05004861205816269,
-0.003623123513534665,
-0.01779606193304062,
0.0024236671160906553,
-0.05199294537305832,
0.05228099599480629,
-0.039138734340667725,
-0.037014368921518326,
0.008627984672784805,
-0.010441796854138374,
-0.04511576145887375,
-0.0024709252174943686,
0.015833724290132523,
-0.009721673093736172,
-0.04126309975981712,
0.018831240013241768,
0.009712670929729939,
-0.011575992219150066,
0.039894863963127136,
0.019083283841609955,
0.03424189239740372,
-0.027544738724827766,
0.0462319552898407,
0.015653694048523903,
0.05267706513404846,
0.005283909384161234,
-0.014150435104966164,
-0.04882439970970154,
0.06261477619409561,
-0.040723007172346115,
-0.012476147152483463,
-0.007484788075089455,
-0.024376194924116135,
0.02540237084031105,
0.056421708315610886,
0.04205523803830147,
0.03939077630639076,
-0.02545638009905815,
0.027004646137356758,
0.0007662568241357803,
-0.007273251656442881,
0.022485869005322456,
0.006053541786968708,
0.004532279912382364,
-0.06517121195793152,
0.02812083810567856,
-0.023746086284518242,
0.016049761325120926,
-0.03921074792742729,
-0.010801858268678188,
0.05840205028653145,
-0.01904727704823017,
0.023782093077898026,
-0.06128254532814026,
0.03647427633404732,
-0.016229793429374695,
-0.04079502075910568,
0.033899832516908646,
0.02540237084031105,
0.026194507256150246,
-0.06412703543901443,
-0.03245958685874939,
0.02410614863038063,
-0.015707703307271004,
0.0032900660298764706,
0.014510496519505978,
-0.07327260822057724,
-0.0790696069598198,
0.005085875280201435,
-0.03733842447400093,
0.08497462421655655,
-0.04039895161986351,
0.045655857771635056,
-0.008326432667672634,
0.03058726340532303,
0.05908616632223129,
-0.066107377409935,
-0.020829584449529648,
-0.057249851524829865,
0.03127137944102287,
0.008632485754787922,
-0.05256904661655426,
-0.051776908338069916,
0.00802938174456358,
0.03411586955189705,
0.03516004979610443,
-0.005499946419149637,
-0.10355381667613983,
-0.036078207194805145,
-0.07348864525556564,
0.035142045468091965,
-0.02140568383038044,
-0.018300149589776993,
-0.049256473779678345,
-0.02552839182317257,
0.027310699224472046,
-0.012332121841609478,
0.019209304824471474,
0.017012927681207657,
0.020037448033690453,
0.05544954165816307,
-0.021189646795392036,
0.06527923047542572,
0.006049040704965591,
-0.007151730824261904,
0.003571364562958479,
-0.027976814657449722,
-0.0036411264445632696,
0.03242357820272446,
0.0006267328280955553,
-0.04911245033144951,
-0.045727867633104324,
-0.0640910267829895,
-0.033953841775655746,
0.04922046884894371,
-0.011044900864362717,
-0.008227415382862091,
-0.04151514172554016,
0.008717999793589115,
-0.01847117766737938,
0.0023831601720303297,
0.031955499202013016,
-0.0016180283855646849,
-0.006094048731029034,
-0.05181291699409485,
0.010243762284517288,
-0.0417671874165535,
-0.03685234114527702,
-0.09123969823122025,
-0.029075002297759056,
0.013592339120805264,
0.013268282637000084,
-0.10110539942979813,
0.038202572613954544,
0.0012827207101508975,
-0.002792730461806059,
-0.07118424773216248,
-0.006580132059752941,
0.02592446096241474,
-0.038022544234991074,
-0.029327046126127243,
-0.017868073657155037,
0.01299823634326458,
-0.012656177394092083,
0.02851690724492073,
-0.01749000884592533,
0.021153640002012253,
0.007610809523612261,
-0.04018291458487511,
0.004487272351980209,
0.03809455409646034,
0.05361322686076164,
-0.012062075547873974,
0.010009722784161568,
-0.0021142386831343174,
0.029147015884518623,
0.04641198739409447,
0.015284630469977856,
-0.00021111445676069707,
0.026968641206622124,
0.039498794823884964,
0.03874266520142555,
-0.026014477014541626,
-0.031073346734046936,
-0.011810031719505787,
0.002172748791053891,
0.013547331094741821,
-0.06034638360142708,
0.02480826899409294,
-0.030911318957805634,
-0.014429482631385326,
0.054081305861473083,
0.043315451592206955,
-0.043135423213243484,
0.0012838458642363548,
0.01821013353765011,
-0.020127464085817337,
0.012575163505971432,
0.048068270087242126,
-0.02234184369444847,
0.0596262589097023,
-0.0014897563960403204,
-0.051308829337358475,
-0.05246102809906006,
0.03388183191418648,
0.03516004979610443,
0.0032225544564425945,
-0.03398985043168068,
-0.007570302579551935,
0.04353148862719536,
-0.03411586955189705,
0.04104706272482872,
-0.0043229940347373486,
-0.005652972497045994,
-0.06938394159078598,
0.0020568538457155228,
-0.02327800542116165,
-0.059302203357219696,
0.00565747357904911,
-0.022845931351184845,
0.007745832670480013,
0.003292316570878029,
-0.023836102336645126,
0.004606542643159628,
0.030155189335346222,
0.05851006880402565,
-0.017345985397696495,
0.029903145506978035,
-0.015365644358098507,
-0.02869693748652935,
-0.0596262589097023,
0.053901273757219315,
0.028066828846931458,
-0.014249451458454132,
-0.05897814780473709,
0.047888241708278656,
-0.015716703608632088,
-0.005319915246218443,
-0.04252331703901291,
-0.021891767159104347,
-0.04371152073144913,
-0.036546289920806885,
0.020667556673288345,
-0.026482556015253067,
-0.024088144302368164,
0.04792424663901329,
-0.004221726208925247,
-0.024196162819862366,
0.014078422449529171,
-0.007831347174942493,
0.0012073327088728547,
0.0006059167790226638,
0.019137293100357056,
-0.005553955677896738,
-0.04068700224161148,
0.050840746611356735,
-0.00421047443524003,
-0.001821688492782414,
0.033845823258161545,
-0.02975912019610405,
0.004422010853886604,
-0.003758146660402417,
-0.016922911629080772,
0.029075002297759056,
-0.0012242106022313237,
-0.028858965262770653,
-0.05030065402388573,
0.027040652930736542,
-0.027130668982863426,
0.035250063985586166,
-0.015284630469977856,
0.0015685198595747352,
0.012800202704966068,
0.010711843147873878,
-0.01982141099870205,
-0.06963597983121872,
-0.02340402640402317,
0.007003204897046089,
0.02234184369444847,
0.004568286240100861,
0.04450365900993347,
-0.014447486028075218,
0.026662588119506836,
0.03011918254196644,
-0.07712527364492416,
-0.017318980768322945,
0.06340690702199936,
0.04724012687802315,
0.011503979563713074,
0.01520361565053463,
0.05328917130827904,
0.01699492521584034,
-0.021729739382863045,
-0.004552533384412527,
-0.033305730670690536,
0.015914738178253174,
-0.08324632793664932,
-0.02540237084031105,
-0.027778780087828636,
-0.045547839254140854,
0.02817484736442566,
-0.009424621239304543,
0.022431859746575356,
-0.009883700869977474,
0.016805890947580338,
-0.04227127507328987,
0.013916394673287868,
-0.07957369089126587,
-0.041083067655563354,
0.03200950846076012,
0.008569474332034588,
-0.01888524927198887,
0.0023561553098261356,
0.021783748641610146,
0.0014289958635345101,
0.039606813341379166,
0.005522450432181358,
0.05519749969244003,
0.007354265544563532,
0.06527923047542572,
-0.01811111718416214,
0.031127355992794037,
-0.027652759104967117,
0.008920534513890743,
-0.05861808732151985,
0.030533254146575928,
0.03899471089243889,
0.0465560108423233,
-0.026680590584874153,
0.0332697257399559,
-0.005477442406117916,
-0.03798653557896614,
0.06826774775981903,
0.03479998931288719,
0.009280596859753132,
-0.03182947635650635,
0.03269362449645996,
-0.01686890237033367,
0.03669031336903572,
0.0439995713531971,
-0.038022544234991074,
-0.030191194266080856,
0.0009305351413786411,
0.037950530648231506,
-0.04011090099811554,
0.039966877549886703,
-0.020451519638299942,
-0.007439780049026012,
-0.004856335464864969,
-0.01803010329604149,
0.014825550839304924,
0.011684010736644268,
0.07021208107471466,
-0.011080906726419926,
0.05829403176903725,
-0.001775555545464158,
-0.018795233219861984,
-0.0008180157747119665,
-0.05087675526738167,
0.04353148862719536,
-0.0035983691923320293,
-0.009937710128724575,
-0.04245130345225334,
0.0617506243288517,
-0.04342347010970116,
-0.00024585481151007116,
-0.018795233219861984,
0.05033666267991066,
-0.013682354241609573,
0.023386023938655853,
-0.03888669237494469,
0.04875238984823227,
0.04011090099811554,
0.09015951305627823,
0.006796169560402632,
0.027706768363714218,
0.026788609102368355,
0.04450365900993347,
-0.06963597983121872,
-0.04724012687802315,
-0.016454830765724182,
-0.030731288716197014,
0.011900047771632671,
-0.009451626800000668,
-0.005076873581856489,
-0.0012579665053635836,
0.006994203664362431,
-0.02822885662317276,
-0.06743960082530975,
-0.028444893658161163,
-0.018408168107271194,
0.0010346155613660812,
0.05332517623901367,
0.0014424981782212853,
0.018651209771633148,
-0.008663990534842014,
-0.09390415996313095,
-0.014915566891431808,
0.035952188074588776,
0.03256760537624359,
0.022971952334046364,
0.04245130345225334,
0.04014690965414047,
-0.06992403417825699,
0.038778673857450485,
0.030497247353196144,
-0.0463399738073349,
-0.003528607077896595,
-0.02729269675910473,
0.013646348379552364,
0.015635689720511436,
-0.028966983780264854,
0.025564398616552353,
0.011143917217850685,
0.02893097884953022,
0.09073561429977417,
-0.025852449238300323,
0.003427339717745781,
0.03798653557896614,
0.031955499202013016,
0.016022756695747375,
-0.024430204182863235,
-0.021369677037000656,
0.006085047032684088,
-0.036366257816553116,
0.042019229382276535,
-0.03559212386608124,
-0.009460628032684326,
0.025006303563714027,
0.02016346901655197,
0.023782093077898026,
0.006598135456442833,
-0.03838260471820831,
0.029777124524116516,
0.03606020659208298,
-0.02534836158156395,
-0.03634825348854065,
-0.020667556673288345,
-0.013889390043914318,
-0.04896842688322067,
0.05861808732151985,
-0.05861808732151985,
0.007768336683511734,
-0.03398985043168068,
0.005778994411230087,
-0.03245958685874939,
0.0395348034799099,
0.0684477761387825,
-0.04320743307471275,
-0.013862385414540768,
-0.01288121659308672,
0.02569042146205902,
0.051128797233104706,
0.04003889113664627,
0.0550534725189209,
0.02151370234787464,
0.012836208567023277,
0.05127282068133354,
-0.015293631702661514,
-0.06149858236312866,
-0.026374537497758865,
-0.03777049854397774,
-0.009060058742761612,
-0.04381953924894333,
0.019731394946575165,
0.054009292274713516,
-0.05796997621655464,
-0.047780223190784454,
-0.008934036828577518,
0.0004886153037659824,
-0.01135095302015543,
-0.009217586368322372,
0.009060058742761612,
0.011125914752483368,
-0.02857091650366783,
0.07820545881986618,
-0.0374104380607605,
-0.01140496227890253,
0.06513521075248718,
-0.02981312945485115,
-0.020253485068678856,
-0.007385770790278912,
-0.019065281376242638,
0.04932848736643791,
0.0575018934905529,
-0.018651209771633148,
-0.0018531938549131155,
-0.03235156834125519,
0.045547839254140854,
0.01619378663599491,
-0.0032473087776452303,
0.0014605013420805335,
-0.028804956004023552,
0.029183020815253258,
-0.021855760365724564,
0.07575703412294388,
-0.014735535718500614,
0.0396428219974041,
-0.07122025638818741,
-0.05905016139149666,
0.028012819588184357,
-0.03092932142317295,
-0.06574731320142746,
0.06711554527282715,
0.015716703608632088,
-0.011972060427069664,
0.00842094887048006,
-0.01416843757033348,
-0.016751881688833237,
0.014690527692437172,
-0.019731394946575165,
0.020739568397402763,
0.006809671875089407,
-0.028354879468679428,
-0.0003144916263408959,
-0.06711554527282715,
-0.020739568397402763,
-0.03712238743901253,
-0.006418104283511639,
-0.05699780583381653,
-0.033665791153907776,
-0.014393476769328117,
0.030497247353196144,
0.03651028126478195,
0.04911245033144951,
-0.03903071582317352,
-0.06931192427873611,
0.031433407217264175,
0.002042226493358612,
-0.04727613553404808,
0.016121774911880493,
0.006017535459250212,
0.03906672075390816,
-0.02587045170366764,
-0.013826379552483559,
0.015707703307271004,
-0.005585460923612118,
0.035430096089839935,
-0.07118424773216248,
-0.010684838518500328,
-0.05264105647802353,
-0.05782594904303551,
0.02135167457163334,
-0.04457566887140274,
0.007313758600503206,
0.02316998690366745,
-0.01388038881123066,
-0.007745832670480013,
-0.0015696451300755143,
0.04320743307471275,
-0.007255248259752989,
0.0441075898706913,
-0.016895906999707222,
-0.07496489584445953,
0.04698808491230011,
-0.007790840696543455,
0.02817484736442566,
0.009937710128724575,
0.03906672075390816,
0.00351510476320982,
-0.018795233219861984,
-0.011756022460758686,
0.06790768355131149,
0.06333489716053009,
0.018507184460759163,
-0.017976094037294388,
0.03445792943239212,
0.01446548942476511,
-0.06679148972034454,
0.02540237084031105,
-0.01406041905283928,
0.02434018813073635,
0.01730997860431671,
0.04338746517896652,
-0.013034243136644363,
0.012233104556798935,
0.05055269971489906,
0.06650344282388687,
0.03652828559279442,
-0.018003098666667938,
-0.05692579597234726,
0.006238073576241732,
0.01775105483829975,
0.04817628860473633,
-0.05238901451230049,
-0.028390884399414062,
0.014132431708276272,
-0.014150435104966164,
0.006994203664362431,
-0.03150542080402374,
0.030155189335346222,
0.07190437614917755,
0.003283314872533083,
0.04709610342979431,
0.07690923660993576,
0.01600475423038006,
-0.059662267565727234,
0.03382781893014908,
0.03116336278617382,
0.024916287511587143,
0.03827458620071411,
-0.008114896714687347,
0.02545638009905815,
-0.021081628277897835,
0.028066828846931458,
0.05552155524492264,
0.03777049854397774,
-0.02641054429113865,
-0.04342347010970116,
0.026770606637001038,
0.03663630411028862,
-0.02198178321123123,
-0.0486803762614727,
-0.04083102568984032,
-0.005486444104462862,
-0.024664243683218956,
-0.004640298429876566,
0.03640226274728775,
-0.010414792224764824,
0.038130562752485275
] |
719,437
|
ibm_platform_services.enterprise_billing_units_v1
|
get_credit_pools
|
Get credit pools.
Get credit pools for a billing unit. Credit pools can be either platform or
support credit pools. The platform credit pool contains credit from platform
subscriptions and promotional offers. The support credit pool contains credit from
support subscriptions.
:param str billing_unit_id: The ID of the billing unit.
:param str date: (optional) The date in the format of YYYY-MM.
:param str type: (optional) Filters the credit pool by type, either
`PLATFORM` or `SUPPORT`.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `CreditPoolsList` object
|
def get_credit_pools(
self,
billing_unit_id: str,
*,
date: str = None,
type: str = None,
limit: int = None,
start: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get credit pools.
Get credit pools for a billing unit. Credit pools can be either platform or
support credit pools. The platform credit pool contains credit from platform
subscriptions and promotional offers. The support credit pool contains credit from
support subscriptions.
:param str billing_unit_id: The ID of the billing unit.
:param str date: (optional) The date in the format of YYYY-MM.
:param str type: (optional) Filters the credit pool by type, either
`PLATFORM` or `SUPPORT`.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `CreditPoolsList` object
"""
if not billing_unit_id:
raise ValueError('billing_unit_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_credit_pools'
)
headers.update(sdk_headers)
params = {
'billing_unit_id': billing_unit_id,
'date': date,
'type': type,
'limit': limit,
'start': start,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/credit-pools'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, billing_unit_id: str, *, date: Optional[str] = None, type: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.05256408080458641,
0.00147065962664783,
-0.007325381506234407,
-0.03269621357321739,
-0.023727089166641235,
0.04405948892235756,
-0.02413802593946457,
-0.020296666771173477,
-0.03944985941052437,
-0.01482049748301506,
-0.015392234548926353,
-0.013310753740370274,
-0.0037341578863561153,
-0.004263461567461491,
-0.0011613409733399749,
-0.00024538912111893296,
0.013328621163964272,
-0.07489755749702454,
0.019296126440167427,
-0.06253374367952347,
0.00003159838524879888,
0.040879201143980026,
0.07175300270318985,
0.04856191948056221,
0.022315613925457,
0.06342708319425583,
0.04595337063074112,
0.01545476820319891,
-0.030605800449848175,
-0.027371913194656372,
0.006793844513595104,
0.05967506021261215,
-0.024120159447193146,
0.0028363519813865423,
-0.01675904355943203,
0.00838398840278387,
0.08168693631887436,
0.02542443387210369,
-0.05520836263895035,
0.05288568139076233,
0.0046453638933598995,
-0.03641250729560852,
0.01187247782945633,
0.0033098217099905014,
-0.023941490799188614,
-0.02687164396047592,
-0.047704312950372696,
-0.027211112901568413,
-0.04874058812856674,
-0.00948726199567318,
0.03035566583275795,
0.02063613571226597,
-0.05077740177512169,
-0.009380062110722065,
0.049026455730199814,
-0.039878662675619125,
-0.02469189651310444,
0.0581742487847805,
0.06239081174135208,
0.039985861629247665,
-0.03628743812441826,
-0.00023129110923036933,
-0.02885485626757145,
-0.08583202958106995,
-0.007445982191711664,
-0.03995012864470482,
-0.06664310395717621,
0.021743876859545708,
0.03178500756621361,
0.0037274579517543316,
0.038985323160886765,
0.04874058812856674,
-0.004752564709633589,
0.0238164234906435,
-0.005502969492226839,
-0.06306974589824677,
0.04966966062784195,
0.012024345807731152,
0.0033209885004907846,
-0.029265793040394783,
-0.026442840695381165,
0.021618809551000595,
0.002347248839214444,
-0.021458007395267487,
-0.013310753740370274,
-0.050527267158031464,
-0.001844745478592813,
-0.02320895344018936,
-0.07961439341306686,
-0.0426301471889019,
-0.04073626920580864,
0.006713444367051125,
-0.03544769808650017,
0.03153487294912338,
-0.016240905970335007,
0.015106366015970707,
-0.05195660889148712,
0.012033279053866863,
-0.055244095623493195,
0.06853698194026947,
-0.032714080065488815,
-0.07868532091379166,
-0.005547636654227972,
-0.00032578964601270854,
0.0436306856572628,
-0.02608550526201725,
0.0031601875089108944,
0.011068472638726234,
-0.04934805631637573,
0.0018034285167232156,
-0.03855651989579201,
-0.027550581842660904,
0.030069798231124878,
-0.07789918035268784,
0.05038433149456978,
0.03398262336850166,
-0.01986786350607872,
0.003251754678785801,
-0.050420064479112625,
0.017125312238931656,
-0.02642497420310974,
-0.041808273643255234,
0.03912825882434845,
0.033160749822854996,
-0.02226201258599758,
0.09369341284036636,
0.014159426093101501,
0.0015923770843073726,
0.01693771220743656,
-0.0075978501699864864,
0.010737936943769455,
-0.0024544494226574898,
-0.04556030035018921,
0.058138515800237656,
0.021618809551000595,
0.02840818651020527,
-0.07096686959266663,
0.022190546616911888,
0.004299195017665625,
0.06496362388134003,
0.02740764617919922,
0.0015253766905516386,
-0.01213154662400484,
0.037984784692525864,
-0.015133165754377842,
-0.04130800440907478,
0.06199774146080017,
-0.00539576867595315,
-0.03496529534459114,
0.01852785423398018,
-0.017679182812571526,
-0.02497776411473751,
0.07282501459121704,
0.0040736268274486065,
-0.03891385719180107,
-0.009799931198358536,
-0.009898198768496513,
0.0426301471889019,
0.00199102982878685,
0.0017498282250016928,
-0.01665184274315834,
0.09798144549131393,
0.02558523416519165,
-0.047918714582920074,
-0.040378931909799576,
-0.022119078785181046,
-0.0054895696230232716,
-0.052528344094753265,
-0.01876012422144413,
-0.034268490970134735,
0.013650222681462765,
0.009469395503401756,
0.01637490838766098,
0.03107033669948578,
-0.0270860455930233,
-0.01770598255097866,
0.013275020755827427,
-0.022547882050275803,
-0.03619810566306114,
-0.04012879729270935,
0.032053012400865555,
-0.012810484506189823,
-0.026014037430286407,
0.04588190093636513,
-0.04273734614253044,
-0.06089000031352043,
0.018992392346262932,
-0.021440140902996063,
-0.01920679211616516,
0.002583983587101102,
-0.032767683267593384,
0.036984242498874664,
0.004348328802734613,
-0.07043085992336273,
-0.005614636931568384,
-0.0481688492000103,
-0.010425268672406673,
-0.01593717187643051,
-0.03966426104307175,
0.011372207663953304,
-0.020439600571990013,
0.029819663614034653,
0.05013419687747955,
-0.02687164396047592,
0.08947685360908508,
-0.04641790688037872,
-0.0300876647233963,
0.01018406730145216,
0.02276228368282318,
0.04502429440617561,
0.03174927458167076,
0.031945809721946716,
-0.024155892431735992,
0.04255868121981621,
-0.0348580963909626,
0.03164207562804222,
-0.00453816307708621,
-0.02880125679075718,
0.0293551255017519,
-0.04548883065581322,
0.005364501848816872,
-0.08275894075632095,
0.0507059320807457,
-0.002302581910043955,
-0.018617188557982445,
0.04338055104017258,
-0.012149413116276264,
0.04402375593781471,
0.01902812533080578,
-0.01276581734418869,
0.0013723924057558179,
-0.0401645302772522,
0.028872722759842873,
0.02930152602493763,
-0.05842438340187073,
-0.10548549145460129,
-0.007789917755872011,
0.01915319263935089,
0.027318313717842102,
0.02042173407971859,
0.0001601031399331987,
0.04784724861383438,
0.03130260482430458,
-0.011497275903820992,
-0.08483149111270905,
-0.011970745399594307,
-0.05710224062204361,
0.01770598255097866,
0.022440681234002113,
0.015883570536971092,
0.0061327735893428326,
-0.009058459661900997,
0.001274125068448484,
-0.007445982191711664,
-0.026317773386836052,
-0.08997712284326553,
-0.039271190762519836,
-0.07668423652648926,
-0.010434201918542385,
-0.0753263607621193,
0.005860305391252041,
-0.04595337063074112,
-0.04827605187892914,
0.02163667604327202,
0.016169440001249313,
-0.0005639203591272235,
0.01725931279361248,
0.031659942120313644,
0.030677268281579018,
0.026228439062833786,
0.06792951375246048,
0.0431661494076252,
0.019349727779626846,
-0.01362342294305563,
-0.010210867039859295,
0.00006797753303544596,
0.04634643718600273,
-0.03425062447786331,
-0.07164580374956131,
-0.006396308541297913,
0.005114366766065359,
-0.005735237617045641,
0.021743876859545708,
-0.0652494952082634,
0.041093602776527405,
-0.007839052006602287,
0.005659304093569517,
0.0326247476041317,
-0.006458842661231756,
0.07268207520246506,
-0.010327001102268696,
0.045417364686727524,
-0.046810973435640335,
-0.03823491930961609,
-0.0034103223588317633,
-0.03564423322677612,
0.006360575091093779,
-0.06735777854919434,
-0.0326247476041317,
0.0008827308192849159,
-0.0722532719373703,
-0.018456388264894485,
0.055244095623493195,
-0.015133165754377842,
-0.05006273090839386,
-0.06739351153373718,
0.047418445348739624,
-0.07064526528120041,
-0.014141559600830078,
0.013560889288783073,
0.03769891336560249,
0.03314288333058357,
0.04513149708509445,
-0.04513149708509445,
0.03058793395757675,
-0.006333774887025356,
-0.015687037259340286,
0.02880125679075718,
0.015249299816787243,
0.03905678912997246,
-0.058531586080789566,
-0.02780071645975113,
0.045417364686727524,
0.0020703135523945093,
0.039699994027614594,
0.05867451801896095,
-0.01997506432235241,
0.03923545777797699,
0.024709763005375862,
0.017009178176522255,
-0.052028074860572815,
0.031606342643499374,
-0.036483973264694214,
0.028926324099302292,
0.03501889854669571,
-0.03444715961813927,
0.04434535652399063,
-0.0406290665268898,
-0.011997545138001442,
-0.02513856440782547,
0.034983161836862564,
-0.050420064479112625,
-0.0071735139936208725,
-0.005324301775544882,
-0.029873263090848923,
0.004035660065710545,
0.08947685360908508,
-0.02930152602493763,
0.016133705154061317,
0.027175378054380417,
-0.005659304093569517,
-0.004272394813597202,
0.042094144970178604,
0.03133833780884743,
0.006619643419981003,
0.002680017612874508,
0.018349187448620796,
0.01970706321299076,
-0.006767044309526682,
0.011059539392590523,
0.028872722759842873,
-0.0017129778861999512,
0.0012986918445676565,
-0.0077363173477351665,
-0.002814018400385976,
-0.002465616213157773,
0.04073626920580864,
-0.05888891965150833,
0.034607961773872375,
0.002910052426159382,
-0.011917144991457462,
0.025102831423282623,
-0.041701074689626694,
0.04659657180309296,
-0.02619270607829094,
0.0030775535851716995,
-0.02930152602493763,
-0.024942031130194664,
-0.0667860358953476,
0.06689324229955673,
-0.0010351567761972547,
-0.02186894416809082,
0.03107033669948578,
0.031838610768318176,
-0.04738271236419678,
-0.002760418225079775,
-0.016562508419156075,
0.015972904860973358,
-0.057852648198604584,
-0.03744877874851227,
0.0386279858648777,
-0.056744907051324844,
-0.05238541215658188,
0.0511704683303833,
-0.01981426402926445,
-0.04041466489434242,
0.0727178081870079,
0.003935159184038639,
0.019171059131622314,
-0.047597113996744156,
0.01942119374871254,
0.011211407370865345,
0.028729788959026337,
0.027336180210113525,
-0.04566749930381775,
-0.025067098438739777,
0.008906591683626175,
-0.057852648198604584,
0.021958278492093086,
-0.04906218871474266,
0.010809404775500298,
0.04102213680744171,
0.02269081585109234,
-0.043594952672719955,
-0.02242281474173069,
0.0161605067551136,
-0.04527443274855614,
0.024763362482190132,
0.010586069896817207,
-0.003363422118127346,
0.0932646095752716,
-0.026335639879107475,
-0.004346095025539398,
-0.04684670642018318,
-0.008397388271987438,
0.012613949365913868,
0.07214607298374176,
-0.012631816789507866,
-0.03140980750322342,
-0.04141520708799362,
0.05881745368242264,
0.040772002190351486,
-0.030998870730400085,
-0.022154811769723892,
-0.008651990443468094,
0.007932852022349834,
-0.03294634819030762,
0.03428635746240616,
0.029623128473758698,
0.001013939967378974,
-0.007772051263600588,
0.013534088619053364,
-0.02063613571226597,
0.006985912565141916,
0.006686644162982702,
-0.019689196720719337,
0.0073923817835748196,
-0.03074873611330986,
-0.015427968464791775,
-0.014329160563647747,
-0.034482892602682114,
0.016580374911427498,
0.06053266301751137,
-0.01765238307416439,
0.007271781098097563,
-0.01952839456498623,
-0.052921414375305176,
-0.005730770993977785,
0.003265154780820012,
0.0175451822578907,
0.0401645302772522,
-0.04738271236419678,
0.06139026954770088,
0.04924085736274719,
0.022994551807641983,
0.011273941025137901,
-0.001698461128398776,
0.02292308397591114,
-0.0014449761947616935,
0.02497776411473751,
-0.06131880357861519,
0.00852245558053255,
-0.028336720541119576,
0.042487211525440216,
0.010175133123993874,
0.04323761910200119,
-0.006034506484866142,
0.05667344108223915,
0.07318234443664551,
-0.056351836770772934,
0.03610876947641373,
0.01342688873410225,
0.0350903645157814,
-0.018724389374256134,
-0.04713257774710655,
-0.02537083439528942,
-0.007204780820757151,
0.0350903645157814,
-0.03819918632507324,
0.009237127378582954,
-0.025906836614012718,
-0.0042679281905293465,
-0.0072092474438250065,
0.04427389055490494,
-0.027264712378382683,
0.041629608720541,
0.0037609580904245377,
-0.02629990689456463,
0.04127227142453194,
0.033500220626592636,
0.052742745727300644,
0.019635595381259918,
0.02703244425356388,
-0.022851616144180298,
0.04184400662779808,
0.0220833458006382,
0.0009865814354270697,
0.009201393462717533,
-0.03834211826324463,
-0.045810434967279434,
-0.040486134588718414,
0.041486673057079315,
-0.01348048821091652,
0.008817258290946484,
-0.021047072485089302,
0.03575143590569496,
0.04184400662779808,
0.034607961773872375,
-0.0647134929895401,
-0.006083639804273844,
0.04388082027435303,
0.07839944958686829,
-0.006708977278321981,
0.05188514292240143,
0.013605556450784206,
0.02680017612874508,
-0.011550876311957836,
-0.03752024844288826,
-0.018581455573439598,
0.02070760354399681,
0.061461739242076874,
-0.007066313177347183,
-0.02653217501938343,
-0.00519030075520277,
-0.007825651206076145,
0.00303288665600121,
-0.051313403993844986,
-0.014338093809783459,
0.048311784863471985,
0.00846438854932785,
-0.015356500633060932,
0.00779885146766901,
0.08140106499195099,
0.00031043536728248,
-0.05177794024348259,
0.029980463907122612,
0.04738271236419678,
0.03405408933758736,
-0.03241034597158432,
-0.001322142081335187,
0.0753263607621193,
-0.039092522114515305,
0.020546801388263702,
0.0022110145073384047,
0.0030842535197734833,
-0.013007018715143204,
0.01892092451453209,
-0.04377362132072449,
-0.021851077675819397,
-0.03124900534749031,
-0.016231972724199295,
0.0139271579682827,
-0.012569282203912735,
0.0641774907708168,
-0.039378393441438675,
0.018456388264894485,
0.03267834708094597,
0.06231934204697609,
0.000400327640818432,
-0.030284199863672256,
0.033107150346040726,
-0.028354587033391,
-0.02579963579773903,
0.02896205708384514,
0.010505668818950653,
0.017580915242433548,
-0.0026532174088060856,
-0.022011877968907356,
-0.02497776411473751,
-0.008370588533580303,
0.025853237137198448,
0.0027537180576473475,
0.009080792777240276,
-0.06281961500644684,
-0.02642497420310974,
0.003756491467356682,
-0.09905344992876053,
-0.0521710105240345,
0.044595494866371155,
0.0366269089281559,
0.01897452399134636,
0.048418983817100525,
-0.017232513055205345,
-0.025013497099280357,
0.010532469488680363,
0.053135816007852554,
-0.0722532719373703,
-0.05067019909620285,
-0.07014499604701996,
0.09297874569892883,
0.04477415978908539,
0.014722229912877083,
-0.01451676245778799,
0.08990565687417984,
0.0003296979994047433,
-0.011926078237593174,
-0.004401928745210171,
0.012658616527915001,
0.012819417752325535,
-0.0004916157340630889,
0.023727089166641235,
0.003705124370753765,
0.023387620225548744,
-0.002501349663361907,
-0.053243014961481094,
-0.08175840228796005,
-0.00037464412162080407,
0.008303588256239891,
0.08611790090799332,
-0.013489422388374805,
0.015159966424107552,
0.03496529534459114,
0.06796524673700333,
0.04874058812856674,
-0.04241574555635452,
-0.014132626354694366,
0.006418642122298479,
-0.039878662675619125,
0.007807784713804722,
-0.0009134393185377121,
-0.002563883550465107,
0.014221959747374058,
0.04152240604162216,
-0.0139271579682827,
-0.001124490750953555,
0.04623923823237419,
0.04466696083545685,
0.015722770243883133,
0.051706474274396896,
-0.0697876587510109,
0.03096313774585724,
-0.01373955700546503,
0.03119540587067604,
0.026496440172195435,
-0.02769351564347744,
0.03873518854379654,
-0.03064153529703617,
-0.03412555903196335,
0.0406290665268898,
-0.031767141073942184,
-0.03755598142743111,
0.03623383864760399,
0.015499435365200043,
-0.021779609844088554,
-0.027997251600027084,
0.00580223836004734,
-0.05127767100930214,
0.03650183975696564,
-0.022011877968907356,
-0.03564423322677612,
-0.005703970789909363,
0.012631816789507866,
0.06267667561769485,
-0.022404946386814117,
-0.06053266301751137,
-0.03228528052568436,
-0.00042405695421621203,
-0.021047072485089302,
-0.06349854916334152,
0.04405948892235756,
0.03603730350732803,
0.004895498976111412,
-0.0017118612304329872,
-0.020725470036268234,
-0.0007269547786563635,
0.07689864188432693,
-0.06221214309334755,
-0.026710841804742813,
-0.04266588017344475,
0.01284621749073267,
0.03705570846796036,
-0.017750650644302368,
-0.060961466282606125,
0.048919256776571274,
0.001958646113052964,
0.041593872010707855,
-0.07368262112140656,
-0.047704312950372696,
-0.04195120930671692,
0.011961812153458595,
0.036215972155332565,
0.031767141073942184,
0.025906836614012718,
-0.033500220626592636,
-0.0003090395184699446,
0.02874765545129776,
-0.02901565656065941,
-0.028372453525662422,
-0.006668777205049992,
0.06428468972444534,
0.011640209704637527,
-0.08118666708469391,
0.02642497420310974,
0.025603102520108223,
-0.0030887203756719828,
-0.006825111340731382,
0.035876501351594925,
0.024888429790735245,
0.05460089072585106,
0.038377851247787476,
0.062355075031518936,
0.06103293597698212,
0.027604181319475174,
-0.011086339130997658,
0.001503043225966394,
0.01693771220743656,
-0.05510116368532181,
0.020743336528539658,
-0.011640209704637527,
-0.00460516382008791,
0.025406567379832268,
0.0208148043602705,
0.007191380485892296,
-0.021743876859545708,
0.06739351153373718,
0.013650222681462765,
0.04245147854089737,
0.004752564709633589,
-0.01545476820319891,
-0.003001619828864932,
0.017393315210938454,
-0.008379521779716015,
-0.05481529235839844,
-0.04534589871764183,
0.05027712881565094,
-0.023548422381281853,
0.02258361503481865,
0.008924459107220173,
0.03157060593366623,
0.01138114184141159,
-0.04849045351147652,
0.016339173540472984,
0.03294634819030762,
-0.0029926863498985767,
-0.07236047834157944,
-0.020403867587447166,
0.04548883065581322,
-0.01619623973965645,
0.018134785816073418,
-0.024906296283006668,
-0.012801551260054111,
-0.006883178371936083,
-0.0032718549482524395,
0.0035867569968104362,
-0.007571049965918064,
-0.04748991131782532,
-0.009362194687128067,
0.01764344982802868,
-0.0031244538258761168,
-0.014784763567149639,
0.043416284024715424,
0.023727089166641235,
0.03534049913287163,
-0.03684131056070328,
0.004093727096915245,
-0.03244607895612717,
-0.010273400694131851,
-0.023226819932460785
] |
719,440
|
ibm_platform_services.enterprise_billing_units_v1
|
list_billing_options
|
List billing options.
Return matching billing options if any exist. Show subscriptions and promotional
offers that are available to a billing unit.
:param str billing_unit_id: The billing unit ID.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `BillingOptionsList` object
|
def list_billing_options(
self, billing_unit_id: str, *, limit: int = None, start: str = None, **kwargs
) -> DetailedResponse:
"""
List billing options.
Return matching billing options if any exist. Show subscriptions and promotional
offers that are available to a billing unit.
:param str billing_unit_id: The billing unit ID.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `BillingOptionsList` object
"""
if not billing_unit_id:
raise ValueError('billing_unit_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_billing_options'
)
headers.update(sdk_headers)
params = {
'billing_unit_id': billing_unit_id,
'limit': limit,
'start': start,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/billing-options'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, billing_unit_id: str, *, limit: Optional[int] = None, start: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.026706280186772346,
-0.018111972138285637,
0.024042755365371704,
-0.07294508069753647,
-0.019514761865139008,
0.04357527568936348,
-0.02359883487224579,
-0.03334733843803406,
-0.057248037308454514,
-0.04041455686092377,
-0.03258379548788071,
-0.023900700733065605,
0.009118135087192059,
-0.010094760917127132,
0.008221414871513844,
0.034909937530756,
0.0011786100221797824,
-0.08182349801063538,
0.037218328565359116,
0.02704366110265255,
0.05060698091983795,
0.03870990127325058,
0.036472540348768234,
0.07322919368743896,
0.011595213785767555,
0.07280302792787552,
-0.0026191333308815956,
0.007045024540275335,
-0.022870805114507675,
-0.030151106417179108,
0.009428880177438259,
0.0176236592233181,
-0.0018333933549001813,
0.03796411678195,
-0.0437883585691452,
-0.014702660031616688,
0.10781950503587723,
-0.011790539138019085,
-0.08253376930952072,
0.06307227909564972,
-0.020455874502658844,
-0.02049138769507408,
0.050429414957761765,
-0.004090731032192707,
-0.0014516212977468967,
-0.01448957808315754,
-0.025445545092225075,
0.017410578206181526,
-0.01410780567675829,
0.016300775110721588,
0.08487767726182938,
0.025143679231405258,
-0.05124622955918312,
-0.016975535079836845,
-0.0026613057125359774,
-0.006743158213794231,
-0.03213987126946449,
0.01843159645795822,
0.05955642834305763,
0.03917158022522926,
-0.05753214657306671,
-0.02984924055635929,
-0.004616777412593365,
-0.08523280918598175,
0.010618587955832481,
-0.028162341564893723,
-0.021343717351555824,
0.02972494252026081,
-0.0016014446737244725,
0.010112518444657326,
0.022373612970113754,
0.03778654709458351,
-0.006592225283384323,
0.010050369426608086,
-0.04776588827371597,
-0.01274053007364273,
-0.01958579011261463,
0.03050624392926693,
-0.07095631957054138,
-0.051992014050483704,
-0.04794345796108246,
0.02988475374877453,
-0.006410217843949795,
-0.007480067200958729,
-0.01648722216486931,
-0.016709182411432266,
-0.012536326423287392,
-0.023101642727851868,
-0.002736772410571575,
-0.04215472936630249,
-0.055188246071338654,
0.0094910291954875,
-0.02535676211118698,
0.07003296166658401,
-0.019550276920199394,
-0.029281022027134895,
-0.044782739132642746,
-0.02104184962809086,
-0.11769230663776398,
0.04027250409126282,
-0.06594888865947723,
-0.06435077637434006,
0.04819205403327942,
0.0015570524847134948,
0.06935819983482361,
-0.025818439200520515,
-0.03379125893115997,
-0.028552992269396782,
-0.002763407537713647,
0.02347453683614731,
-0.013850332237780094,
-0.030026810243725777,
0.027842719107866287,
-0.07372638583183289,
0.06243303418159485,
0.0522761233150959,
0.015448447316884995,
-0.016052179038524628,
-0.01434752345085144,
-0.018040945753455162,
0.013566222973167896,
-0.06857690215110779,
0.051992014050483704,
0.006831942591816187,
0.011541943065822124,
0.010192424058914185,
0.00643685320392251,
0.010174666531383991,
0.04020147770643234,
0.02013625204563141,
0.05089109018445015,
-0.0033538222778588533,
-0.06090594828128815,
0.026972632855176926,
0.042616404592990875,
0.006059520412236452,
0.01570592075586319,
0.026599740609526634,
0.013708277605473995,
0.08928137272596359,
-0.007963940501213074,
-0.028890371322631836,
-0.0036556886043399572,
-0.009988220408558846,
-0.03013334982097149,
-0.02548106014728546,
0.04176407679915428,
-0.009712989442050457,
-0.015741435810923576,
0.012998003512620926,
-0.019834386184811592,
0.02359883487224579,
0.06427974253892899,
-0.050287358462810516,
-0.005127286538481712,
-0.04052110016345978,
-0.026688523590564728,
0.025037137791514397,
0.014969012700021267,
0.011808295734226704,
0.01818300038576126,
0.07113388180732727,
-0.014818079769611359,
-0.05944988504052162,
-0.022373612970113754,
-0.0011242296313866973,
-0.03572675213217735,
-0.02384743094444275,
-0.02166333980858326,
-0.018484866246581078,
0.027469824999570847,
0.005992932245135307,
0.027878232300281525,
0.029760457575321198,
-0.002335023833438754,
0.04868924245238304,
0.01217231061309576,
-0.014081170782446861,
-0.007928427308797836,
-0.06090594828128815,
0.0027034783270210028,
0.010929332114756107,
-0.011781660839915276,
-0.007187079172581434,
0.0035225122701376677,
-0.052347153425216675,
0.012705015949904919,
0.04808551073074341,
-0.01648722216486931,
-0.03661459684371948,
0.00861650425940752,
-0.03331182524561882,
0.05280882865190506,
-0.020793255418539047,
-0.07443665713071823,
-0.037502437829971313,
0.04343321919441223,
-0.059165775775909424,
-0.0180764589458704,
-0.013628371059894562,
-0.031731463968753815,
-0.01275828666985035,
0.036348242312669754,
-0.02588946744799614,
0.09055986255407333,
0.0036645669024437666,
0.017925525084137917,
-0.027221228927373886,
0.028233369812369347,
0.004210589919239283,
0.007227031979709864,
-0.0024526629131287336,
-0.048369619995355606,
0.024326864629983902,
-0.04165753722190857,
0.017818985506892204,
-0.003329406725242734,
0.0170288048684597,
0.022995103150606155,
-0.01999419741332531,
0.05767420306801796,
-0.05675084888935089,
0.03617067635059357,
-0.011941472068428993,
-0.03269033506512642,
0.06786662340164185,
0.057070471346378326,
0.015164338052272797,
-0.023776402696967125,
-0.0211306344717741,
0.02549881674349308,
-0.06633953750133514,
-0.003287234343588352,
0.011612970381975174,
-0.019639059901237488,
-0.05007427558302879,
0.017454968765378,
0.004945278633385897,
0.058739613741636276,
-0.034661345183849335,
0.038248226046562195,
0.04577712342143059,
0.02448667585849762,
0.03331182524561882,
-0.08075808733701706,
0.01924840919673443,
-0.044285546988248825,
0.0043504247441887856,
0.04776588827371597,
-0.036348242312669754,
-0.02153904177248478,
-0.016824601218104362,
0.014995647594332695,
0.002816678024828434,
-0.011586335487663746,
-0.08153939247131348,
-0.02001195400953293,
-0.05206304416060448,
0.006667691748589277,
-0.04062763974070549,
0.002116392832249403,
-0.05444245785474777,
-0.0717376172542572,
0.015013405121862888,
0.03386228531599045,
0.04208369925618172,
0.026848334819078445,
0.01632741093635559,
0.014631632715463638,
0.01249193400144577,
0.07301610708236694,
-0.03764449059963226,
-0.04570609703660011,
0.03757346421480179,
0.00928682554513216,
0.024309108033776283,
0.01723300851881504,
-0.022639965638518333,
-0.028517479076981544,
-0.023865187540650368,
-0.029636159539222717,
-0.035939835011959076,
0.012225581333041191,
0.00621045334264636,
0.012092404998838902,
-0.013779304921627045,
0.00213858881033957,
0.028109071776270866,
-0.002217384986579418,
0.03640151396393776,
0.013921359553933144,
0.035691238939762115,
-0.036472540348768234,
-0.007995015010237694,
-0.021201662719249725,
-0.009766259230673313,
0.0021075145341455936,
-0.05316396802663803,
-0.0019399343291297555,
0.023421267047524452,
-0.08416739851236343,
-0.0027833839412778616,
0.03956222906708717,
0.024167053401470184,
-0.055898517370224,
-0.018103094771504402,
0.04307808354496956,
-0.04052110016345978,
0.045315444469451904,
-0.017011048272252083,
-0.01570592075586319,
0.01287370640784502,
0.012607353739440441,
-0.062077898532152176,
0.04112483188509941,
-0.03707627207040787,
-0.05405180901288986,
-0.030577272176742554,
-0.022906318306922913,
0.027860475704073906,
-0.06371152400970459,
0.051849961280822754,
-0.01467602513730526,
-0.00906930398195982,
0.08651130646467209,
0.04833410680294037,
0.03515853360295296,
0.02304837293922901,
0.07585719972848892,
-0.01684235967695713,
-0.029795970767736435,
-0.006174939684569836,
-0.03038194589316845,
0.04098277539014816,
-0.005797606892883778,
-0.060444269329309464,
0.042616404592990875,
0.012341001071035862,
-0.05458451434969902,
0.032495010644197464,
0.04460517317056656,
-0.023101642727851868,
-0.018413837999105453,
-0.01474705245345831,
-0.018360568210482597,
0.010858304798603058,
0.08700849860906601,
-0.01058307383209467,
0.02395397238433361,
-0.004008605610579252,
-0.006849699188023806,
0.01640731655061245,
0.0389229841530323,
0.02935205027461052,
0.03476788476109505,
-0.06843484193086624,
-0.02022503688931465,
0.018875516951084137,
-0.016753574833273888,
0.05870410054922104,
0.025782926008105278,
0.0008434497285634279,
-0.10725128650665283,
0.0021607850212603807,
0.016185356304049492,
-0.03842579200863838,
0.013708277605473995,
-0.07713569700717926,
0.012926976196467876,
-0.003260598983615637,
0.015288636088371277,
-0.015510596334934235,
0.05160136520862579,
-0.00012145398068241775,
0.018236270174384117,
0.02846420742571354,
-0.024895083159208298,
0.0037577904295176268,
-0.0659133717417717,
0.06300125271081924,
0.025800682604312897,
-0.027327770367264748,
0.02319042757153511,
0.03984633833169937,
-0.04702010005712509,
-0.01084054820239544,
-0.04609674587845802,
-0.01626526191830635,
-0.008816269226372242,
-0.006299237720668316,
-0.03215762972831726,
-0.013699398376047611,
-0.058384474366903305,
0.07891137897968292,
-0.0012440882856026292,
-0.002925438806414604,
0.03764449059963226,
0.004980792291462421,
0.03661459684371948,
-0.05959194153547287,
0.04829859361052513,
0.01986989937722683,
-0.02869504690170288,
0.030683811753988266,
-0.011639606207609177,
-0.03077259659767151,
0.034128639847040176,
-0.03457256034016609,
0.025587599724531174,
-0.015457325614988804,
0.0039730919525027275,
0.01805870234966278,
-0.015306392684578896,
0.0019077500328421593,
-0.05739009380340576,
0.011142414063215256,
-0.05621814355254173,
0.023243697360157967,
0.01651385799050331,
-0.005105090327560902,
0.04751729220151901,
-0.006454609800130129,
0.02564087137579918,
-0.03572675213217735,
0.0014715978177264333,
-0.005824242252856493,
0.06243303418159485,
-0.033400606364011765,
0.0138325747102499,
-0.05128174275159836,
0.04858270287513733,
0.07713569700717926,
-0.033382851630449295,
-0.029636159539222717,
0.025179192423820496,
0.004607899114489555,
0.006370265036821365,
-0.026084791868925095,
0.0010715140961110592,
0.008132630959153175,
-0.01820075698196888,
-0.02166333980858326,
-0.03435947746038437,
0.020917553454637527,
-0.01480920147150755,
-0.016380680724978447,
-0.007147126365453005,
-0.05525927245616913,
0.01882224529981613,
-0.01773020066320896,
0.0010432141134515405,
-0.02368761971592903,
0.05319948121905327,
-0.05930783227086067,
0.030452974140644073,
-0.029440833255648613,
-0.04758831858634949,
0.03640151396393776,
-0.03538937494158745,
-0.037502437829971313,
0.042971543967723846,
-0.008185901679098606,
0.01960354670882225,
0.05128174275159836,
0.03450153023004532,
0.09737848490476608,
0.0048387376591563225,
0.08040295541286469,
-0.03180249407887459,
0.04627431556582451,
-0.058384474366903305,
0.005642234347760677,
-0.059165775775909424,
0.025552086532115936,
0.06307227909564972,
0.0632498487830162,
-0.023119399324059486,
0.04240332543849945,
0.04211921617388725,
-0.057248037308454514,
0.056573279201984406,
-0.01774795725941658,
0.046203285455703735,
-0.03835476562380791,
0.005025184713304043,
-0.0361529178917408,
0.03089689463376999,
0.059023723006248474,
-0.056182630360126495,
-0.011435402557253838,
0.004914204124361277,
0.001153084565885365,
-0.03956222906708717,
0.017321793362498283,
0.034306205809116364,
-0.008829586207866669,
0.03728935495018959,
-0.005886391270905733,
0.025587599724531174,
0.02267547883093357,
0.07031706720590591,
-0.029547374695539474,
0.014791443943977356,
0.006277041509747505,
-0.0019721186254173517,
0.03073708340525627,
-0.05962745472788811,
0.04027250409126282,
-0.037751033902168274,
-0.026759551838040352,
-0.028925886377692223,
0.05856204405426979,
-0.008922809734940529,
-0.0009422220755368471,
-0.009748502634465694,
0.06935819983482361,
-0.02906794100999832,
0.030541757121682167,
-0.01256296131759882,
0.020296063274145126,
-0.031980060040950775,
0.05444245785474777,
0.018609164282679558,
0.029245508834719658,
0.023527806624770164,
0.05689290165901184,
-0.05000324919819832,
-0.06946474313735962,
-0.024824056774377823,
-0.020917553454637527,
0.0476948618888855,
0.0013728253543376923,
-0.0007596596260555089,
0.010210180655121803,
-0.03451928868889809,
-0.020668957382440567,
-0.04190613329410553,
0.02116614766418934,
0.034430503845214844,
0.02230258658528328,
0.027629636228084564,
0.038638874888420105,
0.030808109790086746,
-0.023794159293174744,
-0.06332087516784668,
0.006294798105955124,
0.026990391314029694,
0.029263265430927277,
0.006645496003329754,
0.004212809260934591,
0.06928717344999313,
-0.008012772537767887,
0.038248226046562195,
0.03849681839346886,
-0.07365535199642181,
-0.03599310666322708,
0.018236270174384117,
-0.001084831659682095,
0.022142773494124413,
-0.05163687840104103,
-0.00848332792520523,
0.016478342935442924,
-0.009570934809744358,
0.02512592263519764,
-0.005744336172938347,
0.027398796752095222,
0.016416193917393684,
0.048653729259967804,
0.023936213925480843,
-0.008327956311404705,
0.011479794047772884,
-0.054264891892671585,
-0.07198621332645416,
0.013681641779839993,
-0.017339549958705902,
-0.02743431180715561,
0.03959774225950241,
0.006720962468534708,
0.004283836577087641,
-0.008145948871970177,
-0.03796411678195,
-0.003078591311350465,
-0.0045191147364676,
-0.004789906553924084,
-0.011462037451565266,
0.029778214171528816,
-0.010148031637072563,
-0.03650805354118347,
0.04996773600578308,
-0.01743721216917038,
-0.008256928995251656,
0.012465299107134342,
0.014205468818545341,
-0.05600506067276001,
-0.011133535765111446,
0.04353976249694824,
-0.05295088514685631,
-0.03446601703763008,
0.00634362967684865,
0.05472656711935997,
0.027629636228084564,
0.03796411678195,
0.04527993127703667,
0.043255653232336044,
0.013237721286714077,
0.048902325332164764,
0.006041763350367546,
0.012145675718784332,
-0.011204563081264496,
-0.009934949688613415,
-0.03254827857017517,
-0.032512765377759933,
0.030808109790086746,
-0.009473271667957306,
-0.08196555078029633,
-0.052347153425216675,
0.03562021255493164,
-0.0069651189260184765,
0.04410798102617264,
-0.005269341170787811,
0.007591047324240208,
0.03515853360295296,
0.028410937637090683,
0.07170210033655167,
-0.041479967534542084,
-0.019177382811903954,
0.008634261786937714,
0.0316249243915081,
-0.022089503705501556,
-0.0008800731739029288,
0.0011963668512180448,
0.014338645152747631,
0.016957778483629227,
-0.005020745098590851,
-0.038141682744026184,
-0.016957778483629227,
0.0019310559146106243,
-0.008776316419243813,
0.005726579576730728,
-0.018999814987182617,
0.03087913803756237,
0.032885659486055374,
0.006787550635635853,
0.0681152194738388,
0.003098567947745323,
0.0759282335639,
-0.059130262583494186,
-0.029955781996250153,
0.021556798368692398,
-0.029582887887954712,
-0.01646946556866169,
0.016247505322098732,
-0.002432686509564519,
-0.015865731984376907,
-0.03409312292933464,
-0.0010443239007145166,
-0.02588946744799614,
0.032619308680295944,
0.009677475318312645,
-0.03515853360295296,
-0.002417149255052209,
-0.007631000131368637,
0.025339005514979362,
-0.06012464687228203,
-0.04066315293312073,
-0.05660879239439964,
-0.010938210412859917,
-0.018911030143499374,
-0.06918063014745712,
0.03114549070596695,
0.07166659086942673,
0.016851237043738365,
-0.0220362339168787,
0.01743721216917038,
-0.037360381335020065,
0.06413768976926804,
-0.0543714314699173,
-0.05295088514685631,
0.0022495691664516926,
-0.00851440243422985,
0.03437723591923714,
-0.036081891506910324,
0.0015193192521110177,
0.0038687705527991056,
-0.014995647594332695,
-0.013344261795282364,
-0.05334153398871422,
-0.010742885991930962,
-0.027949258685112,
-0.008887296542525291,
0.012385392561554909,
0.00011319982877466828,
0.003637931775301695,
0.0361529178917408,
-0.012332122772932053,
0.017321793362498283,
-0.009633083827793598,
-0.008061603643000126,
0.01653161458671093,
0.02308388613164425,
0.03631272912025452,
-0.0507490374147892,
0.059520915150642395,
-0.0011519747786223888,
0.03540712967514992,
-0.04307808354496956,
0.006934044416993856,
-0.025800682604312897,
0.014143319800496101,
0.03654356673359871,
0.08217863738536835,
0.08274685591459274,
-0.017881134524941444,
-0.024770785123109818,
0.007409039884805679,
0.032512765377759933,
-0.061829302459955215,
-0.012163432314991951,
0.020047467201948166,
0.034306205809116364,
0.020846525207161903,
0.05291537195444107,
-0.042474351823329926,
0.007520020008087158,
0.05870410054922104,
0.05486862361431122,
-0.010094760917127132,
0.04322014003992081,
-0.08672438561916351,
-0.039810825139284134,
-0.02988475374877453,
0.0041772956028580666,
-0.05422937497496605,
-0.041728563606739044,
0.0180764589458704,
-0.0094910291954875,
-0.027789447456598282,
-0.004905325826257467,
0.003953115548938513,
0.039526715874671936,
0.010778399184346199,
0.048653729259967804,
0.053625643253326416,
0.02663525380194187,
-0.050464928150177,
0.023012859746813774,
0.03973979875445366,
-0.004945278633385897,
0.035424888134002686,
-0.014516212977468967,
-0.04208369925618172,
-0.04020147770643234,
0.008079360239207745,
0.03169595077633858,
-0.01843159645795822,
-0.005335929337888956,
-0.06935819983482361,
0.0253745187073946,
-0.004317130893468857,
-0.03856784850358963,
-0.0759282335639,
-0.014587240293622017,
-0.008869539946317673,
0.025924980640411377,
0.010920453816652298,
0.0015648211119696498,
0.04755280539393425,
-0.013033517636358738
] |
719,441
|
ibm_platform_services.enterprise_billing_units_v1
|
list_billing_units
|
List billing units.
Return matching billing unit information if any exists. Omits internal properties
and enterprise account ID from the billing unit.
:param str account_id: (optional) The enterprise account ID.
:param str enterprise_id: (optional) The enterprise ID.
:param str account_group_id: (optional) The account group ID.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `BillingUnitsList` object
|
def list_billing_units(
self,
*,
account_id: str = None,
enterprise_id: str = None,
account_group_id: str = None,
limit: int = None,
start: str = None,
**kwargs,
) -> DetailedResponse:
"""
List billing units.
Return matching billing unit information if any exists. Omits internal properties
and enterprise account ID from the billing unit.
:param str account_id: (optional) The enterprise account ID.
:param str enterprise_id: (optional) The enterprise ID.
:param str account_group_id: (optional) The account group ID.
:param int limit: (optional) Return results up to this limit. Valid values
are between 0 and 100.
:param str start: (optional) The pagination offset. This represents the
index of the first returned result.
: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 representing a `BillingUnitsList` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_billing_units'
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'enterprise_id': enterprise_id,
'account_group_id': account_group_id,
'limit': limit,
'start': start,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/billing-units'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, *, account_id: Optional[str] = None, enterprise_id: Optional[str] = None, account_group_id: Optional[str] = None, limit: Optional[int] = None, start: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04377344995737076,
0.0240448247641325,
-0.023846998810768127,
-0.06657736748456955,
-0.037191249430179596,
0.04636317119002342,
-0.04114776477217674,
-0.041795194149017334,
-0.09035243093967438,
-0.03577049821615219,
-0.002511038677766919,
-0.031130585819482803,
0.007629781030118465,
-0.01580807939171791,
-0.002163719618692994,
0.021527042612433434,
-0.013982686214148998,
-0.08387812972068787,
0.056578174233436584,
-0.013317272067070007,
-0.01529552973806858,
0.05546315759420395,
0.03827029839158058,
0.07776352018117905,
0.004689370281994343,
0.022012613713741302,
0.04812561720609665,
-0.0008064772700890899,
0.002033334458246827,
-0.0002099088887916878,
0.03001556731760502,
0.024188697338104248,
0.02722802199423313,
0.011051267385482788,
-0.05096711590886116,
-0.03934934735298157,
0.07190068066120148,
-0.05492363125085831,
-0.07355522364377975,
0.03542879968881607,
0.02672446519136429,
-0.019225070253014565,
0.10524331778287888,
0.028522880747914314,
0.020394040271639824,
-0.022138504311442375,
-0.007778150029480457,
-0.03985290229320526,
0.017498590052127838,
0.054312169551849365,
0.03310884162783623,
0.0019051971612498164,
-0.0202681515365839,
-0.008205274119973183,
0.013479129411280155,
-0.015897998586297035,
-0.03827029839158058,
-0.036687690764665604,
0.014603139832615852,
0.03888176009058952,
-0.050031937658786774,
-0.009522614069283009,
0.0033248220570385456,
-0.061757612973451614,
-0.04078808054327965,
-0.009738423861563206,
-0.034997180104255676,
0.040931954979896545,
-0.012283182702958584,
0.022857870906591415,
0.0027335926424711943,
0.07175680994987488,
0.03233552351593971,
-0.025123875588178635,
-0.041831161826848984,
0.023073680698871613,
-0.0012510232627391815,
0.013793852180242538,
-0.03176002949476242,
-0.03765883669257164,
-0.02555549517273903,
0.044025227427482605,
0.012867667712271214,
0.029619915410876274,
0.026328813284635544,
-0.0064428262412548065,
-0.016068849712610245,
-0.002253640443086624,
-0.03701140731573105,
-0.03631002455949783,
-0.045463960617780685,
-0.007216145284473896,
-0.001795044168829918,
0.02442249283194542,
-0.015529324300587177,
-0.014162527397274971,
-0.04492443799972534,
0.0014983054716140032,
-0.10473976284265518,
0.02918829582631588,
-0.01054771151393652,
-0.06387974321842194,
0.000858181738294661,
0.020088309422135353,
0.028450945392251015,
-0.02945805713534355,
-0.04855723679065704,
-0.02665252797305584,
-0.0204479917883873,
0.06503073126077652,
-0.004370151553303003,
-0.057369478046894073,
0.020843643695116043,
-0.03755092993378639,
0.027156084775924683,
0.034997180104255676,
-0.004797275178134441,
-0.029440073296427727,
-0.035554688423871994,
-0.058088842779397964,
0.04427700862288475,
-0.06075049936771393,
0.05031968653202057,
-0.018190979957580566,
0.03602227568626404,
0.0074859075248241425,
0.026005098596215248,
0.02041202411055565,
0.07747577130794525,
-0.011671721003949642,
0.028792643919587135,
-0.04506831243634224,
-0.020969532430171967,
0.023846998810768127,
0.060210976749658585,
0.06571412831544876,
0.006721580866724253,
0.0033270700369030237,
0.010979331098496914,
0.08229552954435349,
0.022012613713741302,
0.015439403243362904,
0.016995033249258995,
0.010925378650426865,
-0.04776593670248985,
-0.021832773461937904,
0.008911152370274067,
-0.02408079244196415,
-0.024710239842534065,
-0.008704334497451782,
-0.08323070406913757,
-0.02116735838353634,
0.04949241504073143,
-0.03237149119377136,
-0.01731874793767929,
0.00702281529083848,
-0.015394442714750767,
0.040356460958719254,
0.05334102362394333,
0.048341426998376846,
-0.02589719370007515,
0.04442087933421135,
-0.018262917175889015,
-0.04258649796247482,
-0.009032545611262321,
-0.006330424919724464,
-0.05643429979681969,
-0.02620292454957962,
-0.06535444408655167,
-0.0625489130616188,
-0.012705810368061066,
0.00021454543457366526,
0.03553670644760132,
0.02075372263789177,
-0.04970822483301163,
-0.026850353926420212,
0.004014964215457439,
-0.022678028792142868,
-0.025303715839982033,
-0.022138504311442375,
-0.040212586522102356,
-0.0018422526773065329,
0.000014339910194394179,
-0.0033855184447020292,
-0.014836933463811874,
-0.03981693461537361,
-0.0013016037410125136,
0.03307287395000458,
-0.015556300058960915,
-0.060354847460985184,
0.022102534770965576,
-0.0031809487845748663,
0.010322908870875835,
-0.00281676952727139,
-0.056578174233436584,
-0.003122500143945217,
0.02737189456820488,
0.00016551050066482276,
-0.041795194149017334,
0.0007716329419054091,
-0.04873707890510559,
0.05524734780192375,
0.06970661133527756,
0.009657494723796844,
0.06923902779817581,
0.00896960124373436,
-0.017966177314519882,
-0.03035726584494114,
-0.0023469331208616495,
0.016743255779147148,
0.024980001151561737,
0.005781908053904772,
-0.05183035507798195,
0.05031968653202057,
-0.03343255817890167,
0.053520865738391876,
0.02230036072432995,
-0.007940007373690605,
0.05082324147224426,
-0.04125566780567169,
0.03515903651714325,
-0.04855723679065704,
0.02397288754582405,
-0.04668688401579857,
-0.03974499925971031,
0.025339685380458832,
0.02506992220878601,
0.014009661972522736,
-0.0055481139570474625,
-0.0445287860929966,
0.006546235177665949,
-0.03938531503081322,
0.012427056208252907,
0.055211376398801804,
-0.009873305447399616,
-0.03564460948109627,
-0.03577049821615219,
-0.013083478435873985,
0.06542637944221497,
-0.011015299707651138,
-0.007279089652001858,
-0.0013679203111678362,
0.028289087116718292,
0.03631002455949783,
-0.038054488599300385,
-0.020286135375499725,
-0.06265681982040405,
0.02400885708630085,
0.020016372203826904,
-0.04427700862288475,
-0.038090456277132034,
0.002104146871715784,
0.06884337216615677,
0.020771708339452744,
-0.04208293929696083,
-0.05495959892868996,
-0.0331268273293972,
-0.05675801634788513,
0.02188672497868538,
-0.0706058219075203,
0.023846998810768127,
-0.08790658414363861,
-0.03354046121239662,
0.04873707890510559,
0.06643349677324295,
0.041075825691223145,
0.03848610818386078,
0.04492443799972534,
0.04740625247359276,
0.023433363065123558,
0.0661817193031311,
-0.009104481898248196,
0.004203797783702612,
0.0012892396189272404,
-0.01030492503196001,
0.01783129759132862,
0.09265440702438354,
-0.0314902663230896,
-0.05190229415893555,
-0.008052408695220947,
-0.047693997621536255,
-0.04147147759795189,
-0.05017581209540367,
-0.024890080094337463,
0.0404643639922142,
-0.04406119883060455,
-0.00019880929903592914,
-0.01077251322567463,
-0.03237149119377136,
0.029026437550783157,
0.016968056559562683,
-0.009936249814927578,
-0.046147361397743225,
-0.030123472213745117,
-0.02911635860800743,
-0.023864982649683952,
-0.054276201874017715,
-0.04898885637521744,
0.019530801102519035,
0.019530801102519035,
-0.07114534825086594,
0.0369035005569458,
0.015610252507030964,
0.011995436623692513,
-0.032911017537117004,
-0.03382821008563042,
0.0277495626360178,
-0.02895450033247471,
0.01598791964352131,
-0.0070138233713805676,
0.03693946823477745,
0.012498992495238781,
0.02737189456820488,
-0.062405042350292206,
0.05161454528570175,
-0.04211890697479248,
-0.0348353236913681,
0.03021339327096939,
-0.004950140602886677,
0.04632720351219177,
0.019350958988070488,
-0.0006952002877369523,
-0.011410950683057308,
0.03247939795255661,
0.0349072590470314,
0.032839078456163406,
0.0241527296602726,
0.06643349677324295,
0.0702461376786232,
-0.047010600566864014,
-0.05704576149582863,
-0.06272875517606735,
-0.04722641035914421,
0.013371224515140057,
-0.03755092993378639,
-0.10250972211360931,
0.0015252818120643497,
-0.030537107959389687,
-0.009297812357544899,
0.03641792759299278,
0.023846998810768127,
-0.01489987876266241,
-0.04229874908924103,
0.014971815049648285,
0.004089148715138435,
-0.009261843748390675,
0.09438088536262512,
-0.03740705922245979,
0.029745804145932198,
0.0628366619348526,
-0.009441684931516647,
-0.006824989803135395,
0.056470271199941635,
0.016068849712610245,
0.021724868565797806,
-0.02490806393325329,
0.006878942251205444,
0.019189100712537766,
-0.009693463332951069,
0.0049096764996647835,
-0.05093114823102951,
0.007553348317742348,
-0.05916789546608925,
-0.00013958800991531461,
0.0020086062140762806,
-0.0892733782529831,
0.02562743052840233,
-0.05985129252076149,
0.04129163548350334,
0.045499932020902634,
0.011213124729692936,
0.0021187590900808573,
0.006613675504922867,
0.050571464002132416,
-0.013748891651630402,
0.013011541217565536,
0.016374580562114716,
-0.015700174495577812,
-0.054384104907512665,
0.04567977041006088,
0.009711447171866894,
-0.02390095219016075,
-0.015700174495577812,
0.025267748162150383,
-0.01632962003350258,
0.008564957417547703,
-0.01841578260064125,
-0.018190979957580566,
-0.06851965934038162,
-0.035518720746040344,
0.016167761757969856,
-0.006447322200983763,
-0.02370312623679638,
0.0405363030731678,
-0.013443161733448505,
-0.013802844099700451,
0.019386926665902138,
-0.035860419273376465,
-0.005296336021274328,
-0.05233391374349594,
0.01697704941034317,
0.015385450795292854,
0.010673600248992443,
0.04636317119002342,
-0.011096227914094925,
-0.01690511219203472,
0.0633402168750763,
-0.05553509294986725,
0.009023553691804409,
0.019800562411546707,
0.0011768386466428638,
0.015043751336634159,
-0.022588107734918594,
-0.015097703784704208,
-0.035788483917713165,
0.024584349244832993,
-0.03399006649851799,
-0.009963225573301315,
0.029547978192567825,
-0.02469225414097309,
-0.007805126253515482,
-0.03539283201098442,
0.006137095391750336,
-0.03406200185418129,
-0.010188028216362,
-0.04456475377082825,
0.05708173289895058,
-0.04057227075099945,
0.00963951088488102,
-0.05042758956551552,
0.05967145040631294,
0.018361829221248627,
-0.056650109589099884,
0.008573949337005615,
0.021724868565797806,
0.015268553979694843,
-0.015340490266680717,
-0.024980001151561737,
0.028217149898409843,
-0.0259331613779068,
-0.04406119883060455,
-0.009171922691166401,
0.0203400868922472,
0.004329686984419823,
-0.06481491774320602,
0.030177423730492592,
-0.007184672635048628,
-0.08395007252693176,
0.014144543558359146,
-0.007989464327692986,
0.032497379928827286,
-0.013784860260784626,
0.023793047294020653,
-0.025267748162150383,
0.047729965299367905,
-0.07553347945213318,
-0.03413394093513489,
0.0027358406223356724,
0.0024750703014433384,
-0.0013218359090387821,
0.04042839631438255,
-0.04269440099596977,
0.021868741139769554,
0.05096711590886116,
0.021527042612433434,
0.07898644357919693,
0.010997314937412739,
0.038773853331804276,
0.02929620072245598,
-0.0013049758272245526,
-0.028235135599970818,
0.031813982874155045,
-0.026760432869195938,
0.04150744527578354,
0.033216748386621475,
0.04870111122727394,
0.011159172281622887,
0.027317943051457405,
0.019818546250462532,
-0.062333106994628906,
0.04575170949101448,
0.0015297777717933059,
0.04927660524845123,
-0.023846998810768127,
-0.009900281205773354,
-0.021239295601844788,
0.0592757984995842,
0.013497114181518555,
-0.023685142397880554,
-0.012525969184935093,
-0.010763521306216717,
-0.013335255905985832,
-0.031544219702482224,
0.02132921665906906,
-0.007993959821760654,
-0.03569856286048889,
0.0022581364028155804,
-0.0184517502784729,
-0.015601260587573051,
0.026023082435131073,
0.07118131220340729,
-0.012993557378649712,
0.07862675935029984,
-0.02729995921254158,
0.013299288228154182,
0.055858809500932693,
-0.006271976511925459,
0.01085344236344099,
-0.01149187982082367,
-0.028864581137895584,
-0.024476444348692894,
0.07970580458641052,
-0.022102534770965576,
-0.015754126012325287,
-0.018883369863033295,
0.06132599338889122,
-0.04737028479576111,
0.012418064288794994,
-0.012301166541874409,
0.02548355795443058,
0.00007741619629086927,
0.05093114823102951,
0.047550126910209656,
0.0446007214486599,
0.03765883669257164,
0.033900145441293716,
-0.015619245357811451,
-0.01529552973806858,
-0.0445287860929966,
-0.0012611394049599767,
0.03379224240779877,
0.006519258953630924,
-0.020322103053331375,
-0.05398845672607422,
-0.025645416229963303,
-0.01924305409193039,
-0.029781771823763847,
0.007009327411651611,
0.031544219702482224,
0.05611058697104454,
0.03274916112422943,
-0.006289960816502571,
0.018667560070753098,
-0.04121970012784004,
-0.07172083854675293,
0.028612801805138588,
0.02960193157196045,
0.011653737165033817,
0.01635659486055374,
0.043161988258361816,
0.03220963478088379,
-0.03354046121239662,
-0.005831364542245865,
0.03974499925971031,
-0.03674164414405823,
-0.022174471989274025,
-0.018703529611229897,
-0.009549589827656746,
-0.02370312623679638,
-0.030303314328193665,
0.01650046929717064,
0.028307070955634117,
-0.011240101419389248,
0.07812320441007614,
0.0036620250903069973,
0.04420506954193115,
0.05697382614016533,
0.01423446461558342,
0.041651319712400436,
0.005174942780286074,
-0.033522479236125946,
-0.01481894962489605,
-0.04514024779200554,
0.013065493665635586,
-0.0011712185805663466,
-0.02177882008254528,
0.015187624841928482,
-0.01540343463420868,
0.013766876421868801,
-0.07481411844491959,
-0.018101058900356293,
-0.024584349244832993,
0.008803247474133968,
-0.05593074485659599,
0.015942959114909172,
0.030195407569408417,
-0.0442410409450531,
-0.0553552508354187,
0.05931176617741585,
-0.0008739178883843124,
0.03379224240779877,
0.005835860501974821,
-0.0054671852849423885,
-0.0006693480536341667,
-0.003041571471840143,
0.05614655464887619,
-0.08797851949930191,
0.00468037836253643,
-0.04118373245000839,
0.013542073778808117,
0.02548355795443058,
0.04747818782925606,
0.06222520023584366,
0.03251536563038826,
0.03183196857571602,
0.02819916605949402,
0.028936516493558884,
-0.023109648376703262,
-0.0043813916854560375,
0.0037249696906656027,
-0.009261843748390675,
-0.03168809413909912,
0.029386121779680252,
0.025465574115514755,
0.022624075412750244,
-0.06150583550333977,
0.05384458228945732,
-0.048089649528265,
0.05398845672607422,
0.025735335424542427,
0.043377798050642014,
0.05373667553067207,
0.018595624715089798,
0.053484898060560226,
-0.000460844166809693,
0.012534961104393005,
0.014720036648213863,
0.02695825882256031,
-0.012705810368061066,
-0.028001340106129646,
-0.04514024779200554,
0.050535496324300766,
-0.02321755327284336,
0.0012555193388834596,
-0.0445287860929966,
-0.008259226568043232,
0.019153133034706116,
-0.02850489690899849,
0.006856461986899376,
-0.07848288118839264,
0.00004773530599777587,
0.06704495847225189,
0.03262326866388321,
0.07898644357919693,
-0.011599784716963768,
0.043845389038324356,
-0.060210976749658585,
-0.04949241504073143,
0.014126559719443321,
0.02188672497868538,
-0.056614141911268234,
0.013883773237466812,
-0.002589719370007515,
-0.020627833902835846,
-0.018667560070753098,
0.07042597979307175,
-0.033216748386621475,
0.039673060178756714,
0.03564460948109627,
0.008996577002108097,
0.009792376309633255,
-0.0165634136646986,
0.0016961313085630536,
-0.025051938369870186,
0.008079384453594685,
-0.022246409207582474,
-0.005435713101178408,
0.009882297366857529,
-0.027965372428297997,
-0.022821901366114616,
0.03780270740389824,
0.023649172857403755,
0.057333510369062424,
-0.025357669219374657,
-0.06215326488018036,
0.09733028709888458,
-0.03433176502585411,
-0.028109245002269745,
0.03494322672486305,
-0.0002752419968601316,
0.010448798537254333,
-0.061685677617788315,
0.008564957417547703,
0.010313916951417923,
-0.020663801580667496,
0.022282376885414124,
-0.07661253213882446,
-0.03093275986611843,
-0.012490000575780869,
-0.01677023060619831,
0.07082162797451019,
-0.020322103053331375,
-0.0334145724773407,
0.006892430130392313,
0.006550731137394905,
0.00562454666942358,
-0.00010804547491716221,
0.00236266921274364,
0.03837820142507553,
0.02129324898123741,
-0.011455911211669445,
-0.036166150122880936,
0.03762286901473999,
0.0030595555435866117,
0.02435055561363697,
-0.004833243787288666,
0.024926049634814262,
-0.02287585474550724,
0.005080525763332844,
0.003972251899540424,
0.0743105560541153,
0.05700979381799698,
0.004376895725727081,
-0.020465977489948273,
0.034349750727415085,
0.03343255817890167,
0.010691584087908268,
-0.01962072029709816,
0.023001743480563164,
0.04442087933421135,
0.052909404039382935,
0.03350449353456497,
-0.011015299707651138,
-0.0184517502784729,
0.041759226471185684,
0.0239369198679924,
-0.025807272642850876,
0.06664930284023285,
-0.06985048949718475,
-0.019494831562042236,
0.022246409207582474,
0.055139441043138504,
-0.04654301330447197,
0.004372399300336838,
0.008371627889573574,
-0.028001340106129646,
-0.057333510369062424,
-0.003963259980082512,
-0.0028437457513064146,
0.028594817966222763,
0.0029156822711229324,
0.025699367746710777,
0.05754932016134262,
-0.011527848429977894,
-0.06815997511148453,
0.019764594733715057,
0.06578606367111206,
0.006514762993901968,
0.04118373245000839,
-0.004792779218405485,
-0.004161085467785597,
-0.037191249430179596,
-0.005687491502612829,
0.033558446913957596,
0.03769480437040329,
-0.02809126116335392,
-0.03652583435177803,
-0.0007957991911098361,
0.012588913552463055,
-0.04280230775475502,
-0.03096872754395008,
-0.019332975149154663,
0.0024391019251197577,
0.005516641773283482,
-0.05391651764512062,
-0.00317195663228631,
0.05118292570114136,
-0.011150180362164974
] |
719,450
|
ibm_platform_services.enterprise_management_v1
|
EnterpriseManagementV1
|
The Enterprise Management V1 service.
|
class EnterpriseManagementV1(BaseService):
"""The Enterprise Management V1 service."""
DEFAULT_SERVICE_URL = 'https://enterprise.cloud.ibm.com/v1'
DEFAULT_SERVICE_NAME = 'enterprise_management'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'EnterpriseManagementV1':
"""
Return a new client for the Enterprise Management service using the
specified parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Enterprise 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# Enterprise Operations
#########################
def create_enterprise(
self,
source_account_id: str,
name: str,
primary_contact_iam_id: str,
*,
domain: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an enterprise.
Create a new enterprise, which you can use to centrally manage multiple accounts.
To create an enterprise, you must have an active Subscription account.
<br/><br/>The API creates an enterprise entity, which is the root of the
enterprise hierarchy. It also creates a new enterprise account that is used to
manage the enterprise. All subscriptions, support entitlements, credits, and
discounts from the source subscription account are migrated to the enterprise
account, and the source account becomes a child account in the hierarchy. The user
that you assign as the enterprise primary contact is also assigned as the owner of
the enterprise account.
:param str source_account_id: The ID of the account that is used to create
the enterprise.
:param str name: The name of the enterprise. This field must have 3 - 60
characters.
:param str primary_contact_iam_id: The IAM ID of the enterprise primary
contact, such as `IBMid-0123ABC`. The IAM ID must already exist.
:param str domain: (optional) A domain or subdomain for the enterprise,
such as `example.com` or `my.example.com`.
: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 representing a `CreateEnterpriseResponse` object
"""
if source_account_id is None:
raise ValueError('source_account_id must be provided')
if name is None:
raise ValueError('name must be provided')
if primary_contact_iam_id is None:
raise ValueError('primary_contact_iam_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_enterprise',
)
headers.update(sdk_headers)
data = {
'source_account_id': source_account_id,
'name': name,
'primary_contact_iam_id': primary_contact_iam_id,
'domain': domain,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/enterprises'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
def list_enterprises(
self,
*,
enterprise_account_id: Optional[str] = None,
account_group_id: Optional[str] = None,
account_id: Optional[str] = None,
next_docid: Optional[str] = None,
limit: Optional[int] = None,
**kwargs,
) -> DetailedResponse:
"""
List enterprises.
Retrieve all enterprises for a given ID by passing the IDs on query parameters. If
no ID is passed, the enterprises for which the calling identity is the primary
contact are returned. You can use pagination parameters to filter the results.
<br/><br/>This method ensures that only the enterprises that the user has access
to are returned. Access can be controlled either through a policy on a specific
enterprise, or account-level platform services access roles, such as
Administrator, Editor, Operator, or Viewer. When you call the method with the
`enterprise_account_id` or `account_id` query parameter, the account ID in the
token is compared with that in the query parameter. If these account IDs match,
authentication isn't performed and the enterprise information is returned. If the
account IDs don't match, authentication is performed and only then is the
enterprise information returned in the response.
:param str enterprise_account_id: (optional) Get enterprises for a given
enterprise account ID.
:param str account_group_id: (optional) Get enterprises for a given account
group ID.
:param str account_id: (optional) Get enterprises for a given account ID.
:param str next_docid: (optional) The first item to be returned in the page
of results. This value can be obtained from the next_url property from the
previous call of the operation. If not specified, then the first page of
results is returned.
:param int limit: (optional) Return results up to this limit. Valid values
are between `0` and `100`.
: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 representing a `ListEnterprisesResponse` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_enterprises',
)
headers.update(sdk_headers)
params = {
'enterprise_account_id': enterprise_account_id,
'account_group_id': account_group_id,
'account_id': account_id,
'next_docid': next_docid,
'limit': limit,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/enterprises'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
def get_enterprise(
self,
enterprise_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get enterprise by ID.
Retrieve an enterprise by the `enterprise_id` parameter. All data related to the
enterprise is returned only if the caller has access to retrieve the enterprise.
:param str enterprise_id: The ID of the enterprise to retrieve.
:param dict headers: A `dict` containing the request headers
:r
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
-0.000034552038414403796,
-0.046238064765930176,
-0.05589306354522705,
-0.03723488375544548,
0.03153150901198387,
-0.0371941439807415,
-0.033568426966667175,
-0.0492527037858963,
-0.06053723767399788,
-0.0006511776009574533,
0.00735837034881115,
-0.04236792027950287,
-0.016712922602891922,
-0.0018357733497396111,
-0.0064366646111011505,
0.011121578514575958,
0.01229280699044466,
-0.046115849167108536,
0.03157224878668785,
-0.04835646227002144,
-0.001321451272815466,
0.028292806819081306,
0.03774411231279373,
-0.01529726292937994,
0.04391597583889961,
0.04676766321063042,
0.02399490773677826,
0.0013316358672454953,
0.051493316888809204,
-0.0046721831895411015,
0.010306810960173607,
-0.012730744667351246,
-0.007506046909838915,
0.05295989662408829,
0.016152769327163696,
-0.01810821145772934,
-0.004140038043260574,
0.005800127517431974,
-0.0952463373541832,
0.08872819691896439,
-0.019849777221679688,
0.00869764480739832,
0.1085270494222641,
-0.002856779145076871,
0.005066836252808571,
0.02368937060236931,
0.020185869187116623,
0.008050923235714436,
0.05597453936934471,
-0.007974538952112198,
-0.022365372627973557,
0.002499045105651021,
0.02385232411324978,
-0.052430298179388046,
-0.019931254908442497,
-0.0002889879106078297,
0.007302355021238327,
-0.021285805851221085,
-0.03554423898458481,
0.01267982181161642,
-0.03189815580844879,
-0.01612221449613571,
0.016875876113772392,
-0.0016269892221316695,
-0.06876639276742935,
0.027111394330859184,
-0.0611075758934021,
0.0361756831407547,
-0.009201782755553722,
0.0408809669315815,
0.03603310137987137,
0.0005292806890793145,
-0.019584977999329567,
0.0020292806439101696,
0.0208478681743145,
0.039394017308950424,
0.011091024614870548,
-0.002971355803310871,
0.016417568549513817,
-0.01786378026008606,
-0.022874603047966957,
-0.02505410648882389,
0.007821769453585148,
0.01526670902967453,
0.0723513662815094,
0.057441119104623795,
0.014563972130417824,
-0.008626352995634079,
0.009639719501137733,
0.0408809669315815,
0.016529599204659462,
0.04774538427591324,
-0.040086567401885986,
0.004967536777257919,
0.046401020139455795,
-0.034505411982536316,
-0.0054894969798624516,
0.0034525778610259295,
0.02472819946706295,
0.018220242112874985,
-0.02080712839961052,
-0.011172501370310783,
0.001922342460602522,
0.014563972130417824,
0.007470401003956795,
-0.05426352471113205,
-0.02385232411324978,
0.0238115843385458,
0.052226606756448746,
0.06143348291516304,
-0.05511903390288353,
-0.022385740652680397,
-0.008549967780709267,
-0.03185741603374481,
-0.038579247891902924,
0.011274348013103008,
0.046278804540634155,
0.07279948890209198,
0.009013366885483265,
-0.03694971278309822,
0.01833227276802063,
-0.04145130515098572,
-0.018444303423166275,
0.019584977999329567,
0.009425843134522438,
-0.016387013718485832,
-0.023465309292078018,
0.017629535868763924,
0.016285168007016182,
-0.04892679676413536,
-0.012720559723675251,
-0.013759388588368893,
0.009741566143929958,
-0.002450668253004551,
0.020491406321525574,
-0.01841374859213829,
-0.02480967529118061,
0.007954169064760208,
-0.021102482452988625,
0.034098025411367416,
-0.010724379681050777,
0.013779758475720882,
-0.03680713102221489,
0.03032972663640976,
-0.06697390228509903,
-0.017466582357883453,
0.013739019632339478,
0.008264799602329731,
-0.033059198409318924,
-0.02052196115255356,
-0.022589433938264847,
-0.045952897518873215,
-0.008122215047478676,
-0.04175684228539467,
0.0007963081006892025,
0.007602800615131855,
-0.007399108726531267,
-0.059885423630476,
0.02409675344824791,
-0.0032463399693369865,
-0.028272438794374466,
0.00630426499992609,
0.04212348908185959,
-0.0205423291772604,
-0.016437938436865807,
-0.014166772365570068,
-0.0623297244310379,
-0.04798981547355652,
-0.026907702907919884,
-0.017079567536711693,
-0.06371483206748962,
0.01926925592124462,
-0.09956461191177368,
-0.033303629606962204,
-0.04750095307826996,
0.026805855333805084,
0.07675111293792725,
-0.025502227246761322,
-0.045993633568286896,
0.016753660514950752,
-0.023220878094434738,
-0.04941565915942192,
-0.03501464053988457,
0.017690643668174744,
0.008524506352841854,
0.006747294683009386,
0.014798217453062534,
0.03829408064484596,
0.0012119668535888195,
0.0035493315663188696,
-0.03489242494106293,
0.001486951019614935,
0.020409930497407913,
0.04306047037243843,
-0.02356715500354767,
-0.002823679242283106,
-0.0004888605908490717,
0.021143220365047455,
-0.0238115843385458,
0.02326161600649357,
-0.046401020139455795,
0.0756104364991188,
0.03589051589369774,
-0.0034627625718712807,
0.04766390845179558,
-0.03118523210287094,
-0.016437938436865807,
-0.051452577114105225,
-0.018994271755218506,
-0.015745384618639946,
-0.04464926943182945,
0.005043921060860157,
-0.018383195623755455,
0.019982177764177322,
0.021754296496510506,
0.05471164733171463,
0.0647740289568901,
-0.011691915802657604,
0.01225206907838583,
-0.02448376826941967,
-0.016967536881566048,
-0.06860343366861343,
0.01513430941849947,
-0.06819605082273483,
-0.02480967529118061,
0.0006037555867806077,
-0.007409293670207262,
-0.000018330283637624234,
0.012873329222202301,
-0.013311266899108887,
-0.02955569699406624,
0.013301081955432892,
-0.004593252670019865,
-0.00019382558821234852,
-0.03509611636400223,
-0.0047027370892465115,
-0.004269891884177923,
0.016957351937890053,
-0.019788669422268867,
0.05564863234758377,
0.045912157744169235,
0.021509867161512375,
0.03829408064484596,
-0.005423297174274921,
-0.04448631405830383,
-0.015745384618639946,
0.03517759218811989,
0.02984086610376835,
-0.027824316173791885,
-0.03666454553604126,
-0.009079567156732082,
-0.05377466604113579,
0.021896880120038986,
0.004440483637154102,
0.014676002785563469,
-0.057481858879327774,
-0.034098025411367416,
0.011406747624278069,
0.0252374280244112,
-0.027070656418800354,
-0.03723488375544548,
-0.014105665497481823,
-0.025950349867343903,
0.05397835746407509,
0.013056651689112186,
0.02076639048755169,
0.011386377736926079,
0.019401654601097107,
0.10176447778940201,
0.0014767664251849055,
0.016173137351870537,
0.04399745538830757,
0.022956078872084618,
-0.010439210571348667,
0.010744748637080193,
0.016346275806427002,
0.013983449898660183,
-0.07129216939210892,
-0.11634882539510727,
0.018933163955807686,
-0.014614894986152649,
0.027498409152030945,
0.00892170611768961,
0.01229280699044466,
0.057970717549324036,
-0.051615532487630844,
0.00380903878249228,
-0.04831572249531746,
-0.0029840865172445774,
-0.001730108167976141,
-0.0005639719893224537,
0.06065945327281952,
-0.02480967529118061,
-0.06033354625105858,
-0.016661997884511948,
0.009695734828710556,
-0.01520560123026371,
-0.007923615165054798,
0.03261107578873634,
-0.0017046467401087284,
0.003439847147092223,
0.06281858682632446,
0.06196308135986328,
-0.07406237721443176,
-0.006604710593819618,
-0.05059707164764404,
0.040106937289237976,
0.01916741020977497,
-0.009817950427532196,
-0.0029993634670972824,
-0.01571483165025711,
0.03444430232048035,
-0.029107574373483658,
-0.01916741020977497,
-0.02977975830435753,
-0.0014589433558285236,
0.026052195578813553,
0.022467218339443207,
0.022569064050912857,
0.04165499657392502,
-0.016998089849948883,
0.06603691726922989,
0.002100572921335697,
-0.04338637739419937,
0.09125398099422455,
-0.051167409867048264,
0.028496498242020607,
0.0647740289568901,
-0.00026639082352630794,
-0.015928708016872406,
-0.03499427065253258,
-0.08595798909664154,
-0.027640992775559425,
0.026968808844685555,
0.0035798854660242796,
-0.09964608401060104,
0.01918777823448181,
-0.05410057306289673,
-0.021733926609158516,
0.021672820672392845,
-0.01600000075995922,
-0.04473074525594711,
-0.039394017308950424,
-0.006619987078011036,
-0.03523870185017586,
-0.04391597583889961,
0.10583832114934921,
-0.04428262263536453,
-0.039719924330711365,
-0.01731381192803383,
-0.026561425998806953,
0.018749840557575226,
0.07149586081504822,
0.04717504605650902,
0.04153278097510338,
-0.05328580364584923,
-0.05670782923698425,
-0.051859959959983826,
0.009660089388489723,
-0.03574793040752411,
-0.03554423898458481,
0.013138128444552422,
-0.033120304346084595,
0.028700191527605057,
-0.07536600530147552,
-0.05638192221522331,
-0.009996180422604084,
-0.02348567731678486,
0.07528453320264816,
-0.013321450911462307,
-0.04161425679922104,
-0.045545510947704315,
-0.02472819946706295,
0.03287587687373161,
0.03462762385606766,
-0.006614895071834326,
-0.05939656123518944,
0.011243794113397598,
-0.06078166887164116,
0.019971992820501328,
0.009924888610839844,
0.04713431000709534,
-0.025461489334702492,
0.009563335217535496,
0.05911139398813248,
-0.045301083475351334,
0.07813622057437897,
0.021163590252399445,
-0.01202800776809454,
0.0039032462518662214,
0.02387269213795662,
0.012435391545295715,
-0.0006126670632511377,
0.014889879152178764,
0.00447613000869751,
-0.02476893737912178,
-0.04900827631354332,
-0.016651814803481102,
-0.040697645395994186,
-0.04098281264305115,
0.009267982095479965,
0.06848122179508209,
0.06465181708335876,
0.01013876497745514,
-0.026602163910865784,
-0.045464035123586655,
0.058541055768728256,
-0.06363335251808167,
0.03145003318786621,
0.07121069729328156,
-0.03809038922190666,
-0.026174411177635193,
-0.03591088578104973,
-0.03532017767429352,
-0.005530235357582569,
-0.002594525692984462,
0.007047740276902914,
0.06363335251808167,
0.01774156652390957,
0.020002545788884163,
0.00006397199467755854,
-0.028924252837896347,
0.014329725876450539,
0.04269382730126381,
-0.03206110745668411,
-0.011060470715165138,
-0.06078166887164116,
0.009700827300548553,
-0.0017390197608619928,
-0.046441756188869476,
0.04297899454832077,
0.03238701447844505,
-0.0029127944726496935,
-0.0510859340429306,
0.005830680951476097,
-0.005382558796554804,
-0.02460598386824131,
-0.02407638356089592,
0.009456397034227848,
-0.02037937566637993,
0.001817950396798551,
-0.021815404295921326,
0.01761935092508793,
-0.01183450035750866,
0.018566519021987915,
0.007383831776678562,
-0.022324634715914726,
-0.006411203183233738,
0.08204710483551025,
-0.006085296161472797,
0.04652323201298714,
-0.014126034453511238,
-0.00038383196806535125,
0.009619350545108318,
-0.032835137099027634,
-0.07512158155441284,
0.04334564134478569,
0.012964989989995956,
0.022426480427384377,
0.02986123412847519,
-0.003877784823998809,
-0.033853597939014435,
0.007480585481971502,
0.06338892132043839,
0.017609165981411934,
0.01010821107774973,
0.028007637709379196,
-0.0012718014186248183,
-0.006981540471315384,
-0.011111393570899963,
-0.0012934436090290546,
0.005013367161154747,
0.016590707004070282,
0.014645448885858059,
-0.0061820498667657375,
0.01865817978978157,
0.05683004483580589,
-0.03790706396102905,
-0.018077656626701355,
-0.03094080276787281,
0.05630044639110565,
-0.004392107017338276,
0.04232718050479889,
-0.023037556558847427,
-0.016682367771863937,
-0.03660343587398529,
0.05332654342055321,
-0.010561426170170307,
-0.026174411177635193,
-0.034179504960775375,
0.022283894941210747,
-0.013708465732634068,
0.0030375556088984013,
0.04953787475824356,
0.00020098662935197353,
-0.032835137099027634,
0.019717376679182053,
0.0010986633133143187,
0.02446339838206768,
-0.0021553151309490204,
0.009028644300997257,
-0.04933418333530426,
0.06787014752626419,
-0.033364735543727875,
0.010327179916203022,
0.05919286981225014,
-0.057644810527563095,
0.05475238710641861,
0.001184595748782158,
0.015867600217461586,
-0.008570337668061256,
-0.0007753023528493941,
0.04118650406599045,
-0.027192870154976845,
-0.02464672178030014,
0.07512158155441284,
0.0030604710336774588,
0.05996689945459366,
0.004218969028443098,
0.010490133427083492,
0.05369319021701813,
0.004114576615393162,
-0.01222151517868042,
0.008616168051958084,
-0.005723742768168449,
0.028639083728194237,
-0.026785487309098244,
-0.051208145916461945,
-0.008519414812326431,
0.058459579944610596,
-0.029637174680829048,
-0.015450031496584415,
-0.02548185922205448,
-0.03682749718427658,
-0.03503501042723656,
0.00005716899977414869,
-0.09043920785188675,
-0.014788033440709114,
0.06595544517040253,
0.010704009793698788,
0.026398472487926483,
0.0367867611348629,
-0.08962444216012955,
-0.025767026469111443,
-0.04112539812922478,
-0.038579247891902924,
0.01600000075995922,
-0.0039847232401371,
0.01930999383330345,
-0.039373647421598434,
0.0852246955037117,
0.017975810915231705,
0.07259579747915268,
-0.0019847231451421976,
0.010092934593558311,
0.0486416295170784,
0.006803310010582209,
-0.06285932660102844,
-0.000773392734117806,
0.009527689777314663,
-0.00109611707739532,
0.03721451386809349,
-0.057726290076971054,
-0.018831318244338036,
0.039781030267477036,
0.03140929341316223,
0.014431572519242764,
0.03735709562897682,
-0.01880076341331005,
0.0034627625718712807,
-0.033731382340192795,
-0.019778484478592873,
0.0028313177172094584,
0.045138128101825714,
-0.03026861883699894,
0.038681093603372574,
-0.006711648777127266,
-0.04758243262767792,
0.03477020934224129,
-0.020715467631816864,
0.03442393243312836,
-0.06383704394102097,
-0.020511776208877563,
-0.11577848345041275,
-0.010459579527378082,
0.04428262263536453,
-0.029148312285542488,
0.014401018619537354,
0.03039083443582058,
0.017171228304505348,
-0.0301464032381773,
-0.03285550698637962,
-0.032448120415210724,
0.002609802642837167,
0.0037835773546248674,
0.10510502755641937,
0.008290261030197144,
-0.0018586887745186687,
0.015215786173939705,
-0.00869764480739832,
-0.04917122796177864,
0.0647740289568901,
-0.0063755568116903305,
-0.003460216335952282,
0.06778866797685623,
0.005632081534713507,
-0.0009541693143546581,
-0.07320687174797058,
0.007903246209025383,
0.007725015748292208,
0.008463399484753609,
-0.007500954903662205,
-0.0347498394548893,
0.0009840865386649966,
-0.010103118605911732,
0.013239974156022072,
-0.01731381192803383,
0.022813495248556137,
0.03794780373573303,
0.025685550644993782,
0.028679821640253067,
0.015480585396289825,
-0.006793125532567501,
0.006711648777127266,
-0.08636537194252014,
-0.007770846597850323,
0.04322342574596405,
-0.026887333020567894,
-0.022487588226795197,
-0.01739528961479664,
-0.03517759218811989,
0.05666708946228027,
-0.02517632022500038,
-0.012954805977642536,
0.07019223272800446,
0.012078930623829365,
0.08017313480377197,
-0.012374283745884895,
0.011416931636631489,
-0.015887970104813576,
-0.01040356419980526,
0.021754296496510506,
-0.0384162962436676,
-0.006202418822795153,
-0.033140674233436584,
0.09157988429069519,
-0.02535964362323284,
-0.06220751255750656,
0.04204201325774193,
0.007108848076313734,
-0.022569064050912857,
0.038681093603372574,
0.014574156142771244,
-0.005120305344462395,
-0.06514067202806473,
0.025889242067933083,
-0.039577338844537735,
0.0006900063599459827,
0.0051992363296449184,
0.028048377484083176,
0.016896244138479233,
0.00886059831827879,
0.033486951142549515,
-0.05414131283760071,
0.03692934289574623,
-0.002390833804383874,
0.03087969496846199,
-0.04416040703654289,
0.04383450001478195,
0.0719439834356308,
0.03100190870463848,
-0.010490133427083492,
0.052389562129974365,
0.051737748086452484,
0.02519669011235237,
0.025889242067933083,
0.005754296667873859,
0.0007963081006892025,
0.01802673377096653,
0.03562571480870247,
-0.012863144278526306,
0.004588160198181868,
0.011376193724572659,
0.032468490302562714,
-0.026378102600574493,
-0.05426352471113205,
0.033201783895492554,
-0.04379376024007797,
-0.04175684228539467,
-0.05939656123518944,
-0.007287078071385622,
-0.07206620275974274,
-0.03102227859199047,
-0.02495225891470909,
-0.03204073756933212,
-0.003910884726792574,
-0.033262889832258224,
-0.04464926943182945,
-0.04338637739419937,
0.04464926943182945,
0.05418204888701439,
-0.0047638448886573315,
0.013464035466313362,
0.06298153847455978,
-0.0058357734233140945,
0.07279948890209198,
0.013677911832928658,
-0.052389562129974365,
0.03022788092494011,
-0.028659451752901077,
0.040840230882167816,
0.07157734036445618,
0.0741845965385437,
-0.05670782923698425,
0.057155951857566833,
0.06485550850629807,
-0.021224698051810265,
0.029392743483185768,
-0.021285805851221085,
0.009079567156732082,
0.02998344972729683,
0.016468491405248642,
0.029942711815238,
-0.09052068740129471,
0.01177339255809784,
-0.019483132287859917,
-0.021387651562690735,
0.020959898829460144,
0.046034373342990875,
0.03067600168287754,
-0.032916612923145294,
-0.00742457015439868,
-0.03835518658161163,
0.02344493940472603,
0.007872692309319973,
-0.08302482217550278,
0.010765117593109608,
0.013973265886306763,
0.01248631440103054,
-0.016753660514950752,
-0.0030655632726848125,
0.008351368829607964,
-0.003640993032604456,
0.012730744667351246,
-0.013066836632788181,
0.032692551612854004,
0.08029535412788391,
-0.033425845205783844,
0.039129216223955154,
-0.017252705991268158,
0.0023360915947705507,
-0.011345639824867249,
0.008218969218432903,
0.044934436678886414,
-0.04204201325774193,
-0.052267346531152725,
0.020939528942108154,
0.04363080859184265,
0.04157352074980736,
0.019839592278003693,
0.034586887806653976,
-0.014207511208951473,
0.0020929344464093447,
0.00902355182915926,
0.0159388929605484,
0.05446721985936165,
0.06668873131275177,
0.003490770235657692
] |
719,451
|
ibm_platform_services.enterprise_management_v1
|
__init__
|
Construct a new client for the Enterprise 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 authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Enterprise 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.000768511148635298,
-0.06732480227947235,
0.016047710552811623,
-0.012388353236019611,
0.005392252001911402,
-0.05187623202800751,
-0.0011913650669157505,
0.02429739572107792,
-0.023412514477968216,
0.0065628779120743275,
-0.015909448266029358,
0.006111219059675932,
-0.0483366996049881,
-0.007341758813709021,
-0.009106914512813091,
0.05161814019083977,
-0.011660168878734112,
-0.022877896204590797,
-0.0031132190488278866,
-0.08266276121139526,
0.028297802433371544,
0.028039710596203804,
0.018822185695171356,
0.02833467163145542,
0.03801307454705238,
0.06994257867336273,
-0.010858244262635708,
0.0014402383239939809,
0.026970477774739265,
-0.03644609451293945,
-0.017402688041329384,
0.007143581751734018,
-0.02492418698966503,
0.0614255852997303,
0.0559319406747818,
-0.02719169855117798,
0.019338367506861687,
0.008738214150071144,
-0.08959434181451797,
0.020831607282161713,
-0.005226336885243654,
-0.0042631053365767,
0.09593600034713745,
-0.010001014918088913,
0.026435861364006996,
0.03731254115700722,
0.040225278586149216,
0.009853534400463104,
0.043912287801504135,
0.001833135262131691,
-0.05327729508280754,
0.0006688466528430581,
0.021550573408603668,
-0.005668777972459793,
-0.06378526985645294,
0.03712819144129753,
0.033017173409461975,
-0.02269354648888111,
-0.0932813510298729,
0.047193728387355804,
-0.08303146809339523,
-0.02649116702377796,
0.0001880951167549938,
-0.013411498628556728,
-0.0332937017083168,
-0.00047873519361019135,
-0.0630478709936142,
0.03648296371102333,
0.015909448266029358,
0.03122897446155548,
0.06677175313234329,
0.005106508731842041,
-0.03071279264986515,
-0.01756860315799713,
0.03336744010448456,
0.003534920746460557,
-0.022011449560523033,
-0.00626791687682271,
-0.012692531570792198,
-0.01881296932697296,
-0.010130059905350208,
-0.0061619156040251255,
-0.0002554982784204185,
0.03860299661755562,
0.03382831811904907,
0.019338367506861687,
0.009816664271056652,
-0.01411203108727932,
-0.0054798186756670475,
0.06245794892311096,
-0.016379542648792267,
0.0013492152793332934,
-0.02940390445291996,
0.010240670293569565,
-0.0034104841761291027,
-0.02678612805902958,
-0.016831200569868088,
-0.0032676125410944223,
0.010618588887155056,
0.030657488852739334,
0.0021580529864877462,
-0.005613472778350115,
0.01292296964675188,
-0.002891998505219817,
0.01629658415913582,
-0.029993826523423195,
-0.01941210776567459,
-0.012323831208050251,
0.03270377963781357,
0.02874024212360382,
0.027117958292365074,
0.015780402347445488,
-0.03849238529801369,
0.006134262774139643,
-0.03283282369375229,
0.0475255586206913,
0.08140917867422104,
0.010222235694527626,
0.053756605833768845,
0.024315830320119858,
-0.019651763141155243,
-0.05696430429816246,
0.0002710528497118503,
-0.004113320726901293,
0.032740648835897446,
-0.01325480081140995,
-0.0014218032592907548,
0.006613573990762234,
-0.012167133390903473,
-0.021089697256684303,
0.054788969457149506,
-0.048889752477407455,
0.02414991520345211,
0.010231452994048595,
0.020002029836177826,
-0.016158321872353554,
0.029348598793148994,
0.028316237032413483,
-0.03347805142402649,
0.08811953663825989,
-0.010747633874416351,
0.03331213444471359,
-0.06470702588558197,
0.03816055506467819,
-0.025698460638523102,
0.015356396324932575,
-0.03541373088955879,
0.00017902161926031113,
-0.012111827731132507,
0.0013860852923244238,
-0.04641945660114288,
-0.020315425470471382,
0.000050984435802092776,
-0.013476021587848663,
-0.01193669531494379,
0.0177806057035923,
0.012434441596269608,
-0.062015507370233536,
0.01863783597946167,
-0.01305201556533575,
-0.009604660794138908,
-0.009153001941740513,
0.038271162658929825,
-0.05456774681806564,
-0.013807852752506733,
-0.007558370474725962,
-0.07410889863967896,
-0.047968000173568726,
-0.040888942778110504,
-0.021863969042897224,
-0.06588687002658844,
-0.0433223694562912,
-0.09541981667280197,
-0.04896349459886551,
0.0446128211915493,
0.012314612977206707,
0.05692743510007858,
-0.002836693311110139,
-0.02479514293372631,
0.02363373339176178,
-0.0025256017688661814,
0.011309903115034103,
-0.024758271872997284,
-0.017642343416810036,
0.009512485936284065,
0.0039934925734996796,
0.05936086177825928,
0.03231664374470711,
0.02402086928486824,
-0.013549761846661568,
-0.008724387735128403,
0.03019661270081997,
0.005009724758565426,
0.05497331917285919,
-0.004866853356361389,
-0.013549761846661568,
0.018269134685397148,
-0.010646241717040539,
-0.03371770679950714,
0.0504382960498333,
-0.03758906573057175,
0.08974182605743408,
0.01128225028514862,
0.010664676316082478,
0.07993437349796295,
-0.02389182522892952,
0.0020808563567698,
-0.05312981456518173,
-0.05261363461613655,
-0.02833467163145542,
-0.035229381173849106,
-0.020241685211658478,
-0.0035233988892287016,
0.010600153356790543,
-0.028039710596203804,
0.06024574488401413,
0.04568205401301384,
-0.003970448859035969,
0.0012374527286738157,
0.036409225314855576,
0.04988524690270424,
0.02232484519481659,
0.05143379047513008,
-0.05685369297862053,
-0.006553660146892071,
0.03716506063938141,
-0.007309497334063053,
-0.044575951993465424,
-0.044317860156297684,
-0.011697039008140564,
-0.018287569284439087,
0.03592991083860397,
-0.020038899034261703,
0.04512900114059448,
-0.012508181855082512,
-0.05998765304684639,
0.005751735530793667,
-0.01786356419324875,
-0.08362139016389847,
0.026067160069942474,
0.0350819006562233,
0.06349030882120132,
0.03185576573014259,
0.03716506063938141,
-0.055858202278614044,
-0.023154422640800476,
-0.017697647213935852,
0.020813170820474625,
0.013632719404995441,
0.017826693132519722,
-0.036022089421749115,
-0.03268534317612648,
-0.004113320726901293,
-0.022675111889839172,
0.007378628943115473,
-0.029698865488171577,
-0.06212611868977547,
0.00705601554363966,
0.03528468683362007,
0.0036017477978020906,
-0.011051812209188938,
0.0012800837866961956,
-0.020573515444993973,
0.06050383299589157,
0.009577008895576,
0.0085262106731534,
0.011005724780261517,
0.005922259762883186,
0.09416623413562775,
0.003502659499645233,
0.16016371548175812,
0.011521906591951847,
0.024463310837745667,
0.019061841070652008,
-0.0016649154713377357,
-0.039192914962768555,
-0.0009972209809347987,
-0.03139489144086838,
-0.08096674084663391,
0.003170828567817807,
0.000999525422230363,
0.029754171147942543,
0.04199504479765892,
0.04697250574827194,
-0.0313580185174942,
-0.016969462856650352,
0.0019045710796490312,
-0.04756242781877518,
-0.025163844227790833,
-0.00022611740860156715,
-0.0004516587359830737,
0.05659560486674309,
0.00560886412858963,
-0.05958208069205284,
-0.0018711575539782643,
-0.03462102264165878,
-0.01902497187256813,
-0.025919679552316666,
0.005194075405597687,
-0.03058374859392643,
-0.004871462006121874,
0.024371135979890823,
-0.015162828378379345,
-0.0010283301817253232,
-0.00022222877305466682,
-0.03915604576468468,
-0.0024311221204698086,
0.03530311957001686,
-0.01741190440952778,
0.012019652873277664,
0.006042087450623512,
0.030675923451781273,
-0.05128630995750427,
-0.03567182272672653,
0.025661589577794075,
0.06607121974229813,
0.031560804694890976,
-0.04922158271074295,
0.030528442934155464,
0.03489755094051361,
-0.036556705832481384,
0.035229381173849106,
-0.0160016231238842,
-0.03727567195892334,
-0.01944897696375847,
-0.02521914802491665,
0.007973158732056618,
0.07038502395153046,
-0.009097697213292122,
0.0014817171031609178,
-0.04118390008807182,
-0.011042594909667969,
-0.0034519631881266832,
-0.015457789413630962,
-0.031007753685116768,
-0.08605481684207916,
0.021845534443855286,
-0.057296134531497955,
-0.05711178481578827,
-0.016766678541898727,
0.04055710881948471,
-0.03364396467804909,
-0.03663044422864914,
0.009097697213292122,
-0.0378287211060524,
-0.010618588887155056,
0.03480537608265877,
-0.08561237156391144,
0.0005435459315776825,
-0.06065131351351738,
-0.021347787231206894,
0.03334900736808777,
0.01728285849094391,
0.03705444931983948,
0.03594834730029106,
0.019393673166632652,
-0.04450220987200737,
-0.01621362566947937,
-0.0013492152793332934,
-0.045903272926807404,
-0.00033615162828937173,
0.026306817308068275,
0.010415803641080856,
0.0214215274900198,
-0.07853331416845322,
-0.055342018604278564,
0.019209321588277817,
-0.010618588887155056,
0.08649725466966629,
0.026564907282590866,
-0.004770069383084774,
-0.08797205984592438,
0.024592356756329536,
0.03172672167420387,
0.01928306184709072,
0.008802736178040504,
-0.05368286743760109,
-0.0173750352114439,
-0.047193728387355804,
0.01613066904246807,
-0.016739025712013245,
0.05357225611805916,
-0.007526108995079994,
0.042068783193826675,
0.03663044422864914,
-0.02414991520345211,
0.029053639620542526,
0.04225313290953636,
0.007770373485982418,
0.041036419570446014,
-0.025772199034690857,
-0.02704421803355217,
-0.01272940170019865,
-0.0017582428408786654,
0.02151370421051979,
-0.012757054530084133,
-0.06371153146028519,
-0.010056319646537304,
-0.029072074219584465,
-0.03677792474627495,
0.03294343501329422,
0.019467413425445557,
0.09578852355480194,
-0.00272377859801054,
-0.030768098309636116,
-0.005175640340894461,
0.011724691838026047,
-0.052576761692762375,
0.03867673501372337,
0.009102306328713894,
-0.019154017791152,
0.004468195140361786,
-0.016351889818906784,
-0.02389182522892952,
-0.028039710596203804,
-0.01731051132082939,
-0.05287172272801399,
0.019743937999010086,
0.026435861364006996,
-0.0009833946824073792,
0.004408281296491623,
-0.011448166333138943,
0.0018181568011641502,
0.0036893144715577364,
-0.01930149830877781,
0.020518209785223007,
-0.02075786702334881,
0.02085004188120365,
-0.004226235207170248,
-0.07425638288259506,
0.02284102700650692,
0.05556324124336243,
0.035893041640520096,
-0.06526007503271103,
-0.01339306402951479,
0.04136825352907181,
-0.055452629923820496,
-0.04531335458159447,
0.004244670271873474,
-0.032759085297584534,
-0.06334283202886581,
-0.0677303746342659,
-0.012618791311979294,
-0.03639078885316849,
0.002280185231938958,
-0.017061639577150345,
-0.05604255199432373,
0.030804969370365143,
0.08627603203058243,
0.0031477848533540964,
0.03557964786887169,
-0.043359238654375076,
0.010425020940601826,
-0.03032565675675869,
-0.016840418800711632,
-0.06655053049325943,
0.0304731372743845,
0.04133138060569763,
0.02835310623049736,
0.004647937137633562,
-0.007963941432535648,
-0.05866032838821411,
0.009871968999505043,
-0.03084183856844902,
0.031947940587997437,
0.021218743175268173,
0.017319729551672935,
0.0250532329082489,
-0.004048797767609358,
0.0031846549827605486,
-0.0038206640165299177,
0.0011326033854857087,
0.04435472935438156,
0.046124495565891266,
0.024887317791581154,
0.0378287211060524,
0.03567182272672653,
-0.035505905747413635,
-0.04085206985473633,
0.006954622454941273,
0.026159336790442467,
0.0006613574223592877,
0.010203800164163113,
-0.004606458358466625,
-0.04667754843831062,
-0.009323526173830032,
0.009305091574788094,
-0.05051203817129135,
0.04162634164094925,
-0.04092581197619438,
0.01651780493557453,
0.10095033049583435,
-0.010415803641080856,
0.04741494730114937,
0.07462508231401443,
0.002401165198534727,
0.03290656581521034,
0.016232062131166458,
0.027136392891407013,
0.056890565901994705,
-0.0022686633747071028,
-0.03305404633283615,
0.027468224987387657,
-0.04118390008807182,
0.05025394633412361,
-0.004551153164356947,
-0.11761561781167984,
0.005834693554788828,
0.026288380846381187,
0.010793722234666348,
0.04210565611720085,
-0.012305395677685738,
-0.00633704848587513,
-0.02899833396077156,
-0.030380962416529655,
0.02285946160554886,
-0.061241235584020615,
-0.003525703214108944,
-0.015190481208264828,
-0.003995797131210566,
0.006443049758672714,
-0.009056217968463898,
-0.03403110057115555,
0.011070247739553452,
-0.021329352632164955,
-0.02980947680771351,
-0.02649116702377796,
-0.032095421105623245,
0.012545051984488964,
0.017706865444779396,
-0.010415803641080856,
0.0043990639969706535,
-0.05143379047513008,
-0.026712387800216675,
-0.013411498628556728,
0.017918867990374565,
-0.09792698919773102,
-0.031007753685116768,
0.03082340396940708,
-0.04973776638507843,
0.02768944576382637,
0.047193728387355804,
-0.02886928804218769,
-0.0055581675842404366,
-0.03318309038877487,
-0.010821374133229256,
-0.038308035582304,
0.000671727117151022,
-0.018011044710874557,
-0.013651154935359955,
0.0665874034166336,
0.00019702459394466132,
-0.0005444100825116038,
-0.0012374527286738157,
-0.025919679552316666,
0.015356396324932575,
0.04936906322836876,
-0.0585128478705883,
0.016047710552811623,
0.013208713382482529,
0.0038460122887045145,
0.049295324832201004,
-0.05563697963953018,
0.010849026963114738,
0.05902903154492378,
0.010443455539643764,
0.01865627057850361,
-0.015531529672443867,
-0.04553457349538803,
0.01889592595398426,
-0.02403930574655533,
-0.03670418635010719,
0.018241481855511665,
0.08281024545431137,
-0.06986884027719498,
0.056632474064826965,
0.014084378257393837,
0.007562979124486446,
0.029293294996023178,
-0.029090508818626404,
0.017937304452061653,
-0.013503674417734146,
-0.036298613995313644,
-0.07023753970861435,
-0.020813170820474625,
0.012397571466863155,
-0.030675923451781273,
-0.03545060008764267,
-0.032206032425165176,
-0.0004398487799335271,
-0.03934039548039436,
-0.06898395717144012,
-0.015098306350409985,
-0.004235452972352505,
-0.052171193063259125,
0.036151133477687836,
0.013485238887369633,
-0.006392353679984808,
0.054014697670936584,
0.04664067551493645,
-0.038418643176555634,
0.05799666792154312,
0.015061436221003532,
0.02046290598809719,
0.047304339706897736,
-0.004634110722690821,
-0.056890565901994705,
-0.021956143900752068,
-0.03596678376197815,
0.03215072676539421,
-0.004076450597494841,
0.020684126764535904,
-0.013300888240337372,
-0.014600560069084167,
0.009706053882837296,
0.013125755824148655,
-0.01865627057850361,
0.022767286747694016,
0.019725503399968147,
0.013651154935359955,
0.02728387340903282,
0.011503471061587334,
-0.006304787006229162,
0.010627806186676025,
-0.07713224738836288,
0.002873563440516591,
0.03489755094051361,
-0.02993852086365223,
-0.010959637351334095,
-0.025421934202313423,
-0.024776706472039223,
0.027615705505013466,
-0.025753764435648918,
-0.0027468225453048944,
0.06784098595380783,
0.02387339062988758,
0.05548949912190437,
0.004007318988442421,
0.05209745094180107,
0.012600356712937355,
0.013144190423190594,
0.0013584326952695847,
0.02597498521208763,
-0.0030786532443016768,
-0.02874024212360382,
0.04973776638507843,
-0.03793933242559433,
-0.04866853356361389,
0.02402086928486824,
0.021698053926229477,
-0.031579241156578064,
0.03915604576468468,
0.01561448723077774,
0.003774576587602496,
-0.02494262345135212,
-0.04936906322836876,
-0.03174515441060066,
0.05357225611805916,
0.01326401811093092,
-0.006475311238318682,
-0.023006942123174667,
0.038381773978471756,
0.029072074219584465,
0.03253786265850067,
0.023320337757468224,
-0.0428430549800396,
0.016766678541898727,
-0.028260931372642517,
0.05556324124336243,
0.03651983290910721,
0.04984837397933006,
0.03290656581521034,
0.002419600263237953,
0.05209745094180107,
0.004097189754247665,
-0.004021145403385162,
0.020536646246910095,
-0.03567182272672653,
0.06640305370092392,
0.04188443347811699,
-0.0417000837624073,
-0.01031441055238247,
0.0010888201650232077,
0.015660574659705162,
-0.018499571830034256,
-0.02850058674812317,
0.0622367300093174,
0.021347787231206894,
-0.07539935410022736,
-0.09696836024522781,
-0.02402086928486824,
-0.04667754843831062,
-0.015255004167556763,
-0.022380150854587555,
-0.015282656066119671,
0.05998765304684639,
-0.026214640587568283,
-0.08959434181451797,
0.003875969210639596,
0.039709098637104034,
0.05700117349624634,
-0.00030907514155842364,
-0.030915578827261925,
0.054272785782814026,
0.014775692485272884,
0.042732447385787964,
0.03279595449566841,
-0.045239612460136414,
0.04066772013902664,
-0.025256019085645676,
0.05397782474756241,
0.04582953453063965,
0.0501064658164978,
-0.03239038214087486,
0.035100337117910385,
0.042584966868162155,
-0.05508393049240112,
0.034971289336681366,
-0.02429739572107792,
-0.009070044383406639,
-0.004574196878820658,
-0.014443861320614815,
0.02992008626461029,
-0.08465375006198883,
0.052687373012304306,
0.015061436221003532,
-0.0782383531332016,
0.014978477731347084,
0.016351889818906784,
0.050180207937955856,
-0.03952474892139435,
-0.03963535651564598,
-0.04210565611720085,
0.08399008959531784,
0.014056725427508354,
-0.03438136726617813,
0.025643154978752136,
0.03793933242559433,
0.026712387800216675,
0.015015347860753536,
-0.01181686669588089,
0.01292296964675188,
0.00019169571169186383,
0.04453907907009125,
-0.02466609701514244,
0.03725723549723625,
0.030104435980319977,
-0.04582953453063965,
0.02376277931034565,
0.02586437575519085,
-0.03239038214087486,
-0.019154017791152,
-0.030362527817487717,
0.052834853529930115,
-0.038271162658929825,
-0.07204417884349823,
-0.0007771525997668505,
0.010443455539643764,
0.024905752390623093,
0.0032583950087428093,
0.011153205297887325,
-0.025790635496377945,
0.04933219403028488,
-0.0399303175508976,
0.001021993113681674,
0.05183935910463333,
0.047451820224523544,
-0.006825577467679977
] |
719,457
|
ibm_platform_services.enterprise_management_v1
|
create_account
|
Create a new account in an enterprise.
Create a new account as a part of an existing enterprise. The API creates an
account entity under the parent that is specified in the payload of the request.
The request also takes in the name and the owner of this new account. The owner
must have a valid IBMid that's registered with IBM Cloud, but they don't need to
be a user in the enterprise account.
:param str parent: The CRN of the parent under which the account will be
created. The parent can be an existing account group or the enterprise
itself.
:param str name: The name of the account. This field must have 3 - 60
characters.
:param str owner_iam_id: The IAM ID of the account owner, such as
`IBMid-0123ABC`. The IAM ID must already exist.
:param CreateAccountRequestTraits traits: (optional) The traits object can
be used to set properties on child accounts of an enterprise. You can pass
a field to opt-out of the default multi-factor authentication setting or
enable enterprise-managed IAM when creating a child account in the
enterprise. This is an optional field.
:param CreateAccountRequestOptions options: (optional) The options object
can be used to set properties on child accounts of an enterprise. You can
pass a field to to create IAM service id with IAM api keyg when creating a
child account in the enterprise. This is an optional field.
: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 representing a `CreateAccountResponse` object
|
def create_account(
self,
parent: str,
name: str,
owner_iam_id: str,
*,
traits: Optional['CreateAccountRequestTraits'] = None,
options: Optional['CreateAccountRequestOptions'] = None,
**kwargs,
) -> DetailedResponse:
"""
Create a new account in an enterprise.
Create a new account as a part of an existing enterprise. The API creates an
account entity under the parent that is specified in the payload of the request.
The request also takes in the name and the owner of this new account. The owner
must have a valid IBMid that's registered with IBM Cloud, but they don't need to
be a user in the enterprise account.
:param str parent: The CRN of the parent under which the account will be
created. The parent can be an existing account group or the enterprise
itself.
:param str name: The name of the account. This field must have 3 - 60
characters.
:param str owner_iam_id: The IAM ID of the account owner, such as
`IBMid-0123ABC`. The IAM ID must already exist.
:param CreateAccountRequestTraits traits: (optional) The traits object can
be used to set properties on child accounts of an enterprise. You can pass
a field to opt-out of the default multi-factor authentication setting or
enable enterprise-managed IAM when creating a child account in the
enterprise. This is an optional field.
:param CreateAccountRequestOptions options: (optional) The options object
can be used to set properties on child accounts of an enterprise. You can
pass a field to to create IAM service id with IAM api keyg when creating a
child account in the enterprise. This is an optional field.
: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 representing a `CreateAccountResponse` object
"""
if parent is None:
raise ValueError('parent must be provided')
if name is None:
raise ValueError('name must be provided')
if owner_iam_id is None:
raise ValueError('owner_iam_id must be provided')
if traits is not None:
traits = convert_model(traits)
if options is not None:
options = convert_model(options)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_account',
)
headers.update(sdk_headers)
data = {
'parent': parent,
'name': name,
'owner_iam_id': owner_iam_id,
'traits': traits,
'options': options,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/accounts'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, parent: str, name: str, owner_iam_id: str, *, traits: Optional[ibm_platform_services.enterprise_management_v1.CreateAccountRequestTraits] = None, options: Optional[ibm_platform_services.enterprise_management_v1.CreateAccountRequestOptions] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07654479146003723,
-0.006573166232556105,
-0.009852397255599499,
-0.05682039260864258,
-0.010023956187069416,
-0.03166491910815239,
-0.022822268307209015,
-0.029174858704209328,
-0.02174389734864235,
-0.04442891851067543,
0.0804661437869072,
-0.0030709088314324617,
0.023508505895733833,
-0.02344968542456627,
-0.01902836002409458,
0.0026199533604085445,
0.07587816566228867,
-0.009548492729663849,
-0.022292885929346085,
0.02662597969174385,
0.02886115200817585,
0.011185657232999802,
0.010744504630565643,
-0.016724565997719765,
0.03999779000878334,
0.04486026614904404,
-0.02374378591775894,
0.045997459441423416,
-0.0043919142335653305,
0.0508207231760025,
-0.011352314613759518,
0.0012585088843479753,
0.0021751250606030226,
0.04760521277785301,
0.023469291627407074,
0.0013675715308636427,
-0.07266265153884888,
0.0036689150147140026,
-0.03999779000878334,
0.033958908170461655,
0.02927289344370365,
0.009921020828187466,
0.0016089797718450427,
-0.016234397888183594,
-0.011018998920917511,
-0.034939248114824295,
0.0479581356048584,
-0.04858555272221565,
-0.0414486899971962,
-0.003080712165683508,
-0.002681224374100566,
-0.05580084025859833,
0.00015578183229081333,
-0.016312824562191963,
-0.0031444341875612736,
0.03850767761468887,
0.0034262812696397305,
-0.0845443531870842,
-0.06901579350233078,
-0.013705125078558922,
-0.032939355820417404,
-0.005685960408300161,
0.0272337906062603,
-0.04689937084913254,
-0.06713354587554932,
0.04682094231247902,
-0.02576328255236149,
-0.02597895823419094,
-0.011793466284871101,
0.022371314465999603,
0.040017396211624146,
-0.0231751911342144,
0.03360598906874657,
-0.005945750046521425,
0.014391361735761166,
0.04219374805688858,
0.0447034128010273,
0.02629266493022442,
0.021351762115955353,
-0.002985129365697503,
-0.04686015844345093,
-0.02841019630432129,
-0.05101678892970085,
0.01221501175314188,
0.0353705957531929,
0.09654368460178375,
-0.05764387547969818,
-0.020743953064084053,
-0.013803158886730671,
0.03305699676275253,
0.02443002350628376,
-0.05450679361820221,
-0.01771470718085766,
0.03401773050427437,
0.06760410964488983,
0.025214293971657753,
0.05348724126815796,
-0.002779258182272315,
0.03393930196762085,
0.043762288987636566,
-0.018920524045825005,
-0.008122100494801998,
-0.03886060044169426,
0.0022939909249544144,
0.02207721211016178,
-0.05207555741071701,
-0.02174389734864235,
0.0077838837169110775,
0.03650778904557228,
-0.026351485401391983,
-0.0597614049911499,
-0.0022719332482665777,
0.003151786746457219,
-0.026880867779254913,
-0.03731166571378708,
0.009867101907730103,
0.027018114924430847,
0.037860654294490814,
0.007308419793844223,
-0.018773473799228668,
0.05850657448172569,
-0.033762842416763306,
0.0524284765124321,
-0.05960455164313316,
0.0062643601559102535,
0.021077267825603485,
-0.05536949262022972,
0.015175632201135159,
-0.047252293676137924,
-0.008024066686630249,
-0.005293825175613165,
-0.016724565997719765,
-0.015636391937732697,
-0.04584060609340668,
0.032096266746520996,
0.0402330718934536,
0.05148735269904137,
0.0018111744429916143,
-0.027135755866765976,
0.01634223386645317,
0.037174418568611145,
-0.014205098152160645,
0.011068016290664673,
0.01841074787080288,
-0.02617502585053444,
0.0025268213357776403,
0.02488097921013832,
-0.033311884850263596,
-0.03746851906180382,
-0.00010730105714173988,
-0.012077764607965946,
-0.0016224593855440617,
-0.027253396809101105,
0.05685960501432419,
0.006171227898448706,
-0.008381890133023262,
-0.0007744670147076249,
-0.038390036672353745,
0.0052742185071110725,
0.009092635475099087,
-0.06521208584308624,
0.0008473796769976616,
0.009009306319057941,
-0.008867157623171806,
0.002407955238595605,
-0.011901303194463253,
-0.03358637914061546,
-0.038762565702199936,
-0.011518971994519234,
-0.06234949827194214,
-0.029704241082072258,
-0.019155804067850113,
-0.014028636738657951,
-0.002914054784923792,
-0.10666077584028244,
-0.06191815063357353,
0.04117419570684433,
-0.05791836977005005,
-0.0402330718934536,
0.0020023405086249113,
0.014959958381950855,
-0.0430956594645977,
0.05085993558168411,
0.006906481459736824,
0.015185436233878136,
-0.029645422473549843,
0.02935132011771202,
0.10234729200601578,
0.06254556775093079,
-0.018508782610297203,
0.020841985940933228,
0.028194520622491837,
0.010470010340213776,
0.021998785436153412,
0.012979675084352493,
-0.02658676728606224,
0.005117364227771759,
0.0015893729869276285,
-0.025390755385160446,
-0.017097095027565956,
-0.026567161083221436,
0.0475660003721714,
0.020959626883268356,
-0.020351817831397057,
0.08352480083703995,
-0.002642011037096381,
-0.03776261955499649,
-0.05995747447013855,
-0.015371699817478657,
-0.08054456859827042,
-0.01959695667028427,
-0.003262074664235115,
-0.012479702942073345,
0.04642880707979202,
-0.03397851437330246,
0.035135313868522644,
0.03352756053209305,
-0.017989203333854675,
0.036037225276231766,
-0.002369967056438327,
-0.024371203035116196,
-0.002575838239863515,
0.02105765976011753,
-0.03976251184940338,
-0.04415442422032356,
-0.002224141964688897,
0.018597012385725975,
-0.0069603999145329,
-0.007484880741685629,
0.0020660622976720333,
-0.059447698295116425,
-0.0005897345836274326,
-0.041605547070503235,
-0.01642066240310669,
-0.06125152111053467,
0.0361744724214077,
-0.010048464871942997,
-0.05642825737595558,
-0.03207666054368019,
0.05329117551445961,
0.015371699817478657,
0.05089915171265602,
0.019665580242872238,
0.05313432216644287,
-0.03791947290301323,
-0.0568988174200058,
0.012489506043493748,
0.009577902033925056,
0.00865638442337513,
-0.04709543660283089,
-0.025194687768816948,
-0.05227162316441536,
-0.020312603563070297,
0.009465163573622704,
0.007293714676052332,
-0.04458577185869217,
0.008308365009725094,
-0.029978737235069275,
0.028272949159145355,
0.03654700145125389,
-0.012048354372382164,
-0.033272672444581985,
-0.029057219624519348,
-0.00019759938004426658,
0.00983769167214632,
-0.0310963224619627,
-0.023488899692893028,
-0.0001586922153364867,
0.015107008628547192,
0.020998841151595116,
0.040056612342596054,
0.06878051906824112,
0.036194078624248505,
-0.02401828207075596,
-0.03850767761468887,
-0.052624545991420746,
0.022743841633200645,
0.02617502585053444,
-0.06838838011026382,
-0.030351264402270317,
-0.03793908283114433,
-0.00935242511332035,
-0.03582154959440231,
0.017773527652025223,
-0.014410968869924545,
-0.058232080191373825,
-0.0014214901020750403,
0.0003083469346165657,
-0.026841655373573303,
0.04113498330116272,
-0.056075334548950195,
0.05701645836234093,
-0.09293604642152786,
-0.025704462081193924,
-0.008774025365710258,
0.0074652740731835365,
-0.03401773050427437,
-0.012283635325729847,
0.018626421689987183,
0.0019496472086757421,
0.01695004478096962,
0.06474152207374573,
-0.0003982623165939003,
-0.04242902994155884,
-0.04466420039534569,
-0.010754307731986046,
-0.006744725629687309,
0.03791947290301323,
-0.04195846617221832,
0.04035071283578873,
-0.06403567641973495,
0.015175632201135159,
0.028527837246656418,
0.028312161564826965,
-0.000965020211879164,
-0.016489285975694656,
0.09081851691007614,
-0.02390064112842083,
0.06085938587784767,
0.03674306720495224,
-0.03905666619539261,
0.0034360848367214203,
-0.049526676535606384,
-0.10430796444416046,
0.030390478670597076,
-0.015401110053062439,
0.044075995683670044,
0.1191306784749031,
0.019096985459327698,
-0.0065584611147642136,
-0.06701590865850449,
-0.003967917989939451,
-0.017989203333854675,
0.015312880277633667,
-0.08423063904047012,
-0.020802773535251617,
0.010754307731986046,
-0.03866453096270561,
0.014028636738657951,
-0.00042675339500419796,
-0.004124772269278765,
-0.011195460334420204,
-0.006230047903954983,
-0.015940295532345772,
-0.0207243449985981,
-0.038958631455898285,
0.1003866121172905,
-0.022743841633200645,
-0.029174858704209328,
0.05097757652401924,
-0.04340936616063118,
0.02503783255815506,
0.05348724126815796,
0.029782669618725777,
0.015381503850221634,
-0.03507649526000023,
-0.04889925941824913,
-0.04109577089548111,
-0.009425950236618519,
-0.025469182059168816,
-0.034860819578170776,
-0.04776206985116005,
0.022292885929346085,
0.027978846803307533,
-0.032860931009054184,
-0.05482050031423569,
-0.010960179381072521,
-0.003546372754499316,
0.015705015510320663,
-0.03962526097893715,
0.037703800946474075,
-0.06685905158519745,
0.0034728473983705044,
0.02674362063407898,
0.023488899692893028,
0.03284132480621338,
-0.012587539851665497,
-0.007955443114042282,
-0.06387882679700851,
0.0029018004424870014,
-0.005553614813834429,
-0.02056749165058136,
-0.052663758397102356,
0.0062251463532447815,
0.03148845583200455,
-0.04658566415309906,
0.08140727132558823,
-0.004281626082956791,
-0.009847495704889297,
0.0035610778722912073,
-0.007293714676052332,
0.024861373007297516,
0.030508119612932205,
-0.001072244718670845,
-0.023037943989038467,
-0.006828054320067167,
-0.05584005266427994,
-0.0113817248493433,
-0.06195736303925514,
0.025959350168704987,
-0.0037007760256528854,
-0.004041443578898907,
0.09740638732910156,
-0.03666464239358902,
-0.0030929665081202984,
0.0002613213437143713,
0.04235060140490532,
-0.048467911779880524,
0.03560587763786316,
0.0018001457210630178,
-0.0237830001860857,
0.018802883103489876,
-0.033311884850263596,
-0.0021922809537500143,
-0.02094002068042755,
0.017420606687664986,
-0.01213658507913351,
0.012832624837756157,
-0.007220189552754164,
-0.030821828171610832,
0.015822656452655792,
-0.026567161083221436,
-0.0012634106678888202,
0.041644759476184845,
0.025214293971657753,
0.008112297393381596,
0.002725339727476239,
0.040507566183805466,
0.016332430765032768,
-0.053957805037498474,
0.02431238256394863,
0.01740100048482418,
0.0019324913155287504,
-0.02544957585632801,
-0.037664588540792465,
0.04325251281261444,
0.004112517926841974,
-0.014548216015100479,
0.005323235411196947,
0.045017123222351074,
-0.02048906497657299,
-0.02739064395427704,
-0.002955719130113721,
-0.014783496968448162,
-0.0034507897216826677,
0.048311058431863785,
-0.027292611077427864,
-0.029861096292734146,
0.04242902994155884,
-0.004068402573466301,
0.11513089388608932,
0.010999392718076706,
0.024077102541923523,
0.006288868375122547,
-0.07034905254840851,
-0.012224814854562283,
-0.003396871266886592,
-0.021116480231285095,
0.02150861546397209,
0.010548437014222145,
0.01187189295887947,
0.00598496338352561,
0.0589379221200943,
0.06897658109664917,
0.0337432362139225,
0.022626200690865517,
0.04423285275697708,
-0.018146056681871414,
0.014822711236774921,
0.012793411500751972,
0.015793245285749435,
0.014842317439615726,
0.03625290095806122,
0.03148845583200455,
0.02799845300614834,
0.011391527950763702,
0.026998508721590042,
-0.052663758397102356,
-0.025841711089015007,
-0.02268502116203308,
0.03329227864742279,
0.009568098932504654,
0.005587926600128412,
0.007886819541454315,
0.007778982166200876,
-0.028508229181170464,
0.026606373488903046,
0.038880206644535065,
-0.030214017257094383,
0.032939355820417404,
-0.005695763975381851,
-0.05701645836234093,
-0.06466309726238251,
0.061604440212249756,
0.008421103470027447,
-0.04752678796648979,
0.0512128584086895,
-0.007538799196481705,
-0.05756544694304466,
-0.05870264023542404,
0.020292997360229492,
-0.019665580242872238,
0.058388933539390564,
-0.041840825229883194,
-0.02329283207654953,
0.021861538290977478,
-0.06105545163154602,
0.017538247630000114,
-0.008661285974085331,
0.04137026518583298,
0.0022118876222521067,
0.010960179381072521,
0.014058046974241734,
-0.05085993558168411,
-0.006739824078977108,
0.07176074385643005,
-0.00987690594047308,
0.005235005170106888,
0.007578012999147177,
-0.055212635546922684,
0.004190945066511631,
-0.01113663986325264,
0.015293273143470287,
0.035625483840703964,
0.014038440771400928,
0.03731166571378708,
0.016940241679549217,
-0.01679318957030773,
0.001768284710124135,
-0.010852341540157795,
-0.011656219139695168,
-0.014842317439615726,
0.023116370663046837,
-0.0009258067002519965,
-0.04356622323393822,
-0.05250690504908562,
-0.05744780972599983,
0.030743399634957314,
0.031194355338811874,
0.0071319593116641045,
0.034488290548324585,
0.02019496262073517,
-0.06580028682947159,
-0.02893957868218422,
-0.032821718603372574,
-0.03807632997632027,
0.004982567857950926,
-0.01926364190876484,
0.02288108877837658,
-0.021959571167826653,
0.06838838011026382,
0.011744449846446514,
0.031880591064691544,
0.08391693234443665,
0.023155584931373596,
0.10289628058671951,
0.014205098152160645,
-0.06850601732730865,
-0.012705180794000626,
-0.013685518875718117,
0.03625290095806122,
0.03542941436171532,
-0.03640975430607796,
-0.039488013833761215,
0.02450845018029213,
0.020312603563070297,
-0.003122376510873437,
0.06983928382396698,
0.03276289626955986,
0.037821441888809204,
-0.03938998281955719,
0.039566442370414734,
-0.004112517926841974,
0.0037326370365917683,
-0.030057163909077644,
-0.01821468025445938,
-0.00021414257935248315,
-0.00045585716725327075,
0.00664669182151556,
0.005607533268630505,
-0.0024532959796488285,
-0.06481994688510895,
-0.038272395730018616,
-0.057134099304676056,
0.014734480530023575,
0.048271842300891876,
-0.0309002548456192,
0.015410914085805416,
0.07372141629457474,
0.01642066240310669,
-0.043879929929971695,
-0.007058433722704649,
0.006891776341944933,
0.008381890133023262,
0.02288108877837658,
0.042703524231910706,
-0.025626035407185555,
-0.03723323717713356,
-0.003308640792965889,
-0.05885949358344078,
-0.002209436846897006,
-0.016077542677521706,
-0.027939634397625923,
0.05638904124498367,
0.015371699817478657,
0.02446923777461052,
0.018361730501055717,
-0.05580084025859833,
-0.020508671179413795,
0.008774025365710258,
0.03756655380129814,
-0.04235060140490532,
-0.007161369081586599,
-0.04995802417397499,
0.004710524342954159,
-0.04250745475292206,
-0.029978737235069275,
-0.04191925376653671,
0.05474207550287247,
0.05336960032582283,
-0.025743676349520683,
-0.02146940305829048,
-0.016283415257930756,
0.05211476981639862,
-0.07497625052928925,
0.01857740618288517,
0.03364520147442818,
-0.009538688696920872,
-0.04415442422032356,
-0.0310963224619627,
-0.0023883485700935125,
0.05968298017978668,
-0.13520821928977966,
-0.044036783277988434,
0.03144924342632294,
0.06881973147392273,
0.03574312478303909,
0.022861482575535774,
0.06803546100854874,
0.03356677293777466,
-0.032292332500219345,
0.02841019630432129,
-0.026763228699564934,
0.0365862138569355,
0.001969254110008478,
0.015822656452655792,
-0.0199204683303833,
-0.0752115324139595,
-0.03642936050891876,
0.003781653940677643,
-0.021841930225491524,
0.04689937084913254,
-0.03964487090706825,
-0.013803158886730671,
0.010322959162294865,
0.09732795506715775,
-0.030312051996588707,
0.05219319462776184,
-0.032743290066719055,
0.03148845583200455,
0.030292443931102753,
0.006862366106361151,
0.008695598691701889,
0.019744006916880608,
-0.023684967309236526,
0.025175079703330994,
0.0321158729493618,
-0.048389483243227005,
0.02056749165058136,
0.025214293971657753,
-0.035468630492687225,
0.0064163124188780785,
-0.0036174473352730274,
0.0056320419535040855,
0.02666519396007061,
0.07901524752378464,
-0.010666077956557274,
0.014263918623328209,
0.03642936050891876,
0.032821718603372574,
0.006480034440755844,
-0.005318333860486746,
0.0540754459798336,
0.02499862015247345,
0.06376118212938309,
-0.01337181031703949,
0.08674030750989914,
-0.006984908599406481,
-0.038880206644535065,
-0.03644896671175957,
0.0272337906062603,
-0.035998012870550156,
-0.0373900905251503,
0.015557964332401752,
0.043723076581954956,
0.03133160248398781,
-0.02874351106584072,
0.018018612638115883,
-0.016724565997719765,
0.04415442422032356,
0.048232629895210266,
0.001968028489500284,
-0.011705235578119755,
0.022783055901527405,
-0.021998785436153412,
0.05662432312965393,
0.017381392419338226,
-0.04666408896446228,
0.09332817792892456,
-0.012175798416137695,
-0.004556120838969946,
0.0890146940946579,
0.03662542998790741,
0.006994711700826883,
-0.05685960501432419,
0.041840825229883194,
-0.006641790270805359,
0.03142963722348213,
0.0030880647245794535,
0.020763559266924858,
0.023077156394720078,
0.03476278483867645,
0.048428699374198914,
-0.09254390746355057,
-0.03801750764250755,
0.002094247145578265,
-0.04705622419714928,
0.008710303343832493,
0.030429692938923836,
0.025841711089015007,
-0.004257117863744497,
-0.014214901253581047,
-0.03654700145125389,
0.025253508239984512,
0.0036860709078609943,
-0.03195901960134506,
-0.0014545765006914735,
-0.036723461002111435,
0.019332265481352806,
-0.03580194339156151,
0.019410692155361176,
0.06999613344669342,
0.013430630788207054,
0.00822993740439415,
-0.004144378937780857,
0.04587981849908829,
0.02768474631011486,
-0.01105821318924427,
0.03523334860801697,
-0.0005039550014771521,
0.02121451497077942,
0.00018611105042509735,
0.010940572246909142,
0.030390478670597076,
0.01902836002409458,
-0.01242088247090578,
0.03397851437330246,
0.03523334860801697,
0.013489451259374619,
0.02601817063987255,
0.012822821736335754,
-0.02629266493022442,
0.00912694726139307,
0.013538467697799206,
0.01634223386645317,
-0.018469568341970444,
0.04807577654719353,
-0.006671200040727854
] |
719,458
|
ibm_platform_services.enterprise_management_v1
|
create_account_group
|
Create an account group.
Create a new account group, which can be used to group together multiple accounts.
To create an account group, you must have an existing enterprise. The API creates
an account group entity under the parent that is specified in the payload of the
request. The request also takes in the name and the primary contact of this new
account group.
:param str parent: The CRN of the parent under which the account group will
be created. The parent can be an existing account group or the enterprise
itself.
:param str name: The name of the account group. This field must have 3 - 60
characters.
:param str primary_contact_iam_id: The IAM ID of the primary contact for
this account group, such as `IBMid-0123ABC`. The IAM ID must already exist.
: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 representing a `CreateAccountGroupResponse` object
|
def create_account_group(
self,
parent: str,
name: str,
primary_contact_iam_id: str,
**kwargs,
) -> DetailedResponse:
"""
Create an account group.
Create a new account group, which can be used to group together multiple accounts.
To create an account group, you must have an existing enterprise. The API creates
an account group entity under the parent that is specified in the payload of the
request. The request also takes in the name and the primary contact of this new
account group.
:param str parent: The CRN of the parent under which the account group will
be created. The parent can be an existing account group or the enterprise
itself.
:param str name: The name of the account group. This field must have 3 - 60
characters.
:param str primary_contact_iam_id: The IAM ID of the primary contact for
this account group, such as `IBMid-0123ABC`. The IAM ID must already exist.
: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 representing a `CreateAccountGroupResponse` object
"""
if parent is None:
raise ValueError('parent must be provided')
if name is None:
raise ValueError('name must be provided')
if primary_contact_iam_id is None:
raise ValueError('primary_contact_iam_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_account_group',
)
headers.update(sdk_headers)
data = {
'parent': parent,
'name': name,
'primary_contact_iam_id': primary_contact_iam_id,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/account-groups'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, parent: str, name: str, primary_contact_iam_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.09416267275810242,
0.023893963545560837,
-0.0433996208012104,
-0.050093647092580795,
0.006215219851583242,
-0.06095284968614578,
-0.03393500670790672,
0.022108890116214752,
0.010264177806675434,
-0.028616972267627716,
0.056638918817043304,
0.012523411773145199,
0.03949476778507233,
-0.013676272705197334,
-0.024693528190255165,
-0.03419532999396324,
0.04871765151619911,
-0.05358941853046417,
-0.008864939212799072,
-0.009659855626523495,
0.017850743606686592,
0.05533730238676071,
0.01381573174148798,
0.00024986392236314714,
0.055151358246803284,
0.07091951370239258,
0.008162995800375938,
0.04696976765990257,
-0.009827205911278725,
0.0451103150844574,
-0.002083748811855912,
-0.01398308202624321,
0.00932050496339798,
0.05154402181506157,
-0.003932741936296225,
-0.02493525668978691,
-0.061175983399152756,
-0.0017932094633579254,
-0.06708904355764389,
0.03241025656461716,
0.048606086522340775,
0.009301911108195782,
-0.05053991824388504,
-0.025158390402793884,
0.016047073528170586,
0.0001427274983143434,
0.03575726971030235,
-0.005243655759841204,
-0.055151358246803284,
-0.029490916058421135,
-0.001843182253651321,
-0.07259302586317062,
-0.010403635911643505,
-0.02526995912194252,
-0.025158390402793884,
0.039420392364263535,
0.006684731226414442,
-0.07441528886556625,
-0.011984170414507389,
-0.01175173930823803,
-0.006043220404535532,
0.017311502248048782,
-0.009074128232896328,
-0.06928319483995438,
-0.07043606042861938,
0.030048750340938568,
-0.08070023357868195,
-0.031517717987298965,
-0.025102607905864716,
0.018873441964387894,
-0.039829470217227936,
0.01838068664073944,
0.004339497070759535,
-0.02275969833135605,
-0.012978977523744106,
0.06385359913110733,
0.012188710272312164,
0.03811877593398094,
0.04444091394543648,
-0.0056341406889259815,
-0.026869086548686028,
-0.019580034539103508,
0.005308736581355333,
-0.0023359369952231646,
0.02642281912267208,
0.021904349327087402,
-0.01547064445912838,
-0.002384747611358762,
-0.009790017269551754,
-0.03505067899823189,
0.0018373713828623295,
0.0005299439653754234,
-0.0009523882763460279,
0.04377150908112526,
0.05537449195981026,
-0.00017417839262634516,
0.014605998992919922,
0.010645365342497826,
0.015005781315267086,
0.05247374624013901,
-0.025418713688850403,
-0.041726112365722656,
-0.04332524165511131,
-0.013267192989587784,
0.03830472007393837,
-0.037467967718839645,
0.0417633019387722,
0.003198258113116026,
0.022201862186193466,
0.0007716727559454739,
-0.05451914668083191,
-0.07065919041633606,
0.022332023829221725,
-0.001670020748861134,
-0.02270391397178173,
0.008279211819171906,
0.03545975685119629,
0.00010430366091895849,
0.02830086648464203,
-0.03927163407206535,
0.015080159530043602,
-0.01574026420712471,
0.04458966851234436,
-0.008162995800375938,
0.01965441182255745,
0.05838680639863014,
-0.03337717056274414,
0.049424245953559875,
0.0031122583895921707,
-0.010357149876654148,
-0.004908954259008169,
0.006717271637171507,
-0.01063606794923544,
-0.03545975685119629,
0.025976549834012985,
0.017748473212122917,
0.024749312549829483,
0.028263676911592484,
-0.01209573820233345,
0.01858522742986679,
0.04317648336291313,
-0.04425496608018875,
0.012625682167708874,
0.032651983201503754,
0.017525339499115944,
-0.007586565800011158,
0.05556043982505798,
-0.035701487213373184,
-0.07646068185567856,
-0.015721669420599937,
-0.013230004347860813,
-0.04031292721629143,
0.02580920048058033,
0.049089543521404266,
0.004458037205040455,
0.012718654237687588,
-0.014336378313601017,
-0.0208816509693861,
0.047527603805065155,
-0.00902299303561449,
-0.042990539222955704,
0.04328805208206177,
0.01267216820269823,
-0.029881400987505913,
0.006638245191425085,
-0.030364857986569405,
0.007140297442674637,
0.0013399679446592927,
-0.012690762989223003,
-0.05358941853046417,
-0.06645683199167252,
0.0006420921417884529,
-0.00919034332036972,
-0.014438647776842117,
-0.12309575080871582,
-0.02406131476163864,
0.04061044007539749,
-0.013360165990889072,
0.01276514120399952,
0.009576180018484592,
0.010013150982558727,
-0.017646202817559242,
0.04771354794502258,
0.010180502198636532,
0.016130749136209488,
-0.010357149876654148,
0.018352795392274857,
0.07906391471624374,
0.007674889639019966,
-0.024972446262836456,
0.026088116690516472,
-0.015796048566699028,
-0.012058548629283905,
0.0310156662017107,
0.03307965770363808,
-0.028765728697180748,
0.006508083548396826,
-0.018148256465792656,
0.031592097133398056,
0.02709222212433815,
-0.00601532869040966,
0.011472821235656738,
0.05243655666708946,
0.018668903037905693,
0.0359618104994297,
-0.028431028127670288,
-0.04723009094595909,
0.004274416249245405,
-0.038341909646987915,
-0.035701487213373184,
-0.031052855774760246,
-0.019691601395606995,
-0.01972879096865654,
0.03700310364365578,
-0.008427968248724937,
0.01391800120472908,
0.05693643167614937,
0.013592597097158432,
0.010143312625586987,
-0.01721853017807007,
-0.010747634805738926,
-0.020230842754244804,
0.04321367293596268,
-0.03754234313964844,
-0.03393500670790672,
0.004416199401021004,
0.01877117156982422,
0.01580534502863884,
-0.028821513056755066,
0.01789722964167595,
-0.0324474461376667,
-0.053068771958351135,
-0.0004451064160093665,
-0.029026051983237267,
-0.09483207017183304,
-0.031108638271689415,
0.056973621249198914,
-0.041651733219623566,
-0.013499624095857143,
0.035292405635118484,
-0.007428512442857027,
0.06180819869041443,
0.05202747881412506,
0.04782511666417122,
-0.05808929353952408,
-0.04302772879600525,
-0.009041587822139263,
0.004890359938144684,
0.054481957107782364,
-0.0010994012700393796,
-0.052659694105386734,
-0.06024625897407532,
-0.03518084064126015,
0.0042837136425077915,
0.017748473212122917,
-0.061175983399152756,
-0.011444929987192154,
-0.026460008695721626,
0.030792532488703728,
0.05329190567135811,
0.0002777556946966797,
-0.019542844966053963,
-0.04890359938144684,
-0.0074889445677399635,
0.04715571179986,
0.004227929748594761,
0.006508083548396826,
0.019821763038635254,
0.06206852197647095,
0.022592347115278244,
0.05552325025200844,
0.04142859950661659,
0.04830857366323471,
-0.06753531098365784,
-0.04998208209872246,
-0.015182428993284702,
-0.012709356844425201,
-0.0050019267946481705,
-0.050837427377700806,
-0.058684319257736206,
0.00761445751413703,
0.007177486550062895,
-0.04618879780173302,
-0.03166647627949715,
0.029472321271896362,
0.02019365318119526,
0.013174219988286495,
0.01350892148911953,
-0.05790334939956665,
0.020770084112882614,
-0.06928319483995438,
0.050911806523799896,
-0.10822013020515442,
-0.0013783191097900271,
-0.05991155654191971,
-0.029472321271896362,
-0.016567721962928772,
-0.030792532488703728,
0.00790267251431942,
-0.005411006510257721,
0.012988274917006493,
0.05608108639717102,
0.04540782794356346,
-0.01661420799791813,
-0.053738173097372055,
-0.03047642484307289,
-0.015619399957358837,
0.027240978553891182,
-0.04310210794210434,
0.030364857986569405,
-0.04972175881266594,
0.02411709725856781,
0.05329190567135811,
-0.0009459964348934591,
0.001998911378905177,
0.0233733169734478,
0.103459931910038,
-0.02383817918598652,
0.04659787937998772,
0.058684319257736206,
-0.04540782794356346,
-0.029100431129336357,
-0.010580284520983696,
-0.03730061650276184,
0.0719236209988594,
-0.011807522736489773,
0.06132474169135094,
0.07523344457149506,
0.052064668387174606,
0.01232816930860281,
0.004960089456290007,
-0.025697631761431694,
-0.03471597656607628,
0.0308111272752285,
-0.05682486668229103,
-0.03382343798875809,
0.0027426923625171185,
-0.07144016027450562,
-0.020974623039364815,
-0.038750987499952316,
-0.0322800949215889,
-0.014717565849423409,
-0.009604072198271751,
-0.014215514063835144,
-0.019208144396543503,
-0.031647879630327225,
0.11387286335229874,
-0.046449121087789536,
-0.020509760826826096,
0.020026301965117455,
-0.040498875081539154,
-0.0072518642991781235,
0.06437424570322037,
0.032540418207645416,
0.029621077701449394,
-0.014857024885714054,
-0.021234946325421333,
0.02311299368739128,
0.02424725890159607,
-0.007781808264553547,
-0.004416199401021004,
-0.05738270282745361,
0.02019365318119526,
0.00012732890900224447,
-0.029899995774030685,
-0.07210956513881683,
-0.051915910094976425,
-0.0019861275795847178,
0.004537064116448164,
-0.012504817917943,
0.05280844867229462,
-0.026645952835679054,
0.008599967695772648,
0.04046168550848961,
0.0021197758615016937,
0.051915910094976425,
0.009836503304541111,
-0.007358782924711704,
-0.044887181371450424,
-0.014940700493752956,
0.036370888352394104,
-0.005578357260674238,
-0.003630580846220255,
0.016028480604290962,
-0.005280844867229462,
-0.05221342295408249,
0.1042780950665474,
0.03402797877788544,
-0.04700695723295212,
-0.03605478256940842,
0.018269119784235954,
0.0006362813874147832,
0.04101952165365219,
-0.0017571825301274657,
-0.03679856285452843,
-0.04875484108924866,
-0.02634843997657299,
-0.028561189770698547,
-0.05366379767656326,
0.0314619354903698,
0.013099842704832554,
-0.001049428479745984,
0.03592462092638016,
-0.044961560517549515,
0.05485384538769722,
0.003553878515958786,
0.0451103150844574,
-0.0583496168255806,
0.0216998104006052,
0.01749744638800621,
0.01823193021118641,
0.04544501751661301,
-0.034957706928253174,
-0.024823689833283424,
-0.006689379923045635,
0.02735254541039467,
-0.007307648193091154,
0.07891516387462616,
0.000901253370102495,
0.014977889135479927,
0.01897571235895157,
0.010403635911643505,
-0.02791038155555725,
0.04358556494116783,
0.011249687522649765,
-0.027203788980841637,
0.04317648336291313,
-0.01091498602181673,
0.0019384791376069188,
-0.06169662997126579,
0.017395177856087685,
0.011770334094762802,
-0.04436653479933739,
-0.016437558457255363,
-0.044812802225351334,
0.0007641187403351068,
-0.010013150982558727,
0.010729040019214153,
0.030718153342604637,
0.03322841599583626,
0.004974035080522299,
-0.044552478939294815,
-0.015833238139748573,
0.00023984030121937394,
-0.010357149876654148,
0.012356061488389969,
0.00932050496339798,
-0.042655836790800095,
0.06720060855150223,
-0.002231342950835824,
0.08843556046485901,
0.031852420419454575,
0.06377921998500824,
0.02432163804769516,
-0.02939794212579727,
-0.010394339449703693,
0.0018861819989979267,
-0.07266739755868912,
0.006038571707904339,
-0.010961472056806087,
0.0192453321069479,
0.02526995912194252,
0.03572008013725281,
0.08821242302656174,
0.02932356484234333,
0.055709194391965866,
0.06329575926065445,
-0.011296173557639122,
0.008367535658180714,
-0.019208144396543503,
-0.01682804524898529,
-0.013927298597991467,
-0.011351956985890865,
0.04425496608018875,
-0.023615045472979546,
0.02601373940706253,
0.005136737134307623,
-0.010003853589296341,
-0.013778542168438435,
0.040573250502347946,
0.024953851476311684,
0.0012098061852157116,
0.03953195735812187,
-0.015024375170469284,
0.03012312948703766,
-0.047601982951164246,
0.02296423725783825,
0.03140615299344063,
-0.06236603483557701,
-0.006587109994143248,
0.007302999496459961,
-0.08620421588420868,
-0.03633369877934456,
0.03845347464084625,
0.006363975815474987,
-0.020639922469854355,
0.0425814613699913,
-0.001905938726849854,
-0.020305220037698746,
-0.07251864671707153,
-0.0016688585747033358,
0.008460508659482002,
-0.038267530500888824,
-0.06723780184984207,
0.03298668563365936,
0.028598377481102943,
-0.00430695666000247,
-0.0019303440349176526,
-0.038602232933044434,
0.02039819210767746,
-0.046858202666044235,
0.00999455712735653,
-0.020695704966783524,
-0.005536519456654787,
-0.018464362248778343,
0.07352274656295776,
-0.01191908959299326,
0.008046780712902546,
-0.00949715357273817,
-0.04180049151182175,
0.035162243992090225,
0.01121249794960022,
-0.017711283639073372,
0.05165558680891991,
0.005266898777335882,
0.010357149876654148,
0.0044417669996619225,
-0.01972879096865654,
0.022127483040094376,
-0.026032334193587303,
0.03183382377028465,
0.014345675706863403,
0.014206216670572758,
0.004683495964854956,
-0.034548625349998474,
-0.053812552243471146,
-0.05329190567135811,
0.030904099345207214,
-0.028821513056755066,
0.008813804015517235,
0.023968340829014778,
-0.01394589338451624,
-0.0917825698852539,
-0.029100431129336357,
-0.04823419451713562,
0.005662032403051853,
0.036370888352394104,
-0.0018269120482727885,
0.03006734512746334,
-0.017711283639073372,
0.05719675496220589,
0.0008291995618492365,
0.028970269486308098,
0.06697747856378555,
0.01229098066687584,
0.07348556071519852,
-0.027240978553891182,
-0.07010135799646378,
-0.002503287745639682,
-0.02493525668978691,
0.04284178465604782,
0.038750987499952316,
-0.016642099246382713,
-0.038267530500888824,
-0.04734165966510773,
0.056304220110177994,
-0.012077143415808678,
0.06630807369947433,
0.02445179969072342,
0.04890359938144684,
-0.024005530402064323,
-0.010905688628554344,
-0.01926392689347267,
-0.0035562028642743826,
-0.04109389707446098,
0.029769834131002426,
0.004032687284052372,
0.006833487655967474,
-0.01744166389107704,
-0.0133415712043643,
0.002452152781188488,
-0.03741218149662018,
0.0036631212569773197,
-0.01952425017952919,
-0.02493525668978691,
0.01798090524971485,
-0.02768724597990513,
-0.0025613957550376654,
0.05135807394981384,
0.04704414680600166,
-0.05641578510403633,
0.039420392364263535,
0.021867159754037857,
-0.001263265497982502,
-0.0014271297259256244,
0.052250612527132034,
-0.005852626636624336,
-0.03882536664605141,
-0.03572008013725281,
-0.03006734512746334,
0.01468967366963625,
0.012560601346194744,
-0.0258649829775095,
0.07590284943580627,
0.04209800437092781,
0.01905938796699047,
-0.0068939197808504105,
-0.07720446586608887,
-0.03129458427429199,
-0.002807773184031248,
-0.030216101557016373,
-0.05161840096116066,
0.016316695138812065,
-0.00010619216482155025,
-0.009362342767417431,
-0.051246508955955505,
-0.028728539124131203,
-0.00999455712735653,
0.08843556046485901,
-0.009102019481360912,
0.02778021991252899,
-0.011612280271947384,
0.0032145283184945583,
0.06805595755577087,
-0.03953195735812187,
0.03148052841424942,
0.014187621884047985,
0.002209261991083622,
-0.04064762964844704,
-0.01614934392273426,
-0.025902172550559044,
0.023559262976050377,
-0.10293928533792496,
-0.0723327025771141,
0.05221342295408249,
0.036575429141521454,
0.04194924607872963,
0.04964737966656685,
0.03994103893637657,
-0.004941494669765234,
-0.04566815122961998,
-0.02776162512600422,
-0.02424725890159607,
-0.01162157766520977,
-0.025455903261899948,
0.0055504655465483665,
-0.0192453321069479,
-0.05634140968322754,
0.005471438635140657,
-0.04544501751661301,
-0.05719675496220589,
0.05946528911590576,
-0.07010135799646378,
-0.07839451730251312,
0.0016153992619365454,
0.10078231990337372,
-0.05451914668083191,
0.04708133637905121,
-0.08501416444778442,
0.0024544771295040846,
0.048271384090185165,
0.00872083194553852,
0.023075804114341736,
-0.01628880389034748,
-0.04444091394543648,
-0.011863306164741516,
0.06485769897699356,
-0.03194539248943329,
0.03166647627949715,
0.008711534552276134,
-0.0393088236451149,
0.02776162512600422,
-0.005694572813808918,
0.039160069078207016,
0.013490327633917332,
0.046523500233888626,
-0.012913896702229977,
-0.011909793131053448,
0.012374656274914742,
0.007823646068572998,
0.049015164375305176,
0.024265853688120842,
0.008088617585599422,
-0.0003280190285295248,
0.08017958700656891,
0.0016688585747033358,
0.04020136222243309,
-0.038416288793087006,
-0.021253541111946106,
-0.007828294299542904,
0.0405360609292984,
0.0047601982951164246,
-0.05567200481891632,
0.005787545815110207,
-0.005485384725034237,
0.03609197214245796,
-0.016669990494847298,
0.003958309534937143,
-0.028207892552018166,
0.045965664088726044,
-0.008813804015517235,
-0.022685319185256958,
-0.013704163953661919,
0.02093743346631527,
-0.01926392689347267,
0.07787387073040009,
0.0088463444262743,
-0.005927004385739565,
0.061436306685209274,
-0.02080727182328701,
0.014373566955327988,
0.0836009830236435,
-0.031443338841199875,
-0.005173926241695881,
-0.01669788360595703,
0.012923194095492363,
-0.007791105657815933,
0.007884078659117222,
0.041168276220560074,
0.017311502248048782,
-0.0005755586316809058,
0.04953581094741821,
0.009311207570135593,
-0.0637420266866684,
-0.031573500484228134,
-0.06299825012683868,
-0.03369327634572983,
0.003374906023964286,
0.02147667482495308,
0.002452152781188488,
0.019282521679997444,
0.01283951848745346,
-0.05321752652525902,
-0.01742306910455227,
0.031052855774760246,
-0.009697044268250465,
0.005824734922498465,
-0.050428349524736404,
0.0202680304646492,
0.003198258113116026,
0.059688422828912735,
0.05113494023680687,
0.013704163953661919,
-0.03852785378694534,
-0.01744166389107704,
-0.010208393447101116,
0.0433996208012104,
0.00206166785210371,
-0.0013713461812585592,
-0.030904099345207214,
0.022350618615746498,
0.0030866910237818956,
0.01735798828303814,
0.04990770295262337,
0.0022290186025202274,
-0.038193151354789734,
0.03363749384880066,
0.04916392266750336,
0.03592462092638016,
0.008688291534781456,
0.007586565800011158,
0.010626770555973053,
0.03845347464084625,
0.015786750242114067,
0.012105035595595837,
0.024879474192857742,
-0.0052390070632100105,
0.010496608912944794
] |
719,459
|
ibm_platform_services.enterprise_management_v1
|
create_enterprise
|
Create an enterprise.
Create a new enterprise, which you can use to centrally manage multiple accounts.
To create an enterprise, you must have an active Subscription account.
<br/><br/>The API creates an enterprise entity, which is the root of the
enterprise hierarchy. It also creates a new enterprise account that is used to
manage the enterprise. All subscriptions, support entitlements, credits, and
discounts from the source subscription account are migrated to the enterprise
account, and the source account becomes a child account in the hierarchy. The user
that you assign as the enterprise primary contact is also assigned as the owner of
the enterprise account.
:param str source_account_id: The ID of the account that is used to create
the enterprise.
:param str name: The name of the enterprise. This field must have 3 - 60
characters.
:param str primary_contact_iam_id: The IAM ID of the enterprise primary
contact, such as `IBMid-0123ABC`. The IAM ID must already exist.
:param str domain: (optional) A domain or subdomain for the enterprise,
such as `example.com` or `my.example.com`.
: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 representing a `CreateEnterpriseResponse` object
|
def create_enterprise(
self,
source_account_id: str,
name: str,
primary_contact_iam_id: str,
*,
domain: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an enterprise.
Create a new enterprise, which you can use to centrally manage multiple accounts.
To create an enterprise, you must have an active Subscription account.
<br/><br/>The API creates an enterprise entity, which is the root of the
enterprise hierarchy. It also creates a new enterprise account that is used to
manage the enterprise. All subscriptions, support entitlements, credits, and
discounts from the source subscription account are migrated to the enterprise
account, and the source account becomes a child account in the hierarchy. The user
that you assign as the enterprise primary contact is also assigned as the owner of
the enterprise account.
:param str source_account_id: The ID of the account that is used to create
the enterprise.
:param str name: The name of the enterprise. This field must have 3 - 60
characters.
:param str primary_contact_iam_id: The IAM ID of the enterprise primary
contact, such as `IBMid-0123ABC`. The IAM ID must already exist.
:param str domain: (optional) A domain or subdomain for the enterprise,
such as `example.com` or `my.example.com`.
: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 representing a `CreateEnterpriseResponse` object
"""
if source_account_id is None:
raise ValueError('source_account_id must be provided')
if name is None:
raise ValueError('name must be provided')
if primary_contact_iam_id is None:
raise ValueError('primary_contact_iam_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_enterprise',
)
headers.update(sdk_headers)
data = {
'source_account_id': source_account_id,
'name': name,
'primary_contact_iam_id': primary_contact_iam_id,
'domain': domain,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/enterprises'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, source_account_id: str, name: str, primary_contact_iam_id: str, *, domain: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.049620382487773895,
-0.014658038504421711,
0.0012782904086634517,
-0.050695858895778656,
0.005785335786640644,
-0.045578062534332275,
-0.05703747645020485,
-0.025959840044379234,
-0.04179534316062927,
-0.010393207892775536,
0.04657937213778496,
-0.017921561375260353,
0.015140149742364883,
-0.006661480292677879,
-0.012219667434692383,
0.0021857258398085833,
0.026423409581184387,
-0.03788282349705696,
0.025143960490822792,
0.010699163191020489,
0.030447185039520264,
0.01908048242330551,
-0.0012226621620357037,
-0.02521813102066517,
0.06044934317469597,
0.07179750502109528,
0.02729491889476776,
0.029149191454052925,
0.0021857258398085833,
0.0008518072427250445,
0.02683134935796261,
-0.00642969598993659,
0.016540126875042915,
0.07035116851329803,
0.007097234949469566,
-0.008478669449687004,
-0.05566531419754028,
0.01442625466734171,
-0.10027915239334106,
0.06252612918615341,
-0.010281951166689396,
0.022288376465439796,
0.05399646982550621,
0.01142232958227396,
-0.006925714667886496,
-0.025422101840376854,
0.0289081372320652,
-0.04183242842555046,
-0.026275066658854485,
0.0059939417988061905,
-0.02262214757502079,
-0.01777321845293045,
0.029464418068528175,
-0.03358090668916702,
-0.00737074064090848,
0.017263293266296387,
0.027795571833848953,
-0.01164484303444624,
-0.04758067801594734,
0.0073290192522108555,
-0.0068190935999155045,
0.012247482314705849,
0.0243280790746212,
-0.026627378538250923,
-0.09063693135976791,
0.03986689820885658,
-0.06771809607744217,
0.04031192511320114,
-0.015779875218868256,
0.03901393339037895,
0.027072405442595482,
-0.009938910603523254,
-0.00841376930475235,
0.0067032016813755035,
0.0276472307741642,
0.07587690651416779,
0.008710453286767006,
0.04313042014837265,
0.02442079223692417,
-0.02629360929131508,
-0.018857968971133232,
-0.041758257895708084,
-0.023419484496116638,
0.016224900260567665,
0.040052324533462524,
0.06226653233170509,
-0.024717476218938828,
0.016595754772424698,
0.025292301550507545,
0.04057152196764946,
0.038309305906295776,
0.035342469811439514,
-0.05440440773963928,
0.01164484303444624,
0.05125214159488678,
0.009081308729946613,
0.05429315194487572,
0.009340906515717506,
0.07839871942996979,
0.01227529626339674,
-0.01593748852610588,
-0.0121640395373106,
-0.016632840037345886,
0.020879128947854042,
0.014509696513414383,
-0.036510661244392395,
0.008302513509988785,
0.02837039716541767,
0.016975881531834602,
0.020341388881206512,
-0.029520047828555107,
-0.015473918989300728,
-0.02366054058074951,
-0.022863201797008514,
-0.046838968992233276,
-0.03639940544962883,
0.03882850334048271,
0.09390044957399368,
-0.018969226628541946,
-0.03029884211719036,
0.038346391171216965,
-0.020897671580314636,
-0.02657175064086914,
-0.000603218621108681,
0.006791279651224613,
-0.0013965003890916705,
-0.03052135556936264,
0.02419828064739704,
0.004292645025998354,
-0.0336550772190094,
-0.03150412067770958,
0.002480091992765665,
0.007213127333670855,
0.013044820167124271,
0.008997865952551365,
-0.004067814443260431,
0.008766082115471363,
0.008988594636321068,
0.02126852609217167,
-0.006031027063727379,
-0.028555825352668762,
-0.0053681242279708385,
-0.0041489386931061745,
0.021917521953582764,
-0.046245601028203964,
-0.018913598731160164,
0.02616381086409092,
-0.013295146636664867,
-0.04765484854578972,
0.0029807458631694317,
-0.022158578038215637,
-0.017430178821086884,
0.0031035917345434427,
-0.011932255700230598,
0.013628915883600712,
-0.009234285913407803,
0.005840964149683714,
-0.039162274450063705,
0.07005448639392853,
0.033821962773799896,
-0.015603718347847462,
0.01474148128181696,
0.04064569249749184,
-0.00604957016184926,
-0.014574595727026463,
-0.04995414987206459,
-0.04146157205104828,
-0.04542972147464752,
-0.019506966695189476,
-0.031708091497421265,
-0.052401792258024216,
0.0052197822369635105,
-0.06934986263513565,
-0.021639380604028702,
-0.10191091895103455,
-0.030169043689966202,
0.08336817473173141,
-0.03131869435310364,
-0.044539667665958405,
0.0032472978346049786,
-0.00031435745768249035,
-0.05440440773963928,
0.023994309827685356,
0.03849473595619202,
0.03643649071455002,
-0.018199702724814415,
0.009716397151350975,
0.04546680673956871,
-0.013471302576363087,
-0.0071157775819301605,
0.015427562408149242,
-0.021342696622014046,
-0.022900287061929703,
0.04513303562998772,
0.0033585543278604746,
-0.008427676744759083,
-0.011765370145440102,
-0.015362663194537163,
-0.031077638268470764,
0.009790568612515926,
-0.029149191454052925,
0.04461384192109108,
0.03953312709927559,
0.009229650720953941,
0.056926220655441284,
-0.0315968357026577,
-0.01297064870595932,
-0.0552944615483284,
-0.02104601263999939,
-0.049212440848350525,
-0.018255330622196198,
0.009303821250796318,
-0.033951763063669205,
0.04591183364391327,
-0.005377395544201136,
0.029464418068528175,
0.06660553067922592,
0.009716397151350975,
0.02078641578555107,
-0.016456684097647667,
-0.02392013929784298,
-0.06133939325809479,
0.041090719401836395,
-0.035787492990493774,
-0.005428388249129057,
-0.02603401057422161,
0.00020788153051398695,
-0.007982650771737099,
0.013091176748275757,
-0.03293191269040108,
-0.05748250335454941,
0.00536348856985569,
-0.019822193309664726,
-0.024624763056635857,
-0.043019164353609085,
0.047283995896577835,
-0.0030665062367916107,
-0.03074386902153492,
-0.021472496911883354,
0.040423180907964706,
0.04798861965537071,
0.02024867571890354,
0.019191740080714226,
0.017114952206611633,
0.001335077453404665,
-0.04884158447384834,
0.0019284453010186553,
0.055183202028274536,
-0.025996925309300423,
-0.053477272391319275,
-0.024754561483860016,
-0.048581987619400024,
-0.0016259667463600636,
0.01110710296779871,
0.04190659895539284,
-0.04402047395706177,
0.006165462080389261,
-0.0144540686160326,
0.029520047828555107,
-0.02979818917810917,
-0.0282776840031147,
-0.05102963000535965,
-0.046431027352809906,
0.03725237026810646,
0.015779875218868256,
-0.02714657597243786,
-0.005687986500561237,
0.028518738225102425,
0.09657060354948044,
0.020842043682932854,
-0.015288491733372211,
0.06189567595720291,
0.04413172975182533,
-0.019989077001810074,
-0.003931061364710331,
0.00012110728857805952,
-0.011867355555295944,
-0.028982307761907578,
-0.03243125602602959,
0.0049230982549488544,
-0.02597838267683983,
0.010893861763179302,
-0.005456202197819948,
0.014620953239500523,
0.05373686924576759,
-0.047951534390449524,
-0.020452646538615227,
-0.09864739328622818,
-0.00826079212129116,
0.001907584723085165,
-0.032968997955322266,
0.09056276082992554,
-0.06026391685009003,
-0.01656794175505638,
-0.03424844518303871,
0.006642937660217285,
-0.006517774425446987,
-0.0010285427561029792,
0.05785335972905159,
0.02199169434607029,
0.013452759943902493,
0.07602524757385254,
0.009595870040357113,
-0.08106887340545654,
-0.0426483079791069,
-0.04305624961853027,
-0.00267015490680933,
0.02985381707549095,
-0.01388851460069418,
-0.01993344910442829,
-0.03033592738211155,
0.061784420162439346,
-0.011199817061424255,
0.009744211100041866,
0.0065548596903681755,
0.0077508664689958096,
0.0748756006360054,
-0.01413884200155735,
0.013517660088837147,
0.053922295570373535,
-0.03293191269040108,
0.029316077008843422,
-0.04127614572644234,
-0.06274864077568054,
0.06215527653694153,
-0.05803878605365753,
0.05125214159488678,
0.041721172630786896,
0.029149191454052925,
-0.04275956749916077,
-0.03738217055797577,
-0.052438877522945404,
0.012942834757268429,
0.028871051967144012,
-0.02217712067067623,
-0.07572856545448303,
0.033191509544849396,
-0.035249754786491394,
0.00843694806098938,
0.014509696513414383,
-0.017569249495863914,
-0.025996925309300423,
-0.02050827443599701,
-0.007125048898160458,
-0.001907584723085165,
-0.04839656129479408,
0.09145280718803406,
-0.0837390273809433,
0.003263522870838642,
-0.009595870040357113,
-0.041535746306180954,
-0.0010494033340364695,
0.06642010807991028,
0.0020060930401086807,
0.044317156076431274,
-0.050510432571172714,
-0.05870632454752922,
-0.031114723533391953,
-0.009099851362407207,
-0.039421871304512024,
-0.03975564241409302,
0.004765484947711229,
-0.028518738225102425,
0.02141686901450157,
-0.05077002942562103,
-0.05002832040190697,
-0.024383706972002983,
-0.0092435572296381,
0.03621397912502289,
-0.018774528056383133,
-0.028704166412353516,
-0.04969455301761627,
-0.03215311840176582,
0.0774344950914383,
0.0033840506803244352,
-0.0037270914763212204,
-0.08425822854042053,
-0.009160115383565426,
-0.06660553067922592,
-0.012627608142793179,
0.015251406468451023,
0.032338544726371765,
-0.053291842341423035,
-0.007755502127110958,
0.04394629970192909,
-0.05418189615011215,
0.08885682374238968,
0.012182582169771194,
-0.0197480209171772,
-0.004102582111954689,
0.015585175715386868,
-0.0006692771567031741,
0.02720220386981964,
0.02831476926803589,
0.015538819134235382,
-0.036288149654865265,
-0.061784420162439346,
-0.011116374284029007,
-0.0694982036948204,
0.008464762009680271,
0.02508833073079586,
0.04958329349756241,
0.07146373391151428,
-0.009707125835120678,
-0.015390477143228054,
-0.0394960418343544,
0.06575256586074829,
-0.06742141395807266,
0.04958329349756241,
0.0704624205827713,
0.030632611364126205,
0.008242249488830566,
-0.08017881959676743,
-0.0328577421605587,
-0.0059290421195328236,
0.006508502643555403,
0.004389994312077761,
0.0401264950633049,
-0.010884590446949005,
-0.014509696513414383,
0.01124617364257574,
-0.007069421000778675,
-0.008029007352888584,
0.04008940979838371,
-0.011255444958806038,
0.003956557717174292,
-0.051771339029073715,
0.024402249604463577,
0.041758257895708084,
-0.03953312709927559,
0.012636879459023476,
0.018199702724814415,
0.008492575958371162,
-0.007843580096960068,
-0.006299897097051144,
-0.000142837074236013,
0.0011716695735231042,
0.00012096242426196113,
0.01247926615178585,
-0.009085943922400475,
-0.005238324869424105,
-0.046023089438676834,
0.01018923707306385,
-0.0035068963188678026,
-0.0007046242244541645,
-0.0014451750321313739,
-0.019061939790844917,
-0.034174274653196335,
0.058595068752765656,
-0.0015993115957826376,
0.10443273186683655,
0.015418291091918945,
0.029408790171146393,
0.010884590446949005,
-0.052438877522945404,
-0.0650850310921669,
0.009187929332256317,
-0.014843465760350227,
0.009229650720953941,
-0.0013385543134063482,
-0.014565324410796165,
-0.03011341579258442,
-0.011969340965151787,
0.0726875513792038,
0.029019393026828766,
0.006870086304843426,
0.018746713176369667,
-0.042574137449264526,
-0.004264831077307463,
-0.013369318097829819,
0.009818382561206818,
0.0036413311026990414,
0.021732095628976822,
0.05080711469054222,
0.008084636181592941,
0.002240195171907544,
0.032338544726371765,
-0.02666446380317211,
-0.010773333720862865,
-0.03007632866501808,
0.048767413944005966,
0.008506483398377895,
0.029427332803606987,
-0.01451896782964468,
0.019951991736888885,
-0.015473918989300728,
0.035249754786491394,
0.01952550932765007,
-0.026089640334248543,
0.043241675943136215,
0.030465727671980858,
-0.04917535558342934,
-0.029297534376382828,
0.034804727882146835,
0.0016468273242935538,
-0.04821113124489784,
0.04832238703966141,
0.0034419966395944357,
-0.007454182952642441,
-0.04157283157110214,
0.013137533329427242,
-0.048767413944005966,
0.050732944160699844,
-0.04127614572644234,
0.000550777418538928,
0.060560598969459534,
-0.03371070697903633,
0.059485118836164474,
-0.031930603086948395,
0.05803878605365753,
-0.02414265088737011,
-0.021083099767565727,
0.019006311893463135,
-0.029742559418082237,
0.028073713183403015,
0.09486467391252518,
0.0144540686160326,
0.04531846567988396,
-0.014871279709041119,
-0.020971842110157013,
0.023048629984259605,
0.030780954286456108,
0.02419828064739704,
0.03226437419652939,
-0.011709742248058319,
0.040460266172885895,
-0.0157149750739336,
-0.04606017470359802,
0.012219667434692383,
0.052179280668497086,
-0.010115066543221474,
-0.03463784605264664,
0.006958164274692535,
0.0008518072427250445,
-0.045355550944805145,
-0.01921028271317482,
-0.1030234843492508,
0.03150412067770958,
0.03209748864173889,
0.01952550932765007,
0.029019393026828766,
0.009340906515717506,
-0.11229485273361206,
-0.01656794175505638,
-0.04064569249749184,
-0.04275956749916077,
0.024791646748781204,
0.009099851362407207,
0.047729022800922394,
-0.05622159689664841,
0.0657154843211174,
0.011431600898504257,
0.056036170572042465,
0.04787736386060715,
0.009827653877437115,
0.05381103977560997,
0.013452759943902493,
-0.061821505427360535,
-0.015566633082926273,
0.0027512796223163605,
-0.0006055364501662552,
0.024161193519830704,
-0.019414251670241356,
-0.010170694440603256,
0.014537510462105274,
0.05358852818608284,
0.024439334869384766,
0.030447185039520264,
-0.018959954380989075,
0.014565324410796165,
-0.053699783980846405,
0.012683236040174961,
-0.018255330622196198,
0.026534665375947952,
-0.02549627237021923,
-0.0029065751004964113,
0.0021219851914793253,
-0.049657467752695084,
-0.010689891874790192,
0.004568468313664198,
-0.026553208008408546,
-0.07914042472839355,
-0.020174505189061165,
-0.08381319791078568,
-0.029520047828555107,
0.03506432846188545,
-0.033543821424245834,
-0.0026933334302157164,
0.05173425376415253,
0.030632611364126205,
-0.009257464669644833,
-0.012432909570634365,
0.00928991474211216,
0.01786593347787857,
0.00992036797106266,
0.07669278234243393,
0.019321538507938385,
-0.03326568007469177,
0.0172262080013752,
-0.03506432846188545,
-0.0581500418484211,
0.034007392823696136,
-0.020619530230760574,
0.05065877363085747,
0.07572856545448303,
-0.020619530230760574,
0.03321005403995514,
-0.06597507745027542,
-0.00828397087752819,
-0.02315988577902317,
0.03517558425664902,
-0.030688239261507988,
-0.01625271514058113,
0.010142880491912365,
0.005516466218978167,
-0.021157270297408104,
-0.0026423409581184387,
-0.02078641578555107,
0.03506432846188545,
0.061598993837833405,
0.007672059815376997,
0.002024635672569275,
-0.020842043682932854,
0.015965301543474197,
-0.06716181337833405,
0.005168789532035589,
0.05514611676335335,
-0.02733200415968895,
-0.0467647984623909,
-0.03450804576277733,
-0.05470109358429909,
0.06775518506765366,
-0.03905101865530014,
-0.04272247850894928,
0.06252612918615341,
0.018913598731160164,
0.05525737628340721,
0.029464418068528175,
0.05418189615011215,
-0.006712472997605801,
-0.02442079223692417,
0.03927353024482727,
-0.028147883713245392,
0.008627011440694332,
-0.016456684097647667,
0.07302132248878479,
-0.03638086095452309,
-0.08114304393529892,
-0.018654000014066696,
0.0033585543278604746,
-0.007755502127110958,
0.01876525580883026,
-0.027535973116755486,
-0.0369742289185524,
-0.014982536435127258,
0.10665785521268845,
-0.027665773406624794,
0.00654095271602273,
-0.003794308751821518,
0.01463022455573082,
0.06167316436767578,
0.012803764082491398,
0.038123879581689835,
-0.033914677798748016,
0.01505670789629221,
-0.0008506483281962574,
0.023864511400461197,
-0.053254757076501846,
0.03128160908818245,
0.05444149300456047,
-0.010634263046085835,
-0.0062164547853171825,
0.02783265709877014,
0.025607528164982796,
0.03226437419652939,
0.02926044911146164,
-0.014491153880953789,
0.007013792637735605,
0.008066093549132347,
0.024494964629411697,
-0.009160115383565426,
-0.002303935820236802,
0.031930603086948395,
0.015585175715386868,
-0.0033492830116301775,
-0.035342469811439514,
0.03975564241409302,
-0.03270939737558365,
-0.03228291496634483,
-0.043019164353609085,
0.025125417858362198,
-0.06827437877655029,
-0.0840357095003128,
-0.017430178821086884,
-0.01946987956762314,
-0.013805072754621506,
-0.0360100083053112,
-0.015965301543474197,
-0.032375629991292953,
0.036862973123788834,
0.026108182966709137,
0.010866047814488411,
-0.013424945995211601,
0.0511779710650444,
-0.021657923236489296,
0.04491052404046059,
0.020304303616285324,
-0.023419484496116638,
0.05458983778953552,
-0.046023089438676834,
0.013944142498075962,
0.06682804971933365,
0.042796652764081955,
-0.02629360929131508,
0.004756213631480932,
0.06968362629413605,
-0.0300207007676363,
0.019506966695189476,
0.019043397158384323,
0.026942605152726173,
0.040905293077230453,
0.030002158135175705,
0.024087022989988327,
-0.09093361347913742,
-0.024791646748781204,
-0.0067773726768791676,
-0.014815651811659336,
0.009164750576019287,
0.07483851164579391,
-0.018793070688843727,
-0.021824808791279793,
0.01651231199502945,
-0.04902701452374458,
0.014287183992564678,
-0.005052897613495588,
-0.03567623719573021,
-0.0032982905395329,
-0.0057807001285254955,
-0.0021579116582870483,
-0.0369742289185524,
0.0003514429263304919,
0.05444149300456047,
0.029742559418082237,
-0.01579841785132885,
0.021305611357092857,
0.029464418068528175,
0.07958545535802841,
0.007199219893664122,
0.01565934717655182,
-0.023864511400461197,
-0.004890648648142815,
0.002475456101819873,
0.02597838267683983,
0.0429820790886879,
-0.012729593552649021,
-0.0600414015352726,
0.03741925582289696,
0.030280299484729767,
0.0300207007676363,
0.020619530230760574,
0.0092435572296381,
-0.012303110212087631,
0.00796874426305294,
0.012627608142793179,
-0.021713552996516228,
0.023011544719338417,
0.10139171779155731,
0.018932141363620758
] |
719,460
|
ibm_platform_services.enterprise_management_v1
|
delete_account
|
Remove an account from its enterprise.
Remove an account from the enterprise its currently in. After an account is
removed, it will be canceled and cannot be reactivated.
:param str account_id: The ID of the target account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_account(
self,
account_id: str,
**kwargs,
) -> DetailedResponse:
"""
Remove an account from its enterprise.
Remove an account from the enterprise its currently in. After an account is
removed, it will be canceled and cannot be reactivated.
:param str account_id: The ID of the target account.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_account',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/accounts/{account_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04011376574635506,
0.012105226516723633,
0.023892385885119438,
-0.07319264858961105,
0.011197802610695362,
-0.02151624485850334,
-0.035436321049928665,
0.023312384262681007,
-0.03762536495923996,
-0.00876553077250719,
0.020580755546689034,
-0.012732003815472126,
-0.021684633567929268,
-0.0450531467795372,
-0.010542959906160831,
0.003489373717457056,
0.012769423425197601,
0.04422991722822189,
0.023798838257789612,
0.005659707821905613,
0.02172205224633217,
0.06851520389318466,
-0.017474932596087456,
0.0034589702263474464,
0.03077758476138115,
0.01089844573289156,
0.052125442773103714,
0.024790456518530846,
-0.03173178434371948,
0.036409229040145874,
0.0023246898781508207,
0.022040119394659996,
0.00395945692434907,
0.05538094416260719,
-0.06181710585951805,
-0.03657761588692665,
-0.008863757364451885,
0.035941485315561295,
-0.054295774549245834,
0.024322710931301117,
-0.04381829872727394,
0.02883176878094673,
0.08831015229225159,
0.008615853264927864,
-0.016773315146565437,
-0.029823387041687965,
0.004106796346604824,
-0.03820536658167839,
-0.049805428832769394,
0.0043991366401314735,
-0.002169164828956127,
-0.022395605221390724,
-0.0023843273520469666,
-0.043369267135858536,
0.029711127281188965,
0.027166597545146942,
-0.025557557120919228,
-0.03468792885541916,
-0.0180830005556345,
-0.008873112499713898,
0.01128199603408575,
-0.03139500692486763,
-0.03786858916282654,
-0.025258200243115425,
-0.026661433279514313,
-0.014752659946680069,
-0.03779375180602074,
-0.0065905191004276276,
-0.010355861857533455,
-0.011412964202463627,
-0.00971972942352295,
-0.015996860340237617,
0.018176550045609474,
-0.035174380987882614,
0.0059964838437736034,
0.0014266205253079534,
0.00649229297414422,
0.021684633567929268,
-0.013059425167739391,
0.004293893929570913,
-0.01834493689239025,
-0.04958091303706169,
-0.00042009298340417445,
-0.051115114241838455,
-0.02114204876124859,
0.051115114241838455,
-0.005743901710957289,
-0.039814408868551254,
-0.002144608413800597,
0.04916929826140404,
0.02144140563905239,
-0.02628723904490471,
-0.05934741720557213,
0.007685041520744562,
0.0452028252184391,
0.030833713710308075,
0.052162859588861465,
-0.015080081298947334,
-0.0039711506105959415,
0.007970365695655346,
0.013863945379853249,
-0.04591379687190056,
-0.022638831287622452,
0.02415432408452034,
0.026530465111136436,
-0.014060398563742638,
0.016155892983078957,
-0.04501572623848915,
0.05601707473397255,
0.016885574907064438,
-0.00620229123160243,
-0.011469094082713127,
0.015725567936897278,
-0.044417012482881546,
0.006487615406513214,
0.031376298516988754,
-0.01893429458141327,
-0.036708585917949677,
0.0034121957141906023,
-0.0012325065908953547,
0.03436986356973648,
-0.016502024605870247,
0.005107769276946783,
-0.011628126725554466,
0.02853241190314293,
-0.021085919812321663,
-0.037456974387168884,
0.010234248824417591,
0.014715240336954594,
-0.02845757268369198,
-0.025800783187150955,
-0.04262087494134903,
0.004060022067278624,
-0.027204018086194992,
0.050029948353767395,
0.05706482380628586,
0.03773762285709381,
0.023985935375094414,
-0.016502024605870247,
0.02647433616220951,
0.06395002454519272,
0.06473582983016968,
0.0012570632388815284,
0.014490722678601742,
-0.011955548077821732,
-0.03289179131388664,
-0.013152973726391792,
-0.04613831266760826,
-0.049768008291721344,
0.011020059697329998,
-0.057775795459747314,
0.0020767853129655123,
0.0252020712941885,
-0.009607470594346523,
-0.02512723207473755,
0.00006182996730785817,
-0.002495416672900319,
0.02295689843595028,
0.02284463867545128,
0.012797487899661064,
0.01653008908033371,
0.07940429449081421,
0.06361324340105057,
-0.022058827802538872,
0.005271479953080416,
-0.03291049972176552,
-0.050104785710573196,
-0.013901364989578724,
-0.033228565007448196,
-0.07379136234521866,
-0.024210453033447266,
-0.02712917886674404,
-0.0038097784854471684,
-0.007133102975785732,
-0.04935639351606369,
-0.011431674472987652,
0.053285449743270874,
-0.03285437077283859,
-0.0558299794793129,
-0.0007273426163010299,
0.030590487644076347,
-0.04845832660794258,
0.026848532259464264,
-0.01586589217185974,
0.0446041114628315,
-0.02059946581721306,
-0.0017563804285600781,
0.055530622601509094,
-0.008335205726325512,
-0.02744724415242672,
-0.04007634520530701,
-0.029243383556604385,
-0.0182326789945364,
0.02404206432402134,
-0.005687772762030363,
-0.04348152503371239,
0.02078656293451786,
-0.0733049139380455,
0.016698477789759636,
-0.05377190187573433,
-0.04711122065782547,
0.050965435802936554,
0.03929053246974945,
0.011759095825254917,
0.04733574017882347,
-0.001457024016417563,
0.0004569278680719435,
-0.08262237906455994,
0.007998430170118809,
-0.003915021196007729,
0.017212996259331703,
-0.031338877975940704,
0.012086516246199608,
0.022507863119244576,
-0.022395605221390724,
0.005640998017042875,
0.04131118953227997,
-0.023667870089411736,
0.05624159425497055,
0.024472389370203018,
0.0045043788850307465,
-0.036371808499097824,
0.03165694326162338,
-0.005009543150663376,
-0.01231103390455246,
-0.0015295243356376886,
0.0031853397376835346,
0.04580153524875641,
-0.0017411786830052733,
-0.05373448133468628,
0.02063688449561596,
0.009710375219583511,
-0.012086516246199608,
-0.04176022484898567,
-0.0007665161974728107,
-0.01845719665288925,
-0.0252394899725914,
-0.055680301040410995,
-0.01171232108026743,
0.04830864816904068,
0.011104253120720387,
0.016081053763628006,
0.01904655434191227,
0.05268673598766327,
-0.04516540467739105,
0.0030286454129964113,
-0.013630073517560959,
0.05515642464160919,
-0.011328770779073238,
-0.09497083723545074,
-0.013171683996915817,
-0.09467148035764694,
0.03463179990649223,
0.039926666766405106,
0.02291947789490223,
0.02179689146578312,
-0.01842913217842579,
-0.0011225866619497538,
-0.015931375324726105,
0.04116151109337807,
-0.018354292958974838,
-0.03805568814277649,
-0.046400249004364014,
-0.01542621199041605,
0.043331846594810486,
0.020150430500507355,
-0.01614653877913952,
0.07510104775428772,
0.10522378981113434,
-0.0029725159984081984,
0.08352044969797134,
0.009654245339334011,
0.04718606173992157,
0.02900015562772751,
-0.05814998969435692,
0.011749740689992905,
0.01180586963891983,
-0.04733574017882347,
0.0074652014300227165,
0.02422916330397129,
-0.02767176181077957,
-0.08823531121015549,
-0.016904285177588463,
-0.017914611846208572,
-0.015080081298947334,
-0.013078134506940842,
0.02744724415242672,
0.019420750439167023,
0.03208727017045021,
0.09766504168510437,
0.034089215099811554,
0.010000376030802727,
-0.07244426012039185,
0.022433023899793625,
0.0029725159984081984,
0.004911316558718681,
-0.03392082825303078,
-0.015182984992861748,
0.03659632429480553,
0.0672055259346962,
0.007371652405709028,
0.035941485315561295,
0.00022524819360114634,
-0.06484808772802353,
-0.04340668395161629,
-0.025987882167100906,
0.034089215099811554,
0.036951810121536255,
0.0167265422642231,
0.06851520389318466,
0.022189795970916748,
0.00903682317584753,
-0.045240242034196854,
-0.00787681620568037,
-0.003830827074125409,
-0.04254603385925293,
0.0393279530107975,
-0.03291049972176552,
-0.003910343628376722,
-0.012011677958071232,
-0.037569236010313034,
0.021104630082845688,
-0.010496185161173344,
-0.02697950042784214,
0.029916934669017792,
-0.020487207919359207,
0.023237545043230057,
0.059983547776937485,
0.03216210752725601,
-0.014060398563742638,
-0.022470442578196526,
-0.0016195651842281222,
-0.04699896275997162,
-0.012516841292381287,
-0.038149237632751465,
-0.10432571917772293,
0.05878612399101257,
-0.0003376530366949737,
0.026305947452783585,
0.07947913557291031,
-0.04400539770722389,
-0.017212996259331703,
0.03846730291843414,
0.021347856149077415,
0.0225265733897686,
-0.022227216511964798,
-0.004607283044606447,
-0.038804080337285995,
0.03306017816066742,
0.05852418765425682,
0.02581949345767498,
0.007095683366060257,
0.021572373807430267,
0.02183431014418602,
-0.010692638345062733,
-0.04804671183228493,
-0.029673708602786064,
0.05234995856881142,
-0.014864918775856495,
-0.03388340771198273,
-0.060058388859033585,
-0.02868209034204483,
-0.037494394928216934,
-0.0006063137552700937,
-0.012778778560459614,
-0.07038618624210358,
-0.03459437936544418,
-0.04262087494134903,
0.026156269013881683,
-0.022283345460891724,
-0.00007472948345821351,
-0.01919623278081417,
0.015313953161239624,
0.01104812417179346,
0.06383775919675827,
0.021085919812321663,
-0.0035057447385042906,
-0.000005974704436084721,
-0.028045957908034325,
0.0073202005587518215,
-0.007296813651919365,
-0.009747794829308987,
-0.018401065841317177,
-0.012535551562905312,
-0.03494986519217491,
0.020543336868286133,
0.009312791749835014,
-0.04696154221892357,
-0.026343367993831635,
0.046549927443265915,
0.0394776314496994,
0.011525223031640053,
0.00890585407614708,
-0.008452142588794231,
-0.06398744136095047,
-0.009088275022804737,
-0.03270469233393669,
-0.006080677732825279,
-0.05747643858194351,
0.003966473042964935,
-0.0006981085753068328,
0.06353840976953506,
0.0020265027415007353,
0.023331092670559883,
0.00040606065886095166,
0.021553663536906242,
-0.001103876857087016,
-0.05171382799744606,
0.0009419203852303326,
-0.03173178434371948,
0.006917940452694893,
0.02129172720015049,
-0.00814810860902071,
0.04235893860459328,
0.030908552929759026,
0.07360426336526871,
-0.062453240156173706,
-0.011310060508549213,
0.01726912520825863,
-0.05081575736403465,
-0.0037770364433526993,
-0.016502024605870247,
-0.05631643161177635,
-0.0224143136292696,
-0.031993720680475235,
-0.006698100361973047,
-0.021647213026881218,
0.046400249004364014,
0.023836256936192513,
-0.04830864816904068,
-0.003992198966443539,
-0.023256253451108932,
-0.056802887469530106,
-0.005112446844577789,
-0.022582702338695526,
0.04299506917595863,
-0.004565185867249966,
0.08890886604785919,
0.04613831266760826,
-0.011777805164456367,
-0.054482873529195786,
-0.021609794348478317,
0.024715617299079895,
-0.08741208165884018,
-0.0787307471036911,
0.050067365169525146,
0.02810208685696125,
-0.05571771785616875,
-0.020543336868286133,
0.0015447260811924934,
0.07970365136861801,
0.022638831287622452,
-0.019112037494778633,
-0.03161952644586563,
-0.030945973470807076,
-0.08344560861587524,
-0.03334082290530205,
0.03562341630458832,
0.02172205224633217,
-0.009392309002578259,
-0.01171232108026743,
0.0011266794754192233,
-0.00020288415544200689,
0.02361173927783966,
0.03019758127629757,
0.028775637969374657,
0.0791797786951065,
0.01029973290860653,
0.013237168081104755,
-0.023798838257789612,
-0.008629885502159595,
-0.02372399903833866,
0.01641783118247986,
0.08284689486026764,
0.015594599768519402,
0.07745847851037979,
0.040936995297670364,
-0.021927859634160995,
-0.03414534404873848,
0.015098790638148785,
0.05934741720557213,
0.03016016259789467,
0.031881462782621384,
-0.044304754585027695,
0.04924413561820984,
-0.02430400252342224,
0.030478227883577347,
0.044267334043979645,
-0.006637293845415115,
-0.0010413160780444741,
0.013901364989578724,
-0.03588535264134407,
-0.08569078147411346,
0.020505916327238083,
0.006482938304543495,
-0.07502620667219162,
0.02422916330397129,
0.0030964682810008526,
-0.00578599888831377,
-0.05474480986595154,
0.030403388664126396,
-0.07723396271467209,
0.03317243605852127,
-0.032461464405059814,
-0.005046962760388851,
0.02303173765540123,
-0.022040119394659996,
0.06731778383255005,
-0.017671385779976845,
0.007273426279425621,
-0.04464153200387955,
0.0223768949508667,
-0.03077758476138115,
-0.05231253802776337,
0.019308490678668022,
0.028738219290971756,
-0.05852418765425682,
0.003554857801645994,
0.014967822469770908,
0.010580379515886307,
-0.005814063362777233,
0.016071699559688568,
0.04591379687190056,
0.05358480289578438,
0.032573722302913666,
-0.008162140846252441,
-0.026212399825453758,
-0.01831687241792679,
0.04262087494134903,
-0.004396797623485327,
-0.012236194685101509,
-0.0021609794348478317,
0.02705433964729309,
-0.07476427406072617,
-0.020730433985590935,
-0.02465948835015297,
-0.08426883816719055,
0.0013167005963623524,
-0.009626180864870548,
0.0388789176940918,
0.0016371055971831083,
0.007441814057528973,
-0.033546630293130875,
-0.008985371328890324,
-0.06256549805402756,
-0.02009430155158043,
0.027185307815670967,
0.043182168155908585,
-0.005098414607346058,
0.03042209893465042,
0.057925473898649216,
-0.0307027455419302,
0.048757683485746384,
0.05425835773348808,
-0.02299431711435318,
0.07154618948698044,
-0.06881456077098846,
-0.05294867232441902,
0.007273426279425621,
-0.06181710585951805,
-0.020580755546689034,
0.05878612399101257,
0.022227216511964798,
0.00507970480248332,
0.06069451943039894,
0.004289216827601194,
0.0508531779050827,
0.008686014451086521,
0.045277662575244904,
-0.012470067478716373,
-0.07068554311990738,
0.03592277318239212,
-0.018288807943463326,
0.008952628821134567,
-0.06346356868743896,
0.030216291546821594,
0.0225639920681715,
-0.05425835773348808,
0.029991773888468742,
0.05463255196809769,
-0.04250861704349518,
-0.05953451246023178,
0.02477174624800682,
-0.0508531779050827,
-0.0282143447548151,
0.032105978578329086,
0.018354292958974838,
-0.030515648424625397,
0.05534352362155914,
0.004962768405675888,
-0.005154544021934271,
0.006422131322324276,
0.023013027384877205,
-0.03610987216234207,
0.013209103606641293,
0.010814251378178596,
0.021104630082845688,
-0.029673708602786064,
-0.053285449743270874,
-0.004424862563610077,
0.051264792680740356,
-0.050029948353767395,
0.04153570905327797,
0.016558153554797173,
0.048907358199357986,
0.05201318487524986,
-0.015388792380690575,
-0.07113457471132278,
-0.004808412864804268,
-0.05706482380628586,
-0.009088275022804737,
-0.0007086328696459532,
0.013742332346737385,
0.022395605221390724,
0.012788133695721626,
-0.020767854526638985,
0.05287383124232292,
-0.046624768525362015,
-0.026231108233332634,
0.025333039462566376,
0.009962956421077251,
-0.022283345460891724,
-0.039851825684309006,
0.05197576433420181,
-0.029486609622836113,
0.05743901804089546,
0.022320766001939774,
-0.02559497579932213,
-0.08105076104402542,
0.016071699559688568,
-0.08307141810655594,
0.07700944691896439,
-0.0901811271905899,
-0.015257824212312698,
-0.023162705823779106,
-0.006730842869728804,
0.017718160524964333,
-0.015388792380690575,
0.01099199429154396,
-0.01269458420574665,
0.052200280129909515,
0.04625057056546211,
-0.04860800504684448,
0.09250114113092422,
-0.029991773888468742,
0.0450531467795372,
-0.03712020069360733,
-0.0391782745718956,
-0.02028139866888523,
-0.029561448842287064,
-0.030908552929759026,
0.014743304811418056,
-0.045502182096242905,
-0.004233087413012981,
-0.013527169823646545,
0.06548422574996948,
0.03921569511294365,
0.08711272478103638,
-0.0336776003241539,
0.05811256915330887,
0.05343512445688248,
-0.0037279233802109957,
0.009401663206517696,
-0.05706482380628586,
0.002869612304493785,
-0.01729718968272209,
0.0393279530107975,
-0.019888494163751602,
0.033546630293130875,
-0.035941485315561295,
-0.00563164334744215,
-0.013835880905389786,
0.007783267647027969,
-0.004328974988311529,
-0.007245361339300871,
0.011955548077821732,
-0.04119893163442612,
0.025632396340370178,
0.02422916330397129,
-0.000544629932846874,
0.043107327073812485,
-0.0031502589117735624,
0.04306991025805473,
-0.034089215099811554,
0.0390285961329937,
-0.02056204527616501,
0.036091163754463196,
0.00767568638548255,
-0.05463255196809769,
-0.019345911219716072,
-0.027035629376769066,
-0.03562341630458832,
-0.03204984962940216,
-0.013396200723946095,
0.04905703663825989,
-0.01066457387059927,
-0.033004049211740494,
-0.013966849073767662,
-0.014406529255211353,
-0.0017014204058796167,
0.020000752061605453,
-0.031020812690258026,
0.044379591941833496,
0.007685041520744562,
0.010355861857533455,
0.02187173068523407,
0.014294270426034927,
-0.06686874479055405,
0.05511900782585144,
0.004892606753855944,
-0.005374383646994829,
0.05717708170413971,
0.015903310850262642,
0.015201694332063198,
-0.007685041520744562,
0.10335281491279602,
-0.03274211287498474,
-0.06028290465474129,
-0.013966849073767662,
0.062116462737321854,
0.012442002072930336,
0.022657541558146477,
0.036484066396951675,
-0.01815783977508545,
-0.01031844224780798,
-0.002178519731387496,
0.023125285282731056,
0.058898381888866425,
0.026530465111136436,
0.031076941639184952,
0.022825928404927254,
-0.004864542279392481,
-0.026343367993831635,
0.06941327452659607,
-0.025370460003614426,
0.017128800973296165,
0.007109715603291988,
-0.03294792026281357,
0.057700954377651215,
0.012975230813026428,
-0.018597519025206566,
0.06634487211704254,
0.02071172371506691,
-0.029973063617944717,
0.00024220392515417188,
0.049805428832769394,
0.003985182847827673,
0.02570723555982113,
0.06249065697193146,
-0.0022592057939618826,
0.018419776111841202,
-0.047784771770238876,
0.024472389370203018,
0.038766659796237946,
0.03508083522319794,
-0.029673708602786064,
-0.043219588696956635,
0.01468717586249113,
0.02097366191446781,
0.013134264387190342,
0.025520136579871178,
0.012629100121557713,
-0.027858858928084373,
-0.03016016259789467,
0.027503373101353645,
-0.01896236091852188,
0.06593325734138489,
0.013826525770127773
] |
719,461
|
ibm_platform_services.enterprise_management_v1
|
delete_account_group
|
Delete an account group from the enterprise.
Delete an existing account group from the enterprise. You can't delete an account
group that has child account groups, the delete request will fail. This API
doesn't perform a recursive delete on the child account groups, it only deletes
the current account group.
:param str account_group_id: The ID of the account group to retrieve.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_account_group(
self,
account_group_id: str,
**kwargs,
) -> DetailedResponse:
"""
Delete an account group from the enterprise.
Delete an existing account group from the enterprise. You can't delete an account
group that has child account groups, the delete request will fail. This API
doesn't perform a recursive delete on the child account groups, it only deletes
the current account group.
:param str account_group_id: The ID of the account group to retrieve.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not account_group_id:
raise ValueError('account_group_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_account_group',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['account_group_id']
path_param_values = self.encode_path_vars(account_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/account-groups/{account_group_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, account_group_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.03423643112182617,
0.041597720235586166,
-0.05026238411664963,
-0.03232726827263832,
0.030252888798713684,
-0.05275898054242134,
-0.015980061143636703,
0.059330906718969345,
-0.016255419701337814,
0.0196607057005167,
0.056136731058359146,
-0.00752650760114193,
0.016494065523147583,
-0.018100332468748093,
-0.032694414258003235,
-0.03713688999414444,
-0.021202722564339638,
-0.02557176910340786,
0.02314860001206398,
-0.035888589918613434,
-0.02311188541352749,
0.04945466294884682,
-0.028619086369872093,
-0.003949121572077274,
0.022451020777225494,
0.025204621255397797,
0.03331856429576874,
0.025351479649543762,
-0.018908055499196053,
0.04710492119193077,
0.018173761665821075,
-0.019550561904907227,
0.00848567858338356,
0.07240132987499237,
-0.059624627232551575,
-0.08525146543979645,
0.0185500867664814,
0.009646779857575893,
-0.05712802708148956,
0.002817851025611162,
0.0015053014503791928,
0.023350531235337257,
0.034566864371299744,
-0.006980376783758402,
-0.012253521010279655,
-0.01343756914138794,
-0.026489635929465294,
-0.008898718282580376,
-0.04692135006189346,
-0.020541857928037643,
-0.0207254309207201,
-0.07776167243719101,
-0.011537585407495499,
-0.034071214497089386,
-0.018944770097732544,
0.009729388169944286,
-0.01508972980082035,
-0.06300237774848938,
0.003324972465634346,
-0.001050383783876896,
0.024305112659931183,
0.010821648873388767,
-0.03252919763326645,
-0.023515745997428894,
-0.04879379644989967,
-0.0005337969050742686,
-0.11330147087574005,
0.0022304162848740816,
-0.006897768937051296,
-0.019275201484560966,
-0.054447855800390244,
0.024562114849686623,
0.015557841397821903,
-0.05459471419453621,
-0.0301794596016407,
0.029812313616275787,
-0.021092578768730164,
0.03799968585371971,
0.0072006648406386375,
0.03291470184922218,
-0.008022155612707138,
-0.031005539000034332,
0.05198797211050987,
-0.03910112380981445,
0.0014628501376137137,
-0.014584902673959732,
0.02399303764104843,
-0.002361212158575654,
0.01719164475798607,
-0.024819117039442062,
-0.003458063118159771,
0.0033203831408172846,
-0.04460832476615906,
-0.012840956449508667,
0.032731130719184875,
-0.002856860402971506,
0.021624941378831863,
0.03686152771115303,
-0.012528881430625916,
-0.01050039567053318,
0.0010331737576052547,
-0.031354330480098724,
-0.03632916510105133,
-0.027021998539566994,
0.026856781914830208,
-0.01853173039853573,
0.03715524822473526,
-0.017925938591361046,
0.03302484750747681,
0.033777497708797455,
-0.00871973391622305,
-0.05889033153653145,
0.029738882556557655,
-0.036953315138816833,
0.004206124693155289,
0.04042285308241844,
-0.025975629687309265,
-0.06858300417661667,
0.0654989704489708,
-0.03799968585371971,
0.01938534714281559,
-0.03680645674467087,
0.02261623740196228,
0.01238202303647995,
0.04336002469062805,
0.026214275509119034,
-0.03553980216383934,
0.05562272667884827,
0.026526350528001785,
-0.02505776286125183,
0.019513847306370735,
-0.005291501991450787,
-0.0028155562467873096,
-0.02311188541352749,
0.03706346079707146,
0.0036599936429411173,
-0.007916600443422794,
0.04798607528209686,
-0.005245608743280172,
0.007393416948616505,
0.08833549916744232,
0.00035710755037143826,
-0.0015271008014678955,
0.052612122148275375,
0.0018139341846108437,
-0.0005412545870058239,
0.028417155146598816,
-0.08040513098239899,
-0.07856939733028412,
-0.0005392467137426138,
-0.046664346009492874,
-0.0163747426122427,
0.03280455991625786,
-0.020137997344136238,
-0.030895395204424858,
0.04732521250844002,
-0.03743060678243637,
0.01964234933257103,
0.04842665046453476,
0.009756923653185368,
-0.01934863068163395,
0.057421743869781494,
0.02502104826271534,
-0.02905966155230999,
0.002033074852079153,
-0.018761197105050087,
0.01522741001099348,
0.027591075748205185,
-0.020505143329501152,
-0.04056971147656441,
-0.07309891283512115,
0.02553505450487137,
-0.03684317320585251,
0.0038825764786452055,
-0.05841303989291191,
0.06946415454149246,
0.03361228108406067,
0.016218705102801323,
-0.00930716935545206,
-0.011197974905371666,
-0.04196486994624138,
-0.009325526654720306,
0.05062953010201454,
-0.027077069506049156,
0.015677165240049362,
0.030858680605888367,
-0.021055864170193672,
0.06215793639421463,
-0.04596676677465439,
-0.06494825333356857,
-0.023075170814990997,
-0.058009181171655655,
-0.010197499766945839,
0.021643297746777534,
-0.004320858046412468,
-0.05433771386742592,
0.032694414258003235,
-0.026416204869747162,
0.027627790346741676,
0.043213166296482086,
-0.019715778529644012,
0.008816109970211983,
0.056136731058359146,
0.04174458235502243,
0.006053331308066845,
-0.03451178967952728,
-0.03339199349284172,
0.012923563830554485,
-0.03847697377204895,
0.012877671048045158,
0.00712264608591795,
-0.044277891516685486,
0.019587276503443718,
0.023625889793038368,
0.01548441220074892,
0.027260642498731613,
0.054227568209171295,
0.006406710017472506,
-0.004692594055086374,
-0.005888115148991346,
0.0003912406973540783,
-0.003999604377895594,
0.03397942706942558,
-0.00366228842176497,
-0.05753188952803612,
-0.02452540025115013,
0.00242775771766901,
0.02718721330165863,
-0.017402753233909607,
-0.021110935136675835,
0.008375533856451511,
-0.02256116457283497,
0.033208418637514114,
0.014070897363126278,
0.0005598987336270511,
-0.03473207727074623,
0.01825636997818947,
-0.019770849496126175,
0.011005222797393799,
0.037816110998392105,
-0.017063142731785774,
0.03120747022330761,
0.05672416463494301,
0.06531540304422379,
-0.04178129509091377,
0.019458776339888573,
-0.007393416948616505,
0.03412628546357155,
0.04042285308241844,
-0.030620034784078598,
-0.042405445128679276,
-0.08378288149833679,
0.021661655977368355,
0.0042153033427894115,
0.024396898224949837,
-0.014236113987863064,
-0.012602310627698898,
0.007173128891736269,
0.01825636997818947,
0.05143725499510765,
-0.004148758016526699,
-0.02909637615084648,
-0.02797657996416092,
0.008389302529394627,
0.055329009890556335,
0.033557210117578506,
-0.01616363413631916,
0.04178129509091377,
0.0994967594742775,
0.013648678548634052,
0.09215382486581802,
0.013070423156023026,
0.018238013610243797,
0.0028109669219702482,
-0.07328248023986816,
0.012033233419060707,
-0.018696947023272514,
-0.0684361457824707,
0.0012964868219569325,
-0.02021142654120922,
0.0049702487885952,
-0.04192815348505974,
-0.058486469089984894,
-0.03899098187685013,
-0.004697183147072792,
0.07504478842020035,
-0.009366830810904503,
0.0004199240356683731,
-0.008421427570283413,
0.06942744553089142,
-0.002579205669462681,
0.01744864694774151,
-0.08260800689458847,
0.02100079134106636,
-0.061533790081739426,
-0.024617187678813934,
-0.026416204869747162,
-0.01666846126317978,
0.019165057688951492,
0.024433612823486328,
0.018733661621809006,
0.006314923521131277,
0.008403070271015167,
-0.016016775742173195,
-0.05672416463494301,
-0.03519101068377495,
0.02961038239300251,
0.01664092391729355,
0.025167906656861305,
0.051804400980472565,
-0.03493401035666466,
-0.017044786363840103,
0.026507992297410965,
-0.009366830810904503,
-0.026709923520684242,
0.0009436817490495741,
0.0597347691655159,
-0.019734134897589684,
0.012079127132892609,
0.0010102271335199475,
-0.0018322916002944112,
-0.027774648740887642,
0.022249091416597366,
-0.015741415321826935,
0.05466814339160919,
-0.03581516072154045,
0.04056971147656441,
0.04269916191697121,
0.08738091588020325,
-0.014034182764589787,
0.040496282279491425,
-0.03438328951597214,
-0.028123438358306885,
0.022671308368444443,
0.0007979704532772303,
-0.09626586735248566,
0.013777180574834347,
-0.05709131434559822,
-0.00048646939103491604,
0.013501820154488087,
-0.022708024829626083,
-0.006227726116776466,
0.03531951457262039,
0.0196607057005167,
0.027903150767087936,
-0.022212374955415726,
0.04067985713481903,
-0.06494825333356857,
0.00037948053795844316,
0.06428738683462143,
-0.007319987285882235,
0.005979902110993862,
0.04233201593160629,
0.018908055499196053,
-0.008623357862234116,
-0.0030335497576743364,
0.0148235484957695,
0.05900047719478607,
0.017136571928858757,
-0.03148283064365387,
-0.03552144393324852,
-0.02553505450487137,
-0.035099226981401443,
-0.0008186224149540067,
0.001018258393742144,
-0.05580630153417587,
-0.09553157538175583,
-0.02687513828277588,
0.006521443370729685,
0.04225858673453331,
0.02876594476401806,
0.005484254099428654,
0.021716726943850517,
0.027848077937960625,
0.035117581486701965,
0.014061719179153442,
0.010693147778511047,
-0.024635544046759605,
0.01549359131604433,
-0.01614527590572834,
0.0512169674038887,
-0.014034182764589787,
-0.03313498944044113,
0.01834815740585327,
-0.046664346009492874,
-0.006824339274317026,
0.030528249219059944,
0.032400697469711304,
-0.05081310495734215,
0.0021351876202970743,
0.04137743264436722,
-0.025902200490236282,
0.029445165768265724,
-0.003717360319569707,
-0.07834910601377487,
-0.023222029209136963,
-0.022451020777225494,
-0.00003171301432303153,
-0.05195125937461853,
0.03634752333164215,
0.003448884468525648,
0.08613261580467224,
-0.016016775742173195,
0.005686184857040644,
0.045930054038763046,
0.018495015799999237,
0.0035246084444224834,
-0.05084981769323349,
-0.006631587632000446,
0.0004930665600113571,
0.03721031919121742,
0.05198797211050987,
-0.02149643935263157,
0.02202880196273327,
0.01615445502102375,
0.06502167880535126,
-0.026306061074137688,
0.02797657996416092,
0.01023421436548233,
-0.020652001723647118,
-0.018476657569408417,
-0.0066774808801710606,
-0.05169425532221794,
0.010840006172657013,
-0.008279158733785152,
-0.04930780455470085,
0.04820636287331581,
0.013079601339995861,
0.0027283590752631426,
-0.04541604965925217,
0.025186264887452126,
-0.023222029209136963,
-0.09655958414077759,
0.009481564164161682,
-0.056944455951452255,
0.03961512818932533,
-0.03442000225186348,
0.05892704799771309,
0.05092324689030647,
0.004662763327360153,
-0.04901408404111862,
-0.028362082317471504,
0.01401582546532154,
-0.020376643165946007,
-0.05657730624079704,
0.015723057091236115,
0.04974837973713875,
-0.04600348323583603,
0.01726507395505905,
-0.009073113091289997,
0.07309891283512115,
0.022708024829626083,
0.002586089540272951,
0.002436936367303133,
-0.02237759158015251,
-0.045930054038763046,
-0.022267447784543037,
-0.03717360273003578,
0.025094477459788322,
-0.014236113987863064,
0.02500269003212452,
0.002212058985605836,
-0.00712264608591795,
0.016888748854398727,
0.03306156024336815,
0.045048899948596954,
0.07643994688987732,
0.006861054338514805,
0.02419496886432171,
-0.037302106618881226,
-0.004187766928225756,
-0.016815319657325745,
-0.004396582022309303,
0.07592593878507614,
-0.03291470184922218,
0.07166703790426254,
0.021588226780295372,
0.010849185287952423,
-0.015567020513117313,
0.07016173750162125,
0.0307118222117424,
-0.03796296939253807,
0.04413103312253952,
-0.05889033153653145,
0.02502104826271534,
-0.06740813702344894,
0.009385188110172749,
0.01907327212393284,
-0.02983066998422146,
-0.031849976629018784,
0.03208862245082855,
-0.03614559397101402,
-0.06861972063779831,
-0.024617187678813934,
0.04607691243290901,
-0.0554758682847023,
0.007182307541370392,
0.01384143065661192,
-0.001037763082422316,
-0.07346605509519577,
-0.004453948698937893,
-0.03207026422023773,
-0.034970723092556,
-0.0782022476196289,
0.02905966155230999,
-0.01670517586171627,
0.014098433777689934,
0.02584712766110897,
-0.005465896800160408,
-0.002705412218347192,
-0.04662763327360153,
0.01673271134495735,
-0.029224878177046776,
-0.0018449121853336692,
-0.0015248061390593648,
0.026012344285845757,
-0.07967083901166916,
0.015557841397821903,
0.03445671871304512,
0.023332173004746437,
-0.0005309285479597747,
0.0018862162251025438,
-0.002352033508941531,
0.028876088559627533,
0.016007596626877785,
-0.03743060678243637,
-0.02017471194267273,
-0.0024575882125645876,
0.028196867555379868,
-0.015750594437122345,
0.018421586602926254,
0.017081500962376595,
0.012896028347313404,
-0.026489635929465294,
-0.045856624841690063,
-0.03157461807131767,
-0.05672416463494301,
0.027095427736639977,
-0.06649027019739151,
0.01940370351076126,
-0.01463997457176447,
-0.07328248023986816,
-0.07199747115373611,
-0.01304288674145937,
-0.07005159556865692,
0.021331224590539932,
0.06946415454149246,
0.04093685746192932,
0.015172338113188744,
0.037577465176582336,
0.04923437535762787,
0.0005908767343498766,
0.05870676040649414,
0.0665636956691742,
0.02825193852186203,
0.02525969408452511,
-0.06979458779096603,
-0.04703149199485779,
0.005833043251186609,
-0.07886311411857605,
-0.008976737037301064,
0.041010286659002304,
0.051804400980472565,
-0.027664504945278168,
0.009646779857575893,
0.0803316980600357,
0.024910904467105865,
0.01853173039853573,
0.011363190598785877,
0.02665485069155693,
-0.05980819836258888,
-0.00861417967826128,
-0.024837475270032883,
-0.03118911199271679,
-0.04816964641213417,
0.07827568054199219,
-0.005337395239621401,
0.005823864601552486,
0.04056971147656441,
-0.04475518316030502,
0.005089571233838797,
-0.036953315138816833,
0.04200158268213272,
-0.00031350887729786336,
-0.02667320892214775,
0.02584712766110897,
0.03155625984072685,
-0.03737553581595421,
0.011537585407495499,
0.03306156024336815,
-0.012134199030697346,
0.01858680136501789,
0.02204716019332409,
-0.026195917278528214,
0.011611014604568481,
0.037247031927108765,
0.017393575981259346,
-0.01773318648338318,
-0.04486532881855965,
-0.00761370500549674,
0.05110682174563408,
-0.021312866359949112,
0.05430099740624428,
0.03194176405668259,
0.04681120440363884,
0.058853618800640106,
-0.02718721330165863,
-0.08069884777069092,
0.004472305998206139,
-0.05463143065571785,
-0.0733191967010498,
-0.027517646551132202,
0.0011272551491856575,
0.01834815740585327,
-0.005126285832375288,
-0.04310302436351776,
0.038660548627376556,
-0.026783352717757225,
0.03038139082491398,
0.01010571327060461,
0.04982180893421173,
0.02101914957165718,
0.022965027019381523,
0.06384681165218353,
-0.014841905795037746,
0.05947776511311531,
0.005631112493574619,
0.018981484696269035,
-0.07636651396751404,
-0.005663238000124693,
-0.05889033153653145,
0.03438328951597214,
-0.07915683090686798,
-0.02880265936255455,
0.0005071213818155229,
-0.005966133903712034,
0.05040924251079559,
0.004887640476226807,
0.016585852950811386,
-0.0198809951543808,
0.011482513509690762,
0.0371001735329628,
-0.031372684985399246,
0.047398641705513,
-0.034566864371299744,
0.07541193068027496,
-0.018770376220345497,
-0.0034764204174280167,
0.025351479649543762,
-0.0512169674038887,
-0.034089572727680206,
0.037779394537210464,
-0.055843014270067215,
-0.07155689597129822,
-0.02555341087281704,
0.08363602310419083,
-0.006760088726878166,
0.05459471419453621,
-0.06726127862930298,
0.01534673199057579,
0.05889033153653145,
0.030307961627840996,
-0.006333280820399523,
-0.07152017951011658,
-0.035392943769693375,
-0.031134041026234627,
0.04747207090258598,
0.005869757849723101,
0.060689352452754974,
-0.042368728667497635,
-0.02285488322377205,
-0.02390125021338463,
-0.012473809532821178,
0.025186264887452126,
-0.028949517756700516,
0.004229071084409952,
-0.006737141869962215,
-0.016861213371157646,
0.03260262683033943,
0.00957335066050291,
0.08216743171215057,
0.03961512818932533,
0.011767052114009857,
-0.04761892929673195,
0.03607216477394104,
0.005934008862823248,
0.03012438677251339,
0.00013617414515465498,
-0.02854565717279911,
-0.014731761999428272,
-0.012198449112474918,
-0.005470485892146826,
-0.08055198937654495,
-0.04108371585607529,
0.049638234078884125,
-0.009463206864893436,
-0.04064314067363739,
-0.0066086407750844955,
-0.020009495317935944,
0.028582371771335602,
0.007856939919292927,
-0.02799493633210659,
0.014805191196501255,
0.025681912899017334,
-0.0005713720456697047,
0.07342933863401413,
0.012951100245118141,
-0.03012438677251339,
-0.00741177424788475,
-0.025461623445153236,
0.014621617272496223,
0.060689352452754974,
-0.03289634361863136,
-0.044020891189575195,
0.0048968191258609295,
0.055549297481775284,
-0.026214275509119034,
-0.07236461341381073,
-0.011078651994466782,
0.04277259111404419,
0.013428390957415104,
-0.0017519781831651926,
-0.009325526654720306,
-0.00014728892710991204,
-0.030473176389932632,
-0.04868365451693535,
-0.02637949027121067,
0.07049217075109482,
0.029977528378367424,
-0.009366830810904503,
0.07412692159414291,
0.030050957575440407,
-0.010968508198857307,
-0.014529830776154995,
0.02259787917137146,
0.009119006805121899,
0.0050344993360340595,
-0.044314607977867126,
0.05980819836258888,
-0.006392942275851965,
0.03438328951597214,
0.03276784345507622,
-0.0008214907720685005,
-0.06127678602933884,
-0.012565596029162407,
0.012703276239335537,
0.03500743955373764,
-0.00269393902271986,
0.028931161388754845,
-0.011629371903836727,
0.002657224191352725,
-0.01829308457672596,
0.02990409918129444,
0.06285551935434341,
0.04170786589384079,
-0.03708181902766228,
0.00476831803098321,
0.0180636178702116,
0.0054888431914150715,
0.014208577573299408,
0.024653902277350426,
0.02553505450487137,
0.0036990030203014612,
-0.019238486886024475,
-0.005291501991450787,
0.015392625704407692,
0.019330274313688278,
-0.012739990837872028
] |
719,465
|
ibm_platform_services.enterprise_management_v1
|
get_account
|
Get account by ID.
Retrieve an account by the `account_id` parameter. All data related to the account
is returned only if the caller has access to retrieve the account.
:param str account_id: The ID of the target 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 representing a `Account` object
|
def get_account(
self,
account_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get account by ID.
Retrieve an account by the `account_id` parameter. All data related to the account
is returned only if the caller has access to retrieve the account.
:param str account_id: The ID of the target 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 representing a `Account` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_account',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/accounts/{account_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04213440418243408,
0.007649071980267763,
-0.003156393999233842,
-0.01670815236866474,
0.026246452704072,
-0.008160545490682125,
-0.01171321701258421,
-0.014865003526210785,
-0.022504858672618866,
-0.04773757979273796,
0.01468990370631218,
-0.018569733947515488,
0.00878260936588049,
-0.022560153156518936,
0.009823988191783428,
0.029121767729520798,
0.04770071804523468,
0.03855869546532631,
0.01630266010761261,
0.011270861141383648,
0.036752406507730484,
0.03518573194742203,
-0.006893380545079708,
0.01809973083436489,
0.05101838707923889,
0.02652292512357235,
0.022044071927666664,
-0.013031069189310074,
0.026025274768471718,
0.06867576390504837,
0.019408367574214935,
-0.022099366411566734,
0.007326520513743162,
0.054925866425037384,
-0.07501620054244995,
-0.0165975634008646,
0.008764177560806274,
0.05651097372174263,
-0.10115206241607666,
0.02954569086432457,
-0.009234180673956871,
0.021288380026817322,
0.11840394139289856,
0.004128655418753624,
-0.029177062213420868,
-0.03929595276713371,
0.006510926876217127,
-0.05946001410484314,
-0.06557927280664444,
-0.019703270867466927,
0.07413148880004883,
0.0064279851503670216,
-0.019592681899666786,
-0.07265696674585342,
0.017666591331362724,
-0.023076236248016357,
-0.03627318888902664,
-0.019058169797062874,
-0.02080916240811348,
-0.0032485516276210546,
-0.005686117336153984,
-0.03350846469402313,
-0.0055202338844537735,
-0.03470651060342789,
-0.018348556011915207,
0.0023281285539269447,
-0.07037146389484406,
0.01036771759390831,
-0.019353073090314865,
-0.009298690594732761,
0.012754596769809723,
0.0426504872739315,
0.03236570954322815,
-0.016016971319913864,
-0.018201105296611786,
-0.03807947412133217,
-0.0105243856087327,
-0.021620146930217743,
-0.028071172535419464,
0.0415445975959301,
-0.0319049246609211,
-0.03852182999253273,
-0.019039737060666084,
-0.03255002573132515,
-0.03269747644662857,
0.03490925580263138,
-0.02993275225162506,
-0.058206669986248016,
0.001348955323919654,
0.014256764203310013,
0.011630275286734104,
-0.03785829618573189,
-0.049138374626636505,
0.037508100271224976,
-0.001254493836313486,
-0.029011178761720657,
0.018413066864013672,
0.006165336351841688,
-0.009630457498133183,
0.07015027850866318,
-0.05035485327243805,
-0.05724823474884033,
-0.030153930187225342,
0.049470141530036926,
0.03658652305603027,
-0.016938546672463417,
0.0007873705471865833,
-0.007732013706117868,
0.05636352300643921,
0.013823623768985271,
-0.013731466606259346,
0.016754232347011566,
0.016956977546215057,
-0.00447885412722826,
-0.0005684965290129185,
0.01819188892841339,
0.001413465477526188,
0.03581240028142929,
-0.02665194682776928,
-0.006358867045491934,
0.042908526957035065,
-0.02388722077012062,
0.02337113954126835,
-0.006031707860529423,
0.000011699681635946035,
-0.018984442576766014,
-0.04722149670124054,
0.01051517017185688,
0.017003057524561882,
0.002580409636721015,
-0.006801222916692495,
-0.052419181913137436,
-0.02965627983212471,
0.012671655043959618,
0.04534148424863815,
0.049396414309740067,
0.022154660895466805,
0.07136676460504532,
-0.019242484122514725,
0.06428906321525574,
0.0348723940551281,
0.009501437656581402,
0.011998905800282955,
-0.02044053189456463,
-0.017979927361011505,
-0.03586769476532936,
0.01165792252868414,
-0.034153565764427185,
-0.018836991861462593,
-0.030430404469370842,
0.00667220214381814,
-0.01194361038506031,
0.008648980408906937,
0.00801309384405613,
-0.04132341966032982,
-0.023131530731916428,
0.025361740961670876,
0.0209566131234169,
0.06281454861164093,
-0.0027140381280332804,
-0.02084602415561676,
0.040143802762031555,
0.04128655418753624,
-0.06642711907625198,
-0.006082394625991583,
-0.02696528099477291,
-0.07144048810005188,
-0.027868425473570824,
-0.00458483537659049,
-0.0485854297876358,
-0.03540690988302231,
-0.03360062092542648,
-0.051755648106336594,
-0.01328910980373621,
-0.0823519304394722,
-0.05931255966424942,
0.02348172850906849,
-0.03599671646952629,
-0.05020740255713463,
0.03009863570332527,
0.030835896730422974,
-0.07674875855445862,
-0.007082303054630756,
0.02042209915816784,
0.015648342669010162,
-0.011740864254534245,
0.06148747727274895,
0.058132946491241455,
0.024790365248918533,
0.005031798966228962,
0.0024030066560953856,
-0.006368082482367754,
0.004126351792365313,
-0.03266061469912529,
-0.04460422694683075,
-0.07667503505945206,
0.04235558211803436,
-0.046336784958839417,
-0.022541722282767296,
-0.02692841924726963,
0.004939641337841749,
0.021767599508166313,
0.03478023782372475,
0.03258688747882843,
0.04195009171962738,
-0.01057046465575695,
0.01650540716946125,
-0.039885763078927994,
-0.007667503319680691,
0.010699484497308731,
0.005667685531079769,
-0.04183950275182724,
-0.028071172535419464,
0.013187737204134464,
-0.042576760053634644,
0.07910799235105515,
0.00254815467633307,
-0.02930608205497265,
0.08050878345966339,
0.00588886346668005,
0.012321456335484982,
-0.06944988667964935,
0.007478580344468355,
0.010690269060432911,
-0.02056955173611641,
-0.004819836933165789,
0.03852182999253273,
0.02110406570136547,
-0.05068662017583847,
-0.04652110114693642,
0.02718646079301834,
-0.004393608309328556,
-0.033950820565223694,
-0.025933118537068367,
-0.04386696591973305,
-0.01593402959406376,
0.027813130989670753,
-0.03507513925433159,
0.026154296472668648,
0.03533318266272545,
0.042576760053634644,
0.043314021080732346,
0.019187189638614655,
0.03557279333472252,
-0.0873652994632721,
-0.04169204831123352,
-0.03605201095342636,
0.04242930933833122,
-0.011224782094359398,
-0.09038806706666946,
-0.013418130576610565,
-0.04161832481622696,
0.03612573817372322,
0.04095478728413582,
0.003184041241183877,
-0.05603175610303879,
-0.029195493087172508,
-0.07180912047624588,
0.011243213899433613,
0.02687312476336956,
-0.02668880857527256,
-0.00864437222480774,
-0.03855869546532631,
-0.011399881914258003,
0.01723344996571541,
0.017049135640263557,
-0.015712851658463478,
0.030467266216874123,
0.08618568629026413,
-0.02392408438026905,
0.0535987950861454,
0.05087093636393547,
0.009741046465933323,
0.03336101025342941,
-0.039812035858631134,
0.005534057505428791,
0.0717722550034523,
0.012459692545235157,
-0.052492905408144,
0.014275195077061653,
-0.08021388202905655,
-0.046226195991039276,
0.005008759442716837,
-0.0535987950861454,
0.011086545884609222,
-0.06631653010845184,
0.02692841924726963,
0.013537934981286526,
-0.009206533432006836,
0.046373650431632996,
0.0699291005730629,
-0.013003421947360039,
-0.049654457718133926,
0.009409279562532902,
0.003866006853058934,
-0.029121767729520798,
-0.04441991075873375,
-0.033895526081323624,
0.03948026895523071,
0.036752406507730484,
-0.037452805787324905,
0.016975410282611847,
0.03623632714152336,
-0.028310781344771385,
-0.02694685012102127,
-0.021527990698814392,
0.013823623768985271,
0.027979014441370964,
0.006515534594655037,
0.04832739010453224,
0.009266436100006104,
-0.0019410671666264534,
-0.005709156394004822,
0.0019065081141889095,
-0.028255486860871315,
-0.052050549536943436,
0.007842602208256721,
-0.0005085941520519555,
0.022080935537815094,
0.02641233615577221,
-0.049248963594436646,
0.04987563565373421,
-0.005584743805229664,
-0.037379078567028046,
0.011261645704507828,
0.025914685800671577,
0.02628331631422043,
0.07339422404766083,
0.03304767608642578,
0.049212101846933365,
-0.018127378076314926,
0.000004891366643278161,
-0.06023413687944412,
-0.01170400157570839,
-0.046594828367233276,
-0.06237218901515007,
0.01741776615381241,
-0.03457748889923096,
0.022523291409015656,
0.06819654256105423,
0.00013967619452159852,
-0.06421533972024918,
0.033969249576330185,
-0.00436826515942812,
0.0482168011367321,
0.014183037914335728,
0.055294495075941086,
-0.010717916302382946,
-0.02136210724711418,
0.026117432862520218,
-0.009639673866331577,
-0.058980792760849,
0.018966011703014374,
0.039812035858631134,
-0.013077148236334324,
-0.052124276757240295,
-0.02726018615067005,
0.02652292512357235,
-0.023186825215816498,
0.010810073465108871,
-0.06333062797784805,
-0.014256764203310013,
-0.03232884779572487,
0.019445231184363365,
-0.02628331631422043,
-0.0478481687605381,
-0.04405128210783005,
-0.03944340720772743,
0.03841124102473259,
-0.04441991075873375,
-0.05345134437084198,
-0.013989507220685482,
-0.002594233490526676,
0.011243213899433613,
0.034393176436424255,
0.0243848729878664,
-0.017850905656814575,
-0.005271408706903458,
0.004801405128091574,
0.06672202050685883,
0.02412683144211769,
-0.011418312788009644,
-0.012164789251983166,
0.022486427798867226,
0.0002951919741462916,
-0.014828139916062355,
-0.0028591861482709646,
-0.026117432862520218,
-0.013915780931711197,
0.0011387210106477141,
0.0317206084728241,
0.016514621675014496,
0.0012084151385352015,
-0.027389205992221832,
-0.037452805787324905,
-0.00864437222480774,
-0.003326885402202606,
-0.00599484471604228,
-0.026246452704072,
0.0030342855025082827,
0.002052808180451393,
0.034540627151727676,
0.03841124102473259,
0.03837437927722931,
-0.0209566131234169,
0.014127743430435658,
0.030670013278722763,
-0.08050878345966339,
0.004446599166840315,
-0.013408915139734745,
-0.02628331631422043,
-0.0011525446316227317,
0.0012614056468009949,
-0.00734495185315609,
0.04040184244513512,
0.05319330468773842,
-0.013713034801185131,
0.030670013278722763,
-0.010754778981208801,
-0.014247547835111618,
0.014026369899511337,
-0.045673251152038574,
-0.05872275307774544,
-0.02941667102277279,
-0.03251316398382187,
-0.005529449321329594,
-0.00864437222480774,
0.0532301664352417,
0.018035221844911575,
-0.06484200805425644,
0.04777444154024124,
-0.0010016367305070162,
-0.05098152533173561,
-0.008851727470755577,
0.01809973083436489,
0.040217529982328415,
0.01661599613726139,
0.04449363797903061,
0.06447338312864304,
-0.01689246855676174,
-0.04073360934853554,
-0.00028439227025955915,
0.009330946020781994,
-0.07280442118644714,
-0.06229846552014351,
0.0023050892632454634,
-0.009095944464206696,
-0.003601053962484002,
0.010902231559157372,
-0.019942881539463997,
0.05046544224023819,
0.055368222296237946,
-0.0022555545438081026,
-0.012874401174485683,
-0.03977517411112785,
-0.07866563647985458,
-0.045783840119838715,
0.01884620636701584,
0.0036540445871651173,
0.02093818224966526,
-0.020016606897115707,
-0.006925635505467653,
-0.0032900224905461073,
0.019205620512366295,
0.03785829618573189,
0.0267993975430727,
0.03266061469912529,
0.05079720914363861,
-0.01811816357076168,
-0.046336784958839417,
0.018431497737765312,
-0.0030066382605582476,
-0.02670724131166935,
0.04095478728413582,
0.057838041335344315,
0.03763711825013161,
0.019537387415766716,
-0.009741046465933323,
-0.049543868750333786,
-0.004206989426165819,
0.05064975842833519,
0.04416187107563019,
-0.013777544721961021,
-0.05112897604703903,
0.05584743991494179,
-0.02960098534822464,
0.03297394886612892,
0.07055577635765076,
-0.033969249576330185,
-0.015832656994462013,
0.020219353958964348,
0.0209566131234169,
-0.08109859377145767,
0.04755326360464096,
-0.05385683849453926,
-0.02125151827931404,
0.015150691382586956,
-0.019389936700463295,
0.02412683144211769,
-0.014772845432162285,
0.028200192376971245,
-0.07044518738985062,
0.0725095123052597,
-0.015307359397411346,
-0.04810621216893196,
0.01593402959406376,
-0.09554888308048248,
0.060492176562547684,
0.016385601833462715,
-0.018274830654263496,
-0.028679411858320236,
0.025656646117568016,
-0.04253989830613136,
-0.019002875313162804,
0.02132524363696575,
0.02729704976081848,
-0.04161832481622696,
-0.008616724982857704,
-0.03229198604822159,
-0.005667685531079769,
-0.004386696498841047,
0.05986550450325012,
0.04696345701813698,
0.03260532021522522,
0.022154660895466805,
0.031333547085523605,
-0.04242930933833122,
-0.02674410305917263,
0.01800757460296154,
-0.013666955754160881,
-0.0034328666515648365,
-0.01745462790131569,
0.00033925476600416005,
-0.06557927280664444,
-0.024716639891266823,
-0.013353620655834675,
-0.11398038268089294,
-0.002316609025001526,
-0.025601351633667946,
0.016514621675014496,
0.049396414309740067,
-0.00911437626928091,
-0.0008968075853772461,
-0.03019079379737377,
-0.06502632796764374,
-0.01811816357076168,
-0.0006514382548630238,
0.04519403353333473,
0.04261362552642822,
0.008519959636032581,
0.08891354501247406,
-0.06819654256105423,
0.04220813140273094,
0.014072448946535587,
-0.04383010417222977,
0.02407153695821762,
-0.05595802888274193,
-0.04991249740123749,
-0.011215566657483578,
-0.04449363797903061,
0.011298508383333683,
0.042945392429828644,
-0.025085268542170525,
0.012220083735883236,
0.0001266445469809696,
-0.017906200140714645,
0.07755974680185318,
0.049175236374139786,
0.03623632714152336,
-0.03483553230762482,
-0.02925078757107258,
0.05326702818274498,
-0.05872275307774544,
0.02991432137787342,
-0.0302276574075222,
0.03977517411112785,
0.019297778606414795,
-0.018090516328811646,
0.05297212675213814,
0.060307860374450684,
-0.025582918897271156,
-0.030540993437170982,
0.05116583779454231,
-0.018311694264411926,
-0.013805191963911057,
0.0018362379632890224,
-0.016201287508010864,
-0.021841324865818024,
0.09038806706666946,
-0.019021306186914444,
-0.011363018304109573,
-0.019076600670814514,
-0.0059533738531172276,
-0.034190427511930466,
0.03557279333472252,
0.07291501015424728,
-0.028126467019319534,
-0.03271590918302536,
-0.015371869318187237,
-0.0541517399251461,
0.03232884779572487,
0.009934577159583569,
0.0037392901722341776,
0.012948127463459969,
0.011574980802834034,
0.028753137215971947,
-0.006570829078555107,
-0.04121283069252968,
0.0015943245962262154,
-0.03321355953812599,
-0.02713116630911827,
-0.02090131863951683,
0.03229198604822159,
0.025453899055719376,
0.0016012364067137241,
-0.005303663667291403,
-0.0038038005586713552,
0.0053497422486543655,
-0.025859391316771507,
0.040217529982328415,
0.05282467231154442,
0.007073087617754936,
-0.03459592163562775,
0.08213075250387192,
-0.043350882828235626,
0.03019079379737377,
0.06926556676626205,
-0.024698207154870033,
-0.058132946491241455,
0.009658104740083218,
-0.03667868301272392,
0.06642711907625198,
-0.05271408334374428,
-0.02340800315141678,
0.019740134477615356,
0.0014054017374292016,
0.06930243223905563,
0.005607783328741789,
0.00605013919994235,
0.03350846469402313,
-0.015298143960535526,
0.03830065205693245,
-0.04788503423333168,
0.09547515958547592,
0.001408857642672956,
0.06653770804405212,
-0.06856517493724823,
-0.04231872037053108,
0.005335918627679348,
-0.037544962018728256,
-0.06333062797784805,
0.04206068068742752,
-0.04792189598083496,
0.019850723445415497,
-0.008331037126481533,
0.019850723445415497,
0.033637482672929764,
0.022136230021715164,
-0.036807700991630554,
0.05411487817764282,
0.005451115779578686,
-0.002316609025001526,
-0.0036862995475530624,
-0.08684922009706497,
-0.011169487610459328,
-0.031407274305820465,
-0.019518956542015076,
-0.03489082679152489,
0.04169204831123352,
-0.022191524505615234,
-0.00023183369194157422,
0.04829052463173866,
0.008672019466757774,
0.0017993750516325235,
-0.04169204831123352,
0.021822893992066383,
-0.031794335693120956,
-0.0019836900755763054,
0.009358593262732029,
-0.014376568607985973,
0.05957060307264328,
-0.04504658281803131,
0.018505224958062172,
0.014146175235509872,
0.004446599166840315,
-0.009805557318031788,
0.015758931636810303,
-0.01784169115126133,
-0.07556914538145065,
-0.0041609108448028564,
0.007902504876255989,
-0.042982254177331924,
0.009160454384982586,
0.009363201446831226,
0.07962407171726227,
0.007791915908455849,
-0.03896418586373329,
0.021988777443766594,
-0.01047830656170845,
0.002231363207101822,
-0.0030365893617272377,
-0.0530458502471447,
0.04504658281803131,
0.024845659732818604,
0.006690633948892355,
0.011344587430357933,
0.03793202340602875,
-0.03925909101963043,
0.0004412039997987449,
0.015528537333011627,
-0.018984442576766014,
0.08684922009706497,
0.03332414850592613,
0.01047830656170845,
-0.030559424310922623,
0.04456736147403717,
-0.019168758764863014,
-0.018090516328811646,
-0.031167663633823395,
0.04394069314002991,
0.03645750507712364,
0.020090332254767418,
0.0013731466606259346,
-0.006017884239554405,
0.023094667121767998,
0.03907477483153343,
0.022375838831067085,
0.05042858049273491,
-0.008625941351056099,
0.01738090254366398,
0.043055981397628784,
-0.010063597932457924,
-0.04405128210783005,
0.05599489063024521,
-0.01042301207780838,
0.012763812206685543,
0.015417948365211487,
-0.02670724131166935,
0.046263061463832855,
0.06506318598985672,
0.015758931636810303,
0.043719515204429626,
0.05982864275574684,
0.009377025067806244,
-0.02357388660311699,
0.03636534512042999,
0.03977517411112785,
0.02637547440826893,
0.05138701573014259,
0.016680505126714706,
0.05400428920984268,
-0.0009544060449115932,
0.05665842443704605,
0.016643643379211426,
0.03586769476532936,
0.01595246233046055,
-0.030854327604174614,
0.0023246726486831903,
0.05640038475394249,
0.021398968994617462,
-0.00039656521403230727,
-0.0315362922847271,
0.018772481009364128,
-0.03763711825013161,
0.012809891253709793,
-0.007234362885355949,
0.0537831112742424,
0.03852182999253273
] |
719,466
|
ibm_platform_services.enterprise_management_v1
|
get_account_group
|
Get account group by ID.
Retrieve an account by the `account_group_id` parameter. All data related to the
account group is returned only if the caller has access to retrieve the account
group.
:param str account_group_id: The ID of the account group to retrieve.
: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 representing a `AccountGroup` object
|
def get_account_group(
self,
account_group_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get account group by ID.
Retrieve an account by the `account_group_id` parameter. All data related to the
account group is returned only if the caller has access to retrieve the account
group.
:param str account_group_id: The ID of the account group to retrieve.
: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 representing a `AccountGroup` object
"""
if not account_group_id:
raise ValueError('account_group_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_account_group',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['account_group_id']
path_param_values = self.encode_path_vars(account_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/account-groups/{account_group_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, account_group_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04265608265995979,
0.0368565209209919,
-0.07711343467235565,
-0.022555964067578316,
0.03997354954481125,
-0.03525077551603317,
-0.0017639556899666786,
0.03194483742117882,
-0.0014876734931021929,
-0.008401812985539436,
0.03761216253042221,
-0.02657976560294628,
0.011891942471265793,
-0.014243883080780506,
-0.014111645519733429,
-0.008042882196605206,
0.008165674284100533,
-0.023160478100180626,
0.02412392385303974,
-0.03013129159808159,
-0.0008926040609367192,
0.04541418328881264,
-0.018154338002204895,
0.018834417685866356,
0.03570416197180748,
0.042278263717889786,
0.02712760679423809,
-0.005615376867353916,
0.01666194200515747,
0.0554642453789711,
0.017483705654740334,
-0.03496741130948067,
0.007471426855772734,
0.0553131140768528,
-0.06729006767272949,
-0.06022480130195618,
0.012156417593359947,
0.023500517010688782,
-0.07563993334770203,
0.015877962112426758,
0.015622932463884354,
0.018040992319583893,
0.07276848703622818,
-0.022631527855992317,
-0.01595352590084076,
-0.008198733441531658,
-0.010767921805381775,
-0.029394539073109627,
-0.045905351638793945,
-0.028752241283655167,
0.02588079497218132,
-0.051421549171209335,
-0.026730895042419434,
-0.053424008190631866,
-0.026371963322162628,
-0.013516576029360294,
-0.02839330956339836,
-0.05912911519408226,
0.006942476145923138,
0.011646358296275139,
0.004118258133530617,
-0.005605931393802166,
-0.026957588270306587,
-0.03162368759512901,
-0.061849433928728104,
-0.0004070439899805933,
-0.12551240622997284,
0.002602247754111886,
-0.014914516359567642,
-0.013459902256727219,
-0.052630580961704254,
0.07435533404350281,
0.028790023177862167,
-0.045943133533000946,
-0.052063848823308945,
0.007216396741569042,
-0.019363367930054665,
0.007632000837475061,
0.013044298626482487,
0.06113157048821449,
-0.018957210704684258,
-0.007117218803614378,
0.042202699929475784,
-0.01968451775610447,
-0.011901387944817543,
-0.013998298905789852,
0.012713704258203506,
-0.028563329949975014,
0.011533011682331562,
-0.05315953120589256,
-0.006413525436073542,
0.0014262774493545294,
-0.02393501251935959,
0.023141587153077126,
0.006999149452894926,
-0.03326721116900444,
-0.01726645790040493,
0.050779253244400024,
-0.012723149731755257,
0.040313590317964554,
-0.06521204859018326,
-0.06260507553815842,
-0.03509964793920517,
0.004363842308521271,
0.028771132230758667,
-0.027392081916332245,
0.04050249978899956,
0.0002125247847288847,
0.02040237933397293,
0.03834891691803932,
-0.009993387386202812,
-0.05315953120589256,
0.024917349219322205,
0.003884480567649007,
0.004925852175801992,
0.03402285650372505,
-0.018758853897452354,
-0.024785112589597702,
0.034702934324741364,
-0.032322656363248825,
0.002930480521172285,
-0.019930101931095123,
0.026164161041378975,
0.02469065599143505,
0.006309624761343002,
0.024992914870381355,
-0.03891564905643463,
0.0555398091673851,
0.04620761051774025,
-0.004205629229545593,
0.03018796443939209,
-0.021252477541565895,
-0.03617643937468529,
-0.009233021177351475,
0.03808443993330002,
0.0019859259482473135,
-0.0013873145217075944,
0.06260507553815842,
0.010248417034745216,
0.0432983823120594,
0.05769339203834534,
-0.029961271211504936,
0.004540946334600449,
0.032322656363248825,
0.0017297156155109406,
-0.010531783103942871,
0.050779253244400024,
-0.058789078146219254,
-0.05179937183856964,
-0.03630867600440979,
-0.015792952850461006,
-0.02412392385303974,
0.030584676191210747,
-0.006215169094502926,
-0.02593746781349182,
0.034702934324741364,
-0.004869178868830204,
0.025484083220362663,
0.0740530788898468,
-0.002037876518443227,
-0.02707093395292759,
0.04027580842375755,
0.027599884197115898,
-0.06509870290756226,
-0.0018584111239761114,
-0.012732595205307007,
-0.006966089829802513,
0.014432793483138084,
-0.005289505701512098,
-0.04688768833875656,
-0.07186171412467957,
0.0018926511984318495,
-0.052101630717515945,
-0.005195050034672022,
-0.08531216531991959,
0.012269764207303524,
0.01601020060479641,
0.008930763229727745,
-0.0020059978123754263,
0.04148483648896217,
-0.002597525017336011,
-0.03997354954481125,
0.009728912264108658,
0.00826957542449236,
-0.0021146214567124844,
0.0026140548288822174,
0.026013033464550972,
0.0678945854306221,
-0.023084914311766624,
-0.03500519320368767,
0.009459714405238628,
-0.03986020386219025,
-0.004302446264773607,
-0.005464248359203339,
-0.02210257761180401,
-0.07647113502025604,
0.0308113694190979,
-0.0018371586920693517,
-0.008411258459091187,
0.03343723341822624,
0.01852271519601345,
0.012099743820726871,
0.04979691654443741,
0.05739113688468933,
0.011485783383250237,
-0.040955886244773865,
-0.05100594833493233,
0.016869744285941124,
-0.03090582601726055,
0.02657976560294628,
-0.0004713917733170092,
-0.04692547023296356,
-0.02578634023666382,
0.02412392385303974,
-0.003608198370784521,
0.0742042064666748,
0.04023802652955055,
-0.007542268373072147,
0.03152923285961151,
-0.0007261263090185821,
-0.0007768961368128657,
-0.05720222368836403,
0.02829885482788086,
0.007627278100699186,
-0.06396523863077164,
-0.01788041740655899,
0.02707093395292759,
0.008099555037915707,
-0.047038815915584564,
-0.01361103169620037,
0.03557192534208298,
-0.04190044105052948,
0.014574477449059486,
0.0021370546892285347,
-0.05093038082122803,
-0.031151410192251205,
0.050288084894418716,
-0.00524227786809206,
0.0367431715130806,
0.037895530462265015,
0.011259090155363083,
0.055804282426834106,
0.07182393223047256,
0.07042598724365234,
-0.08062718063592911,
-0.008689901791512966,
-0.0430339053273201,
0.026712004095315933,
0.058146778494119644,
-0.02459620125591755,
-0.046472083777189255,
-0.053990740329027176,
0.009842258878052235,
0.0307735875248909,
-0.0049683572724461555,
-0.08168508112430573,
-0.051383767277002335,
-0.060035888105630875,
0.03088693507015705,
0.026655329391360283,
-0.009946160018444061,
-0.011551902629435062,
-0.04258051887154579,
-0.002651836955919862,
0.05247945338487625,
0.03438178822398186,
-0.0077972980216145515,
0.015292338095605373,
0.08924151957035065,
-0.01413998194038868,
0.12521015107631683,
0.04439406469464302,
0.011438556015491486,
-0.00951638724654913,
-0.06226503849029541,
0.001335364067927003,
0.029111171141266823,
-0.019221685826778412,
-0.04114479571580887,
-0.01788041740655899,
-0.021044675260782242,
-0.009889486245810986,
-0.055653154850006104,
-0.05773117393255234,
0.0033909508492797613,
0.03576083481311798,
0.00078811269486323,
0.016208555549383163,
-0.02093132957816124,
0.04186265915632248,
0.013866061344742775,
-0.006956644356250763,
-0.09097949415445328,
0.022952675819396973,
-0.04666099697351456,
-0.04556531086564064,
-0.013441011309623718,
-0.03143477439880371,
0.016945309937000275,
0.014744496904313564,
-0.034816280007362366,
0.007112496066838503,
0.032889388501644135,
0.01595352590084076,
-0.040351372212171555,
-0.035401906818151474,
0.026164161041378975,
0.01043732836842537,
-0.00012205415987409651,
0.0495324432849884,
-0.0058798519894480705,
-0.03020685538649559,
0.04020024091005325,
-0.02457731030881405,
-0.021176913753151894,
-0.011523566208779812,
0.033569470047950745,
0.0021559458691626787,
0.02461509220302105,
0.04069140926003456,
-0.016482478007674217,
-0.027902141213417053,
0.022593745961785316,
-0.023802775889635086,
0.058713510632514954,
0.018078774213790894,
0.03326721116900444,
0.04666099697351456,
0.08108056336641312,
0.02212146855890751,
0.03341834247112274,
-0.03819778561592102,
-0.055653154850006104,
0.03254935145378113,
-0.020761309191584587,
-0.0800226628780365,
-0.009129120036959648,
-0.07001038640737534,
0.0011015867348760366,
0.01668083295226097,
-0.007858693599700928,
-0.03632757067680359,
0.022385943681001663,
-0.006177386734634638,
0.04598091542720795,
0.005473693832755089,
0.07103050500154495,
-0.034759607166051865,
-0.019854536280035973,
0.04972135275602341,
-0.014583922922611237,
-0.04367620497941971,
0.03428732976317406,
0.03383394330739975,
-0.014262774027884007,
0.0005259988247416914,
0.0030863319989293814,
0.04787002503871918,
0.01447057630866766,
0.006290733348578215,
-0.037253230810165405,
-0.01724756695330143,
-0.027524320408701897,
-0.0020626711193472147,
-0.020062338560819626,
-0.0615093931555748,
-0.08909038454294205,
-0.01968451775610447,
0.019986774772405624,
0.026806458830833435,
-0.006758288014680147,
0.024917349219322205,
0.014111645519733429,
0.02221592329442501,
0.014442238956689835,
0.017379803583025932,
0.008538773283362389,
-0.023613864555954933,
0.020799091085791588,
0.021252477541565895,
0.06358741223812103,
-0.008652119897305965,
-0.00478889187797904,
0.03861339017748833,
-0.032454896718263626,
-0.024445071816444397,
0.028166618198156357,
0.03207707405090332,
-0.05300840362906456,
-0.0368943028151989,
0.049683570861816406,
0.0002597525017336011,
0.04666099697351456,
-0.01016340684145689,
-0.04666099697351456,
-0.035401906818151474,
-0.013450456783175468,
-0.014716160483658314,
-0.01979786343872547,
0.024237269535660744,
0.007839802652597427,
0.049003493040800095,
0.0000743836717447266,
0.014272219501435757,
0.03202040120959282,
0.006130159366875887,
0.022555964067578316,
-0.07949371635913849,
-0.007528100162744522,
-0.017521487548947334,
0.00323037663474679,
0.02336828038096428,
-0.022442616522312164,
-0.022027011960744858,
0.025011805817484856,
0.05988476052880287,
-0.02089354768395424,
0.05769339203834534,
-0.0005233422853052616,
0.006578822620213032,
0.0041560400277376175,
-0.031189192086458206,
-0.06695003062486649,
0.009459714405238628,
-0.032247092574834824,
-0.04847453907132149,
0.04186265915632248,
0.014659486711025238,
-0.004174931440502405,
-0.06872578710317612,
0.06668554991483688,
0.005204495508223772,
-0.07522432506084442,
-0.0007314394460991025,
-0.02025124989449978,
0.025540756061673164,
-0.01733257621526718,
0.056257668882608414,
0.06906583160161972,
-0.015859071165323257,
-0.03564748913049698,
-0.017653724178671837,
0.0020874657202512026,
-0.021875884383916855,
-0.048323411494493484,
-0.0020496833603829145,
0.020610181614756584,
-0.0013247377937659621,
0.04054028168320656,
-0.028147725388407707,
0.05221497640013695,
0.035987529903650284,
-0.004361480940133333,
0.03264380618929863,
-0.008458485826849937,
-0.04764333367347717,
-0.018352694809436798,
-0.02833663672208786,
0.015622932463884354,
0.008184565231204033,
0.010767921805381775,
-0.005374515429139137,
0.0013625199208036065,
0.05315953120589256,
0.025465190410614014,
0.05599319562315941,
0.04273165017366409,
0.02714649774134159,
0.0017556907841935754,
-0.040918104350566864,
-0.003381505375728011,
-0.002212619176134467,
-0.026126379147171974,
0.037347689270973206,
-0.0018477848498150706,
0.06018701568245888,
0.02089354768395424,
0.027902141213417053,
-0.024520637467503548,
0.058826860040426254,
0.02578634023666382,
0.012789268977940083,
0.018749408423900604,
-0.06105600669980049,
0.03266269713640213,
-0.06917917728424072,
0.015849625691771507,
0.04446962848305702,
-0.06324737519025803,
-0.03137810155749321,
0.026730895042419434,
-0.0009356993832625449,
-0.07934258133172989,
0.006215169094502926,
0.005719278007745743,
-0.013677150011062622,
-0.0008813875028863549,
0.01726645790040493,
0.013526021502912045,
-0.04148483648896217,
0.003971851896494627,
-0.040993668138980865,
-0.014706715010106564,
-0.06430527567863464,
-0.009242466650903225,
-0.010881268419325352,
-0.04809672012925148,
0.02844998426735401,
0.00741003081202507,
-0.013714932836592197,
-0.031113628298044205,
0.020459052175283432,
-0.06279398500919342,
0.01016340684145689,
-0.009412486106157303,
0.034778498113155365,
-0.04360063746571541,
0.010191744193434715,
-0.01080570463091135,
0.0011647538049146533,
0.023859448730945587,
0.05070368945598602,
0.0033201093319803476,
0.04378955066204071,
0.011891942471265793,
-0.015188437886536121,
-0.03740436211228371,
-0.01481061615049839,
0.0092471893876791,
-0.03498630225658417,
0.02580523118376732,
0.010692358016967773,
-0.011410219594836235,
-0.030528003349900246,
-0.04730329290032387,
-0.04972135275602341,
-0.06619438529014587,
0.016265230253338814,
-0.08138281852006912,
0.01721923053264618,
0.018994992598891258,
-0.06237838417291641,
-0.047756679356098175,
-0.032379329204559326,
-0.07934258133172989,
0.01839992217719555,
0.04745442047715187,
0.03940681740641594,
0.0431472547352314,
0.012553130276501179,
0.06902804970741272,
-0.013790496625006199,
0.0370643213391304,
0.030679132789373398,
0.0033059408888220787,
-0.004954188596457243,
-0.059469155967235565,
-0.05300840362906456,
-0.030509112402796745,
-0.06271842122077942,
0.023557191714644432,
0.04193822294473648,
0.006252951454371214,
-0.013459902256727219,
-0.04866345226764679,
0.039784640073776245,
0.04023802652955055,
0.04688768833875656,
0.009747803211212158,
0.004238688852638006,
-0.04972135275602341,
-0.009261357598006725,
-0.05980919674038887,
-0.005502030253410339,
-0.0429583415389061,
0.07567771524190903,
0.004245772957801819,
0.012572021223604679,
0.049003493040800095,
-0.012354773469269276,
-0.015282892622053623,
-0.022291487082839012,
0.0860678106546402,
0.0021913666278123856,
-0.03436289355158806,
0.01789930835366249,
-0.0032162084244191647,
-0.020742418244481087,
0.06475865840911865,
0.022933784872293472,
-0.02289600297808647,
0.009653347544372082,
0.006422970909625292,
-0.026183051988482475,
0.031793706119060516,
0.05916689708828926,
-0.01324265543371439,
-0.02147917076945305,
-0.05066590756177902,
-0.029394539073109627,
0.05776895582675934,
0.039709072560071945,
0.02597525157034397,
0.04435628280043602,
0.014782278798520565,
0.04514971002936363,
-0.025654101744294167,
-0.06354963034391403,
0.003161896485835314,
-0.0368187390267849,
-0.10110512375831604,
-0.03332388401031494,
0.026655329391360283,
0.03219041973352432,
-0.010031169280409813,
-0.03630867600440979,
0.010881268419325352,
0.01656748726963997,
0.013913288712501526,
0.011117407120764256,
0.07707565277814865,
0.04446962848305702,
0.0026919804513454437,
0.08191177248954773,
-0.009242466650903225,
0.02640974521636963,
0.053801827132701874,
0.010267307981848717,
-0.03764994442462921,
-0.006012090016156435,
-0.04628317430615425,
0.045263055711984634,
-0.06721450388431549,
-0.05739113688468933,
0.024841785430908203,
0.015811843797564507,
0.08999715745449066,
0.020100120455026627,
0.0017438838258385658,
-0.012156417593359947,
-0.04431850090622902,
0.021686973050236702,
-0.007296684198081493,
0.03872673586010933,
-0.01359214074909687,
0.061358265578746796,
-0.04023802652955055,
-0.0033885894808918238,
0.030452439561486244,
-0.07110606878995895,
-0.07205062359571457,
0.02652309276163578,
-0.047681115567684174,
-0.05739113688468933,
-0.015320675447583199,
0.05916689708828926,
0.0032657973933964968,
0.04140927270054817,
-0.08108056336641312,
0.024898458272218704,
0.028015488758683205,
0.027467647567391396,
-0.006323792971670628,
-0.07239066064357758,
-0.03577972576022148,
-0.037215448915958405,
0.007287238724529743,
-0.01046566478908062,
0.05504864081740379,
-0.03018796443939209,
-0.018938319757580757,
0.02642863616347313,
0.0012043070746585727,
0.032341547310352325,
-0.05965806543827057,
0.023764992132782936,
-0.0035893074236810207,
-0.04541418328881264,
0.02336828038096428,
0.002784074516966939,
0.07949371635913849,
0.009233021177351475,
0.0014687823131680489,
-0.007093604654073715,
0.025106260553002357,
0.014546140097081661,
0.0005930031766183674,
-0.039180122315883636,
-0.03560970723628998,
-0.014668932184576988,
0.02775101363658905,
-0.01172192208468914,
-0.02903560735285282,
-0.02096911147236824,
0.047832243144512177,
0.00797676295042038,
-0.0371398851275444,
0.023576082661747932,
-0.004973080009222031,
0.025502974167466164,
-0.024898458272218704,
-0.047756679356098175,
0.01778596267104149,
0.02270709164440632,
-0.0008028713637031615,
0.06230282038450241,
0.020572397857904434,
-0.01667138747870922,
-0.03509964793920517,
-0.015226219780743122,
-0.0013943987432867289,
0.07284405082464218,
-0.03895343095064163,
-0.04016245901584625,
0.006106545217335224,
0.013223763555288315,
-0.014262774027884007,
-0.04752998426556587,
-0.01976008154451847,
0.04125814512372017,
0.022045902907848358,
0.019363367930054665,
-0.0276187751442194,
0.004037970677018166,
0.0024463962763547897,
-0.021800318732857704,
-0.0027415696531534195,
0.05255501717329025,
-0.008524605073034763,
-0.00980447605252266,
0.10662131756544113,
0.01793709211051464,
-0.032927174121141434,
-0.006999149452894926,
0.027921034023165703,
0.016284121200442314,
-0.0035704162437468767,
-0.042769432067871094,
0.046509865671396255,
0.042278263717889786,
0.05187493562698364,
0.026183051988482475,
0.029318973422050476,
-0.048323411494493484,
-0.034778498113155365,
-0.010201189666986465,
0.061849433928728104,
0.0016033813590183854,
0.011967506259679794,
0.006522149313241243,
0.03536412492394447,
0.00629545608535409,
0.05682440474629402,
0.05996032431721687,
0.031038062646985054,
-0.03022574633359909,
-0.011882496066391468,
0.02225370518863201,
0.049608007073402405,
0.01297817938029766,
-0.007334466092288494,
-0.0036200054455548525,
0.052743926644325256,
-0.04809672012925148,
-0.019930101931095123,
0.027354300022125244,
0.009242466650903225,
0.004056862089782953
] |
719,469
|
ibm_platform_services.enterprise_management_v1
|
get_enterprise
|
Get enterprise by ID.
Retrieve an enterprise by the `enterprise_id` parameter. All data related to the
enterprise is returned only if the caller has access to retrieve the enterprise.
:param str enterprise_id: The ID of the enterprise to retrieve.
: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 representing a `Enterprise` object
|
def get_enterprise(
self,
enterprise_id: str,
**kwargs,
) -> DetailedResponse:
"""
Get enterprise by ID.
Retrieve an enterprise by the `enterprise_id` parameter. All data related to the
enterprise is returned only if the caller has access to retrieve the enterprise.
:param str enterprise_id: The ID of the enterprise to retrieve.
: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 representing a `Enterprise` object
"""
if not enterprise_id:
raise ValueError('enterprise_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='get_enterprise',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['enterprise_id']
path_param_values = self.encode_path_vars(enterprise_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/enterprises/{enterprise_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, enterprise_id: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.0008475779322907329,
-0.016158463433384895,
-0.0013615168863907456,
-0.014576767571270466,
0.040728677064180374,
-0.019986888393759727,
0.0027320205699652433,
-0.041447628289461136,
-0.04004567116498947,
0.0028735643718391657,
-0.008766730315983295,
-0.039614297449588776,
-0.01627529412508011,
-0.005971801467239857,
0.01754244789481163,
-0.0006908687064424157,
-0.017317775636911392,
-0.02548687718808651,
0.061434514820575714,
-0.020040808245539665,
0.033736858516931534,
0.010802265256643295,
0.01414539571851492,
-0.03810449689626694,
0.031508106738328934,
0.0754181444644928,
0.039434559643268585,
-0.00484843784943223,
0.043137166649103165,
-0.009126206859946251,
0.022431327030062675,
-0.028164975345134735,
-0.015349642373621464,
0.06632339209318161,
-0.03569600731134415,
0.022287536412477493,
-0.020562049001455307,
0.02255714312195778,
-0.13444417715072632,
0.0883592963218689,
-0.04928421229124069,
0.018135584890842438,
0.12064027786254883,
0.003251014743000269,
-0.02548687718808651,
-0.023132305592298508,
0.0020501387771219015,
-0.045725397765636444,
0.006515509448945522,
0.013992618769407272,
-0.0028196428902447224,
-0.0016490980051457882,
0.04669598489999771,
-0.0620456263422966,
-0.018548982217907906,
-0.01162007451057434,
-0.004264288581907749,
-0.00032015866599977016,
-0.005787570029497147,
0.037960708141326904,
-0.015098008327186108,
-0.02600811794400215,
0.014972192235291004,
-0.007459135260432959,
-0.09231353551149368,
-0.0029859007336199284,
-0.06398680061101913,
0.07534625381231308,
-0.027481969445943832,
0.03803260251879692,
0.007131113205105066,
0.028578372672200203,
-0.011503244750201702,
0.011044912040233612,
0.004960774444043636,
0.013381509110331535,
-0.03510287031531334,
-0.00849262997508049,
0.036504827439785004,
0.008196061477065086,
-0.019285907968878746,
-0.057156745344400406,
0.010325959883630276,
0.01937577687203884,
-0.010847200639545918,
0.017129050567746162,
0.031669870018959045,
-0.007737729232758284,
0.04691166803240776,
0.018180519342422485,
0.03569600731134415,
0.06567633897066116,
-0.05952928960323334,
-0.0040238890796899796,
0.01753346063196659,
-0.018369244411587715,
0.024300605058670044,
0.06298026442527771,
0.06251294165849686,
0.00479451660066843,
-0.006618859246373177,
-0.03657672181725502,
0.010209129191935062,
0.015790000557899475,
-0.017964832484722137,
-0.020454207435250282,
0.02439047396183014,
0.022107798606157303,
0.037277702242136,
0.05877438932657242,
-0.009112726897001266,
0.007243449334055185,
-0.02216172032058239,
-0.002247850876301527,
-0.03477934002876282,
0.012069419957697392,
0.015151930041611195,
0.056797269731760025,
-0.0056617530062794685,
-0.040908414870500565,
-0.0004942800151184201,
-0.013300626538693905,
-0.005962814670056105,
0.007225475739687681,
-0.005324744153767824,
0.005859465338289738,
-0.05895412713289261,
-0.0004103085957467556,
0.04985937476158142,
-0.025558771565556526,
-0.000993615249171853,
-0.010460763238370419,
-0.0107123963534832,
0.02712249383330345,
0.019681332632899284,
0.0008071368210949004,
0.017794081941246986,
0.04522212967276573,
0.04004567116498947,
0.038823451846838,
-0.0484214685857296,
-0.0033723379019647837,
-0.018908457830548286,
0.028344713151454926,
-0.047738466411828995,
-0.02958490699529648,
-0.004282262641936541,
-0.01608656905591488,
-0.021658452227711678,
-0.018513035029172897,
0.00151317089330405,
-0.0050416565500199795,
0.031669870018959045,
-0.051620811223983765,
0.0223234836012125,
-0.012860268354415894,
-0.0019715032540261745,
-0.033179670572280884,
0.07405214011669159,
0.03064536303281784,
0.001516541000455618,
0.008510603569447994,
0.058450862765312195,
-0.02827281877398491,
-0.01395667064934969,
-0.015538367442786694,
-0.08677760511636734,
-0.04816983640193939,
-0.009067792445421219,
0.0016985259717330337,
-0.06768940389156342,
0.010227103717625141,
-0.08404558151960373,
-0.03450973331928253,
-0.04781036078929901,
-0.013156835921108723,
0.0821044072508812,
-0.0034689472522586584,
-0.04860121011734009,
0.03472542017698288,
-0.004075563512742519,
-0.04949989914894104,
-0.02917150966823101,
0.049787480384111404,
0.028111053630709648,
-0.0036509321071207523,
0.04453912377357483,
0.0022972787264734507,
-0.02216172032058239,
-0.014154382981359959,
-0.04302932322025299,
-0.024606158956885338,
-0.0005529758054763079,
0.051980286836624146,
-0.03752933442592621,
-0.013300626538693905,
0.040908414870500565,
-0.004628258757293224,
-0.04137573391199112,
0.01219523698091507,
-0.0223234836012125,
0.05517962574958801,
0.031669870018959045,
0.02606203779578209,
0.0039070588536560535,
-0.0205261018127203,
0.019843097776174545,
-0.05668942630290985,
-0.018135584890842438,
0.010442789644002914,
-0.012869254685938358,
0.012096380814909935,
-0.021712373942136765,
0.007351292297244072,
0.011934616602957249,
0.060140401124954224,
0.02717641554772854,
-0.02385125868022442,
0.023186227306723595,
-0.024426421150565147,
-0.034078363329172134,
-0.10568606108427048,
0.04169926047325134,
-0.0000040107597669702955,
-0.04245416074991226,
-0.023959102109074593,
0.005967308301478624,
-0.006272863131016493,
-0.0033948051277548075,
-0.038140445947647095,
-0.02548687718808651,
-0.00859597884118557,
0.007369265891611576,
-0.022593092173337936,
-0.037960708141326904,
0.029045693576335907,
-0.013642129488289356,
-0.0005046711303293705,
-0.0050506433472037315,
0.040548935532569885,
0.06970247626304626,
-0.01643705740571022,
0.0016255073715001345,
0.03355712071061134,
-0.022089824080467224,
-0.02196400798857212,
0.009651941247284412,
0.05952928960323334,
-0.022647012025117874,
-0.07635278254747391,
0.0013143356190994382,
-0.054927993565797806,
0.057911645621061325,
0.03100483864545822,
0.03086104802787304,
-0.047343041747808456,
-0.060499876737594604,
-0.018548982217907906,
0.031148629263043404,
-0.05618616193532944,
-0.04727114737033844,
-0.018872510641813278,
-0.04946395009756088,
0.0479900985956192,
-0.0049877348355948925,
0.003931772895157337,
-0.0012918682768940926,
0.014513859525322914,
0.10173182189464569,
-0.003248767927289009,
0.008564525283873081,
0.0383920781314373,
0.038320183753967285,
0.009463216178119183,
0.009189114905893803,
0.02897379733622074,
0.025720536708831787,
-0.055323418229818344,
-0.04493454843759537,
0.02620582841336727,
-0.07167959213256836,
0.016886403784155846,
-0.0004681618302129209,
-0.0063807060942053795,
0.032047320157289505,
-0.06653907895088196,
0.014091474935412407,
-0.0428495854139328,
0.006425640545785427,
0.003619477851316333,
0.04191494733095169,
0.026816939935088158,
-0.052339762449264526,
-0.019681332632899284,
-0.015124969184398651,
-0.008582498878240585,
-0.015466472133994102,
-0.005913386587053537,
0.05226786807179451,
0.017470553517341614,
-0.010164194740355015,
0.023743415251374245,
0.025001583620905876,
-0.05999660864472389,
-0.012312066741287708,
-0.023563677445054054,
0.039434559643268585,
0.00904981791973114,
0.006295330356806517,
-0.026727069169282913,
0.012150302529335022,
0.022575117647647858,
-0.03397051990032196,
-0.005243862047791481,
-0.03846397250890732,
-0.014720558188855648,
-0.002671358874067664,
0.0007936564506962895,
0.014325134456157684,
0.048852842301130295,
0.009108233265578747,
0.06883972883224487,
0.002006327733397484,
-0.030807126313447952,
0.07236260175704956,
-0.035192739218473434,
0.04856526106595993,
0.03082510083913803,
0.036450907588005066,
0.006636832840740681,
-0.009274491108953953,
-0.07865343242883682,
0.008690341375768185,
0.007647860329598188,
0.011494257487356663,
-0.09080373495817184,
0.0395064540207386,
-0.018620876595377922,
0.01414539571851492,
0.0609312504529953,
-0.008258970454335213,
-0.06945084035396576,
-0.00041564457933418453,
-0.0032218070700764656,
0.0023545704316347837,
-0.001909718383103609,
0.06362732499837875,
-0.056941062211990356,
-0.006084138061851263,
-0.029962357133626938,
-0.018423166126012802,
-0.03860776498913765,
0.019142117351293564,
0.0039070588536560535,
-0.0033139230217784643,
-0.02196400798857212,
-0.029782619327306747,
0.010038378648459911,
-0.04586918652057648,
-0.023312043398618698,
-0.059026025235652924,
0.007288383785635233,
-0.05435283109545708,
0.017812054604291916,
-0.07750310748815536,
-0.05000316724181175,
-0.01181778684258461,
-0.01153919193893671,
0.07211096584796906,
-0.01754244789481163,
-0.05744432657957077,
0.017254866659641266,
-0.012698503211140633,
0.04816983640193939,
0.028147000819444656,
-0.005252848844975233,
-0.09360765665769577,
-0.005513469222933054,
-0.008465669117867947,
0.029045693576335907,
0.01237497478723526,
0.03749338909983635,
-0.05485609918832779,
-0.0009750797180458903,
0.0528789758682251,
-0.009633967652916908,
0.040189459919929504,
0.017102088779211044,
-0.03064536303281784,
-0.014783467166125774,
0.017111076042056084,
-0.021281002089381218,
0.00771526200696826,
0.020723814144730568,
0.015080034732818604,
-0.0301241222769022,
-0.020544076338410378,
-0.012204223312437534,
-0.043460696935653687,
0.003343130461871624,
0.020544076338410378,
0.07707174122333527,
0.05499988794326782,
0.01720094494521618,
-0.020454207435250282,
-0.05546720698475838,
0.04493454843759537,
-0.09216974675655365,
0.02401302382349968,
0.0293512474745512,
0.0013210757169872522,
-0.010973016731441021,
-0.04446722939610481,
-0.028722163289785385,
0.03432999551296234,
0.019645385444164276,
0.027481969445943832,
0.060643669217824936,
0.023689493536949158,
-0.026295699179172516,
-0.00923854298889637,
-0.04011756554245949,
-0.034635551273822784,
-0.008294917643070221,
-0.04709140583872795,
-0.011691969819366932,
-0.05043453723192215,
0.01901630125939846,
0.0293512474745512,
-0.03046562522649765,
0.033718883991241455,
-0.007086178287863731,
-0.02938719466328621,
-0.009184622205793858,
0.03341333195567131,
0.005189940333366394,
-0.010092299431562424,
0.008919508196413517,
0.026115959510207176,
-0.035893719643354416,
-0.016850456595420837,
-0.010649488307535648,
0.004066576715558767,
-0.02014865167438984,
-0.015035100281238556,
-0.027410075068473816,
-0.00996648333966732,
0.012222197838127613,
0.05277113616466522,
-0.021568583324551582,
0.07491488009691238,
-0.0043384307064116,
0.008843119256198406,
0.010955043137073517,
-0.052160024642944336,
-0.08519590646028519,
-0.02345583401620388,
0.03673848882317543,
0.01917806640267372,
0.03932671621441841,
-0.026133934035897255,
-0.0395064540207386,
-0.05295087397098541,
0.021910086274147034,
0.008753250353038311,
0.01226713228970766,
-0.018513035029172897,
0.0035341023467481136,
-0.017964832484722137,
-0.040153514593839645,
0.02419276162981987,
0.003078016685321927,
-0.006978335324674845,
0.02435452491044998,
0.02606203779578209,
0.03526463359594345,
0.03472542017698288,
-0.026996677741408348,
-0.007638873532414436,
-0.01793787255883217,
0.037277702242136,
0.02271890826523304,
0.007086178287863731,
-0.05395740643143654,
0.025253215804696083,
-0.030627388507127762,
0.03404241427779198,
0.033341433852910995,
-0.028362687677145004,
0.0026443982496857643,
0.04586918652057648,
0.03409633785486221,
-0.0351388193666935,
0.034276075661182404,
0.016913363710045815,
-0.02122708037495613,
0.012114354409277439,
-0.0399378277361393,
0.02643948793411255,
0.021694401279091835,
0.03468947112560272,
-0.061398569494485855,
0.10690827667713165,
-0.03488718345761299,
-0.042382266372442245,
0.005468534771353006,
-0.055862631648778915,
0.06858809292316437,
0.010955043137073517,
0.03366496413946152,
0.003664412535727024,
-0.0006948004593141377,
-0.002428712323307991,
-0.026727069169282913,
0.019357804208993912,
0.07491488009691238,
0.007301864214241505,
0.05147701874375343,
-0.0058909193612635136,
0.03361104428768158,
0.04518618434667587,
0.058055438101291656,
0.02034636400640011,
0.024516290053725243,
-0.0009801348205655813,
0.00996648333966732,
-0.051836494356393814,
-0.048852842301130295,
-0.016553888097405434,
0.0265653058886528,
-0.025163346901535988,
-0.02712249383330345,
-0.04080057144165039,
-0.02676301822066307,
-0.03472542017698288,
-0.01566418446600437,
-0.12596052885055542,
0.009045325219631195,
0.033700913190841675,
0.00849712360650301,
0.05410119891166687,
-0.014397029764950275,
-0.04856526106595993,
-0.000664469669573009,
-0.06258483976125717,
-0.053993355482816696,
0.01376794558018446,
0.025738509371876717,
0.07685605436563492,
-0.028344713151454926,
0.06459790468215942,
-0.005625805351883173,
0.06535280495882034,
-0.025432955473661423,
-0.029513012617826462,
0.03450973331928253,
-0.035390451550483704,
-0.04529402405023575,
-0.038679659366607666,
-0.013830854557454586,
-0.00878919754177332,
0.056437794119119644,
0.0034442332107573748,
0.02435452491044998,
0.03553424030542374,
0.019879044964909554,
0.06952273100614548,
0.04468291625380516,
-0.038140445947647095,
-0.04594108462333679,
-0.06323190033435822,
0.006596392020583153,
-0.050111010670661926,
0.02785942144691944,
-0.002070359420031309,
0.043280959129333496,
0.013830854557454586,
-0.05251950025558472,
0.03709796443581581,
0.019519567489624023,
-0.040908414870500565,
-0.06017635017633438,
0.008429720997810364,
-0.06991815567016602,
-0.02600811794400215,
0.014441964216530323,
-0.005980788730084896,
0.00860047247260809,
0.051800549030303955,
-0.006340264808386564,
0.016760587692260742,
-0.055323418229818344,
0.0018142324406653643,
-0.010784291662275791,
0.021874139085412025,
0.07894101738929749,
-0.005059630144387484,
0.00006645398389082402,
0.012500791810452938,
-0.04177115857601166,
-0.038859397172927856,
0.051045648753643036,
0.010973016731441021,
-0.01256369985640049,
0.05277113616466522,
0.015340655110776424,
0.020058782771229744,
-0.046228665858507156,
-0.030717257410287857,
-0.044251542538404465,
-0.008214036002755165,
-0.009768771007657051,
-0.030196016654372215,
0.03343130648136139,
0.013219743967056274,
0.0020007106941193342,
0.012554713524878025,
0.004228340927511454,
-0.055682893842458725,
0.014891309663653374,
0.039614297449588776,
0.037277702242136,
-0.03614535182714462,
0.017138037830591202,
-0.043137166649103165,
0.007486096117645502,
0.06546065211296082,
-0.018926432356238365,
-0.029099613428115845,
-0.0239950492978096,
-0.051081594079732895,
0.08282335847616196,
-0.003850890789180994,
-0.026367593556642532,
0.04834957420825958,
-0.03896724060177803,
0.08217630535364151,
-0.00536069180816412,
0.000918911537155509,
0.005468534771353006,
-0.007009789813309908,
0.047019511461257935,
-0.055323418229818344,
0.051980286836624146,
-0.029818566516041756,
0.09813705831766129,
-0.04281364008784294,
-0.022395379841327667,
0.018054701387882233,
-0.02861432172358036,
-0.005014695692807436,
-0.007009789813309908,
0.007993856444954872,
-0.0030690296553075314,
-0.03709796443581581,
0.02403099648654461,
0.018243426457047462,
0.00811967346817255,
-0.005001215264201164,
0.047163303941488266,
0.055107731372117996,
0.0016569615108892322,
0.012491804547607899,
-0.08109787106513977,
0.054604463279247284,
-0.025073477998375893,
-0.01995093934237957,
-0.04382017254829407,
0.07433971762657166,
0.014846375212073326,
0.02803915925323963,
0.02032838948071003,
0.051261335611343384,
0.036630645394325256,
-0.03954240307211876,
-0.004268782213330269,
-0.025001583620905876,
-0.0036689059343189,
0.008025310933589935,
0.042741741985082626,
-0.03323359414935112,
-0.01624833233654499,
-0.006515509448945522,
0.02011270448565483,
-0.05507178232073784,
-0.026511384174227715,
0.0011025815038010478,
-0.03310777619481087,
-0.06945084035396576,
-0.06351947784423828,
0.011961577460169792,
-0.1111501008272171,
-0.048097942024469376,
-0.042741741985082626,
0.020813683047890663,
-0.03763717785477638,
-0.027302231639623642,
0.0033251566346734762,
-0.023042436689138412,
0.06190183386206627,
-0.0006976088625378907,
-0.012500791810452938,
0.02160453051328659,
0.040189459919929504,
0.014154382981359959,
0.02437249943614006,
0.039254821836948395,
-0.008461175486445427,
-0.001743460539728403,
-0.03528260812163353,
-0.010011417791247368,
0.06991815567016602,
0.05151296779513359,
-0.06758156418800354,
0.05111754313111305,
0.060859352350234985,
-0.018638851121068,
0.010568605735898018,
-0.0310228131711483,
0.03785286471247673,
0.029027719050645828,
0.011853734031319618,
0.003839657176285982,
-0.03235287591814995,
0.019537542015314102,
0.04317311570048332,
0.01282432023435831,
0.04180710390210152,
0.029477063566446304,
-0.006654806900769472,
-0.005774089600890875,
0.008703822270035744,
-0.03283816948533058,
-0.012168276123702526,
-0.006156033370643854,
-0.028111053630709648,
0.0018670305144041777,
0.0038913320749998093,
0.03188555687665939,
-0.025774456560611725,
0.017443591728806496,
0.04119599610567093,
0.02803915925323963,
-0.013678076677024364,
0.0019816136918962,
0.020633945241570473,
0.08541159331798553,
0.010245077311992645,
0.02548687718808651,
-0.0030398222152143717,
-0.0011975057423114777,
0.0026915795169770718,
0.024965636432170868,
0.04727114737033844,
-0.02180224284529686,
-0.03546234592795372,
0.0010480983182787895,
0.014540820382535458,
0.07850964367389679,
0.030932944267988205,
0.00453164940699935,
0.0025567759294062853,
-0.020723814144730568,
-0.024282630532979965,
-0.05431688204407692,
0.0473070926964283,
0.08476453274488449,
0.022395379841327667
] |
719,471
|
ibm_platform_services.enterprise_management_v1
|
import_account_to_enterprise
|
Import an account into an enterprise.
Import an existing stand-alone account into an enterprise. The existing account
can be any type: trial (`TRIAL`), Lite (`STANDARD`), Pay-As-You-Go (`PAYG`), or
Subscription (`SUBSCRIPTION`). In the case of a `SUBSCRIPTION` account, the
credits, promotional offers, and discounts are migrated to the billing unit of the
enterprise. For a billable account (`PAYG` or `SUBSCRIPTION`), the country and
currency code of the existing account and the billing unit of the enterprise must
match. The API returns a `202` response and performs asynchronous operations to
import the account into the enterprise. <br/></br>For more information about
impacts to the account, see [Adding accounts to an
enterprise](https://{DomainName}/docs/account?topic=account-enterprise-add).
:param str enterprise_id: The ID of the enterprise to import the
stand-alone account into.
:param str account_id: The ID of the existing stand-alone account to be
imported.
:param str parent: (optional) The CRN of the expected parent of the
imported account. The parent is the enterprise or account group that the
account is added to.
:param str billing_unit_id: (optional) The ID of the [billing
unit](/apidocs/enterprise-apis/billing-unit) to use for billing this
account in the enterprise.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def import_account_to_enterprise(
self,
enterprise_id: str,
account_id: str,
*,
parent: Optional[str] = None,
billing_unit_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Import an account into an enterprise.
Import an existing stand-alone account into an enterprise. The existing account
can be any type: trial (`TRIAL`), Lite (`STANDARD`), Pay-As-You-Go (`PAYG`), or
Subscription (`SUBSCRIPTION`). In the case of a `SUBSCRIPTION` account, the
credits, promotional offers, and discounts are migrated to the billing unit of the
enterprise. For a billable account (`PAYG` or `SUBSCRIPTION`), the country and
currency code of the existing account and the billing unit of the enterprise must
match. The API returns a `202` response and performs asynchronous operations to
import the account into the enterprise. <br/></br>For more information about
impacts to the account, see [Adding accounts to an
enterprise](https://{DomainName}/docs/account?topic=account-enterprise-add).
:param str enterprise_id: The ID of the enterprise to import the
stand-alone account into.
:param str account_id: The ID of the existing stand-alone account to be
imported.
:param str parent: (optional) The CRN of the expected parent of the
imported account. The parent is the enterprise or account group that the
account is added to.
:param str billing_unit_id: (optional) The ID of the [billing
unit](/apidocs/enterprise-apis/billing-unit) to use for billing this
account in the enterprise.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not enterprise_id:
raise ValueError('enterprise_id must be provided')
if not account_id:
raise ValueError('account_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='import_account_to_enterprise',
)
headers.update(sdk_headers)
data = {
'parent': parent,
'billing_unit_id': billing_unit_id,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['enterprise_id', 'account_id']
path_param_values = self.encode_path_vars(enterprise_id, account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/enterprises/{enterprise_id}/import/accounts/{account_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, enterprise_id: str, account_id: str, *, parent: Optional[str] = None, billing_unit_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.05081223323941231,
-0.0026244819164276123,
-0.02288058213889599,
0.009645088575780392,
0.00650701904669404,
-0.01969539374113083,
-0.006964065134525299,
0.005168863106518984,
-0.07060186564922333,
-0.006337393540889025,
0.02566997893154621,
-0.07037569582462311,
-0.03330312296748161,
0.016698678955435753,
-0.04086087644100189,
-0.007793345022946596,
0.0023782895877957344,
0.02003464475274086,
0.04775897413492203,
0.017377180978655815,
-0.008151442743837833,
-0.020298507064580917,
-0.014682020992040634,
0.008914757519960403,
0.04349949210882187,
0.042481739073991776,
0.04617580398917198,
0.014672597870230675,
-0.01673637330532074,
-0.0038990285247564316,
0.09461328387260437,
-0.006813287269324064,
0.011298936791718006,
0.0725242868065834,
-0.018187612295150757,
-0.04994525760412216,
-0.028007039800286293,
0.016331156715750694,
-0.09491483867168427,
0.05341315641999245,
-0.019186517223715782,
0.009866544045507908,
0.1262013018131256,
0.021561274304986,
-0.004928560461848974,
-0.0004240635025780648,
-0.003345389850437641,
-0.055674828588962555,
0.0018788370070979,
-0.009216313250362873,
-0.018932079896330833,
-0.007972394116222858,
0.03686525300145149,
0.0020696655847132206,
-0.00943305715918541,
0.029043639078736305,
-0.014776257798075676,
-0.04651505500078201,
-0.07648221403360367,
0.01651020534336567,
-0.0280635803937912,
-0.034113552421331406,
-0.01922421343624592,
-0.005192422308027744,
-0.036582544445991516,
0.020486978814005852,
-0.08066630363464355,
0.033397357910871506,
-0.04953061789274216,
0.017970869317650795,
-0.021862829104065895,
0.017509112134575844,
0.012627668678760529,
-0.013570032082498074,
0.02039274387061596,
0.06879252195358276,
0.022371705621480942,
0.0255568940192461,
0.024331821128726006,
0.003310051281005144,
-0.0018906164914369583,
-0.047080472111701965,
-0.02095816098153591,
0.029854072257876396,
0.014342769980430603,
0.050246816128492355,
-0.020486978814005852,
-0.02416219748556614,
-0.028214359655976295,
0.046138111501932144,
0.03170110285282135,
-0.016651561483740807,
-0.05571252107620239,
-0.0313430055975914,
0.059444282203912735,
0.003088595811277628,
0.05171690136194229,
0.0017751769628375769,
0.010714671574532986,
0.006883964408189058,
-0.006624814588576555,
-0.04361257702112198,
-0.01980847865343094,
-0.00674732169136405,
0.006360952742397785,
-0.08149558305740356,
-0.0077415150590240955,
-0.001550187706016004,
0.03296387195587158,
0.04206709936261177,
-0.014521819539368153,
-0.025406116619706154,
-0.05680566281080246,
-0.011968014761805534,
-0.019186517223715782,
-0.024105655029416084,
0.020694298669695854,
0.07226042449474335,
0.0012698345817625523,
-0.017622195184230804,
0.08028935641050339,
0.021240869536995888,
-0.03709142282605171,
0.021636663004755974,
0.04349949210882187,
-0.01314596924930811,
0.004030959215015173,
0.02651810459792614,
0.028723236173391342,
-0.013824470341205597,
-0.009074958972632885,
-0.02708352357149124,
0.007063013501465321,
-0.01660444214940071,
0.019488073885440826,
0.00953671708703041,
0.009932509623467922,
0.042707908898591995,
-0.0015336964279413223,
-0.000799241941422224,
0.007849887013435364,
-0.01213764026761055,
0.021184328943490982,
-0.018225306645035744,
-0.05970814451575279,
-0.027158912271261215,
-0.025500353425741196,
-0.028421679511666298,
-0.05205615237355232,
0.027780871838331223,
-0.0398431234061718,
-0.0014088331954553723,
-0.005239540245383978,
0.002787039615213871,
-0.016453664749860764,
-0.018197037279605865,
-0.0071760970167815685,
0.0033006276935338974,
0.0634022057056427,
-0.0005265455110929906,
-0.05103839933872223,
0.010969109833240509,
0.09333166480064392,
0.0008175002294592559,
0.0010065619135275483,
-0.023370610550045967,
-0.07437131553888321,
-0.054845549166202545,
-0.030099086463451385,
-0.07154422998428345,
-0.018225306645035744,
0.006040549371391535,
-0.024011418223381042,
-0.016104990616440773,
-0.09295472502708435,
-0.03737413138151169,
0.05729569122195244,
-0.05823805555701256,
-0.030834129080176353,
0.030683351680636406,
-0.004700037185102701,
-0.02095816098153591,
0.03347274661064148,
0.05608946830034256,
0.030834129080176353,
-0.0075153480283916,
-0.0012333180056884885,
0.0459873303771019,
0.002885987749323249,
-0.07335356622934341,
0.033529289066791534,
-0.030249863862991333,
-0.013805623166263103,
0.020562369376420975,
-0.0416901558637619,
-0.010884297080338001,
-0.01532282866537571,
-0.036111362278461456,
-0.036469463258981705,
0.016689255833625793,
-0.05586329847574234,
0.0242752805352211,
0.07105419784784317,
-0.0029590209014713764,
0.0539785735309124,
-0.01296691969037056,
-0.03334081545472145,
-0.06875482946634293,
0.01847974583506584,
0.008349339477717876,
-0.0023146800231188536,
-0.013532337732613087,
0.0039767734706401825,
0.024011418223381042,
-0.0005863266997039318,
0.014879917725920677,
0.03863689675927162,
0.006092379335314035,
0.08488809317350388,
0.015162626281380653,
0.005559943616390228,
-0.057672638446092606,
0.011110464110970497,
-0.058991946280002594,
0.006572984624654055,
-0.036375224590301514,
0.01107276976108551,
0.021994760259985924,
-0.007048877887427807,
-0.04655275121331215,
-0.05529788136482239,
-0.01768816076219082,
-0.040823180228471756,
-0.024689920246601105,
-0.011883202008903027,
0.03695949167013168,
-0.017028506845235825,
-0.026913898065686226,
0.027648940682411194,
0.03744952008128166,
0.04572347179055214,
0.011525103822350502,
-0.008156155236065388,
-0.005248963832855225,
-0.048512864857912064,
-0.027196606621146202,
-0.01026233658194542,
0.026367327198386192,
-0.05122687295079231,
-0.06807632744312286,
-0.0003095074789598584,
-0.04282099008560181,
0.026065770536661148,
0.0645330399274826,
0.03775107488036156,
-0.013381559401750565,
-0.013965824618935585,
-0.03594173863530159,
-0.010874873027205467,
-0.031380701810121536,
-0.019261907786130905,
-0.07267506420612335,
-0.003328898688778281,
0.01248631440103054,
0.016566747799515724,
-0.011119887232780457,
-0.02519879676401615,
0.02052467316389084,
0.1507781445980072,
0.012458044104278088,
-0.027045829221606255,
0.08006319403648376,
0.03750606253743172,
0.03782646358013153,
-0.02344600111246109,
0.014823375269770622,
-0.009258720092475414,
-0.007604872342199087,
-0.008872350677847862,
0.012561704032123089,
-0.032605770975351334,
-0.014776257798075676,
-0.06072589382529259,
-0.039993900805711746,
0.0066106789745390415,
-0.07335356622934341,
-0.021881677210330963,
-0.06675702333450317,
-0.017490264028310776,
0.010186947882175446,
0.005013373214751482,
0.04960600659251213,
-0.03040064126253128,
-0.011101040057837963,
-0.03524439036846161,
0.005489266477525234,
-0.012241300195455551,
-0.035037070512771606,
0.04617580398917198,
0.005164151079952717,
0.01922421343624592,
0.03878767788410187,
-0.003569201333448291,
-0.0412755161523819,
-0.011949167586863041,
-0.019374990835785866,
0.024124501273036003,
0.04866364225745201,
-0.004770714323967695,
0.016783490777015686,
-0.002213375875726342,
0.014729139395058155,
-0.03330312296748161,
-0.000796297041233629,
-0.023879487067461014,
-0.06837788224220276,
0.051679205149412155,
0.021372800692915916,
-0.006210174411535263,
0.015162626281380653,
-0.024256432428956032,
0.05488324165344238,
-0.01684003323316574,
-0.0016738729318603873,
0.04161476716399193,
-0.03660139441490173,
0.10607241839170456,
0.059444282203912735,
0.015812857076525688,
-0.0033053394872695208,
-0.04738203063607216,
-0.024784157052636147,
-0.03782646358013153,
0.01237323135137558,
-0.04794744774699211,
-0.07704763114452362,
-0.004909713286906481,
-0.03145609050989151,
0.05198076367378235,
0.06577695906162262,
-0.020241964608430862,
-0.0056683155708014965,
0.006111226510256529,
-0.012099945917725563,
-0.005701298359781504,
-0.05424243584275246,
0.08066630363464355,
-0.0634022057056427,
-0.024331821128726006,
0.048362087458372116,
-0.04692969471216202,
-0.021127786487340927,
0.031192228198051453,
-0.004113416187465191,
0.029835224151611328,
-0.039541564881801605,
-0.03085297718644142,
-0.021598968654870987,
0.0199215617030859,
-0.06008508801460266,
-0.05412935093045235,
-0.019865019246935844,
-0.014710292220115662,
-0.01054504606872797,
-0.04692969471216202,
-0.06223367527127266,
-0.0506991483271122,
-0.013127122074365616,
0.012872683815658092,
0.020713146775960922,
-0.011242395266890526,
-0.03816571459174156,
0.013664268888533115,
-0.00889591034501791,
0.024426057934761047,
0.025481505319476128,
-0.055448658764362335,
-0.003093307837843895,
-0.056730274111032486,
0.01108219288289547,
0.056504108011722565,
0.022560179233551025,
-0.040257763117551804,
0.0020684876944869757,
0.019638853147625923,
-0.050623759627342224,
0.06163056567311287,
-0.01780124381184578,
-0.026216547936201096,
0.0172075554728508,
0.03401931747794151,
0.044366467744112015,
0.06091436743736267,
-0.008302221074700356,
0.028214359655976295,
-0.007430535275489092,
-0.024803003296256065,
-0.027630094438791275,
-0.012213028967380524,
-0.028252054005861282,
0.0032582213170826435,
0.04184093326330185,
0.0851142555475235,
0.04372565820813179,
-0.006247869227081537,
-0.04206709936261177,
0.025274185463786125,
-0.0865466520190239,
0.03867459297180176,
-0.007355146110057831,
-0.007072437088936567,
0.026781966909766197,
-0.020072339102625847,
0.013984672725200653,
-0.012410925701260567,
0.03973003849387169,
-0.03320888429880142,
-0.010130406357347965,
-0.03797724470496178,
-0.025632282719016075,
-0.007020607125014067,
-0.025179948657751083,
-0.029401736333966255,
0.011685305275022984,
-0.0003710555611178279,
-0.024482600390911102,
-0.0336989127099514,
0.024086806923151016,
0.02582075633108616,
-0.04172784835100174,
0.0449695810675621,
-0.012637092731893063,
-0.017838938161730766,
-0.009112653322517872,
0.009310550056397915,
0.02203245460987091,
0.03028755821287632,
0.007854598574340343,
0.05495863035321236,
-0.01851744018495083,
-0.03398162126541138,
-0.00324172992259264,
0.05454399064183235,
-0.05808727815747261,
0.007722667884081602,
0.019129976630210876,
-0.026838509365916252,
-0.000342195708071813,
0.013136545196175575,
-0.010705247521400452,
0.07376820594072342,
-0.014305075630545616,
0.02629193849861622,
0.010460233315825462,
-0.08835598826408386,
-0.0728258416056633,
0.01755622960627079,
0.022352859377861023,
0.000987714622169733,
0.05216923728585243,
-0.01214706338942051,
-0.04135090485215187,
-0.0005153549718670547,
0.06509846448898315,
0.06200750917196274,
0.0546947680413723,
0.058841168880462646,
-0.017009658738970757,
0.009923086501657963,
-0.027271995320916176,
0.0017445501871407032,
0.0033713048323988914,
0.022805193439126015,
0.07520059496164322,
0.046967390924692154,
0.053677018731832504,
0.056881051510572433,
-0.027724329382181168,
-0.01178896613419056,
-0.02061890996992588,
0.0353386253118515,
-0.006511731073260307,
0.009583835490047932,
-0.02936404198408127,
0.0199215617030859,
-0.010950262658298016,
0.043914131820201874,
0.04417799413204193,
0.007633143104612827,
0.021636663004755974,
-0.0005277234595268965,
-0.023144444450736046,
-0.0398431234061718,
0.031060297042131424,
0.010978532955050468,
-0.061215922236442566,
0.018658794462680817,
0.01048850454390049,
0.03726104646921158,
-0.06019817292690277,
0.03509361296892166,
-0.03703488036990166,
0.07350434362888336,
-0.025877298787236214,
-0.04463033005595207,
0.08149558305740356,
-0.05823805555701256,
0.054016269743442535,
-0.00884408038109541,
0.03805263340473175,
-0.027630094438791275,
0.03874998167157173,
0.005347912199795246,
-0.0150306960567832,
0.02840283140540123,
0.06178134307265282,
0.006332681979984045,
0.046364277601242065,
0.005357335787266493,
-0.025764213874936104,
0.012278994545340538,
0.00703474273905158,
0.06136670336127281,
0.023276375606656075,
0.004002688452601433,
0.07885696738958359,
-0.029477126896381378,
-0.011534527875483036,
-0.0025373133830726147,
-0.009678071364760399,
-0.02617885358631611,
-0.027554703876376152,
0.028082428500056267,
-0.04410260543227196,
-0.01922421343624592,
-0.024897240102291107,
-0.06570157408714294,
0.023879487067461014,
0.005748416297137737,
0.024124501273036003,
-0.007958258502185345,
-0.013767928816378117,
-0.06762399524450302,
-0.035904042422771454,
-0.002584431553259492,
-0.011562798172235489,
-0.007939411327242851,
0.029609056189656258,
-0.02393602952361107,
-0.001055446919053793,
0.0572579987347126,
-0.0031333582010120153,
0.05906733497977257,
0.04263252019882202,
-0.03405701369047165,
0.011459138244390488,
-0.06257292628288269,
-0.06547540426254272,
-0.03356698155403137,
-0.025048017501831055,
0.03381199762225151,
0.02876093052327633,
-0.03132415935397148,
0.012797294184565544,
0.0626860111951828,
-0.0025255337823182344,
0.020581215620040894,
0.028610151261091232,
-0.013485219329595566,
0.005955736618489027,
-0.05160381644964218,
0.023653320968151093,
-0.029062485322356224,
0.0027116506826132536,
-0.023615626618266106,
0.0020425724796950817,
-0.013240205124020576,
-0.06408070772886276,
0.034942831844091415,
0.014682020992040634,
-0.01683061011135578,
-0.07380589842796326,
0.004942695610225201,
-0.06705857813358307,
-0.013635997660458088,
0.011628763750195503,
-0.015888245776295662,
0.014305075630545616,
0.08850676566362381,
0.004549259319901466,
-0.025066865608096123,
0.026329632848501205,
0.011939743533730507,
0.019601158797740936,
0.020204270258545876,
0.013946977443993092,
0.003981485031545162,
-0.02747931517660618,
0.006064108107239008,
-0.07520059496164322,
-0.04255712777376175,
0.0030132068786770105,
-0.006860405206680298,
0.023238681256771088,
0.05081223323941231,
-0.018941503018140793,
0.019054587930440903,
-0.06264831870794296,
0.006474036257714033,
-0.005941601004451513,
0.04545960947871208,
-0.03901384398341179,
-0.020807383581995964,
-0.020355049520730972,
0.026574647054076195,
-0.03217228502035141,
0.015021272003650665,
-0.07018722593784332,
0.04263252019882202,
0.05657949671149254,
0.00918333139270544,
0.026423867791891098,
-0.013899859972298145,
0.036111362278461456,
-0.04191632196307182,
0.04666583240032196,
0.032605770975351334,
-0.03285078704357147,
-0.038712285459041595,
-0.04398952051997185,
-0.07011183351278305,
0.0716950073838234,
-0.04843747615814209,
-0.02073199488222599,
0.023031361401081085,
-0.008636760525405407,
0.038109175860881805,
0.011148158460855484,
0.035904042422771454,
-0.011063345707952976,
0.024181043729186058,
0.04576116427779198,
-0.030099086463451385,
0.0416901558637619,
0.005776687525212765,
0.036337532103061676,
-0.043122548609972,
-0.06807632744312286,
-0.03456588834524155,
0.0033147630747407675,
-0.027969345450401306,
0.06585235148668289,
-0.02911902777850628,
0.008622624911367893,
-0.04945522919297218,
0.10034284740686417,
0.006945217959582806,
0.007798057049512863,
0.03803378716111183,
0.07222272455692291,
0.047532808035612106,
0.03326542675495148,
-0.0022887650411576033,
-0.012316688895225525,
0.019601158797740936,
0.015501877292990685,
0.02900594472885132,
-0.0412755161523819,
0.03017447516322136,
-0.019412685185670853,
-0.02414334937930107,
0.017386604100465775,
0.024708766490221024,
0.0052206930704414845,
0.017490264028310776,
0.027140064164996147,
-0.027290843427181244,
-0.00005429632801678963,
0.00900899339467287,
0.014182568527758121,
0.013089426793158054,
-0.022899430245161057,
0.05126456543803215,
-0.02968444675207138,
-0.036243293434381485,
-0.03403816372156143,
0.017518535256385803,
-0.03580980747938156,
-0.018913231790065765,
-0.03733643516898155,
0.04692969471216202,
-0.016915421932935715,
-0.08549120277166367,
-0.040597014129161835,
-0.0013145968550816178,
-0.041878629475831985,
-0.007821615785360336,
0.01696254126727581,
-0.051302261650562286,
0.02849706821143627,
0.03686525300145149,
-0.01126124244183302,
0.004711817018687725,
0.018083952367305756,
0.0004205296572763473,
0.050963010638952255,
-0.008599065244197845,
-0.027158912271261215,
0.021014703437685966,
0.0034608293790370226,
0.014927036128938198,
0.046477362513542175,
0.007529483176767826,
-0.018555134534835815,
-0.007020607125014067,
0.09589489549398422,
0.003319474868476391,
-0.006888675969094038,
-0.028214359655976295,
0.036827560514211655,
0.023295221850275993,
-0.015963634476065636,
0.015530148521065712,
-0.017414875328540802,
0.010516774840652943,
-0.005069914739578962,
-0.009828849695622921,
0.04610041528940201,
0.05778571963310242,
0.0157751627266407,
0.022918276488780975,
0.03232306241989136,
-0.03498052805662155,
0.05710722133517265,
-0.0004508619604166597,
-0.010592164471745491,
-0.02665003575384617,
0.015266286209225655,
0.009324685670435429,
-0.03418894112110138,
0.04395182803273201,
0.014276805333793163,
0.016444239765405655,
-0.011468562297523022,
-0.0013664268190041184,
0.06249753758311272,
0.10117213428020477,
-0.03053257241845131,
0.020128881558775902,
0.010130406357347965,
-0.004937984049320221,
-0.0004284808528609574,
0.04161476716399193,
0.05706952512264252,
0.010752365924417973,
-0.01990271359682083,
0.012882106937468052,
0.05778571963310242,
0.00011713281855918467,
0.01566207967698574,
0.031889576464891434,
-0.0419917106628418,
-0.015351098962128162,
-0.009112653322517872,
0.025293033570051193,
0.013456949032843113,
0.09091921895742416,
-0.02346484735608101
] |
719,472
|
ibm_platform_services.enterprise_management_v1
|
list_account_groups
|
List account groups.
Retrieve all account groups based on the values that are passed in the query
parameters. If no query parameter is passed, all of the account groups in the
enterprise for which the calling identity has access are returned. <br/><br/>You
can use pagination parameters to filter the results. The `limit` field can be used
to limit the number of results that are displayed for this method.<br/><br/>This
method ensures that only the account groups that the user has access to are
returned. Access can be controlled either through a policy on a specific account
group, or account-level platform services access roles, such as Administrator,
Editor, Operator, or Viewer. When you call the method with the `enterprise_id`,
`parent_account_group_id` or `parent` query parameter, all of the account groups
that are immediate children of this entity are returned. Authentication is
performed on all account groups before they are returned to the user to ensure
that only those account groups are returned to which the calling identity has
access.
:param str enterprise_id: (optional) Get account groups that are either
immediate children or are a part of the hierarchy for a given enterprise
ID.
:param str parent_account_group_id: (optional) Get account groups that are
either immediate children or are a part of the hierarchy for a given
account group ID.
:param str next_docid: (optional) The first item to be returned in the page
of results. This value can be obtained from the next_url property from the
previous call of the operation. If not specified, then the first page of
results is returned.
:param str parent: (optional) Get account groups that are either immediate
children or are a part of the hierarchy for a given parent CRN.
:param int limit: (optional) Return results up to this limit. Valid values
are between `0` and `100`.
:param bool include_deleted: (optional) Include the deleted account groups
from an enterprise when used in conjunction with other query parameters.
: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 representing a `ListAccountGroupsResponse` object
|
def list_account_groups(
self,
*,
enterprise_id: Optional[str] = None,
parent_account_group_id: Optional[str] = None,
next_docid: Optional[str] = None,
parent: Optional[str] = None,
limit: Optional[int] = None,
include_deleted: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
List account groups.
Retrieve all account groups based on the values that are passed in the query
parameters. If no query parameter is passed, all of the account groups in the
enterprise for which the calling identity has access are returned. <br/><br/>You
can use pagination parameters to filter the results. The `limit` field can be used
to limit the number of results that are displayed for this method.<br/><br/>This
method ensures that only the account groups that the user has access to are
returned. Access can be controlled either through a policy on a specific account
group, or account-level platform services access roles, such as Administrator,
Editor, Operator, or Viewer. When you call the method with the `enterprise_id`,
`parent_account_group_id` or `parent` query parameter, all of the account groups
that are immediate children of this entity are returned. Authentication is
performed on all account groups before they are returned to the user to ensure
that only those account groups are returned to which the calling identity has
access.
:param str enterprise_id: (optional) Get account groups that are either
immediate children or are a part of the hierarchy for a given enterprise
ID.
:param str parent_account_group_id: (optional) Get account groups that are
either immediate children or are a part of the hierarchy for a given
account group ID.
:param str next_docid: (optional) The first item to be returned in the page
of results. This value can be obtained from the next_url property from the
previous call of the operation. If not specified, then the first page of
results is returned.
:param str parent: (optional) Get account groups that are either immediate
children or are a part of the hierarchy for a given parent CRN.
:param int limit: (optional) Return results up to this limit. Valid values
are between `0` and `100`.
:param bool include_deleted: (optional) Include the deleted account groups
from an enterprise when used in conjunction with other query parameters.
: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 representing a `ListAccountGroupsResponse` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_account_groups',
)
headers.update(sdk_headers)
params = {
'enterprise_id': enterprise_id,
'parent_account_group_id': parent_account_group_id,
'next_docid': next_docid,
'parent': parent,
'limit': limit,
'include_deleted': include_deleted,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/account-groups'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, enterprise_id: Optional[str] = None, parent_account_group_id: Optional[str] = None, next_docid: Optional[str] = None, parent: Optional[str] = None, limit: Optional[int] = None, include_deleted: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04193351790308952,
-0.009716995060443878,
-0.07576796412467957,
-0.03483736887574196,
0.0020105759613215923,
0.012053994461894035,
-0.01656714640557766,
-0.013444839045405388,
0.0025191332679241896,
0.005175459198653698,
0.041592903435230255,
-0.04965412989258766,
0.04586951434612274,
-0.018099913373589516,
0.005956035573035479,
-0.013965223915874958,
0.0011602205922827125,
-0.05007043853402138,
0.05321166664361954,
-0.027154602110385895,
-0.0359538272023201,
0.021856142207980156,
-0.010142764076590538,
0.024353988468647003,
0.015365530736744404,
0.057034123688936234,
0.02639767900109291,
0.019774606451392174,
-0.002779325470328331,
0.05158428102731705,
-0.008837072178721428,
-0.03167721629142761,
0.022707680240273476,
0.023105066269636154,
-0.0233321413397789,
-0.06006181612610817,
-0.0028313640505075455,
0.01600891537964344,
-0.08803010731935501,
0.04155505448579788,
0.012735224328935146,
-0.022177835926413536,
0.04057105630636215,
-0.015696683898568153,
0.003020594595000148,
0.01967998966574669,
0.013775993138551712,
0.0014878262300044298,
-0.018705451861023903,
-0.009485187940299511,
-0.029501061886548996,
-0.062446121126413345,
-0.01571560837328434,
-0.0311095230281353,
0.0028479215689003468,
0.024467526003718376,
-0.044015053659677505,
-0.07663842290639877,
0.03364521265029907,
0.004288440104573965,
0.016926683485507965,
-0.026908602565526962,
-0.015564222820103168,
-0.053363051265478134,
-0.06373289227485657,
0.02391875721514225,
-0.07750888168811798,
-0.01669960655272007,
-0.05366582050919533,
-0.0033280944917351007,
-0.06918273121118546,
0.06448981165885925,
0.025924602523446083,
-0.01558314636349678,
-0.060818739235401154,
0.03459136560559273,
0.003337556030601263,
0.030295830219984055,
0.019008221104741096,
-0.003254767507314682,
0.004101574886590242,
0.011022686958312988,
0.03039044700562954,
0.027022140100598335,
0.03515905886888504,
0.014570762403309345,
0.015346608124673367,
-0.010994302108883858,
0.027211371809244156,
-0.003103383118286729,
-0.0014121339190751314,
-0.0003979757602792233,
-0.014618069864809513,
0.006022266112267971,
0.018289145082235336,
-0.010360379703342915,
-0.028971215710043907,
0.03339921310544014,
-0.00451551703736186,
-0.0006025814218446612,
-0.028138602152466774,
-0.05873719975352287,
-0.0003734349156729877,
-0.00824572704732418,
0.005653266329318285,
-0.06097012385725975,
-0.012621685862541199,
-0.0054214587435126305,
0.0501839742064476,
0.05124366655945778,
-0.05843443423509598,
-0.06846366077661514,
0.04855659231543541,
0.01127814780920744,
0.012593301013112068,
0.03763798251748085,
0.004664536099880934,
-0.015053300186991692,
0.050032589584589005,
-0.05044889822602272,
0.007592880632728338,
-0.031033830717206,
0.02528121881186962,
0.006812304258346558,
-0.000010477909199835267,
0.04265259578824043,
0.002344094915315509,
0.031544752418994904,
-0.007531380746513605,
0.013463762588799,
-0.0004118724027648568,
0.005355228204280138,
-0.01809045299887657,
-0.029917370527982712,
0.08235318958759308,
0.00542618939653039,
0.017106452956795692,
0.03954921290278435,
-0.049502745270729065,
0.006504804361611605,
0.006599419750273228,
-0.0013790185330435634,
0.024562140926718712,
0.040230441838502884,
-0.0101238414645195,
0.030295830219984055,
0.05979689210653305,
-0.028479216620326042,
-0.012981223873794079,
-0.01584806852042675,
-0.0286116786301136,
-0.03351275250315666,
0.019642144441604614,
-0.0083639957010746,
-0.02745737135410309,
0.04999474436044693,
-0.04802674427628517,
0.018468914553523064,
0.02588675729930401,
0.00648588128387928,
-0.07947688549757004,
0.03742982819676399,
0.005184920504689217,
-0.06664704531431198,
0.002157229697331786,
-0.005534997209906578,
-0.04867012798786163,
-0.021137066185474396,
-0.03057967685163021,
-0.05627720430493355,
-0.03992767259478569,
0.007408380974084139,
-0.009154033847153187,
-0.023767372593283653,
-0.0741027295589447,
-0.000626235269010067,
0.05419566482305527,
0.00403534434735775,
-0.022177835926413536,
0.01824183762073517,
-0.014428839087486267,
-0.010313072241842747,
0.0168036837130785,
-0.026454448699951172,
-0.006604150403290987,
0.011656609363853931,
0.025583988055586815,
0.06036458536982536,
-0.03411829099059105,
-0.06566304713487625,
-0.03338029235601425,
-0.029065832495689392,
-0.004009325057268143,
-0.0028644793201237917,
-0.03707028925418854,
-0.04719413071870804,
-0.00719076581299305,
-0.0007226246525533497,
0.025602910667657852,
0.03039044700562954,
-0.02698429487645626,
0.01562099251896143,
0.05824520066380501,
-0.0029094216879457235,
0.004025882575660944,
-0.01813776046037674,
-0.06713904440402985,
0.006575766019523144,
-0.01677529886364937,
0.01981245167553425,
-0.028441371396183968,
-0.005090305116027594,
-0.0024623642675578594,
0.018904143944382668,
-0.001179143670015037,
0.05926704779267311,
0.03468598425388336,
0.008212611079216003,
-0.01212022453546524,
-0.026435526087880135,
-0.007167111616581678,
-0.03548075258731842,
0.00043700457899831235,
-0.07274027168750763,
-0.03018229268491268,
-0.029690293595194817,
0.012877147644758224,
-0.028800908476114273,
-0.007242803927510977,
-0.026113832369446754,
-0.021155988797545433,
-0.06377074122428894,
-0.005402535665780306,
0.008941149339079857,
-0.01519522350281477,
-0.01470322348177433,
0.02601921744644642,
0.00016380280430894345,
0.031014908105134964,
0.0575261265039444,
-0.037089213728904724,
0.03901936486363411,
0.05491474270820618,
0.04685351625084877,
-0.014485607855021954,
-0.006982611957937479,
-0.04579382389783859,
0.016822606325149536,
0.04253905639052391,
-0.02620844915509224,
-0.037713672965765,
-0.07871995866298676,
0.010303610004484653,
-0.008657303638756275,
-0.0226698350161314,
-0.05873719975352287,
-0.07455688714981079,
0.005653266329318285,
0.031979985535144806,
0.0022175470367074013,
0.01960429735481739,
-0.027495216578245163,
-0.05154643580317497,
0.008874918334186077,
0.07713042199611664,
0.056428588926792145,
0.03383444622159004,
0.0012158070458099246,
0.09938395023345947,
0.030731061473488808,
0.028252139687538147,
0.03746767342090607,
0.02575429528951645,
-0.014485607855021954,
-0.03129875287413597,
0.021420912817120552,
0.02567860297858715,
-0.06505750864744186,
-0.05430920422077179,
-0.02562183327972889,
0.01349214743822813,
-0.015469607897102833,
-0.09355564415454865,
-0.034345366060733795,
0.06615504622459412,
-0.0023653835523873568,
-0.01992598921060562,
0.0019088644767180085,
-0.042501211166381836,
0.02410798892378807,
0.0035977482330054045,
-0.007446227129548788,
-0.06944765895605087,
-0.0017562971916049719,
-0.02953890897333622,
-0.027533063665032387,
0.0038319211453199387,
-0.0441664382815361,
-0.021685834974050522,
0.0018154317513108253,
0.010369841009378433,
0.031601522117853165,
0.08121780306100845,
0.019566452130675316,
0.01872437447309494,
-0.04628582298755646,
0.0250919871032238,
0.021080296486616135,
0.03307752311229706,
0.0025782680604606867,
-0.01843106746673584,
0.00026891453308053315,
0.07599504292011261,
-0.035386137664318085,
-0.04462059214711189,
-0.0767519623041153,
0.05374151095747948,
0.023029373958706856,
0.00789565034210682,
0.05249258875846863,
-0.012139148078858852,
0.005364689510315657,
0.015223607420921326,
-0.019187990576028824,
0.08871134370565414,
0.027078909799456596,
0.06577657908201218,
0.07209688425064087,
0.049048591405153275,
-0.012602763250470161,
0.0044350940734148026,
-0.08530519157648087,
-0.05548243224620819,
0.02900906279683113,
-0.0660415068268776,
-0.10876978933811188,
-0.004782805219292641,
-0.06532242894172668,
0.009154033847153187,
-0.019329912960529327,
-0.031336598098278046,
-0.03714597970247269,
0.015384454280138016,
-0.029330754652619362,
0.010710456408560276,
-0.03300182893872261,
0.13200731575489044,
-0.03332352265715599,
-0.01600891537964344,
0.044015053659677505,
0.0359538272023201,
0.003999863285571337,
0.06475473940372467,
0.03788398206233978,
0.0016167395515367389,
-0.018582452088594437,
0.004475305322557688,
0.041138749569654465,
0.032377369701862335,
-0.013577301055192947,
-0.04507474601268768,
-0.006310842931270599,
-0.01590483821928501,
0.012318916618824005,
-0.010691532865166664,
-0.06967473775148392,
-0.05249258875846863,
-0.03621875122189522,
0.055709511041641235,
0.03788398206233978,
0.01378545444458723,
0.002750940853729844,
0.019008221104741096,
0.04072244092822075,
0.013454301282763481,
0.014495070092380047,
-0.005042997654527426,
-0.00004342696047388017,
-0.003484209766611457,
0.005260612815618515,
0.04670213162899017,
-0.01787283644080162,
0.026965370401740074,
0.003950190264731646,
-0.0029543638229370117,
-0.023294296115636826,
0.0429932102560997,
0.031601522117853165,
-0.06539811939001083,
-0.036426905542612076,
0.007351611740887165,
0.023615987971425056,
0.04170643910765648,
0.017532221972942352,
-0.042311977595090866,
-0.028914447873830795,
0.009745379909873009,
-0.04125228896737099,
-0.03555644303560257,
-0.04216059297323227,
0.011845840141177177,
0.04855659231543541,
0.015138453803956509,
-0.0018118837615475059,
0.009565610438585281,
-0.019140683114528656,
0.034799519926309586,
-0.05718550831079483,
0.007928765378892422,
0.025375833734869957,
0.008345073089003563,
-0.0015777107328176498,
-0.015469607897102833,
0.007432034704834223,
0.016661761328577995,
0.04098736494779587,
-0.02887660078704357,
0.08939257264137268,
0.04174428805708885,
-0.006367612164467573,
-0.007531380746513605,
-0.04322028532624245,
-0.02477029524743557,
0.0598725862801075,
0.003526786807924509,
-0.06467904150485992,
0.031128445640206337,
-0.012233763001859188,
-0.03954921290278435,
-0.045642439275979996,
0.07970395684242249,
-0.0037538635078817606,
-0.035840291529893875,
-0.03358844667673111,
-0.03561321273446083,
0.01755114458501339,
-0.03746767342090607,
0.0250919871032238,
0.009868379682302475,
-0.013132608495652676,
0.009660226292908192,
-0.005388343706727028,
-0.0022908737882971764,
-0.003214556025341153,
0.03875444084405899,
0.02743844874203205,
0.013690839521586895,
-0.009210803546011448,
0.056504279375076294,
-0.036313366144895554,
0.055520281195640564,
0.007971342653036118,
0.013577301055192947,
0.022991526871919632,
-0.029898446053266525,
-0.031033830717206,
0.014059838838875294,
0.015630453824996948,
0.018071530386805534,
0.025716448202729225,
0.06774458289146423,
-0.03958705812692642,
0.017853913828730583,
0.05782889574766159,
0.009991379454731941,
0.095675028860569,
0.04462059214711189,
0.029501061886548996,
0.011410609818994999,
-0.0515085905790329,
-0.003443998284637928,
0.016141377389431,
-0.0375622883439064,
0.01659552939236164,
-0.02136414311826229,
0.032377369701862335,
0.028592754155397415,
-0.013444839045405388,
-0.0021323931869119406,
0.01616976037621498,
0.0057999202981591225,
0.01627383753657341,
0.04556674510240555,
-0.05415781959891319,
-0.0033233638387173414,
-0.08083934336900711,
0.02613275684416294,
0.009821072220802307,
-0.03320998325943947,
-0.029444292187690735,
0.0234078336507082,
-0.02312398888170719,
-0.067214734852314,
0.0024978448636829853,
0.028706293553113937,
-0.0170212984085083,
0.011505224741995335,
-0.006746073719114065,
0.03326675295829773,
-0.02490275725722313,
0.026700448244810104,
-0.05105443671345711,
0.006320304702967405,
-0.09279872477054596,
0.007625996135175228,
0.04038182646036148,
0.03196106106042862,
0.016122452914714813,
-0.03782721236348152,
-0.010038686916232109,
-0.023445680737495422,
0.04469628632068634,
-0.03141229227185249,
0.005757343489676714,
-0.0074273040518164635,
0.06017535552382469,
-0.0051234206184744835,
0.019698914140462875,
0.0245810654014349,
0.01739029958844185,
0.01787283644080162,
0.01781606860458851,
-0.021383065730333328,
0.07451903820037842,
0.015885915607213974,
0.006684573832899332,
-0.03338029235601425,
0.00548768974840641,
-0.027684448286890984,
-0.0358024425804615,
0.03875444084405899,
0.004825382027775049,
-0.0005330982967279851,
-0.02019091323018074,
-0.07012888789176941,
-0.037619058042764664,
-0.07096150517463684,
0.02660583332180977,
0.024808142334222794,
0.055179666727781296,
0.00038940124795772135,
-0.039965517818927765,
-0.09075503051280975,
-0.005558650940656662,
-0.04352305456995964,
0.0010313071543350816,
0.04488551616668701,
-0.014712684787809849,
0.041782133281230927,
0.017560606822371483,
0.0353672131896019,
-0.0003030647640116513,
0.06059166043996811,
0.015327684581279755,
0.0012093023397028446,
0.03935997933149338,
-0.037997521460056305,
-0.06657135486602783,
-0.05196274444460869,
-0.06740396469831467,
0.03135552257299423,
0.033607367426157,
-0.022840142250061035,
-0.04125228896737099,
0.03593490645289421,
0.05143289640545845,
0.035575367510318756,
0.060932278633117676,
0.01693614572286606,
0.04287967085838318,
-0.05601228028535843,
-0.011561994440853596,
-0.046361517161130905,
-0.018014760687947273,
-0.004456382244825363,
0.04889720678329468,
-0.014750530943274498,
-0.04333382472395897,
0.04719413071870804,
-0.06240827590227127,
0.0038342864718288183,
-0.07773596048355103,
0.0586993545293808,
-0.02530014142394066,
0.007848341949284077,
0.035253673791885376,
0.0028148062992841005,
0.0077584576793015,
0.033304598182439804,
0.05063812807202339,
-0.021326297894120216,
0.022972604259848595,
-0.01712537556886673,
0.012735224328935146,
-0.015431761741638184,
0.03667290508747101,
-0.032244905829429626,
-0.02136414311826229,
-0.05044889822602272,
-0.023180758580565453,
0.011978302150964737,
0.06112150847911835,
0.027400601655244827,
0.06112150847911835,
0.03320998325943947,
0.037940751761198044,
0.02104245126247406,
-0.0647168904542923,
-0.01584806852042675,
0.022575220093131065,
-0.09007380157709122,
-0.00042961275903508067,
0.006400727666914463,
-0.001515028066933155,
-0.0012808551546186209,
-0.006916380953043699,
0.020115220919251442,
-0.009224995039403439,
0.07993103563785553,
0.02463783323764801,
0.06884212046861649,
0.05215197429060936,
0.006873804144561291,
0.0694098100066185,
-0.024089064449071884,
0.02410798892378807,
0.0101995337754488,
0.01973675936460495,
-0.0316961370408535,
0.02607598714530468,
-0.03705136477947235,
0.04246336221694946,
-0.09060364961624146,
-0.015337145887315273,
-0.003895786590874195,
0.021004604175686836,
0.03430752083659172,
-0.016557684168219566,
0.005757343489676714,
-0.055179666727781296,
-0.025697525590658188,
0.022518450394272804,
-0.005828304681926966,
0.047080591320991516,
-0.03831921145319939,
0.06672273576259613,
-0.042955365031957626,
0.008184227161109447,
0.02240491285920143,
-0.008997919037938118,
-0.056958433240652084,
0.04246336221694946,
-0.054990433156490326,
-0.06729042530059814,
-0.04219844192266464,
0.07682765275239944,
-0.04908643662929535,
0.0431445948779583,
-0.011609301902353764,
0.015043838880956173,
0.06566304713487625,
-0.003680536523461342,
-0.006826496683061123,
-0.033683061599731445,
-0.04821597784757614,
-0.0293496772646904,
0.03313429281115532,
0.02705998718738556,
0.06967473775148392,
-0.041819978505373,
-0.004749690182507038,
0.01894199103116989,
0.00964130274951458,
0.05306028202176094,
-0.007621265482157469,
0.042387671768665314,
-0.017115915194153786,
-0.006121612153947353,
-0.014589685015380383,
0.005974958650767803,
0.013766531832516193,
0.03608629107475281,
-0.030636446550488472,
0.009035765193402767,
0.0031861714087426662,
-0.01558314636349678,
0.014845146797597408,
-0.02796829305589199,
-0.026227371767163277,
-0.012744685634970665,
0.024467526003718376,
-0.03430752083659172,
-0.04310674965381622,
-0.05025966838002205,
0.007029919419437647,
-0.0012169898254796863,
0.00209099892526865,
-0.015422300435602665,
0.00942841824144125,
0.04129013419151306,
0.009352725930511951,
-0.015611530281603336,
0.0065615735948085785,
0.010757763870060444,
0.010672610253095627,
0.061197198927402496,
0.007375265471637249,
-0.020209835842251778,
-0.010871302336454391,
0.013974685221910477,
0.025148756802082062,
0.07414057850837708,
-0.04961628466844559,
-0.05461197346448898,
-0.006580496672540903,
0.01678476110100746,
0.04340951517224312,
-0.0117039168253541,
0.008340341970324516,
0.026359833776950836,
0.020342297852039337,
0.05203843489289284,
0.021799374371767044,
-0.04371228441596031,
-0.009934610687196255,
-0.044279977679252625,
-0.020607220008969307,
0.06922058016061783,
-0.01186476368457079,
-0.030731061473488808,
0.06585227698087692,
0.010994302108883858,
-0.02607598714530468,
-0.023180758580565453,
-0.0016392107354477048,
-0.014968146570026875,
-0.021477682515978813,
-0.023483525961637497,
0.0027201909106224775,
-0.013671915978193283,
0.06210550665855408,
0.059645507484674454,
-0.019963836297392845,
-0.03640798106789589,
-0.06335443258285522,
-0.007010996341705322,
0.10324425995349884,
-0.032850444316864014,
0.02581106498837471,
-0.033361367881298065,
0.03084460087120533,
0.01042660977691412,
0.03760013356804848,
0.05726120248436928,
-0.03935997933149338,
-0.007905111648142338,
0.005506612826138735,
0.03733521327376366,
0.027551986277103424,
0.012195916846394539,
0.011628225445747375,
0.04745905473828316,
0.02104245126247406,
-0.008699879981577396,
-0.017219992354512215,
0.03563213720917702,
0.0347805991768837,
-0.030958138406276703
] |
719,473
|
ibm_platform_services.enterprise_management_v1
|
list_accounts
|
List accounts.
Retrieve all accounts based on the values that are passed in the query parameters.
If no query parameter is passed, all of the accounts in the enterprise for which
the calling identity has access are returned. <br/><br/>You can use pagination
parameters to filter the results. The `limit` field can be used to limit the
number of results that are displayed for this method.<br/><br/>This method ensures
that only the accounts that the user has access to are returned. Access can be
controlled either through a policy on a specific account, or account-level
platform services access roles, such as Administrator, Editor, Operator, or
Viewer. When you call the method with the `enterprise_id`, `account_group_id` or
`parent` query parameter, all of the accounts that are immediate children of this
entity are returned. Authentication is performed on all the accounts before they
are returned to the user to ensure that only those accounts are returned to which
the calling identity has access to.
:param str enterprise_id: (optional) Get accounts that are either immediate
children or are a part of the hierarchy for a given enterprise ID.
:param str account_group_id: (optional) Get accounts that are either
immediate children or are a part of the hierarchy for a given account group
ID.
:param str next_docid: (optional) The first item to be returned in the page
of results. This value can be obtained from the next_url property from the
previous call of the operation. If not specified, then the first page of
results is returned.
:param str parent: (optional) Get accounts that are either immediate
children or are a part of the hierarchy for a given parent CRN.
:param int limit: (optional) Return results up to this limit. Valid values
are between `0` and `100`.
:param bool include_deleted: (optional) Include the deleted accounts from
an enterprise when used in conjunction with enterprise_id.
: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 representing a `ListAccountsResponse` object
|
def list_accounts(
self,
*,
enterprise_id: Optional[str] = None,
account_group_id: Optional[str] = None,
next_docid: Optional[str] = None,
parent: Optional[str] = None,
limit: Optional[int] = None,
include_deleted: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
List accounts.
Retrieve all accounts based on the values that are passed in the query parameters.
If no query parameter is passed, all of the accounts in the enterprise for which
the calling identity has access are returned. <br/><br/>You can use pagination
parameters to filter the results. The `limit` field can be used to limit the
number of results that are displayed for this method.<br/><br/>This method ensures
that only the accounts that the user has access to are returned. Access can be
controlled either through a policy on a specific account, or account-level
platform services access roles, such as Administrator, Editor, Operator, or
Viewer. When you call the method with the `enterprise_id`, `account_group_id` or
`parent` query parameter, all of the accounts that are immediate children of this
entity are returned. Authentication is performed on all the accounts before they
are returned to the user to ensure that only those accounts are returned to which
the calling identity has access to.
:param str enterprise_id: (optional) Get accounts that are either immediate
children or are a part of the hierarchy for a given enterprise ID.
:param str account_group_id: (optional) Get accounts that are either
immediate children or are a part of the hierarchy for a given account group
ID.
:param str next_docid: (optional) The first item to be returned in the page
of results. This value can be obtained from the next_url property from the
previous call of the operation. If not specified, then the first page of
results is returned.
:param str parent: (optional) Get accounts that are either immediate
children or are a part of the hierarchy for a given parent CRN.
:param int limit: (optional) Return results up to this limit. Valid values
are between `0` and `100`.
:param bool include_deleted: (optional) Include the deleted accounts from
an enterprise when used in conjunction with enterprise_id.
: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 representing a `ListAccountsResponse` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_accounts',
)
headers.update(sdk_headers)
params = {
'enterprise_id': enterprise_id,
'account_group_id': account_group_id,
'next_docid': next_docid,
'parent': parent,
'limit': limit,
'include_deleted': include_deleted,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/accounts'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, enterprise_id: Optional[str] = None, account_group_id: Optional[str] = None, next_docid: Optional[str] = None, parent: Optional[str] = None, limit: Optional[int] = None, include_deleted: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.06455680727958679,
-0.025621332228183746,
-0.04773698002099991,
-0.01123497262597084,
0.005370410159230232,
0.04344811290502548,
-0.0276165883988142,
-0.06713012605905533,
-0.05075783655047417,
-0.027542000636458397,
0.04359728842973709,
-0.04628249257802963,
0.012903902679681778,
-0.017024947330355644,
-0.004622188862413168,
0.010647584684193134,
0.029444020241498947,
0.005258526653051376,
0.050534069538116455,
-0.0032376302406191826,
-0.009491453878581524,
0.034721195697784424,
-0.01114173699170351,
0.012838637456297874,
0.023309072479605675,
0.017276683822274208,
0.014218534342944622,
0.009966959245502949,
0.006102315150201321,
0.06414657086133957,
-0.012903902679681778,
-0.015020366758108139,
0.00247775437310338,
0.04658085107803345,
-0.030544208362698555,
-0.033229414373636246,
0.004978817887604237,
0.04587225615978241,
-0.0627293735742569,
0.06108841672539711,
-0.007267768960446119,
-0.021462993696331978,
0.0798848494887352,
0.006120962556451559,
0.008973993360996246,
0.007580110337585211,
0.027113113552331924,
-0.03863712027668953,
-0.02153758332133293,
-0.0059671225026249886,
0.007472888566553593,
-0.018488755449652672,
-0.01552384253591299,
-0.06567564606666565,
0.021593524143099785,
0.01437703613191843,
-0.03919653594493866,
-0.03561626374721527,
-0.018973585218191147,
0.01867522858083248,
-0.011076470836997032,
-0.03520602360367775,
-0.005906519014388323,
-0.027318233624100685,
-0.06407197564840317,
0.030320441350340843,
-0.0551958829164505,
0.0008513638749718666,
-0.0456111915409565,
0.01075946819037199,
-0.01882440783083439,
0.06354985386133194,
0.042702220380306244,
-0.0104704350233078,
-0.044417768716812134,
-0.015188192017376423,
0.04628249257802963,
0.009277011267840862,
-0.030413677915930748,
-0.022954775020480156,
-0.019691504538059235,
0.009244377724826336,
0.006055696867406368,
0.046953797340393066,
0.05765732005238533,
0.041023965924978256,
-0.031681690365076065,
-0.05575530230998993,
0.02495003119111061,
0.06369903683662415,
0.017789484933018684,
-0.030040733516216278,
-0.02797088772058487,
0.006717674899846315,
0.013985443860292435,
0.014349064789712429,
-0.019728798419237137,
0.013006462715566158,
-0.01370573416352272,
0.02131381630897522,
-0.024129550904035568,
-0.06369903683662415,
0.009873722679913044,
0.03761151805520058,
0.008815491572022438,
-0.07973567396402359,
-0.04587225615978241,
-0.013519261963665485,
0.06560105085372925,
0.04934064298868179,
-0.05609095096588135,
-0.00005798131678602658,
0.043746467679739,
-0.017230065539479256,
-0.0015150897670537233,
0.02114599011838436,
0.02610616199672222,
0.018526051193475723,
0.004932199604809284,
-0.06437033414840698,
0.06545187532901764,
-0.02853030525147915,
0.03119686245918274,
0.006950765382498503,
-0.01503901369869709,
-0.005058068782091141,
-0.014041385613381863,
0.028660835698246956,
-0.03214787319302559,
0.010899322107434273,
-0.020027155056595802,
-0.03438554331660271,
0.00020045801647938788,
-0.03649268299341202,
0.08234629034996033,
0.00952408742159605,
0.02245129831135273,
0.02534162439405918,
-0.08987978100776672,
0.03537384793162346,
0.0009853910887613893,
0.046692732721567154,
0.01676388457417488,
0.029071075841784477,
-0.045387424528598785,
-0.004507974721491337,
0.037779346108436584,
-0.007482212036848068,
0.006223522126674652,
-0.0007581276004202664,
-0.029966143891215324,
-0.020288215950131416,
0.0033378591760993004,
0.008596385829150677,
-0.03859982267022133,
0.020698456093668938,
-0.024800853803753853,
-0.004263229202479124,
0.00261760875582695,
-0.01939314790070057,
-0.07376855611801147,
0.015589107759296894,
0.005468308459967375,
-0.04829639941453934,
-0.0034613972529768944,
-0.03255811333656311,
-0.06511622667312622,
-0.06243101879954338,
-0.036063797771930695,
-0.06533998996019363,
-0.01844213902950287,
-0.020679809153079987,
-0.016624029725790024,
-0.017640305683016777,
-0.09062567353248596,
-0.01980338804423809,
0.05213773250579834,
-0.024670321494340897,
-0.053927868604660034,
0.024129550904035568,
-0.009062567725777626,
-0.03337859362363815,
0.026143455877900124,
-0.012838637456297874,
-0.0015034351963549852,
-0.028977839276194572,
0.023290425539016724,
0.04210550710558891,
-0.0035965899005532265,
-0.03755557909607887,
-0.05840321257710457,
0.010638260282576084,
0.00980845745652914,
-0.01152400579303503,
-0.05594177544116974,
-0.040427256375551224,
-0.010433141142129898,
-0.0018390858313068748,
-0.0006380858831107616,
-0.02873542532324791,
-0.04009160399436951,
0.026702873408794403,
0.05426352098584175,
-0.024838147684931755,
0.041210439056158066,
0.008587062358856201,
-0.03005938045680523,
-0.027355527505278587,
-0.003836673218756914,
-0.00895068421959877,
-0.012801342643797398,
-0.0006520713213831186,
-0.018376871943473816,
0.021966470405459404,
-0.0456111915409565,
0.08674704283475876,
0.06645882874727249,
-0.03334129601716995,
0.022954775020480156,
-0.026907993480563164,
-0.00447067990899086,
-0.053181979805231094,
0.021779997274279594,
-0.08898471295833588,
-0.019691504538059235,
-0.022992068901658058,
0.020791692659258842,
-0.01075946819037199,
-0.002468430669978261,
-0.0532938614487648,
-0.01709953509271145,
-0.022339414805173874,
-0.026218045502901077,
0.01103917695581913,
-0.007761921267956495,
-0.009864399209618568,
-0.010824733413755894,
-0.024483850225806236,
0.04147149994969368,
0.05541964992880821,
-0.009668603539466858,
0.03501955047249794,
0.024968678131699562,
0.04031537100672722,
-0.041396912187337875,
-0.028082771226763725,
-0.05426352098584175,
0.019318560138344765,
0.009621985256671906,
-0.07309725135564804,
-0.025602685287594795,
-0.08033239096403122,
0.024502497166395187,
-0.010433141142129898,
-0.005258526653051376,
-0.047886159271001816,
-0.026758816093206406,
0.011822361499071121,
0.01596205309033394,
-0.0064612748101353645,
0.00921640731394291,
-0.033956658095121384,
-0.04896770045161247,
0.018404843285679817,
0.022115647792816162,
0.03022720478475094,
0.024446554481983185,
0.001241208054125309,
0.06966615468263626,
0.03177492693066597,
0.00033535927650518715,
0.055121295154094696,
0.025584038347005844,
0.019654210656881332,
-0.01445162482559681,
0.04244115948677063,
0.06824896484613419,
-0.036063797771930695,
-0.08719457685947418,
-0.0011969208717346191,
-0.005160628817975521,
-0.024614380672574043,
-0.05635201185941696,
-0.00875022541731596,
0.0780947133898735,
-0.06772684305906296,
-0.0035826044622808695,
0.021034106612205505,
-0.05362951382994652,
0.012102070264518261,
0.040240783244371414,
0.005822606384754181,
-0.022581828758120537,
-0.04012889787554741,
-0.013845589011907578,
0.0024311363231390715,
-0.022731008008122444,
-0.043671879917383194,
-0.0034054554998874664,
0.00847051665186882,
0.01295052096247673,
0.0381336435675621,
0.06500434130430222,
-0.007803877349942923,
0.020045801997184753,
-0.03365829959511757,
0.01959826797246933,
0.038711708039045334,
0.034348249435424805,
0.018162429332733154,
-0.017444510012865067,
0.0067642927169799805,
0.03574679419398308,
-0.008904065936803818,
-0.05057136341929436,
-0.10047142952680588,
0.02646045945584774,
0.017826778814196587,
-0.005328454077243805,
0.029984790831804276,
-0.028996486216783524,
0.045163657516241074,
-0.009360923431813717,
-0.05609095096588135,
0.0609765350818634,
0.023849843069911003,
0.05247338488698006,
0.1047229990363121,
0.015756933018565178,
0.006843543611466885,
-0.0342363640666008,
-0.04911687597632408,
-0.06772684305906296,
0.017603011801838875,
-0.06731659919023514,
-0.08458396047353745,
0.0037038116715848446,
-0.05064595118165016,
0.02077304571866989,
0.020213628187775612,
-0.027896298095583916,
-0.03363965451717377,
-0.0026082852855324745,
-0.03447877988219261,
0.01924397051334381,
-0.019085468724370003,
0.12829314172267914,
-0.0237566065043211,
-0.030152617022395134,
0.022022411227226257,
0.04505177587270737,
0.009006625972688198,
0.049377940595149994,
0.046506259590387344,
0.02724364399909973,
-0.013370083644986153,
-0.010339904576539993,
0.007738612126559019,
0.02056792564690113,
0.002643248764798045,
-0.04035266488790512,
-0.028101418167352676,
-0.00010124878463102505,
0.02301071584224701,
0.009239716455340385,
-0.05616554245352745,
-0.035131435841321945,
-0.045984137803316116,
0.05456187576055527,
-0.009444836527109146,
-0.015411959029734135,
-0.0399797223508358,
0.0021327801514416933,
-0.004710763692855835,
0.04076290503144264,
0.0040907422080636024,
-0.045573897659778595,
0.0064333039335906506,
-0.005943813361227512,
0.04896770045161247,
0.0030907830223441124,
0.011225649155676365,
0.019262617453932762,
0.012232601642608643,
0.013985443860292435,
-0.027709824964404106,
0.026031572371721268,
0.008675636723637581,
-0.0399051308631897,
0.01959826797246933,
0.03289376199245453,
0.0323156975209713,
-0.007603419478982687,
-0.01218598335981369,
-0.04288869351148605,
-0.03201734274625778,
0.0010687209432944655,
-0.03735045716166496,
-0.05497211590409279,
-0.05459916964173317,
0.015486547723412514,
0.04490259662270546,
0.0418817400932312,
0.00838194228708744,
-0.015682343393564224,
-0.029630493372678757,
0.05351763218641281,
-0.07690129429101944,
0.020139038562774658,
0.03086121194064617,
-0.023346366360783577,
-0.027840355411171913,
0.012130041606724262,
0.01152400579303503,
0.032091930508613586,
0.03190545737743378,
-0.040427256375551224,
0.07365667074918747,
0.04094937816262245,
-0.022414004430174828,
0.014339741319417953,
-0.06340067833662033,
-0.026945287361741066,
0.023178542032837868,
-0.0011520509142428637,
-0.0256959218531847,
0.013659116812050343,
0.027467411011457443,
-0.019085468724370003,
-0.051690198481082916,
0.08137663453817368,
-0.01083405688405037,
-0.03308023512363434,
-0.01791069097816944,
0.004246912896633148,
0.043112460523843765,
-0.010964587330818176,
-0.007519506849348545,
-0.006703689228743315,
-0.02056792564690113,
0.0035313244443386793,
-0.0005728204851038754,
0.014227857813239098,
-0.04717756435275078,
0.01771489530801773,
0.023793900385499,
-0.006932117976248264,
-0.014414330013096333,
0.03789122775197029,
-0.03218516707420349,
0.058328624814748764,
0.01654944196343422,
0.010526376776397228,
0.005053407046943903,
-0.07153087854385376,
-0.06172242388129234,
0.027448764070868492,
0.02813871204853058,
-0.005836591590195894,
0.03731316328048706,
0.04456694796681404,
-0.05221232399344444,
0.010507729835808277,
0.033993951976299286,
0.031290099024772644,
0.05914910137653351,
0.02836247906088829,
0.02495003119111061,
-0.018162429332733154,
-0.05676225200295448,
0.009015949442982674,
-0.012596222572028637,
-0.026348575949668884,
0.042739514261484146,
0.010675555095076561,
0.03837605565786362,
0.04531283676624298,
-0.019896624609827995,
-0.02968643419444561,
-0.032837823033332825,
0.020400099456310272,
0.006838881876319647,
0.029798317700624466,
-0.0609392374753952,
-0.010628936812281609,
-0.037201277911663055,
0.033807478845119476,
0.03166304528713226,
-0.014022737741470337,
-0.018563345074653625,
0.02914566360414028,
-0.029984790831804276,
-0.07205300778150558,
0.03369559347629547,
-0.006778278388082981,
-0.05478564277291298,
0.019728798419237137,
0.002149096457287669,
0.01943044364452362,
-0.01121632568538189,
0.025080561637878418,
-0.06966615468263626,
0.10599101334810257,
-0.07302266359329224,
-0.01161724142730236,
0.06616047024726868,
-0.01596205309033394,
0.05098160356283188,
-0.0013356098206713796,
-0.010619613341987133,
0.0033938009291887283,
0.056613076478242874,
-0.023887136951088905,
-0.008260735310614109,
0.015439929440617561,
0.05780649930238724,
0.0003470138181000948,
0.013771000318229198,
0.03582138195633888,
-0.0017586695030331612,
-0.012987814843654633,
0.03444148600101471,
-0.012018158100545406,
0.05374139919877052,
0.020213628187775612,
0.05105619132518768,
-0.03953218832612038,
-0.016129877418279648,
-0.034180425107479095,
-0.012922549620270729,
-0.0024311363231390715,
0.00018967757932841778,
0.0029136340599507093,
-0.05691143125295639,
-0.0723140686750412,
-0.02398037351667881,
-0.0970403328537941,
0.004410076420754194,
0.045984137803316116,
0.07854224741458893,
0.022152941673994064,
0.014265152625739574,
-0.0589626282453537,
-0.02017633244395256,
-0.029910201206803322,
-0.016642678529024124,
0.006587143987417221,
-0.009631308726966381,
0.05101889744400978,
0.0247635580599308,
0.036996159702539444,
-0.017994603142142296,
0.060827355831861496,
0.03315482288599014,
-0.008265397511422634,
0.0629158467054367,
-0.05657577887177467,
-0.055121295154094696,
-0.04341081529855728,
-0.038338761776685715,
0.011281590908765793,
0.03065609186887741,
-0.06821166723966599,
-0.03897276893258095,
0.06205807626247406,
0.024800853803753853,
0.05459916964173317,
0.03597056120634079,
0.028026828542351723,
0.01142144575715065,
-0.05400246009230614,
-0.002097816439345479,
-0.0646686926484108,
0.021835939958691597,
0.008475178852677345,
0.030879858881235123,
-0.00885278545320034,
-0.05441270023584366,
0.06302773207426071,
-0.02323448285460472,
0.019654210656881332,
-0.0798102617263794,
0.06414657086133957,
-0.06750307232141495,
0.029071075841784477,
0.037592872977256775,
0.01595272868871689,
0.002780772279947996,
0.055680710822343826,
0.017416538670659065,
-0.02245129831135273,
0.0008705938817001879,
-0.05038489028811455,
0.004335487261414528,
-0.010302609764039516,
0.04934064298868179,
-0.06228184327483177,
-0.028120065107941628,
-0.03404989466071129,
-0.03369559347629547,
0.003766746027395129,
0.07112064212560654,
-0.0032702628523111343,
0.044641535729169846,
0.013351436704397202,
0.02778441458940506,
0.03363965451717377,
-0.046357084065675735,
-0.015188192017376423,
0.008880756795406342,
-0.02662828378379345,
0.0026385870296508074,
0.01730465516448021,
-0.022786948829889297,
0.01475930493324995,
0.003575611626729369,
0.007845833897590637,
0.010386522859334946,
0.038711708039045334,
0.06683177500963211,
0.03488902002573013,
0.05575530230998993,
-0.010349228046834469,
0.047289445996284485,
-0.06765225529670715,
0.026404516771435738,
0.01903885044157505,
0.008610371500253677,
-0.02968643419444561,
0.008050953969359398,
-0.03199869394302368,
0.056426603347063065,
-0.08697081357240677,
0.018003927543759346,
0.006801587529480457,
-0.0031467247754335403,
0.03716398403048515,
-0.015346692875027657,
0.017220743000507355,
-0.04553660377860069,
0.0006561503978446126,
0.07854224741458893,
-0.01943044364452362,
0.0648551657795906,
-0.0008303857175633311,
0.07645376026630402,
-0.05609095096588135,
-0.028418421745300293,
0.010740820318460464,
0.01266148779541254,
-0.05374139919877052,
0.05672495812177658,
-0.048632048070430756,
-0.005510264541953802,
-0.07570786774158478,
0.06496704369783401,
-0.030712034553289413,
0.03837605565786362,
0.023159895092248917,
0.0209035761654377,
0.008894742466509342,
-0.006726998370140791,
-0.012120718136429787,
-0.04150879755616188,
-0.012139365077018738,
-0.006293449550867081,
0.006778278388082981,
-0.009621985256671906,
0.035094138234853745,
-0.02700123004615307,
0.005836591590195894,
0.02703852392733097,
0.032035987824201584,
0.023271778598427773,
0.006908809300512075,
0.05799297243356705,
-0.018721846863627434,
0.012297866865992546,
0.005505602806806564,
0.0052538649179041386,
0.007067310623824596,
-0.020456042140722275,
0.0005229972884990275,
0.03184951841831207,
-0.030133968219161034,
-0.03460931032896042,
0.014022737741470337,
-0.028865955770015717,
-0.04240386560559273,
-0.00999493058770895,
0.01786407269537449,
-0.056426603347063065,
-0.019057497382164,
-0.0418817400932312,
0.06586211174726486,
-0.004922876134514809,
-0.02110869623720646,
-0.0022376710548996925,
0.022525887936353683,
0.022152941673994064,
0.03908465430140495,
-0.03446013107895851,
0.01187830325216055,
0.048445574939250946,
-0.013416701927781105,
0.038562528789043427,
0.03201734274625778,
-0.03975595533847809,
0.008992640301585197,
0.030879858881235123,
0.011794391088187695,
0.09413135796785355,
0.014628773555159569,
-0.03716398403048515,
-0.03544843569397926,
0.058142151683568954,
0.05023571476340294,
0.0067083509638905525,
-0.005561544559895992,
0.025621332228183746,
0.03964406996965408,
0.042925987392663956,
0.02590104192495346,
-0.036809686571359634,
0.011244296096265316,
0.0032492848113179207,
0.006862191017717123,
0.091446153819561,
0.004223603755235672,
0.004608203656971455,
0.04796074703335762,
-0.0010156928328797221,
-0.004153676796704531,
0.012792019173502922,
-0.0027900959830731153,
-0.005701398942619562,
-0.015411959029734135,
-0.015225485898554325,
-0.0025313652586191893,
-0.004407745786011219,
0.023793900385499,
0.03897276893258095,
-0.015272104181349277,
-0.0013414371060207486,
-0.04527554288506508,
0.012195306830108166,
0.0875675231218338,
-0.02966778725385666,
0.06586211174726486,
-0.020232275128364563,
0.016288379207253456,
0.023290425539016724,
0.016530795022845268,
0.017547069117426872,
-0.03533655405044556,
0.018982907757163048,
0.003179357387125492,
0.007678008638322353,
0.038711708039045334,
0.026982583105564117,
0.013537908904254436,
-0.0003091365797445178,
-0.004428723827004433,
-0.007388975936919451,
0.020101744681596756,
0.03406853973865509,
0.08033239096403122,
-0.00012914683611597866
] |
719,474
|
ibm_platform_services.enterprise_management_v1
|
list_enterprises
|
List enterprises.
Retrieve all enterprises for a given ID by passing the IDs on query parameters. If
no ID is passed, the enterprises for which the calling identity is the primary
contact are returned. You can use pagination parameters to filter the results.
<br/><br/>This method ensures that only the enterprises that the user has access
to are returned. Access can be controlled either through a policy on a specific
enterprise, or account-level platform services access roles, such as
Administrator, Editor, Operator, or Viewer. When you call the method with the
`enterprise_account_id` or `account_id` query parameter, the account ID in the
token is compared with that in the query parameter. If these account IDs match,
authentication isn't performed and the enterprise information is returned. If the
account IDs don't match, authentication is performed and only then is the
enterprise information returned in the response.
:param str enterprise_account_id: (optional) Get enterprises for a given
enterprise account ID.
:param str account_group_id: (optional) Get enterprises for a given account
group ID.
:param str account_id: (optional) Get enterprises for a given account ID.
:param str next_docid: (optional) The first item to be returned in the page
of results. This value can be obtained from the next_url property from the
previous call of the operation. If not specified, then the first page of
results is returned.
:param int limit: (optional) Return results up to this limit. Valid values
are between `0` and `100`.
: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 representing a `ListEnterprisesResponse` object
|
def list_enterprises(
self,
*,
enterprise_account_id: Optional[str] = None,
account_group_id: Optional[str] = None,
account_id: Optional[str] = None,
next_docid: Optional[str] = None,
limit: Optional[int] = None,
**kwargs,
) -> DetailedResponse:
"""
List enterprises.
Retrieve all enterprises for a given ID by passing the IDs on query parameters. If
no ID is passed, the enterprises for which the calling identity is the primary
contact are returned. You can use pagination parameters to filter the results.
<br/><br/>This method ensures that only the enterprises that the user has access
to are returned. Access can be controlled either through a policy on a specific
enterprise, or account-level platform services access roles, such as
Administrator, Editor, Operator, or Viewer. When you call the method with the
`enterprise_account_id` or `account_id` query parameter, the account ID in the
token is compared with that in the query parameter. If these account IDs match,
authentication isn't performed and the enterprise information is returned. If the
account IDs don't match, authentication is performed and only then is the
enterprise information returned in the response.
:param str enterprise_account_id: (optional) Get enterprises for a given
enterprise account ID.
:param str account_group_id: (optional) Get enterprises for a given account
group ID.
:param str account_id: (optional) Get enterprises for a given account ID.
:param str next_docid: (optional) The first item to be returned in the page
of results. This value can be obtained from the next_url property from the
previous call of the operation. If not specified, then the first page of
results is returned.
:param int limit: (optional) Return results up to this limit. Valid values
are between `0` and `100`.
: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 representing a `ListEnterprisesResponse` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_enterprises',
)
headers.update(sdk_headers)
params = {
'enterprise_account_id': enterprise_account_id,
'account_group_id': account_group_id,
'account_id': account_id,
'next_docid': next_docid,
'limit': limit,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/enterprises'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, enterprise_account_id: Optional[str] = None, account_group_id: Optional[str] = None, account_id: Optional[str] = None, next_docid: Optional[str] = None, limit: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.06820811331272125,
-0.043554581701755524,
-0.04882147163152695,
-0.03296476602554321,
0.01444659847766161,
0.015389783307909966,
-0.018172644078731537,
-0.07933956384658813,
-0.05423777922987938,
0.020675351843237877,
0.015436475165188313,
-0.03761531785130501,
-0.02181464433670044,
-0.01084195263683796,
-0.018602212890982628,
-0.021422429010272026,
0.0276791974902153,
-0.03460833430290222,
0.01747225970029831,
-0.03714839741587639,
-0.011971906758844852,
0.026427842676639557,
-0.005743153393268585,
-0.009296437725424767,
0.015810012817382812,
0.02581150457262993,
0.02874378114938736,
0.009786706417798996,
0.02286055125296116,
0.02650255151093006,
0.03520599752664566,
-0.02491501346230507,
-0.012896413914859295,
0.04306897893548012,
-0.02330879680812359,
-0.0008077768143266439,
-0.013531429693102837,
0.017976537346839905,
-0.058720238506793976,
0.08374731242656708,
-0.028930550441145897,
-0.0011795642785727978,
0.10317131131887436,
0.007484775967895985,
-0.007564153056591749,
0.008348584175109863,
0.04997944086790085,
-0.018322059884667397,
0.028631720691919327,
-0.0518844872713089,
-0.0266893208026886,
0.02078741230070591,
0.02237495221197605,
-0.0780695304274559,
0.002932276576757431,
0.0044847954995930195,
-0.011010045185685158,
-0.017696382477879524,
0.0012291749007999897,
0.024840304628014565,
-0.0321616567671299,
-0.046804364770650864,
0.02342085912823677,
-0.017350859940052032,
-0.061820607632398605,
0.021571842953562737,
-0.05098799616098404,
0.01608082838356495,
-0.044861964881420135,
0.004286353476345539,
0.0022599075455218554,
0.0217959675937891,
-0.010851291008293629,
-0.005836538039147854,
-0.02106756716966629,
0.002165355486795306,
0.024541474878787994,
0.020656675100326538,
-0.0011095257941633463,
0.003585968865081668,
-0.0017112728673964739,
-0.004774287808686495,
-0.022281566634774208,
0.03180679678916931,
0.04303162544965744,
0.006719022523611784,
0.005519030150026083,
-0.0663030669093132,
0.026409165933728218,
0.06069999188184738,
0.01554853655397892,
0.039595071226358414,
-0.044861964881420135,
0.012448168359696865,
0.016865259036421776,
0.0031353880185633898,
0.010150906629860401,
0.0439281165599823,
0.06772251427173615,
0.024074550718069077,
-0.023047320544719696,
-0.033973317593336105,
0.0157446451485157,
0.02596092037856579,
-0.017332183197140694,
-0.06043851748108864,
-0.010720552876591682,
0.01747225970029831,
0.06832017749547958,
0.09271223843097687,
-0.05599340796470642,
-0.058122579008340836,
0.013475398533046246,
-0.013232599012553692,
-0.03077956661581993,
0.006112022325396538,
0.032217688858509064,
0.05662842467427254,
0.010701876133680344,
-0.05528368800878525,
0.00718594528734684,
-0.0043984148651361465,
-0.010954014025628567,
0.02342085912823677,
-0.02343953587114811,
-0.013522091321647167,
-0.009562583640217781,
0.03283402696251869,
-0.00512681482359767,
-0.01689327508211136,
-0.03317021206021309,
-0.006709683686494827,
0.008255199529230595,
-0.03063015080988407,
0.014465275220572948,
-0.0024420074187219143,
0.0206379983574152,
-0.004477791953831911,
-0.008600722067058086,
0.02534458227455616,
-0.01976018212735653,
0.03656941279768944,
0.008292553015053272,
0.04306897893548012,
-0.06013968586921692,
-0.040939811617136,
0.040454212576150894,
0.010869967751204967,
0.02050725929439068,
0.014530644752085209,
0.005066114943474531,
-0.026054304093122482,
0.02134772017598152,
-0.02650255151093006,
-0.0064482069574296474,
0.006364160683006048,
-0.002955622738227248,
-0.05703931674361229,
-0.0006151710986159742,
-0.0007289835484698415,
0.0034062035847455263,
0.01208396814763546,
0.07717303931713104,
-0.019423997029662132,
-0.028108766302466393,
-0.02622239664196968,
-0.04262073338031769,
-0.03048073500394821,
-0.008661421947181225,
-0.02592356689274311,
-0.04616934806108475,
-0.003431884339079261,
-0.05610547214746475,
-0.029416151344776154,
-0.050016794353723526,
0.015968767926096916,
0.06058793142437935,
-0.009450522251427174,
-0.04445107281208038,
0.002908930415287614,
-0.012634936720132828,
-0.043554581701755524,
-0.011028721928596497,
0.0331515334546566,
-0.005579730030149221,
-0.009221729822456837,
0.022617751732468605,
0.023663658648729324,
-0.04747673496603966,
-0.03152664378285408,
-0.06469685584306717,
-0.002822549780830741,
-0.002251736354082823,
0.022729812189936638,
-0.050763871520757675,
-0.02134772017598152,
-0.019573412835597992,
0.02844495140016079,
-0.03477642685174942,
-0.010347014293074608,
-0.028930550441145897,
0.04934442415833473,
0.022038767114281654,
-0.019480029121041298,
0.04564639553427696,
-0.002610099734738469,
-0.04478725790977478,
-0.04437636584043503,
0.012448168359696865,
-0.013867613859474659,
-0.0046272072941064835,
-0.007531468290835619,
-0.026932120323181152,
0.027436397969722748,
-0.003175076562911272,
0.0878562331199646,
0.06454744189977646,
-0.009020952507853508,
0.020656675100326538,
-0.04448842629790306,
-0.03899741172790527,
-0.07340029627084732,
0.004996076226234436,
-0.0757535919547081,
0.0022692459169775248,
-0.009992152452468872,
0.0017509612953290343,
0.013400690630078316,
0.02224421314895153,
-0.027623165398836136,
-0.04079039394855499,
-0.040005963295698166,
-0.026129012927412987,
-0.005537706892937422,
-0.03460833430290222,
-0.006088676396757364,
-0.01208396814763546,
0.023047320544719696,
0.002925272798165679,
0.05255685746669769,
0.03789547458291054,
0.02448544278740883,
0.03240445628762245,
0.0022867554798722267,
-0.023196736350655556,
-0.014941536821424961,
0.002446676604449749,
0.009170368313789368,
-0.021908028051257133,
-0.05289303883910179,
0.004547830205410719,
-0.044413719326257706,
0.059766147285699844,
-0.0120185986161232,
0.028631720691919327,
-0.03475775197148323,
-0.02769787423312664,
0.012737659737467766,
0.008385937660932541,
-0.024971043691039085,
-0.027511104941368103,
-0.014717414043843746,
-0.021833321079611778,
0.010393706150352955,
0.047402024269104004,
0.014614691026508808,
0.020581966266036034,
0.033226244151592255,
0.12491124868392944,
0.010020168498158455,
-0.07381119579076767,
0.03488848730921745,
0.032609906047582626,
-0.0036583419423550367,
0.024223966524004936,
0.04299427196383476,
0.03122781217098236,
-0.04564639553427696,
-0.08031076192855835,
0.050465039908885956,
-0.008399945683777332,
0.027286982163786888,
-0.021273013204336166,
-0.00901628378778696,
0.08427026867866516,
-0.054872795939445496,
0.01775241270661354,
0.00227508251555264,
-0.03686824068427086,
-0.019797535613179207,
0.07694891840219498,
0.05364011600613594,
-0.02136639691889286,
-0.07156996428966522,
-0.004356391727924347,
-0.003469238057732582,
0.0044871303252875805,
-0.02048858255147934,
0.004930707160383463,
0.01510962937027216,
0.01685592159628868,
0.025008397176861763,
0.0757535919547081,
-0.07287734746932983,
0.005220199469476938,
-0.016202228143811226,
0.03416008874773979,
0.029360119253396988,
-0.01747225970029831,
-0.009945460595190525,
0.0001025771489366889,
0.0503903329372406,
-0.007984383963048458,
-0.027585811913013458,
-0.07029993087053299,
-0.07452091574668884,
0.03653205931186676,
0.028332889080047607,
0.00024017352552618831,
0.012401475571095943,
-0.014745429158210754,
0.054312486201524734,
0.013372675515711308,
-0.03996860980987549,
0.08307494223117828,
-0.014353213831782341,
0.04153747111558914,
0.05662842467427254,
-0.025998273864388466,
-0.032609906047582626,
0.0012992132687941194,
-0.09652233123779297,
-0.0450860857963562,
0.03328227251768112,
-0.034851133823394775,
-0.09360872954130173,
0.024541474878787994,
-0.018471475690603256,
0.0006011634250171483,
0.038082242012023926,
-0.04056627303361893,
-0.05920584127306938,
-0.009814722463488579,
-0.003116711275652051,
-0.0015420132549479604,
-0.029808366671204567,
0.13133610785007477,
-0.014409244991838932,
-0.03899741172790527,
-0.0031844149343669415,
-0.0014859825605526567,
0.03509393334388733,
0.08987334370613098,
0.037185750901699066,
0.05184713378548622,
-0.02431735210120678,
-0.031900182366371155,
-0.028183473274111748,
0.016799891367554665,
-0.014063721522688866,
-0.045310210436582565,
-0.014726752415299416,
-0.034720394760370255,
0.020152397453784943,
-0.032180335372686386,
-0.024821627885103226,
-0.024354705587029457,
-0.03600910305976868,
0.06081205606460571,
0.003770403331145644,
-0.05625488609075546,
-0.008988268673419952,
-0.04437636584043503,
0.03391728922724724,
0.048111747950315475,
-0.028183473274111748,
-0.05068916454911232,
0.008694106712937355,
-0.039557717740535736,
0.04557168856263161,
-0.017696382477879524,
0.02962159737944603,
0.031470611691474915,
-0.015389783307909966,
0.032609906047582626,
-0.007045868318527937,
0.06193267181515694,
0.015249705873429775,
-0.02108624391257763,
-0.01576332189142704,
0.025979597121477127,
0.015810012817382812,
-0.007811622228473425,
-0.000696298957336694,
-0.02017107419669628,
-0.045011378824710846,
0.010141568258404732,
-0.022524366155266762,
-0.032927412539720535,
-0.06088676303625107,
0.030032489448785782,
0.06458479166030884,
0.036158520728349686,
-0.008161814883351326,
-0.05173506960272789,
-0.036756180226802826,
0.05203390121459961,
-0.09756823629140854,
0.03621454909443855,
0.028949227184057236,
-0.023495566099882126,
-0.026707997545599937,
-0.007129914592951536,
-0.02104889042675495,
0.03933359682559967,
0.03668147325515747,
0.010496430099010468,
0.0722796842455864,
0.0008854027837514877,
0.009062975645065308,
0.02887452021241188,
-0.05050239339470863,
-0.006747037637978792,
0.07414737343788147,
-0.006910461001098156,
-0.023514242842793465,
-0.028557011857628822,
-0.024242643266916275,
0.020227106288075447,
-0.06690073013305664,
0.0447499044239521,
0.00748010678216815,
-0.012924429029226303,
-0.00959059875458479,
-0.0021548497024923563,
-0.010020168498158455,
-0.02078741230070591,
-0.005266891792416573,
0.004958722740411758,
-0.027772581204771996,
0.025288552045822144,
-0.004650553222745657,
0.045459624379873276,
-0.012578906491398811,
0.04067833349108696,
0.024840304628014565,
0.012065291404724121,
0.012270737439393997,
0.04934442415833473,
-0.03847445920109749,
0.06163384020328522,
-0.01990959793329239,
0.0027151573449373245,
0.019199874252080917,
-0.0206379983574152,
-0.05703931674361229,
0.006989837624132633,
0.01803256757557392,
0.015128306113183498,
0.04687907174229622,
0.025456642732024193,
-0.02624107338488102,
0.03640132024884224,
0.040304794907569885,
0.006214745342731476,
0.03836239501833916,
-0.002021776745095849,
-0.014409244991838932,
-0.006518245674669743,
-0.036625441163778305,
0.019022444263100624,
-0.017659028992056847,
-0.007269991561770439,
-0.00225407094694674,
0.01702401414513588,
0.02476559765636921,
0.05778639391064644,
-0.02448544278740883,
-0.01438122894614935,
-0.016482383012771606,
0.031339872628450394,
0.009852075949311256,
0.0542004257440567,
-0.02653990499675274,
0.0013610806781798601,
-0.021721258759498596,
0.012289414182305336,
0.01024429127573967,
-0.04418959468603134,
-0.04777556285262108,
0.021422429010272026,
0.005360276438295841,
-0.017509613186120987,
0.018592875450849533,
0.0041929688304662704,
-0.027641844004392624,
0.03358110412955284,
-0.018816998228430748,
0.01010421384125948,
-0.019069137051701546,
0.02239362895488739,
-0.07616448402404785,
0.10496429353952408,
-0.046804364770650864,
-0.0003043754550162703,
0.07489445060491562,
0.0034995879977941513,
0.056665778160095215,
-0.004846660885959864,
-0.0002372552698943764,
-0.011299537494778633,
0.03612116351723671,
0.015669936314225197,
-0.019218550994992256,
-0.013662167824804783,
0.05218331888318062,
0.01990959793329239,
0.052220672369003296,
0.005962606985121965,
0.010468414053320885,
0.06764780730009079,
0.03423479571938515,
0.0013167229481041431,
0.016239583492279053,
0.01090732216835022,
0.032609906047582626,
-0.019928274676203728,
-0.04224719479680061,
-0.013241937384009361,
0.048410579562187195,
-0.03143325820565224,
-0.0003099201712757349,
-0.019797535613179207,
-0.02358895167708397,
-0.08613795787096024,
-0.020750058814883232,
-0.07978780567646027,
0.02060064487159252,
0.07926484942436218,
0.07732245326042175,
0.03847445920109749,
0.017780428752303123,
-0.07063611596822739,
-0.01627693697810173,
0.012280075810849667,
-0.008652083575725555,
-0.0026941457763314247,
-0.002939280355349183,
-0.004718257114291191,
-0.03274064138531685,
0.06170854717493057,
-0.014493290334939957,
0.06865636259317398,
-0.0018711939919739962,
-0.009964137338101864,
0.06507039070129395,
-0.03111574985086918,
-0.0722796842455864,
-0.025101782754063606,
0.002498038113117218,
-0.0012139998143538833,
0.023327473551034927,
-0.04026744142174721,
-0.056665778160095215,
0.02342085912823677,
0.03122781217098236,
0.01760299876332283,
0.03776473551988602,
0.006238091737031937,
-0.0149602135643363,
-0.023644981905817986,
-0.01768704503774643,
-0.05573193356394768,
0.05367746949195862,
-0.015408460050821304,
0.04418959468603134,
0.005318253301084042,
-0.06570541113615036,
0.039146825671195984,
-0.03274064138531685,
0.021627875044941902,
-0.09047100692987442,
0.03122781217098236,
-0.12177352607250214,
-0.006578945554792881,
0.042209841310977936,
-0.04538491740822792,
0.003609315026551485,
0.03550482541322708,
0.026707997545599937,
-0.007718237582594156,
-0.012289414182305336,
-0.07119642198085785,
0.010776583105325699,
0.0029276073910295963,
0.06469685584306717,
-0.018938397988677025,
-0.00754547631368041,
-0.024223966524004936,
-0.03496319800615311,
-0.0164917204529047,
0.0780695304274559,
-0.022617751732468605,
0.019853567704558372,
0.05207125470042229,
0.00743808364495635,
0.02577415108680725,
-0.04878411814570427,
0.03533673286437988,
0.00016269349725916982,
-0.014063721522688866,
0.021011536940932274,
-0.03333830460906029,
0.0056310915388166904,
-0.005570391658693552,
0.04433901235461235,
0.026932120323181152,
0.009268421679735184,
0.05763697996735573,
0.06570541113615036,
0.06223149970173836,
0.023532921448349953,
0.01311119832098484,
0.02327144332230091,
-0.05935525521636009,
-0.03333830460906029,
0.042807504534721375,
-0.00910966843366623,
0.005346268881112337,
-0.007587498985230923,
-0.023383505642414093,
0.0560307614505291,
-0.061073530465364456,
-0.01378356758505106,
0.03193753585219383,
0.004064565058797598,
0.08359789848327637,
-0.0251951664686203,
-0.004379738122224808,
-0.03903476521372795,
-0.024093227460980415,
0.029509535059332848,
-0.05173506960272789,
0.017845798283815384,
-0.009469198994338512,
0.10167715698480606,
-0.05405100807547569,
-0.015576552599668503,
0.048111747950315475,
0.007993722334504128,
-0.019554736092686653,
0.006578945554792881,
-0.009380483999848366,
-0.006420191843062639,
-0.07866719365119934,
0.04579580947756767,
-0.007232637610286474,
0.0016809229273349047,
0.005663776304572821,
0.04041685536503792,
0.018013890832662582,
-0.0010424056090414524,
0.021553166210651398,
-0.06790928542613983,
0.03668147325515747,
0.0012128325179219246,
-0.02476559765636921,
-0.02609165944159031,
0.024373382329940796,
0.037372518330812454,
-0.005257553420960903,
0.027641844004392624,
0.03933359682559967,
0.05229537934064865,
0.04747673496603966,
0.024802951142191887,
-0.040902458131313324,
-0.011327552609145641,
-0.023234089836478233,
-0.0021665228996425867,
0.009076983667910099,
-0.01090732216835022,
0.010515106841921806,
-0.008315899409353733,
-0.06193267181515694,
-0.06951550394296646,
-0.0036490035708993673,
-0.044600486755371094,
-0.037204425781965256,
-0.03303947299718857,
0.0009647796978242695,
-0.09428109973669052,
-0.016351643949747086,
-0.035149965435266495,
-0.003541611135005951,
-0.0009892932139337063,
-0.03907211869955063,
-0.004260672722011805,
-0.021908028051257133,
0.040155380964279175,
0.022524366155266762,
0.034141410142183304,
0.00721863005310297,
0.08352319151163101,
-0.030256612226366997,
0.05625488609075546,
0.023925136774778366,
-0.03952036425471306,
0.011869183741509914,
-0.028370242565870285,
0.010655183345079422,
0.05244479328393936,
0.04004332050681114,
-0.03429082781076431,
0.06256768852472305,
0.04138805717229843,
0.04448842629790306,
0.007111237850040197,
0.0012326767900958657,
0.0022283901926130056,
0.04867205768823624,
0.01916252076625824,
-0.007358707021921873,
-0.05143624171614647,
-0.0032801341731101274,
-0.026595935225486755,
-0.009758691303431988,
0.025699444115161896,
0.043666642159223557,
0.007223299238830805,
0.0067423684522509575,
-0.020469905808568,
-0.019834890961647034,
-0.019928274676203728,
-0.0009385152952745557,
-0.04616934806108475,
-0.0178177822381258,
-0.016136860474944115,
0.032665934413671494,
-0.032348427921533585,
-0.023065997287631035,
0.015081613324582577,
0.007213960867375135,
-0.03034999594092369,
-0.0022669113241136074,
0.037204425781965256,
0.08128196001052856,
-0.04818645492196083,
0.061970025300979614,
-0.006228753365576267,
0.0060279760509729385,
0.016650475561618805,
0.03048073500394821,
-0.00894157588481903,
-0.021758612245321274,
-0.015959428623318672,
-0.02078741230070591,
0.03681221231818199,
0.05405100807547569,
0.038960058242082596,
0.03843710198998451,
0.005290237721055746,
-0.015436475165188313,
-0.015483167953789234,
0.011654398404061794,
0.038960058242082596,
0.0737738385796547,
-0.010561798699200153
] |
719,483
|
ibm_platform_services.enterprise_management_v1
|
update_account
|
Move an account within the enterprise.
Move an account to a different parent within the same enterprise.
:param str account_id: The ID of the target account.
:param str parent: The CRN of the new parent within the enterprise.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def update_account(
self,
account_id: str,
parent: str,
**kwargs,
) -> DetailedResponse:
"""
Move an account within the enterprise.
Move an account to a different parent within the same enterprise.
:param str account_id: The ID of the target account.
:param str parent: The CRN of the new parent within the enterprise.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not account_id:
raise ValueError('account_id must be provided')
if parent is None:
raise ValueError('parent must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_account',
)
headers.update(sdk_headers)
data = {
'parent': parent,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['account_id']
path_param_values = self.encode_path_vars(account_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/accounts/{account_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, parent: str, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.053967107087373734,
0.011548591777682304,
-0.050983257591724396,
-0.019266072660684586,
-0.018639832735061646,
-0.06258710473775864,
-0.03790590539574623,
0.025196928530931473,
0.01662297360599041,
-0.01987389288842678,
0.005253964569419622,
-0.07551711052656174,
0.023078765720129013,
0.015692824497818947,
-0.027278253808617592,
-0.011198635213077068,
0.05311984196305275,
0.0198002178221941,
0.0022252220660448074,
0.017221584916114807,
0.015388913452625275,
0.010240856558084488,
0.009761967696249485,
0.009798805229365826,
0.022673550993204117,
0.031183041632175446,
0.05356189236044884,
0.03309859707951546,
-0.02678094618022442,
0.032988082617521286,
0.01924765296280384,
-0.0029331950936466455,
-0.004190278705209494,
0.030372614040970802,
-0.009780386462807655,
-0.03971095010638237,
-0.05849813297390938,
0.009789596311748028,
-0.05941907316446304,
0.034277401864528656,
-0.029175391420722008,
0.027020391076803207,
0.026762526482343674,
-0.01070132665336132,
0.012626091949641705,
0.027591373771429062,
-0.0023495492059737444,
-0.008541721850633621,
-0.000798915745690465,
0.02678094618022442,
0.005603922065347433,
-0.052272576838731766,
-0.0020617551635950804,
-0.03462735936045647,
0.01759917102754116,
0.044315651059150696,
-0.02199205569922924,
-0.061850354075431824,
-0.040521375834941864,
-0.058350782841444016,
0.0024105613119900227,
-0.04903086647391319,
-0.015057374723255634,
-0.03626663237810135,
-0.027591373771429062,
-0.006695236545056105,
-0.03109094686806202,
-0.0030391032341867685,
-0.0419580414891243,
-0.0027950541116297245,
-0.03276705741882324,
-0.017046606168150902,
0.005258569493889809,
-0.03074098937213421,
-0.023576073348522186,
0.061334628611803055,
0.009448847733438015,
0.017589960247278214,
0.016650602221488953,
0.002431282540783286,
-0.01452322956174612,
-0.05632471293210983,
-0.009973783977329731,
-0.04144231602549553,
-0.0058986227959394455,
0.06442898511886597,
0.011078912764787674,
-0.04206855595111847,
-0.03637714311480522,
0.026744108647108078,
0.010793421417474747,
-0.04693112149834633,
-0.04693112149834633,
-0.0419580414891243,
0.06896001100540161,
0.044941890984773636,
0.046783771365880966,
-0.05923488363623619,
-0.015278400853276253,
0.031772442162036896,
-0.014716627076268196,
-0.02230517566204071,
-0.005682202056050301,
0.012745814397931099,
0.06936522573232651,
-0.04987813159823418,
-0.012708976864814758,
-0.0020007428247481585,
0.06096625328063965,
-0.018676670268177986,
-0.008785771206021309,
-0.04339471086859703,
-0.04387360066175461,
-0.012515579350292683,
-0.006253185216337442,
0.01422852836549282,
-0.004238627851009369,
0.010692117735743523,
0.04501556605100632,
-0.008182555437088013,
0.07385941594839096,
0.012101156637072563,
0.00670444592833519,
0.004153441172093153,
0.013178656809031963,
-0.022434107959270477,
-0.019818637520074844,
0.058350782841444016,
-0.019302910193800926,
0.003775855526328087,
-0.028364963829517365,
-0.07087557017803192,
-0.017930708825588226,
-0.01822540909051895,
0.0705808699131012,
0.06461317837238312,
0.03626663237810135,
-0.0020709645468741655,
-0.01674269512295723,
-0.006787330377846956,
0.04398411139845848,
0.004885588772594929,
0.030667314305901527,
-0.025196928530931473,
-0.005976902786642313,
-0.005797319579869509,
-0.021200047805905342,
-0.005562479607760906,
-0.05757719278335571,
-0.007611572276800871,
-0.04921505227684975,
-0.007381337229162455,
0.00633146520704031,
0.03339329734444618,
-0.021513167768716812,
-0.013786477036774158,
0.00023886890267021954,
-0.029654279351234436,
0.036561332643032074,
-0.009324520826339722,
-0.028051843866705894,
-0.004747447557747364,
0.061297789216041565,
-0.012248506769537926,
-0.0006417803233489394,
-0.05190419778227806,
-0.07234907150268555,
-0.028180774301290512,
-0.031975049525499344,
-0.056435223668813705,
-0.0016576925991103053,
-0.028678083792328835,
-0.015987524762749672,
-0.015462588518857956,
-0.09924053400754929,
-0.04619436711072922,
0.046746931970119476,
-0.08413711190223694,
-0.02504957839846611,
0.01685320772230625,
0.015085003338754177,
-0.026744108647108078,
0.06947574019432068,
0.04251060634851456,
0.0364692397415638,
-0.02022385038435459,
-0.007943110540509224,
0.08914702385663986,
0.02160526067018509,
-0.029304321855306625,
-0.024791713804006577,
-0.015987524762749672,
0.003418991109356284,
0.0004601823748089373,
-0.04936240240931511,
-0.016337482258677483,
0.01276423316448927,
-0.0705808699131012,
0.02108953520655632,
-0.018768765032291412,
-0.006925471592694521,
0.010461882688105106,
0.06910736858844757,
0.0029078691732138395,
0.061371464282274246,
-0.00030880281701684,
0.011364404112100601,
-0.060708388686180115,
0.026136288419365883,
-0.010471091605722904,
0.022563038393855095,
0.029120134189724922,
-0.0028088681865483522,
-0.03974778577685356,
-0.03517992049455643,
0.026007356122136116,
0.0019523935625329614,
-0.011769617907702923,
0.05308300256729126,
0.019708123058080673,
-0.01266293041408062,
-0.0176452174782753,
0.008435813710093498,
-0.052861977368593216,
-0.015702033415436745,
-0.011631476692855358,
0.014550858177244663,
0.027904493734240532,
-0.024368081241846085,
-0.027333509176969528,
-0.029028039425611496,
-0.02285774052143097,
-0.040631890296936035,
-0.04066872596740723,
-0.00512503320351243,
-0.021807868033647537,
-0.05050436779856682,
-0.0635080486536026,
-0.013279960490763187,
0.05875599384307861,
-0.019468680024147034,
0.019818637520074844,
0.023999705910682678,
0.031698767095804214,
-0.07573813199996948,
-0.04752052202820778,
0.00275821634568274,
-0.010968400165438652,
0.0036239002365618944,
-0.0584244579076767,
0.02046329528093338,
-0.0889996737241745,
-0.00821018312126398,
0.08553694188594818,
0.0325276143848896,
0.0047750757075846195,
0.003628504928201437,
0.004904007539153099,
0.00587099464610219,
0.026062611490488052,
-0.03304333984851837,
-0.07072822004556656,
-0.027351928874850273,
-0.045347101986408234,
0.024478595703840256,
0.007731294259428978,
-0.013749639503657818,
0.030869921669363976,
0.07735899090766907,
0.004867170006036758,
0.07588548958301544,
0.035272017121315,
0.00263619190081954,
0.042473770678043365,
-0.02348397858440876,
-0.0006504141492769122,
0.019081884995102882,
0.007745108567178249,
-0.0489940270781517,
-0.06465001404285431,
0.005115823820233345,
-0.025307441130280495,
-0.020002825185656548,
-0.0032900595106184483,
0.012957630679011345,
-0.06988095492124557,
-0.00028275747899897397,
0.03641398251056671,
-0.041773855686187744,
0.05901385843753815,
0.0325276143848896,
0.03720599040389061,
-0.08266361057758331,
0.0005917041562497616,
-0.0184188075363636,
0.03543778508901596,
-0.07816942036151886,
-0.009467266499996185,
0.046083856374025345,
0.0184188075363636,
0.02282090298831463,
0.06523941457271576,
0.014587695710361004,
-0.054077617824077606,
0.010369788855314255,
0.004526421893388033,
0.02724141627550125,
0.04873616248369217,
0.00653867656365037,
0.054667018353939056,
0.011474916711449623,
-0.003138104220852256,
-0.05249360203742981,
-0.004738238174468279,
-0.01869508996605873,
-0.0827372819185257,
0.028807014226913452,
-0.03845847025513649,
0.02646782621741295,
0.031035689637064934,
-0.06225556880235672,
0.024165475741028786,
0.003646923927590251,
-0.021844705566763878,
-0.014164063148200512,
-0.0019903823267668486,
0.05061488226056099,
0.1011560931801796,
0.012266925536096096,
0.007312266621738672,
-0.032914407551288605,
-0.027462441474199295,
-0.016337482258677483,
-0.018243828788399696,
-0.05356189236044884,
-0.04383676126599312,
-0.005608526989817619,
-0.04656274616718292,
0.07551711052656174,
0.059198047965765,
0.01712949015200138,
0.0017106466693803668,
0.032601289451122284,
-0.010332951322197914,
-0.009909318760037422,
-0.026320476084947586,
0.07039668411016464,
-0.0005683928611688316,
-0.009002191945910454,
0.047188982367515564,
-0.045973341912031174,
-0.037427015602588654,
0.055919498205184937,
0.012883955612778664,
0.009798805229365826,
-0.030833084136247635,
-0.03379851207137108,
-0.02449701353907585,
0.026136288419365883,
-0.06498154997825623,
-0.04984129220247269,
-0.04225274547934532,
0.016484832391142845,
0.016945302486419678,
-0.040631890296936035,
-0.047225821763277054,
-0.07341736555099487,
-0.020573807880282402,
0.05304616317152977,
-0.023649748414754868,
-0.0033176876604557037,
-0.037537530064582825,
0.04280530661344528,
0.004894798155874014,
0.052235737442970276,
0.054114457219839096,
-0.024275988340377808,
0.02293141558766365,
-0.023262953385710716,
-0.01552705466747284,
0.0337064154446125,
-0.03827428072690964,
-0.020242270082235336,
0.015029747039079666,
0.0077543179504573345,
-0.007528687361627817,
0.08841027319431305,
-0.028088681399822235,
-0.0010222437558695674,
0.006736678536981344,
0.0075425016693770885,
0.05426180735230446,
0.031772442162036896,
-0.03599034994840622,
-0.05676676332950592,
-0.01271818671375513,
-0.01054476760327816,
-0.030317356809973717,
-0.060671549290418625,
-0.05429864302277565,
-0.011318356730043888,
0.02438650093972683,
0.05617736279964447,
0.009430428966879845,
0.03473787009716034,
-0.03790590539574623,
0.008555536158382893,
-0.035456202924251556,
0.0036031792405992746,
0.00562694575637579,
-0.016724277287721634,
0.02112637273967266,
-0.0023495492059737444,
0.03339329734444618,
-0.009927737526595592,
0.05474069342017174,
-0.03790590539574623,
-0.04026351124048233,
0.02237885072827339,
0.0009923132602125406,
0.0298016294836998,
-0.023060346022248268,
-0.049141377210617065,
0.017359726130962372,
-0.004199488088488579,
-0.06225556880235672,
0.011382822878658772,
-0.016125665977597237,
0.012451114133000374,
-0.028475476428866386,
0.037537530064582825,
0.00300917262211442,
-0.024018125608563423,
0.005521037615835667,
0.019818637520074844,
0.02387077361345291,
0.046157531440258026,
0.03779539093375206,
0.009577780030667782,
0.042989496141672134,
-0.020573807880282402,
-0.018243828788399696,
-0.005005310755223036,
-0.066639244556427,
-0.023981286212801933,
0.03974778577685356,
0.0051434519700706005,
-0.06803907454013824,
-0.00888246949762106,
-0.002983846701681614,
0.06719180941581726,
0.0034880617167800665,
0.005046753212809563,
0.007910877466201782,
-0.047888897359371185,
-0.06162932887673378,
-0.02462594583630562,
0.005677597131580114,
0.01924765296280384,
0.004673772491514683,
-0.02125530317425728,
-0.023078765720129013,
0.031809281557798386,
0.08126378059387207,
0.0268546212464571,
0.022176243364810944,
0.08052702248096466,
-0.01094077154994011,
0.026965133845806122,
-0.02167893573641777,
0.007537896744906902,
-0.04932556673884392,
0.011631476692855358,
0.08863130211830139,
0.02477329596877098,
0.0341116301715374,
0.004616213496774435,
-0.046157531440258026,
-0.05061488226056099,
0.023299790918827057,
0.011336775496602058,
0.012045900337398052,
0.02956218644976616,
-0.02983846701681614,
0.02164209820330143,
-0.08001130074262619,
0.04825727641582489,
0.046783771365880966,
0.004135022405534983,
0.012828699313104153,
0.03845847025513649,
-0.04501556605100632,
-0.07363839447498322,
0.013547033071517944,
-0.04634171724319458,
-0.046746931970119476,
0.020794833078980446,
-0.00327854766510427,
0.00019483645155560225,
-0.05481437221169472,
0.022157825529575348,
-0.04383676126599312,
0.05908753350377083,
-0.040005650371313095,
-0.009872480295598507,
0.04903086647391319,
-0.06092941388487816,
0.04932556673884392,
0.00885944627225399,
0.05061488226056099,
-0.015849383547902107,
0.022360432893037796,
0.03396428003907204,
-0.04715214669704437,
0.016319062560796738,
0.05695095285773277,
-0.02230517566204071,
0.04954659193754196,
0.017341306433081627,
-0.04818360134959221,
0.0031219879165291786,
-0.03343013674020767,
0.07743266224861145,
0.01889769546687603,
0.04144231602549553,
0.04291582107543945,
-0.0023437931668013334,
-0.019984405487775803,
0.024883808568120003,
-0.024589108303189278,
-0.04453667625784874,
0.032122399657964706,
-0.0071234735660254955,
-0.040079325437545776,
0.005180289503186941,
0.010167181491851807,
-0.054114457219839096,
-0.0008000669186003506,
-0.026652013882994652,
0.018087267875671387,
-0.012211669236421585,
0.026486244052648544,
-0.04147915542125702,
-0.007197149097919464,
-0.0505780465900898,
-0.020868508145213127,
0.017893871292471886,
-0.005369082093238831,
-0.017939917743206024,
-0.01945026032626629,
0.039342571049928665,
-0.01523235347121954,
0.04269479587674141,
0.07518557459115982,
-0.0462680421769619,
0.05754035338759422,
-0.048515137284994125,
-0.06328701972961426,
-0.010277694091200829,
-0.01610724627971649,
0.002036429475992918,
0.020684320479631424,
0.006234766449779272,
-0.04405778646469116,
0.05897701904177666,
0.009002191945910454,
0.024994321167469025,
0.027075646445155144,
0.06214505434036255,
0.048515137284994125,
-0.008666048757731915,
0.05787189304828644,
-0.035345692187547684,
-0.011235472746193409,
-0.019652867689728737,
-0.01413643453270197,
0.03540094941854477,
-0.03425898030400276,
0.045973341912031174,
0.03963727504014969,
0.014182481914758682,
-0.056398387998342514,
0.02939641661942005,
-0.048515137284994125,
-0.01885164901614189,
0.02175261080265045,
-0.009798805229365826,
0.0372428297996521,
0.09563044458627701,
0.02129214070737362,
-0.06225556880235672,
0.01838197000324726,
-0.0026523082051426172,
-0.01795833744108677,
0.011511754244565964,
0.006966914050281048,
-0.020518550649285316,
-0.06722864508628845,
0.006004531402140856,
-0.05838761851191521,
-0.000018994394849869423,
-0.02289457805454731,
0.005341453943401575,
0.04074240103363991,
0.0182346198707819,
-0.0033476182725280523,
0.007947714999318123,
-0.03678235784173012,
-0.014035130850970745,
0.016365110874176025,
0.041773855686187744,
-0.036321889609098434,
0.03339329734444618,
0.008850237354636192,
0.016125665977597237,
-0.02129214070737362,
-0.009388986974954605,
-0.053967107087373734,
-0.01756233349442482,
0.00726161478087306,
-0.017111072316765785,
-0.01893453299999237,
-0.04472086578607559,
0.031735606491565704,
-0.07120710611343384,
0.033890604972839355,
0.05672992765903473,
-0.03337487950921059,
-0.06004531309008598,
-0.009992202743887901,
-0.018004383891820908,
0.05415129289031029,
-0.08111643046140671,
-0.028199193999171257,
0.011124959215521812,
0.013335216790437698,
0.006980727892369032,
-0.011419660411775112,
0.020960602909326553,
0.005696016363799572,
0.05426180735230446,
0.05536693334579468,
-0.03552987799048424,
0.05547744780778885,
-0.02234201319515705,
0.05908753350377083,
-0.019542355090379715,
-0.06921787559986115,
-0.07327001541852951,
0.001915555913001299,
-0.07238591462373734,
0.052235737442970276,
-0.04269479587674141,
0.02877017669379711,
0.023576073348522186,
0.07459616661071777,
0.011511754244565964,
0.048551976680755615,
-0.015002118423581123,
0.047410011291503906,
0.026836201548576355,
-0.009863271377980709,
-0.015103422105312347,
-0.032398682087659836,
-0.010360579006373882,
0.026836201548576355,
0.034240562468767166,
-0.010756583884358406,
0.05194103717803955,
-0.038826845586299896,
-0.01479951199144125,
0.0021101045422255993,
-0.005115823820233345,
0.0030137773137539625,
0.02223150059580803,
-0.03704022243618965,
-0.011419660411775112,
-0.0003237680939491838,
0.011981434188783169,
-0.006285417824983597,
0.021660517901182175,
-0.04656274616718292,
0.03648765757679939,
-0.026117868721485138,
0.04166334122419357,
0.011281519196927547,
0.061334628611803055,
0.006976123433560133,
-0.0501728318631649,
0.005369082093238831,
0.017884662374854088,
-0.05367240309715271,
-0.04136864095926285,
-0.021107953041791916,
0.04921505227684975,
-0.020518550649285316,
-0.0580192431807518,
0.038790009915828705,
-0.04512607678771019,
0.021494748070836067,
0.04575231671333313,
-0.007593153510242701,
0.04339471086859703,
-0.010489510372281075,
0.001998440595343709,
0.02112637273967266,
-0.004890193231403828,
-0.038679495453834534,
0.07209121435880661,
0.00670444592833519,
0.006234766449779272,
0.06973360478878021,
0.006248580291867256,
-0.0012789559550583363,
-0.003165732603520155,
0.09894583374261856,
-0.003377548884600401,
-0.035658810287714005,
0.003907089587301016,
0.04066872596740723,
-0.0005306918756105006,
0.0462680421769619,
0.03300650417804718,
-0.06453949958086014,
-0.0026500059757381678,
-0.04276847094297409,
0.020279107615351677,
0.05127795785665512,
0.013943037018179893,
0.022802483290433884,
0.006257789675146341,
0.018400387838482857,
-0.0011891642352566123,
0.005953879561275244,
0.010857886634767056,
0.01384173333644867,
-0.018197782337665558,
-0.047225821763277054,
0.011493335478007793,
0.021347397938370705,
0.031385648995637894,
0.05249360203742981,
0.02908329665660858,
-0.023465560749173164,
-0.003966950811445713,
0.030648894608020782,
0.02473645843565464,
0.008219392970204353,
0.07275428622961044,
0.007537896744906902,
0.05742984265089035,
-0.008739723823964596,
0.04619436711072922,
0.031183041632175446,
0.03556671738624573,
-0.04199488088488579,
0.00001865263948275242,
0.05496172234416008,
0.05989796295762062,
0.05573531240224838,
0.03547462448477745,
-0.009223218075931072,
-0.017985966056585312,
0.02473645843565464,
0.051646336913108826,
0.00849107000976801,
0.026486244052648544,
-0.0058986227959394455
] |
719,484
|
ibm_platform_services.enterprise_management_v1
|
update_account_group
|
Update an account group.
Update the name or IAM ID of the primary contact for an existing account group.
The new primary contact must already be a user in the enterprise account.
:param str account_group_id: The ID of the account group to retrieve.
:param str name: (optional) The new name of the account group. This field
must have 3 - 60 characters.
:param str primary_contact_iam_id: (optional) The IAM ID of the user to be
the new primary contact for the account group.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def update_account_group(
self,
account_group_id: str,
*,
name: Optional[str] = None,
primary_contact_iam_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Update an account group.
Update the name or IAM ID of the primary contact for an existing account group.
The new primary contact must already be a user in the enterprise account.
:param str account_group_id: The ID of the account group to retrieve.
:param str name: (optional) The new name of the account group. This field
must have 3 - 60 characters.
:param str primary_contact_iam_id: (optional) The IAM ID of the user to be
the new primary contact for the account group.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not account_group_id:
raise ValueError('account_group_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_account_group',
)
headers.update(sdk_headers)
data = {
'name': name,
'primary_contact_iam_id': primary_contact_iam_id,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['account_group_id']
path_param_values = self.encode_path_vars(account_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/account-groups/{account_group_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, account_group_id: str, *, name: Optional[str] = None, primary_contact_iam_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04338875785470009,
0.0327143557369709,
-0.06539031118154526,
-0.008356175385415554,
0.012959031388163567,
-0.07349210977554321,
-0.02155998907983303,
-0.0015970806125551462,
-0.0013031025882810354,
-0.005485990084707737,
0.02682039514183998,
-0.07226339727640152,
0.01069360040128231,
0.0362468920648098,
-0.048341985791921616,
-0.04116172343492508,
0.026801196858286858,
-0.02286549098789692,
0.024497369304299355,
-0.0368228480219841,
0.012939833104610443,
0.02549569495022297,
-0.008260182105004787,
0.01965933106839657,
0.035824522376060486,
0.019908912479877472,
0.08577919006347656,
0.01887218840420246,
-0.019985705614089966,
0.034327033907175064,
0.039933014661073685,
-0.02526531182229519,
0.025860466063022614,
0.0608210526406765,
-0.04465586319565773,
-0.07986602932214737,
-0.009752870537340641,
0.002273830119520426,
-0.00419248640537262,
-0.0048764352686703205,
0.007386647630482912,
0.02251991629600525,
0.01026163250207901,
-0.024670155718922615,
0.03636208176612854,
0.045423805713653564,
0.010751196183264256,
0.022615909576416016,
-0.03522936627268791,
0.020657656714320183,
0.011586333625018597,
-0.09883420914411545,
-0.019265759736299515,
-0.02228953316807747,
-0.014446919783949852,
0.023998206481337547,
0.008725747466087341,
-0.06431519240140915,
-0.0032301584724336863,
-0.05129856616258621,
0.01673154905438423,
-0.016222788020968437,
-0.02257751300930977,
-0.05156734585762024,
-0.08478086441755295,
-0.013794168829917908,
-0.07080430537462234,
0.0032709555234760046,
-0.06327846646308899,
-0.012277482077479362,
-0.056290190666913986,
0.03511417657136917,
-0.013621381483972073,
-0.06704138964414597,
-0.05590622127056122,
0.05717332661151886,
-0.008989728055894375,
0.0379747599363327,
0.0043196771293878555,
0.023691028356552124,
0.0065803080797195435,
0.005922757089138031,
0.045884571969509125,
-0.016078798100352287,
0.001495088217779994,
0.005370798520743847,
0.0052796052768826485,
-0.02040807530283928,
-0.017278708517551422,
-0.05813325569033623,
0.018257835879921913,
-0.012623056769371033,
0.011855114251375198,
0.015042075887322426,
0.06235693767666817,
0.0088457390666008,
0.004528461489826441,
-0.027799522504210472,
0.004794841632246971,
0.043081577867269516,
-0.028049103915691376,
-0.05955394729971886,
0.0023578237742185593,
-0.0009941257303580642,
0.07099629193544388,
-0.016942733898758888,
0.05106818303465843,
0.01049201563000679,
0.03334790840744972,
-0.011327153071761131,
-0.01731710508465767,
-0.10559210926294327,
-0.0265900120139122,
-0.028778648003935814,
-0.007093869615346193,
0.008096994832158089,
-0.010156041011214256,
-0.022827094420790672,
0.06181937828660011,
-0.0181234460324049,
0.008476166054606438,
-0.013582984916865826,
0.022097548469901085,
0.025937261059880257,
0.009138517081737518,
0.004449267406016588,
-0.03688044473528862,
0.09399617463350296,
0.02561088651418686,
-0.01566602848470211,
-0.01638597436249256,
-0.03327111154794693,
-0.02069605328142643,
-0.008072996512055397,
0.040278587490320206,
0.011211961507797241,
-0.0037533193826675415,
0.003693323815241456,
-0.0019882514607161283,
0.017182715237140656,
0.05667416378855705,
0.008980128914117813,
0.016597159206867218,
0.029488995671272278,
0.006436319090425968,
-0.025073325261473656,
0.05517667531967163,
-0.04945550486445427,
-0.08585598319768906,
-0.022558312863111496,
-0.035651735961437225,
-0.039472248405218124,
0.025015730410814285,
0.0257260762155056,
-0.01792186126112938,
0.014811692759394646,
-0.00010041749192168936,
-0.04930191487073898,
0.05644378066062927,
-0.028721053153276443,
-0.025706877931952477,
0.014485317282378674,
0.026110047474503517,
-0.011211961507797241,
0.0018898587441071868,
-0.05644378066062927,
-0.018795395269989967,
0.015358852222561836,
-0.027684330940246582,
-0.04058576747775078,
-0.049993064254522324,
0.017297906801104546,
-0.033943064510822296,
0.01731710508465767,
-0.08155550062656403,
0.03511417657136917,
0.004521261900663376,
-0.03162003681063652,
0.03803235664963722,
-0.0019942510407418013,
-0.008178588934242725,
0.013170215301215649,
0.06719497591257095,
0.02766513265669346,
0.0005963554140180349,
0.019966507330536842,
-0.024497369304299355,
0.07690945267677307,
-0.012392673641443253,
-0.04281279817223549,
0.020734449848532677,
-0.04603815823793411,
-0.017393900081515312,
0.021828768774867058,
-0.018574612215161324,
-0.04000980779528618,
0.027972308918833733,
-0.044502273201942444,
0.04980107769370079,
0.023403050377964973,
0.019812919199466705,
-0.0186994019895792,
0.060744259506464005,
0.05659737065434456,
0.03880029916763306,
-0.015685226768255234,
-0.00894653145223856,
0.005437993444502354,
-0.017883462831377983,
0.005274805705994368,
-0.019227363169193268,
-0.024862142279744148,
-0.019755322486162186,
-0.008720948360860348,
0.006162739358842373,
0.04592296853661537,
0.06857727468013763,
-0.002420219127088785,
-0.003186961868777871,
0.010040849447250366,
-0.03240717574954033,
-0.005034823436290026,
0.055368661880493164,
-0.008548161014914513,
-0.03292553871870041,
-0.000546259165275842,
0.01215269137173891,
0.04116172343492508,
-0.031754426658153534,
0.019928110763430595,
0.0034197443164885044,
-0.05037703365087509,
-0.0013918959302827716,
-0.0265900120139122,
-0.05410155653953552,
-0.040739353746175766,
0.015454844571650028,
-0.04434868320822716,
-0.008797742426395416,
0.033309511840343475,
-0.016549162566661835,
0.051605742424726486,
0.05275765806436539,
0.05655897036194801,
-0.0982966497540474,
-0.041315313428640366,
-0.02332625724375248,
-0.01108717080205679,
0.04761243984103203,
-0.005557984579354525,
-0.029911363497376442,
-0.04807320609688759,
-0.020446471869945526,
0.026206040754914284,
0.013851764611899853,
-0.027012381702661514,
-0.003724521491676569,
-0.001973852515220642,
0.017153916880488396,
0.04419509693980217,
-0.026378829032182693,
-0.04162248969078064,
-0.04185287281870842,
-0.012939833104610443,
0.03138965368270874,
0.01983211748301983,
0.014446919783949852,
0.03734120726585388,
0.09553205966949463,
0.003285354468971491,
0.13024306297302246,
0.02783791907131672,
0.006772293709218502,
0.005447592586278915,
-0.04300478473305702,
0.020657656714320183,
-0.006042748223990202,
-0.00025078124599531293,
-0.009762470610439777,
-0.06228014454245567,
0.03234958276152611,
-0.0010571209713816643,
-0.05648217722773552,
-0.020600060001015663,
0.029834570363163948,
0.02795311063528061,
-0.012191088870167732,
0.03323271498084068,
-0.06934521347284317,
0.033482298254966736,
0.013851764611899853,
0.02006250061094761,
-0.08938851952552795,
-0.017019527032971382,
-0.056520573794841766,
-0.007453843019902706,
-0.060974642634391785,
-0.019380951300263405,
0.026897190138697624,
0.009954456239938736,
0.006479515694081783,
0.06704138964414597,
0.012123893946409225,
-0.021886363625526428,
-0.0108087919652462,
-0.03474940359592438,
0.005658776964992285,
0.030621711164712906,
-0.00727625610306859,
0.0707659125328064,
0.005365998949855566,
-0.013813367113471031,
-0.028797848150134087,
-0.01020403765141964,
0.006109943147748709,
-0.03194641321897507,
0.07971244305372238,
-0.023691028356552124,
0.03590131551027298,
0.024382177740335464,
-0.032906338572502136,
-0.0362468920648098,
0.020043302327394485,
-0.031178468838334084,
0.00358053226955235,
-0.024170992895960808,
0.06677260994911194,
0.07091949880123138,
0.06784772872924805,
-0.011557536199688911,
0.00633072666823864,
-0.03928026556968689,
-0.024862142279744148,
0.025745276361703873,
-0.029066627845168114,
-0.07099629193544388,
-0.008677751757204533,
-0.09161555022001266,
0.012047099880874157,
-0.012987828813493252,
-0.01100077759474516,
0.013554186560213566,
0.011125568300485611,
0.005452392622828484,
-0.03000735677778721,
-0.006729097105562687,
0.05310323089361191,
-0.04396471381187439,
-0.016981130465865135,
0.02263510785996914,
-0.03252236917614937,
-0.0198897123336792,
0.029469797387719154,
0.011643929407000542,
0.02962338551878929,
0.014456518925726414,
-0.004780442453920841,
0.011807117611169815,
0.033655084669589996,
-0.01867060363292694,
-0.034787800163030624,
-0.05690454691648483,
0.023652631789445877,
-0.009772069752216339,
-0.012767045758664608,
-0.05517667531967163,
-0.10121483355760574,
-0.015330053865909576,
0.015973206609487534,
0.003443742636591196,
0.018075449392199516,
0.0026973984204232693,
0.011672727763652802,
0.014024551957845688,
0.019985705614089966,
0.03789796680212021,
-0.02190556190907955,
0.03657326474785805,
-0.02211674675345421,
-0.016808344051241875,
0.06707978248596191,
-0.01754748821258545,
-0.022481519728899002,
0.017845066264271736,
-0.030852094292640686,
-0.020907236263155937,
0.06984438002109528,
0.005140415858477354,
-0.03895388916134834,
-0.02841387689113617,
0.04884114861488342,
-0.0047228471376001835,
0.042505621910095215,
-0.026666807010769844,
-0.07295454293489456,
-0.008836139924824238,
-0.03428863734006882,
-0.014283732511103153,
-0.07276256382465363,
0.0022630307357758284,
-0.010981579311192036,
0.04630693793296814,
0.0265900120139122,
-0.0039885020814836025,
0.05575263127684593,
-0.018113845959305763,
0.03419264405965805,
-0.03453821688890457,
-0.007415445521473885,
0.04814999923110008,
0.0198897123336792,
0.048572368919849396,
-0.04477105289697647,
-0.01714431867003441,
-0.009277706034481525,
0.049033135175704956,
-0.01506127417087555,
-0.002589406445622444,
0.021982356905937195,
0.04722847044467926,
0.011960705742239952,
-0.0030069751664996147,
-0.06830849498510361,
0.028029905632138252,
-0.01166312862187624,
-0.06830849498510361,
0.05813325569033623,
-0.03361668810248375,
-0.002405820181593299,
-0.0342310406267643,
0.016174791380763054,
-0.009935257025063038,
-0.04431028664112091,
0.019697727635502815,
-0.04976268112659454,
0.006916283164173365,
0.026743600144982338,
0.04899473860859871,
0.048457179218530655,
-0.0029925762210041285,
0.001778267091140151,
-0.03557493910193443,
-0.016923535615205765,
-0.03716842085123062,
-0.05003146082162857,
0.0035013381857424974,
0.04212165251374245,
-0.04058576747775078,
0.028490670025348663,
-0.0024742151144891977,
0.09891100972890854,
0.02875944972038269,
0.013400598429143429,
0.041430503129959106,
-0.005884360056370497,
-0.03691884130239487,
-0.010482416488230228,
-0.05778767913579941,
0.011739922687411308,
-0.0030765701085329056,
-0.003510937560349703,
0.00184786191675812,
0.0043172771111130714,
0.08286100625991821,
0.05018504709005356,
0.05006985738873482,
0.07932846993207932,
-0.0024178193416446447,
0.00004495913890423253,
-0.03997141122817993,
0.013400598429143429,
-0.0742984488606453,
0.01601160317659378,
0.07579593360424042,
-0.023575836792588234,
0.04116172343492508,
-0.004744445439428091,
0.03304072842001915,
-0.037648387253284454,
0.06473755836486816,
0.02841387689113617,
-0.020369676873087883,
0.041929665952920914,
-0.031639233231544495,
0.04523181915283203,
-0.09084761142730713,
0.031639233231544495,
0.020427273586392403,
-0.05667416378855705,
-0.0075498358346521854,
0.01930415630340576,
-0.05152894929051399,
-0.03505657985806465,
-0.012162290513515472,
-0.027012381702661514,
-0.05509988218545914,
0.028605861589312553,
0.012191088870167732,
0.00409649359062314,
-0.045423805713653564,
-0.00581716513261199,
-0.04511662572622299,
0.00036027305759489536,
-0.07679425925016403,
0.05402476340532303,
0.014955681748688221,
-0.006105143576860428,
0.006393122021108866,
0.005212410353124142,
0.024228589609265327,
-0.04000980779528618,
-0.0049340310506522655,
-0.002769392915070057,
-0.01557963527739048,
0.025534091517329216,
0.058862801641225815,
-0.03428863734006882,
0.029834570363163948,
0.017038727179169655,
-0.031869616359472275,
0.012930233031511307,
-0.01371737476438284,
-0.01131755392998457,
0.04135370999574661,
-0.0038781100884079933,
-0.019966507330536842,
0.006815490312874317,
-0.03425024077296257,
0.030660107731819153,
-0.04431028664112091,
0.011413547210395336,
0.05774928256869316,
-0.005481190513819456,
-0.03716842085123062,
-0.017672279849648476,
-0.042160049080848694,
-0.02801070548593998,
0.016174791380763054,
-0.09622320532798767,
0.014158941805362701,
0.01647236943244934,
0.011883911676704884,
-0.0637008398771286,
-0.027684330940246582,
-0.060744259506464005,
0.00023233263345900923,
0.036726854741573334,
0.008101793937385082,
0.013362200930714607,
-0.01154793705791235,
-0.003832513466477394,
0.0023410250432789326,
0.03411585092544556,
0.0712650716304779,
-0.023134270682930946,
0.013515789993107319,
-0.03298313543200493,
-0.06796292215585709,
-0.02447817102074623,
-0.019121769815683365,
-0.005778768099844456,
0.01529165729880333,
0.036899641156196594,
-0.05106818303465843,
-0.009570484980940819,
0.05997631698846817,
0.002877384889870882,
0.027588337659835815,
0.03229198604822159,
0.030948085710406303,
-0.039472248405218124,
-0.012075897306203842,
-0.027645934373140335,
-0.030794497579336166,
-0.04089294373989105,
0.043542344123125076,
0.027089174836874008,
0.005476390477269888,
0.01977452263236046,
-0.015512440353631973,
0.02476614899933338,
-0.03503737971186638,
0.05736531317234039,
-0.01971692591905594,
-0.022884689271450043,
0.01566602848470211,
-0.026494018733501434,
0.008764144964516163,
0.0362468920648098,
0.05832523852586746,
-0.0526040680706501,
0.02447817102074623,
0.009431295096874237,
-0.0332903116941452,
0.009104919619858265,
0.05797966569662094,
0.003777317702770233,
-0.051490552723407745,
-0.007069871295243502,
-0.03309832513332367,
0.03407745435833931,
-0.003102967981249094,
0.007732221856713295,
0.03985622152686119,
0.013794168829917908,
0.024055801331996918,
0.0006479515577666461,
-0.049186721444129944,
-0.008509763516485691,
-0.01875699870288372,
-0.05006985738873482,
-0.04442548006772995,
0.026282835751771927,
0.04054737091064453,
0.0020950434263795614,
-0.038915492594242096,
-0.008476166054606438,
-0.0013846964575350285,
0.04515502601861954,
-0.001112316851504147,
0.030103350058197975,
0.013554186560213566,
0.003146164817735553,
0.03728361427783966,
-0.014446919783949852,
0.03127446398139,
0.029546590521931648,
-0.02326866053044796,
-0.05859402194619179,
-0.003134165657684207,
-0.04991626739501953,
0.05698134005069733,
-0.06650383025407791,
-0.048457179218530655,
0.03332870826125145,
0.008082595653831959,
0.04020179435610771,
0.029757775366306305,
-0.002877384889870882,
0.006090744864195585,
0.008802542462944984,
0.019342554733157158,
0.009013726375997066,
0.02497733384370804,
-0.00007086970435921103,
0.09207631647586823,
-0.015214862301945686,
-0.04891794174909592,
0.0039045081939548254,
-0.05018504709005356,
-0.07072751224040985,
0.04369593411684036,
-0.06385442614555359,
-0.04649892449378967,
-0.02977697364985943,
0.07664067298173904,
-0.03150484338402748,
0.02491973713040352,
-0.07103469222784042,
0.016376376152038574,
0.03305992856621742,
0.01361178234219551,
0.004845237825065851,
-0.0479196198284626,
-0.009570484980940819,
-0.005495589226484299,
0.029143420979380608,
0.004353274591267109,
0.0982966497540474,
-0.03202320635318756,
-0.051490552723407745,
0.01391895953565836,
0.0011261157924309373,
0.04814999923110008,
-0.014994079247117043,
-0.010108044371008873,
0.006349925417453051,
-0.031140072271227837,
0.019457746297121048,
0.014926884323358536,
0.07963564991950989,
0.0017746672965586185,
0.00809219479560852,
-0.01766267977654934,
0.05225849524140358,
-0.012392673641443253,
0.02624443732202053,
-0.03380867466330528,
0.0027621935587376356,
0.024516567587852478,
0.015243660658597946,
-0.024938935413956642,
-0.07026674598455429,
-0.025630084797739983,
0.04047057405114174,
-0.013899761252105236,
-0.0397794246673584,
0.035766925662755966,
-0.04546220228075981,
0.035306159406900406,
0.009421695955097675,
-0.00003209759961464442,
0.004470865707844496,
0.021425599232316017,
-0.0058939591981470585,
0.07026674598455429,
-0.029124222695827484,
-0.006796292029321194,
0.013285406865179539,
-0.03703403100371361,
-0.0005135615938343108,
0.0760263204574585,
-0.056136604398489,
-0.019966507330536842,
0.016549162566661835,
0.03265675902366638,
-0.011643929407000542,
-0.0707659125328064,
0.040854547172784805,
0.051375359296798706,
-0.0032637559343129396,
0.037590790539979935,
-0.038281939923763275,
-0.050108253955841064,
-0.03158164024353027,
-0.06539031118154526,
-0.014725299552083015,
0.03474940359592438,
-0.003261356148868799,
0.024746950715780258,
0.05152894929051399,
0.043542344123125076,
-0.026666807010769844,
-0.012335077859461308,
0.04807320609688759,
0.009964055381715298,
-0.0029253812972456217,
-0.06842368841171265,
0.01884339191019535,
0.023019079118967056,
0.05529186874628067,
0.02121441438794136,
0.008677751757204533,
-0.028164295479655266,
-0.00850016437470913,
-0.03160083666443825,
0.03745640069246292,
0.006225134711712599,
0.046921294182538986,
-0.005941955838352442,
0.005078020505607128,
-0.0006701499223709106,
0.026340430602431297,
0.04511662572622299,
0.046230144798755646,
-0.04569258540868759,
0.009440894238650799,
0.04983947426080704,
0.06873086094856262,
0.025745276361703873,
0.03396226093173027,
0.04104653000831604,
0.03323271498084068,
-0.004953229799866676,
0.00019498541951179504,
0.024266986176371574,
-0.027511542662978172,
0.014110945165157318
] |
719,485
|
ibm_platform_services.enterprise_management_v1
|
update_enterprise
|
Update an enterprise.
Update the name, domain, or IAM ID of the primary contact for an existing
enterprise. The new primary contact must already be a user in the enterprise
account.
:param str enterprise_id: The ID of the enterprise to retrieve.
:param str name: (optional) The new name of the enterprise. This field must
have 3 - 60 characters.
:param str domain: (optional) The new domain of the enterprise. This field
has a limit of 60 characters.
:param str primary_contact_iam_id: (optional) The IAM ID of the user to be
the new primary contact for the enterprise.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def update_enterprise(
self,
enterprise_id: str,
*,
name: Optional[str] = None,
domain: Optional[str] = None,
primary_contact_iam_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Update an enterprise.
Update the name, domain, or IAM ID of the primary contact for an existing
enterprise. The new primary contact must already be a user in the enterprise
account.
:param str enterprise_id: The ID of the enterprise to retrieve.
:param str name: (optional) The new name of the enterprise. This field must
have 3 - 60 characters.
:param str domain: (optional) The new domain of the enterprise. This field
has a limit of 60 characters.
:param str primary_contact_iam_id: (optional) The IAM ID of the user to be
the new primary contact for the enterprise.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not enterprise_id:
raise ValueError('enterprise_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='update_enterprise',
)
headers.update(sdk_headers)
data = {
'name': name,
'domain': domain,
'primary_contact_iam_id': primary_contact_iam_id,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['enterprise_id']
path_param_values = self.encode_path_vars(enterprise_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/enterprises/{enterprise_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PATCH',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, enterprise_id: str, *, name: Optional[str] = None, domain: Optional[str] = None, primary_contact_iam_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.006997109856456518,
0.00025551405269652605,
-0.01853514462709427,
-0.017123650759458542,
0.009165424853563309,
-0.05649690330028534,
-0.02910277619957924,
-0.0384446382522583,
-0.01860014721751213,
0.00889612641185522,
-0.009936174377799034,
-0.08728975802659988,
-0.009105064906179905,
0.050962358713150024,
-0.013994219712913036,
-0.034934476017951965,
0.0033964072354137897,
-0.02728269249200821,
0.05007088929414749,
-0.03170289844274521,
0.04201051592826843,
-0.008766120299696922,
0.018312277272343636,
-0.017996547743678093,
0.05181668698787689,
0.052039552479982376,
0.09605588018894196,
0.025889771059155464,
0.01518284622579813,
-0.016612911596894264,
0.055196840316057205,
-0.021971017122268677,
-0.0006970412214286625,
0.06875461339950562,
-0.007377841509878635,
-0.029752805829048157,
-0.036661699414253235,
0.029864240437746048,
-0.06266289949417114,
0.06385152786970139,
-0.03952183201909065,
0.026354078203439713,
0.04947657883167267,
-0.01359491515904665,
0.015015695244073868,
0.02614978328347206,
0.01402207836508751,
-0.000109039647213649,
0.006992466747760773,
0.051445238292217255,
-0.022546758875250816,
-0.055308274924755096,
0.04836224019527435,
-0.02990138530731201,
0.00902613252401352,
0.001628557569347322,
0.021933872252702713,
-0.004879869055002928,
-0.005065591540187597,
-0.009954746812582016,
0.014959978871047497,
-0.04475921392440796,
-0.017597243189811707,
-0.02460828237235546,
-0.09613016992807388,
-0.005919917020946741,
-0.019965210929512978,
0.06994324177503586,
-0.050293758511543274,
0.014690680429339409,
-0.003946611192077398,
0.004740576725453138,
-0.039150383323431015,
-0.023995397612452507,
-0.0045641399919986725,
0.07083471119403839,
0.0004019159241579473,
0.03900180757045746,
0.029437078163027763,
-0.011264093220233917,
0.01522927638143301,
-0.0371074341237545,
0.01114337332546711,
-0.00023520062677562237,
-0.023326793685555458,
0.03922467306256294,
0.01839585229754448,
-0.008682545274496078,
0.010576918721199036,
0.006597805768251419,
0.06061995029449463,
0.024255409836769104,
-0.02265819162130356,
-0.03250150382518768,
0.0803808644413948,
0.013557770289480686,
0.05564257502555847,
-0.028898481279611588,
0.0738062784075737,
0.0056506190448999405,
0.014133512042462826,
-0.02535117417573929,
0.026205498725175858,
-0.0018827657913789153,
0.02843417413532734,
-0.029177065938711166,
0.025722619146108627,
0.018813729286193848,
0.02065238542854786,
-0.0008961129351519048,
-0.0023192146327346563,
-0.051742397248744965,
-0.08097518235445023,
-0.023679668083786964,
-0.024756859987974167,
0.0008003495750017464,
0.0203552283346653,
0.05411965027451515,
0.03889037296175957,
-0.024181120097637177,
-0.005478824954479933,
-0.0023981467820703983,
-0.04498208314180374,
0.010066180489957333,
-0.007466060109436512,
-0.003006389131769538,
-0.04839938506484032,
0.06180857494473457,
0.01623217947781086,
-0.01989092119038105,
-0.047285046428442,
-0.024552565068006516,
0.012675587087869644,
0.035027336329221725,
0.035788800567388535,
-0.008807907812297344,
0.006764956284314394,
0.0012164849322289228,
0.03840749338269234,
0.012313427403569221,
-0.030347120016813278,
0.03328154236078262,
-0.011654111556708813,
0.022156739607453346,
-0.03744173422455788,
-0.026372650638222694,
0.0035960592795163393,
-0.010344765149056911,
-0.03244578838348389,
-0.009216498583555222,
-0.021562427282333374,
0.001832852722145617,
0.02267676405608654,
-0.02018807828426361,
0.0010313424281775951,
-0.010242616757750511,
-0.009694734588265419,
-0.08476392924785614,
0.06816030293703079,
-0.0007608834421262145,
-0.01537785492837429,
-0.005362748168408871,
0.06686023622751236,
0.001341847819276154,
-0.016352899372577667,
-0.05341390147805214,
-0.08015799522399902,
-0.04494493827223778,
-0.027728427201509476,
-0.0007521776715293527,
-0.028601324185729027,
0.041861940175294876,
-0.07064898312091827,
-0.006560660898685455,
-0.049513719975948334,
0.0036889207549393177,
0.057499807327985764,
-0.05025661364197731,
-0.00812537595629692,
0.000731864245608449,
-0.0025490466505289078,
0.004392346367239952,
0.04267911985516548,
0.07406628876924515,
0.04219624027609825,
0.00009112028783420101,
-0.024868294596672058,
0.031647179275751114,
-0.014616391621530056,
-0.025016872212290764,
0.004703432321548462,
-0.040413301438093185,
-0.02085668034851551,
0.065374456346035,
-0.017847970128059387,
0.01869300939142704,
0.01196984015405178,
-0.05805697292089462,
0.015870019793510437,
-0.006012778263539076,
-0.020930970087647438,
0.027171257883310318,
0.027208402752876282,
0.038667503744363785,
0.01552643347531557,
-0.015712156891822815,
0.03747887909412384,
-0.03603024035692215,
0.01017761416733265,
0.00612421240657568,
-0.0181172676384449,
0.023586805909872055,
-0.03122001700103283,
-0.02698553539812565,
0.01883229985833168,
0.04795365035533905,
0.05987706035375595,
-0.018674436956644058,
-0.007271050941199064,
0.00459896307438612,
-0.05185382813215256,
-0.05333961173892021,
0.06032279506325722,
-0.018999451771378517,
-0.008515394292771816,
-0.013242041692137718,
-0.0032153273932635784,
0.021878156810998917,
0.019296608865261078,
-0.010196186602115631,
-0.03265008330345154,
0.006672094576060772,
-0.007484632544219494,
-0.0437934584915638,
-0.03562165051698685,
0.007656426168978214,
-0.05081378296017647,
-0.02057809568941593,
-0.029047058895230293,
0.024998299777507782,
0.04557639732956886,
-0.006621020846068859,
0.01312132179737091,
0.03497162088751793,
-0.04761934652924538,
-0.03188861906528473,
0.002720840275287628,
0.030867144465446472,
-0.012499149888753891,
-0.058948446065187454,
0.016269324347376823,
-0.058279842138290405,
0.009053991176187992,
0.059134166687726974,
0.03900180757045746,
-0.0022716231178492308,
-0.013585628941655159,
0.007317481562495232,
0.031962908804416656,
-0.03055141493678093,
-0.05905987694859505,
-0.05244814231991768,
-0.04316199943423271,
0.026966962963342667,
-0.011264093220233917,
-0.012378429993987083,
0.01086478866636753,
0.026019776239991188,
0.12138848006725311,
0.00395357608795166,
0.009666875936090946,
0.04093332588672638,
0.013854927383363247,
0.014328520745038986,
0.015489288605749607,
0.04602213203907013,
0.01441209577023983,
-0.01602788455784321,
0.0009970997925847769,
-0.015154987573623657,
-0.01163553912192583,
0.004160192795097828,
-0.012833451852202415,
0.005297745577991009,
0.050219468772411346,
-0.04851081967353821,
-0.027598420158028603,
-0.03326296806335449,
-0.0424562506377697,
0.014792827889323235,
0.029548510909080505,
0.048176515847444534,
-0.05861414223909378,
-0.023419655859470367,
-0.04264197498559952,
0.009267572313547134,
-0.05649690330028534,
0.002106793923303485,
0.06180857494473457,
0.003935003653168678,
0.013047032989561558,
0.0746234580874443,
-0.006764956284314394,
-0.09494154155254364,
0.013957074843347073,
-0.04123048111796379,
0.007011039182543755,
0.02843417413532734,
-0.010084752924740314,
0.007331410888582468,
0.013632060028612614,
0.03133144974708557,
-0.09702163934707642,
0.00030325065017677844,
-0.008988987654447556,
-0.018312277272343636,
0.05957990139722824,
-0.02046666294336319,
0.005153810139745474,
0.035695940256118774,
-0.0033035457599908113,
0.021302415058016777,
-0.01047477126121521,
-0.023196788504719734,
0.014941406436264515,
-0.07343482971191406,
0.07109472155570984,
0.048176515847444534,
0.028118444606661797,
-0.03279866278171539,
-0.006361009087413549,
-0.060582805424928665,
0.013817782513797283,
-0.005994206294417381,
0.009657589718699455,
-0.09078134596347809,
0.03517591580748558,
-0.04409061372280121,
0.027115540578961372,
0.031740039587020874,
-0.006444584112614393,
-0.023011066019535065,
-0.0011033100308850408,
-0.004334307741373777,
-0.04884511977434158,
-0.02171100489795208,
0.05935703590512276,
-0.06886604428291321,
0.019853776320815086,
-0.03467446193099022,
-0.020058071240782738,
-0.01634361408650875,
0.013789924792945385,
-0.0014126547612249851,
0.027245547622442245,
-0.011746972799301147,
-0.02698553539812565,
-0.031944338232278824,
-0.015052840113639832,
-0.04457349330186844,
-0.04969944432377815,
-0.02171100489795208,
-0.01263844221830368,
0.008956486359238625,
-0.060954250395298004,
-0.05085092782974243,
-0.054416805505752563,
-0.003034247551113367,
0.034563031047582626,
-0.0006302970577962697,
-0.04000471159815788,
0.00387928681448102,
-0.004589676856994629,
0.030588559806346893,
0.03365298733115196,
0.012601298280060291,
-0.10237045586109161,
0.03814747929573059,
-0.04390488937497139,
-0.019259463995695114,
0.016677916049957275,
0.012424861080944538,
-0.040784746408462524,
-0.017810825258493423,
0.0314057394862175,
-0.020058071240782738,
0.07488346844911575,
-0.017374375835061073,
-0.014811400324106216,
-0.006625663954764605,
0.03255722299218178,
-0.0033476550597697496,
0.03731172904372215,
0.012211279943585396,
-0.002653515664860606,
0.01749509572982788,
-0.04654215648770332,
-0.026966962963342667,
-0.07365769892930984,
-0.022639619186520576,
-0.0012756841024383903,
0.06622878462076187,
0.08936985582113266,
0.015786444768309593,
0.004099832847714424,
-0.05582829937338829,
0.03955897316336632,
-0.0534510463476181,
0.015405713580548763,
0.10370765626430511,
0.012861309573054314,
0.018572289496660233,
-0.05545685440301895,
-0.029362788423895836,
0.016937926411628723,
0.009044704958796501,
-0.000585607485845685,
-0.0015542684122920036,
0.02124669775366783,
0.024571137502789497,
0.009114351123571396,
0.0011671523097902536,
-0.046727877110242844,
0.015052840113639832,
-0.04605927690863609,
-0.035993095487356186,
-0.023085355758666992,
-0.023586805909872055,
0.0415276363492012,
-0.01797797530889511,
-0.012517722323536873,
-0.01779225282371044,
-0.00008205178892239928,
0.015275707468390465,
-0.011941981501877308,
-0.0032524720299988985,
0.0371074341237545,
0.01427280344069004,
0.012610583566129208,
-0.03094143234193325,
0.012861309573054314,
-0.035993095487356186,
-0.007832862436771393,
-0.04832509532570839,
-0.018089409917593002,
0.0065420884639024734,
0.014932120218873024,
-0.013650632463395596,
0.04650501161813736,
-0.001851425040513277,
0.11826833337545395,
-0.022546758875250816,
-0.004629143048077822,
0.025295456871390343,
-0.029344215989112854,
-0.05671976879239082,
-0.016817206516861916,
0.023586805909872055,
0.02115383744239807,
0.01763438805937767,
-0.046950746327638626,
-0.024348270148038864,
-0.03183290362358093,
0.08201522380113602,
0.0314057394862175,
0.013418478891253471,
0.01998378336429596,
-0.028211306780576706,
-0.016798635944724083,
-0.03287295252084732,
0.009318646043539047,
-0.057908397167921066,
0.033300112932920456,
0.06370294839143753,
-0.005497397389262915,
0.021172409877181053,
0.020039498805999756,
-0.007911794818937778,
-0.020708102732896805,
-0.0016076636966317892,
0.024645427241921425,
-0.007651783060282469,
0.021543854847550392,
-0.022156739607453346,
0.040301866829395294,
-0.071651890873909,
0.04784221574664116,
0.01262915600091219,
-0.004954157862812281,
0.027171257883310318,
0.04215909540653229,
-0.026966962963342667,
-0.019389469176530838,
-0.004728969186544418,
-0.022156739607453346,
-0.062402889132499695,
0.0331515334546566,
-0.00639351038262248,
0.018516572192311287,
-0.008171807043254375,
0.010641921311616898,
-0.07324910908937454,
0.09902743995189667,
-0.05801982805132866,
0.009286144748330116,
0.04134191572666168,
-0.03504590690135956,
0.05504826456308365,
0.007851434871554375,
0.06080567464232445,
-0.01772725023329258,
-0.033597271889448166,
0.03474875167012215,
-0.051556672900915146,
0.03970755264163017,
0.07284051924943924,
0.028229879215359688,
0.05671976879239082,
-0.0031480030156672,
0.001405690098181367,
0.02421826496720314,
-0.011886265128850937,
0.015758587047457695,
0.05363677069544792,
-0.00760999508202076,
0.016260039061307907,
-0.02315964363515377,
-0.06600591540336609,
0.012536294758319855,
-0.0111526595428586,
-0.01841442473232746,
0.016650056466460228,
-0.02067095786333084,
-0.0411190465092659,
-0.01080907229334116,
-0.013009888119995594,
-0.07428915798664093,
-0.007298909593373537,
-0.011069084517657757,
0.009499725885689259,
0.03461874648928642,
0.04479635879397392,
-0.0632200688123703,
-0.0016006991500034928,
-0.0482136607170105,
-0.06113997474312782,
0.014328520745038986,
-0.003616953268647194,
0.0366988442838192,
-0.04527923837304115,
0.004838081076741219,
0.01664077118039131,
0.06567161530256271,
0.016334328800439835,
-0.05118522793054581,
0.02575976401567459,
-0.005827055778354406,
-0.06912606209516525,
-0.03796175867319107,
0.018451569601893425,
-0.02306678332388401,
0.004526995588093996,
0.05887415632605553,
-0.022899631410837173,
0.05118522793054581,
0.055011119693517685,
0.035417355597019196,
0.022175312042236328,
-0.03103429451584816,
0.00022301255376078188,
-0.06050851568579674,
0.008065016008913517,
-0.018813729286193848,
0.004461992532014847,
0.003375513479113579,
0.002061523962765932,
0.012499149888753891,
-0.06385152786970139,
0.01066049374639988,
0.00826466828584671,
-0.02861989662051201,
-0.05902273207902908,
-0.00905863381922245,
-0.0658944770693779,
-0.02509116195142269,
0.02592691406607628,
-0.029864240437746048,
0.05341390147805214,
0.03333725780248642,
0.04383059963583946,
-0.02564833126962185,
-0.022546758875250816,
0.000003432427320149145,
-0.017996547743678093,
-0.001943125738762319,
0.08728975802659988,
0.030235685408115387,
-0.05151952803134918,
0.01950090378522873,
-0.02564833126962185,
-0.05805697292089462,
0.03237149864435196,
-0.0036332039162516594,
0.01567501202225685,
0.040301866829395294,
-0.006268147379159927,
0.0384446382522583,
-0.041379060596227646,
-0.030774282291531563,
-0.043570589274168015,
0.032334353774785995,
-0.020020926371216774,
-0.021302415058016777,
0.04123048111796379,
0.012062701396644115,
-0.002204298507422209,
0.001280327094718814,
-0.016612911596894264,
0.0019291965290904045,
0.01503426767885685,
-0.007647139951586723,
0.00920721236616373,
-0.018637292087078094,
-0.016167176887392998,
-0.03807319328188896,
-0.0032153273932635784,
0.05690549314022064,
-0.03595595061779022,
-0.05857699736952782,
-0.033300112932920456,
-0.065374456346035,
0.08431819081306458,
-0.014328520745038986,
-0.02133955992758274,
0.06225431337952614,
-0.026186926290392876,
0.011347668245434761,
0.006778885144740343,
-0.01793154515326023,
0.01086478866636753,
0.04230767488479614,
0.05891130119562149,
-0.006119569297879934,
0.0278584323823452,
-0.016074316576123238,
0.12339428812265396,
-0.017002930864691734,
-0.06544874608516693,
-0.010159041732549667,
-0.025611186400055885,
-0.022899631410837173,
0.021580999717116356,
-0.004638429265469313,
-0.023382510989904404,
-0.03229720890522003,
0.05215098708868027,
-0.010121897794306278,
0.003726065391674638,
0.007972154766321182,
0.017829397693276405,
0.06091710552573204,
-0.004306449554860592,
0.022361036390066147,
-0.055382564663887024,
0.03389442712068558,
0.012387716211378574,
0.02304821088910103,
-0.028229879215359688,
0.10155327618122101,
0.023475373163819313,
-0.005260600708425045,
0.005622760392725468,
0.04208480566740036,
0.06329435855150223,
0.012573439627885818,
-0.034247301518917084,
0.0031480030156672,
-0.0016332006780430675,
0.007192118559032679,
0.04546496272087097,
-0.003900180570781231,
-0.02488686703145504,
0.02074524573981762,
0.0029042416717857122,
-0.019946638494729996,
-0.0407104566693306,
0.03630882501602173,
-0.02392110787332058,
-0.026688378304243088,
0.00022722034191247076,
-0.013669204898178577,
-0.09954746812582016,
-0.08528394997119904,
-0.05140809342265129,
0.0026604803279042244,
-0.05315389111638069,
-0.04293913021683693,
0.014105653390288353,
-0.0592084564268589,
0.058651287108659744,
0.019946638494729996,
0.026762668043375015,
-0.0017632066737860441,
0.03123858943581581,
0.005000588949769735,
0.039447542279958725,
-0.009629731997847557,
-0.0033128319773823023,
0.03082999959588051,
-0.04457349330186844,
0.004926299676299095,
0.06934892386198044,
0.009095778688788414,
-0.055493999272584915,
0.06017421558499336,
0.08602683991193771,
-0.026372650638222694,
-0.026094065979123116,
0.03092285990715027,
0.04383059963583946,
0.018934449180960655,
0.05148238316178322,
0.0004779462469741702,
-0.0875869169831276,
-0.029567083343863487,
-0.01931517943739891,
-0.000643645878881216,
0.02863846905529499,
0.016566481441259384,
-0.00021285584080033004,
-0.03298438340425491,
0.035510215908288956,
-0.030699992552399635,
-0.006946036126464605,
0.018516572192311287,
-0.021580999717116356,
-0.018470140174031258,
-0.03177718445658684,
0.0024840435944497585,
-0.032631512731313705,
0.02592691406607628,
0.050479479134082794,
0.023661095649003983,
0.008320385590195656,
0.014783541671931744,
0.0057991971261799335,
0.07083471119403839,
-0.0010847377125173807,
0.05111093819141388,
-0.005571686662733555,
-0.016520051285624504,
-0.007391770835965872,
0.00004635817458620295,
0.047322191298007965,
0.007600709330290556,
-0.07157760113477707,
0.007224620319902897,
0.04583640769124031,
0.074214868247509,
0.06853174418210983,
0.03593738004565239,
0.014421381987631321,
-0.010409767739474773,
0.016863638535141945,
-0.029864240437746048,
0.034730181097984314,
0.05393392592668533,
0.014681394211947918
] |
719,486
|
ibm_platform_services.enterprise_usage_reports_v1
|
EnterpriseUsageReportsV1
|
The Enterprise Usage Reports V1 service.
|
class EnterpriseUsageReportsV1(BaseService):
"""The Enterprise Usage Reports V1 service."""
DEFAULT_SERVICE_URL = 'https://enterprise.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'enterprise_usage_reports'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'EnterpriseUsageReportsV1':
"""
Return a new client for the Enterprise Usage Reports service using the
specified parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Enterprise Usage Reports 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# Enterprise Usage Reports
#########################
def get_resource_usage_report(
self,
*,
enterprise_id: str = None,
account_group_id: str = None,
account_id: str = None,
children: bool = None,
month: str = None,
billing_unit_id: str = None,
limit: int = None,
offset: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get usage reports for enterprise entities.
Usage reports for entities in the IBM Cloud enterprise. These entities can be the
enterprise, an account group, or an account.
:param str enterprise_id: (optional) The ID of the enterprise for which the
reports are queried. This parameter cannot be used with the `account_id` or
`account_group_id` query parameters.
:param str account_group_id: (optional) The ID of the account group for
which the reports are queried. This parameter cannot be used with the
`account_id` or `enterprise_id` query parameters.
:param str account_id: (optional) The ID of the account for which the
reports are queried. This parameter cannot be used with the
`account_group_id` or `enterprise_id` query parameters.
:param bool children: (optional) Returns the reports for the immediate
child entities under the current account group or enterprise. This
parameter cannot be used with the `account_id` query parameter.
:param str month: (optional) The billing month for which the usage report
is requested. The format is in yyyy-mm. Defaults to the month in which the
report is queried.
:param str billing_unit_id: (optional) The ID of the billing unit by which
to filter the reports.
:param int limit: (optional) The maximum number of search results to be
returned.
:param str offset: (optional) An opaque value representing the offset of
the first item to be returned by a search query. If not specified, then the
first page of results is returned. To retrieve the next page of search
results, use the 'offset' query parameter value within the 'next.href' URL
found within a prior search query response.
: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 representing a `Reports` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_resource_usage_report'
)
headers.update(sdk_headers)
params = {
'enterprise_id': enterprise_id,
'account_group_id': account_group_id,
'account_id': account_id,
'children': children,
'month': month,
'billing_unit_id': billing_unit_id,
'limit': limit,
'offset': offset,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/resource-usage-reports'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
0.0076714432798326015,
-0.10210691392421722,
-0.025526728481054306,
-0.009905751794576645,
-0.017001837491989136,
-0.011689362116158009,
-0.026197979226708412,
-0.016877176240086555,
-0.05254938825964928,
-0.044225871562957764,
0.003339475253596902,
-0.014556564390659332,
0.012293487787246704,
-0.03122277557849884,
-0.010366038419306278,
0.025488371029496193,
0.009268062189221382,
-0.027559660375118256,
0.06052768975496292,
-0.03371599316596985,
-0.0038812709972262383,
0.030321380123496056,
0.027521302923560143,
0.04694923385977745,
0.02355133183300495,
0.053469959646463394,
0.04729444906115532,
-0.02305268682539463,
0.04307515546679497,
0.0001241365389432758,
-0.04948081076145172,
0.02027178928256035,
-0.05166717246174812,
0.055272750556468964,
-0.013252418488264084,
-0.005758377257734537,
0.016771692782640457,
0.006798816844820976,
-0.1252746731042862,
0.08914217352867126,
-0.013386668637394905,
-0.004298405721783638,
0.10394805669784546,
-0.03900929167866707,
-0.0012621921487152576,
-0.0013832570984959602,
-0.027425410225987434,
0.004305597860366106,
0.02857612632215023,
0.0005286104278638959,
0.025488371029496193,
0.015237404964864254,
-0.0248554777354002,
0.012811310589313507,
-0.008673525415360928,
0.005015206057578325,
-0.007791309617459774,
0.002064097672700882,
-0.014067509211599827,
0.00376619934104383,
-0.04514644294977188,
0.026255514472723007,
0.01860325038433075,
-0.0362667478621006,
-0.047946520149707794,
-0.012264720164239407,
-0.03383106738328934,
0.019485466182231903,
-0.008601605892181396,
0.04886709526181221,
0.036784570664167404,
0.017673088237643242,
0.005067947320640087,
0.013290775939822197,
0.06850598752498627,
-0.015899065881967545,
0.0322008840739727,
-0.017951177433133125,
-0.03695717826485634,
-0.042308010160923004,
0.014431903138756752,
-0.002651442540809512,
0.03530781716108322,
-0.024951370432972908,
0.06762377172708511,
0.048905450850725174,
0.04921231046319008,
0.0025747281033545732,
-0.0088317496702075,
0.03615167737007141,
-0.0061035919934511185,
0.030954275280237198,
-0.007800898980349302,
0.030110415071249008,
0.03966136276721954,
-0.05895504355430603,
-0.05926189944148064,
0.0006245034164749086,
-0.06942656636238098,
0.02029096707701683,
-0.01230307761579752,
-0.056001536548137665,
-0.015170279890298843,
0.028288448229432106,
0.002888777991756797,
-0.04296008497476578,
-0.014441492035984993,
0.004061070270836353,
0.05868654325604439,
0.03989150747656822,
-0.03204745426774025,
0.03149127587676048,
0.004425463732331991,
-0.05584810674190521,
-0.012235952541232109,
0.07268692553043365,
-0.015755226835608482,
-0.0013185293646529317,
0.005998109932988882,
-0.022860901430249214,
-0.019715609028935432,
-0.02280336618423462,
0.04154086485505104,
-0.015323708765208721,
-0.003339475253596902,
-0.006535110995173454,
-0.026850052177906036,
0.017366230487823486,
0.034291353076696396,
0.009632456116378307,
0.03014877252280712,
-0.023014331236481667,
0.00954135786741972,
0.030532345175743103,
0.07970629632472992,
-0.005456313956528902,
0.007800898980349302,
0.024280117824673653,
-0.04913559556007385,
0.05738239735364914,
0.031989920884370804,
0.029247378930449486,
-0.045683447271585464,
0.0020233432296663523,
-0.01800871267914772,
0.03831886127591133,
0.025392478331923485,
0.02424176223576069,
-0.10003562271595001,
-0.051437027752399445,
-0.04549165815114975,
-0.06747034192085266,
-0.014757939614355564,
-0.04407244175672531,
-0.011085235513746738,
0.003759007202461362,
0.003186046378687024,
-0.010250966064631939,
0.023110223934054375,
-0.01583194173872471,
-0.01967725157737732,
0.006261815782636404,
0.016771692782640457,
-0.02255404368042946,
-0.048943810164928436,
0.007422121707350016,
-0.10187676548957825,
-0.0408504381775856,
-0.05316310375928879,
-0.006338530220091343,
-0.033083099871873856,
0.0210005771368742,
-0.04008329287171364,
-0.019543001428246498,
-0.04610537365078926,
0.01098934281617403,
0.07287871092557907,
-0.0193320382386446,
-0.02123071998357773,
0.050363026559352875,
0.0013472972204908729,
-0.040773723274469376,
-0.05059317126870155,
-0.010164662264287472,
-0.037992823868989944,
-0.025910301133990288,
0.0187087319791317,
0.007441299967467785,
0.014911368489265442,
0.008850927464663982,
0.009848215617239475,
0.053508318960666656,
0.059722188860177994,
0.03542289137840271,
-0.01645524613559246,
-0.05987561494112015,
0.017682677134871483,
-0.008371463045477867,
-0.03513520956039429,
0.027559660375118256,
-0.037858571857213974,
0.09742733091115952,
0.03592153266072273,
0.0058302972465753555,
0.004065865185111761,
-0.009311214089393616,
0.024165047332644463,
-0.04249979555606842,
-0.09527932852506638,
0.021038934588432312,
-0.03444478288292885,
0.01874708943068981,
-0.03851064667105675,
0.0004084444371983409,
-0.02195950783789158,
0.07345407456159592,
0.07176635414361954,
0.007700211368501186,
-0.011257843114435673,
-0.010250966064631939,
0.019303269684314728,
-0.04802323505282402,
-0.007225540932267904,
-0.042921725660562515,
-0.049173951148986816,
0.013789420016109943,
0.047524593770504,
-0.004209704697132111,
-0.006837173830717802,
-0.05488917976617813,
0.010529056191444397,
0.008735856041312218,
0.07644593715667725,
0.03490506857633591,
-0.05976054444909096,
-0.02905559167265892,
0.007211156655102968,
-0.003413792233914137,
-0.0055761802941560745,
0.0255842637270689,
0.01542919036000967,
0.028403518721461296,
0.032968029379844666,
0.03722567856311798,
-0.07115263491868973,
-0.03183649107813835,
-0.017951177433133125,
0.054083675146102905,
0.028959698975086212,
-0.034042030572891235,
0.015151101164519787,
-0.06965670734643936,
0.00989616196602583,
-0.018775857985019684,
-0.017931999638676643,
-0.07594729214906693,
-0.04729444906115532,
-0.028403518721461296,
0.04932738095521927,
-0.02234307862818241,
-0.021556755527853966,
-0.03597906976938248,
-0.03820378705859184,
0.026485659182071686,
-0.019389573484659195,
0.024165047332644463,
0.004900134634226561,
0.0010224595898762345,
0.03791610896587372,
0.02690758742392063,
0.06697170436382294,
0.044225871562957764,
0.03467492386698723,
-0.010912627913057804,
-0.004188128747045994,
0.012581167742609978,
0.03962300717830658,
-0.054697390645742416,
-0.07349243015050888,
0.010692073963582516,
-0.014345599338412285,
-0.03816543146967888,
0.05197402834892273,
0.03730239346623421,
0.05488917976617813,
-0.043382011353969574,
0.016282638534903526,
0.018401874229311943,
-0.02451026253402233,
0.002756925066933036,
0.004677182994782925,
0.02594865672290325,
-0.031644705682992935,
-0.06179347634315491,
-0.046527303755283356,
0.04733280465006828,
-0.026332229375839233,
-0.037781860679388046,
0.02761719562113285,
0.013856545090675354,
-0.04510808736085892,
0.020674539729952812,
0.04848352447152138,
-0.020329324528574944,
-0.024951370432972908,
-0.05584810674190521,
0.0515904575586319,
-0.03822296857833862,
0.032469384372234344,
-0.02054028958082199,
-0.010433163493871689,
0.04058193415403366,
0.009368750266730785,
-0.04622044786810875,
-0.05320145934820175,
-0.005283706821501255,
-0.008759829215705395,
0.0206361822783947,
0.04334365576505661,
0.054697390645742416,
-0.03185566887259483,
0.0673169195652008,
-0.0164648350328207,
-0.05627003684639931,
0.04871366545557976,
0.02880627103149891,
0.0015043221646919847,
0.06436341255903244,
0.04019836336374283,
-0.01571686938405037,
-0.024817120283842087,
-0.050861671566963196,
0.0055282339453697205,
-0.01981150358915329,
-0.005892627406865358,
-0.09466560930013657,
-0.0006724499398842454,
-0.0725334957242012,
-0.025181513279676437,
0.017270337790250778,
0.0001670636556809768,
-0.03622839227318764,
-0.034272175282239914,
0.011651004664599895,
-0.011161950416862965,
-0.02460615523159504,
0.06229212135076523,
-0.051552098244428635,
-0.016407299786806107,
-0.007316639181226492,
0.0037781859282404184,
0.024471905082464218,
0.023436259478330612,
0.0761774331331253,
0.03601742535829544,
-0.03768596425652504,
-0.02403079718351364,
0.006444012280553579,
-0.014307241886854172,
-0.024529440328478813,
-0.04296008497476578,
0.030666595324873924,
-0.023493794724345207,
0.014920957386493683,
-0.03498178347945213,
-0.07495000213384628,
0.02414586767554283,
-0.0018687156261876225,
0.04982602596282959,
-0.02111564762890339,
-0.02807748317718506,
-0.02581440657377243,
-0.004859379958361387,
0.04403408616781235,
-0.006899504456669092,
0.03484753146767616,
-0.05147538706660271,
0.009531768038868904,
-0.07893915474414825,
0.017097730189561844,
-0.006607030518352985,
0.017711445689201355,
-0.055656321346759796,
0.03383106738328934,
0.06187019124627113,
-0.05488917976617813,
0.013856545090675354,
-0.035461246967315674,
-0.016589496284723282,
0.005494671408087015,
0.030532345175743103,
-0.01886216178536415,
-0.028729556128382683,
0.037168145179748535,
-0.009368750266730785,
-0.04717937856912613,
-0.02966930717229843,
0.017912819981575012,
-0.010883860290050507,
-0.047256093472242355,
0.005413162522017956,
0.003106934716925025,
0.062023621052503586,
0.010366038419306278,
-0.016608675941824913,
-0.04092714935541153,
0.05907011404633522,
-0.09075317531824112,
-0.013472972437739372,
0.07644593715667725,
-0.011612647213041782,
-0.037168145179748535,
-0.047486234456300735,
-0.015179868787527084,
-0.051935672760009766,
0.021403327584266663,
-0.0032747474033385515,
0.04288337007164955,
0.053239818662405014,
0.018037481233477592,
-0.004132990259677172,
-0.03256527706980705,
0.03323652967810631,
0.0073118447326123714,
0.008918053470551968,
-0.043151870369911194,
-0.044724516570568085,
0.0027161703910678625,
-0.010538645088672638,
0.007412532344460487,
0.05722896754741669,
0.03628592938184738,
-0.035710569471120834,
-0.04871366545557976,
0.0023961274418979883,
0.03108852542936802,
-0.02533494122326374,
-0.02531576342880726,
-0.00328673399053514,
-0.009148196317255497,
-0.01656072773039341,
-0.0326228141784668,
0.03603660687804222,
-0.007364585530012846,
-0.022630758583545685,
-0.02880627103149891,
-0.07353078573942184,
-0.04380394145846367,
0.014201759360730648,
-0.023992439731955528,
0.03120359592139721,
-0.009411902166903019,
0.009622867219150066,
-0.02435683272778988,
-0.029496699571609497,
-0.0869174525141716,
0.04019836336374283,
0.010250966064631939,
0.036439355462789536,
0.03012959472835064,
0.01477711834013462,
-0.007781720254570246,
-0.026102086529135704,
0.001063214149326086,
-0.011161950416862965,
-0.006683744955807924,
0.01754842698574066,
0.01956218108534813,
-0.001958615379408002,
0.003660716814920306,
0.011037289164960384,
0.031989920884370804,
0.012868846766650677,
0.02738705277442932,
-0.01920737698674202,
0.005681662820279598,
-0.009992054663598537,
0.00169490952976048,
-0.042806655168533325,
-0.000979906995780766,
0.04763966426253319,
0.01506479736417532,
0.05139867216348648,
-0.01958135887980461,
0.0002690998662728816,
-0.04119564965367317,
0.07893915474414825,
-0.018056660890579224,
-0.05028631165623665,
-0.01037562731653452,
-0.01717444323003292,
0.01597578078508377,
-0.01343461498618126,
0.04257651045918465,
-0.021307434886693954,
-0.01237020269036293,
0.05619332194328308,
0.0011848784051835537,
0.020137539133429527,
0.03183649107813835,
0.0523192435503006,
-0.06904298812150955,
0.0515904575586319,
-0.019485466182231903,
0.0165703184902668,
0.013070221990346909,
-0.006036466918885708,
0.025373298674821854,
0.02280336618423462,
0.006209074519574642,
-0.036324284970760345,
0.034387245774269104,
0.006338530220091343,
0.002140812110155821,
-0.01863201893866062,
0.05634675174951553,
-0.03760925307869911,
0.013837366364896297,
0.012926382012665272,
0.0051638404838740826,
-0.004228883422911167,
0.043305300176143646,
-0.01946628838777542,
0.004849790595471859,
-0.004494986496865749,
-0.017107319086790085,
-0.014662045985460281,
-0.0420011542737484,
-0.02460615523159504,
0.007858434692025185,
-0.015323708765208721,
0.0036727036349475384,
-0.035000961273908615,
-0.06988684833049774,
0.010577002540230751,
-0.0029606977477669716,
-0.07679115235805511,
-0.05680703744292259,
0.011459218338131905,
-0.0102126095443964,
0.02976519986987114,
0.025622621178627014,
-0.038855861872434616,
-0.06938820332288742,
-0.04096550866961479,
-0.044110801070928574,
0.017490891739726067,
0.014671635814011097,
0.06321269273757935,
-0.04046686366200447,
0.07552535831928253,
-0.02270747348666191,
0.049864381551742554,
0.02832680568099022,
0.021940328180789948,
0.08638045191764832,
0.002749732928350568,
-0.004219294060021639,
0.006458396557718515,
0.010001644492149353,
-0.017490891739726067,
0.03663114085793495,
-0.02798159047961235,
0.022112935781478882,
-0.011382504366338253,
0.0244910828769207,
0.061179760843515396,
0.05258774384856224,
-0.046297162771224976,
-0.030915917828679085,
-0.01751006953418255,
-0.02015671692788601,
-0.046642377972602844,
0.02017589658498764,
-0.02113482728600502,
0.019485466182231903,
0.021806078031659126,
-0.024644512683153152,
0.03377353027462959,
0.048560235649347305,
0.007024165242910385,
0.014029152691364288,
-0.017442945390939713,
-0.07541029155254364,
0.007067317143082619,
0.06666484475135803,
0.025545906275510788,
-0.028729556128382683,
0.0244910828769207,
0.029688486829400063,
-0.03722567856311798,
-0.07448971271514893,
-0.0008522494463250041,
-0.029324091970920563,
-0.021058112382888794,
0.13010768592357635,
-0.01846900023519993,
-0.04848352447152138,
0.029611771926283836,
0.015467547811567783,
-0.04691087827086449,
0.08592016994953156,
0.004432655870914459,
-0.00919134821742773,
0.06770049035549164,
0.03256527706980705,
-0.011794844642281532,
-0.03411874547600746,
-0.050938382744789124,
0.024049974977970123,
-0.019360804930329323,
-0.003924422897398472,
0.030954275280237198,
0.03461739048361778,
0.026945944875478745,
-0.03172141686081886,
-0.031510453671216965,
0.0043175844475626945,
0.01481547486037016,
-0.0065447003580629826,
-0.0036247570533305407,
0.05891668424010277,
-0.015496315434575081,
0.02533494122326374,
-0.050976742058992386,
0.054697390645742416,
0.022975973784923553,
-0.035499606281518936,
-0.018660785630345345,
0.023340366780757904,
-0.029477521777153015,
0.039086002856492996,
-0.003687087446451187,
0.024165047332644463,
0.051321957260370255,
-0.01656072773039341,
0.03012959472835064,
0.008975588716566563,
0.02303350903093815,
0.008246801793575287,
0.024702047929167747,
0.037148963660001755,
-0.005676868371665478,
0.021173184737563133,
-0.02581440657377243,
0.043650511652231216,
-0.055426180362701416,
-0.05761254206299782,
0.040390148758888245,
0.02617880143225193,
-0.04430258646607399,
0.015994960442185402,
-0.002445272635668516,
-0.0024836298543959856,
-0.031874846667051315,
0.06455519795417786,
-0.05381517484784126,
0.014700403437018394,
0.02341708168387413,
-0.009450259618461132,
-0.02497054822742939,
0.00725910346955061,
0.036420177668333054,
-0.037033893167972565,
-0.01909230463206768,
-0.028480233624577522,
0.0333516001701355,
-0.027463767677545547,
0.04238472506403923,
0.0408504381775856,
0.055157680064439774,
0.006257020868360996,
0.03734075278043747,
0.014307241886854172,
-0.013377079740166664,
0.02508562058210373,
0.013482562266290188,
-0.008275569416582584,
0.004880955908447504,
0.017347050830721855,
-0.005370010621845722,
0.011852379888296127,
-0.04702594876289368,
0.08369544893503189,
-0.026715802028775215,
-0.004219294060021639,
0.033332422375679016,
-0.03734075278043747,
-0.06179347634315491,
-0.033926960080862045,
0.00989616196602583,
-0.05918518453836441,
0.013463383540511131,
-0.015448369085788727,
-0.0018231665017083287,
0.028537768870592117,
-0.03505849838256836,
-0.07962958514690399,
-0.009944108314812183,
0.008304337970912457,
0.03423381596803665,
-0.04380394145846367,
0.03962300717830658,
0.10364120453596115,
0.01587029919028282,
0.05358503386378288,
0.005533028393983841,
-0.03782021626830101,
0.038855861872434616,
0.008007069118320942,
0.03973807767033577,
0.07663772255182266,
0.06467026472091675,
-0.034751638770103455,
0.0019777941051870584,
0.010135894641280174,
-0.059990689158439636,
0.017979945987462997,
-0.021345792338252068,
0.02328283153474331,
0.013770241290330887,
0.0030110415536910295,
0.03592153266072273,
-0.03444478288292885,
-0.022285543382167816,
0.040390148758888245,
0.0051254830323159695,
0.039929863065481186,
0.013578454963862896,
0.02844187617301941,
-0.03145291656255722,
0.005720019806176424,
-0.0489821657538414,
0.007518014404922724,
0.035231102257966995,
-0.06048933044075966,
-0.007757747080177069,
0.020712897181510925,
0.024702047929167747,
0.007863229140639305,
0.0005322063807398081,
0.025871943682432175,
-0.03973807767033577,
0.020195074379444122,
-0.05623168125748634,
0.025411656126379967,
0.05208910256624222,
0.033907778561115265,
0.024184225127100945,
-0.05362338945269585,
0.009148196317255497,
-0.039929863065481186,
-0.024280117824673653,
0.09075317531824112,
-0.027540482580661774,
-0.017922408878803253,
0.013300364837050438,
0.014997672289609909,
0.03214334696531296,
0.0016505590174347162,
0.028518591076135635,
0.0030470015481114388,
0.01056741364300251,
0.012964739464223385,
-0.006583057343959808,
0.05496589094400406,
0.02291843667626381,
-0.002999054966494441
] |
719,487
|
ibm_platform_services.enterprise_usage_reports_v1
|
__init__
|
Construct a new client for the Enterprise Usage Reports 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 authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Enterprise Usage Reports 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.026972472667694092,
-0.09464025497436523,
0.010728929191827774,
-0.011748131364583969,
-0.013067635707557201,
-0.031103884801268578,
-0.017408346757292747,
0.015934143215417862,
-0.03428889438509941,
-0.021749058738350868,
-0.0037082601338624954,
0.016534743830561638,
-0.04320691525936127,
-0.01660754531621933,
-0.016926046460866928,
0.0332878902554512,
-0.00979162659496069,
-0.012339632958173752,
0.009636926464736462,
-0.07483860105276108,
0.008039872162044048,
0.01018292736262083,
0.0033806590363383293,
0.04597332328557968,
0.02224045991897583,
0.06726738065481186,
0.0019894929137080908,
-0.020147453993558884,
0.017954349517822266,
-0.020839056000113487,
-0.021639859303832054,
-0.007457470055669546,
-0.04622812569141388,
0.061625365167856216,
0.03800170123577118,
-0.022713661193847656,
0.010719829238951206,
0.01070162933319807,
-0.08554023504257202,
0.0511421374976635,
-0.0018848426407203078,
-0.012958435341715813,
0.09311145544052124,
-0.02431526593863964,
0.00607881648465991,
0.03570849820971489,
0.012112133204936981,
-0.002973433118313551,
0.03183188661932945,
-0.013522636145353317,
-0.0501229353249073,
0.01722634583711624,
0.010055527091026306,
0.012376033701002598,
-0.04600972309708595,
0.0361998975276947,
0.03317869082093239,
0.0015879543498158455,
-0.07338260114192963,
0.04444452002644539,
-0.08008021861314774,
-0.019892653450369835,
0.018673250451683998,
-0.0278460755944252,
-0.025207068771123886,
0.0028187325224280357,
-0.044917721301317215,
0.015743043273687363,
0.012166732922196388,
0.01761764846742153,
0.07167179137468338,
0.013559036888182163,
-0.029647881165146828,
-0.008453923277556896,
0.06843218207359314,
-0.015515541657805443,
-0.01648014411330223,
0.011311330832540989,
-0.030903683975338936,
-0.02689967304468155,
0.00831742212176323,
-0.0018996301805600524,
0.004600062500685453,
0.0387297049164772,
0.061916567385196686,
0.019273852929472923,
0.029775280505418777,
-0.0222768597304821,
-0.0071935695596039295,
0.08612263202667236,
-0.01382293738424778,
-0.008863423950970173,
-0.011830031871795654,
0.0021066556219011545,
0.009464025497436523,
-0.04065890982747078,
-0.021148458123207092,
-0.011238530278205872,
-0.013213235884904861,
0.030066480860114098,
0.012594434432685375,
-0.03412509337067604,
-0.0009304775157943368,
0.011620731092989445,
-0.008399322628974915,
-0.03388849273324013,
-0.004550012294203043,
-0.016844145953655243,
0.058385759592056274,
0.03887530416250229,
0.03297848999500275,
0.015752142295241356,
-0.014751140028238297,
-0.0009082962060347199,
-0.025807669386267662,
0.056638553738594055,
0.051032938063144684,
-0.0036741348449140787,
0.05561935156583786,
0.01638004370033741,
-0.025334468111395836,
-0.036181699484586716,
-0.005441814661026001,
0.015424542129039764,
0.01770864799618721,
-0.016680344939231873,
-0.014660139568150043,
0.012348733842372894,
-0.0011466031428426504,
0.0003392602957319468,
0.06450097262859344,
-0.04622812569141388,
0.028537677600979805,
0.0033419840037822723,
0.05267094075679779,
-0.002868782728910446,
0.0416417121887207,
0.03800170123577118,
-0.04186011478304863,
0.08939864486455917,
0.0028574077878147364,
0.03541729599237442,
-0.055983349680900574,
0.023023061454296112,
-0.007134419400244951,
0.050814539194107056,
-0.03412509337067604,
0.009418525733053684,
-0.04124131053686142,
-0.011939232237637043,
-0.0448085218667984,
-0.03927570581436157,
-0.007871521636843681,
-0.01825464889407158,
-0.0058194659650325775,
0.00872237328439951,
0.0019428553059697151,
-0.05525534972548485,
0.027154473587870598,
-0.02198565937578678,
-0.004995913710445166,
-0.01854585111141205,
0.05525534972548485,
-0.04586412385106087,
-0.03257808834314346,
0.0060424162074923515,
-0.08816103637218475,
-0.035690296441316605,
-0.0472109280526638,
-0.009382124990224838,
-0.05187014117836952,
-0.04247891530394554,
-0.08248262107372284,
-0.047538530081510544,
0.024424465373158455,
0.0030871834605932236,
0.08335622400045395,
0.019546853378415108,
-0.019237451255321503,
0.047866128385066986,
0.009809826500713825,
0.004727462772279978,
-0.04058611020445824,
-0.008708723820745945,
0.001986080314964056,
-0.02036585472524166,
0.06308136880397797,
0.008745123632252216,
0.029029078781604767,
-0.003428434254601598,
0.003799260361120105,
0.04389851912856102,
0.00772137101739645,
0.044662922620773315,
-0.00005659077942254953,
-0.04309771582484245,
0.02344166301190853,
-0.020402254536747932,
-0.05376294627785683,
0.048412129282951355,
-0.03039408288896084,
0.09966346621513367,
0.00958232581615448,
-0.001296753529459238,
0.05478214845061302,
0.012439733371138573,
0.02447906695306301,
-0.05623815208673477,
-0.078988216817379,
-0.011311330832540989,
-0.017717747017741203,
-0.023332463577389717,
-0.014205138199031353,
0.005355364643037319,
-0.04972253367304802,
0.07447460293769836,
0.06737658381462097,
0.008390222676098347,
-0.012740034610033035,
0.0363272987306118,
0.05649295449256897,
0.009118224494159222,
0.03117668442428112,
-0.07061619311571121,
-0.007921571843326092,
0.024005865678191185,
0.020147453993558884,
-0.03013928234577179,
-0.033033087849617004,
-0.051979340612888336,
-0.0071981195360422134,
0.03942130506038666,
0.01787244901061058,
0.052852943539619446,
-0.020056454464793205,
-0.05583775043487549,
-0.010010027326643467,
-0.012794634327292442,
-0.06803178042173386,
0.02851947769522667,
0.030485082417726517,
0.06333617120981216,
0.028537677600979805,
0.04178731143474579,
-0.06581138074398041,
-0.021221257746219635,
-0.03084908425807953,
0.034780293703079224,
0.025680270045995712,
0.0020998306572437286,
-0.016880545765161514,
-0.04910373315215111,
-0.01677134446799755,
-0.03516249358654022,
-0.0029256579000502825,
-0.03401589021086693,
-0.07138059288263321,
-0.009527726098895073,
0.05216133967041969,
-0.01134773064404726,
-0.01599784381687641,
0.00047718253335915506,
-0.02981168031692505,
0.03913010656833649,
0.0033465339802205563,
0.011001929640769958,
0.019856253638863564,
-0.008103571832180023,
0.0808810219168663,
0.014041338115930557,
0.13249635696411133,
0.03749210014939308,
0.040003709495067596,
-0.0008485772996209562,
-0.016325443983078003,
-0.03650929778814316,
0.025716669857501984,
-0.03305128961801529,
-0.05510975047945976,
0.03212308511137962,
0.006420067511498928,
0.008554022759199142,
0.046373724937438965,
0.06428257375955582,
0.00017887236026581377,
-0.02855587750673294,
0.008554022759199142,
-0.012066632509231567,
-0.029538679867982864,
-0.01105653028935194,
0.02369646355509758,
0.0508873388171196,
0.018245549872517586,
-0.04742932692170143,
-0.018636850640177727,
-0.00016763951862230897,
-0.004181461408734322,
-0.04408051818609238,
0.006570217665284872,
-0.02211306057870388,
-0.011966532096266747,
0.017690448090434074,
0.015005940571427345,
0.003690059995278716,
-0.010410428047180176,
-0.0477205291390419,
0.011274930089712143,
0.01660754531621933,
0.0047456626780331135,
-0.008139971643686295,
-0.0009054524707607925,
0.04284291714429855,
-0.02622627094388008,
-0.028756078332662582,
-0.012212232686579227,
0.048994533717632294,
0.004286111798137426,
-0.04939493536949158,
0.029775280505418777,
0.04513612389564514,
-0.04222411289811134,
0.05532814934849739,
-0.009800726547837257,
-0.06581138074398041,
-0.02498866803944111,
-0.002017930382862687,
0.005628365091979504,
0.07425620406866074,
-0.0005570921348407865,
-0.009655126370489597,
-0.0448085218667984,
-0.020274855196475983,
0.01165713183581829,
-0.015979643911123276,
-0.04560932517051697,
-0.09027224779129028,
0.012339632958173752,
-0.07862421125173569,
-0.04964973405003548,
-0.012594434432685375,
0.013668237254023552,
-0.04939493536949158,
-0.03650929778814316,
0.027463873848319054,
-0.021421458572149277,
-0.016980646178126335,
0.014541839249432087,
-0.09143704921007156,
0.021275857463479042,
-0.062207769602537155,
-0.007480220403522253,
0.05292574316263199,
0.011447831057012081,
0.058676958084106445,
0.028537677600979805,
0.011757232248783112,
-0.02515246719121933,
0.000051365372200962156,
-0.017371946945786476,
-0.03865690529346466,
-0.029611479490995407,
0.026863273233175278,
-0.005541915073990822,
0.0198744535446167,
-0.07145339250564575,
-0.047574929893016815,
0.035308096557855606,
-0.006069716531783342,
0.06828658282756805,
0.021548857912421227,
-0.009140974842011929,
-0.06970618665218353,
0.014523639343678951,
0.046992525458335876,
-0.010920029133558273,
0.020402254536747932,
-0.044007718563079834,
-0.004527262412011623,
-0.07349179685115814,
0.001706254668533802,
-0.02382386475801468,
0.05536454916000366,
-0.030612483620643616,
0.04338891804218292,
0.03650929778814316,
-0.04884893074631691,
-0.0016277668764814734,
0.018409349024295807,
0.016562044620513916,
0.04568212479352951,
-0.010647028684616089,
-0.04411691799759865,
-0.011866431683301926,
0.0066930679604411125,
0.007739570923149586,
-0.04280651733279228,
-0.04910373315215111,
0.0008838399080559611,
-0.00979162659496069,
-0.024915866553783417,
0.03212308511137962,
-0.004236061591655016,
0.1036674827337265,
0.005974166095256805,
-0.02489766664803028,
-0.005309864412993193,
0.03308768942952156,
-0.09478585422039032,
0.03565389662981033,
0.006683968007564545,
-0.006415517535060644,
-0.010128327645361423,
-0.02618987113237381,
-0.007166269235312939,
-0.03767410293221474,
0.01741744764149189,
-0.05976896360516548,
0.011029229499399662,
0.03807450458407402,
-0.002639007056131959,
0.000006944989308976801,
-0.011593431234359741,
0.0056374650448560715,
0.021002857014536858,
-0.002244293689727783,
0.004274736624211073,
-0.03179548680782318,
0.012321433052420616,
0.010201127268373966,
-0.049904536455869675,
0.026208071038126945,
0.05125133693218231,
0.020438656210899353,
-0.05882255733013153,
-0.013686437159776688,
0.04852133244276047,
-0.05882255733013153,
-0.039057306945323944,
-0.004374837037175894,
-0.02256806194782257,
-0.04764772951602936,
-0.07138059288263321,
0.00519611407071352,
-0.02884707786142826,
0.004709262866526842,
-0.031486086547374725,
-0.08401142805814743,
0.003662759903818369,
0.05314414203166962,
-0.01648014411330223,
0.056310951709747314,
-0.05241614207625389,
0.012275933288037777,
-0.01244883332401514,
-0.043425317853689194,
-0.07563940435647964,
0.03030308149755001,
0.027463873848319054,
0.03467109426856041,
0.012093932367861271,
-0.004115486051887274,
-0.03528989478945732,
0.002461556578055024,
-0.04477212205529213,
0.009837126359343529,
0.013104035519063473,
0.011893732473254204,
0.021312257274985313,
-0.007876071147620678,
-0.0006904643960297108,
0.00197925535030663,
0.021257657557725906,
0.02668127231299877,
0.04451731964945793,
-0.0011073591886088252,
0.03159528598189354,
0.018345650285482407,
-0.02094825729727745,
-0.06242616847157478,
0.015015040524303913,
0.02564387023448944,
0.01241243351250887,
0.01907365210354328,
0.01099282968789339,
-0.02826467715203762,
-0.006247167009860277,
0.021093856543302536,
-0.04560932517051697,
0.00540541484951973,
-0.0210756566375494,
0.009982727468013763,
0.08641383051872253,
-0.021803658455610275,
0.03505329415202141,
0.0794978141784668,
0.017526647076010704,
0.07094379514455795,
0.018855251371860504,
0.015433642081916332,
0.058094557374715805,
0.027736874297261238,
-0.05940496176481247,
0.04353451728820801,
-0.038802504539489746,
0.05059613659977913,
-0.011001929640769958,
-0.07094379514455795,
0.015124240890145302,
0.025716669857501984,
0.01332243625074625,
0.027081673964858055,
0.005660215392708778,
-0.00791247095912695,
-0.02331426367163658,
-0.01579764299094677,
0.01417783834040165,
-0.06064256280660629,
-0.02851947769522667,
-0.030812682583928108,
-0.00476841302588582,
-0.007844220846891403,
0.025916870683431625,
-0.03243248909711838,
0.008881623856723309,
-0.003109933342784643,
-0.03832930326461792,
-0.008190021850168705,
-0.022877462208271027,
-0.00005005013372283429,
0.0014105038717389107,
-0.010110127739608288,
-0.00031707898597233,
-0.04014930874109268,
-0.0450633205473423,
0.004058611113578081,
0.017881548032164574,
-0.10599708557128906,
-0.05026853457093239,
0.03599969670176506,
-0.04626452550292015,
0.025716669857501984,
0.030576081946492195,
-0.03345169126987457,
-0.042915716767311096,
-0.005464565008878708,
-0.029174678027629852,
-0.04408051818609238,
-0.0038811604026705027,
0.012685433961451054,
-0.02356906421482563,
0.07218139618635178,
-0.013286035507917404,
0.021439658477902412,
0.004329336807131767,
-0.020839056000113487,
0.06602977961301804,
0.03492589294910431,
-0.028992678970098495,
0.020693456754088402,
0.016625745221972466,
-0.0034671092871576548,
0.020966457203030586,
-0.05121493712067604,
0.02327786386013031,
0.03459829464554787,
0.005469114985316992,
0.05150613933801651,
-0.00636091735213995,
-0.06752218306064606,
-0.00191783020272851,
-0.023751065135002136,
-0.03800170123577118,
-0.02094825729727745,
0.07964341342449188,
-0.07301859557628632,
0.038802504539489746,
0.021221257746219635,
-0.004877613391727209,
0.04357091709971428,
-0.007812371011823416,
0.0018859801348298788,
0.004647837486118078,
-0.03953050822019577,
-0.0803714171051979,
-0.002123718149960041,
0.04615532606840134,
-0.008449372835457325,
-0.04528172314167023,
-0.012221332639455795,
0.0007752083474770188,
-0.03752849996089935,
-0.08590423315763474,
-0.0046728625893592834,
-0.02052965573966503,
-0.05434534698724747,
0.0646829754114151,
-0.0008343585068359971,
-0.040840908885002136,
0.05747575685381889,
0.03163168579339981,
-0.039312105625867844,
0.08612263202667236,
0.002431981498375535,
0.01417783834040165,
0.06522897630929947,
-0.0014241538010537624,
-0.04590052366256714,
-0.009737025946378708,
-0.053398944437503815,
0.024879466742277145,
-0.010929130017757416,
0.030940083786845207,
0.008858873508870602,
0.011593431234359741,
0.017763247713446617,
-0.0014742040075361729,
-0.01081082969903946,
0.011638931930065155,
0.005792165640741587,
0.03013928234577179,
0.0169624462723732,
0.03803810477256775,
-0.004076811019331217,
0.03325149044394493,
-0.05904095992445946,
0.014241538941860199,
0.03781970217823982,
-0.038438502699136734,
-0.003460284322500229,
-0.002736832480877638,
-0.02489766664803028,
0.023168662562966347,
-0.022258659824728966,
0.007148069329559803,
0.0615161657333374,
0.011174830608069897,
0.04804813116788864,
0.009555025957524776,
0.054054144769907,
0.0113932304084301,
0.0047411127015948296,
0.009991827420890331,
0.030485082417726517,
0.01003732718527317,
-0.010783528909087181,
0.04389851912856102,
-0.06428257375955582,
-0.04648292437195778,
0.02427886612713337,
0.031522486358881,
-0.017553947865962982,
0.019856253638863564,
0.008681423030793667,
-0.007775971200317144,
-0.03292388841509819,
0.0013752412050962448,
-0.042005714029073715,
0.05154253914952278,
0.027445673942565918,
-0.003178183687850833,
-0.030794482678174973,
0.03326968848705292,
0.05274374410510063,
0.022222260013222694,
0.01534264162182808,
-0.04469932243227959,
0.0031281334813684225,
-0.03625449910759926,
0.05005013570189476,
0.03212308511137962,
0.04105931147933006,
0.04732012748718262,
0.009209224954247475,
0.049831733107566833,
-0.0034011341631412506,
-0.004245161544531584,
0.01741744764149189,
-0.02045685611665249,
0.04484492167830467,
0.023587264120578766,
-0.04244251549243927,
0.005323514342308044,
-0.005596515256911516,
0.005546465050429106,
-0.024879466742277145,
-0.010901829227805138,
0.05765775591135025,
0.010110127739608288,
-0.07665860652923584,
-0.07833301275968552,
-0.019474051892757416,
-0.06362736970186234,
-0.014259738847613335,
-0.022841062396764755,
0.0029666079208254814,
0.037310101091861725,
-0.027755074203014374,
-0.102284274995327,
0.007694070693105459,
0.01220313273370266,
0.05503694713115692,
-0.005705715622752905,
-0.001163665670901537,
0.09049064666032791,
0.012667234055697918,
0.03570849820971489,
0.017408346757292747,
-0.03650929778814316,
0.04036770761013031,
-0.025825869292020798,
0.046992525458335876,
0.04477212205529213,
0.046337325125932693,
-0.01448723953217268,
0.02045685611665249,
0.033742889761924744,
-0.06883258372545242,
0.04586412385106087,
-0.026408271864056587,
-0.015661142766475677,
0.008203672245144844,
-0.008813373744487762,
0.03538089618086815,
-0.048412129282951355,
0.03492589294910431,
0.022677261382341385,
-0.060678962618112564,
0.009195574559271336,
0.011120229959487915,
0.03337889164686203,
-0.026845073327422142,
-0.03543549403548241,
-0.05758495628833771,
0.05587415024638176,
0.005359914619475603,
-0.036236297339200974,
0.006847768556326628,
0.03576309606432915,
0.049940936267375946,
0.016097944229841232,
-0.019273852929472923,
0.015015040524303913,
-0.024588266387581825,
0.037637703120708466,
-0.03434349223971367,
0.03554469719529152,
0.039348505437374115,
-0.0363272987306118,
0.016680344939231873,
0.0006688518333248794,
-0.022167660295963287,
-0.008535822853446007,
-0.039057306945323944,
0.06890538334846497,
-0.03134048357605934,
-0.05532814934849739,
0.013741036877036095,
0.0180362481623888,
0.019110051915049553,
0.0021737683564424515,
0.01375923678278923,
-0.008658673614263535,
0.0421513132750988,
-0.0416417121887207,
-0.0010863154893741012,
0.05467294901609421,
0.03829290345311165,
-0.016079744324088097
] |
719,499
|
ibm_platform_services.enterprise_usage_reports_v1
|
get_resource_usage_report
|
Get usage reports for enterprise entities.
Usage reports for entities in the IBM Cloud enterprise. These entities can be the
enterprise, an account group, or an account.
:param str enterprise_id: (optional) The ID of the enterprise for which the
reports are queried. This parameter cannot be used with the `account_id` or
`account_group_id` query parameters.
:param str account_group_id: (optional) The ID of the account group for
which the reports are queried. This parameter cannot be used with the
`account_id` or `enterprise_id` query parameters.
:param str account_id: (optional) The ID of the account for which the
reports are queried. This parameter cannot be used with the
`account_group_id` or `enterprise_id` query parameters.
:param bool children: (optional) Returns the reports for the immediate
child entities under the current account group or enterprise. This
parameter cannot be used with the `account_id` query parameter.
:param str month: (optional) The billing month for which the usage report
is requested. The format is in yyyy-mm. Defaults to the month in which the
report is queried.
:param str billing_unit_id: (optional) The ID of the billing unit by which
to filter the reports.
:param int limit: (optional) The maximum number of search results to be
returned.
:param str offset: (optional) An opaque value representing the offset of
the first item to be returned by a search query. If not specified, then the
first page of results is returned. To retrieve the next page of search
results, use the 'offset' query parameter value within the 'next.href' URL
found within a prior search query response.
: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 representing a `Reports` object
|
def get_resource_usage_report(
self,
*,
enterprise_id: str = None,
account_group_id: str = None,
account_id: str = None,
children: bool = None,
month: str = None,
billing_unit_id: str = None,
limit: int = None,
offset: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get usage reports for enterprise entities.
Usage reports for entities in the IBM Cloud enterprise. These entities can be the
enterprise, an account group, or an account.
:param str enterprise_id: (optional) The ID of the enterprise for which the
reports are queried. This parameter cannot be used with the `account_id` or
`account_group_id` query parameters.
:param str account_group_id: (optional) The ID of the account group for
which the reports are queried. This parameter cannot be used with the
`account_id` or `enterprise_id` query parameters.
:param str account_id: (optional) The ID of the account for which the
reports are queried. This parameter cannot be used with the
`account_group_id` or `enterprise_id` query parameters.
:param bool children: (optional) Returns the reports for the immediate
child entities under the current account group or enterprise. This
parameter cannot be used with the `account_id` query parameter.
:param str month: (optional) The billing month for which the usage report
is requested. The format is in yyyy-mm. Defaults to the month in which the
report is queried.
:param str billing_unit_id: (optional) The ID of the billing unit by which
to filter the reports.
:param int limit: (optional) The maximum number of search results to be
returned.
:param str offset: (optional) An opaque value representing the offset of
the first item to be returned by a search query. If not specified, then the
first page of results is returned. To retrieve the next page of search
results, use the 'offset' query parameter value within the 'next.href' URL
found within a prior search query response.
: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 representing a `Reports` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_resource_usage_report'
)
headers.update(sdk_headers)
params = {
'enterprise_id': enterprise_id,
'account_group_id': account_group_id,
'account_id': account_id,
'children': children,
'month': month,
'billing_unit_id': billing_unit_id,
'limit': limit,
'offset': offset,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/resource-usage-reports'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request, **kwargs)
return response
|
(self, *, enterprise_id: Optional[str] = None, account_group_id: Optional[str] = None, account_id: Optional[str] = None, children: Optional[bool] = None, month: Optional[str] = None, billing_unit_id: Optional[str] = None, limit: Optional[int] = None, offset: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.031198523938655853,
-0.051265180110931396,
0.0060785855166614056,
0.00010627798474160954,
-0.03973051533102989,
0.004648195579648018,
0.023472128435969353,
-0.04690764099359512,
-0.08964082598686218,
-0.06873195618391037,
0.012660668231546879,
-0.0027371945325285196,
0.018437156453728676,
-0.012138862162828445,
-0.01484859362244606,
0.019554004073143005,
-0.03204073756933212,
-0.03132668510079384,
0.07136845588684082,
0.011498047970235348,
-0.007364792283624411,
0.01483943872153759,
-0.013585272245109081,
0.04258671775460243,
0.010646679438650608,
0.05514668673276901,
0.06159145385026932,
-0.0013651642948389053,
0.041854359209537506,
0.030466163530945778,
-0.03114359639585018,
0.03535466641187668,
-0.02284962311387062,
0.041524793952703476,
-0.06814607232809067,
0.012285334058105946,
0.004391869530081749,
0.00998755544424057,
-0.10099240392446518,
0.0696474090218544,
-0.03881506621837616,
-0.005337071605026722,
0.07506687194108963,
-0.042037446051836014,
0.010912159457802773,
-0.01712806336581707,
0.030338000506162643,
-0.039547424763441086,
0.007410564925521612,
-0.02678605727851391,
0.025888916105031967,
0.020158201456069946,
-0.03476877883076668,
0.03760667145252228,
0.009214000776410103,
-0.004659638740122318,
-0.04870191961526871,
0.0007111899321898818,
-0.0015356667572632432,
-0.0060053495690226555,
-0.04159803315997124,
0.03026476502418518,
0.006032813340425491,
-0.03914462774991989,
-0.09008024632930756,
-0.019352605566382408,
-0.02682267501950264,
0.0034901518374681473,
-0.0410853810608387,
0.029202843084931374,
-0.015443635173141956,
0.04906810075044632,
0.03735034540295601,
-0.004737451672554016,
0.03169286623597145,
-0.051228560507297516,
0.04785970598459244,
-0.009040065109729767,
-0.060968946665525436,
-0.023215802386403084,
0.020945487543940544,
0.0282690841704607,
0.04174450412392616,
-0.004856460262089968,
0.05097223445773125,
0.026072006672620773,
0.04145155847072601,
-0.022703150287270546,
-0.015635879710316658,
0.002389323664829135,
-0.010362889617681503,
-0.0004196764493826777,
-0.009722075425088406,
0.016056986525654793,
0.036361660808324814,
-0.02138490416109562,
-0.03709401935338974,
0.04654145985841751,
-0.0455893911421299,
-0.0000934044728637673,
0.015562644228339195,
-0.09813620150089264,
-0.011351575143635273,
0.023911545053124428,
-0.003918124362826347,
-0.03899815306067467,
0.0017301997868344188,
-0.004764915443956852,
0.03205904737114906,
0.044124674052000046,
-0.01602952368557453,
0.039803750813007355,
0.0006076297140680254,
-0.037258800119161606,
0.0009160218178294599,
0.07246699184179306,
-0.05042296648025513,
-0.025559354573488235,
0.002698287833482027,
-0.056391697376966476,
-0.015782352536916733,
-0.02999013103544712,
0.026602966710925102,
-0.054414328187704086,
-0.0037007052451372147,
-0.002132997615262866,
-0.02770150639116764,
0.020194819197058678,
0.02341720275580883,
0.04998354986310005,
-0.004600134678184986,
-0.041524793952703476,
0.026072006672620773,
0.027628270909190178,
0.06367867439985275,
0.014876056462526321,
0.05423123762011528,
0.031821031123399734,
-0.02934931591153145,
0.03454906865954399,
0.017201298847794533,
0.05342563986778259,
-0.02109196037054062,
0.01039950828999281,
-0.018363919109106064,
0.004728297237306833,
0.05368196591734886,
0.01168113760650158,
-0.09198438376188278,
-0.02912960760295391,
-0.02821415849030018,
-0.06972064822912216,
-0.01630415767431259,
-0.017292844131588936,
0.012605741620063782,
0.022959476336836815,
0.013768362812697887,
0.006312025245279074,
-0.005067013669759035,
0.016175994649529457,
-0.02367352694272995,
-0.01097624097019434,
-0.002815007697790861,
0.0004251119389664382,
-0.020341290161013603,
-0.01717383600771427,
-0.06371529400348663,
-0.05020326003432274,
-0.040609344840049744,
-0.007474646437913179,
-0.0387418307363987,
-0.000551558390725404,
-0.0006637009792029858,
-0.006943685468286276,
-0.07294302433729172,
0.01854700967669487,
0.0768977701663971,
-0.03427443280816078,
-0.03962066024541855,
0.039254479110240936,
0.012312797829508781,
-0.042696572840213776,
0.015782352536916733,
0.009905165061354637,
-0.036709532141685486,
-0.057197295129299164,
0.0174118522554636,
-0.0037808071356266737,
-0.005543047562241554,
-0.024735448881983757,
0.019865257665514946,
0.0577099472284317,
0.013631044887006283,
0.03205904737114906,
-0.04331907629966736,
-0.05877186730504036,
0.012550815008580685,
0.006838408764451742,
-0.009177383035421371,
0.01710059866309166,
-0.06082247570157051,
0.09337586164474487,
0.042696572840213776,
-0.0046367524191737175,
-0.015242236666381359,
0.028433866798877716,
-0.00015634162991773337,
-0.017805496230721474,
-0.06243366748094559,
0.035519447177648544,
-0.04071919992566109,
0.015104918740689754,
-0.04112199693918228,
0.02111026830971241,
-0.026602966710925102,
0.10868217796087265,
0.034933559596538544,
0.022629914805293083,
-0.02678605727851391,
-0.005900072865188122,
-0.026474803686141968,
-0.04364863783121109,
0.0002829311415553093,
-0.04632175341248512,
-0.049837078899145126,
-0.023234112188220024,
0.03826579451560974,
0.00529129896312952,
-0.011516356840729713,
-0.06426456570625305,
-0.0017610962968319654,
-0.014811974950134754,
0.0682925432920456,
0.033578693866729736,
-0.046614695340394974,
0.0027761009987443686,
-0.01859278231859207,
0.015754887834191322,
0.016954127699136734,
0.025888916105031967,
-0.011708601377904415,
-0.016322467476129532,
0.00521806301549077,
0.04701749235391617,
-0.032132282853126526,
-0.023215802386403084,
-0.030960507690906525,
0.04800618067383766,
0.03260831534862518,
-0.06693767756223679,
0.00009819628030527383,
-0.0592845194041729,
0.01624923199415207,
-0.03819255903363228,
-0.03242522478103638,
-0.04818926751613617,
-0.027719814330339432,
-0.05141165107488632,
0.05338902398943901,
-0.03050278127193451,
0.006289138924330473,
-0.06287308037281036,
-0.013466264121234417,
0.022922858595848083,
-0.002345839748159051,
0.003087353892624378,
0.002906552515923977,
0.019334295764565468,
0.04361202195286751,
0.029898585751652718,
-0.004018824081867933,
0.03744189068675041,
0.031491465866565704,
0.008271087892353535,
-0.021311666816473007,
0.0159471333026886,
0.06499692797660828,
-0.04654145985841751,
-0.011516356840729713,
0.008637267164885998,
-0.031509775668382645,
-0.04595557227730751,
0.0089988699182868,
0.03398149088025093,
0.03705739974975586,
-0.034640613943338394,
0.000531819008756429,
0.028433866798877716,
-0.055769193917512894,
0.01944415085017681,
0.014665503054857254,
0.012083935551345348,
-0.07777660340070724,
-0.04372187331318855,
-0.02570582553744316,
0.03786299750208855,
-0.009603066369891167,
-0.05540301278233528,
0.039767131209373474,
0.05104547366499901,
-0.05276651680469513,
0.006371529307216406,
0.04244024679064751,
-0.01768648624420166,
-0.009831929579377174,
-0.028708500787615776,
0.06430118530988693,
-0.04031640291213989,
0.046394988894462585,
-0.009076682850718498,
0.01650555618107319,
0.03458568826317787,
0.03136330470442772,
-0.018144212663173676,
-0.05456079915165901,
-0.0387418307363987,
0.007625695317983627,
0.027042383328080177,
0.0341462716460228,
0.04884839430451393,
0.0020334424916654825,
0.02938593365252018,
-0.014949292875826359,
-0.04046287387609482,
0.054084766656160355,
0.028745118528604507,
0.020652543753385544,
0.06994035094976425,
0.06452088803052902,
-0.045186594128608704,
-0.016066141426563263,
-0.06272660940885544,
-0.0008445022976957262,
-0.026072006672620773,
-0.0541946180164814,
-0.0639716237783432,
-0.010216417722404003,
-0.062360428273677826,
-0.0037808071356266737,
0.047530144453048706,
-0.0004408462264109403,
0.008760852739214897,
-0.019297678023576736,
0.01796112209558487,
0.020414527505636215,
-0.043282460421323776,
0.09081260114908218,
-0.05899157375097275,
-0.014088770374655724,
0.022977786138653755,
-0.010884696617722511,
0.018931498751044273,
0.02165953814983368,
0.033542074263095856,
0.02111026830971241,
-0.021275049075484276,
-0.023819999769330025,
0.03313927724957466,
-0.0325716994702816,
0.00200025737285614,
-0.043209224939346313,
0.020597616210579872,
-0.021201813593506813,
-0.0037373232189565897,
-0.007740126922726631,
-0.07330920547246933,
-0.002345839748159051,
0.01470212172716856,
0.049470897763967514,
-0.0059916176833212376,
-0.01069245208054781,
-0.01112271286547184,
-0.002398478100076318,
0.06781651079654694,
-0.01997511088848114,
0.027262089774012566,
-0.0682925432920456,
0.023874927312135696,
-0.06334911286830902,
0.02079901657998562,
-0.01970047689974308,
0.012624050490558147,
-0.054634034633636475,
-0.0007157672080211341,
0.017018208280205727,
-0.03385332599282265,
0.019480768591165543,
-0.03995022177696228,
-0.04646822437644005,
-0.009941782802343369,
0.021238431334495544,
-0.01882164552807808,
-0.00784082617610693,
0.0089759835973382,
-0.01186422724276781,
-0.02479037642478943,
0.010994549840688705,
0.0008719657780602574,
-0.039547424763441086,
-0.03720387443900108,
0.0004185321449767798,
0.031198523938655853,
0.04251348227262497,
0.009813619777560234,
-0.0035130379255861044,
-0.019187824800610542,
0.07308950275182724,
-0.08949435502290726,
-0.021531375125050545,
0.07283317297697067,
0.015031683258712292,
-0.02222711779177189,
-0.07254023104906082,
0.01851039193570614,
-0.04031640291213989,
0.005359957460314035,
0.02112857811152935,
0.02656634896993637,
0.04796956107020378,
-0.03284633159637451,
-0.017256226390600204,
-0.046980876475572586,
0.013191629201173782,
-0.02220880798995495,
-0.006348643451929092,
-0.07089242339134216,
-0.028122613206505775,
-0.006614123471081257,
0.010710760951042175,
0.017778031527996063,
0.04145155847072601,
0.009648839011788368,
-0.026749437674880028,
-0.0041080801747739315,
0.009795310907065868,
0.013072621077299118,
-0.007923216558992863,
-0.0010178656084463,
-0.0087288124486804,
-0.008765430189669132,
-0.011626210063695908,
-0.022391898557543755,
0.06349558383226395,
-0.016459785401821136,
-0.043245840817689896,
-0.009282659739255905,
-0.046394988894462585,
-0.04504012316465378,
-0.010967087000608444,
-0.02627340517938137,
0.07916808873414993,
0.007314442656934261,
0.007209165953099728,
-0.022336971014738083,
-0.03506172075867653,
-0.08766345679759979,
0.029184535145759583,
-0.0017759723123162985,
0.018711790442466736,
0.03222382813692093,
0.006714823190122843,
-0.007978144101798534,
-0.02911129780113697,
-0.01285291276872158,
0.01082976907491684,
0.008161233738064766,
-0.003190342104062438,
-0.014427486807107925,
0.02230035327374935,
-0.021787701174616814,
-0.009722075425088406,
0.037258800119161606,
-0.013383873738348484,
0.0633857324719429,
-0.0030987970530986786,
-0.011543819680809975,
-0.009355895221233368,
0.015242236666381359,
-0.04507673904299736,
-0.0038563315756618977,
0.05342563986778259,
0.01688089221715927,
0.0723937600851059,
-0.02848879247903824,
0.013466264121234417,
-0.05884510278701782,
0.06316602230072021,
0.007209165953099728,
-0.05697758495807648,
0.03220551833510399,
-0.03363361954689026,
0.002833316568285227,
-0.015562644228339195,
0.01514153741300106,
-0.018345611169934273,
-0.020158201456069946,
0.03800946846604347,
-0.016111914068460464,
-0.0020117005333304405,
0.014665503054857254,
0.06485044956207275,
-0.10157829523086548,
0.08715080469846725,
-0.039510805159807205,
-0.011333266273140907,
0.029477478936314583,
0.04031640291213989,
0.006289138924330473,
0.048408977687358856,
0.010738224722445011,
-0.004746606573462486,
0.06027320399880409,
0.0019007023656740785,
0.013585272245109081,
-0.019224442541599274,
0.07404156774282455,
-0.01742100715637207,
0.009333008900284767,
0.03447583317756653,
-0.002324097789824009,
-0.0004954871255904436,
0.0680728331208229,
0.012349415570497513,
0.030191529542207718,
0.02706069126725197,
-0.0069619943387806416,
-0.013823289424180984,
-0.02286793291568756,
-0.034420907497406006,
-0.020451145246624947,
-0.02255667932331562,
0.0089988699182868,
-0.023490438237786293,
-0.07466407120227814,
-0.02165953814983368,
-0.01880333572626114,
-0.0682925432920456,
-0.02371014654636383,
-0.003075910732150078,
0.02942255139350891,
0.02198909968137741,
-0.0008450744790025055,
-0.03848550468683243,
-0.08671139180660248,
-0.016716109588742256,
-0.03888830170035362,
0.03797285258769989,
-0.005749023985117674,
0.08304958790540695,
-0.030484473332762718,
0.05910142883658409,
-0.010417817160487175,
0.019297678023576736,
0.04357540234923363,
0.026346640661358833,
0.08553961664438248,
-0.006801791023463011,
0.01626753993332386,
-0.019023044034838676,
0.002677690237760544,
-0.021549684926867485,
0.026493113487958908,
-0.007740126922726631,
0.04134170711040497,
0.0021364307031035423,
0.021000415086746216,
0.0559522807598114,
0.06100556254386902,
-0.03789961338043213,
-0.036398276686668396,
-0.0582958348095417,
0.01859278231859207,
-0.04507673904299736,
-0.004286592826247215,
-0.0011408791178837419,
-0.020670853555202484,
0.01370428130030632,
-0.009685457684099674,
0.03793623298406601,
0.055512867867946625,
-0.02396647073328495,
-0.020066656172275543,
0.0019304543966427445,
-0.052656661719083786,
0.02453405037522316,
0.04833574220538139,
0.0577099472284317,
-0.012029008008539677,
0.04104876145720482,
0.02198909968137741,
-0.007680622395128012,
-0.05613537132740021,
-0.00507159112021327,
-0.02398478053510189,
-0.0009600777993910015,
0.09476734697818756,
-0.03995022177696228,
-0.03458568826317787,
0.01592882350087166,
-0.019572313874959946,
-0.04016993194818497,
0.0698304995894432,
0.009941782802343369,
0.01197408139705658,
0.046980876475572586,
0.028140921145677567,
0.024021398276090622,
-0.017860421910881996,
-0.052656661719083786,
0.016743574291467667,
-0.027500107884407043,
-0.021842628717422485,
0.03361530974507332,
0.0349152497947216,
0.06422794610261917,
-0.06283646076917648,
0.0015608416870236397,
-0.020487762987613678,
0.006723977625370026,
0.004430776461958885,
-0.007438028231263161,
0.09798973053693771,
-0.009035487659275532,
0.03826579451560974,
-0.011379038915038109,
0.07279655337333679,
0.0011151321232318878,
-0.012404343113303185,
-0.02429603412747383,
0.0182449109852314,
-0.049837078899145126,
0.04273318871855736,
-0.04906810075044632,
0.029788730666041374,
0.01859278231859207,
-0.022373588755726814,
0.022886240854859352,
0.0330660417675972,
0.015352090820670128,
0.0073052882216870785,
0.016670338809490204,
0.0888352319598198,
-0.006023658439517021,
0.04650484025478363,
-0.012697286903858185,
0.04888501018285751,
-0.05785641819238663,
-0.046980876475572586,
0.004861037712544203,
0.009529830887913704,
-0.040426257997751236,
0.014857747592031956,
-0.012624050490558147,
-0.028745118528604507,
-0.004934273660182953,
0.12076611816883087,
-0.034420907497406006,
0.00985023844987154,
0.025174865499138832,
-0.0014624308096244931,
-0.00707184849306941,
-0.011699446476995945,
0.03678276762366295,
-0.04276980832219124,
-0.010866386815905571,
-0.017924504354596138,
-0.028928209096193314,
-0.03542790189385414,
0.03167455643415451,
-0.0014681523898616433,
0.03341391310095787,
0.01772310584783554,
0.08436784148216248,
0.007721817586570978,
-0.02652973122894764,
0.054048147052526474,
-0.006614123471081257,
-0.020048346370458603,
-0.02394816279411316,
0.009630530141294003,
0.04276980832219124,
-0.005794796161353588,
-0.05199753865599632,
0.07125859707593918,
-0.031198523938655853,
-0.004346097353845835,
-0.013429646380245686,
-0.0364898219704628,
-0.04390496388077736,
-0.030338000506162643,
0.05844230577349663,
-0.05939437448978424,
-0.004563516471534967,
-0.03760667145252228,
0.028983134776353836,
0.0270973090082407,
-0.0637885332107544,
0.010903005488216877,
0.0416712686419487,
0.02198909968137741,
-0.00514482706785202,
-0.021201813593506813,
0.04306275025010109,
0.09132525324821472,
-0.0009143053321167827,
0.046687930822372437,
0.010710760951042175,
-0.028470484539866447,
0.022098954766988754,
-0.007982720620930195,
0.016203459352254868,
0.0729796439409256,
0.027042383328080177,
-0.0446007065474987,
-0.021549684926867485,
-0.02598046138882637,
-0.007712663151323795,
0.010033328086137772,
-0.0032086509745568037,
0.01158043835312128,
0.027829669415950775,
-0.014747893437743187,
0.021915864199399948,
-0.01013402733951807,
-0.037496816366910934,
0.05683111399412155,
-0.00004427057137945667,
0.0637885332107544,
0.023819999769330025,
-0.004435353446751833,
0.007067271042615175,
0.03246184438467026,
-0.018180830404162407,
-0.009685457684099674,
0.029056372120976448,
-0.03572084382176399,
-0.0343293622136116,
0.023838309571146965,
0.011498047970235348,
0.008779162541031837,
0.013603582046926022,
0.06627855449914932,
-0.042403627187013626,
-0.008037648163735867,
-0.03449414297938347,
0.03200411796569824,
0.03132668510079384,
0.05338902398943901,
0.03387163579463959,
-0.060346439480781555,
0.004934273660182953,
-0.04738367348909378,
0.009273504838347435,
0.08136516064405441,
0.004339231178164482,
-0.006760595832020044,
-0.012889530509710312,
0.023746764287352562,
0.04419790953397751,
0.011635364964604378,
0.016963282600045204,
0.000617928511928767,
-0.019608931615948677,
0.008641844615340233,
-0.05155812203884125,
0.04430776089429855,
0.04562601074576378,
-0.016917509958148003
] |
719,508
|
ibm_platform_services.global_catalog_v1
|
GlobalCatalogV1
|
The Global Catalog V1 service.
|
class GlobalCatalogV1(BaseService):
"""The Global Catalog V1 service."""
DEFAULT_SERVICE_URL = 'https://globalcatalog.cloud.ibm.com/api/v1'
DEFAULT_SERVICE_NAME = 'global_catalog'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'GlobalCatalogV1':
"""
Return a new client for the Global Catalog service using the specified
parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Global Catalog service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md
about initializing the authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# Object
#########################
def list_catalog_entries(
self,
*,
account: str = None,
include: str = None,
q: str = None,
sort_by: str = None,
descending: str = None,
languages: str = None,
catalog: bool = None,
complete: bool = None,
offset: int = None,
limit: int = None,
**kwargs
) -> DetailedResponse:
"""
Returns parent catalog entries.
Includes key information, such as ID, name, kind, CRN, tags, and provider. This
endpoint is ETag enabled.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str include: (optional) A GET call by default returns a basic set of
properties. To include other properties, you must add this parameter. A
wildcard (`*`) includes all properties for an object, for example `GET
/?include=*`. To include specific metadata fields, separate each field with
a colon (:), for example `GET /?include=metadata.ui:metadata.pricing`.
:param str q: (optional) Searches the catalog entries for keywords. Add
filters to refine your search. A query filter, for example, `q=kind:iaas
service_name rc:true`, filters entries of kind iaas with
metadata.service.rc_compatible set to true and have a service name is in
their name, display name, or description. Valid tags are
**kind**:<string>, **tag**:<strging>, **rc**:[true|false],
**iam**:[true|false], **active**:[true|false], **geo**:<string>, and
**price**:<string>.
:param str sort_by: (optional) The field on which the output is sorted.
Sorts by default by **name** property. Available fields are **name**,
**displayname** (overview_ui.display_name), **kind**, **provider**
(provider.name), **sbsindex** (metadata.ui.side_by_side_index), and the
time **created**, and **updated**.
:param str descending: (optional) Sets the sort order. The default is
false, which is ascending.
:param str languages: (optional) Return the data strings in a specified
langauge. By default, the strings returned are of the language preferred by
your browser through the Accept-Langauge header, which allows an override
of the header. Languages are specified in standard form, such as `en-us`.
To include all languages use a wildcard (*).
:param bool catalog: (optional) Checks to see if a catalog's object is
visible, or if it's filtered by service, plan, deployment, or region. Use
the value `?catalog=true`. If a `200` code is returned, the object is
visible. If a `403` code is returned, the object is not visible for the
user.
:param bool complete: (optional) Returns all available fields for all
languages. Use the value `?complete=true` as shortcut for
?include=*&languages=*.
:param int offset: (optional) Useful for pagination, specifies index
(origin 0) of first item to return in response.
:param int limit: (optional) Useful for pagination, specifies the maximum
number of items to return in the response.
: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 representing a `EntrySearchResult` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_catalog_entries'
)
headers.update(sdk_headers)
params = {
'account': account,
'include': include,
'q': q,
'sort-by': sort_by,
'descending': descending,
'languages': languages,
'catalog': catalog,
'complete': complete,
'_offset': offset,
'_limit': limit,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
url = '/'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
def create_catalog_entry(
self,
name: str,
kind: str,
overview_ui: dict,
images: 'Image',
disabled: bool,
tags: List[str],
provider: 'Provider',
id: str,
*,
parent_id: str = None,
group: bool = None,
active: bool = None,
metadata: 'ObjectMetadataSet' = None,
account: str = None,
**kwargs
) -> DetailedResponse:
"""
Create a catalog entry.
The created catalog entry is restricted by default. You must have an administrator
or editor role in the scope of the provided token. This API will return an ETag
that can be used for standard ETag processing, except when depth query is used.
:param str name: Programmatic name for this catalog entry, which must be
formatted like a CRN segment. See the display name in OverviewUI for a
user-readable name.
:param str kind: The type of catalog entry, **service**, **template**,
**dashboard**, which determines the type and shape of the object.
:param dict overview_ui: Overview is nested in the top level. The key value
pair is `[_language_]overview_ui`.
:param Image images: Image annotation for this catalog entry. The image is
a URL.
:param bool disabled: Boolean value that determines the global visibility
for the catalog entry, and its children. If it is not enabled, all plans
are disabled.
:param List[str] tags: A list of tags. For example, IBM, 3rd Party, Beta,
GA, and Single Tenant.
:param Provider provider: Information related to the provider associated
with a catalog entry.
:param str id: Catalog entry's unique ID. It's the same across all catalog
instances.
:param str parent_id: (optional) The ID of the parent catalog entry if it
exists.
:param bool group: (optional) Boolean value that determines whether
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
0.005898905918002129,
-0.0711079016327858,
-0.05561825633049011,
-0.037239350378513336,
0.04370005801320076,
-0.023294659331440926,
-0.00473768450319767,
-0.00554778054356575,
0.04030919075012207,
-0.05822661519050598,
-0.039245784282684326,
0.001005723373964429,
-0.018047843128442764,
-0.04099137708544731,
-0.01762649230659008,
0.03362777829170227,
-0.044382244348526,
0.0001424879301339388,
0.011526944115757942,
-0.05461503937840462,
0.018278582021594048,
0.01217903383076191,
0.029915880411863327,
0.005447458941489458,
0.0703454539179802,
0.0038122180849313736,
0.0497996062040329,
-0.013182248920202255,
0.01070430688560009,
0.00805080309510231,
-0.01372398529201746,
0.0027136974968016148,
-0.029133372008800507,
0.01792745664715767,
-0.014937875792384148,
-0.033407069742679596,
0.05991201847791672,
-0.030036266893148422,
-0.031701602041721344,
0.04847536236047745,
-0.013001670129597187,
0.012239227071404457,
0.06805812567472458,
-0.03087896667420864,
0.03960694000124931,
0.054334141314029694,
-0.00475273234769702,
0.0006784243742004037,
0.011276139877736568,
0.018198326230049133,
-0.012670609168708324,
0.0076595488935709,
-0.011466750875115395,
-0.024338003247976303,
-0.019131315872073174,
-0.022793050855398178,
-0.02375613898038864,
0.023114081472158432,
-0.06055407598614693,
0.01246996596455574,
-0.015790609642863274,
0.011065464466810226,
-0.026043469086289406,
0.02999613806605339,
-0.022451957687735558,
0.026424691081047058,
-0.011587136425077915,
0.009831509552896023,
-0.007945464923977852,
0.02130829356610775,
0.01126610767096281,
-0.006932217627763748,
0.004592217970639467,
-0.010057233273983002,
-0.005337105598300695,
0.00497093191370368,
0.04133247211575508,
-0.04522494599223137,
-0.016422634944319725,
-0.037680767476558685,
-0.03850340470671654,
-0.048876650631427765,
0.05975150316953659,
0.010042184963822365,
0.07331497222185135,
0.058547645807266235,
0.019181476905941963,
0.012459933757781982,
-0.0056982627138495445,
0.06191844865679741,
-0.02287330850958824,
0.024919867515563965,
-0.033366940915584564,
0.0332866832613945,
0.000013735428183281329,
-0.047151118516922,
-0.00737864850088954,
-0.04281722754240036,
0.0029845654498785734,
0.031019417569041252,
0.008602571673691273,
-0.06512873619794846,
0.02331472374498844,
-0.005276912357658148,
0.02120797149837017,
-0.020144563168287277,
-0.04044964164495468,
0.039847712963819504,
0.012780963443219662,
0.05313028395175934,
-0.01959279552102089,
-0.0066011566668748856,
0.02676578424870968,
-0.06340320408344269,
-0.04658931866288185,
0.01401491742581129,
0.013051831163465977,
0.008306622505187988,
-0.029093243181705475,
-0.027849256992340088,
0.0064005134627223015,
-0.06015279144048691,
0.031139802187681198,
-0.025762569159269333,
0.004905723035335541,
-0.022191122174263,
-0.027387777343392372,
0.013864435255527496,
-0.03609568625688553,
0.005412346683442593,
0.0009887941414490342,
-0.022512150928378105,
-0.005843729246407747,
-0.008376847952604294,
0.04430198669433594,
-0.0479135625064373,
-0.006756654940545559,
0.009304821491241455,
-0.07764886319637299,
0.07821066677570343,
0.011647329665720463,
0.019803470000624657,
-0.04562623053789139,
0.00989671889692545,
-0.062078963965177536,
-0.04040951281785965,
-0.003192732809111476,
-0.02734764851629734,
-0.0487963929772377,
-0.034450411796569824,
-0.048676006495952606,
-0.05048179253935814,
-0.02134842239320278,
-0.002889260184019804,
-0.019020961597561836,
-0.02130829356610775,
-0.00110165576916188,
-0.05971137434244156,
0.008025722578167915,
0.006540963891893625,
0.0027763983234763145,
0.0025581989903002977,
0.01372398529201746,
-0.049318064004182816,
-0.053692083805799484,
-0.013322698883712292,
-0.05710301548242569,
-0.022070737555623055,
-0.0524480976164341,
-0.00645569059997797,
-0.014797425828874111,
0.007383664604276419,
-0.0692218542098999,
-0.034590862691402435,
-0.04570648819208145,
0.036216072738170624,
0.06536950916051865,
-0.024959996342658997,
0.009309837594628334,
0.00314257200807333,
-0.03715909644961357,
-0.052327711135149,
-0.0301967803388834,
0.028651829808950424,
-0.0028992921579629183,
-0.010914982296526432,
0.03701864555478096,
0.02514057606458664,
0.05361182615160942,
0.04201465845108032,
-0.022512150928378105,
-0.003441028529778123,
0.020064305514097214,
-0.016904177144169807,
-0.047753047198057175,
-0.013924628496170044,
0.016322312876582146,
-0.01316218450665474,
-0.024959996342658997,
0.010513696819543839,
-0.039988163858652115,
0.035072408616542816,
0.05461503937840462,
-0.0054374267347157,
0.06974352896213531,
0.0018371379701420665,
-0.002974533475935459,
-0.05353156849741936,
-0.052167195826768875,
-0.02439819648861885,
-0.020706363022327423,
0.03677787259221077,
-0.007228166330605745,
0.005773504264652729,
-0.018679868429899216,
0.02901298739016056,
-0.014616847038269043,
-0.01964295655488968,
0.001973826205357909,
-0.021970415487885475,
0.027468034997582436,
-0.04719124734401703,
0.018148165196180344,
-0.060513947159051895,
-0.036998581141233444,
0.005964114796370268,
0.0701046884059906,
0.04386057332158089,
0.028210414573550224,
-0.04586700350046158,
-0.044261857867240906,
-0.016512924805283546,
0.018679868429899216,
0.03774096071720123,
-0.02843112125992775,
-0.07014481723308563,
0.05032128095626831,
0.03300578519701958,
0.000884083507116884,
0.02459883876144886,
0.030959224328398705,
0.034791506826877594,
-0.008452088572084904,
0.022351637482643127,
-0.10369233042001724,
-0.007684629410505295,
-0.018338775262236595,
0.05112385377287865,
-0.008682828396558762,
-0.059229832142591476,
-0.011858005076646805,
-0.05493606999516487,
0.030216844752430916,
-0.030618131160736084,
0.050883080810308456,
-0.10601979494094849,
-0.060072533786296844,
-0.019512537866830826,
0.039787519723176956,
-0.04574661701917648,
-0.051485009491443634,
-0.019171444699168205,
-0.04321851581335068,
0.062480248510837555,
0.016171831637620926,
0.018669836223125458,
0.0320226326584816,
-0.008090930990874767,
0.04345928877592087,
0.03264462575316429,
0.08242417126893997,
0.047070860862731934,
-0.005733375437557697,
0.024618903174996376,
-0.0018722505774348974,
0.0199840497225523,
-0.009354982525110245,
-0.04040951281785965,
-0.12455920875072479,
0.0049734399653971195,
0.0050837937742471695,
-0.003471124917268753,
0.007579291705042124,
0.02205067314207554,
0.052327711135149,
-0.072111114859581,
-0.008748037740588188,
-0.012981605716049671,
-0.0462682880461216,
0.0019876202568411827,
-0.005949066951870918,
0.05353156849741936,
-0.018649771809577942,
-0.043138258159160614,
-0.021589193493127823,
0.03188218176364899,
-0.07082699984312057,
-0.04237581416964531,
0.009249645285308361,
-0.005607973784208298,
-0.03049774467945099,
0.03053787350654602,
0.07471947371959686,
-0.030598066747188568,
-0.022612472996115685,
-0.0065058511681854725,
0.046669576317071915,
0.002430289052426815,
0.006265079602599144,
0.02758842147886753,
-0.0074087451212108135,
0.04919767752289772,
-0.005462507251650095,
-0.03408925607800484,
-0.07492011785507202,
0.012991637922823429,
0.002244694158434868,
-0.02022482082247734,
0.004195948131382465,
0.038563597947359085,
-0.03441028669476509,
0.04370005801320076,
-0.034189578145742416,
-0.03762057423591614,
0.09967947006225586,
-0.039787519723176956,
0.02082674950361252,
0.03465105593204498,
0.051284365355968475,
-0.008898519910871983,
0.022752923890948296,
0.005071253515779972,
-0.013954725116491318,
0.04221529886126518,
0.022712795063853264,
-0.050883080810308456,
-0.010634082369506359,
-0.08386880159378052,
-0.02259240858256817,
-0.02788938581943512,
0.02341504581272602,
-0.014436268247663975,
-0.060313303023576736,
-0.014957940205931664,
-0.05012063682079315,
0.0030698387417942286,
0.1117180585861206,
-0.05453478544950485,
-0.023535430431365967,
-0.03477144241333008,
-0.011456718668341637,
-0.03382841870188713,
0.05465516820549965,
0.06629246473312378,
0.05650108680129051,
-0.023214401677250862,
-0.031982503831386566,
-0.03398893401026726,
-0.002288584830239415,
-0.010864822193980217,
0.02636449784040451,
0.012660576961934566,
-0.0037570414133369923,
0.02395678125321865,
-0.06223947927355766,
-0.05955085903406143,
0.003380835521966219,
-0.02100732922554016,
0.05999227613210678,
-0.03982764855027199,
-0.0067165265791118145,
-0.06043368950486183,
0.027427906170487404,
0.005999227520078421,
0.01743588224053383,
-0.006776719354093075,
-0.012510094791650772,
-0.02425774559378624,
-0.06231973320245743,
0.06135664880275726,
0.051284365355968475,
0.0542137548327446,
-0.030718453228473663,
0.0004147668369114399,
0.036797937005758286,
-0.04739189147949219,
0.027608485892415047,
0.021689515560865402,
-0.00003199708226020448,
-0.0057032788172364235,
-0.017154982313513756,
0.01423562504351139,
0.012309451587498188,
0.02514057606458664,
0.020545849576592445,
-0.04506443068385124,
-0.012580320239067078,
-0.034791506826877594,
-0.014747264795005322,
-0.04390070214867592,
0.014345979318022728,
0.02120797149837017,
0.05164552479982376,
0.014396139420568943,
-0.01561002992093563,
-0.10393310338258743,
0.06035343185067177,
-0.03463099151849747,
-0.01665337383747101,
0.03128025308251381,
-0.005532732233405113,
-0.036757808178663254,
-0.013061863370239735,
-0.03735973685979843,
-0.05738391727209091,
0.0230739526450634,
-0.020786620676517487,
0.06709504127502441,
-0.02650494873523712,
0.02802983485162258,
0.0186598040163517,
-0.0013856911100447178,
0.02813015691936016,
0.03796166554093361,
-0.012851187959313393,
0.006239999085664749,
-0.02066623605787754,
0.01880025491118431,
-0.020204756408929825,
-0.08643703162670135,
0.03529311344027519,
0.014807458035647869,
-0.006917169317603111,
-0.050160765647888184,
0.017756910994648933,
0.0026961411349475384,
-0.010834725573658943,
-0.05826674401760101,
-0.017556268721818924,
0.014406171627342701,
-0.024097232148051262,
-0.05092320963740349,
0.0036015429068356752,
-0.031641412526369095,
0.000672154244966805,
-0.0014333438593894243,
-0.03097928874194622,
-0.024659032002091408,
0.07471947371959686,
-0.03142070397734642,
0.01953260228037834,
0.006952282041311264,
0.026966426521539688,
-0.0001372367114527151,
-0.03647691011428833,
-0.09895715862512589,
0.032584432512521744,
0.025642182677984238,
-0.031541090458631516,
0.004411639180034399,
-0.022211186587810516,
0.004567137453705072,
0.007754854392260313,
0.018930673599243164,
0.04301787167787552,
0.015971187502145767,
0.015840768814086914,
0.036797937005758286,
-0.02931395173072815,
-0.006059420295059681,
-0.022672666236758232,
0.02656514197587967,
0.011135689914226532,
0.056781984865665436,
0.027608485892415047,
0.04030919075012207,
0.01953260228037834,
-0.042736973613500595,
-0.0655701532959938,
0.005246816202998161,
0.06625233590602875,
-0.019091187044978142,
0.017516139894723892,
-0.022171057760715485,
-0.014897746965289116,
-0.025361282750964165,
0.08250442892313004,
0.02233157306909561,
-0.0028466235380619764,
-0.025020189583301544,
0.0016916717868298292,
0.04099137708544731,
-0.014817490242421627,
0.08731985837221146,
0.01925170235335827,
0.00748900230973959,
0.0066111888736486435,
0.023435110226273537,
0.032484110444784164,
0.031099675223231316,
0.009781349450349808,
-0.03354752063751221,
0.016091573983430862,
-0.006435626186430454,
0.02013453096151352,
-0.000853987003210932,
-0.023154208436608315,
0.04987986385822296,
0.013734017498791218,
-0.008953697048127651,
-0.031039481982588768,
-0.027528228238224983,
0.09687046706676483,
-0.04522494599223137,
-0.015941090881824493,
0.07833105325698853,
-0.057905588299036026,
0.012219162657856941,
0.00040191313019022346,
0.03288539871573448,
0.0018521862803027034,
0.00382977444678545,
0.001934951520524919,
-0.023776203393936157,
-0.005954083055257797,
0.040870990604162216,
-0.027387777343392372,
-0.05975150316953659,
-0.011506879702210426,
0.06681413948535919,
-0.05004037916660309,
-0.011175818741321564,
-0.05365195497870445,
-0.06906133890151978,
-0.0023826363030821085,
0.018669836223125458,
-0.10329104959964752,
-0.02066623605787754,
0.03794160112738609,
-0.02395678125321865,
0.014024949632585049,
0.016171831637620926,
-0.016753695905208588,
-0.024478454142808914,
-0.02792951464653015,
-0.004221028182655573,
0.006194854620844126,
-0.015068293549120426,
-0.0009869131026789546,
-0.01625208742916584,
0.08515291661024094,
-0.011577104218304157,
0.06500834971666336,
-0.026685526594519615,
0.0036140831653028727,
0.026725655421614647,
0.008246430195868015,
-0.0540933683514595,
-0.010227779857814312,
0.016191894188523293,
0.027387777343392372,
0.05935021862387657,
-0.027969643473625183,
-0.006882057059556246,
0.04923780634999275,
0.05036140978336334,
0.007679613307118416,
0.010097362101078033,
0.02233157306909561,
0.010634082369506359,
0.028390992432832718,
-0.0496792234480381,
-0.012339548207819462,
0.06512873619794846,
-0.027608485892415047,
0.029153436422348022,
0.032724883407354355,
-0.036155879497528076,
0.035674337297677994,
-0.03794160112738609,
0.0434994138777256,
-0.020335175096988678,
0.0252810250967741,
-0.043820444494485855,
0.009003857150673866,
0.05842725932598114,
0.019111251458525658,
0.026685526594519615,
0.03750018775463104,
-0.0012421059655025601,
-0.04618803411722183,
0.013242442160844803,
0.027066748589277267,
-0.016021348536014557,
-0.017807072028517723,
0.04374018684029579,
-0.003899999428540468,
0.0006103938212618232,
0.01543948333710432,
0.024217616766691208,
-0.05309015512466431,
0.020987264811992645,
-0.0014245656784623861,
-0.005307008977979422,
0.03344719856977463,
-0.015038197860121727,
-0.019823534414172173,
-0.0549761988222599,
-0.02955472283065319,
0.025903020054101944,
0.0007216880330815911,
-0.02439819648861885,
-0.009259677492082119,
0.0018183276988565922,
0.005342121701687574,
-0.018649771809577942,
0.004213504493236542,
0.0252810250967741,
0.08378854393959045,
-0.028691958636045456,
0.010493632405996323,
0.023094017058610916,
-0.009871638379991055,
0.039787519723176956,
-0.08956706523895264,
0.031842052936553955,
0.014486429281532764,
-0.008286558091640472,
-0.005023600533604622,
0.022612472996115685,
0.0002682033518794924,
0.02744797058403492,
-0.000040598868508823216,
0.04390070214867592,
0.038764238357543945,
0.030036266893148422,
0.04859574884176254,
-0.0034736329689621925,
0.015549837611615658,
0.039446424692869186,
0.043619800359010696,
0.01053376030176878,
-0.018298646435141563,
0.042937614023685455,
-0.024037038907408714,
0.04546571895480156,
-0.00742379343137145,
-0.07227163016796112,
0.08427008241415024,
0.011356397531926632,
-0.02455870993435383,
0.06950275599956512,
-0.007805014960467815,
0.015981219708919525,
-0.022572344169020653,
0.0034034079872071743,
-0.06705491244792938,
0.04345928877592087,
-0.026384562253952026,
0.020014144480228424,
0.030999353155493736,
-0.03087896667420864,
0.001509839086793363,
-0.03804192319512367,
0.0011837941128760576,
-0.045786745846271515,
0.044261857867240906,
-0.04650906100869179,
0.021689515560865402,
0.04767278954386711,
0.034450411796569824,
-0.013854403048753738,
0.04767278954386711,
0.043419159948825836,
-0.01450649369508028,
-0.022451957687735558,
-0.010724371299147606,
0.04739189147949219,
0.07150918990373611,
0.05838713049888611,
-0.01869993284344673,
0.011898133903741837,
0.005633053835481405,
0.08659754693508148,
-0.011817876249551773,
-0.022552279755473137,
0.00009632434375816956,
-0.020345207303762436,
-0.05329079553484917,
-0.05309015512466431,
-0.00014115552767179906,
-0.038964882493019104,
-0.01428578607738018,
-0.03134044632315636,
-0.025421475991606712,
0.04012861102819443,
-0.030718453228473663,
-0.07471947371959686,
-0.00024751201272010803,
0.047151118516922,
0.06416565179824829,
-0.008447072468698025,
0.031440768390893936,
0.050642307847738266,
0.024277810007333755,
0.03960694000124931,
-0.02951459400355816,
-0.063042052090168,
0.010553824715316296,
0.018910609185695648,
0.02578263357281685,
0.08924603462219238,
0.06512873619794846,
-0.05092320963740349,
0.016412602737545967,
0.05814635753631592,
-0.012169001623988152,
0.02435806766152382,
-0.0022421861067414284,
-0.004366494715213776,
0.022191122174263,
-0.006390481721609831,
0.03435009345412254,
0.017094789072871208,
0.06187831982970238,
0.03126018866896629,
0.02459883876144886,
0.017225205898284912,
0.009776333346962929,
0.02110764943063259,
-0.023836394771933556,
0.009395111352205276,
-0.058547645807266235,
0.01958276331424713,
0.03695845231413841,
-0.072111114859581,
0.019763341173529625,
0.00020032955217175186,
-0.014345979318022728,
-0.014947907999157906,
0.0031801925506442785,
-0.004617298487573862,
-0.014667008072137833,
0.003684308147057891,
-0.04550584778189659,
0.035273049026727676,
0.06376436352729797,
-0.030216844752430916,
0.0019374595722183585,
0.010764500126242638,
0.011918197385966778,
0.00040755621739663184,
-0.028551507741212845,
0.06653323769569397,
-0.05397298187017441,
-0.02375613898038864,
0.018047843128442764,
0.05955085903406143,
0.03691832348704338,
-0.011336333118379116,
0.028952794149518013,
-0.0479135625064373,
0.0022120897192507982,
0.007970545440912247,
0.07688642293214798,
0.03880436718463898,
0.029815558344125748,
0.0047251442447304726
] |
719,509
|
ibm_platform_services.global_catalog_v1
|
__init__
|
Construct a new client for the Global Catalog service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md
about initializing the authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the Global Catalog service.
:param Authenticator authenticator: The authenticator specifies the authentication mechanism.
Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md
about initializing the authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.028402678668498993,
-0.0718989297747612,
-0.0020342397037893534,
-0.013206874020397663,
0.012147350236773491,
-0.03699040040373802,
-0.0014684631023555994,
0.022547414526343346,
0.022863412275910378,
-0.021580832079052925,
-0.015446744859218597,
0.003585187718272209,
-0.05751170590519905,
-0.01474968995898962,
-0.027900798246264458,
0.040484968572854996,
-0.023606939241290092,
-0.015047099441289902,
-0.012063703499734402,
-0.08550544828176498,
0.030800549313426018,
0.02591186761856079,
0.007337668444961309,
0.025409989058971405,
0.06137803941965103,
0.05955640226602554,
-0.01093912124633789,
0.00382915697991848,
0.01340204942971468,
-0.020893070846796036,
-0.009981831535696983,
-0.004665623418986797,
-0.03271512687206268,
0.05331078916788101,
0.03992732614278793,
-0.017128972336649895,
0.03892356529831886,
-0.015688391402363777,
-0.046210117638111115,
0.013253344222903252,
-0.0009567083907313645,
-0.01656203344464302,
0.07227069139480591,
-0.019963663071393967,
0.01338346116244793,
0.050150804221630096,
0.018578846007585526,
0.003250601002946496,
0.013216167688369751,
0.020335426554083824,
-0.0503738597035408,
0.015093570575118065,
0.0006534893182106316,
-0.004921210464090109,
-0.0371948704123497,
0.01814202591776848,
0.030168551951646805,
0.01269569993019104,
-0.08989224582910538,
0.05212114751338959,
-0.05111738666892052,
-0.02228718064725399,
-0.016952384263277054,
-0.019536135718226433,
-0.009112835861742496,
-0.004728358238935471,
-0.05401713773608208,
0.027696330100297928,
0.015772037208080292,
0.019889310002326965,
0.04509482905268669,
0.022101299837231636,
-0.026748334988951683,
-0.019647665321826935,
0.024238934740424156,
-0.013810988515615463,
-0.012807228602468967,
-0.011069238185882568,
-0.005121032707393169,
-0.03223183751106262,
-0.019052844494581223,
-0.02308647148311138,
0.02107895165681839,
0.02949937991797924,
0.036823105067014694,
0.020242484286427498,
-0.007667608093470335,
-0.015985801815986633,
0.0057251472026109695,
0.0745384469628334,
-0.021543655544519424,
0.005567148327827454,
0.0016462121857330203,
0.045206356793642044,
-0.019443195313215256,
-0.03624687343835831,
-0.01787249743938446,
-0.019554724916815758,
0.02325376309454441,
0.03628405183553696,
-0.0051349736750125885,
-0.026302218437194824,
0.0038640096317976713,
-0.006882259156554937,
0.008118370547890663,
-0.015641920268535614,
-0.010632416233420372,
-0.013429931364953518,
0.04940727725625038,
0.03505723178386688,
0.02059566043317318,
0.009159306064248085,
0.006738200783729553,
-0.0026766923256218433,
-0.05364537239074707,
0.040559321641922,
0.06386885046958923,
-0.009247600100934505,
0.02918338030576706,
0.0227332953363657,
-0.03509441018104553,
-0.055281128734350204,
0.029109029099345207,
0.012955933809280396,
0.012862993404269218,
-0.0013627430889755487,
-0.007216845639050007,
0.006431496702134609,
-0.022064123302698135,
0.010623122565448284,
0.06866458803415298,
-0.05167503282427788,
0.019368842244148254,
-0.00902454275637865,
0.05360819771885872,
-0.02366270311176777,
0.03407206013798714,
0.029332086443901062,
-0.05591312795877457,
0.1004503145813942,
-0.0029787495732307434,
0.03143254667520523,
-0.06398037821054459,
0.040076032280921936,
-0.007360903546214104,
0.04122849553823471,
-0.03660004958510399,
-0.01618097722530365,
-0.025075402110815048,
-0.018578846007585526,
-0.050968680530786514,
-0.015223687514662743,
0.01328122615814209,
-0.010204888880252838,
-0.024090230464935303,
0.0035712465178221464,
-0.006900847423821688,
-0.057177118957042694,
0.02132059819996357,
-0.015957918018102646,
-0.01410839892923832,
-0.008164840750396252,
0.014154869131743908,
-0.069259412586689,
-0.02628363110125065,
-0.014954159036278725,
-0.07249374687671661,
-0.03187866136431694,
-0.05617336183786392,
-0.009270834736526012,
-0.04825481399893761,
-0.05446325242519379,
-0.09680704027414322,
-0.0550580732524395,
0.030373021960258484,
0.019034255295991898,
0.051489148288965225,
0.010929826647043228,
-0.008583073504269123,
0.03107937052845955,
0.020465543493628502,
-0.008206663653254509,
-0.04609858989715576,
-0.00841578096151352,
0.014898395165801048,
-0.00337607110850513,
0.07978030294179916,
0.01959189958870411,
0.04966751113533974,
0.010400064289569855,
-0.0029160145204514265,
0.036860283464193344,
0.012807228602468967,
0.023811407387256622,
0.017928261309862137,
-0.02656245231628418,
0.03275230526924133,
-0.011924291960895061,
-0.06840435415506363,
0.04107978940010071,
-0.006519790273159742,
0.07491020858287811,
0.006361790932714939,
-0.005553206894546747,
0.08513368666172028,
-0.0037803631275892258,
0.009252247400581837,
-0.03936968371272087,
-0.081564761698246,
-0.02990831807255745,
-0.02659962885081768,
-0.007370197679847479,
0.007184316404163837,
-0.0005108834011480212,
-0.04204637557268143,
0.0478086993098259,
0.01959189958870411,
-0.011812763288617134,
0.014600984752178192,
0.02756621316075325,
0.08944613486528397,
0.0074073742143809795,
0.06096910312771797,
-0.05572724714875221,
-0.02760338969528675,
0.02676692232489586,
0.00609691021963954,
-0.019740605726838112,
-0.04650752618908882,
-0.03832874447107315,
-0.015827801078557968,
0.0101398304104805,
0.0011472367914393544,
0.04260401800274849,
-0.026729745790362358,
-0.09405599534511566,
0.040038853883743286,
0.015288745984435081,
-0.05587594956159592,
0.03087490238249302,
0.028198208659887314,
0.06985422968864441,
0.011961468495428562,
0.03989015147089958,
-0.08691814541816711,
-0.006924082525074482,
-0.02583751641213894,
0.033031124621629715,
0.029648084193468094,
0.02845844253897667,
-0.04360777884721756,
-0.04130284860730171,
-0.022621767595410347,
-0.02542857639491558,
0.01763085089623928,
-0.05743735283613205,
-0.09152800589799881,
0.004126567393541336,
0.03392335772514343,
-0.003164630848914385,
-0.029276320710778236,
0.028793029487133026,
-0.05156350135803223,
0.06665707379579544,
0.006468672771006823,
0.022157063707709312,
0.03959273919463158,
-0.017891084775328636,
0.07754972577095032,
0.011924291960895061,
0.1720518320798874,
0.023328116163611412,
0.027343155816197395,
0.02308647148311138,
-0.0031042194459587336,
-0.04650752618908882,
-0.008462251164019108,
-0.028607148677110672,
-0.06524437665939331,
0.007221492473036051,
0.02269612066447735,
0.022882001474499702,
0.04974186420440674,
0.03295677527785301,
-0.027919387444853783,
-0.022157063707709312,
0.00004817668377654627,
-0.045317888259887695,
-0.04160025715827942,
-0.007960371673107147,
-0.0008771278662607074,
0.042938604950904846,
0.00817413441836834,
-0.01742638275027275,
0.01717544160783291,
-0.0095728924497962,
-0.028272561728954315,
-0.03171136975288391,
-0.005678677000105381,
-0.03392335772514343,
-0.004842210561037064,
0.018857669085264206,
0.0010287374025210738,
0.021394949406385422,
0.009136071428656578,
-0.044388480484485626,
0.0026371923740953207,
0.019498959183692932,
-0.02619069069623947,
0.023625526577234268,
-0.002344429260119796,
0.02998267114162445,
-0.02531704679131508,
-0.03743651509284973,
-0.0017286970978602767,
0.05885005369782448,
0.007816312834620476,
-0.07955724000930786,
0.017379911616444588,
0.022417297586798668,
-0.04542941600084305,
0.027175862342119217,
-0.025484340265393257,
-0.0370461642742157,
-0.021859653294086456,
0.00012757563672494143,
-0.0017763292416930199,
0.0647239089012146,
0.005404501687735319,
0.018792610615491867,
-0.04464871436357498,
0.046284470707178116,
-0.015288745984435081,
0.0027092215605080128,
-0.0069101410917937756,
-0.06833000481128693,
0.0032134249340742826,
-0.07368338853120804,
-0.05048539116978645,
-0.04316166415810585,
0.01635756343603134,
-0.036897458136081696,
-0.041414376348257065,
-0.000027991125534754246,
-0.034481000155210495,
0.007927842438220978,
0.010065478272736073,
-0.08193652331829071,
0.016720032319426537,
-0.08007770776748657,
-0.03094925358891487,
0.0036943929735571146,
0.009066365659236908,
0.06951964646577835,
0.01887625642120838,
0.03022431582212448,
-0.031209487468004227,
-0.008601661771535873,
0.007542137987911701,
-0.013550754636526108,
0.014489456079900265,
0.03280806913971901,
0.02204553410410881,
0.028904559090733528,
-0.05383125692605972,
-0.04397954046726227,
0.01511215791106224,
-0.016292504966259003,
0.039072271436452866,
0.021450715139508247,
0.007444550283253193,
-0.09539433568716049,
0.026785511523485184,
0.02184106595814228,
0.007421315182000399,
0.017277676612138748,
-0.018272142857313156,
-0.031413957476615906,
-0.0479574017226696,
0.024090230464935303,
0.007532843854278326,
0.06476107984781265,
0.006705671548843384,
0.051451973617076874,
0.03498288244009018,
-0.030057024210691452,
-0.0014800806529819965,
0.03832874447107315,
0.006143380422145128,
0.047622814774513245,
-0.021339185535907745,
-0.03087490238249302,
-0.0006819523987360299,
-0.013625106774270535,
0.02974102459847927,
-0.04029908776283264,
-0.054909367114305496,
-0.026450924575328827,
0.0003720532404258847,
-0.020577071234583855,
0.018811197951436043,
0.010753239504992962,
0.07137846201658249,
-0.023235175758600235,
-0.031376782804727554,
-0.0006267688586376607,
0.025688810274004936,
-0.058180879801511765,
0.022435884922742844,
-0.002178297843784094,
-0.003966244403272867,
0.00814160518348217,
-0.01462886668741703,
-0.024815168231725693,
-0.02793797478079796,
-0.002038886770606041,
-0.06137803941965103,
0.04033626616001129,
0.02712009660899639,
0.023755643516778946,
0.012862993404269218,
0.00256981048732996,
0.011013473384082317,
0.011729116551578045,
-0.003513158531859517,
0.03344006463885307,
-0.01146888267248869,
0.024796579033136368,
0.01462886668741703,
-0.09256894141435623,
0.022956354543566704,
0.06316250562667847,
0.017342735081911087,
-0.05089432746171951,
-0.008689955808222294,
0.035968050360679626,
-0.054946545511484146,
-0.03304971382021904,
0.0017565792659297585,
-0.006947317626327276,
-0.04405389353632927,
-0.07784713059663773,
-0.023142235353589058,
-0.02784503437578678,
-0.009103542193770409,
-0.03288242220878601,
-0.07520762085914612,
0.0192573145031929,
0.08044946938753128,
-0.004554094281047583,
0.033867593854665756,
-0.02304929494857788,
0.01076253317296505,
-0.012519112788140774,
-0.01942460611462593,
-0.057771939784288406,
0.029109029099345207,
0.03542899712920189,
0.01029783021658659,
0.001221008482389152,
-0.018300024792551994,
-0.031544074416160583,
0.02925773337483406,
-0.02184106595814228,
0.036488521844148636,
0.019294489175081253,
0.008155547082424164,
0.03401629626750946,
-0.024926695972681046,
-0.004842210561037064,
-0.02135777287185192,
0.0045006535947322845,
0.028681501746177673,
0.04468588903546333,
0.018894845619797707,
0.04989057034254074,
0.007802371867001057,
-0.01814202591776848,
-0.057734765112400055,
0.009944655001163483,
0.02974102459847927,
0.02414599433541298,
-0.01471251342445612,
-0.00831354595720768,
-0.04598705843091011,
-0.005678677000105381,
0.02866291254758835,
-0.014257104136049747,
0.036897458136081696,
-0.03706475347280502,
-0.0025442517362535,
0.11598999798297882,
-0.026432335376739502,
0.043793659657239914,
0.08253134787082672,
0.015223687514662743,
0.03775251284241676,
0.02825397439301014,
0.017194030806422234,
0.06992858648300171,
-0.008820072747766972,
-0.03706475347280502,
-0.000053803953051101416,
-0.025372812524437904,
0.049109868705272675,
-0.03539181873202324,
-0.09851714223623276,
0.013039580546319485,
0.016404034569859505,
-0.008583073504269123,
0.009001307189464569,
-0.01777026243507862,
0.003575893584638834,
-0.03715769201517105,
-0.032380539923906326,
0.011747704818844795,
-0.07888806611299515,
-0.03552193567156792,
-0.039964500814676285,
0.001561403856612742,
-0.016153093427419662,
-0.004911916330456734,
-0.03656287118792534,
0.0034434529952704906,
-0.0074863736517727375,
-0.03370029851794243,
-0.002976425923407078,
-0.04160025715827942,
0.00822525192052126,
0.0006627833936363459,
-0.0228076484054327,
0.0027626624796539545,
-0.05357102304697037,
-0.026581041514873505,
-0.003566599451005459,
0.014916982501745224,
-0.11182625591754913,
-0.039035096764564514,
0.029406437650322914,
-0.06777235865592957,
0.027454683557152748,
0.028588559478521347,
-0.001166986650787294,
0.005920322611927986,
-0.023383881896734238,
-0.017156854271888733,
-0.04156308248639107,
-0.01983354613184929,
-0.01219382043927908,
0.007941783405840397,
0.061563920229673386,
-0.01076253317296505,
-0.011255118995904922,
-0.021023187786340714,
-0.026729745790362358,
0.018820492550730705,
0.035930875688791275,
-0.050522565841674805,
0.011980056762695312,
0.013671577908098698,
0.005032739136368036,
0.041897669434547424,
-0.04806893318891525,
0.011868528090417385,
0.05416584014892578,
0.010994885116815567,
0.019294489175081253,
-0.014303574338555336,
-0.022268593311309814,
0.012965228408575058,
0.017119677737355232,
-0.07223351299762726,
-0.0037571280263364315,
0.10171430557966232,
-0.06635966151952744,
0.06569048762321472,
0.02812385745346546,
0.004647035151720047,
0.039072271436452866,
-0.036005228757858276,
0.018671786412596703,
0.023625526577234268,
-0.007365550845861435,
-0.05174938216805458,
-0.016190269961953163,
0.025242695584893227,
-0.022175651043653488,
-0.03624687343835831,
-0.013950399123132229,
-0.0074073742143809795,
-0.041005440056324005,
-0.045726824551820755,
0.016255328431725502,
-0.0358751118183136,
-0.06539307534694672,
0.023811407387256622,
0.014545219950377941,
-0.005674030166119337,
0.03974144533276558,
0.04126567393541336,
-0.03626546263694763,
0.060114048421382904,
0.00549279572442174,
0.01525156944990158,
0.017333440482616425,
-0.014154869131743908,
-0.06037428230047226,
-0.01277934666723013,
-0.03176713362336159,
0.04323601350188255,
-0.02801232784986496,
0.018309319391846657,
-0.01404334045946598,
-0.006222379859536886,
0.004939798265695572,
0.007797725033015013,
-0.012184525839984417,
0.02422034740447998,
0.04643317684531212,
0.015288745984435081,
0.0027882209978997707,
-0.0030252200085669756,
-0.009953949600458145,
0.025614457204937935,
-0.07821889966726303,
0.0007400403264909983,
0.026655394583940506,
-0.044388480484485626,
-0.0022398708388209343,
-0.004795740358531475,
-0.013476401567459106,
0.0031925132498145103,
-0.006575554609298706,
0.0010595240164548159,
0.060597337782382965,
0.019034255295991898,
0.032380539923906326,
0.020130956545472145,
0.029350673779845238,
0.0312652513384819,
0.013615813106298447,
0.02011236734688282,
0.032436303794384,
0.015102864243090153,
-0.024647874757647514,
0.023439645767211914,
-0.044351302087306976,
-0.03414641320705414,
0.06037428230047226,
0.011310883797705173,
-0.02228718064725399,
0.04680493846535683,
0.010102654807269573,
-0.0004173618508502841,
-0.043793659657239914,
-0.0478086993098259,
-0.042938604950904846,
0.06799542158842087,
0.0020319160539656878,
0.0014684631023555994,
-0.009684421122074127,
0.040968261659145355,
0.042864251881837845,
0.046693410724401474,
0.013773811981081963,
-0.0574001781642437,
0.027213038876652718,
-0.054909367114305496,
0.04427695274353027,
0.019554724916815758,
0.056842535734176636,
0.03715769201517105,
-0.0027161920443177223,
0.056768182665109634,
-0.014805453829467297,
-0.0017321823397651315,
0.010037596337497234,
-0.020651424303650856,
0.07595114409923553,
0.04609858989715576,
-0.04022473469376564,
0.009140717796981335,
-0.008634191006422043,
0.010994885116815567,
-0.008485485799610615,
-0.019313078373670578,
0.03604240342974663,
0.019164372235536575,
-0.0576232373714447,
-0.08840519934892654,
-0.026060573756694794,
-0.020651424303650856,
-0.007170375436544418,
-0.01146888267248869,
-0.004338007420301437,
0.061154983937740326,
-0.023625526577234268,
-0.11234672367572784,
0.004549447447061539,
0.03481558710336685,
0.06167545169591904,
-0.0067567890509963036,
-0.014666043221950531,
0.07829324901103973,
0.010827591642737389,
0.043384719640016556,
0.03607958182692528,
-0.049147043377161026,
0.023681290447711945,
-0.0029299557209014893,
0.04739975929260254,
0.0503738597035408,
0.02293776534497738,
-0.015818508341908455,
0.021209068596363068,
0.05736300349235535,
-0.0502995103597641,
0.028346914798021317,
-0.0454665906727314,
-0.02308647148311138,
0.0010450020199641585,
-0.00438215397298336,
0.01718473620712757,
-0.05048539116978645,
0.08505932986736298,
0.030131375417113304,
-0.024852344766259193,
0.017891084775328636,
0.011914998292922974,
0.041525907814502716,
-0.03256642073392868,
-0.046656232327222824,
-0.06814412027597427,
0.06609942764043808,
0.01815131865441799,
-0.032863833010196686,
-0.00011087535676779225,
0.03394194319844246,
0.02663680538535118,
0.018578846007585526,
-0.014786865562200546,
0.017379911616444588,
-0.0005959822447039187,
0.03840309754014015,
-0.055838774889707565,
0.03922097757458687,
0.03494570404291153,
-0.05829240754246712,
0.015270157717168331,
0.03825439512729645,
-0.020688600838184357,
0.001839064178057015,
-0.029555143788456917,
0.04163743555545807,
-0.054388899356126785,
-0.05609900876879692,
0.005543912760913372,
0.0060876160860061646,
0.019610488787293434,
-0.0008196208509616554,
0.009493893012404442,
-0.036823105067014694,
0.06420344114303589,
-0.04409106820821762,
0.043421898037195206,
0.037659574300050735,
0.030317258089780807,
0.007170375436544418
] |
719,515
|
ibm_platform_services.global_catalog_v1
|
create_catalog_entry
|
Create a catalog entry.
The created catalog entry is restricted by default. You must have an administrator
or editor role in the scope of the provided token. This API will return an ETag
that can be used for standard ETag processing, except when depth query is used.
:param str name: Programmatic name for this catalog entry, which must be
formatted like a CRN segment. See the display name in OverviewUI for a
user-readable name.
:param str kind: The type of catalog entry, **service**, **template**,
**dashboard**, which determines the type and shape of the object.
:param dict overview_ui: Overview is nested in the top level. The key value
pair is `[_language_]overview_ui`.
:param Image images: Image annotation for this catalog entry. The image is
a URL.
:param bool disabled: Boolean value that determines the global visibility
for the catalog entry, and its children. If it is not enabled, all plans
are disabled.
:param List[str] tags: A list of tags. For example, IBM, 3rd Party, Beta,
GA, and Single Tenant.
:param Provider provider: Information related to the provider associated
with a catalog entry.
:param str id: Catalog entry's unique ID. It's the same across all catalog
instances.
:param str parent_id: (optional) The ID of the parent catalog entry if it
exists.
:param bool group: (optional) Boolean value that determines whether the
catalog entry is a group.
:param bool active: (optional) Boolean value that describes whether the
service is active.
:param ObjectMetadataSet metadata: (optional) Model used to describe
metadata object that can be set.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `CatalogEntry` object
|
def create_catalog_entry(
self,
name: str,
kind: str,
overview_ui: dict,
images: 'Image',
disabled: bool,
tags: List[str],
provider: 'Provider',
id: str,
*,
parent_id: str = None,
group: bool = None,
active: bool = None,
metadata: 'ObjectMetadataSet' = None,
account: str = None,
**kwargs
) -> DetailedResponse:
"""
Create a catalog entry.
The created catalog entry is restricted by default. You must have an administrator
or editor role in the scope of the provided token. This API will return an ETag
that can be used for standard ETag processing, except when depth query is used.
:param str name: Programmatic name for this catalog entry, which must be
formatted like a CRN segment. See the display name in OverviewUI for a
user-readable name.
:param str kind: The type of catalog entry, **service**, **template**,
**dashboard**, which determines the type and shape of the object.
:param dict overview_ui: Overview is nested in the top level. The key value
pair is `[_language_]overview_ui`.
:param Image images: Image annotation for this catalog entry. The image is
a URL.
:param bool disabled: Boolean value that determines the global visibility
for the catalog entry, and its children. If it is not enabled, all plans
are disabled.
:param List[str] tags: A list of tags. For example, IBM, 3rd Party, Beta,
GA, and Single Tenant.
:param Provider provider: Information related to the provider associated
with a catalog entry.
:param str id: Catalog entry's unique ID. It's the same across all catalog
instances.
:param str parent_id: (optional) The ID of the parent catalog entry if it
exists.
:param bool group: (optional) Boolean value that determines whether the
catalog entry is a group.
:param bool active: (optional) Boolean value that describes whether the
service is active.
:param ObjectMetadataSet metadata: (optional) Model used to describe
metadata object that can be set.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `CatalogEntry` object
"""
if name is None:
raise ValueError('name must be provided')
if kind is None:
raise ValueError('kind must be provided')
if overview_ui is None:
raise ValueError('overview_ui must be provided')
if images is None:
raise ValueError('images must be provided')
if disabled is None:
raise ValueError('disabled must be provided')
if tags is None:
raise ValueError('tags must be provided')
if provider is None:
raise ValueError('provider must be provided')
if id is None:
raise ValueError('id must be provided')
images = convert_model(images)
provider = convert_model(provider)
if metadata is not None:
metadata = convert_model(metadata)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='create_catalog_entry'
)
headers.update(sdk_headers)
params = {'account': account}
data = {
'name': name,
'kind': kind,
'overview_ui': overview_ui,
'images': images,
'disabled': disabled,
'tags': tags,
'provider': provider,
'id': id,
'parent_id': parent_id,
'group': group,
'active': active,
'metadata': metadata,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
url = '/'
request = self.prepare_request(method='POST', url=url, headers=headers, params=params, data=data)
response = self.send(request)
return response
|
(self, name: str, kind: str, overview_ui: dict, images: ibm_platform_services.global_catalog_v1.Image, disabled: bool, tags: List[str], provider: ibm_platform_services.global_catalog_v1.Provider, id: str, *, parent_id: Optional[str] = None, group: Optional[bool] = None, active: Optional[bool] = None, metadata: Optional[ibm_platform_services.global_catalog_v1.ObjectMetadataSet] = None, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04565014690160751,
-0.0005274154827930033,
-0.017786510288715363,
-0.03462592139840126,
0.015276698395609856,
-0.03352728486061096,
0.018525246530771255,
0.019396577030420303,
-0.00878433883190155,
-0.01844000816345215,
-0.005758358631283045,
0.04905970022082329,
-0.012804771773517132,
-0.03902045637369156,
-0.020097428932785988,
-0.01728454791009426,
-0.04636994004249573,
0.013893934898078442,
-0.04405902326107025,
-0.030932236462831497,
0.03570561110973358,
-0.02273036353290081,
0.0018184290966019034,
-0.011601956561207771,
0.07557845860719681,
0.031292133033275604,
0.0579245425760746,
-0.00025941620697267354,
-0.022806132212281227,
0.03420919552445412,
0.007870388217270374,
0.00813084002584219,
0.00690434779971838,
0.0475822277367115,
-0.017436083406209946,
-0.02515493519604206,
-0.024965515360236168,
-0.028071999549865723,
-0.041823867708444595,
0.03729673847556114,
0.021215006709098816,
0.04811260476708412,
-0.0009482823661528528,
-0.027257494628429413,
0.023620635271072388,
0.03655800223350525,
0.0291895754635334,
-0.021859033033251762,
-0.05269655957818031,
-0.01701935939490795,
-0.041558682918548584,
0.011971324682235718,
0.003677109954878688,
-0.00010899031622102484,
-0.0076714977622032166,
-0.025514833629131317,
0.003201192943379283,
0.010863219387829304,
-0.05303751677274704,
0.004567382391542196,
-0.02134759910404682,
0.028318244963884354,
-0.014992568641901016,
0.02028684876859188,
-0.043452877551317215,
0.03977813571691513,
-0.01598702184855938,
-0.011005284264683723,
-0.004697608295828104,
0.03657694160938263,
0.01395076047629118,
-0.02163172885775566,
0.008718041703104973,
-0.030250325798988342,
-0.0012016311520710588,
0.03712626174092293,
0.055916693061590195,
-0.04655935987830162,
0.010200250893831253,
-0.010351786389946938,
-0.046710897237062454,
-0.0759572982788086,
0.05121908709406853,
0.032106637954711914,
0.04599110409617424,
0.050196219235658646,
0.0006091027171351016,
-0.011014755815267563,
-0.03174674138426781,
0.05114331841468811,
0.010901103727519512,
-0.026746060699224472,
-0.05800031125545502,
0.008348673582077026,
-0.011687194928526878,
-0.023866882547736168,
0.03714520111680031,
-0.035288888961076736,
0.05549997091293335,
0.024813979864120483,
0.039399296045303345,
-0.07235832512378693,
0.005786771886050701,
-0.01917874440550804,
0.005995133426040411,
-0.040194857865571976,
-0.002907592337578535,
0.05148427188396454,
-0.06356924772262573,
0.04864297807216644,
0.018032755702733994,
-0.023431217297911644,
-0.022654594853520393,
-0.025666369125247,
-0.055348433554172516,
-0.022389408200979233,
-0.005393725819885731,
0.0048444089479744434,
-0.02542012371122837,
-0.05148427188396454,
0.009068467654287815,
-0.058909524232149124,
0.00008250115934060887,
-0.0508781298995018,
-0.006047223694622517,
-0.0131078427657485,
-0.04011909291148186,
0.003975445870310068,
-0.04875662922859192,
-0.0055642034858465195,
-0.005625764839351177,
0.0002027382724918425,
-0.012937365099787712,
0.010598031803965569,
0.01230280939489603,
-0.025306470692157745,
0.02381005510687828,
0.013051017187535763,
-0.040725234895944595,
0.04678666591644287,
0.010342315770685673,
0.0010323373135179281,
-0.016062790527939796,
0.031841449439525604,
-0.06758494675159454,
-0.08758766949176788,
-0.03445544093847275,
-0.039096225053071976,
-0.032352883368730545,
0.0034853224642574787,
-0.017170894891023636,
-0.03244759514927864,
-0.011431478895246983,
0.03083752654492855,
0.031254250556230545,
-0.022048452869057655,
0.021840091794729233,
-0.03174674138426781,
0.01732243038713932,
0.046938199549913406,
0.006724399048835039,
-0.0037292002234607935,
0.06118256226181984,
-0.030136672779917717,
-0.029871486127376556,
-0.013751870021224022,
-0.03676636144518852,
0.002746585523709655,
0.003857058472931385,
0.006160875782370567,
-0.012388047762215137,
-0.006113520823419094,
-0.04875662922859192,
-0.009025848470628262,
-0.09311871975660324,
-0.01945340260863304,
0.07535115629434586,
-0.03629281371831894,
0.021726438775658607,
-0.03087541088461876,
-0.030970120802521706,
-0.0422784760594368,
0.029454762116074562,
0.06175082176923752,
0.00962252076715231,
-0.03059128113090992,
0.041785985231399536,
0.028469780460000038,
0.029606299474835396,
0.005322693381458521,
-0.001176177873276174,
-0.014746323227882385,
-0.024813979864120483,
-0.02439725771546364,
-0.04224059358239174,
-0.012691119685769081,
0.003272225148975849,
-0.004027536138892174,
0.02737114578485489,
-0.013590862974524498,
-0.0340387187898159,
0.002055203774943948,
0.0590231791138649,
-0.012634294107556343,
0.09084568917751312,
0.035288888961076736,
0.00797456968575716,
-0.06504672020673752,
-0.029284285381436348,
-0.015475588850677013,
0.018013812601566315,
0.039626602083444595,
-0.012710061855614185,
0.04049793258309364,
-0.021309716627001762,
-0.010086598806083202,
0.007235832512378693,
-0.021991627290844917,
-0.0013306733453646302,
-0.022654594853520393,
-0.0482262559235096,
-0.002535856096073985,
0.024567734450101852,
-0.00743472296744585,
-0.030458686873316765,
-0.03384929895401001,
0.07572999596595764,
0.045044004917144775,
0.029568415135145187,
-0.03790288046002388,
-0.10781769454479218,
-0.07307811826467514,
-0.009954005479812622,
0.012852126732468605,
-0.058833759278059006,
-0.025912614539265633,
0.03653905913233757,
-0.007519961800426245,
0.0028957535978406668,
0.01922609843313694,
0.05489382892847061,
0.019084034487605095,
-0.041293494403362274,
0.03712626174092293,
-0.06137198209762573,
-0.018070638179779053,
-0.047203388065099716,
0.029852544888854027,
-0.033394694328308105,
-0.10743885487318039,
-0.00005708488242817111,
-0.019415518268942833,
0.046407826244831085,
-0.021726438775658607,
0.06754706054925919,
-0.07254774123430252,
-0.024700328707695007,
-0.05932625010609627,
0.07580576092004776,
-0.06084160506725311,
-0.019301867112517357,
-0.024776095524430275,
-0.01594913937151432,
0.05470440909266472,
0.03275066614151001,
-0.03811124339699745,
0.005611558444797993,
-0.02189691737294197,
0.05815184861421585,
0.018799904733896255,
0.003648696932941675,
0.08463271707296371,
0.016867823898792267,
0.03322421386837959,
-0.021461252123117447,
-0.01165878213942051,
0.010190779343247414,
-0.022919783368706703,
-0.06008392944931984,
-0.012208099476993084,
-0.0024103657342493534,
-0.025571659207344055,
-0.016299564391374588,
0.02517387829720974,
0.042354244738817215,
-0.06110679358243942,
-0.008168724365532398,
0.00521851284429431,
-0.0455743782222271,
0.007240567822009325,
0.003016508650034666,
0.08008664846420288,
-0.04951430857181549,
-0.04030851274728775,
-0.03464486077427864,
0.01286159735172987,
-0.10145319253206253,
-0.04087677225470543,
0.002538223983719945,
-0.00796509813517332,
-0.008097692392766476,
0.005251660943031311,
0.04114195704460144,
-0.046407826244831085,
-0.04655935987830162,
0.016157500445842743,
0.02030579186975956,
0.0055642034858465195,
0.0016692610224708915,
0.015816545113921165,
0.029170632362365723,
0.061561401933431625,
0.009011642076075077,
0.013704515062272549,
-0.08228391408920288,
0.02331756427884102,
0.043718066066503525,
-0.04201328754425049,
0.004761537536978722,
0.030648106709122658,
0.002542959526181221,
0.021177122369408607,
-0.07061566412448883,
-0.046938199549913406,
0.126835435628891,
-0.0623190812766552,
0.0519767664372921,
-0.0075246975757181644,
0.03447438403964043,
-0.002983360318467021,
0.007160064298659563,
0.013041546568274498,
0.016072262078523636,
0.05114331841468811,
-0.03809230029582977,
0.013268849812448025,
-0.012293337844312191,
-0.07872282713651657,
-0.025798963382840157,
-0.03004196472465992,
0.03085646778345108,
0.032921142876148224,
-0.04894604906439781,
-0.009717230685055256,
-0.049135468900203705,
0.008609125390648842,
0.1167583018541336,
-0.06849416345357895,
0.002722908044233918,
-0.002206739503890276,
-0.043680183589458466,
-0.04356652870774269,
0.049135468900203705,
0.02350698411464691,
0.06084160506725311,
-0.0022978975903242826,
-0.024454083293676376,
-0.049665845930576324,
-0.02598838321864605,
-0.05894741043448448,
0.03417131304740906,
-0.012691119685769081,
-0.006634424906224012,
0.024529850110411644,
-0.05084024742245674,
-0.06379655748605728,
-0.0015200930647552013,
0.003009405452758074,
0.02954947203397751,
-0.02244623377919197,
0.00785144604742527,
-0.04064946621656418,
0.012492229230701923,
0.04254366457462311,
0.02352592721581459,
-0.024151010438799858,
-0.005464758258312941,
-0.02782575413584709,
-0.05470440909266472,
0.03434178978204727,
0.04011909291148186,
0.0645163506269455,
-0.04898393526673317,
-0.01028548926115036,
0.023696403950452805,
-0.04678666591644287,
0.03699366748332977,
0.04837778955698013,
0.002647140296176076,
-0.0241131279617548,
-0.006104049738496542,
0.0051474804058671,
0.03256124630570412,
0.020722514018416405,
0.05773512274026871,
-0.029378995299339294,
0.01703830249607563,
-0.016327977180480957,
-0.055348433554172516,
0.011753492057323456,
0.022692479193210602,
0.018222175538539886,
0.06856992840766907,
-0.008760660886764526,
0.0032911673188209534,
-0.09167913347482681,
0.05459075793623924,
-0.022029511630535126,
-0.019548112526535988,
0.010550676845014095,
0.03494793549180031,
-0.01095792930573225,
0.003965974785387516,
-0.03920987620949745,
-0.036917898803949356,
0.05981874093413353,
-0.002602152992039919,
0.0335841104388237,
-0.08046548813581467,
-0.02954947203397751,
0.02733326144516468,
0.035004761070013046,
0.014414838515222073,
0.0574699342250824,
-0.01729401759803295,
0.01353403739631176,
-0.018619956448674202,
0.019699648022651672,
0.01067379955202341,
-0.092967189848423,
0.01420647744089365,
-0.02602626569569111,
0.014632671140134335,
-0.00037943132338114083,
0.015030452981591225,
-0.022635653614997864,
0.00891693215817213,
-0.03646329045295715,
-0.02195374295115471,
0.03932352736592293,
-0.01926398277282715,
-0.06360713392496109,
0.022332582622766495,
-0.012141802348196507,
-0.014007586985826492,
0.01502098236232996,
0.007022735197097063,
-0.023734288290143013,
0.05675014108419418,
-0.017786510288715363,
0.07675286382436752,
0.023753229528665543,
0.050196219235658646,
0.0131078427657485,
-0.06106891110539436,
-0.09266411513090134,
-0.0027015984524041414,
-0.030667047947645187,
-0.03902045637369156,
0.012312280014157295,
-0.026461930945515633,
-0.005445816088467836,
-0.017161425203084946,
0.025666369125247,
0.026689235121011734,
0.023222854360938072,
0.03576244041323662,
0.027503740042448044,
-0.027200669050216675,
-0.024984458461403847,
0.006265056319534779,
0.01705724373459816,
0.02356380969285965,
0.10312008112668991,
0.008301318623125553,
0.03977813571691513,
0.03920987620949745,
-0.039361413568258286,
-0.08001088351011276,
0.00609931442886591,
0.07167641073465347,
-0.011857672594487667,
-0.004280885215848684,
-0.001070221303962171,
-0.009447307325899601,
-0.0036984195467084646,
0.04443785920739174,
0.05909894406795502,
0.0070274705067276955,
0.019339751452207565,
-0.005909894593060017,
-0.009821411222219467,
-0.019377635791897774,
0.08319313079118729,
0.021745381876826286,
0.01924504153430462,
0.03057233989238739,
-0.00864227395504713,
-0.02138548344373703,
-0.011611427180469036,
0.009774056263267994,
-0.038603734225034714,
0.020911933854222298,
-0.013174139894545078,
-0.0015745512209832668,
0.015068336389958858,
-0.03426602482795715,
0.03758086636662483,
0.021461252123117447,
0.03634963929653168,
-0.03574349731206894,
-0.03280749171972275,
0.08826957643032074,
-0.02242729254066944,
0.021461252123117447,
0.10016513615846634,
-0.012463816441595554,
-0.03057233989238739,
-0.0335841104388237,
0.0002829456643667072,
0.02703019045293331,
0.023355448618531227,
0.05000679939985275,
-0.007519961800426245,
-0.007240567822009325,
0.06648631393909454,
-0.01869572326540947,
-0.03977813571691513,
0.00045727097312919796,
0.0689108818769455,
-0.04064946621656418,
-0.007936685346066952,
-0.022825073450803757,
-0.06144775077700615,
-0.029151691123843193,
-0.01395076047629118,
-0.09842247515916824,
0.009783526882529259,
0.0018622323404997587,
-0.01841159537434578,
0.026954423636198044,
-0.02115817926824093,
-0.015485060401260853,
-0.03462592139840126,
0.010219193063676357,
-0.006520773284137249,
0.029094865545630455,
-0.03686107322573662,
0.010863219387829304,
-0.04936277121305466,
0.06250850111246109,
0.007818298414349556,
0.04307403787970543,
-0.014376955106854439,
-0.011706137098371983,
0.05174946039915085,
0.01895144023001194,
-0.054022498428821564,
-0.02299555204808712,
0.012700590305030346,
0.016441630199551582,
0.046710897237062454,
0.0003817990655079484,
0.0003516103024594486,
0.054818060249090195,
0.04845355823636055,
0.011024226434528828,
-0.00015464342141058296,
0.011753492057323456,
0.0019368163775652647,
-0.026916539296507835,
-0.019434461370110512,
0.012615351937711239,
0.0475822277367115,
-0.02055203728377819,
0.02492763288319111,
0.0433771088719368,
0.0033621995244175196,
0.012482757680118084,
-0.07186583429574966,
0.027541624382138252,
-0.0475822277367115,
0.007586258929222822,
-0.046710897237062454,
-0.005223248153924942,
0.026139918714761734,
0.009925591759383678,
0.015560828149318695,
0.03790288046002388,
0.002973889233544469,
-0.02295766770839691,
0.05360577255487442,
0.02409418486058712,
0.010266547091305256,
0.0051190671510994434,
0.020173197612166405,
-0.011289414018392563,
-0.024416198953986168,
0.013098372146487236,
0.02379111386835575,
-0.05849280208349228,
-0.027958346530795097,
-0.02352592721581459,
0.013969702646136284,
0.031538378447294235,
-0.022692479193210602,
-0.0002437298680888489,
-0.05769724026322365,
-0.04845355823636055,
-0.010588561184704304,
0.04762011021375656,
-0.038300663232803345,
-0.022616712376475334,
-0.012321751564741135,
0.027712101116776466,
-0.024529850110411644,
0.03580032289028168,
0.019027208909392357,
0.06072795391082764,
0.01733190193772316,
0.01681099832057953,
0.013429856859147549,
-0.011156819760799408,
0.06008392944931984,
-0.07038836181163788,
0.02703019045293331,
0.02814776636660099,
0.015219872817397118,
-0.008500209078192711,
-0.01597755216062069,
0.00764782028272748,
0.0568259097635746,
-0.04523342475295067,
0.044513627886772156,
0.03381141647696495,
0.020230023190379143,
0.04864297807216644,
0.021593844518065453,
0.04546072706580162,
0.04678666591644287,
0.01971859112381935,
-0.015219872817397118,
-0.01867678202688694,
0.04864297807216644,
0.02354486845433712,
0.047468576580286026,
0.016706816852092743,
-0.09683135151863098,
0.03161414712667465,
0.0005857212236151099,
-0.01680152676999569,
0.08319313079118729,
-0.02572319470345974,
-0.002793940482661128,
0.04591533541679382,
0.0464835949242115,
-0.04299827292561531,
0.029587356373667717,
-0.07781361043453217,
0.02845083922147751,
0.04277096688747406,
-0.040763117372989655,
0.017436083406209946,
-0.04121772572398186,
-0.015248285606503487,
0.01676364243030548,
0.004382698331028223,
-0.05500748008489609,
-0.010474909096956253,
0.04004332423210144,
-0.03167097270488739,
-0.01364768948405981,
0.04959007725119591,
0.03646329045295715,
0.0019995616748929024,
-0.014509548433125019,
-0.034228138625621796,
0.04902181774377823,
0.0400812067091465,
0.048605095595121384,
-0.01219862885773182,
-0.005635235924273729,
0.04224059358239174,
0.05121908709406853,
0.002980992430821061,
-0.02032473310828209,
0.0023712979163974524,
-0.044286325573921204,
-0.04027062654495239,
-0.04959007725119591,
0.018458949401974678,
-0.035288888961076736,
-0.05356789007782936,
-0.051522158086299896,
-0.02629145421087742,
0.016148028895258904,
-0.0291895754635334,
-0.015532415360212326,
0.018790433183312416,
0.044248439371585846,
0.023620635271072388,
0.014310657978057861,
0.009134764783084393,
0.0329400859773159,
0.013856050558388233,
0.027977289631962776,
-0.0373346209526062,
-0.03331892564892769,
0.031026946380734444,
-0.03572455421090126,
-0.008410234935581684,
0.09455831348896027,
0.055348433554172516,
-0.02324179746210575,
0.0028626052662730217,
0.03443650156259537,
0.0284129548817873,
0.015589240938425064,
0.025552717968821526,
-0.01870519481599331,
0.031784623861312866,
-0.0025476948358118534,
0.024965515360236168,
0.01704777218401432,
0.027806811034679413,
0.020514152944087982,
-0.017464496195316315,
-0.014632671140134335,
0.020078487694263458,
-0.019434461370110512,
0.00003288947482360527,
0.03320527449250221,
-0.055840928107500076,
0.0140928253531456,
0.0030378184746950865,
-0.028318244963884354,
0.029966196045279503,
-0.03716414421796799,
0.006298204883933067,
-0.026746060699224472,
0.003381141694262624,
-0.0003797273093368858,
-0.003786026267334819,
-0.02651875838637352,
-0.029947254806756973,
0.036652710288763046,
0.06595593690872192,
-0.02623462863266468,
-0.01043702568858862,
0.01945340260863304,
0.008163988590240479,
0.0018160613253712654,
-0.029151691123843193,
0.08198084682226181,
-0.011232588440179825,
-0.02301449328660965,
0.04386960342526436,
0.04462727904319763,
0.060197580605745316,
0.0024790302850306034,
0.04091465473175049,
-0.052090417593717575,
0.008476531133055687,
-0.0036865808069705963,
0.025628484785556793,
0.017492908984422684,
0.04333922639489174,
0.011128406971693039
] |
719,516
|
ibm_platform_services.global_catalog_v1
|
delete_artifact
|
Delete artifact.
This endpoint deletes an artifact. Only administrators and editors can delete
artifacts.
:param str object_id: The object's unique ID.
:param str artifact_id: The artifact's ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_artifact(self, object_id: str, artifact_id: str, *, account: str = None, **kwargs) -> DetailedResponse:
"""
Delete artifact.
This endpoint deletes an artifact. Only administrators and editors can delete
artifacts.
:param str object_id: The object's unique ID.
:param str artifact_id: The artifact's ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if object_id is None:
raise ValueError('object_id must be provided')
if artifact_id is None:
raise ValueError('artifact_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='delete_artifact'
)
headers.update(sdk_headers)
params = {'account': account}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['object_id', 'artifact_id']
path_param_values = self.encode_path_vars(object_id, artifact_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{object_id}/artifacts/{artifact_id}'.format(**path_param_dict)
request = self.prepare_request(method='DELETE', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, object_id: str, artifact_id: str, *, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.010988217778503895,
-0.012622087262570858,
-0.05476154386997223,
-0.019444836303591728,
0.006082122214138508,
-0.022012345492839813,
-0.003083703340962529,
0.07533752173185349,
-0.05530017986893654,
-0.0031802093144506216,
0.011419128626585007,
0.058855194598436356,
0.018349606543779373,
-0.0531456284224987,
-0.027075543999671936,
0.011966743506491184,
-0.02569303847849369,
0.07742025703191757,
0.04847743362188339,
0.012541291303932667,
-0.007608263753354549,
0.034706249833106995,
-0.030522827059030533,
-0.004937516059726477,
0.021312115713953972,
0.0024575365241616964,
0.04869288578629494,
0.021006887778639793,
-0.0034225964918732643,
0.010736853815615177,
-0.005615302361547947,
-0.02143779769539833,
-0.009569804184138775,
0.0830220878124237,
-0.048764705657958984,
-0.029427597299218178,
0.05275062844157219,
0.011015149764716625,
-0.09810395538806915,
0.03323397412896156,
-0.053181540220975876,
0.0490160696208477,
0.0899166613817215,
-0.036411937326192856,
0.013412089087069035,
-0.0038445296231657267,
0.004511094186455011,
-0.03673512116074562,
-0.0699511393904686,
-0.00899076834321022,
0.036645349115133286,
-0.02770395390689373,
0.02976873330771923,
-0.03326988220214844,
0.08474573493003845,
0.015961643308401108,
-0.014659934677183628,
-0.03691466525197029,
-0.029319869354367256,
0.008927927352488041,
0.014417547732591629,
0.023125531151890755,
-0.015674369409680367,
-0.0068541704677045345,
-0.012568223290145397,
0.005740984808653593,
-0.04129559174180031,
0.022640755400061607,
-0.036771029233932495,
-0.03583738952875137,
0.005817291792482138,
-0.015647437423467636,
0.038961492478847504,
-0.04485060274600983,
0.013537771999835968,
-0.059681106358766556,
0.05135016888380051,
-0.015261413529515266,
0.007590309251099825,
-0.02468758076429367,
-0.024077124893665314,
-0.06172792986035347,
0.011751288548111916,
-0.037058304995298386,
-0.0008270339458249509,
-0.03687875717878342,
-0.032156698405742645,
-0.034347157925367355,
0.023538487032055855,
0.012819587253034115,
0.07418842613697052,
-0.017245396971702576,
-0.07878480106592178,
-0.014166182838380337,
-0.005969905760139227,
0.026249632239341736,
-0.0035976539365947247,
-0.027919409796595573,
0.006014792714267969,
0.011230604723095894,
0.012882428243756294,
-0.03946422040462494,
-0.06413384526968002,
0.04287559539079666,
0.027955319732427597,
-0.028440093621611595,
0.040721043944358826,
-0.05296608433127403,
0.013600612990558147,
0.03280306234955788,
0.0045268046669662,
0.057275187224149704,
-0.02404121495783329,
-0.02881713956594467,
-0.0004965570406056941,
0.011832084506750107,
-0.04082877188920975,
-0.0762711614370346,
-0.05156562477350235,
-0.05734700709581375,
0.03461647778749466,
-0.022012345492839813,
0.008348891511559486,
-0.0026640144642442465,
0.06819158792495728,
0.005099107511341572,
-0.043091051280498505,
0.011921857483685017,
-0.025675084441900253,
-0.04890834167599678,
-0.03468829393386841,
-0.0001275057438760996,
-0.03391624614596367,
0.008003264665603638,
0.030038053169846535,
0.048405613750219345,
0.043629687279462814,
-0.005224789958447218,
-0.024597808718681335,
0.027811681851744652,
0.05152971297502518,
0.03206692263484001,
0.0056197913363575935,
0.022820301353931427,
-0.03160010278224945,
-0.02930191531777382,
-0.03642989322543144,
-0.05813701078295708,
-0.03856648877263069,
0.008672073483467102,
-0.058496102690696716,
0.002798673929646611,
-0.015315277501940727,
-0.035065341740846634,
-0.02651895023882389,
-0.02210211753845215,
-0.002273501828312874,
0.018152104690670967,
0.003739046398550272,
0.02310757525265217,
0.038602400571107864,
0.0341496579349041,
0.08079572021961212,
-0.02641122229397297,
0.023143485188484192,
0.0018111707177013159,
-0.013887886889278889,
0.019929610192775726,
-0.04696924611926079,
-0.02881713956594467,
-0.06819158792495728,
0.021994389593601227,
-0.009659577161073685,
-0.024023260921239853,
-0.060219742357730865,
0.08180117607116699,
-0.002946799388155341,
0.015880847349762917,
-0.04011058807373047,
-0.007832695730030537,
-0.030199645087122917,
-0.030810100957751274,
0.010817648842930794,
-0.021168477833271027,
0.035119205713272095,
-0.005476154386997223,
-0.021455751731991768,
0.05296608433127403,
0.02976873330771923,
-0.01674266904592514,
-0.033413518220186234,
0.03177965059876442,
-0.029140323400497437,
0.017604488879442215,
0.0075633772648870945,
-0.055623363703489304,
0.0015968376537784934,
-0.09695486724376678,
0.08381209522485733,
0.009120939299464226,
-0.026842134073376656,
-0.044742874801158905,
0.0523197166621685,
0.05641336739063263,
0.06248202174901962,
0.000816373445559293,
0.03129487484693527,
-0.0424087755382061,
-0.04359377920627594,
0.02729099802672863,
-0.04980607330799103,
0.04883652552962303,
-0.013483908027410507,
-0.026375314220786095,
-0.009237644262611866,
0.03253374248743057,
0.02380780503153801,
-0.016024485230445862,
0.025369856506586075,
0.012280949391424656,
-0.04359377920627594,
0.018403468653559685,
0.01813415065407753,
0.047220610082149506,
-0.029732825234532356,
-0.012289926409721375,
0.07792298495769501,
0.03784830495715141,
0.02133006975054741,
-0.05828064680099487,
0.007855139672756195,
0.012146289460361004,
0.043450143188238144,
0.023951442912220955,
0.04215741157531738,
0.049123797565698624,
-0.010413670912384987,
-0.02840418368577957,
0.015423005446791649,
-0.017649376764893532,
-0.02291007526218891,
-0.0068990569561719894,
0.016311757266521454,
0.0749066099524498,
-0.041906047612428665,
0.033054426312446594,
-0.03405988588929176,
0.0782102569937706,
-0.014552206732332706,
-0.0962366834282875,
0.017712216824293137,
0.004502117168158293,
0.015611528418958187,
-0.009668554179370403,
0.07533752173185349,
-0.01782892271876335,
0.07081296294927597,
-0.06000428646802902,
0.020647795870900154,
0.0030881918501108885,
-0.007172864396125078,
-0.037776488810777664,
-0.020755521953105927,
-0.000895485922228545,
0.011176741681993008,
0.011311400681734085,
0.010359806939959526,
-0.008250140585005283,
0.006481612101197243,
0.025423720479011536,
0.07907208055257797,
-0.0172813069075346,
0.03637602925300598,
0.010045601055026054,
-0.032156698405742645,
0.024310534819960594,
-0.00866758543998003,
-0.02551349252462387,
-0.0014879878144711256,
0.02251507341861725,
-0.045209694653749466,
-0.06765294820070267,
0.0029445551335811615,
0.040254224091768265,
0.004190155770629644,
-0.018376538529992104,
0.025908494368195534,
0.020360521972179413,
0.013887886889278889,
0.05228380858898163,
-0.0022364703472703695,
0.03188737854361534,
-0.037596940994262695,
-0.013250498101115227,
-0.07368569821119308,
0.04283968731760979,
-0.0335930660367012,
0.04212150350213051,
0.026088040322065353,
0.07871298491954803,
-0.00843417551368475,
0.06366702914237976,
-0.013600612990558147,
-0.0681556761264801,
-0.03371874615550041,
-0.004228309262543917,
0.05982474237680435,
-0.009161337278783321,
0.05167335271835327,
0.022586893290281296,
0.01692221499979496,
0.015045958571135998,
-0.037417396903038025,
0.015979597344994545,
-0.013959704898297787,
-0.03596307337284088,
0.04441969096660614,
-0.011544810608029366,
0.0024687580298632383,
0.00899076834321022,
0.008115481585264206,
0.007195307873189449,
-0.022640755400061607,
0.006876613479107618,
0.05375608429312706,
-0.0424087755382061,
-0.025136446580290794,
0.048585157841444016,
0.0615483857691288,
-0.01973211020231247,
-0.031205102801322937,
0.012218108400702477,
-0.02256893739104271,
0.008380311541259289,
0.03792012482881546,
-0.07454751431941986,
0.03165396675467491,
-0.04707697406411171,
0.018349606543779373,
0.088121198117733,
-0.02256893739104271,
-0.03267737850546837,
0.05282244458794594,
0.07329069823026657,
0.003909615334123373,
0.011571742594242096,
0.03165396675467491,
-0.06991522759199142,
0.034885797649621964,
-0.017999490723013878,
0.025010764598846436,
0.008497016504406929,
0.022694619372487068,
-0.022048253566026688,
0.015072890557348728,
0.024077124893665314,
0.028098955750465393,
0.0303612370043993,
-0.07555297762155533,
-0.03160010278224945,
-0.031223056837916374,
-0.04176241159439087,
-0.024903036653995514,
-0.01784687675535679,
-0.004650242626667023,
-0.02829645574092865,
-0.021760979667305946,
-0.026860088109970093,
0.03361101821064949,
-0.009237644262611866,
0.008829176425933838,
0.021725071594119072,
-0.026590770110487938,
-0.02167120762169361,
0.009919919073581696,
0.046466514468193054,
0.005561438854783773,
-0.05670063942670822,
0.05433063209056854,
0.038781944662332535,
-0.050883349031209946,
-0.013026065193116665,
-0.04431196302175522,
-0.026393268257379532,
-0.04014649614691734,
0.049590617418289185,
-0.0015036981785669923,
-0.02628554031252861,
-0.028278501704335213,
0.005305585451424122,
0.06438521295785904,
-0.02133006975054741,
0.0364837571978569,
-0.013286407105624676,
0.0033754657488316298,
-0.05853201076388359,
-0.012505382299423218,
-0.010431624948978424,
-0.0345626138150692,
-0.0012433563824743032,
-0.02149166166782379,
0.04643060639500618,
0.005925019271671772,
0.03655557334423065,
0.0007064014789648354,
-0.025477584451436996,
0.007612752262502909,
-0.0041138487868011,
0.028045091778039932,
0.003281204029917717,
0.03472420573234558,
-0.025477584451436996,
-0.005776893813163042,
0.050775621086359024,
0.05716745927929878,
0.05156562477350235,
-0.026447132229804993,
-0.011024126783013344,
-0.008438664488494396,
-0.025010764598846436,
-0.013106861151754856,
0.004490895662456751,
-0.001918898313306272,
-0.010198215022683144,
-0.04212150350213051,
-0.027973273769021034,
-0.027721909806132317,
0.029158277437090874,
0.006041724234819412,
-0.03939240053296089,
0.008286049589514732,
-0.031815558671951294,
-0.06100974604487419,
-0.017972558736801147,
0.009062586352229118,
0.02930191531777382,
-0.021294161677360535,
0.07914389669895172,
0.054905179888010025,
-0.0017056873766705394,
0.0012433563824743032,
-0.02770395390689373,
0.017038919031620026,
-0.06018383428454399,
-0.011571742594242096,
0.047579701989889145,
0.0638824850320816,
-0.027326907962560654,
0.009067075327038765,
0.006912522483617067,
0.10507034510374069,
0.03364693000912666,
-0.022820301353931427,
-0.07433206588029861,
-0.0762711614370346,
-0.10413670539855957,
0.0680120438337326,
-0.0068541704677045345,
0.005794848781079054,
-0.04991380125284195,
-0.0048432545736432076,
-0.002859270665794611,
-0.06686294823884964,
-0.06391838937997818,
0.0021758736111223698,
0.04542515054345131,
0.019121654331684113,
0.02174302563071251,
0.0020558021496981382,
-0.011490946635603905,
0.003916347865015268,
-0.0007226728484965861,
0.0068541704677045345,
0.05960928648710251,
0.03928467631340027,
0.05181698873639107,
0.05113471299409866,
0.013690385967493057,
-0.029553279280662537,
0.012774701230227947,
0.03384442999958992,
-0.05734700709581375,
0.028835095465183258,
-0.011607651598751545,
0.018762562423944473,
0.005103596486151218,
-0.007325478829443455,
0.012227085418999195,
0.01983983814716339,
0.011544810608029366,
0.00784167367964983,
0.004322571214288473,
-0.04765152186155319,
-0.009632645174860954,
0.0324978344142437,
-0.041798319667577744,
-0.03603488951921463,
0.02339484915137291,
-0.06219474971294403,
-0.04352195933461189,
0.048764705657958984,
-0.02535190060734749,
-0.012460495345294476,
-0.004982402548193932,
-0.036304209381341934,
-0.03939240053296089,
-0.012568223290145397,
0.008856108412146568,
-0.0036043869331479073,
0.007419740315526724,
-0.06804794818162918,
0.0499856173992157,
-0.041546955704689026,
0.0032677380368113518,
-0.0009538383455947042,
0.05257108062505722,
-0.03567579761147499,
0.02881713956594467,
0.02852986566722393,
0.02705758810043335,
-0.00042333590681664646,
0.0034921704791486263,
0.009489008225500584,
0.018529152497649193,
-0.00793144665658474,
-0.03668125718832016,
-0.04057740420103073,
-0.02375394105911255,
0.04100831598043442,
0.03158215060830116,
-0.0649956688284874,
-0.006118031684309244,
0.0034809489734470844,
-0.011266514658927917,
0.0013701607240363955,
0.01586289331316948,
-0.046933334320783615,
-0.02334098517894745,
-0.02840418368577957,
0.04625106230378151,
-0.01733517087996006,
0.004338281229138374,
-0.021240297704935074,
-0.013474931009113789,
-0.07336251437664032,
0.030038053169846535,
0.02203029952943325,
0.017200510948896408,
0.027596227824687958,
0.011571742594242096,
0.03702239319682121,
-0.025387810543179512,
0.060686562210321426,
0.044276054948568344,
-0.03673512116074562,
0.06679113209247589,
-0.03160010278224945,
-0.07289569079875946,
0.007329967338591814,
-0.050775621086359024,
-0.019642338156700134,
0.03950012847781181,
0.04513787478208542,
0.021186433732509613,
0.03224647045135498,
0.04930334538221359,
0.0640261173248291,
-0.01816108264029026,
0.009183780290186405,
-0.04416832700371742,
-0.05102698504924774,
-0.03817148879170418,
0.00024883958394639194,
-0.020575975999236107,
-0.026536906138062477,
0.02179688960313797,
0.025962358340620995,
-0.08237572759389877,
0.03402397409081459,
0.035998981446027756,
-0.012954247184097767,
-0.002479979768395424,
0.015539710409939289,
-0.010341851972043514,
-0.04732833802700043,
0.024795308709144592,
0.050416529178619385,
-0.020414385944604874,
0.027201225981116295,
-0.060507018119096756,
-0.0017640398582443595,
-0.0034203522372990847,
0.03136669471859932,
-0.04477878287434578,
-0.020647795870900154,
0.04283968731760979,
0.011113899759948254,
-0.031097374856472015,
-0.013124816119670868,
-0.028547821566462517,
0.037596940994262695,
-0.017164601013064384,
0.05925019457936287,
0.00041828618850558996,
0.012990156188607216,
0.08690028637647629,
-0.015108799561858177,
-0.047400154173374176,
0.011185718700289726,
-0.04104422405362129,
-0.035819437354803085,
-0.016320735216140747,
-0.011571742594242096,
0.00196715141646564,
-0.04233695566654205,
-0.05002152919769287,
0.021222341805696487,
0.033700793981552124,
-0.04614333435893059,
0.03443692997097969,
0.022712575271725655,
-0.010691966861486435,
-0.01676960103213787,
0.02535190060734749,
-0.02481326274573803,
0.0649956688284874,
0.010691966861486435,
-0.04122377187013626,
-0.023071667179465294,
0.013510840013623238,
-0.07727661728858948,
0.052894264459609985,
-0.022138027474284172,
0.005462688393890858,
0.019875746220350266,
-0.02445417083799839,
0.001245600637048483,
0.0034360624849796295,
0.011302423663437366,
-0.03154623880982399,
0.07253660261631012,
0.05583881959319115,
-0.0689815878868103,
0.10198215395212173,
-0.038063760846853256,
0.02723713405430317,
-0.01712869293987751,
-0.03158215060830116,
0.003723336150869727,
-0.06600112468004227,
0.010198215022683144,
0.01661698706448078,
-0.034760113805532455,
0.0009869422065094113,
0.0490160696208477,
0.09867850691080093,
0.04836970567703247,
0.02835031971335411,
-0.009228666312992573,
0.048046521842479706,
0.06546248495578766,
-0.030702373012900352,
0.006872124969959259,
-0.03939240053296089,
0.02574690245091915,
-0.021725071594119072,
0.02220984548330307,
-0.027560317888855934,
0.018062332645058632,
-0.011697424575686455,
0.00742871779948473,
-0.015126754529774189,
0.04707697406411171,
-0.004448253195732832,
-0.04086467996239662,
-0.00882019940763712,
0.03188737854361534,
0.010270033963024616,
0.03892558068037033,
0.027721909806132317,
0.01697607897222042,
-0.004986891523003578,
-0.009848100133240223,
0.029966235160827637,
0.0407569520175457,
-0.02220984548330307,
0.011086968705058098,
0.0022151493467390537,
-0.08553573489189148,
-0.04883652552962303,
-0.00019904362852685153,
-0.04097240790724754,
0.004190155770629644,
-0.047687429934740067,
0.014713798649609089,
0.010970263741910458,
-0.03472420573234558,
0.03921285644173622,
0.0167965330183506,
-0.012918338179588318,
0.009830146096646786,
-0.05264290049672127,
0.03007396310567856,
0.10155124217271805,
0.011993675492703915,
0.02976873330771923,
-0.011284468695521355,
-0.037596940994262695,
0.01854710653424263,
-0.04495833069086075,
-0.021365979686379433,
0.030468963086605072,
-0.013905840925872326,
-0.020037338137626648,
-0.0005885743885301054,
0.05777791887521744,
-0.04201377555727959,
-0.01550380140542984,
-0.023969396948814392,
0.012631064280867577,
-0.016024485230445862,
0.004717572126537561,
0.032874882221221924,
0.03928467631340027,
0.035352617502212524,
0.013807090930640697,
0.0008926804875954986,
0.04962652549147606,
0.024202806875109673,
-0.03601693734526634,
0.021725071594119072,
0.0004438153700903058,
-0.0012646774994209409,
0.02432848885655403,
-0.00005014664930058643,
-0.022640755400061607,
0.02291007526218891,
-0.05626973137259483,
-0.010638102889060974,
0.0008999745477922261,
-0.032515790313482285,
-0.010090488009154797,
-0.029391687363386154,
-0.05012925714254379,
0.026608724147081375,
0.013645499013364315,
0.02274848334491253,
0.056449275463819504,
0.01913960836827755,
-0.05530017986893654,
0.011733333580195904,
-0.05070380121469498,
0.0072805918753147125,
0.05723927915096283,
-0.0032116298098117113,
-0.04531742259860039,
-0.016554145142436028,
0.008618210442364216,
0.045640602707862854,
0.0005941851995885372,
-0.04977016523480415,
-0.04100831598043442,
0.007226728368550539,
-0.027829637750983238,
-0.01831369660794735,
0.03240806236863136,
0.023376895114779472,
-0.030271463096141815
] |
719,517
|
ibm_platform_services.global_catalog_v1
|
delete_catalog_entry
|
Delete a catalog entry.
Delete a catalog entry. This will archive the catalog entry for a minimum of two
weeks. While archived, it can be restored using the PUT restore API. After two
weeks, it will be deleted and cannot be restored. You must have administrator role
in the scope of the provided token to modify it. This endpoint is ETag enabled.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param bool force: (optional) This will cause entry to be deleted fully. By
default it is archived for two weeks, so that it can be restored if
necessary.
: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_entry(self, id: str, *, account: str = None, force: bool = None, **kwargs) -> DetailedResponse:
"""
Delete a catalog entry.
Delete a catalog entry. This will archive the catalog entry for a minimum of two
weeks. While archived, it can be restored using the PUT restore API. After two
weeks, it will be deleted and cannot be restored. You must have administrator role
in the scope of the provided token to modify it. This endpoint is ETag enabled.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param bool force: (optional) This will cause entry to be deleted fully. By
default it is archived for two weeks, so that it can be restored if
necessary.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if id is None:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='delete_catalog_entry'
)
headers.update(sdk_headers)
params = {'account': account, 'force': force}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}'.format(**path_param_dict)
request = self.prepare_request(method='DELETE', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, id: str, *, account: Optional[str] = None, force: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.002331850817427039,
0.01291625015437603,
0.0017145961755886674,
-0.05497501417994499,
0.030959423631429672,
-0.032596442848443985,
-0.018780730664730072,
0.04529682174324989,
0.03667999058961868,
-0.02878272905945778,
-0.0157675389200449,
0.00385193875990808,
-0.005815010983496904,
-0.0827503502368927,
-0.04360583424568176,
-0.0019124774262309074,
-0.06695582717657089,
0.06526483595371246,
0.0031368678901344538,
-0.008149110712110996,
0.06853887438774109,
0.026264240965247154,
-0.04058364778757095,
-0.010649610310792923,
0.045980408787727356,
-0.000534897786565125,
0.0688626766204834,
0.019338395446538925,
-0.01462522428482771,
0.018043173477053642,
0.014076553285121918,
0.029160503298044205,
0.00948930624872446,
0.03621227294206619,
-0.07533879578113556,
-0.0688626766204834,
0.035024985671043396,
0.012997201643884182,
-0.07066160440444946,
0.04508094862103462,
-0.036086346954107285,
0.0653727725148201,
0.07048171013593674,
-0.029304416850209236,
0.004951528739184141,
-0.0093813706189394,
0.003917149733752012,
0.01052368525415659,
-0.07260443270206451,
0.002304866909980774,
-0.001981061417609453,
-0.015614630654454231,
0.011549070477485657,
-0.044973015785217285,
0.026084348559379578,
-0.012097740545868874,
-0.01721566915512085,
0.000656043877825141,
-0.04015190899372101,
-0.008625824004411697,
0.0452248640358448,
-0.0007072006701491773,
-0.031661003828048706,
0.012646411545574665,
-0.008657305501401424,
0.015731560066342354,
-0.010082949884235859,
-0.0018517639255151153,
0.002448780694976449,
0.00005277302261674777,
-0.01930241845548153,
-0.032380569726228714,
0.02865680493414402,
0.0004671571950893849,
-0.0019507044926285744,
-0.0025702076964080334,
0.05375174805521965,
-0.05321207270026207,
0.0007729736971668899,
-0.02737957052886486,
-0.041339196264743805,
-0.08764341473579407,
0.06666799634695053,
0.02347591333091259,
-0.002121601952239871,
0.04407355561852455,
0.026318207383155823,
-0.017818309366703033,
-0.012592444196343422,
0.0425264835357666,
0.015524684451520443,
-0.010307814925909042,
-0.06530081480741501,
-0.011288226582109928,
0.014607234857976437,
0.0344313383102417,
0.05047771334648132,
-0.039180491119623184,
0.024591244757175446,
0.0036653007846325636,
0.052096739411354065,
-0.05663001909852028,
0.02313411794602871,
0.010613631457090378,
0.006512092426419258,
-0.038784727454185486,
0.0029929541051387787,
-0.021946830675005913,
0.008657305501401424,
0.03781330958008766,
0.004027333576232195,
0.009399360045790672,
0.0009798496030271053,
-0.03874874860048294,
-0.019050568342208862,
-0.0014773635193705559,
-0.0012524984776973724,
-0.029700178653001785,
-0.04321007430553436,
-0.03835298866033554,
0.030419746413826942,
-0.06155906245112419,
0.023457923904061317,
-0.05173695459961891,
0.04504496976733208,
-0.014958024956285954,
-0.04018788784742355,
0.020201878622174263,
-0.009426344186067581,
0.02342194691300392,
-0.00014995688979979604,
-0.02563461847603321,
0.000009556765689922031,
-0.023493902757763863,
0.009507295675575733,
0.0022081751376390457,
0.07641814649105072,
0.0075509692542254925,
-0.05206076055765152,
0.021209273487329483,
0.01998600736260414,
0.040475714951753616,
-0.026012390851974487,
0.016046371310949326,
-0.07278432697057724,
-0.0758424922823906,
-0.07404357194900513,
-0.054651208221912384,
-0.025796521455049515,
0.018528882414102554,
-0.03509693965315819,
-0.003764241235330701,
-0.02057965099811554,
0.024519287049770355,
-0.035078950226306915,
-0.015497701242566109,
0.016837896779179573,
-0.012061762623488903,
0.008320007473230362,
0.011728961952030659,
0.011000399477779865,
0.05684589222073555,
0.06774734705686569,
-0.01750349812209606,
-0.018654806539416313,
-0.03180491551756859,
-0.028620826080441475,
0.026138316839933395,
-0.024807114154100418,
-0.029358383268117905,
-0.02025584504008293,
0.019158504903316498,
-0.014076553285121918,
-0.02207275480031967,
-0.04162702336907387,
0.050765540450811386,
0.06810713559389114,
-0.04115930199623108,
0.011683989316225052,
-0.020957425236701965,
-0.0005790275754407048,
-0.058896660804748535,
0.03437737375497818,
0.02111932821571827,
0.028099140152335167,
-0.011612032540142536,
-0.0018877423135563731,
0.04270637407898903,
0.007231660652905703,
-0.01672096736729145,
-0.03799320384860039,
-0.018420947715640068,
-0.017296621575951576,
0.013428942300379276,
-0.033405955880880356,
-0.01805216819047928,
-0.0022902507334947586,
-0.0695822462439537,
0.001895612571388483,
-0.06166699901223183,
-0.03428742662072182,
0.003552868263795972,
0.06666799634695053,
-0.021838895976543427,
0.09368778765201569,
0.02966419979929924,
0.03301019221544266,
-0.07706575840711594,
-0.06828702241182327,
0.018726764246821404,
0.030779531225562096,
0.04029582068324089,
0.020327802747488022,
-0.004211722873151302,
0.00006700276571791619,
-0.02905256673693657,
0.003321257187053561,
-0.01640615612268448,
-0.01210673525929451,
-0.013968618586659431,
-0.019896062090992928,
-0.015497701242566109,
0.028332998976111412,
0.01964421197772026,
0.0010787901701405644,
-0.029628222808241844,
0.0645812526345253,
0.0622786320745945,
0.028171095997095108,
-0.05616230145096779,
-0.04043973609805107,
-0.01863681711256504,
-0.014436338096857071,
-0.01628023199737072,
0.036500100046396255,
-0.03774135559797287,
0.020345792174339294,
-0.0338376946747303,
0.01765640638768673,
0.02543673664331436,
0.03691384941339493,
0.023727763444185257,
-0.0036203276831656694,
0.0711653009057045,
-0.05267239362001419,
0.05515490472316742,
-0.03759744018316269,
0.04975814372301102,
-0.01479612197726965,
-0.09994802623987198,
0.0016909854020923376,
-0.08217469602823257,
0.0758424922823906,
0.017512492835521698,
0.06584049016237259,
-0.0614871047437191,
-0.015929441899061203,
0.0038811711128801107,
0.006381670944392681,
-0.0016077852342277765,
-0.021641014143824577,
0.0004331463424023241,
-0.023799719288945198,
0.025472715497016907,
0.03667999058961868,
0.006377173587679863,
-0.023242054507136345,
0.0138247050344944,
0.07598640769720078,
0.0591844879090786,
0.005288826767355204,
-0.0015110933454707265,
0.03146312013268471,
0.034737154841423035,
-0.022378571331501007,
0.03637417405843735,
-0.025040974840521812,
-0.030041974037885666,
-0.02966419979929924,
0.02207275480031967,
-0.04303018003702164,
-0.08793123811483383,
0.014247450977563858,
0.004951528739184141,
-0.020597640424966812,
-0.0541115328669548,
0.008931640535593033,
0.037165697664022446,
-0.009008094668388367,
0.05306815728545189,
0.007159703876823187,
0.04346192255616188,
-0.037165697664022446,
-0.025706574320793152,
-0.015659604221582413,
0.045980408787727356,
-0.06350189447402954,
-0.02973615750670433,
0.012925244867801666,
0.046304214745759964,
-0.0005110058700665832,
0.009750149212777615,
0.011845892295241356,
-0.05468718707561493,
-0.012556465342640877,
0.026929840445518494,
0.05645012855529785,
0.020345792174339294,
0.036823906004428864,
0.05914850905537605,
0.010892463847994804,
0.029898060485720634,
-0.027595441788434982,
-0.0179712176322937,
-0.06461722403764725,
0.013680791482329369,
0.011791924014687538,
-0.032452527433633804,
-0.022018788382411003,
0.020885467529296875,
-0.03860483691096306,
0.0452248640358448,
-0.03788526728749275,
0.011090345680713654,
0.07217269390821457,
-0.061595041304826736,
0.023763740435242653,
0.016963820904493332,
0.06454527378082275,
0.014724165201187134,
0.0099570257589221,
0.04148310795426369,
-0.03889266401529312,
0.0021081101149320602,
-0.022162701934576035,
-0.03135518729686737,
0.032596442848443985,
-0.054255444556474686,
0.015659604221582413,
0.028350988402962685,
0.014373375102877617,
0.024501297622919083,
0.030455725267529488,
0.00852238666266203,
-0.052780330181121826,
0.016343193128705025,
0.056665997952222824,
-0.05540675297379494,
0.014490305446088314,
0.04493703693151474,
0.025706574320793152,
-0.031786926090717316,
0.029160503298044205,
0.023799719288945198,
0.05698980391025543,
-0.030167898163199425,
-0.0009017089614644647,
0.02360183745622635,
-0.028368977829813957,
-0.04472116753458977,
-0.008598840795457363,
-0.028836697340011597,
-0.011980811133980751,
0.010586647316813469,
-0.015398760326206684,
-0.05986807867884636,
-0.032524485141038895,
-0.048462919890880585,
0.030833499506115913,
-0.025580650195479393,
-0.025868477299809456,
-0.005563161801546812,
0.011612032540142536,
-0.018061162903904915,
0.0668838694691658,
0.023889664560556412,
-0.014787127263844013,
-0.010568658821284771,
-0.020975414663553238,
0.05436338111758232,
0.01883469894528389,
-0.005104437004774809,
-0.004915550351142883,
-0.019806114956736565,
-0.0030289324931800365,
-0.022036777809262276,
0.001140628126449883,
0.0023970617912709713,
0.015020987018942833,
0.020597640424966812,
0.03678792715072632,
-0.01930241845548153,
0.022252647206187248,
-0.02361982688307762,
-0.008400958962738514,
-0.01224165502935648,
-0.025256844237446785,
-0.022252647206187248,
-0.057961221784353256,
0.007555466610938311,
0.020363781601190567,
0.06422146409749985,
0.0361403152346611,
0.020219868049025536,
-0.010739555582404137,
-0.056198280304670334,
0.004321906715631485,
-0.04821107164025307,
-0.01553367916494608,
-0.005900459364056587,
0.0291964802891016,
0.00814011599868536,
0.02603038027882576,
0.006147811189293861,
0.031049368903040886,
0.0549030564725399,
-0.018115131184458733,
0.038712769746780396,
-0.06094742938876152,
-0.031319208443164825,
0.038173094391822815,
0.02052568458020687,
-0.017062760889530182,
0.015191884711384773,
0.0004339895967859775,
-0.003431441029533744,
-0.009876074269413948,
0.03990005701780319,
-0.022306615486741066,
-0.06335798650979996,
0.008320007473230362,
-0.04612432420253754,
-0.04702378436923027,
-0.0029142512939870358,
-0.01785428635776043,
0.03621227294206619,
0.0018596341833472252,
0.017611432820558548,
-0.0093813706189394,
0.03774135559797287,
-0.04303018003702164,
-0.02818908542394638,
0.017818309366703033,
-0.05886068195104599,
-0.0375254824757576,
0.022558463737368584,
0.04529682174324989,
-0.05756545811891556,
0.026624023914337158,
-0.0046906853094697,
0.07404357194900513,
0.032794322818517685,
0.02313411794602871,
-0.03227263689041138,
-0.06375374644994736,
-0.11980811506509781,
-0.008562861941754818,
0.013374974951148033,
-0.07361183315515518,
-0.02306216210126877,
-0.026624023914337158,
0.00002441894139337819,
-0.03781330958008766,
-0.012556465342640877,
0.024375373497605324,
0.012952228076756,
0.026660002768039703,
0.0583929605782032,
-0.03705776482820511,
-0.04540475457906723,
0.01691884733736515,
-0.040403757244348526,
0.014778132550418377,
0.09253647178411484,
0.01903258077800274,
0.09145712107419968,
0.019410353153944016,
-0.05360783264040947,
-0.05832100659608841,
0.022378571331501007,
0.053104136139154434,
-0.013446931727230549,
0.015011992305517197,
-0.01799819990992546,
0.021676992997527122,
-0.0212632417678833,
0.03799320384860039,
0.027469517663121223,
-0.009633219800889492,
-0.0007218169048428535,
0.016073355451226234,
0.00392164709046483,
-0.04367779195308685,
0.029376372694969177,
0.06425744295120239,
-0.02286428026854992,
-0.021173294633626938,
0.015038976445794106,
-0.028602836653590202,
-0.0394323393702507,
-0.006849389988929033,
-0.061595041304826736,
-0.023152107372879982,
-0.0026466618292033672,
-0.012178692035377026,
-0.023835698142647743,
-0.026156306266784668,
0.04151908680796623,
0.008364981040358543,
0.013006195425987244,
-0.07792924344539642,
-0.006210773251950741,
0.045368775725364685,
-0.023781729862093925,
0.04813911393284798,
0.07087747007608414,
-0.05860883370041847,
-0.01500299759209156,
0.013141115196049213,
0.005153907462954521,
-0.015398760326206684,
-0.005734059493988752,
0.028494901955127716,
-0.008041175082325935,
0.0001373785053147003,
0.008675294928252697,
-0.006786427926272154,
-0.0560903437435627,
0.049002595245838165,
0.026210272684693336,
-0.03846092149615288,
0.006570557598024607,
-0.010586647316813469,
-0.08131121098995209,
0.003534879069775343,
0.009705176576972008,
-0.09325604140758514,
-0.007757844869047403,
0.0007285628234967589,
0.009453327395021915,
0.0005784654058516026,
0.0035236356779932976,
-0.028476912528276443,
-0.005302318371832371,
-0.022432539612054825,
-0.0004916112520731986,
0.026084348559379578,
0.03338796645402908,
-0.02205476723611355,
0.01924845017492771,
0.015992404893040657,
-0.03437737375497818,
0.07778532803058624,
0.022378571331501007,
-0.06314211338758469,
0.052024781703948975,
-0.011081350967288017,
-0.07368379086256027,
0.009098040871322155,
-0.02072356455028057,
-0.02487907186150551,
0.04058364778757095,
0.04321007430553436,
-0.012160703539848328,
0.058824703097343445,
0.043282028287649155,
0.07364781200885773,
-0.01849290356040001,
0.030563659965991974,
0.0199140515178442,
-0.0295922439545393,
-0.017179692164063454,
0.019392363727092743,
0.030455725267529488,
-0.050693582743406296,
0.035294823348522186,
0.022720366716384888,
-0.04202278330922127,
0.005837497301399708,
-0.013635817915201187,
0.005315810441970825,
-0.04975814372301102,
0.049686186015605927,
-0.03221866860985756,
-0.0064446330070495605,
0.046987805515527725,
0.054723165929317474,
-0.001418898580595851,
0.03921646997332573,
-0.0059904055669903755,
-0.038173094391822815,
0.0499020554125309,
0.03500699624419212,
-0.04094343259930611,
-0.015191884711384773,
-0.00020406505791470408,
0.027145711705088615,
-0.008391964249312878,
-0.030221866443753242,
0.029574254527688026,
0.005900459364056587,
-0.037705376744270325,
0.029700178653001785,
0.0010591144673526287,
0.025526683777570724,
0.01923046074807644,
-0.018744751811027527,
-0.06555266678333282,
-0.0361403152346611,
-0.052168697118759155,
-0.012907255440950394,
-0.05018988624215126,
0.01701778918504715,
-0.009129522368311882,
0.019554266706109047,
-0.004951528739184141,
0.054795119911432266,
-0.028404956683516502,
0.0014200229197740555,
-0.007825304754078388,
0.027829302474856377,
-0.03993603587150574,
-0.03074355237185955,
0.010586647316813469,
-0.03149909898638725,
0.10009194165468216,
0.002527483506128192,
0.0025769537314772606,
-0.039648208767175674,
0.010262842290103436,
-0.027541473507881165,
0.0765620619058609,
-0.03741754963994026,
0.04144712910056114,
-0.004992004483938217,
0.01802518405020237,
-0.01760243810713291,
-0.004380371421575546,
0.006669498048722744,
0.028350988402962685,
0.10102737694978714,
0.03149909898638725,
-0.055118925869464874,
0.11779332160949707,
-0.04472116753458977,
0.031930841505527496,
0.017116729170084,
-0.06677593290805817,
0.028710773214697838,
-0.01812412403523922,
-0.009273435920476913,
0.05306815728545189,
-0.050945430994033813,
0.001954077510163188,
0.02622826211154461,
0.02676793932914734,
0.004785128869116306,
0.03349590301513672,
-0.06360983103513718,
0.014031580649316311,
0.0781451091170311,
-0.04094343259930611,
-0.054327402263879776,
-0.06771136820316315,
-0.002799570094794035,
-0.053248047828674316,
0.025184888392686844,
-0.03295622393488884,
0.030185887590050697,
-0.022702377289533615,
-0.014175494201481342,
-0.011027383618056774,
0.006462622433900833,
0.022450529038906097,
-0.010388766415417194,
-0.045368775725364685,
-0.03428742662072182,
0.07141714543104172,
0.06799919903278351,
0.05436338111758232,
0.01187287550419569,
-0.017638416960835457,
0.031517088413238525,
0.004699680022895336,
-0.015290824696421623,
-0.041195280849933624,
-0.007231660652905703,
0.013294023461639881,
-0.09145712107419968,
-0.037309613078832626,
0.00864381343126297,
-0.03914451226592064,
-0.015344792976975441,
-0.039864081889390945,
0.021694982424378395,
-0.0016021636547520757,
-0.041195280849933624,
0.01116230245679617,
0.003768738592043519,
0.01998600736260414,
0.013374974951148033,
-0.03331600874662399,
0.04781530797481537,
0.023385968059301376,
0.010082949884235859,
0.011971816420555115,
-0.02831500954926014,
-0.047059763222932816,
-0.011396162211894989,
0.025706574320793152,
0.006957325618714094,
0.10246651619672775,
0.06396961957216263,
-0.00750149879604578,
-0.02414151467382908,
0.09073755145072937,
-0.04094343259930611,
-0.06011992692947388,
-0.0008668548543937504,
0.03126524016261101,
-0.03247051686048508,
-0.02030981332063675,
0.009390365332365036,
0.038640815764665604,
0.027325604110956192,
0.013572855852544308,
0.01924845017492771,
0.04943433776497841,
0.01836697943508625,
0.0076319207437336445,
0.01409454271197319,
0.013869677670300007,
-0.04259844124317169,
0.03900059685111046,
0.0185648612678051,
0.014778132550418377,
0.005967919249087572,
-0.03511492908000946,
0.03209274262189865,
-0.00011538388935150579,
-0.02038177102804184,
0.03342394530773163,
-0.00714621227234602,
-0.03939636051654816,
-0.014634218998253345,
0.028836697340011597,
0.03448530659079552,
0.05083749443292618,
0.03459324315190315,
0.013168098405003548,
0.009354387409985065,
0.010181890800595284,
0.004632220603525639,
0.0672796294093132,
0.019608234986662865,
-0.01187287550419569,
-0.015929441899061203,
0.051557064056396484,
0.04043973609805107,
0.006948330905288458,
0.006588546559214592,
-0.03975614532828331,
-0.0456206277012825,
0.008796721696853638,
0.041950829327106476,
-0.026264240965247154,
0.03455726429820061,
0.023907653987407684
] |
719,521
|
ibm_platform_services.global_catalog_v1
|
get_artifact
|
Get artifact.
This endpoint returns the binary of an artifact.
:param str object_id: The object's unique ID.
:param str artifact_id: The artifact's ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `BinaryIO` result
|
def get_artifact(self, object_id: str, artifact_id: str, *, account: str = None, **kwargs) -> DetailedResponse:
"""
Get artifact.
This endpoint returns the binary of an artifact.
:param str object_id: The object's unique ID.
:param str artifact_id: The artifact's ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse with `BinaryIO` result
"""
if object_id is None:
raise ValueError('object_id must be provided')
if artifact_id is None:
raise ValueError('artifact_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_artifact'
)
headers.update(sdk_headers)
params = {'account': account}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = '*/*'
path_param_keys = ['object_id', 'artifact_id']
path_param_values = self.encode_path_vars(object_id, artifact_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{object_id}/artifacts/{artifact_id}'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, object_id: str, artifact_id: str, *, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.02220589853823185,
-0.04355909302830696,
-0.08818406611680984,
0.0117691271007061,
0.014931246638298035,
-0.035316262394189835,
-0.0047032092697918415,
0.03961532562971115,
-0.060506634414196014,
-0.03085731714963913,
0.039188969880342484,
0.0807228833436966,
0.00848709512501955,
-0.03847838193178177,
-0.0032131937332451344,
0.03519190847873688,
-0.010845361277461052,
0.06850075721740723,
0.029347317293286324,
0.03387732058763504,
0.008340535685420036,
0.02595425583422184,
-0.016894247382879257,
0.0092820655554533,
0.025012724101543427,
0.01968330889940262,
0.0466146245598793,
-0.024906136095523834,
-0.014957893639802933,
-0.0014122951542958617,
0.0035795909352600574,
-0.05521274730563164,
0.004592179786413908,
0.071591816842556,
-0.04853321239352226,
0.0011735818115994334,
0.06160804629325867,
0.03222520276904106,
-0.13685940206050873,
0.03702167421579361,
-0.03698614612221718,
0.027855079621076584,
0.11760244518518448,
-0.0375901460647583,
0.002749090315774083,
-0.018208837136626244,
-0.019896484911441803,
-0.06160804629325867,
-0.06640452146530151,
-0.010907537303864956,
0.06235416606068611,
-0.007416770327836275,
0.015384247526526451,
-0.05087815597653389,
0.05325862765312195,
0.023946842178702354,
-0.04110756143927574,
-0.021921664476394653,
-0.016965307295322418,
0.056065455079078674,
-0.0242310781031847,
0.019274720922112465,
0.02797943353652954,
-0.010125890374183655,
-0.04185367748141289,
0.021566368639469147,
-0.0489240363240242,
0.003495208453387022,
-0.04927933216094971,
-0.0049119447357952595,
0.033788494765758514,
0.0044811503030359745,
0.036808498203754425,
-0.02810378558933735,
-0.0066440049558877945,
-0.08377841860055923,
0.034090496599674225,
-0.03009343519806862,
0.01776471920311451,
-0.008078506216406822,
-0.024977196007966995,
-0.045797448605298996,
-0.0014744717627763748,
-0.04338144510984421,
-0.00045966211473569274,
-0.046792272478342056,
-0.012133303098380566,
-0.03334437683224678,
0.006710622925311327,
0.0012646259274333715,
0.020074132829904556,
0.005995593033730984,
-0.0748249962925911,
0.029524963349103928,
-0.011049655266106129,
-0.01001041941344738,
-0.026309549808502197,
-0.0046765622682869434,
-0.0077276527881622314,
0.03464120253920555,
-0.034392498433589935,
-0.04927933216094971,
-0.0588722787797451,
0.06182122230529785,
0.02273884043097496,
-0.028228139504790306,
0.023058606311678886,
-0.01567736454308033,
0.010205831378698349,
0.027997197583317757,
0.009082213044166565,
0.05880122259259224,
-0.015171070583164692,
-0.016334660351276398,
-0.021797310560941696,
0.009441948495805264,
0.004443400539457798,
-0.04142732545733452,
-0.0525125116109848,
-0.04245768114924431,
0.019043779000639915,
-0.02996908128261566,
0.025972019881010056,
0.004667680244892836,
0.04043250158429146,
0.009974890388548374,
-0.036737438291311264,
0.006457475479692221,
-0.00280460505746305,
-0.05514168739318848,
-0.006257622502744198,
-0.008202859200537205,
-0.04636591672897339,
0.05102027580142021,
0.008758006617426872,
0.02472849003970623,
0.011875715106725693,
0.019505662843585014,
-0.026576019823551178,
0.061963342130184174,
0.021832840517163277,
-0.013669951818883419,
0.010880890302360058,
-0.004561091773211956,
-0.03822967782616615,
-0.028849905356764793,
0.0012346480507403612,
-0.07880429923534393,
-0.007732094265520573,
-0.0030333257745951414,
-0.014957893639802933,
-0.017453836277127266,
-0.04142732545733452,
-0.0025470166001468897,
-0.01274618599563837,
-0.05300992354750633,
0.03648873418569565,
0.02005636878311634,
-0.0038505028933286667,
0.030182259157299995,
0.008753565140068531,
0.015126658603549004,
0.06711511313915253,
-0.058588046580553055,
0.0021428694017231464,
0.007621064782142639,
-0.03954426571726799,
0.023413900285959244,
-0.002307192888110876,
-0.01552636455744505,
-0.07716993987560272,
0.0192569550126791,
-0.07105887681245804,
-0.04352356120944023,
-0.03815861791372299,
0.05347180739045143,
0.007643270771950483,
0.019612250849604607,
-0.05546145513653755,
0.026806961745023727,
-0.022952018305659294,
-0.04053908959031105,
-0.04839109629392624,
0.013288009911775589,
0.013154774904251099,
0.012515245005488396,
0.007860888727009296,
0.03355755656957626,
0.05514168739318848,
-0.016290247440338135,
-0.022223664447665215,
0.05134003981947899,
0.003139914246276021,
-0.0041680471040308475,
0.0013079274212941527,
-0.08470217883586884,
0.019274720922112465,
-0.03915344178676605,
0.06061322242021561,
0.04537109285593033,
-0.0039615323767066,
-0.04103650152683258,
0.04391438513994217,
0.07024169713258743,
0.036240026354789734,
-0.012044480070471764,
0.03272261470556259,
-0.01895495504140854,
-0.051659803837537766,
0.014380540698766708,
-0.061004046350717545,
0.04903062433004379,
-0.04153391346335411,
-0.025794371962547302,
-0.0006556292064487934,
0.0748249962925911,
-0.0029023110400885344,
-0.00830056518316269,
0.017311718314886093,
0.0018863911973312497,
-0.025545665994286537,
-0.024071194231510162,
0.018084485083818436,
0.022845428436994553,
-0.021530840545892715,
-0.012648480013012886,
0.09116853773593903,
-0.007323505822569132,
-0.004230223596096039,
-0.03380626067519188,
-0.00018680712673813105,
0.019932014867663383,
0.0283347275108099,
0.026860255748033524,
0.004352356307208538,
0.07141417264938354,
0.007705447264015675,
-0.009779478423297405,
0.018706249073147774,
-0.003963753115385771,
0.005920092575252056,
0.000020852727175224572,
0.02147754654288292,
0.05947628244757652,
-0.058552514761686325,
-0.02277437038719654,
-0.024639666080474854,
0.06899817287921906,
-0.03304237872362137,
-0.08278359472751617,
0.04263532534241676,
0.0025781048461794853,
0.02598978392779827,
-0.007527799811214209,
0.05929863452911377,
-0.05290333554148674,
0.05276121571660042,
-0.12243444472551346,
0.03464120253920555,
-0.013350186869502068,
-0.008522624149918556,
-0.014256187714636326,
-0.018581897020339966,
0.003828297136351466,
-0.03115931712090969,
-0.006253181025385857,
0.00862033013254404,
-0.02055378071963787,
-0.012417539022862911,
0.028121551498770714,
0.05027415603399277,
0.02568778395652771,
0.02058931067585945,
-0.0012024494353681803,
-0.01948789693415165,
0.001986317802220583,
0.037874381989240646,
-0.010125890374183655,
-0.03716379404067993,
0.02526143193244934,
-0.05915651470422745,
-0.03426814451813698,
0.015135540626943111,
0.0172051303088665,
0.01895495504140854,
-0.05539039522409439,
0.031248141080141068,
0.022987546399235725,
-0.005578122101724148,
0.00047048748820088804,
0.02002083882689476,
0.061039574444293976,
-0.017542660236358643,
-0.042208973318338394,
-0.0425642691552639,
0.03281143680214882,
-0.050593920052051544,
0.0031132670119404793,
0.042706385254859924,
0.030519787222146988,
-0.04405650496482849,
0.054040275514125824,
0.015970483422279358,
-0.05379157140851021,
-0.03231402486562729,
0.004510018043220043,
0.06263840198516846,
-0.036808498203754425,
0.002360487123951316,
0.01800454407930374,
0.021672958508133888,
0.007363476324826479,
0.023484958335757256,
0.022188134491443634,
-0.05571015924215317,
-0.026274019852280617,
0.04888850823044777,
0.03659532219171524,
0.03442802652716637,
0.045726388692855835,
-0.009672889485955238,
0.030413199216127396,
-0.006111063528805971,
-0.01244418602436781,
0.05293886363506317,
-0.01208000909537077,
-0.020500486716628075,
0.05237039178609848,
0.05922757461667061,
0.013252480886876583,
-0.03741249814629555,
0.011262832209467888,
-0.005511504132300615,
0.034019436687231064,
0.022099310532212257,
-0.05787745490670204,
0.010783184319734573,
-0.07510923594236374,
0.00823838822543621,
0.04998992010951042,
-0.00648856395855546,
-0.05830381065607071,
0.030715199187397957,
0.06018687039613724,
0.0197188388556242,
0.010987479239702225,
0.06320687383413315,
-0.0579485148191452,
0.008056300692260265,
-0.03474779054522514,
0.0012657362967729568,
-0.0348721444606781,
0.008895683102309704,
-0.0039060176350176334,
0.006044446025043726,
0.03748355805873871,
0.005449327640235424,
0.004303503315895796,
-0.0629226341843605,
0.004048135597258806,
-0.03997061774134636,
-0.014584834687411785,
-0.04490920901298523,
-0.0037905469071120024,
-0.026806961745023727,
-0.029773669317364693,
-0.0023249576333910227,
0.019772132858633995,
0.05638521909713745,
-0.014522657729685307,
-0.03425037860870361,
0.00876688864082098,
-0.04483815282583237,
-0.017391661182045937,
-0.015402011573314667,
0.03549391031265259,
-0.04462497681379318,
-0.0629226341843605,
0.04732521250844002,
0.07560664415359497,
-0.008518182672560215,
0.0005945629673078656,
-0.07258664071559906,
-0.02021625079214573,
0.012293186038732529,
0.018848367035388947,
0.010863126255571842,
-0.022259194403886795,
-0.013288009911775589,
0.0034974291920661926,
0.07439864426851273,
-0.0072790938429534435,
0.03965085372328758,
-0.012879421934485435,
0.01936354488134384,
-0.07347487658262253,
0.01554412953555584,
0.013536715880036354,
-0.023254018276929855,
-0.003948208875954151,
-0.027037903666496277,
0.014114069752395153,
0.01383871678262949,
0.04430520907044411,
-0.02300531230866909,
-0.04590403661131859,
0.029418375343084335,
-0.032065317034721375,
0.020962368696928024,
-0.023644842207431793,
0.010685478337109089,
-0.04739627242088318,
-0.026860255748033524,
0.0036684146616607904,
0.03544061630964279,
0.05634969100356102,
0.007887535728514194,
0.00009021146252052858,
-0.012932715937495232,
-0.012151068076491356,
0.002515928354114294,
-0.006897152401506901,
0.005480416119098663,
0.005462651140987873,
-0.03790991008281708,
-0.034392498433589935,
-0.00843380019068718,
0.045264504849910736,
0.006106622517108917,
-0.017880190163850784,
0.03478332236409187,
0.01567736454308033,
-0.08875253796577454,
-0.03613343834877014,
0.06047110632061958,
0.016494542360305786,
-0.024071194231510162,
0.05055839195847511,
0.07539346814155579,
0.012044480070471764,
-0.011076302267611027,
-0.00654629897326231,
0.022152604535222054,
-0.04711203649640083,
-0.009735066443681717,
0.022330252453684807,
0.017080778256058693,
-0.002333840122446418,
0.018670720979571342,
-0.0012823906727135181,
0.07560664415359497,
0.015792835503816605,
-0.002140648663043976,
-0.06178569421172142,
-0.06043557450175285,
-0.10438549518585205,
0.0792306512594223,
-0.007625505793839693,
-0.020038602873682976,
-0.02851237542927265,
-0.002318295883014798,
-0.0258476659655571,
-0.024568606168031693,
-0.06128828227519989,
0.0029156345408409834,
-0.0012479715514928102,
0.0040192678570747375,
0.02940061129629612,
-0.02519037202000618,
-0.008926771581172943,
0.0303599052131176,
0.01398971676826477,
-0.005382710136473179,
0.03641767427325249,
0.07780946791172028,
0.020340604707598686,
0.038833677768707275,
0.01786242611706257,
-0.032793670892715454,
-0.04089438542723656,
0.00041636062087491155,
-0.057095807045698166,
-0.0026513843331485987,
-0.009788360446691513,
0.013998598791658878,
0.019239190965890884,
0.002527031349018216,
0.042777445167303085,
0.037341441959142685,
-0.01362553983926773,
0.007345711346715689,
0.0698508769273758,
-0.06345558166503906,
0.03478332236409187,
0.002789061050862074,
-0.007492270320653915,
-0.015108893625438213,
0.024088960140943527,
-0.03597355633974075,
-0.00947747752070427,
0.040716737508773804,
-0.030111199244856834,
0.02973814122378826,
-0.012506362050771713,
-0.06281604617834091,
-0.019630014896392822,
-0.043772269040346146,
-0.00289564928971231,
0.022898724302649498,
0.012088892050087452,
-0.023573782294988632,
0.03396614268422127,
-0.056989219039678574,
0.0024337666109204292,
-0.022827664390206337,
0.050096508115530014,
-0.0190260149538517,
0.04039697349071503,
0.0025625608395785093,
0.019647778943181038,
0.00882018357515335,
0.03636438027024269,
0.022152604535222054,
-0.015970483422279358,
-0.003928223624825478,
-0.016183659434318542,
-0.0639529898762703,
-0.04760944843292236,
0.0003591804124880582,
0.018546367064118385,
-0.06018687039613724,
-0.02545684389770031,
-0.013225833885371685,
-0.011813538148999214,
-0.006515210960060358,
0.008988947607576847,
-0.04597509279847145,
-0.03108825907111168,
-0.055532511323690414,
0.009264301508665085,
0.012835009954869747,
-0.0031243700068444014,
-0.01226653903722763,
-0.028316963464021683,
-0.05997369438409805,
0.02664707973599434,
0.03020002320408821,
0.030306611210107803,
0.07116546481847763,
-0.023413900285959244,
0.037270382046699524,
-0.03423261269927025,
0.04895956814289093,
0.0237691942602396,
-0.0534362755715847,
0.05329415947198868,
-0.021815074607729912,
-0.08846830576658249,
-0.037803322076797485,
-0.04043250158429146,
0.0132435979321599,
0.05531933531165123,
-0.012044480070471764,
0.02469296008348465,
-0.003939326386898756,
0.048710860311985016,
0.08313889056444168,
0.00706147588789463,
0.005009650718420744,
-0.06377534568309784,
-0.020909074693918228,
0.012488598003983498,
-0.04061014950275421,
-0.019310250878334045,
0.013669951818883419,
0.0303599052131176,
0.023449430242180824,
-0.056065455079078674,
0.048213448375463486,
0.03794544190168381,
-0.0004016492166556418,
-0.019132602959871292,
0.03844285383820534,
-0.02439096011221409,
-0.03119484707713127,
0.018386485055088997,
0.04412756487727165,
-0.01194677408784628,
0.03423261269927025,
-0.06064875051379204,
0.013776539824903011,
-0.03062637709081173,
0.006812769919633865,
-0.023484958335757256,
-0.005493739619851112,
0.053187571465969086,
-0.03295355290174484,
-0.013510068878531456,
-0.0025114871095865965,
-0.05002544820308685,
0.026664843782782555,
0.031070495024323463,
0.02837025746703148,
0.0005457099759951234,
-0.01383871678262949,
0.07212476432323456,
-0.020838016644120216,
-0.0534362755715847,
0.016059305518865585,
-0.005986710544675589,
-0.017347248271107674,
-0.041747089475393295,
-0.002318295883014798,
0.006577387452125549,
-0.03645320609211922,
-0.026238489896059036,
-0.011653656139969826,
0.06171463429927826,
-0.03298908472061157,
0.02737543359398842,
0.04437626898288727,
0.010561125352978706,
-0.0321541428565979,
0.04046802967786789,
-0.03576038032770157,
0.06732828915119171,
0.030999435111880302,
-0.05393368750810623,
0.024248842149972916,
0.03151461109519005,
-0.04434074088931084,
0.06960216909646988,
0.04853321239352226,
0.003965973854064941,
0.044198621064424515,
-0.023822488263249397,
0.05784192681312561,
0.02737543359398842,
0.005240592174232006,
0.005746886599808931,
0.008513742126524448,
0.04430520907044411,
-0.07272876054048538,
0.0829257071018219,
-0.009020036086440086,
0.044198621064424515,
-0.03474779054522514,
-0.027037903666496277,
0.018972720950841904,
-0.053045451641082764,
-0.014202892780303955,
0.014575952664017677,
-0.02837025746703148,
0.027162255719304085,
0.05880122259259224,
0.06317134201526642,
0.053684983402490616,
0.003581811673939228,
-0.004536665044724941,
0.049243804067373276,
0.04398544505238533,
-0.03547614440321922,
0.015357599593698978,
-0.056065455079078674,
-0.0009415301610715687,
-0.026735903695225716,
-0.007496711798012257,
-0.06285157799720764,
0.030413199216127396,
-0.0020751412957906723,
0.037767793983221054,
0.013652186840772629,
0.04057461768388748,
-0.008953418582677841,
-0.053045451641082764,
0.000009715080523164943,
0.02350272424519062,
0.010996361263096333,
0.04142732545733452,
0.016965307295322418,
0.022632252424955368,
-0.027464255690574646,
-0.030342141166329384,
0.06608475744724274,
0.012390892021358013,
-0.04341697320342064,
0.003939326386898756,
0.013776539824903011,
-0.08704712241888046,
-0.06992193311452866,
0.02591872587800026,
-0.04085885360836983,
0.0065995934419333935,
-0.02790837362408638,
0.025296960026025772,
0.010170302353799343,
-0.03032437525689602,
0.018510837107896805,
0.043239329010248184,
-0.0057557690888643265,
0.010276890359818935,
-0.06413063406944275,
0.03519190847873688,
0.09528995305299759,
0.009815007448196411,
0.01872401498258114,
-0.0079230647534132,
-0.021140016615390778,
-0.02082025073468685,
-0.042315561324357986,
-0.022756606340408325,
0.05823275074362755,
0.00947747752070427,
-0.032793670892715454,
0.005373827647417784,
0.026398373767733574,
-0.057060278952121735,
0.01567736454308033,
-0.05322309955954552,
0.016432365402579308,
-0.020003074780106544,
-0.0068083289079368114,
0.028228139504790306,
0.03281143680214882,
0.058516986668109894,
0.045228976756334305,
-0.009983772411942482,
0.04682780057191849,
0.026167431846261024,
0.007048152387142181,
0.03346873074769974,
-0.0008782432996667922,
0.000053779913287144154,
0.0009154382278211415,
0.0158727765083313,
-0.04331038519740105,
0.021353192627429962,
-0.059049926698207855,
0.006097740028053522,
0.014806893654167652,
-0.019114838913083076,
-0.014265069738030434,
-0.01470030564814806,
-0.02117554470896721,
-0.004925268702208996,
-0.004199135582894087,
0.05773533880710602,
0.02327178232371807,
-0.0010903096990659833,
-0.04789368435740471,
0.03155014291405678,
-0.021726252511143684,
0.016832072287797928,
0.07340382039546967,
0.006541857961565256,
-0.028530139476060867,
0.004536665044724941,
0.019079308956861496,
0.05421792343258858,
-0.005813504569232464,
-0.06420169770717621,
-0.03901132568717003,
0.02082025073468685,
-0.02412448823451996,
-0.024053430184721947,
0.055532511323690414,
-0.007545564789324999,
-0.028992021456360817
] |
719,522
|
ibm_platform_services.global_catalog_v1
|
get_audit_logs
|
Get the audit logs for an object.
This endpoint returns the audit logs for an object. Only administrators and
editors can get logs.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str ascending: (optional) Sets the sort order. False is descending.
:param str startat: (optional) Starting time for the logs. If it's
descending then the entries will be equal or earlier. The default is
latest. For ascending it will entries equal or later. The default is
earliest. It can be either a number or a string. If a number then it is in
the format of Unix timestamps. If it is a string then it is a date in the
format YYYY-MM-DDTHH:MM:SSZ and the time is UTC. The T and the Z are
required. For example: 2017-12-24T12:00:00Z for Noon UTC on Dec 24, 2017.
:param int offset: (optional) Count of number of log entries to skip before
returning logs. The default is zero.
:param int limit: (optional) Count of number of entries to return. The
default is fifty. The maximum value is two hundred.
: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 representing a `AuditSearchResult` object
|
def get_audit_logs(
self,
id: str,
*,
account: str = None,
ascending: str = None,
startat: str = None,
offset: int = None,
limit: int = None,
**kwargs
) -> DetailedResponse:
"""
Get the audit logs for an object.
This endpoint returns the audit logs for an object. Only administrators and
editors can get logs.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str ascending: (optional) Sets the sort order. False is descending.
:param str startat: (optional) Starting time for the logs. If it's
descending then the entries will be equal or earlier. The default is
latest. For ascending it will entries equal or later. The default is
earliest. It can be either a number or a string. If a number then it is in
the format of Unix timestamps. If it is a string then it is a date in the
format YYYY-MM-DDTHH:MM:SSZ and the time is UTC. The T and the Z are
required. For example: 2017-12-24T12:00:00Z for Noon UTC on Dec 24, 2017.
:param int offset: (optional) Count of number of log entries to skip before
returning logs. The default is zero.
:param int limit: (optional) Count of number of entries to return. The
default is fifty. The maximum value is two hundred.
: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 representing a `AuditSearchResult` object
"""
if id is None:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_audit_logs'
)
headers.update(sdk_headers)
params = {'account': account, 'ascending': ascending, 'startat': startat, '_offset': offset, '_limit': limit}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}/logs'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, id: str, *, account: Optional[str] = None, ascending: Optional[str] = None, startat: Optional[str] = None, offset: Optional[int] = None, limit: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.056120723485946655,
-0.007047418039292097,
0.01259852945804596,
-0.028984008356928825,
0.0033736166078597307,
-0.03301110491156578,
-0.03838672116398811,
-0.021724151447415352,
-0.06169954314827919,
0.00798030011355877,
-0.03162563592195511,
0.009753700345754623,
0.032475389540195465,
-0.014963063411414623,
-0.007407640106976032,
0.04947047308087349,
-0.0010512244189158082,
0.01690271869301796,
0.006507085170596838,
0.013272791169583797,
0.054568998515605927,
0.02146553061902523,
-0.04655175283551216,
0.028854697942733765,
0.02120690979063511,
0.025418734177947044,
0.020615775138139725,
-0.0457758903503418,
0.013032643124461174,
0.024679817259311676,
0.003793875453993678,
-0.0425616018474102,
0.010243232361972332,
0.005204744637012482,
-0.09044340252876282,
-0.04717983305454254,
0.06158870831131935,
0.008506778627634048,
-0.10123158991336823,
0.07536950707435608,
-0.006904252804815769,
0.04100987687706947,
0.08305423706769943,
-0.013051115907728672,
-0.010668110102415085,
-0.019119469448924065,
0.009268786758184433,
-0.030591150745749474,
-0.03605913370847702,
-0.027099769562482834,
-0.02957514114677906,
0.02902095392346382,
0.011527100577950478,
-0.08357147872447968,
0.04736455902457237,
-0.018306661397218704,
-0.025862084701657295,
-0.008797726593911648,
0.02813425287604332,
-0.012478455901145935,
-0.01525862980633974,
0.008973219431936741,
0.03001849167048931,
-0.015295575372874737,
-0.025788193568587303,
0.018454445526003838,
-0.0584113635122776,
0.03413795307278633,
-0.04695815593004227,
-0.004057114478200674,
-0.027229079976677895,
-0.016071438789367676,
0.04514781013131142,
-0.003008776344358921,
-0.056305453181266785,
-0.04267244040966034,
0.020689668133854866,
-0.008959365077316761,
-0.0058743879199028015,
-0.016893483698368073,
-0.03834977746009827,
-0.027025878429412842,
-0.010649637319147587,
0.04655175283551216,
-0.0022687052842229605,
-0.019729075953364372,
-0.0724877268075943,
-0.04400248825550079,
-0.014815280213952065,
0.04219214245676994,
0.019433509558439255,
-0.014150254428386688,
-0.07126851379871368,
0.006303883157670498,
-0.04991382360458374,
0.019193360581994057,
-0.008072664961218834,
0.01419643685221672,
0.005250926595181227,
0.05482761934399605,
-0.047327615320682526,
-0.03912563994526863,
0.016228457912802696,
0.04873155802488327,
-0.031237702816724777,
-0.06624387949705124,
-0.030979081988334656,
-0.017281414940953255,
0.023940900340676308,
0.04584978148341179,
-0.018953213468194008,
0.05220446363091469,
-0.0002939791593234986,
-0.0330665223300457,
0.02427341416478157,
0.018990159034729004,
0.03070198930799961,
-0.002593135694041848,
-0.11940893530845642,
-0.04655175283551216,
0.04629313200712204,
-0.052684761583805084,
0.00925031304359436,
-0.015646561980247498,
-0.025566518306732178,
-0.01653326116502285,
-0.06402713060379028,
0.0035213998053222895,
-0.033399034291505814,
0.0155080147087574,
-0.06158870831131935,
-0.021003706380724907,
-0.004271862097084522,
0.04137933626770973,
0.06757393479347229,
-0.01928572542965412,
0.035024650394916534,
0.06628082692623138,
-0.041453227400779724,
0.05759855732321739,
-0.038460616022348404,
-0.001717981300316751,
0.018066512420773506,
-0.024421196430921555,
-0.02432883158326149,
-0.046071454882621765,
0.04355913773179054,
-0.001323122764006257,
0.026564056053757668,
0.011056041345000267,
-0.0009975375141948462,
-0.05785717815160751,
-0.039458151906728745,
0.029907653108239174,
-0.04348524659872055,
-0.05238919332623482,
-0.019618239253759384,
-0.04115765914320946,
0.021631786599755287,
0.021040653809905052,
-0.023035727441310883,
-0.003997077699750662,
0.05102219805121422,
-0.06812811642885208,
-0.0008255084976553917,
-0.014214909635484219,
-0.06413797289133072,
0.00817426573485136,
-0.013282028026878834,
-0.03136701509356499,
-0.04836209863424301,
0.043448302894830704,
-0.013817742466926575,
-0.0005178189603611827,
-0.0679064467549324,
0.0006898480351082981,
0.037278346717357635,
0.02102218009531498,
-0.009310350753366947,
0.02089286968111992,
-0.04636702314019203,
-0.03240149840712547,
-0.005250926595181227,
0.04743845388293266,
-0.027727849781513214,
-0.03251233324408531,
-0.008645324967801571,
0.058854714035987854,
-0.04511086642742157,
0.02146553061902523,
-0.05785717815160751,
0.004184115678071976,
0.01331897359341383,
-0.062364570796489716,
-0.06624387949705124,
-0.014205673709511757,
-0.032346077263355255,
-0.022666269913315773,
0.031182285398244858,
-0.03563425689935684,
0.03131159394979477,
0.043337464332580566,
0.03068351559340954,
-0.004987687803804874,
0.05080052465200424,
-0.010058503597974777,
0.010889784432947636,
-0.02833745628595352,
-0.056120723485946655,
-0.0287623330950737,
-0.030868245288729668,
0.04854682832956314,
-0.05039411783218384,
-0.016542498022317886,
-0.04747539758682251,
0.06890398263931274,
0.014981536194682121,
-0.004987687803804874,
0.024790655821561813,
-0.023534497246146202,
-0.0014824516838416457,
-0.055049292743206024,
-0.049064069986343384,
0.011148405261337757,
0.016893483698368073,
0.03225371241569519,
0.08098527044057846,
0.01603449322283268,
0.02008006162941456,
-0.04873155802488327,
0.032087456434965134,
0.008853145875036716,
0.03323277831077576,
-0.006710287183523178,
0.014842988923192024,
0.03729682043194771,
-0.006294646766036749,
-0.020117007195949554,
0.0197106022387743,
0.014769097790122032,
0.041268497705459595,
0.04067736491560936,
0.05261087045073509,
0.04836209863424301,
-0.02981528826057911,
-0.043337464332580566,
-0.05360840633511543,
0.07392861694097519,
-0.024181049317121506,
-0.0923645868897438,
0.00261160871013999,
-0.007592368870973587,
0.031791891902685165,
-0.01051109004765749,
0.036280810832977295,
-0.03857145085930824,
-0.014399639330804348,
-0.013226608745753765,
0.025178587064146996,
-0.0507635772228241,
0.019193360581994057,
-0.009402714669704437,
-0.027155188843607903,
0.00683036120608449,
-0.015591142699122429,
-0.021133016794919968,
0.003773093456402421,
-0.009338059462606907,
0.05320200324058533,
0.051871951669454575,
0.00200777524150908,
0.010501853190362453,
0.02863302268087864,
0.014981536194682121,
-0.007056654430925846,
0.030240165069699287,
0.029796816408634186,
-0.05401480942964554,
-0.07171186804771423,
0.03186578303575516,
-0.02551109902560711,
-0.008368231356143951,
0.009864537976682186,
0.014427348971366882,
0.06883008778095245,
-0.08142861723899841,
0.014113308861851692,
0.027469228953123093,
-0.01947045512497425,
0.014741388149559498,
0.07100989669561386,
0.06801728159189224,
-0.05257392302155495,
-0.06439658999443054,
-0.014575132168829441,
0.042894113808870316,
-0.027783267199993134,
-0.05146554857492447,
0.023072674870491028,
0.022370703518390656,
-0.03607760742306709,
0.029926126822829247,
0.07913798093795776,
-0.04341135546565056,
-0.026046814396977425,
0.0010437198216095567,
-0.02695198729634285,
0.003029558574780822,
0.08165029436349869,
-0.0197106022387743,
0.027653956785798073,
0.016727227717638016,
-0.005472601857036352,
-0.021299274638295174,
-0.03181036561727524,
-0.04699510335922241,
-0.011684120632708073,
0.0154064130038023,
0.015434122644364834,
0.07488920539617538,
-0.015683507546782494,
0.09288182854652405,
-0.014519712887704372,
-0.06336210668087006,
0.08992616087198257,
-0.03934731334447861,
0.05179806053638458,
0.061477869749069214,
0.00816041138023138,
0.0368904173374176,
-0.00904249306768179,
-0.012062815017998219,
-0.0026370089035481215,
0.034729085862636566,
0.0023229694925248623,
-0.050135497003793716,
-0.012035105377435684,
-0.026527108624577522,
0.02588055655360222,
0.02595444954931736,
0.005601912271231413,
-0.044630568474531174,
0.047955695539712906,
0.010474144481122494,
0.05759855732321739,
0.03168105334043503,
0.1051478460431099,
-0.006682578008621931,
-0.046699535101652145,
0.0575246661901474,
0.030351003631949425,
-0.019267253577709198,
0.031293123960494995,
0.008576052263379097,
0.022740161046385765,
-0.0310160294175148,
0.0028794659301638603,
-0.02794952504336834,
-0.005634239874780178,
-0.02551109902560711,
-0.03031405806541443,
-0.028540657833218575,
-0.022869471460580826,
-0.03567120432853699,
0.022444594651460648,
0.021927352994680405,
-0.024107158184051514,
-0.07381778210401535,
0.05135471001267433,
-0.030905190855264664,
-0.05264781415462494,
-0.010806656442582607,
-0.005347909405827522,
0.027339918538928032,
0.0073152752593159676,
0.03164410591125488,
-0.03524632751941681,
-0.03572662174701691,
-0.018140405416488647,
0.12546806037425995,
0.040529582649469376,
0.01300493348389864,
0.04363303259015083,
-0.012339908629655838,
0.02159484103322029,
0.0009848374174907804,
0.012737076729536057,
-0.016487078741192818,
0.014270328916609287,
0.008405177854001522,
0.0425616018474102,
-0.012432273477315903,
0.013282028026878834,
-0.039088692516088486,
0.011092986911535263,
-0.038054209202528,
0.05102219805121422,
0.03336209058761597,
0.019119469448924065,
-0.05737688019871712,
0.013032643124461174,
0.06883008778095245,
0.05782023072242737,
0.012875623069703579,
-0.008589906617999077,
-0.02551109902560711,
0.022980310022830963,
-0.067500039935112,
-0.02600986696779728,
0.0026393181178718805,
0.06317737698554993,
-0.02189040742814541,
0.006525557953864336,
-0.003752311458811164,
0.07311581075191498,
0.04222908988595009,
0.009938430041074753,
0.06816506385803223,
-0.02619459666311741,
-0.005107761826366186,
0.03319583460688591,
-0.030794354155659676,
-0.0035929824225604534,
0.0425616018474102,
-0.006728760432451963,
0.031182285398244858,
-0.010686582885682583,
0.03568967804312706,
-0.0301293283700943,
-0.0742611289024353,
0.05508624017238617,
0.03539410978555679,
-0.04854682832956314,
-0.020948288962244987,
0.048325151205062866,
0.04522170126438141,
-0.012072051875293255,
-0.009019401855766773,
0.037019725888967514,
0.028411347419023514,
0.019119469448924065,
0.0042787897400557995,
0.05153943970799446,
-0.05534486100077629,
-0.0012711676536127925,
0.030868245288729668,
0.010889784432947636,
-0.01138855330646038,
0.04293106123805046,
-0.023756172508001328,
0.06561580300331116,
0.03786947950720787,
0.022500013932585716,
0.010501853190362453,
-0.03563425689935684,
-0.08371926099061966,
-0.025751246139407158,
0.01737377978861332,
-0.0162931140512228,
0.021003706380724907,
-0.04278327524662018,
-0.037777114659547806,
-0.02750617451965809,
-0.04193352162837982,
0.006668723188340664,
-0.04954436421394348,
0.014030180871486664,
-0.008354377001523972,
-0.0004927073605358601,
-0.035024650394916534,
0.03467366471886635,
-0.003193505574017763,
-0.030849771574139595,
0.04422416538000107,
0.04300495237112045,
0.01934114471077919,
0.049507420510053635,
-0.0746675357222557,
-0.014288801699876785,
0.04422416538000107,
0.019193360581994057,
-0.031034501269459724,
0.003091904567554593,
-0.025566518306732178,
0.002805574331432581,
-0.025289423763751984,
0.009153330698609352,
0.054495107382535934,
-0.048066530376672745,
-0.04230298101902008,
-0.02833745628595352,
0.03585593402385712,
-0.06081284582614899,
0.02227833867073059,
-0.006049880292266607,
-0.005601912271231413,
0.0074953860603272915,
0.0022294502705335617,
-0.000004135660674364772,
-0.006483993958681822,
0.03812810033559799,
-0.07082516700029373,
0.035412583500146866,
-0.01163793820887804,
-0.017650872468948364,
0.040270961821079254,
0.014094836078584194,
0.004932268988341093,
-0.025289423763751984,
-0.021077599376440048,
0.0018149641109630466,
0.02639779821038246,
-0.049064069986343384,
-0.03607760742306709,
-0.028466766700148582,
0.00955049879848957,
-0.0566379651427269,
0.004996924195438623,
-0.01197968702763319,
-0.02451356127858162,
0.011739538982510567,
0.0036276192404329777,
0.008077283389866352,
-0.016182275488972664,
0.040344852954149246,
0.005334055051207542,
-0.02408868446946144,
-0.03768475353717804,
-0.011148405261337757,
0.010732765309512615,
-0.04873155802488327,
-0.028596077114343643,
-0.006183809135109186,
-0.02033868245780468,
-0.026286961510777473,
0.024347305297851562,
-0.07326359301805496,
-0.029963072389364243,
-0.012921805493533611,
0.027413809671998024,
0.0060452623292803764,
-0.01397476252168417,
-0.03960593417286873,
-0.03953204303979874,
-0.05541875213384628,
-0.001804573112167418,
-0.02527095191180706,
0.03618844598531723,
0.025363314896821976,
0.005721986293792725,
0.06746309250593185,
-0.04621924087405205,
0.043337464332580566,
0.022112082690000534,
-0.0746675357222557,
0.03624386340379715,
-0.02639779821038246,
-0.05951974168419838,
0.0031542505603283644,
-0.008562196977436543,
0.003620691830292344,
0.03650248423218727,
-0.0055372570641338825,
-0.002092057839035988,
-0.027284499257802963,
0.038054209202528,
0.1015271544456482,
0.028928589075803757,
-0.003375925589352846,
0.002692427719011903,
-0.0199138056486845,
0.024550506845116615,
-0.051243871450424194,
0.007366075646132231,
-0.0055742026306688786,
0.07282023876905441,
-0.006507085170596838,
0.0006546340300701559,
0.023035727441310883,
0.07082516700029373,
0.0032789427787065506,
-0.06639166921377182,
0.04160100966691971,
-0.04729066789150238,
-0.026841148734092712,
0.012838677503168583,
0.006202281918376684,
0.018417498096823692,
0.0038492942694574594,
0.017567744478583336,
-0.022943364456295967,
0.018306661397218704,
-0.01705973967909813,
0.034913815557956696,
-0.022481540217995644,
0.0869704931974411,
-0.018509862944483757,
-0.03367612883448601,
-0.049618255347013474,
-0.02139163762331009,
-0.0007123618852347136,
0.042007412761449814,
-0.02907637134194374,
0.01881466619670391,
-0.02083745039999485,
0.01996922306716442,
0.05637934431433678,
0.0059113334864377975,
-0.02445814199745655,
-0.014981536194682121,
0.008599143475294113,
-0.012607766315340996,
0.0516502782702446,
0.008834673091769218,
0.06591136753559113,
-0.004119460470974445,
0.04411332681775093,
0.04743845388293266,
0.04522170126438141,
-0.015323285013437271,
0.0751478299498558,
0.006599449552595615,
0.00334590720012784,
0.0222044475376606,
-0.059298064559698105,
0.019673656672239304,
0.02833745628595352,
-0.028300508856773376,
-0.011591755785048008,
-0.0067749423906207085,
-0.024476615712046623,
0.061293140053749084,
-0.034839920699596405,
0.01781712844967842,
0.02551109902560711,
0.02152094803750515,
0.05560348182916641,
-0.049137961119413376,
0.02902095392346382,
-0.014057890512049198,
0.026564056053757668,
-0.007185964845120907,
-0.02065272256731987,
0.05951974168419838,
0.051576387137174606,
0.07869462668895721,
-0.04178573936223984,
-0.026804203167557716,
-0.0009727145661599934,
-0.010889784432947636,
-0.004204897675663233,
-0.005832823924720287,
-0.062364570796489716,
0.01847291737794876,
-0.03256775438785553,
0.06657639145851135,
0.015757398679852486,
0.011951977387070656,
0.029094845056533813,
0.03269706293940544,
0.01661638915538788,
-0.02189040742814541,
-0.02028326317667961,
-0.05298032611608505,
-0.0060729715041816235,
-0.03860839828848839,
-0.03979066386818886,
-0.015895945951342583,
0.030036963522434235,
0.05009855329990387,
0.028411347419023514,
0.019544346258044243,
0.02745075523853302,
0.06295569986104965,
0.0403079055249691,
-0.0014235691633075476,
0.011619465425610542,
0.015267866663634777,
0.020172426477074623,
-0.05039411783218384,
-0.02881775051355362,
0.008049573749303818,
0.023497551679611206,
-0.022629324346780777,
-0.009144093841314316,
-0.04814042150974274,
0.008326667360961437,
-0.03666874021291733,
-0.040270961821079254,
-0.0006165336235426366,
-0.0346367210149765,
-0.032974157482385635,
-0.023257402703166008,
-0.006211518310010433,
0.050689686089754105,
-0.005495693068951368,
-0.05128081887960434,
-0.00324430619366467,
0.03212440386414528,
-0.0074676768854260445,
0.004177188500761986,
-0.03879312798380852,
0.019378090277314186,
0.08867000043392181,
-0.0055742026306688786,
-0.04296800494194031,
0.019858386367559433,
-0.03602219000458717,
0.008534488268196583,
-0.008867000229656696,
0.0026370089035481215,
0.07692123204469681,
0.05564042925834656,
-0.02338671311736107,
0.04366997629404068,
0.013863924890756607,
0.01758621819317341,
-0.01553572341799736,
0.007647787686437368,
0.020818978548049927,
0.04555421322584152,
-0.028540657833218575,
0.04459362104535103,
-0.006156099960207939,
0.008903945796191692,
0.0039416588842868805,
-0.009476606734097004,
0.0924384817481041,
-0.012524638324975967,
-0.022056663408875465,
0.010049266740679741,
-0.001932729035615921,
-0.018639173358678818,
-0.014427348971366882,
0.025363314896821976,
-0.030923664569854736,
-0.04422416538000107,
-0.0444088950753212,
0.0006806115270592272,
0.033786967396736145,
-0.026120705530047417,
-0.016311585903167725,
-0.015655796974897385,
-0.013780796900391579,
-0.05257392302155495,
-0.02540026232600212,
0.0625123530626297,
0.010603454895317554,
0.01645013317465782,
-0.02739533595740795,
0.032032039016485214,
-0.022814054042100906,
0.004237225279211998,
-0.0021647950634360313,
0.017041265964508057,
0.006114535499364138,
-0.007730916142463684,
0.034341152757406235,
0.06583748012781143,
0.03801726549863815,
0.003973986487835646,
-0.031477849930524826,
-0.015628088265657425,
0.0014570513740181923,
0.01085283886641264,
0.02438425086438656,
0.0416749007999897,
0.02427341416478157
] |
719,524
|
ibm_platform_services.global_catalog_v1
|
get_catalog_entry
|
Get a specific catalog object.
This endpoint returns a specific catalog entry using the object's unique
identifier, for example `/*service_name*?complete=true`. This endpoint is ETag
enabled. This can be used by an unauthenticated user for publicly available
services.
:param str id: The catalog entry's unqiue ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str include: (optional) A GET call by default returns a basic set of
properties. To include other properties, you must add this parameter. A
wildcard (`*`) includes all properties for an object, for example `GET
/id?include=*`. To include specific metadata fields, separate each field
with a colon (:), for example `GET
/id?include=metadata.ui:metadata.pricing`.
:param str languages: (optional) Return the data strings in the specified
langauge. By default the strings returned are of the language preferred by
your browser through the Accept-Langauge header, which allows an override
of the header. Languages are specified in standard form, such as `en-us`.
To include all languages use a wildcard (*).
:param bool complete: (optional) Returns all available fields for all
languages. Use the value `?complete=true` as shortcut for
?include=*&languages=*.
:param int depth: (optional) Return the children down to the requested
depth. Use * to include the entire children tree. If there are more
children than the maximum permitted an error will be returned. Be judicious
with this as it can cause a large number of database accesses and can
result in a large amount of data returned.
: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 representing a `CatalogEntry` object
|
def get_catalog_entry(
self,
id: str,
*,
account: str = None,
include: str = None,
languages: str = None,
complete: bool = None,
depth: int = None,
**kwargs
) -> DetailedResponse:
"""
Get a specific catalog object.
This endpoint returns a specific catalog entry using the object's unique
identifier, for example `/*service_name*?complete=true`. This endpoint is ETag
enabled. This can be used by an unauthenticated user for publicly available
services.
:param str id: The catalog entry's unqiue ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str include: (optional) A GET call by default returns a basic set of
properties. To include other properties, you must add this parameter. A
wildcard (`*`) includes all properties for an object, for example `GET
/id?include=*`. To include specific metadata fields, separate each field
with a colon (:), for example `GET
/id?include=metadata.ui:metadata.pricing`.
:param str languages: (optional) Return the data strings in the specified
langauge. By default the strings returned are of the language preferred by
your browser through the Accept-Langauge header, which allows an override
of the header. Languages are specified in standard form, such as `en-us`.
To include all languages use a wildcard (*).
:param bool complete: (optional) Returns all available fields for all
languages. Use the value `?complete=true` as shortcut for
?include=*&languages=*.
:param int depth: (optional) Return the children down to the requested
depth. Use * to include the entire children tree. If there are more
children than the maximum permitted an error will be returned. Be judicious
with this as it can cause a large number of database accesses and can
result in a large amount of data returned.
: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 representing a `CatalogEntry` object
"""
if id is None:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_catalog_entry'
)
headers.update(sdk_headers)
params = {'account': account, 'include': include, 'languages': languages, 'complete': complete, 'depth': depth}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, id: str, *, account: Optional[str] = None, include: Optional[str] = None, languages: Optional[str] = None, complete: Optional[bool] = None, depth: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.020792771130800247,
-0.008498037233948708,
-0.012702527455985546,
-0.03174225613474846,
0.029211124405264854,
-0.012843145057559013,
0.019480332732200623,
-0.012768149375915527,
5.401357157097664e-7,
-0.044022928923368454,
-0.01542114932090044,
0.02351139299571514,
-0.012758774682879448,
-0.027767442166805267,
-0.009416744112968445,
0.02578003704547882,
-0.04301047697663307,
0.04361044615507126,
-0.023473894223570824,
-0.0015374276554211974,
0.06314703077077866,
0.0017319497419521213,
-0.022255202755331993,
0.03033607266843319,
0.04829772561788559,
-0.001144282054156065,
0.0844460278749466,
-0.025142567232251167,
-0.017361681908369064,
0.01588050276041031,
0.028854891657829285,
0.005652858875691891,
-0.0068668643943965435,
0.040535591542720795,
-0.08684591203927994,
-0.02159898355603218,
0.025311307981610298,
-0.003215473610907793,
-0.05470992624759674,
0.05073511227965355,
-0.02913612872362137,
0.04578534513711929,
0.06997170299291611,
-0.015955498442053795,
0.010555753484368324,
0.0070168571546673775,
-0.01140883844345808,
-0.013068134896457195,
-0.06622188538312912,
-0.008474601432681084,
0.007457461673766375,
-0.006290328688919544,
0.005418494809418917,
-0.04953517019748688,
0.0082730483263731,
-0.027129972353577614,
-0.04578534513711929,
0.03438588231801987,
-0.033748410642147064,
0.02491757646203041,
-0.011352590285241604,
-0.0006480164011009037,
-0.014089961536228657,
0.035848312079906464,
-0.040685586631298065,
0.021542735397815704,
-0.026961231604218483,
0.014071213081479073,
-0.02437385357916355,
0.01221504993736744,
0.011380714364349842,
0.012618156149983406,
-0.007738698273897171,
-0.0056716082617640495,
0.0035295214038342237,
-0.0154961459338665,
0.043347958475351334,
-0.05298500508069992,
0.015946123749017715,
-0.00766370166093111,
-0.07762134820222855,
-0.08107118308544159,
0.024973824620246887,
0.022348947823047638,
0.015439897775650024,
0.04241050407290459,
0.02281767688691616,
-0.04357294738292694,
-0.01934908889234066,
0.06858427077531815,
-0.010387010872364044,
0.0004455845046322793,
-0.0665968656539917,
0.03449837490916252,
-0.014230580069124699,
-0.007569956127554178,
0.047847747802734375,
-0.004870083183050156,
0.047660257667303085,
0.04394793137907982,
0.018233517184853554,
-0.07192161679267883,
0.0032764081843197346,
0.016330480575561523,
0.0021866157185286283,
-0.03324218466877937,
-0.02019280008971691,
0.02564879320561886,
0.016480473801493645,
0.03993561863899231,
0.007935564033687115,
0.021692728623747826,
0.0015409430488944054,
-0.021823972463607788,
-0.05785977467894554,
-0.0007927361293695867,
-0.01237441785633564,
0.012974388897418976,
-0.08474601060152054,
-0.044847890734672546,
0.01726793684065342,
-0.0466478057205677,
0.004495101049542427,
-0.04829772561788559,
0.003306875703856349,
-0.025180064141750336,
-0.057109810411930084,
0.020511534065008163,
-0.034592121839523315,
0.017024198547005653,
-0.0043076095171272755,
-0.023061415180563927,
0.0033209375105798244,
-0.0027584638446569443,
0.023773880675435066,
-0.0017003106186166406,
0.0013897783355787396,
0.027279965579509735,
-0.05647234246134758,
0.08939579129219055,
0.008385542780160904,
0.022742679342627525,
0.011493208818137646,
-0.017736665904521942,
-0.07717137038707733,
-0.065546914935112,
-0.029211124405264854,
-0.06674686074256897,
-0.03851068764925003,
0.006262205075472593,
-0.014080586843192577,
-0.03474211320281029,
0.0032248483039438725,
0.014127460308372974,
-0.01169007457792759,
-0.06524693220853806,
0.027504954487085342,
-0.00413652416318655,
0.02928612194955349,
0.01325562596321106,
-0.0008372652810066938,
0.03191099688410759,
0.0657719075679779,
-0.04357294738292694,
-0.029042383655905724,
-0.025686290115118027,
-0.07405901700258255,
-0.019255343824625015,
0.00252878712490201,
-0.019086601212620735,
-0.041735537350177765,
0.01273065060377121,
-0.024880079552531242,
-0.03221098333597183,
-0.08197113871574402,
-0.004406042397022247,
0.06183458864688873,
-0.03785446658730507,
0.014033714309334755,
-0.003698263317346573,
-0.024486348032951355,
-0.06584689766168594,
0.010555753484368324,
0.07004670053720474,
0.026736240833997726,
-0.014052463695406914,
0.028817392885684967,
0.025161314755678177,
0.02512381784617901,
-0.006337201688438654,
-0.03526708856225014,
-0.006815304048359394,
-0.02176772616803646,
-0.02403636835515499,
-0.07852130383253098,
-0.023661386221647263,
0.031067287549376488,
-0.040160611271858215,
-0.004945079796016216,
-0.01794290542602539,
-0.015439897775650024,
0.00011586368782445788,
0.056059859693050385,
-0.0007159819360822439,
0.059884682297706604,
0.04653530940413475,
0.008155866526067257,
-0.05328499153256416,
-0.03787321597337723,
0.009993279352784157,
0.025498799979686737,
0.0216364823281765,
-0.006262205075472593,
0.00818398967385292,
-0.012018184177577496,
0.06187208741903305,
-0.033542171120643616,
-0.035660821944475174,
0.030186079442501068,
-0.00826836097985506,
0.002188959391787648,
-0.052047550678253174,
0.04466039687395096,
-0.0030373570043593645,
-0.034085895866155624,
-0.03541708365082741,
0.07398401945829391,
0.04499788209795952,
-0.007682451047003269,
-0.06299703568220139,
-0.03483586013317108,
-0.05737229809165001,
-0.00413418048992753,
0.01132446713745594,
-0.014277452602982521,
-0.021523986011743546,
0.023117661476135254,
0.024861330166459084,
0.028479909524321556,
0.01676171086728573,
0.06217207387089729,
0.018720993772149086,
-0.03151726722717285,
0.03873567655682564,
-0.06843427568674088,
-0.003902160096913576,
-0.05111009255051613,
0.03744198754429817,
-0.017211690545082092,
-0.09239564836025238,
-0.0012948609655722976,
-0.03174225613474846,
0.0783713087439537,
0.0156555138528347,
0.0672343373298645,
-0.06839677691459656,
-0.04424791783094406,
-0.0833960771560669,
0.031161032617092133,
-0.043872933834791183,
-0.043347958475351334,
0.000040024970076046884,
-0.03346717357635498,
0.065546914935112,
0.010030778124928474,
-0.009608922526240349,
0.018224142491817474,
-0.018758492544293404,
0.07270907610654831,
0.01845850609242916,
-0.002737371250987053,
0.053434986621141434,
0.010968233458697796,
0.07068417221307755,
-0.012936891056597233,
0.04184802994132042,
0.019461583346128464,
-0.011202597990632057,
-0.07409651577472687,
0.031817253679037094,
-0.03012983128428459,
-0.009397994726896286,
-0.00879333633929491,
-0.027054976671934128,
0.006018466781824827,
-0.07687138020992279,
-0.008840208873152733,
0.043647944927215576,
-0.0476977564394474,
0.013152506202459335,
0.05174756422638893,
0.05688482150435448,
-0.02771119587123394,
-0.01384622324258089,
0.012674403376877308,
0.035810813307762146,
-0.07113415002822876,
-0.042110517621040344,
0.03271720930933952,
-0.011418212205171585,
-0.0323609784245491,
-0.0065200054086744785,
0.04424791783094406,
-0.04462289810180664,
-0.020642777904868126,
0.01951783150434494,
0.019405337050557137,
0.007818382233381271,
0.015908626839518547,
0.03142352029681206,
0.02769244648516178,
0.04548535868525505,
-0.003243597224354744,
0.00005767550828750245,
-0.11234471201896667,
-0.022536439821124077,
-0.011830693110823631,
-0.03367341682314873,
-0.004148242063820362,
0.027504954487085342,
-0.022555189207196236,
0.05069761350750923,
-0.0216364823281765,
-0.008240236900746822,
0.09839536994695663,
-0.014802427962422371,
0.04057309031486511,
0.008915205486118793,
0.06704684346914291,
0.0018620217451825738,
0.021936466917395592,
0.023473894223570824,
-0.022742679342627525,
0.014596187509596348,
-0.010921360924839973,
-0.023098912090063095,
-0.005830975715070963,
-0.0661843866109848,
0.008915205486118793,
0.022892672568559647,
0.039635635912418365,
-0.007204348221421242,
-0.030429817736148834,
0.005048200022429228,
-0.003288126550614834,
0.025161314755678177,
0.10319514572620392,
-0.03101103939116001,
-0.02264893427491188,
-0.008948015980422497,
-0.020492784678936005,
-0.08302108943462372,
0.046797797083854675,
0.034235887229442596,
0.027317464351654053,
-0.01071512047201395,
-0.015758633613586426,
-0.012111930176615715,
-0.012552534230053425,
-0.01377122662961483,
-0.016967950388789177,
-0.018889736384153366,
-0.01674296148121357,
0.0018538190051913261,
-0.04597283527255058,
-0.05737229809165001,
-0.01571176014840603,
-0.030054835602641106,
0.026417506858706474,
-0.022686433047056198,
-0.027579952031373978,
-0.014568064361810684,
-0.005216942168772221,
0.009041761979460716,
0.007035606540739536,
-0.013049385510385036,
-0.017671043053269386,
-0.016386728733778,
-0.01543052401393652,
0.08107118308544159,
0.026380008086562157,
0.03168600797653198,
-0.033560920506715775,
-0.02124275080859661,
0.008371480740606785,
-0.03789196535944939,
0.029211124405264854,
0.020530283451080322,
-0.015439897775650024,
-0.00854959711432457,
0.011090102605521679,
0.021486489102244377,
0.020605280995368958,
-0.02403636835515499,
0.009519864805042744,
-0.022723929956555367,
0.051522575318813324,
-0.03086104802787304,
-0.02861115336418152,
-0.0044341664761304855,
0.043497953563928604,
0.03084229864180088,
0.05703481659293175,
0.03247347101569176,
-0.0022452068515121937,
-0.08482100814580917,
0.051860060542821884,
-0.0661843866109848,
-0.012093180790543556,
0.0009919455042108893,
0.023417647927999496,
-0.009580799378454685,
0.005038825329393148,
-0.006501256488263607,
-0.017333559691905975,
0.02388637512922287,
0.0008964421576820314,
0.0544099397957325,
-0.0743589997291565,
-0.01340561918914318,
0.04154804348945618,
-0.015402399934828281,
-0.015805505216121674,
0.018402257934212685,
-0.009351122193038464,
0.003187349997460842,
-0.004239644389599562,
0.024673838168382645,
0.030711054801940918,
-0.08294609934091568,
0.014014964923262596,
-0.0428604818880558,
-0.03449837490916252,
-0.018271014094352722,
0.03609205037355423,
0.014193082228302956,
-0.0034240575041621923,
-0.01386497262865305,
0.022386446595191956,
0.0008448821026831865,
-0.044547904282808304,
-0.03481711074709892,
0.022892672568559647,
-0.04409792274236679,
-0.012843145057559013,
-0.0026295636780560017,
0.023230155929923058,
-0.04214801639318466,
0.04046059399843216,
-0.03481711074709892,
0.06494694203138351,
0.018252266570925713,
0.025911280885338783,
-0.0022967669647186995,
-0.049610164016485214,
-0.11774446070194244,
-0.009927657432854176,
0.0397106297314167,
-0.04447290673851967,
0.0029108005110174417,
-0.05455993115901947,
-0.011099477298557758,
-0.0034170267172157764,
0.0024866017047315836,
0.02594877779483795,
0.017821036279201508,
0.0030842297710478306,
0.04514787346124649,
-0.034085895866155624,
-0.06378449499607086,
0.018027275800704956,
0.030542312189936638,
-0.007382465060800314,
0.08347107470035553,
0.07113415002822876,
0.04379794001579285,
0.02474883571267128,
-0.047322772443294525,
-0.0794212594628334,
0.0010804178891703486,
0.07769634574651718,
-0.012318170629441738,
-0.000522045767866075,
-0.03926065191626549,
0.013049385510385036,
-0.02407386712729931,
0.05122258886694908,
0.0794212594628334,
-0.0160679928958416,
0.018252266570925713,
0.013208753429353237,
0.046797797083854675,
-0.05418495088815689,
0.024636341258883476,
0.00711060268804431,
-0.0019651418551802635,
0.01115572452545166,
-0.004204489756375551,
0.007119977381080389,
-0.00983391236513853,
0.026961231604218483,
-0.057972270995378494,
0.07274657487869263,
0.005493491422384977,
-0.039298150688409805,
-0.007434024941176176,
-0.03607330098748207,
0.06412198394536972,
0.024711336940526962,
0.028367415070533752,
-0.040685586631298065,
-0.009871410205960274,
0.05793477222323418,
-0.043872933834791183,
0.051860060542821884,
0.07957125455141068,
-0.030054835602641106,
-0.011211972683668137,
0.008437102660536766,
0.003304532030597329,
0.004935705102980137,
0.05635984614491463,
0.07072167098522186,
0.013396244496107101,
0.004813835956156254,
0.054634928703308105,
-0.02733621373772621,
-0.0586097426712513,
-0.011127601377665997,
0.03558582440018654,
-0.023248905315995216,
-0.015618015080690384,
-0.05313500016927719,
-0.03978562727570534,
-0.02926737256348133,
0.010930735617876053,
-0.11001981794834137,
-0.005774728022515774,
-0.030186079442501068,
-0.010265141725540161,
0.04904768988490105,
-0.007377777714282274,
-0.003747479757294059,
-0.026942482218146324,
-0.00907457247376442,
-0.0045583792962133884,
0.015992997214198112,
0.018364761024713516,
0.03134852275252342,
0.015608640387654305,
0.0397106297314167,
-0.04529786854982376,
0.037723224610090256,
-0.000859529827721417,
-0.023830128833651543,
0.008249611593782902,
-0.03117978200316429,
-0.056922320276498795,
-0.03903566300868988,
-0.008085557259619236,
0.011624452657997608,
0.07124664634466171,
-0.02077402174472809,
0.011427586898207664,
0.053434986621141434,
0.028667401522397995,
0.06277204304933548,
-0.00022118099150247872,
0.02703622728586197,
-0.013564986176788807,
-0.01636797934770584,
0.008666779845952988,
-0.050847604870796204,
0.04949767142534256,
-0.00870427768677473,
0.05407245457172394,
0.00610283762216568,
-0.03378590941429138,
0.04136055335402489,
0.014558689668774605,
-0.006979358848184347,
-0.04563535377383232,
0.05455993115901947,
-0.03087979555130005,
0.020605280995368958,
0.023473894223570824,
0.03644828498363495,
-0.01011514849960804,
0.06678435951471329,
-0.03747948631644249,
-0.00510444724932313,
-0.006074714008718729,
0.02216145768761635,
-0.001959282672032714,
0.0024678525514900684,
0.03333593159914017,
-0.029004884883761406,
0.002695185597985983,
-0.0006263377144932747,
-0.02021154947578907,
-0.04252299666404724,
0.0026225328911095858,
0.002184272278100252,
0.009210503660142422,
0.00966516975313425,
-0.002763151191174984,
0.007359028793871403,
-0.045072879642248154,
-0.02212395891547203,
-0.024898827075958252,
-0.0025873782578855753,
-0.05470992624759674,
0.019930312409996986,
0.0030561061576008797,
0.027242466807365417,
-0.037723224610090256,
0.0407605804502964,
0.009468303993344307,
0.014764930121600628,
0.012655653990805149,
0.049422673881053925,
-0.0005618876311928034,
-0.018374135717749596,
0.06138461083173752,
-0.04964766278862953,
0.06697184592485428,
0.019761569797992706,
-0.007790258154273033,
-0.012515035457909107,
0.01332124788314104,
0.0027678385376930237,
0.08332107961177826,
-0.02373638190329075,
0.025911280885338783,
0.0022920796182006598,
-0.002143258461728692,
0.07255908101797104,
-0.0025826909113675356,
0.00827773567289114,
0.051147591322660446,
0.00983391236513853,
0.028292417526245117,
-0.04203552007675171,
0.0825711116194725,
-0.006641875021159649,
0.05557238310575485,
-0.027654947713017464,
-0.06378449499607086,
0.060072172433137894,
-0.019086601212620735,
-0.0214302409440279,
0.06937173753976822,
-0.04634781926870346,
0.021692728623747826,
0.024992574006319046,
0.001191154820844531,
0.0023190313950181007,
0.042260508984327316,
-0.05092260241508484,
0.0718466192483902,
0.040685586631298065,
-0.006196583155542612,
-0.008962078019976616,
-0.0825711116194725,
-0.018720993772149086,
-0.04061058908700943,
-0.022180205211043358,
-0.05875973403453827,
0.03189224749803543,
-0.004921643529087305,
-0.02283642441034317,
0.025236312299966812,
0.028367415070533752,
0.03937314823269844,
-0.051672566682100296,
-0.02508631907403469,
-0.04927268251776695,
0.01793353073298931,
0.04023560509085655,
0.029154878109693527,
0.026736240833997726,
-0.0266799945384264,
0.013368120416998863,
0.04323546588420868,
-0.015439897775650024,
-0.03922315314412117,
-0.0082730483263731,
-0.01282439660280943,
-0.07555894553661346,
-0.06168459728360176,
0.044847890734672546,
-0.054822418838739395,
-0.03401089832186699,
-0.0728965699672699,
0.033560920506715775,
0.013086884282529354,
-0.04353545233607292,
-0.014277452602982521,
0.03314844146370888,
0.020680276677012444,
0.02456134371459484,
-0.006393448915332556,
0.031985994428396225,
0.050960101187229156,
0.007893378846347332,
0.013180629350244999,
-0.01221504993736744,
-0.025348806753754616,
-0.016255484893918037,
0.01691170409321785,
-0.011596329510211945,
0.11264469474554062,
0.041060566902160645,
-0.04972266033291817,
0.002357701538130641,
0.05617235600948334,
0.01966782473027706,
0.003452181350439787,
-0.0011829520808532834,
0.0032060991507023573,
0.006463758181780577,
-0.01525240670889616,
-0.0028920513577759266,
0.03367341682314873,
0.059359706938266754,
0.03348592296242714,
0.030729804188013077,
0.0338234081864357,
-0.00012216222239658237,
0.010021403431892395,
-0.0008026965660974383,
0.004865395836532116,
-0.04799773916602135,
0.007204348221421242,
0.010593251325190067,
-0.039635635912418365,
-0.002594409044831991,
-0.02336139976978302,
0.00809961836785078,
-0.01586175337433815,
-0.02791743539273739,
0.005966906435787678,
0.04897269606590271,
-0.005207567475736141,
-0.030786050483584404,
0.008830834180116653,
0.0672343373298645,
0.017483552917838097,
-0.016846081241965294,
0.016649216413497925,
0.003602174110710621,
0.03226723149418831,
0.024017618969082832,
0.055009908974170685,
-0.01588050276041031,
-0.013555611483752728,
-0.010377636179327965,
0.04091057553887367,
0.07008419930934906,
0.01028389111161232,
-0.00771057466045022,
-0.05320999398827553,
0.0016768742352724075,
-0.012711901217699051,
0.028817392885684967,
0.01619923673570156,
0.056734830141067505,
0.02405511774122715
] |
719,525
|
ibm_platform_services.global_catalog_v1
|
get_child_objects
|
Get child catalog entries of a specific kind.
Fetch child catalog entries for a catalog entry with a specific id. This endpoint
is ETag enabled. This can be used by an unauthenticated user for publicly
available services.
:param str id: The parent catalog entry's ID.
:param str kind: The **kind** of child catalog entries to search for. A
wildcard (*) includes all child catalog entries for all kinds, for example
`GET /service_name/*`.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str include: (optional) A colon (:) separated list of properties to
include. A GET call by defaults return a limited set of properties. To
include other properties, you must add the include parameter. A wildcard
(*) includes all properties.
:param str q: (optional) A query filter, for example, `q=kind:iaas IBM`
will filter on entries of **kind** iaas that has `IBM` in their name,
display name, or description.
:param str sort_by: (optional) The field on which to sort the output. By
default by name. Available fields are **name**, **kind**, and **provider**.
:param str descending: (optional) The sort order. The default is false,
which is ascending.
:param str languages: (optional) Return the data strings in the specified
langauge. By default the strings returned are of the language preferred by
your browser through the Accept-Langauge header. This allows an override of
the header. Languages are specified in standard form, such as `en-us`. To
include all languages use the wildcard (*).
:param bool complete: (optional) Use the value `?complete=true` as shortcut
for ?include=*&languages=*.
:param int offset: (optional) Useful for pagination, specifies index
(origin 0) of first item to return in response.
:param int limit: (optional) Useful for pagination, specifies the maximum
number of items to return in the response.
: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 representing a `EntrySearchResult` object
|
def get_child_objects(
self,
id: str,
kind: str,
*,
account: str = None,
include: str = None,
q: str = None,
sort_by: str = None,
descending: str = None,
languages: str = None,
complete: bool = None,
offset: int = None,
limit: int = None,
**kwargs
) -> DetailedResponse:
"""
Get child catalog entries of a specific kind.
Fetch child catalog entries for a catalog entry with a specific id. This endpoint
is ETag enabled. This can be used by an unauthenticated user for publicly
available services.
:param str id: The parent catalog entry's ID.
:param str kind: The **kind** of child catalog entries to search for. A
wildcard (*) includes all child catalog entries for all kinds, for example
`GET /service_name/*`.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str include: (optional) A colon (:) separated list of properties to
include. A GET call by defaults return a limited set of properties. To
include other properties, you must add the include parameter. A wildcard
(*) includes all properties.
:param str q: (optional) A query filter, for example, `q=kind:iaas IBM`
will filter on entries of **kind** iaas that has `IBM` in their name,
display name, or description.
:param str sort_by: (optional) The field on which to sort the output. By
default by name. Available fields are **name**, **kind**, and **provider**.
:param str descending: (optional) The sort order. The default is false,
which is ascending.
:param str languages: (optional) Return the data strings in the specified
langauge. By default the strings returned are of the language preferred by
your browser through the Accept-Langauge header. This allows an override of
the header. Languages are specified in standard form, such as `en-us`. To
include all languages use the wildcard (*).
:param bool complete: (optional) Use the value `?complete=true` as shortcut
for ?include=*&languages=*.
:param int offset: (optional) Useful for pagination, specifies index
(origin 0) of first item to return in response.
:param int limit: (optional) Useful for pagination, specifies the maximum
number of items to return in the response.
: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 representing a `EntrySearchResult` object
"""
if id is None:
raise ValueError('id must be provided')
if kind is None:
raise ValueError('kind must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_child_objects'
)
headers.update(sdk_headers)
params = {
'account': account,
'include': include,
'q': q,
'sort-by': sort_by,
'descending': descending,
'languages': languages,
'complete': complete,
'_offset': offset,
'_limit': limit,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['id', 'kind']
path_param_values = self.encode_path_vars(id, kind)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}/{kind}'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, id: str, kind: str, *, account: Optional[str] = None, include: Optional[str] = None, q: Optional[str] = None, sort_by: Optional[str] = None, descending: Optional[str] = None, languages: Optional[str] = None, complete: Optional[bool] = None, offset: Optional[int] = None, limit: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.004333474673330784,
-0.02204611711204052,
-0.06885229051113129,
-0.0249831210821867,
-0.02799447998404503,
0.030429590493440628,
0.008206880651414394,
0.03448191285133362,
0.037697747349739075,
-0.04446400701999664,
-0.005553353577852249,
0.01914629153907299,
-0.00869483221322298,
-0.03531840071082115,
0.00037496755248866975,
0.02695351652801037,
-0.029593102633953094,
0.05256865173578262,
0.022324947640299797,
-0.012352146208286285,
0.025577956810593605,
0.030299469828605652,
-0.016618236899375916,
-0.01301204226911068,
0.046583112329244614,
0.01964818313717842,
0.05149051174521446,
-0.027269523590803146,
-0.005901890806853771,
0.0225480105727911,
-0.02725093439221382,
0.022566599771380424,
-0.020410317927598953,
0.022380713373422623,
-0.09316622465848923,
-0.015456447377800941,
0.021358337253332138,
-0.004656452219933271,
-0.05918620526790619,
0.09309186786413193,
-0.0036666076630353928,
0.004912045784294605,
0.0068777939304709435,
-0.025782432407140732,
0.0399283803999424,
0.008132526651024818,
0.008471769280731678,
0.006055247038602829,
0.01161789521574974,
-0.008378826081752777,
-0.02821754291653633,
0.013365226797759533,
-0.0010554858017712831,
-0.02462993748486042,
0.02795730158686638,
-0.012788978405296803,
-0.06595246493816376,
0.006673318799585104,
-0.00962891150265932,
0.018021678552031517,
0.013448875397443771,
0.002528053941205144,
-0.005953009240329266,
0.02412804402410984,
-0.05405574291944504,
0.011422714218497276,
0.011831664480268955,
-0.021395515650510788,
-0.07349944859743118,
0.0112925935536623,
-0.023272966966032982,
0.0006291090394370258,
0.0379393994808197,
0.015558685176074505,
-0.003417984815314412,
-0.018514277413487434,
0.057810645550489426,
-0.028161777183413506,
0.023923568427562714,
-0.01258450374007225,
-0.06929841637611389,
-0.02942580357193947,
0.011710838414728642,
-0.010707052424550056,
0.003894318360835314,
0.06461408734321594,
-0.005901890806853771,
-0.046694643795490265,
0.02645162306725979,
0.03139619901776314,
-0.037047144025564194,
-0.003766521578654647,
-0.03308776393532753,
0.023570384830236435,
-0.011283299885690212,
0.025503603741526604,
0.006278310436755419,
-0.0023816684260964394,
-0.010985881090164185,
0.023272966966032982,
-0.025447838008403778,
-0.1008990928530693,
0.054576221853494644,
-0.013290871866047382,
0.024685703217983246,
-0.07015349715948105,
-0.04096934571862221,
-0.02169293351471424,
0.0028533549048006535,
0.04844197630882263,
-0.024388285353779793,
0.00823011714965105,
-0.013597584329545498,
-0.00012002737639704719,
-0.008360236883163452,
0.01412736065685749,
0.00689173536375165,
-0.00987985823303461,
-0.04632287099957466,
-0.09926329553127289,
0.01871875301003456,
-0.04126676172018051,
0.025931142270565033,
-0.05312630906701088,
-0.05357243865728378,
0.02200894057750702,
-0.028830967843532562,
0.018635103479027748,
-0.05732734128832817,
0.014805844984948635,
-0.02312425896525383,
-0.001441780710592866,
-0.04595109820365906,
-0.03529981151223183,
0.047772783786058426,
0.002115618670359254,
0.010558342561125755,
0.0012512472458183765,
-0.03686125576496124,
0.02072632499039173,
0.007151976227760315,
0.015763159841299057,
0.05334937199950218,
-0.015224089846014977,
-0.06457690894603729,
-0.04498448967933655,
0.038441289216279984,
-0.04420376569032669,
-0.046545933932065964,
-0.026247147470712662,
-0.03076418675482273,
-0.007951287552714348,
0.02405368909239769,
0.008165056817233562,
-0.01577245444059372,
-0.02200894057750702,
0.01335593219846487,
-0.0498175323009491,
-0.013411697931587696,
0.010660580359399319,
-0.00982409156858921,
-0.03416590392589569,
0.01918346807360649,
-0.02961168996989727,
-0.024945944547653198,
-0.010781406424939632,
-0.04111805558204651,
-0.04201030731201172,
-0.01642305590212345,
0.03403578698635101,
-0.001331410720013082,
0.024648526683449745,
-0.007607397623360157,
-0.028663670644164085,
-0.04208466410636902,
0.011311182752251625,
0.06580375880002975,
-0.050709787756204605,
0.009410494938492775,
-0.009675382636487484,
-0.046843353658914566,
-0.05390703305602074,
0.022901194170117378,
0.00955455657094717,
0.013328049331903458,
-0.02316143549978733,
0.014025122858583927,
0.04405505955219269,
0.03358965739607811,
-0.013207223266363144,
-0.06877794116735458,
0.009944918565452099,
0.012733212672173977,
0.014917377382516861,
-0.05193663761019707,
-0.0326230488717556,
0.03137760981917381,
0.01154354028403759,
0.056583795696496964,
0.020800679922103882,
-0.05628637596964836,
0.020596204325556755,
0.04416659101843834,
-0.06729084998369217,
0.03944507613778114,
0.07613904029130936,
-0.01839345134794712,
-0.058963142335414886,
-0.057661935687065125,
-0.010799995623528957,
-0.014173831790685654,
0.018774518743157387,
-0.011664366349577904,
-0.014471249654889107,
-0.028812378644943237,
0.07717999815940857,
-0.025131830945611,
-0.04833044484257698,
0.030392413958907127,
-0.020744914188981056,
-0.059892572462558746,
-0.05628637596964836,
-0.02598690800368786,
-0.01484302245080471,
-0.07223542034626007,
0.0042660911567509174,
0.07606468349695206,
0.033217884600162506,
0.035578642040491104,
-0.07015349715948105,
-0.028700847178697586,
-0.034612033516168594,
0.04100652039051056,
0.019945602864027023,
-0.017910147085785866,
-0.019982779398560524,
-0.0047912197187542915,
0.041675712913274765,
0.02918415144085884,
0.0177149660885334,
0.02304990403354168,
-0.015233383513987064,
-0.01820756494998932,
0.0069800312630832195,
-0.058628544211387634,
-0.02176728844642639,
-0.014777962118387222,
0.0015265913680195808,
0.05134180188179016,
-0.05948362126946449,
0.003236745484173298,
-0.06301546096801758,
0.035541463643312454,
-0.04134111851453781,
0.060859180986881256,
-0.09294316172599792,
-0.037307385355234146,
-0.06647294759750366,
0.06119377538561821,
-0.03578311577439308,
-0.031675029546022415,
0.025540780276060104,
-0.021302571520209312,
0.031489141285419464,
-0.0398540273308754,
0.02072632499039173,
0.011376243084669113,
-0.019778303802013397,
0.016683297231793404,
0.00987985823303461,
-0.0012210407294332981,
0.019908424466848373,
-0.02111668512225151,
0.018951110541820526,
-0.06193732097744942,
0.07219824939966202,
0.016478821635246277,
-0.03736314922571182,
-0.0903407484292984,
-0.032028213143348694,
-0.003898965660482645,
-0.034072961658239365,
-0.015642333775758743,
-0.01484302245080471,
0.026228560134768486,
-0.06435384601354599,
-0.009438377805054188,
0.07387122511863708,
-0.08483851701021194,
0.0008939970284700394,
-0.00193786493036896,
0.011627188883721828,
-0.04706641659140587,
-0.05736451968550682,
-0.04193595424294472,
-0.019053347408771515,
-0.0806746631860733,
-0.07532113790512085,
0.022789662703871727,
-0.007007914129644632,
-0.061900146305561066,
-0.010762818157672882,
0.10491424053907394,
0.002174869878217578,
-0.02752976305782795,
0.027808593586087227,
0.056844037026166916,
-0.02122821845114231,
0.00851359311491251,
-0.031823739409446716,
0.011246122419834137,
0.04215901717543602,
0.0328461118042469,
-0.008769187144935131,
-0.0749121904373169,
0.020428907126188278,
0.010186570696532726,
-0.026005495339632034,
0.02146987058222294,
0.039593786001205444,
-0.04122958704829216,
0.05814523994922638,
-0.029239917173981667,
-0.002839413471519947,
0.13896861672401428,
-0.007189153227955103,
0.018523572012782097,
0.0448729582130909,
0.03918483480811119,
-0.027399644255638123,
0.05833112820982933,
-0.004649481736123562,
-0.000669771630782634,
-0.0012849392369389534,
0.009833386167883873,
-0.003882700577378273,
0.011171767488121986,
-0.04621133953332901,
0.034221671521663666,
0.019239233806729317,
0.05189945921301842,
-0.0019587771967053413,
-0.004600686486810446,
0.018365567550063133,
-0.004533302504569292,
0.01567021757364273,
0.12432076781988144,
-0.03323647379875183,
-0.006966089829802513,
-0.014638547785580158,
-0.0048841629177331924,
-0.046694643795490265,
0.030355235561728477,
0.050338014960289,
0.032102566212415695,
-0.012844745069742203,
0.011088118888437748,
-0.02197176218032837,
-0.05342372879385948,
-0.01957383006811142,
0.016246464103460312,
-0.023960746824741364,
0.004742424935102463,
0.02104233205318451,
-0.006887088064104319,
-0.08409497141838074,
0.03176797181367874,
-0.024945944547653198,
0.007096210028976202,
-0.0031995682511478662,
-0.05119309201836586,
-0.002832442754879594,
0.02524336241185665,
0.015567978844046593,
0.02193458564579487,
-0.011906018480658531,
-0.045765213668346405,
0.0009712559985928237,
0.01563303917646408,
0.08796140551567078,
-0.0036178124137222767,
0.022529421374201775,
-0.015651628375053406,
-0.04836761951446533,
-0.009935623966157436,
-0.036508072167634964,
0.06320134550333023,
0.03648948296904564,
0.016283642500638962,
-0.022752486169338226,
0.025689490139484406,
0.016144227236509323,
-0.010335279628634453,
-0.013681232929229736,
-0.00971256010234356,
-0.03582029417157173,
0.03297623246908188,
-0.032455749809741974,
-0.049891889095306396,
-0.05342372879385948,
0.028013069182634354,
-0.005455763544887304,
0.05327501893043518,
0.018700163811445236,
0.02567090094089508,
-0.07926192879676819,
0.032288454473018646,
-0.03297623246908188,
-0.03591323643922806,
-0.019666772335767746,
0.04104369878768921,
-0.061900146305561066,
-0.018235448747873306,
0.037697747349739075,
0.010511871427297592,
0.0552825927734375,
0.026934927329421043,
0.060859180986881256,
-0.020670559257268906,
0.0033901017159223557,
0.046731822192668915,
-0.041750065982341766,
0.04241925850510597,
0.027622707188129425,
0.002030808012932539,
-0.0066826133988797665,
-0.017436137422919273,
-0.01580963097512722,
-0.01030739676207304,
-0.0996350646018982,
0.040634751319885254,
-0.01077211182564497,
-0.03907330334186554,
0.007212389260530472,
0.0201129000633955,
0.0552082359790802,
-0.0199641901999712,
0.012519443407654762,
-0.012900510802865028,
0.043646108359098434,
-0.036006178706884384,
0.004275385290384293,
-0.030931483954191208,
-0.03390566632151604,
0.03161926195025444,
-0.009666088968515396,
0.05394421145319939,
-0.006710496265441179,
0.03721443936228752,
-0.03814387321472168,
0.02910979837179184,
-0.025354893878102303,
0.07074833661317825,
-0.011989668011665344,
-0.04245643690228462,
-0.09257138520479202,
0.028589315712451935,
0.02845919504761696,
-0.04312562569975853,
0.007890874519944191,
-0.01285403873771429,
-0.007012561429291964,
0.00024063565069809556,
0.008416003547608852,
-0.02502029947936535,
0.02907261997461319,
0.00147431087680161,
0.020168665796518326,
-0.027343878522515297,
-0.049706000834703445,
0.013541818596422672,
0.06100789085030556,
0.001373235136270523,
0.07030220329761505,
0.05788499861955643,
0.018439922481775284,
-0.012510149739682674,
-0.06729084998369217,
-0.04446400701999664,
-0.006440960802137852,
0.04115523025393486,
-0.014043711125850677,
0.01745472475886345,
-0.01914629153907299,
-0.027157992124557495,
-0.050784140825271606,
0.045876745134592056,
0.04937140643596649,
-0.020057134330272675,
-0.04535626247525215,
0.0447986014187336,
0.03293905407190323,
-0.005130462348461151,
0.05134180188179016,
0.048776570707559586,
0.07851838320493698,
-0.004149911925196648,
-0.011171767488121986,
0.015781749039888382,
-0.0031716853845864534,
0.031173136085271835,
-0.07480065524578094,
0.027399644255638123,
-0.02068914659321308,
-0.03855282440781593,
0.0005283237551338971,
0.02462993748486042,
0.021637167781591415,
0.028291897848248482,
0.023904981091618538,
-0.032790347933769226,
-0.0074029224924743176,
0.026581743732094765,
-0.028198955580592155,
-0.0018728047143667936,
0.06766261905431747,
-0.026302915066480637,
0.008792422711849213,
0.005228052847087383,
0.020354552194476128,
0.06141683831810951,
0.01455489918589592,
-0.006473490968346596,
-0.01258450374007225,
0.023068491369485855,
0.01821685954928398,
-0.06401924788951874,
0.003478397848084569,
0.009563851170241833,
0.032065391540527344,
-0.03602476790547371,
-0.014434073120355606,
-0.009159548208117485,
-0.03394284099340439,
-0.013337342999875546,
-0.017789321020245552,
-0.09465331584215164,
-0.010270219296216965,
0.023644739761948586,
0.017082951962947845,
0.04093216732144356,
0.040597572922706604,
0.005822889041155577,
-0.03433320298790932,
-0.0353555791079998,
-0.014173831790685654,
0.05134180188179016,
-0.0031461259350180626,
0.05591460317373276,
0.017947323620319366,
0.06550633907318115,
-0.025150418281555176,
0.015763159841299057,
-0.0014173832023516297,
-0.028087422251701355,
0.011329771019518375,
-0.017835792154073715,
-0.06933559477329254,
-0.03989120572805405,
-0.025912553071975708,
0.05219687893986702,
0.110862597823143,
0.026470212265849113,
-0.02957451343536377,
0.033608246594667435,
0.02420239895582199,
0.050635434687137604,
0.04885092377662659,
-0.011748014949262142,
-0.017584845423698425,
-0.03338518366217613,
0.03738173842430115,
-0.03340377286076546,
0.02942580357193947,
0.02405368909239769,
0.042530789971351624,
0.032325632870197296,
-0.016832007095217705,
0.02158140204846859,
-0.024611348286271095,
0.019555240869522095,
-0.039779674261808395,
0.015744570642709732,
-0.037009965628385544,
0.011125296354293823,
0.03161926195025444,
0.05650944262742996,
0.03386848792433739,
0.07398275285959244,
0.003413337515667081,
-0.011441303417086601,
0.02409086748957634,
0.0021690609864890575,
-0.0074586886912584305,
0.02366332896053791,
0.045579325407743454,
-0.08231046050786972,
-0.04293974116444588,
-0.02000136859714985,
-0.01910911314189434,
-0.0031066250521689653,
0.0500405989587307,
0.012844745069742203,
0.04197313264012337,
0.01849568821489811,
0.005130462348461151,
0.002848707837983966,
-0.033645424991846085,
-0.05424162745475769,
0.03007640689611435,
0.0017554638907313347,
0.0026000849902629852,
0.049631647765636444,
-0.030169349163770676,
0.004217295907437801,
-0.042530789971351624,
0.01403441745787859,
0.02795730158686638,
0.04003991186618805,
-0.036582428961992264,
0.020447494462132454,
0.00256290752440691,
-0.00037525800871662796,
0.06840616464614868,
-0.08126950263977051,
0.02373768389225006,
-0.01501961424946785,
-0.00779793132096529,
-0.025131830945611,
0.0003784529399126768,
0.0025234068743884563,
0.04736383259296417,
-0.007742165122181177,
0.03492803871631622,
0.012184848077595234,
-0.03108019195497036,
0.04498448967933655,
-0.04758689925074577,
0.015010320581495762,
-0.0004411895642988384,
0.019629595801234245,
-0.010409633629024029,
-0.01942512020468712,
0.0650973916053772,
-0.03161926195025444,
0.024945944547653198,
-0.014257480390369892,
-0.03018793836236,
0.0150010259822011,
-0.014090183191001415,
0.006863852497190237,
0.07030220329761505,
-0.04033733159303665,
-0.005265229847282171,
-0.006989325396716595,
0.01050257682800293,
-0.02490876615047455,
0.03187950327992439,
-0.04219619557261467,
0.03072700835764408,
0.06435384601354599,
-0.040560394525527954,
-0.008081408217549324,
-0.05260583013296127,
0.003715402912348509,
-0.009749737568199635,
-0.0125659154728055,
-0.052494294941425323,
0.009243196807801723,
0.0177149660885334,
0.029165564104914665,
0.05305195599794388,
0.032102566212415695,
0.05405574291944504,
-0.05758758261799812,
-0.027548352256417274,
-0.01699930429458618,
0.03007640689611435,
0.03362683579325676,
0.03855282440781593,
-0.017222367227077484,
0.010279513895511627,
-0.023997923359274864,
0.07606468349695206,
0.009066605009138584,
-0.01536350417882204,
-0.0031461259350180626,
-0.010335279628634453,
-0.03219551220536232,
-0.06814592331647873,
0.031675029546022415,
0.013365226797759533,
0.007347156759351492,
-0.057661935687065125,
-0.010985881090164185,
0.030448179692029953,
-0.025317717343568802,
-0.0377163328230381,
0.0403745099902153,
0.015428564511239529,
0.03130325675010681,
-0.02119104005396366,
0.012575209140777588,
0.022417889907956123,
0.04937140643596649,
0.026005495339632034,
0.0017252573743462563,
0.026507388800382614,
0.0030392413027584553,
0.051862284541130066,
-0.02154422365128994,
0.09680959582328796,
0.03451909124851227,
-0.0709342211484909,
0.013904296793043613,
0.002923062304034829,
0.08535899966955185,
0.030318059027194977,
0.019629595801234245,
0.017826497554779053,
0.01738966442644596,
-0.004888810217380524,
0.07688257843255997,
0.009113077074289322,
0.02903544344007969,
0.032176923006772995,
0.05245712026953697,
0.03803234174847603,
-0.013439580798149109,
-0.011153179220855236,
-0.005502235144376755,
-0.002795265521854162,
-0.03241857513785362,
-0.02208329550921917,
0.02351461909711361,
-0.054687757045030594,
0.04483577981591225,
-0.022826839238405228,
-0.010167981497943401,
-0.007509807124733925,
-0.01735248789191246,
0.0010717507684603333,
-0.0032994821667671204,
-0.039742495864629745,
-0.01964818313717842,
-0.0069475010968744755,
0.08141820877790451,
0.02050326019525528,
-0.017268838360905647,
0.004108087625354528,
0.030280880630016327,
0.010902232490479946,
-0.0043195332400500774,
0.045690856873989105,
-0.01724095642566681,
0.037697747349739075,
-0.0044775367714464664,
0.013253694400191307,
0.04844197630882263,
0.008490357547998428,
-0.008053524419665337,
-0.00668726023286581,
-0.018579337745904922,
0.014787256717681885,
0.009619616903364658,
0.02879379130899906,
0.04907398670911789,
-0.004723836202174425
] |
719,528
|
ibm_platform_services.global_catalog_v1
|
get_pricing
|
Get the pricing for an object.
This endpoint returns the pricing for an object. Static pricing is defined in the
catalog. Dynamic pricing is stored in IBM Cloud Pricing Catalog. This can be used
by an unauthenticated user for publicly available services.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `PricingGet` object
|
def get_pricing(self, id: str, *, account: str = None, **kwargs) -> DetailedResponse:
"""
Get the pricing for an object.
This endpoint returns the pricing for an object. Static pricing is defined in the
catalog. Dynamic pricing is stored in IBM Cloud Pricing Catalog. This can be used
by an unauthenticated user for publicly available services.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `PricingGet` object
"""
if id is None:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_pricing'
)
headers.update(sdk_headers)
params = {'account': account}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}/pricing'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, id: str, *, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.013036794029176235,
-0.05930463224649429,
-0.01948215626180172,
-0.03628026694059372,
-0.006687290966510773,
0.0032158337999135256,
-0.0028552222065627575,
-0.03790530189871788,
-0.015821263194084167,
-0.00941241905093193,
0.032044220715761185,
-0.028246387839317322,
0.04312732070684433,
-0.020395096391439438,
-0.035677723586559296,
0.02362690679728985,
0.02055942639708519,
-0.017135897651314735,
0.024905024096369743,
-0.03197118639945984,
0.0639788880944252,
0.04498971998691559,
0.01735500432550907,
0.05148985981941223,
0.05189155414700508,
0.041045814752578735,
0.05148985981941223,
0.037010617554187775,
0.015538251958787441,
-0.006436232477426529,
0.014944840222597122,
0.023681683465838432,
-0.015656933188438416,
0.09742903709411621,
-0.06554914265871048,
0.0020643873140215874,
0.05831865593791008,
-0.03613419458270073,
-0.10663148015737534,
0.07646791636943817,
-0.03637155890464783,
0.04203179106116295,
0.06142265349626541,
-0.07515328377485275,
-0.052329763770103455,
-0.0051398565992712975,
-0.04031546413898468,
0.03545862063765526,
-0.02632921189069748,
0.007618490606546402,
0.06167827919125557,
0.02702304720878601,
-0.009804983623325825,
-0.03962162882089615,
0.01720893383026123,
-0.003416680730879307,
-0.015538251958787441,
0.022129684686660767,
0.00028600721270777285,
0.019719520583748817,
-0.0182862039655447,
-0.006500137969851494,
-0.017117640003561974,
-0.04612176865339279,
-0.010234066285192966,
-0.021180225536227226,
-0.02698652818799019,
0.02512412890791893,
-0.028812410309910774,
-0.00912484247237444,
0.03691932559013367,
-0.017674533650279045,
-0.024357259273529053,
0.005263103637844324,
-0.026676129549741745,
-0.0322268083691597,
0.03443612530827522,
-0.05777088925242424,
-0.0021933401003479958,
-0.033267561346292496,
-0.03805137053132057,
-0.037138428539037704,
0.03242765739560127,
-0.03801485151052475,
0.0004541880334727466,
0.013885828666388988,
0.02581796422600746,
-0.045245345681905746,
-0.012534677051007748,
0.04940835386514664,
-0.0325554683804512,
-0.00347830425016582,
-0.06167827919125557,
0.043455980718135834,
-0.004067150875926018,
-0.025872740894556046,
-0.0037384924944490194,
-0.05243931710720062,
-0.009567619301378727,
0.05766133964061737,
-0.02163669653236866,
-0.03235461935400963,
-0.0311860553920269,
0.014607052318751812,
0.06584128737449646,
-0.07624880969524384,
-0.003638068912550807,
0.020486390218138695,
0.04122840613126755,
-0.014460981823503971,
0.0050987740978598595,
0.08640071004629135,
0.004254303872585297,
-0.055543314665555954,
-0.006892702542245388,
0.03396139666438103,
-0.005888467654585838,
0.0011548700276762247,
-0.05912204459309578,
-0.015200464054942131,
-0.03987725079059601,
-0.06748457998037338,
0.047363366931676865,
0.005774350371211767,
-0.006326679605990648,
-0.02366342395544052,
-0.02057768404483795,
0.010444042272865772,
0.02324347198009491,
0.02565363608300686,
0.014159711077809334,
-0.026000551879405975,
-0.010033219121396542,
0.03558643162250519,
0.028648080304265022,
-0.005263103637844324,
0.0016204698476940393,
0.04703470692038536,
-0.0033299513161182404,
0.10290668159723282,
0.010325360111892223,
-0.0020643873140215874,
-0.04553748667240143,
-0.020906344056129456,
-0.01760149747133255,
0.012196888215839863,
0.01202342938631773,
-0.04473409801721573,
-0.07157455384731293,
-0.01704460382461548,
-0.025178905576467514,
0.02527019940316677,
0.03940252214670181,
-0.0035148218739777803,
-0.01801232062280178,
-0.0700773298740387,
0.043455980718135834,
-0.007741737645119429,
0.021654954180121422,
-0.03103998489677906,
-0.0029693397227674723,
0.04787461459636688,
0.040242429822683334,
-0.08881087601184845,
-0.04287169873714447,
-0.010334488935768604,
-0.04988308250904083,
-0.04988308250904083,
-0.017902769148349762,
0.01935434341430664,
-0.016222957521677017,
-0.01068140659481287,
-0.06102095916867256,
-0.03471000865101814,
-0.012288182973861694,
0.022531377151608467,
0.05010218918323517,
-0.026274435222148895,
-0.026694387197494507,
0.008280372247099876,
0.05105164647102356,
-0.08523214608430862,
-0.04031546413898468,
0.048568449914455414,
0.004512209910899401,
-0.01007886603474617,
0.01799406297504902,
0.030145304277539253,
-0.027333445847034454,
-0.007340043783187866,
0.02985316328704357,
0.01946389675140381,
0.031131280586123466,
0.010809218510985374,
-0.0060071502812206745,
-0.014552275650203228,
0.048458896577358246,
-0.04425936937332153,
-0.04349249601364136,
0.020121214911341667,
0.021399332210421562,
0.0030720457434654236,
0.016323380172252655,
-0.004788374062627554,
0.02459462359547615,
-0.005719573702663183,
0.022001871839165688,
-0.020194249227643013,
-0.04568355530500412,
0.0066918558441102505,
-0.03551339730620384,
0.0341622419655323,
-0.026803940534591675,
0.02309740148484707,
-0.03476478531956673,
0.11583392322063446,
-0.026438765227794647,
-0.024119894951581955,
0.029068034142255783,
-0.020340319722890854,
0.05426519736647606,
-0.09297388792037964,
0.025580599904060364,
0.024156412109732628,
-0.02286003716289997,
0.028155092149972916,
0.04663301259279251,
0.057697854936122894,
-0.02835593931376934,
-0.04739988595247269,
0.014661828987300396,
0.013191994279623032,
0.01975603774189949,
0.005824562162160873,
-0.0524027980864048,
-0.03867217153310776,
0.01183171197772026,
0.023006107658147812,
-0.009485454298555851,
0.013758016750216484,
0.03790530189871788,
0.05671187862753868,
-0.002173940185457468,
0.07654095441102982,
-0.09538405388593674,
0.009914536960422993,
-0.015100040473043919,
0.07139196991920471,
0.009467195719480515,
-0.04060760512948036,
0.012945500202476978,
-0.08019271492958069,
0.042908214032649994,
0.02956102229654789,
0.004948138725012541,
-0.06233559548854828,
-0.02607358805835247,
-0.05492251738905907,
0.012744653038680553,
0.010571854189038277,
-0.02662135288119316,
0.01331067644059658,
-0.07902415096759796,
0.012443382292985916,
-0.006039103027433157,
0.0096041364595294,
0.0008296348969452083,
0.037302758544683456,
0.023188695311546326,
0.034965630620718,
0.06291987746953964,
-0.020084695890545845,
0.013274158351123333,
0.02888544462621212,
0.01638728566467762,
-0.0241929292678833,
-0.007403949741274118,
0.018970908597111702,
-0.0623721107840538,
-0.0009654348250478506,
-0.019847331568598747,
-0.032172031700611115,
0.05010218918323517,
-0.021600177511572838,
0.0008113760850392282,
-0.04718077927827835,
0.0432368740439415,
0.0467790849506855,
0.009138536639511585,
0.021947095170617104,
-0.020395096391439438,
0.042652592062950134,
-0.05163592845201492,
-0.0014127758331596851,
0.0197742972522974,
0.055835455656051636,
-0.040534570813179016,
-0.060911405831575394,
0.05306011810898781,
-0.0037750101182609797,
-0.017428038641810417,
0.02581796422600746,
0.03505692631006241,
-0.01854182593524456,
-0.03522125259041786,
-0.018222296610474586,
0.06518396735191345,
-0.008289502002298832,
0.007476984988898039,
0.011073971167206764,
-0.0056647974997758865,
0.03418050333857536,
-0.009631524793803692,
-0.006139526609331369,
-0.010882253758609295,
0.005176374223083258,
-0.01842314377427101,
-0.013721499592065811,
0.026000551879405975,
0.031131280586123466,
-0.07077116519212723,
0.05977936089038849,
-0.010854865424335003,
0.0025014576967805624,
0.07508024573326111,
-0.005550679750740528,
-0.015300886705517769,
0.049919601529836655,
0.058099549263715744,
0.02057768404483795,
-0.012342958711087704,
0.03881824016571045,
-0.019829073920845985,
0.0005606026970781386,
-0.018916131928563118,
-0.05952373892068863,
0.02296958863735199,
-0.035294290632009506,
-0.03370577096939087,
0.034983888268470764,
0.016962438821792603,
-0.0668637827038765,
-0.015711709856987,
0.010206677950918674,
-0.024777211248874664,
0.01922653242945671,
0.0951649472117424,
-0.057040538638830185,
0.0035444924142211676,
-0.010599242523312569,
-0.024211188778281212,
-0.04382115602493286,
0.053133152425289154,
0.0848669707775116,
0.010024089366197586,
-0.04502623900771141,
-0.011174394749104977,
0.010069736279547215,
-0.02324347198009491,
0.0008872643229551613,
0.01747368648648262,
0.0019685286097228527,
-0.033924877643585205,
0.025361495092511177,
-0.003939339425414801,
-0.05733267962932587,
0.009731948375701904,
-0.01988385058939457,
0.028118574991822243,
0.0001034190718200989,
-0.034052688628435135,
-0.05627366900444031,
0.0004958409699611366,
-0.0062810322269797325,
0.007513502612709999,
0.022476602345705032,
-0.06726547330617905,
-0.0013431641273200512,
-0.02941495180130005,
0.06529352068901062,
0.006185173522680998,
-0.013949735090136528,
0.009631524793803692,
0.04057108610868454,
0.05912204459309578,
-0.02081504836678505,
0.012635099701583385,
-0.03522125259041786,
0.018651379272341728,
-0.026803940534591675,
-0.0059386794455349445,
0.005587197374552488,
-0.004975527059286833,
0.013055052608251572,
-0.013338064774870872,
-0.04491668567061424,
0.02324347198009491,
-0.017784085124731064,
-0.023225212469697,
-0.02015773206949234,
0.030948691070079803,
-0.003409833647310734,
0.008106914348900318,
0.03116779774427414,
-0.03719320520758629,
-0.045208826661109924,
0.04718077927827835,
-0.03408920764923096,
-0.00007014665607130155,
0.05035781115293503,
-0.01908046193420887,
-0.008252984844148159,
-0.0483858585357666,
-0.03385184332728386,
-0.012872464954853058,
0.012699006125330925,
0.003453198354691267,
0.050576917827129364,
-0.024813730269670486,
0.035659465938806534,
0.06697333604097366,
-0.025726670399308205,
0.001473258133046329,
0.002083787228912115,
-0.011786065064370632,
-0.021125448867678642,
0.014607052318751812,
0.055689387023448944,
0.05499555170536041,
-0.03441786766052246,
0.0456470362842083,
0.017437169328331947,
-0.07204928249120712,
-0.0357690192759037,
0.03483781963586807,
0.013958863914012909,
0.0008655819692648947,
0.014196229167282581,
0.018313592299818993,
-0.00032038515200838447,
0.007942584343254566,
-0.02028554305434227,
-0.04312732070684433,
-0.027223892509937286,
-0.00755458464846015,
-0.01425100490450859,
-0.001752846292220056,
-0.06401540338993073,
0.0070342086255550385,
-0.04203179106116295,
0.054228682070970535,
0.02930539846420288,
0.05163592845201492,
0.0030697633046656847,
-0.024375518783926964,
-0.09428852051496506,
0.0036814336199313402,
-0.0015839522238820791,
-0.009366772137582302,
-0.006888138130307198,
-0.05105164647102356,
0.008248419500887394,
0.009083760902285576,
0.01948215626180172,
0.02957927994430065,
0.02848375216126442,
-0.011073971167206764,
0.046559978276491165,
-0.06817841529846191,
-0.05116119980812073,
-0.003918798174709082,
-0.007070726249366999,
-0.020614203065633774,
0.01551086362451315,
0.018487051129341125,
0.0491892471909523,
-0.026383988559246063,
0.009257219731807709,
-0.019116979092359543,
-0.027735140174627304,
0.06649860739707947,
-0.03712017089128494,
0.01583039201796055,
-0.02607358805835247,
0.011731288395822048,
-0.016569875180721283,
0.01946389675140381,
0.0896873027086258,
-0.05119771882891655,
-0.04371160268783569,
-0.014935710467398167,
0.053936541080474854,
-0.06003498286008835,
0.042798664420843124,
-0.0443689189851284,
-0.0001410778786521405,
0.01882483810186386,
-0.016168180853128433,
0.007075290661305189,
0.014424463734030724,
0.023353025317192078,
-0.028830669820308685,
0.046450424939394,
-0.0010127936257049441,
0.015191334299743176,
-0.01959170773625374,
-0.07668702304363251,
0.06755761802196503,
-0.005961503367871046,
-0.028155092149972916,
-0.060546230524778366,
0.0060345386154949665,
-0.004028351046144962,
-0.008819007314741611,
0.0062810322269797325,
0.061459172517061234,
-0.023882530629634857,
0.02483198791742325,
-0.023188695311546326,
-0.05284101143479347,
0.015100040473043919,
0.028428975492715836,
0.009019854478538036,
0.008946819230914116,
0.020121214911341667,
0.061093997210264206,
-0.05601804330945015,
-0.06763064861297607,
0.03617071360349655,
-0.01183171197772026,
0.032993678003549576,
-0.002636116463690996,
-0.029743609949946404,
-0.03396139666438103,
-0.05565286800265312,
0.008919430896639824,
-0.086473748087883,
-0.056784916669130325,
0.035805538296699524,
-0.0005015468341298401,
0.012388605624437332,
0.06441710144281387,
0.013000275939702988,
-0.017519332468509674,
-0.052621904760599136,
-0.0419587567448616,
-0.0025219989474862814,
0.03936600685119629,
0.035166479647159576,
-0.00718484353274107,
0.05364440008997917,
-0.04477061331272125,
0.061605241149663925,
-0.017254579812288284,
-0.04422285035252571,
0.04926228150725365,
-0.011366112157702446,
-0.057843927294015884,
-0.007116373162716627,
-0.05116119980812073,
-0.0159947220236063,
0.025763187557458878,
0.05280449241399765,
0.0070615969598293304,
-0.017811473459005356,
0.03461871296167374,
0.03697410225868225,
0.07245098054409027,
0.021326296031475067,
-0.07372909784317017,
0.02161843702197075,
0.007038773037493229,
-0.02915932796895504,
0.03277457132935524,
-0.020066438242793083,
0.023681683465838432,
0.024247705936431885,
-0.027369963005185127,
0.0037658805958926678,
0.031898148357868195,
0.00008016760693863034,
-0.0036266571842134,
0.03220855072140694,
-0.05426519736647606,
-0.010316230356693268,
-0.014734864234924316,
-0.0031405161134898663,
0.0022720813285559416,
0.05974284186959267,
0.025343235582113266,
-0.0443689189851284,
-0.01525523979216814,
0.004087692126631737,
-0.030400928109884262,
-0.019244791939854622,
0.07610274106264114,
-0.039292968809604645,
0.00799736101180315,
-0.014068417251110077,
-0.0015771051403135061,
-0.023572130128741264,
0.08735017478466034,
0.01242512371391058,
-0.009704560041427612,
0.014835286885499954,
0.0365724079310894,
-0.006673596799373627,
-0.026110105216503143,
0.021837543696165085,
-0.049371834844350815,
0.01431491132825613,
-0.016149921342730522,
0.011302206665277481,
-0.024959800764918327,
0.0047564213164150715,
-0.027479516342282295,
-0.017017215490341187,
0.04068063944578171,
0.040936265140771866,
-0.0317520797252655,
-0.0003600410127546638,
0.00011147862824145705,
-0.034198760986328125,
0.04772854223847389,
-0.058793384581804276,
0.0317520797252655,
0.03691932559013367,
-0.060911405831575394,
-0.038233958184719086,
-0.014059287495911121,
-0.0010481701465323567,
0.043602049350738525,
0.023152178153395653,
-0.01734587363898754,
0.03224506601691246,
0.0039005393628031015,
0.01425100490450859,
0.013812793418765068,
-0.019171755760908127,
0.04352901503443718,
0.025891000404953957,
0.03965814784169197,
-0.05747874826192856,
0.06379629671573639,
0.0007200820255093277,
0.032975420355796814,
-0.0667177140712738,
-0.08786141872406006,
0.09005247801542282,
-0.01317373476922512,
-0.05977936089038849,
0.018970908597111702,
-0.002793598687276244,
-0.03750360757112503,
-0.0343996062874794,
-0.003101716283708811,
-0.013630205765366554,
-0.0038777159061282873,
-0.02174624800682068,
0.01551086362451315,
-0.006408844143152237,
-0.004788374062627554,
-0.01235208846628666,
-0.07865897566080093,
0.004760986194014549,
-0.03896431252360344,
0.014086675830185413,
-0.05572590231895447,
0.018605733290314674,
0.01654248684644699,
0.028575045987963676,
0.07131893187761307,
0.0019879285246133804,
0.013885828666388988,
-0.03779574856162071,
0.04170313477516174,
-0.01611340418457985,
-0.01895265094935894,
0.028118574991822243,
0.041849203407764435,
0.05068647116422653,
-0.028666339814662933,
-0.03511170297861099,
0.058136068284511566,
-0.03918341547250748,
-0.022001871839165688,
-0.006354067474603653,
-0.02581796422600746,
-0.09049069136381149,
-0.03925645351409912,
0.009284607134759426,
-0.029323657974600792,
0.013958863914012909,
-0.022732224315404892,
0.031204314902424812,
0.004331903997808695,
-0.04926228150725365,
-0.03412572667002678,
-0.014214487746357918,
0.03240939602255821,
-0.01600385084748268,
-0.039986804127693176,
0.05901249125599861,
0.03587857261300087,
0.0186878964304924,
0.014415334910154343,
0.02689523436129093,
-0.05565286800265312,
-0.004489385988563299,
-0.0408267118036747,
0.0043661389499902725,
0.10487863421440125,
0.030839139595627785,
-0.03518473729491234,
-0.01960996724665165,
0.09779421240091324,
-0.05360788106918335,
0.006641644053161144,
-0.018715284764766693,
0.04648694396018982,
0.014963098801672459,
0.003149645635858178,
0.0098871486261487,
-0.012388605624437332,
0.001995916711166501,
0.07025992125272751,
0.01882483810186386,
0.06394237279891968,
-0.007116373162716627,
0.027333445847034454,
-0.00919331330806017,
0.023316506296396255,
-0.03951207548379898,
-0.028848927468061447,
0.01786625012755394,
-0.063504159450531,
-0.0012495876289904118,
-0.02943320944905281,
0.0475824736058712,
0.011430018581449986,
-0.026694387197494507,
0.02996271476149559,
0.021052414551377296,
-0.004443739075213671,
-0.0020643873140215874,
0.0368097722530365,
0.03377880901098251,
0.030400928109884262,
0.045464448630809784,
0.027369963005185127,
0.0440402626991272,
0.01935434341430664,
-0.0003052645770367235,
0.023316506296396255,
0.0014150581555441022,
-0.015282628126442432,
-0.01827707327902317,
0.043602049350738525,
0.03900082781910896,
0.01638728566467762,
-0.05185503512620926,
0.0177201796323061,
0.025635376572608948,
0.03315800800919533,
0.022275755181908607,
-0.0005842820974066854,
0.005660232622176409,
0.010425783693790436
] |
719,529
|
ibm_platform_services.global_catalog_v1
|
get_visibility
|
Get the visibility constraints for an object.
This endpoint returns the visibility rules for this object. Overall visibility is
determined by the parent objects and any further restrictions on this object. You
must have an administrator role in the scope of the provided token. This endpoint
is ETag enabled.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `Visibility` object
|
def get_visibility(self, id: str, *, account: str = None, **kwargs) -> DetailedResponse:
"""
Get the visibility constraints for an object.
This endpoint returns the visibility rules for this object. Overall visibility is
determined by the parent objects and any further restrictions on this object. You
must have an administrator role in the scope of the provided token. This endpoint
is ETag enabled.
:param str id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `Visibility` object
"""
if id is None:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='get_visibility'
)
headers.update(sdk_headers)
params = {'account': account}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}/visibility'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, id: str, *, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.009148667566478252,
-0.034666791558265686,
-0.045462921261787415,
-0.03922359645366669,
0.03995969891548157,
0.012443589977920055,
0.009797136299312115,
-0.046970169991254807,
-0.024641813710331917,
0.013644133694469929,
-0.0032357715535908937,
-0.03184507414698601,
0.028199629858136177,
-0.06305921077728271,
-0.046829961240291595,
0.04276388883590698,
0.016527190804481506,
0.035069894045591354,
0.03312448784708977,
-0.020943788811564445,
0.028515100479125977,
0.0005619332659989595,
-0.0059545207768678665,
-0.023397454991936684,
0.03946896642446518,
-0.003354073269292712,
0.04448145255446434,
-0.027726421132683754,
0.004326776601374149,
0.021890202537178993,
-0.01945406384766102,
-0.01274153497070074,
0.017289580777287483,
0.03440389782190323,
-0.043464936316013336,
0.034246161580085754,
0.06057048961520195,
0.043219566345214844,
-0.13845685124397278,
0.01755247265100479,
-0.06842222064733505,
0.04483197629451752,
0.02825220674276352,
-0.05264865607023239,
0.023450033739209175,
-0.04353503882884979,
0.04861763119697571,
0.03351006284356117,
-0.06330457329750061,
-0.03428121283650398,
0.020838631317019463,
0.03705035150051117,
0.009069799445569515,
-0.027901683002710342,
0.015440567396581173,
-0.02739342488348484,
0.006721291225403547,
0.04739079996943474,
0.021224208176136017,
0.004837226588279009,
-0.006454017013311386,
-0.015554487705230713,
0.002633308991789818,
-0.015370463021099567,
-0.01877054199576378,
0.015869958326220512,
-0.06610876321792603,
0.01950664259493351,
-0.06712528318166733,
0.015387988649308681,
-0.022801565006375313,
0.00736975995823741,
0.01296937558799982,
0.02665732428431511,
-0.02893572859466076,
-0.05892302840948105,
0.009017221629619598,
-0.057626090943813324,
0.0348070003092289,
-0.033387377858161926,
-0.005643431097269058,
-0.03414100408554077,
0.04111642763018608,
-0.0722779780626297,
-0.014152392745018005,
0.02707795239984989,
0.01501993928104639,
-0.0494939424097538,
0.040450431406497955,
0.03181002289056778,
-0.027130531147122383,
0.022591250017285347,
-0.07136661559343338,
0.006953513249754906,
-0.004994962364435196,
0.034614212810993195,
0.016378218308091164,
-0.03144197165966034,
-0.02323971875011921,
-0.002497481182217598,
-0.052929073572158813,
-0.011348203755915165,
-0.008184727281332016,
0.05769619718194008,
-0.00026754813734441996,
-0.07760594040155411,
-0.017026687040925026,
0.02320466749370098,
-0.004938002210110426,
0.011330677196383476,
0.017789075151085854,
0.039574120193719864,
-0.004951146896928549,
0.01059457752853632,
0.04725059121847153,
0.01727205328643322,
-0.012452352792024612,
-0.03676993399858475,
-0.027778999879956245,
-0.036384355276823044,
0.030162561684846878,
0.0052228025160729885,
0.025781014934182167,
-0.01187398936599493,
-0.0294965673238039,
0.04353503882884979,
-0.03531526029109955,
0.0167725570499897,
0.023222193121910095,
0.02059326507151127,
-0.04893310368061066,
-0.052438341081142426,
-0.04735574871301651,
0.07970908284187317,
0.036384355276823044,
0.01027910690754652,
0.021311838179826736,
0.043499987572431564,
-0.03549052029848099,
0.08938353508710861,
-0.03904833644628525,
0.0017372829606756568,
-0.020540686324238777,
-0.01927880197763443,
0.010629630647599697,
-0.05555799975991249,
0.004631293937563896,
-0.020610790699720383,
0.02502739056944847,
-0.03144197165966034,
-0.003487710375338793,
-0.024869654327630997,
0.001056500244885683,
0.017938049510121346,
-0.024413973093032837,
-0.0348070003092289,
0.035665784031152725,
-0.04917846992611885,
0.07753583788871765,
-0.009288877248764038,
-0.03244096413254738,
0.04020506516098976,
-0.001583928824402392,
-0.04129168763756752,
0.02292424812912941,
-0.026096487417817116,
-0.03317706659436226,
-0.01922622323036194,
-0.03764624148607254,
0.015966353937983513,
-0.022030413150787354,
-0.01043684221804142,
-0.04963415116071701,
-0.018753016367554665,
-0.06996452063322067,
-0.010699735023081303,
0.053980644792318344,
0.00949919130653143,
0.004383736755698919,
0.020225215703248978,
-0.0009310785098932683,
-0.05401569604873657,
-0.05510232225060463,
0.008180346339941025,
-0.002942207967862487,
0.04612891376018524,
0.050790879875421524,
0.01260132621973753,
-0.05180739611387253,
0.022205675020813942,
-0.038312237709760666,
0.02004995383322239,
0.06779127568006516,
0.008609737269580364,
-0.07098104059696198,
-0.03932875394821167,
-0.0021688651759177446,
-0.001851203152909875,
-0.02642948366701603,
-0.034929681569337845,
0.029601722955703735,
-0.0029969774186611176,
0.02041800320148468,
0.04283399134874344,
0.037716347724199295,
0.05937870964407921,
0.005249091889709234,
-0.0511414036154747,
-0.0048854234628379345,
0.0006035579135641456,
-0.08629892766475677,
0.039574120193719864,
-0.00233098235912621,
-0.0027165585197508335,
-0.026043908670544624,
0.029233673587441444,
-0.01873549073934555,
0.011085310950875282,
0.07788635790348053,
-0.015300357714295387,
0.043219566345214844,
-0.07269860804080963,
0.005866889841854572,
0.009210009127855301,
-0.0126276146620512,
-0.020540686324238777,
0.03943391144275665,
0.005306052044034004,
-0.038943178951740265,
-0.07318934053182602,
0.009902293793857098,
0.027130531147122383,
-0.019471589475870132,
0.010384263470768929,
-0.01896332949399948,
0.04216799885034561,
0.01479209866374731,
-0.00021647574612870812,
-0.001705516711808741,
0.014862203039228916,
0.021434521302580833,
0.00915743038058281,
0.0051570795476436615,
0.0865793451666832,
-0.050475407391786575,
-0.01859528012573719,
-0.07052536308765411,
0.05906323716044426,
0.030653294175863266,
-0.08272358775138855,
-0.07098104059696198,
-0.06982431560754776,
-0.0027669460978358984,
-0.023081984370946884,
0.029794512316584587,
-0.07501206547021866,
-0.10831180959939957,
-0.05850239843130112,
0.05748588219285011,
-0.01141830813139677,
-0.019313853234052658,
-0.001705516711808741,
-0.04816194996237755,
0.02124173380434513,
0.010226528160274029,
0.012504931539297104,
0.0016573197208344936,
0.017981864511966705,
0.005529510788619518,
-0.0024076595436781645,
0.008307411335408688,
0.03531526029109955,
0.0013736146502196789,
0.00030780359520576894,
0.001767953741364181,
-0.015536961145699024,
0.03389563784003258,
-0.017429789528250694,
-0.05180739611387253,
0.011313151568174362,
0.002975069684907794,
-0.03510494530200958,
-0.030548136681318283,
0.0160452201962471,
0.016930293291807175,
-0.046829961240291595,
0.0051001193933188915,
0.020856158807873726,
-0.04998467490077019,
-0.02178504504263401,
0.029023360460996628,
0.002311265328899026,
-0.0009036938427016139,
-0.04374535381793976,
0.017929285764694214,
0.027270741760730743,
-0.05415590479969978,
-0.019208697602152824,
0.02178504504263401,
0.023853136226534843,
-0.007786007132381201,
0.01644832268357277,
0.05850239843130112,
-0.037435926496982574,
0.026499589905142784,
0.0034548488911241293,
0.035210102796554565,
0.03568330779671669,
0.05429611727595329,
0.027288267388939857,
-0.0016660827677696943,
-0.032879121601581573,
0.02571091055870056,
-0.011102837510406971,
0.003971871454268694,
-0.005196513142436743,
-0.01905096136033535,
-0.022082991898059845,
0.02252114564180374,
0.07150682806968689,
-0.019752008840441704,
0.05219297483563423,
0.028795519843697548,
-0.018665384501218796,
0.013617844320833683,
-0.0867195576429367,
0.05324454605579376,
0.02935635671019554,
0.02388818748295307,
0.03545546904206276,
-0.02830478549003601,
-0.034842051565647125,
-0.006112256553024054,
0.023327350616455078,
-0.007580074481666088,
-0.0025741581339389086,
0.02958419732749462,
-0.010033739730715752,
0.03768129274249077,
0.007128775119781494,
0.01731586828827858,
-0.028690362349152565,
0.010270343162119389,
0.021224208176136017,
-0.021434521302580833,
0.04185252636671066,
0.045147448778152466,
-0.0006862595910206437,
0.01132191438227892,
0.04276388883590698,
-0.021907730028033257,
0.010130134411156178,
0.06351488828659058,
0.05117645487189293,
0.028585204854607582,
-0.008197871968150139,
0.04693511873483658,
-0.025553176179528236,
-0.01887569949030876,
-0.0014743901556357741,
0.008473909460008144,
0.0006177979521453381,
-0.03897823020815849,
-0.012329669669270515,
0.017605051398277283,
-0.05766114220023155,
-0.005880034528672695,
-0.05724051594734192,
0.08959385007619858,
-0.08195243030786514,
-0.06793148815631866,
-0.04868773743510246,
-0.03559567779302597,
-0.012618851847946644,
0.04069579765200615,
0.0589931346476078,
-0.05128161236643791,
-0.011453361250460148,
0.010217765346169472,
0.06460151076316833,
0.022223200649023056,
0.03109144978225231,
0.026780007407069206,
0.014283839613199234,
0.04388556256890297,
0.0013122729724273086,
0.010506946593523026,
0.00022770346549805254,
-0.01772773452103138,
0.002734084613621235,
0.05338475480675697,
-0.01285545527935028,
0.009849715046584606,
0.019208697602152824,
0.0009365554433315992,
-0.025377914309501648,
-0.00984095223248005,
-0.008443239144980907,
0.041677262634038925,
-0.02315208874642849,
0.047601114958524704,
0.02893572859466076,
-0.022223200649023056,
0.023432506248354912,
-0.01342505682259798,
-0.05131666362285614,
0.05524253100156784,
-0.02662227302789688,
-0.013661660254001617,
-0.0019892218988388777,
0.01758752577006817,
-0.07522238045930862,
-0.006892171688377857,
-0.018928278237581253,
0.06260352581739426,
0.06390046328306198,
0.04444640129804611,
0.07634405791759491,
-0.00915743038058281,
-0.01671997830271721,
0.05993954837322235,
-0.052894022315740585,
0.04262367635965347,
-0.002806380158290267,
-0.005998336244374514,
-0.030057404190301895,
-0.04420103505253792,
0.02115410380065441,
0.01153222844004631,
-0.04332472383975983,
0.06116637960076332,
0.005122026894241571,
-0.020435530692338943,
-0.09008458256721497,
0.017797838896512985,
0.014204971492290497,
-0.005542655475437641,
-0.007242695428431034,
0.03585857152938843,
0.03007492981851101,
0.03750603273510933,
0.004749595653265715,
-0.020172636955976486,
-0.04234325885772705,
-0.03568330779671669,
0.01755247265100479,
-0.010734787210822105,
0.04283399134874344,
0.07091093808412552,
-0.07648426294326782,
0.06666959822177887,
0.05121150612831116,
0.07073567807674408,
-0.004416598007082939,
-0.04399072006344795,
-0.08041013032197952,
-0.009569295682013035,
0.00961311161518097,
-0.0262016449123621,
0.004631293937563896,
0.0026157828979194164,
-0.007225168868899345,
-0.08812165260314941,
0.005415590479969978,
-0.005814311094582081,
0.016246771439909935,
-0.007794769946485758,
0.017254527658224106,
-0.019787060096859932,
-0.04237831011414528,
0.010638393461704254,
-0.029724406078457832,
-0.038031816482543945,
0.011330677196383476,
0.0488629974424839,
0.04735574871301651,
0.03631425276398659,
0.008254832588136196,
-0.04024011641740799,
0.036174044013023376,
0.04770627245306969,
-0.015072518028318882,
-0.027849106118083,
-0.02602638304233551,
-0.000014248581464926247,
-0.012978138402104378,
-0.023765504360198975,
0.07368007302284241,
-0.05096613988280296,
-0.01859528012573719,
0.027498582378029823,
0.02890067547559738,
-0.044867027550935745,
0.006839592941105366,
-0.017981864511966705,
0.039539068937301636,
0.020207690075039864,
0.0014809624990448356,
0.0281645767390728,
-0.031424447894096375,
-0.008881393820047379,
-0.033387377858161926,
0.03322964534163475,
0.0010997679783031344,
-0.013977130874991417,
-0.0003119112807326019,
-0.013276084326207638,
-0.007650178857147694,
0.012469879351556301,
-0.00729089230298996,
-0.029619250446558,
-0.0018446308095008135,
0.008872630074620247,
0.03072339855134487,
-0.006090348586440086,
0.060255017131567,
-0.052017711102962494,
0.002213776111602783,
-0.03230075538158417,
-0.009604348801076412,
0.03729571774601936,
0.018069494515657425,
0.0743110179901123,
-0.003391316393390298,
0.0026464536786079407,
0.04973930865526199,
-0.0586075559258461,
-0.04651448875665665,
-0.005249091889709234,
0.011707490310072899,
-0.0030889897607266903,
-0.03207291662693024,
-0.01709679141640663,
-0.04458661004900932,
0.009218772873282433,
0.004613767843693495,
-0.09148667752742767,
-0.01055076252669096,
-0.055207476019859314,
0.06610876321792603,
0.055172424763441086,
-0.030285244807600975,
-0.022626303136348724,
-0.0003097205189988017,
-0.03473689407110214,
0.010577051900327206,
0.008504580706357956,
0.007996320724487305,
0.04921352118253708,
-0.00687026372179389,
0.059238500893116,
-0.022223200649023056,
0.032195597887039185,
-0.06309425830841064,
-0.038943178951740265,
0.063795305788517,
-0.030740926042199135,
-0.06242826581001282,
0.00007304858445422724,
-0.017569998279213905,
0.007930598221719265,
0.026376906782388687,
0.036945194005966187,
-0.0035227627959102392,
-0.05681988596916199,
0.0008960261475294828,
0.04872278869152069,
0.008675460703670979,
0.027323320508003235,
-0.03705035150051117,
0.012058014050126076,
-0.0005641240277327597,
-0.04342988133430481,
0.013398767448961735,
0.009832188487052917,
0.05615388974547386,
0.03929370269179344,
0.004508610814809799,
0.028129523620009422,
0.04080095514655113,
0.016080273315310478,
-0.07045526057481766,
0.053209491074085236,
-0.052298132330179214,
-0.060640595853328705,
0.03203786164522171,
-0.0033475009258836508,
0.004057311452925205,
0.06926347315311432,
0.013416293077170849,
0.010647156275808811,
0.03372037783265114,
0.03932875394821167,
-0.010839944705367088,
-0.005319196730852127,
0.034298740327358246,
-0.039819490164518356,
-0.029408935457468033,
-0.017009161412715912,
-0.02634185366332531,
-0.01310082245618105,
0.06484688073396683,
-0.002300311578437686,
0.01745607890188694,
0.01864785887300968,
0.016062747687101364,
-0.018437545746564865,
-0.010366737842559814,
-0.00269465078599751,
-0.07466153800487518,
-0.030828556045889854,
-0.0381019227206707,
0.0017460460076108575,
0.008320555090904236,
0.030705872923135757,
0.0024142316542565823,
-0.023555191233754158,
0.0459536537528038,
-0.034842051565647125,
-0.05180739611387253,
0.014064761810004711,
0.018525175750255585,
-0.0051570795476436615,
0.02232835814356804,
-0.03883802145719528,
0.012206986546516418,
0.054576534777879715,
-0.07396049052476883,
-0.006839592941105366,
0.014134867116808891,
-0.01864785887300968,
0.0872102901339531,
-0.04809184744954109,
-0.006397056858986616,
0.0048766606487333775,
-0.0055032214149832726,
0.020085006952285767,
0.007768480572849512,
-0.010638393461704254,
0.0099373459815979,
-0.027586212381720543,
0.041081372648477554,
-0.026096487417817116,
0.07375018298625946,
-0.008868249133229256,
0.0813915953040123,
-0.05121150612831116,
0.0036629722453653812,
0.08335452526807785,
-0.04237831011414528,
-0.06284889578819275,
0.09373002499341965,
-0.023187140002846718,
-0.03049555979669094,
0.01126057282090187,
-0.00012446328764781356,
-0.03121413290500641,
0.017876707017421722,
-0.012732772156596184,
-0.009017221629619598,
0.04178242012858391,
-0.08195243030786514,
-0.030916187912225723,
-0.08125138282775879,
0.04507734254002571,
-0.001425097812898457,
-0.03363274410367012,
-0.052298132330179214,
0.04009990766644478,
-0.000229757308261469,
-0.007545021828263998,
0.05142182111740112,
0.005880034528672695,
0.023081984370946884,
-0.0648118257522583,
-0.010296632535755634,
-0.0013122729724273086,
-0.014511680230498314,
0.009805899113416672,
0.03613898903131485,
-0.017482368275523186,
-0.012224513106048107,
-0.03184507414698601,
0.01664111018180847,
-0.03496473655104637,
-0.02711300551891327,
-0.020856158807873726,
-0.04994962364435196,
-0.048056796193122864,
-0.031739916652441025,
-0.004215047229081392,
-0.050335198640823364,
0.03775139898061752,
0.019839638844132423,
0.05180739611387253,
-0.0072689843364059925,
-0.018893225118517876,
0.004037594422698021,
-0.015869958326220512,
0.020663369446992874,
-0.010997680015861988,
-0.07049030810594559,
0.0055601815693080425,
0.03855760395526886,
-0.007619508076459169,
0.013223505578935146,
0.031880129128694534,
-0.032335806638002396,
-0.011155415326356888,
-0.03137186914682388,
-0.02560575306415558,
0.07543269544839859,
0.045322708785533905,
-0.04097621515393257,
0.017675155773758888,
0.0494939424097538,
0.007816677913069725,
0.0013769008219242096,
0.008933971635997295,
0.035805992782115936,
0.040485482662916183,
0.03166981413960457,
0.009604348801076412,
-0.013223505578935146,
0.005113264080137014,
0.04279894009232521,
0.0126276146620512,
0.03841739520430565,
-0.015466856770217419,
-0.042588625103235245,
0.056714728474617004,
0.01462559960782528,
-0.06369014829397202,
0.017210712656378746,
0.017429789528250694,
-0.012285854667425156,
0.007352233864367008,
-0.01882312074303627,
-0.04994962364435196,
0.036980245262384415,
0.04616396874189377,
0.053349703550338745,
0.00825045071542263,
-0.06372520327568054,
-0.05377032980322838,
0.010559525340795517,
0.04966920241713524,
0.009507954120635986,
0.06312931329011917,
0.006107874680310488,
0.0540507510304451,
0.00890768226236105,
0.05787145718932152,
0.025535648688673973,
0.0569600947201252,
-0.005998336244374514,
0.013889499939978123,
0.03705035150051117,
0.04006485641002655,
-0.002585112117230892,
-0.05674978345632553,
-0.008324936963617802,
-0.013284847140312195,
-0.017745260149240494,
0.013337425887584686,
0.03503483906388283,
0.020891210064291954,
0.006852737627923489
] |
719,530
|
ibm_platform_services.global_catalog_v1
|
list_artifacts
|
Get artifacts.
This endpoint returns a list of artifacts for an object.
:param str object_id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `Artifacts` object
|
def list_artifacts(self, object_id: str, *, account: str = None, **kwargs) -> DetailedResponse:
"""
Get artifacts.
This endpoint returns a list of artifacts for an object.
:param str object_id: The object's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
: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 representing a `Artifacts` object
"""
if object_id is None:
raise ValueError('object_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_artifacts'
)
headers.update(sdk_headers)
params = {'account': account}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['object_id']
path_param_values = self.encode_path_vars(object_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{object_id}/artifacts'.format(**path_param_dict)
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, object_id: str, *, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.006154278293251991,
-0.06031370908021927,
-0.08514457195997238,
-0.03097623586654663,
-0.0019593939650803804,
0.011079481802880764,
-0.01588890329003334,
-0.013733570463955402,
-0.037014733999967575,
0.0015485892072319984,
0.00021069051581434906,
0.02844683639705181,
0.020840825513005257,
-0.04317791759967804,
-0.001367122633382678,
0.03206280991435051,
-0.01962956413626671,
0.051621124148368835,
0.0622018501162529,
0.05276113376021385,
0.0028967857360839844,
0.05244050547480583,
-0.01681516319513321,
0.012326369062066078,
0.00985040795058012,
0.006359124090522528,
0.058532439172267914,
-0.011382297612726688,
-0.009547592140734196,
0.02005706913769245,
-0.036302223801612854,
-0.021090203896164894,
0.005455130711197853,
0.047737959772348404,
-0.06131121888756752,
-0.007828669622540474,
0.07766325026750565,
-0.005949432495981455,
-0.0874958485364914,
0.05774868279695511,
-0.01845392771065235,
0.04289291426539421,
0.11400110274553299,
-0.03142155334353447,
0.008741568773984909,
-0.00492520397529006,
-0.028714027255773544,
-0.04285728931427002,
-0.027110887691378593,
-0.012771685607731342,
0.03546503186225891,
-0.016280781477689743,
0.01877455599606037,
-0.05749930441379547,
0.06555063277482986,
0.0335056371986866,
-0.03298906981945038,
-0.03843974694609642,
-0.01388497743755579,
0.01617390662431717,
-0.008149297907948494,
0.021375207230448723,
0.03957975655794144,
-0.03929475322365761,
-0.035375967621803284,
0.02985403873026371,
-0.03466346114873886,
0.02668338268995285,
-0.0513717457652092,
-0.018845807760953903,
0.010233379900455475,
-0.02443898655474186,
0.033327508717775345,
-0.011640581302344799,
-0.03676535561680794,
-0.06843628734350204,
0.05304613709449768,
0.00513450289145112,
-0.011302140541374683,
-0.027378076687455177,
-0.040791019797325134,
-0.03583909571170807,
-0.005455130711197853,
-0.03754911199212074,
0.018347052857279778,
-0.025970876216888428,
-0.034129079431295395,
-0.02556118369102478,
0.017892828211188316,
0.027378076687455177,
0.02552555873990059,
0.02543649636209011,
-0.08029952645301819,
0.018810180947184563,
-0.01982550323009491,
0.022479591891169548,
-0.030602170154452324,
-0.01742079295217991,
-0.025133680552244186,
0.06038495898246765,
-0.029996540397405624,
-0.056038666516542435,
-0.020074881613254547,
0.06996817886829376,
-0.004626841749995947,
-0.07830450683832169,
-0.019451437518000603,
-0.030352793633937836,
0.050302986055612564,
0.031083112582564354,
-0.012094804085791111,
0.0826507955789566,
0.029194969683885574,
-0.031849056482315063,
-0.013974041678011417,
0.034805960953235626,
0.020235195755958557,
-0.04385479912161827,
-0.048735469579696655,
-0.07666574418544769,
0.04755983501672745,
-0.029836226254701614,
0.03327407315373421,
0.009707906283438206,
0.03719285875558853,
0.01252230815589428,
-0.05432865023612976,
0.016512347385287285,
-0.020163943991065025,
-0.04150352627038956,
-0.015247647650539875,
-0.00028806430054828525,
-0.05073048919439316,
0.03434283286333084,
0.04991110786795616,
0.01623625122010708,
0.008581254631280899,
-0.0011756363091990352,
-0.019522689282894135,
0.04731045663356781,
-0.00831406470388174,
-0.016993289813399315,
0.0033821810502558947,
0.005838103126734495,
-0.026273692026734352,
-0.021678021177649498,
0.026861509308218956,
-0.044638555496931076,
-0.028785277158021927,
-0.0020139452535659075,
-0.033683761954307556,
-0.012433244846761227,
-0.023815542459487915,
-0.0007698414265178144,
-0.03623097389936447,
-0.037727240473032,
0.010625259019434452,
0.010945887304842472,
0.006323498673737049,
0.024545861408114433,
0.006795534398406744,
0.015390148386359215,
0.0505523644387722,
-0.014811236411333084,
-0.004473207052797079,
-0.02046675980091095,
-0.052903637290000916,
0.003232999937608838,
-0.044567305594682693,
-0.023281162604689598,
-0.04955485463142395,
0.011658393777906895,
-0.0296937245875597,
-0.035215653479099274,
-0.030352793633937836,
0.0613824687898159,
0.004956375807523727,
0.0196651890873909,
-0.022978346794843674,
-0.0012023553717881441,
-0.059529948979616165,
-0.06002870574593544,
-0.0208586398512125,
0.003045966848731041,
-0.005228019319474697,
-0.013439660891890526,
-0.03623097389936447,
0.04973297938704491,
0.01909518428146839,
-0.00729428930208087,
-0.03868912532925606,
0.03183124586939812,
0.0117385508492589,
-0.024385547265410423,
-0.04446043074131012,
-0.07068068534135818,
-0.019647376611828804,
-0.05967245250940323,
0.01388497743755579,
0.016966570168733597,
-0.012486683204770088,
-0.03751348704099655,
0.0513717457652092,
0.018810180947184563,
0.04827234148979187,
0.0018257988849654794,
-0.005143409129232168,
-0.0485573448240757,
-0.034574396908283234,
0.008211641572415829,
-0.06494500488042831,
0.08286455273628235,
-0.027431514114141464,
-0.022372717037796974,
-0.03117217682301998,
0.09184213727712631,
0.019166436046361923,
-0.031154364347457886,
0.03168874233961105,
-0.034485332667827606,
-0.02303178422152996,
-0.08436081558465958,
-0.0055931792594492435,
0.024777427315711975,
-0.04193102940917015,
0.010812291875481606,
0.09540466964244843,
0.021321767941117287,
0.031279053539037704,
-0.04467418044805527,
-0.014971550554037094,
0.028429023921489716,
0.008171563036739826,
0.029675912111997604,
0.015122958458960056,
0.05717867612838745,
0.007592651527374983,
-0.01803532987833023,
0.0012524535413831472,
-0.012264024466276169,
0.009164620190858841,
0.004853953141719103,
0.014187793247401714,
0.05461365357041359,
-0.03961538150906563,
-0.0007870974368415773,
-0.04029226303100586,
0.0690419152379036,
-0.031849056482315063,
-0.08649833500385284,
0.016325313597917557,
-0.02472398802638054,
0.037299733608961105,
-0.01575530879199505,
0.03786974027752876,
-0.09611717611551285,
0.038546621799468994,
-0.07844700664281845,
0.00983259454369545,
-0.032116249203681946,
-0.002188732149079442,
-0.040506016463041306,
-0.04039914160966873,
0.003927694167941809,
-0.012281836941838264,
0.04025663807988167,
0.005321535747498274,
-0.015096239745616913,
-0.03648035228252411,
0.04513731226325035,
0.07930201292037964,
-0.01982550323009491,
0.021410832181572914,
0.005842556245625019,
-0.007187413051724434,
0.05268988385796547,
0.02752057835459709,
-0.011079481802880764,
-0.09184213727712631,
0.058924317359924316,
-0.03929475322365761,
-0.043071042746305466,
-0.0026407286059111357,
0.018364865332841873,
0.05211987718939781,
-0.058247435837984085,
0.02776995487511158,
0.06245122849941254,
-0.016298595815896988,
0.014499515295028687,
0.020805200561881065,
0.0622018501162529,
-0.015594994649291039,
-0.05600304156541824,
-0.030762484297156334,
0.05390114709734917,
-0.023405851796269417,
-0.006733190268278122,
0.052262380719184875,
0.029284032061696053,
-0.017545482143759727,
0.06669064611196518,
0.032276563346385956,
-0.05404364690184593,
-0.04193102940917015,
-0.026220252737402916,
0.0581761859357357,
-0.00895086769014597,
0.0393303781747818,
-0.002794362837448716,
0.015158584341406822,
0.03797661513090134,
0.013217003084719181,
-0.016832975670695305,
-0.024100545793771744,
-0.056038666516542435,
0.024545861408114433,
0.029996540397405624,
0.003284211503341794,
0.028785277158021927,
-0.01807095669209957,
0.05276113376021385,
-0.021820522844791412,
-0.045564815402030945,
0.09098713099956512,
-0.008358596824109554,
0.012557934038341045,
0.05582491308450699,
0.07809075713157654,
-0.0049697356298565865,
-0.014544046483933926,
-0.026932761073112488,
-0.01678844355046749,
0.016957662999629974,
0.014294669032096863,
-0.07125068455934525,
0.0083274245262146,
-0.02335241250693798,
-0.0065149846486747265,
0.03475252166390419,
-0.007891013287007809,
-0.04285728931427002,
0.005094424355775118,
0.07146444171667099,
0.012023553252220154,
0.026754632592201233,
0.0959034264087677,
-0.0413253977894783,
-0.009770250879228115,
-0.010099785402417183,
0.03751348704099655,
-0.01111510768532753,
0.03908100351691246,
0.012851842679083347,
0.037691615521907806,
0.023940231651067734,
-0.005535287782549858,
-0.014259044080972672,
-0.05650179460644722,
-0.002411390421912074,
-0.03241906315088272,
-0.032401248812675476,
-0.052832383662462234,
-0.02027082070708275,
0.002411390421912074,
-0.03578565642237663,
0.017376260831952095,
-0.007828669622540474,
0.08892086148262024,
-0.014089823700487614,
-0.03133248910307884,
-0.006225528661161661,
-0.046170447021722794,
-0.00030198044260032475,
0.01137339137494564,
0.032757505774497986,
-0.024385547265410423,
-0.03571440652012825,
0.01934456266462803,
0.1143573522567749,
-0.052832383662462234,
-0.011382297612726688,
-0.006880144588649273,
-0.03868912532925606,
0.028108395636081696,
0.024189608171582222,
0.0333096981048584,
-0.021731460466980934,
0.013858258724212646,
0.00969009380787611,
0.05803368613123894,
-0.02290709689259529,
0.015577182173728943,
-0.005455130711197853,
0.004459847696125507,
-0.07096568495035172,
0.04118289798498154,
0.014659829437732697,
-0.01982550323009491,
-0.032686252146959305,
-0.011079481802880764,
0.01693985052406788,
0.00805578101426363,
0.01978987827897072,
-0.019683003425598145,
-0.058924317359924316,
0.032009370625019073,
-0.04449605569243431,
0.03580347076058388,
0.0016064803348854184,
0.05340239033102989,
-0.059886202216148376,
-0.026594320312142372,
-0.006243341602385044,
0.042394161224365234,
0.05151424929499626,
-0.03341657295823097,
0.01069650985300541,
0.008461019024252892,
0.0008255059947259724,
0.03126123920083046,
-0.04250103607773781,
0.005023173522204161,
0.010286818258464336,
-0.029996540397405624,
-0.028357774019241333,
-0.018168926239013672,
0.057570554316043854,
0.010233379900455475,
-0.05201300233602524,
0.046562325209379196,
0.01410763617604971,
-0.06800878047943115,
-0.04478105902671814,
0.024100545793771744,
0.024011481553316116,
-0.012566840276122093,
0.03471689671278,
0.043676670640707016,
0.020199570804834366,
-0.015176396816968918,
-0.015140770934522152,
0.015051707625389099,
-0.04071976989507675,
0.023779917508363724,
0.02290709689259529,
0.025187117978930473,
-0.01653015986084938,
0.042536661028862,
-0.002438109600916505,
0.0674387738108635,
0.005508568603545427,
0.010625259019434452,
-0.06362686306238174,
-0.06213060021400452,
-0.08649833500385284,
0.07438571751117706,
-0.005388333462178707,
-0.026416191831231117,
-0.021375207230448723,
0.007842028513550758,
-0.04795171320438385,
-0.005780212115496397,
-0.06234435364603996,
0.013831540010869503,
-0.010874636471271515,
-0.023655228316783905,
0.02223021537065506,
-0.016450002789497375,
-0.04128977283835411,
0.018845807760953903,
0.034805960953235626,
-0.003729528281837702,
0.022087713703513145,
0.0714288130402565,
0.032365623861551285,
0.025187117978930473,
-0.008189376443624496,
-0.032971255481243134,
-0.023566165938973427,
0.0035224559251219034,
-0.08400455862283707,
0.05753492936491966,
-0.011141826398670673,
-0.004862859379500151,
0.013858258724212646,
0.018275801092386246,
0.028429023921489716,
0.0026763540226966143,
-0.011435735039412975,
-0.0018558577867224813,
0.013893884606659412,
-0.06979005038738251,
0.02046675980091095,
-0.0013938415795564651,
0.008919695392251015,
-0.022978346794843674,
0.02475961484014988,
-0.04025663807988167,
-0.00568669568747282,
0.057641807943582535,
-0.042109157890081406,
0.028304336592555046,
-0.011177451349794865,
-0.042073532938957214,
0.0065149846486747265,
-0.0019638470839709044,
-0.01358216255903244,
-0.0001878680195659399,
0.003308703890070319,
-0.029764974489808083,
0.0453510619699955,
-0.032971255481243134,
-0.002934637712314725,
-0.011596049182116985,
0.07880326360464096,
-0.04659795016050339,
0.037584736943244934,
0.02021738328039646,
0.03241906315088272,
-0.01723376102745533,
0.04478105902671814,
0.006550610065460205,
-0.03387970104813576,
0.0020929889287799597,
-0.01095479354262352,
-0.05390114709734917,
-0.03174218162894249,
0.004397503565996885,
0.052226755768060684,
-0.05906682088971138,
-0.026540881022810936,
-0.02303178422152996,
0.0015007175970822573,
-0.025472121313214302,
0.03843974694609642,
-0.03405782952904701,
-0.02917715720832348,
-0.0010643071727827191,
0.026024313643574715,
-0.005931620020419359,
0.021571146324276924,
-0.008296252228319645,
-0.04538668692111969,
-0.06850753724575043,
0.011195264756679535,
0.021375207230448723,
0.021695833653211594,
0.06412561982870102,
-0.023868979886174202,
0.06565751135349274,
-0.04153915122151375,
0.03965100646018982,
0.033683761954307556,
-0.03199156001210213,
0.019237685948610306,
-0.01934456266462803,
-0.08272204548120499,
-0.03940163180232048,
-0.043641045689582825,
0.0069157700054347515,
0.07388696074485779,
-0.020965514704585075,
-0.013047782704234123,
0.006537250708788633,
0.03639128804206848,
0.0770219936966896,
0.0280905831605196,
0.024011481553316116,
-0.04859296977519989,
-0.015122958458960056,
-0.011159638874232769,
-0.04442480579018593,
-0.016957662999629974,
0.01870330609381199,
0.010179942473769188,
0.012513401918113232,
-0.0714288130402565,
0.04706107825040817,
0.0034400722943246365,
0.00750358821824193,
-0.04980422928929329,
0.0031060846522450447,
-0.03614191338419914,
-0.019611751660704613,
0.024029294028878212,
0.057321179658174515,
-0.0028945591766387224,
0.04193102940917015,
-0.01914862170815468,
-0.008407581597566605,
-0.020876452326774597,
0.014392638579010963,
0.00447766063734889,
-0.020555824041366577,
0.05040986090898514,
-0.05422177538275719,
-0.031189989298582077,
-0.015960155054926872,
-0.04403292387723923,
0.023601790890097618,
0.048058588057756424,
0.013225909322500229,
0.009645561687648296,
-0.009351653046905994,
0.05219113081693649,
0.005891541484743357,
-0.01761673204600811,
0.017536574974656105,
-0.003956639673560858,
-0.022960534319281578,
-0.027378076687455177,
0.011498079635202885,
-0.011319953016936779,
-0.035892535001039505,
-0.018685493618249893,
0.01659250445663929,
0.07028880715370178,
-0.007298742420971394,
0.04827234148979187,
0.061738722026348114,
0.005486303009092808,
-0.024136170744895935,
0.034930650144815445,
-0.04356979578733444,
0.04025663807988167,
0.02299615927040577,
-0.02299615927040577,
-0.0028054958675056696,
0.03202718496322632,
-0.026754632592201233,
0.07132194191217422,
0.022978346794843674,
0.020235195755958557,
0.04185977950692177,
0.013056688942015171,
0.022568656131625175,
0.0031728821340948343,
0.022497404366731644,
-0.03322063386440277,
0.01542577426880598,
0.04314229264855385,
-0.08478832244873047,
0.06747440248727798,
-0.01803532987833023,
0.02825089730322361,
-0.04755983501672745,
-0.04549356549978256,
0.020413322374224663,
-0.038012243807315826,
-0.0007876540767028928,
0.019130809232592583,
-0.04706107825040817,
0.010990418493747711,
0.03215187415480614,
0.09276839345693588,
0.013190283440053463,
0.013920603320002556,
-0.01364450715482235,
0.03327407315373421,
0.049020472913980484,
-0.020965514704585075,
0.006194356828927994,
-0.05849681422114372,
0.016984382644295692,
-0.042073532938957214,
0.003562534460797906,
-0.037370987236499786,
0.01893487013876438,
0.026665570214390755,
0.0320984348654747,
0.0009095595451071858,
0.04193102940917015,
0.020716138184070587,
-0.02965809963643551,
0.010366975329816341,
0.00002167440288758371,
0.026113377884030342,
0.05774868279695511,
0.005036532878875732,
-0.0172604788094759,
-0.028339961543679237,
-0.024813052266836166,
0.09120088070631027,
-0.01041150651872158,
-0.053865522146224976,
-0.017207041382789612,
-0.006857878528535366,
-0.07274695485830307,
-0.014757798984646797,
0.01707344688475132,
-0.0381191186606884,
0.029996540397405624,
-0.034164704382419586,
0.020448947325348854,
0.0315106175839901,
-0.04022101312875748,
0.023174285888671875,
0.04663357511162758,
-0.02094770222902298,
0.030263729393482208,
-0.046882953494787216,
0.056715548038482666,
0.08792334794998169,
0.015051707625389099,
-0.00447766063734889,
0.009583218023180962,
-0.021731460466980934,
-0.02053801156580448,
-0.026184627786278725,
-0.0012669262941926718,
0.046882953494787216,
0.016031404957175255,
-0.025026803836226463,
0.018507366999983788,
0.028874341398477554,
-0.006452640518546104,
-0.0013871617848053575,
-0.022497404366731644,
0.025632435455918312,
0.01109729427844286,
-0.008523363620042801,
0.04168165102601051,
0.026380566880106926,
0.02901684306561947,
0.00713397515937686,
0.010126504115760326,
0.09055962413549423,
0.03614191338419914,
-0.012727154418826103,
0.010188848711550236,
0.006172090768814087,
0.0004917967598885298,
0.001480678329244256,
0.036213163286447525,
-0.022728970274329185,
0.01380482129752636,
-0.04503043368458748,
-0.03680098056793213,
0.01791064254939556,
0.01025119237601757,
-0.018881432712078094,
-0.03001435287296772,
-0.04086226969957352,
0.010366975329816341,
-0.009115634486079216,
0.05358051881194115,
0.034253768622875214,
0.0007225265144370496,
-0.05753492936491966,
0.0405416414141655,
-0.00284334784373641,
-0.006826706696301699,
0.04406854882836342,
0.00895532127469778,
-0.009707906283438206,
0.0014172206865623593,
0.0069157700054347515,
0.0497686043381691,
-0.013733570463955402,
-0.06647688895463943,
-0.032597191631793976,
0.010162129066884518,
-0.0017367355758324265,
-0.015452492982149124,
0.05404364690184593,
0.014891393482685089,
-0.03359469771385193
] |
719,531
|
ibm_platform_services.global_catalog_v1
|
list_catalog_entries
|
Returns parent catalog entries.
Includes key information, such as ID, name, kind, CRN, tags, and provider. This
endpoint is ETag enabled.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str include: (optional) A GET call by default returns a basic set of
properties. To include other properties, you must add this parameter. A
wildcard (`*`) includes all properties for an object, for example `GET
/?include=*`. To include specific metadata fields, separate each field with
a colon (:), for example `GET /?include=metadata.ui:metadata.pricing`.
:param str q: (optional) Searches the catalog entries for keywords. Add
filters to refine your search. A query filter, for example, `q=kind:iaas
service_name rc:true`, filters entries of kind iaas with
metadata.service.rc_compatible set to true and have a service name is in
their name, display name, or description. Valid tags are
**kind**:<string>, **tag**:<strging>, **rc**:[true|false],
**iam**:[true|false], **active**:[true|false], **geo**:<string>, and
**price**:<string>.
:param str sort_by: (optional) The field on which the output is sorted.
Sorts by default by **name** property. Available fields are **name**,
**displayname** (overview_ui.display_name), **kind**, **provider**
(provider.name), **sbsindex** (metadata.ui.side_by_side_index), and the
time **created**, and **updated**.
:param str descending: (optional) Sets the sort order. The default is
false, which is ascending.
:param str languages: (optional) Return the data strings in a specified
langauge. By default, the strings returned are of the language preferred by
your browser through the Accept-Langauge header, which allows an override
of the header. Languages are specified in standard form, such as `en-us`.
To include all languages use a wildcard (*).
:param bool catalog: (optional) Checks to see if a catalog's object is
visible, or if it's filtered by service, plan, deployment, or region. Use
the value `?catalog=true`. If a `200` code is returned, the object is
visible. If a `403` code is returned, the object is not visible for the
user.
:param bool complete: (optional) Returns all available fields for all
languages. Use the value `?complete=true` as shortcut for
?include=*&languages=*.
:param int offset: (optional) Useful for pagination, specifies index
(origin 0) of first item to return in response.
:param int limit: (optional) Useful for pagination, specifies the maximum
number of items to return in the response.
: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 representing a `EntrySearchResult` object
|
def list_catalog_entries(
self,
*,
account: str = None,
include: str = None,
q: str = None,
sort_by: str = None,
descending: str = None,
languages: str = None,
catalog: bool = None,
complete: bool = None,
offset: int = None,
limit: int = None,
**kwargs
) -> DetailedResponse:
"""
Returns parent catalog entries.
Includes key information, such as ID, name, kind, CRN, tags, and provider. This
endpoint is ETag enabled.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str include: (optional) A GET call by default returns a basic set of
properties. To include other properties, you must add this parameter. A
wildcard (`*`) includes all properties for an object, for example `GET
/?include=*`. To include specific metadata fields, separate each field with
a colon (:), for example `GET /?include=metadata.ui:metadata.pricing`.
:param str q: (optional) Searches the catalog entries for keywords. Add
filters to refine your search. A query filter, for example, `q=kind:iaas
service_name rc:true`, filters entries of kind iaas with
metadata.service.rc_compatible set to true and have a service name is in
their name, display name, or description. Valid tags are
**kind**:<string>, **tag**:<strging>, **rc**:[true|false],
**iam**:[true|false], **active**:[true|false], **geo**:<string>, and
**price**:<string>.
:param str sort_by: (optional) The field on which the output is sorted.
Sorts by default by **name** property. Available fields are **name**,
**displayname** (overview_ui.display_name), **kind**, **provider**
(provider.name), **sbsindex** (metadata.ui.side_by_side_index), and the
time **created**, and **updated**.
:param str descending: (optional) Sets the sort order. The default is
false, which is ascending.
:param str languages: (optional) Return the data strings in a specified
langauge. By default, the strings returned are of the language preferred by
your browser through the Accept-Langauge header, which allows an override
of the header. Languages are specified in standard form, such as `en-us`.
To include all languages use a wildcard (*).
:param bool catalog: (optional) Checks to see if a catalog's object is
visible, or if it's filtered by service, plan, deployment, or region. Use
the value `?catalog=true`. If a `200` code is returned, the object is
visible. If a `403` code is returned, the object is not visible for the
user.
:param bool complete: (optional) Returns all available fields for all
languages. Use the value `?complete=true` as shortcut for
?include=*&languages=*.
:param int offset: (optional) Useful for pagination, specifies index
(origin 0) of first item to return in response.
:param int limit: (optional) Useful for pagination, specifies the maximum
number of items to return in the response.
: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 representing a `EntrySearchResult` object
"""
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='list_catalog_entries'
)
headers.update(sdk_headers)
params = {
'account': account,
'include': include,
'q': q,
'sort-by': sort_by,
'descending': descending,
'languages': languages,
'catalog': catalog,
'complete': complete,
'_offset': offset,
'_limit': limit,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
url = '/'
request = self.prepare_request(method='GET', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, *, account: Optional[str] = None, include: Optional[str] = None, q: Optional[str] = None, sort_by: Optional[str] = None, descending: Optional[str] = None, languages: Optional[str] = None, catalog: Optional[bool] = None, complete: Optional[bool] = None, offset: Optional[int] = None, limit: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.01701974682509899,
-0.03394608199596405,
-0.04282026365399361,
-0.04412803798913956,
0.01985948532819748,
0.011592484079301357,
-0.0032904534600675106,
-0.0385606586933136,
0.02552028000354767,
-0.047901902347803116,
-0.021933242678642273,
0.004607568960636854,
-0.010219321586191654,
-0.04024207964539528,
0.003801886457949877,
0.017524175345897675,
-0.04207296669483185,
0.007767244707792997,
-0.018476981669664383,
-0.014478929340839386,
0.03260094299912453,
0.001493431511335075,
-0.02901390567421913,
0.029891982674598694,
0.041101474314928055,
-0.026211531832814217,
0.05593537166714668,
-0.03859802335500717,
-0.026753325015306473,
0.038896940648555756,
0.010284709744155407,
0.03424500301480293,
-0.0005809086142107844,
0.011779309250414371,
-0.06135329231619835,
-0.05175049602985382,
0.051414210349321365,
-0.03650558367371559,
0.015992211177945137,
0.053357187658548355,
-0.009168431162834167,
0.014404199086129665,
0.06288525462150574,
-0.0010117735946550965,
0.045921556651592255,
0.041624587029218674,
0.013965160585939884,
-0.02959306165575981,
-0.0149086257442832,
0.0064034229144454,
-0.026585182175040245,
0.02520267851650715,
-0.009462680667638779,
-0.03400212898850441,
0.01388108916580677,
-0.03385267034173012,
-0.05574854835867882,
0.006987250875681639,
-0.06972304731607437,
0.016094963997602463,
-0.018103331327438354,
0.013189837336540222,
-0.019635295495390892,
0.06565026938915253,
-0.036281391978263855,
0.028360018506646156,
0.008014787919819355,
-0.018981408327817917,
-0.024492742493748665,
-0.015300958417356014,
-0.010275368578732014,
0.012293078005313873,
0.0017549863550812006,
-0.012862893752753735,
-0.02142881415784359,
-0.008257660083472729,
0.048126090317964554,
-0.010863867588341236,
-0.04248398169875145,
-0.050891101360321045,
-0.05410448834300041,
-0.03525385633111,
0.015730654820799828,
0.027594035491347313,
0.055972736328840256,
0.044240135699510574,
0.0075570666231215,
-0.022549763321876526,
0.020251818001270294,
0.08063362538814545,
-0.026435721665620804,
0.001633550156839192,
-0.030770059674978256,
0.012433196417987347,
-0.013974501751363277,
0.00371314468793571,
0.023801490664482117,
-0.02729511633515358,
0.01820608600974083,
0.04274553433060646,
0.02593129500746727,
-0.08466903865337372,
0.0512273833155632,
0.006907850503921509,
-0.0089162178337574,
-0.02587524801492691,
-0.04838764667510986,
-0.001739806728437543,
0.027537988498806953,
0.06863946467638016,
-0.013684922829270363,
0.008388437330722809,
0.015805386006832123,
-0.04102674499154091,
-0.04128830134868622,
-0.0015950175002217293,
-0.017823094502091408,
-0.0038158984389156103,
-0.04700514301657677,
-0.04991960898041725,
0.027369845658540726,
-0.014170668087899685,
0.01640322618186474,
-0.04491270333528519,
-0.008397778496146202,
-0.038149643689394,
-0.028995223343372345,
0.014600365422666073,
-0.058961935341358185,
0.04745352268218994,
-0.019971581175923347,
-0.010630336590111256,
-0.003474942874163389,
-0.03267567232251167,
0.03949478268623352,
0.007949398830533028,
0.01802860200405121,
-0.021279355511069298,
-0.07951267063617706,
0.0771213173866272,
0.01097596250474453,
0.04835028201341629,
0.011816673912107944,
-0.002557165687903762,
-0.08018524199724197,
-0.050367988646030426,
0.0029191388748586178,
-0.06008288636803627,
-0.01231176033616066,
-0.010807819664478302,
-0.022661859169602394,
-0.060008153319358826,
-0.011657873168587685,
0.005894325207918882,
-0.02938755601644516,
-0.019971581175923347,
-0.003003210062161088,
-0.026958832517266273,
-0.0013474745210260153,
0.01754285767674446,
-0.0033044652082026005,
-0.001599688082933426,
0.04704250767827034,
-0.024866392835974693,
-0.055337533354759216,
-0.019523201510310173,
-0.06254897266626358,
-0.025763152167201042,
-0.024175141006708145,
-0.04835028201341629,
-0.015478442423045635,
-0.008570591919124126,
-0.00308494595810771,
-0.04181141033768654,
-0.07282434403896332,
-0.0028537502512335777,
0.06770534068346024,
-0.03945741802453995,
0.01477784849703312,
-0.03600115701556206,
-0.03514176234602928,
-0.06882628798484802,
0.007669161539524794,
0.040466271340847015,
0.011826015077531338,
-0.03686055168509483,
0.012059547007083893,
0.0370473749935627,
0.043306007981300354,
0.009546752087771893,
-0.05182522535324097,
-0.011228175833821297,
-0.03379662334918976,
-0.022250844165682793,
-0.0910210832953453,
-0.02236294001340866,
0.0049321772530674934,
-0.007332876790314913,
-0.0011413833126425743,
-0.027780860662460327,
-0.053880296647548676,
0.012265053577721119,
0.05313299968838692,
-0.025127947330474854,
0.05548699200153351,
0.05642111599445343,
-0.03587038069963455,
-0.06972304731607437,
-0.02604338899254799,
-0.016804898157715797,
0.013208519667387009,
0.012666727416217327,
-0.01144302450120449,
-0.00501624820753932,
-0.04016735032200813,
0.09535542130470276,
-0.02163432165980339,
-0.01267606858164072,
0.015328981913626194,
-0.014394857920706272,
0.014357492327690125,
-0.06292261928319931,
-0.00039145653136074543,
-0.0665096640586853,
-0.03306800499558449,
-0.006043785251677036,
0.07719604671001434,
0.05735523998737335,
0.03164813667535782,
-0.07484205067157745,
-0.03715946897864342,
-0.04274553433060646,
0.006566894706338644,
0.025053218007087708,
0.002452076645568013,
-0.018243450671434402,
0.030527187511324883,
0.04980751499533653,
0.029948029667139053,
0.02703356184065342,
0.04259607568383217,
0.04349283501505852,
-0.027575353160500526,
0.006599589250981808,
-0.06400620937347412,
-0.019971581175923347,
-0.04730406031012535,
0.028509479016065598,
-0.018598418682813644,
-0.08347336202859879,
-0.018252791836857796,
-0.03960687667131424,
0.07446840405464172,
-0.0578409843146801,
0.08302497863769531,
-0.04973278567194939,
-0.034506555646657944,
-0.04666885733604431,
0.04375438764691353,
-0.046071019023656845,
-0.02860289067029953,
-0.013423368334770203,
-0.014413540251553059,
0.01980343833565712,
0.04674358665943146,
0.012143617495894432,
0.028827080503106117,
-0.014077255502343178,
0.04263344034552574,
0.046855680644512177,
-0.030844788998365402,
0.03684186935424805,
0.002797702793031931,
0.03702869266271591,
-0.01385306566953659,
0.07170338928699493,
0.019560566172003746,
-0.014385516755282879,
-0.09244095534086227,
0.03912113234400749,
-0.0034889548551291227,
-0.017057113349437714,
-0.04244661331176758,
-0.0007321200100705028,
0.07966213673353195,
-0.06792952865362167,
-0.013638217002153397,
0.025576326996088028,
-0.053469281643629074,
0.012844211421906948,
0.06333363801240921,
0.030938202515244484,
-0.007818621583282948,
-0.06467877328395844,
-0.020812293514609337,
0.02959306165575981,
-0.043193913996219635,
-0.06269843131303787,
0.0172813031822443,
0.02090570516884327,
-0.034599971026182175,
0.006856473628431559,
0.07913902401924133,
-0.01144302450120449,
0.001997858751565218,
0.027986368164420128,
0.04521162435412407,
0.02314760349690914,
0.010219321586191654,
0.0001963120885193348,
0.014703119173645973,
0.06083018332719803,
0.025183994323015213,
-0.018533028662204742,
-0.138549342751503,
-0.017823094502091408,
0.01364755816757679,
-0.014404199086129665,
-0.03448787331581116,
0.005338521208614111,
-0.01867314800620079,
0.07592563331127167,
-0.038747482001781464,
-0.01995289884507656,
0.1042482852935791,
-0.017169207334518433,
0.008897535502910614,
0.05029325932264328,
0.050629545003175735,
-0.01681423932313919,
0.059858694672584534,
0.0024217176251113415,
-0.029835935682058334,
0.027668766677379608,
-0.02871498465538025,
0.009397291578352451,
-0.014282763004302979,
-0.04924704134464264,
0.014703119173645973,
-0.019261647015810013,
0.016599390655755997,
-0.024175141006708145,
-0.056346386671066284,
-0.0005978396511636674,
-0.024063045158982277,
-0.007276829332113266,
0.12569577991962433,
-0.028322653844952583,
-0.03151736035943031,
-0.017253277823328972,
0.011648532003164291,
-0.04416540265083313,
0.05593537166714668,
0.04797663167119026,
0.0574299693107605,
-0.009425316005945206,
-0.03431973233819008,
-0.042147696018218994,
-0.019635295495390892,
-0.012918940745294094,
0.017468126490712166,
-0.010835843160748482,
-0.002267586998641491,
0.01800057850778103,
-0.05619692802429199,
-0.04887339100241661,
-0.00856592133641243,
-0.032189927995204926,
0.03488020598888397,
-0.015366347506642342,
-0.02043864317238331,
-0.03147999569773674,
0.0027253080625087023,
0.02593129500746727,
0.001245888532139361,
-0.024380648508667946,
-0.016038917005062103,
-0.00903298333287239,
-0.037010010331869125,
0.08100727200508118,
0.029051270335912704,
0.05290880799293518,
-0.02462352067232132,
-0.04184877499938011,
0.0006089324015192688,
-0.032862499356269836,
0.03289986401796341,
0.01498335599899292,
0.010564947500824928,
-0.0035847024992108345,
-0.02451142482459545,
0.0282292403280735,
0.009341244585812092,
0.01372228842228651,
0.003425901522859931,
-0.022381622344255447,
0.02613680250942707,
-0.03930795565247536,
-0.039569512009620667,
-0.04663149267435074,
0.03618798032402992,
0.010761113837361336,
0.04678095132112503,
0.017617587000131607,
-0.004544515628367662,
-0.09714893996715546,
0.05227360501885414,
-0.07592563331127167,
-0.010069862008094788,
0.018691830337047577,
0.026230214163661003,
-0.039681605994701385,
-0.004315654747188091,
0.011583142913877964,
-0.04061572998762131,
0.047752443701028824,
-0.03136789798736572,
0.04394121468067169,
-0.016253765672445297,
0.011153445579111576,
0.04349283501505852,
-0.031143710017204285,
0.0256136916577816,
0.03572091832756996,
0.014796530827879906,
0.024660885334014893,
-0.014151985757052898,
0.009593457914888859,
0.001180499792098999,
-0.10110963135957718,
0.027949003502726555,
-0.0170757956802845,
-0.008570591919124126,
-0.013768994249403477,
0.009420645423233509,
0.010256686247885227,
0.004764034878462553,
-0.03734629601240158,
-0.03975633531808853,
-0.003498296020552516,
-0.036225344985723495,
-0.030770059674978256,
0.019784756004810333,
-0.03431973233819008,
0.020830975845456123,
0.018561052158474922,
-0.0011075213551521301,
-0.032769083976745605,
0.04091465100646019,
-0.03777599334716797,
0.02441801317036152,
0.0030242279171943665,
0.020027628168463707,
0.009967108257114887,
-0.02552028000354767,
-0.08541633933782578,
0.01809399016201496,
0.025015853345394135,
-0.056458480656147,
0.0097429184243083,
-0.025258725509047508,
-0.007771915290504694,
0.015132816508412361,
-0.030788742005825043,
0.051414210349321365,
0.02901390567421913,
0.002811714541167021,
0.030788742005825043,
-0.007585090585052967,
-0.04001789167523384,
-0.022026654332876205,
0.03971897065639496,
-0.018084648996591568,
0.08818134665489197,
0.04745352268218994,
0.014581683091819286,
0.0174214206635952,
-0.046855680644512177,
-0.06337100267410278,
0.01747746765613556,
0.04569736868143082,
-0.011919427663087845,
0.009070347994565964,
-0.022026654332876205,
0.01564658433198929,
-0.028266604989767075,
0.07334744930267334,
0.034338414669036865,
-0.016739509999752045,
0.025501597672700882,
0.009574775584042072,
0.04532371833920479,
-0.011200152337551117,
0.046407300978899,
0.028584208339452744,
0.026678593829274178,
0.02436196617782116,
0.01954188384115696,
0.002491777064278722,
0.021709052845835686,
0.03127448633313179,
-0.051414210349321365,
0.04595892131328583,
-0.0067350370809435844,
-0.020662833005189896,
0.01120949350297451,
0.03600115701556206,
0.05305827036499977,
0.01995289884507656,
0.02053205482661724,
-0.01890667900443077,
0.020494690164923668,
0.08347336202859879,
-0.07525306195020676,
0.017626928165555,
0.07319799065589905,
-0.04636993631720543,
-0.024847710505127907,
0.025277407839894295,
0.04394121468067169,
-0.0022150427103042603,
0.03882221132516861,
0.016935676336288452,
0.006622942164540291,
0.011648532003164291,
0.04962069168686867,
0.008860170841217041,
-0.048910755664110184,
-0.021185941994190216,
0.0442027673125267,
-0.0407651923596859,
-0.0017619922291487455,
-0.039270590990781784,
-0.06594918668270111,
-0.006819108501076698,
0.028005050495266914,
-0.09386082738637924,
0.02393226884305477,
0.04973278567194939,
0.01267606858164072,
0.010508900508284569,
-0.004586550872772932,
-0.00855190958827734,
-0.03945741802453995,
0.026006024330854416,
0.00007750313670840114,
-0.015534489415585995,
-0.015637243166565895,
0.010443511418998241,
0.013180496171116829,
0.03585169464349747,
-0.047378793358802795,
0.05705632269382477,
-0.024810345843434334,
-0.007015274837613106,
0.02793032117187977,
0.005338521208614111,
-0.052721984684467316,
-0.04270816966891289,
0.006020431872457266,
0.036748453974723816,
0.06740642338991165,
-0.03585169464349747,
-0.012433196417987347,
0.05746733769774437,
0.032040469348430634,
0.03686055168509483,
0.001311277155764401,
0.03600115701556206,
0.0006608930416405201,
0.0029097977094352245,
0.013189837336540222,
-0.04521162435412407,
0.08227767795324326,
0.007599102333188057,
0.034132909029722214,
0.037533119320869446,
-0.03770126402378082,
0.046444669365882874,
-0.022493716329336166,
0.027519306167960167,
-0.0670701339840889,
0.034282367676496506,
-0.03017221949994564,
0.030471138656139374,
0.05679476633667946,
0.04498743265867233,
-0.0037925452925264835,
0.046706221997737885,
-0.012816186994314194,
-0.007916704751551151,
0.018486322835087776,
0.014656412415206432,
0.019878167659044266,
-0.007898022420704365,
-0.0014175338437780738,
-0.058438826352357864,
-0.005590735003352165,
-0.009299209341406822,
-0.01602957583963871,
-0.05395502969622612,
-0.01000447291880846,
0.00036839532549493015,
-0.008892864920198917,
0.04154985398054123,
-0.026697276160120964,
0.006436117459088564,
-0.035496730357408524,
-0.04435222968459129,
0.03605720400810242,
0.0076598203741014,
-0.02897654101252556,
0.011499072425067425,
-0.021185941994190216,
0.0630720853805542,
-0.03672977164387703,
0.0490228496491909,
0.0021356421057134867,
0.07121764868497849,
0.015534489415585995,
0.04823818802833557,
0.02284868434071541,
-0.0021823481656610966,
0.07349690794944763,
-0.0700967013835907,
0.06990987062454224,
-0.0026202190201729536,
0.03151736035943031,
0.012928282842040062,
0.048425011336803436,
0.007272158749401569,
0.051152653992176056,
-0.02398831583559513,
0.07514096796512604,
-0.017122501507401466,
-0.005884984042495489,
0.03693528100848198,
-0.010340757668018341,
0.020681515336036682,
0.000034828975913114846,
0.03299327567219734,
0.005525345914065838,
-0.006043785251677036,
0.05421658232808113,
-0.013208519667387009,
0.017720341682434082,
-0.010406146757304668,
-0.05029325932264328,
0.055561721324920654,
0.013096424750983715,
-0.0003739417006727308,
0.041363030672073364,
-0.04382912069559097,
0.017729682847857475,
-0.025314772501587868,
0.011116080917418003,
-0.04614574834704399,
0.06523925065994263,
-0.013899771496653557,
0.05462759733200073,
0.036598995327949524,
-0.03179759532213211,
-0.013768994249403477,
-0.053618744015693665,
0.008981606923043728,
-0.03585169464349747,
-0.014544317498803139,
-0.02845343016088009,
-0.01995289884507656,
-0.003757515689358115,
0.010677042417228222,
0.01701974682509899,
0.03525385633111,
0.03273171931505203,
-0.01773902401328087,
-0.013890430331230164,
-0.04835028201341629,
0.04745352268218994,
0.03725288435816765,
0.016477955505251884,
0.008341731503605843,
-0.0020725885406136513,
0.022979460656642914,
0.07570144534111023,
-0.0021496538538485765,
-0.03318009898066521,
-0.00123771489597857,
-0.02236294001340866,
-0.06124119833111763,
-0.034656018018722534,
0.036113251000642776,
-0.036113251000642776,
-0.030302997678518295,
-0.06557553261518478,
0.004593556746840477,
0.023689396679401398,
-0.016066940501332283,
-0.04622047767043114,
0.03545936569571495,
0.02871498465538025,
0.05589800700545311,
0.014974014833569527,
0.03385267034173012,
0.05772889032959938,
0.003650091355666518,
0.005875642877072096,
-0.0437917560338974,
-0.04054100066423416,
-0.005805583670735359,
0.03807491436600685,
0.009621481411159039,
0.07435630261898041,
0.022082701325416565,
-0.043978579342365265,
0.019261647015810013,
0.04666885733604431,
0.06785479933023453,
0.017823094502091408,
0.04300709068775177,
-0.007332876790314913,
0.024343283846974373,
-0.02090570516884327,
0.018364885821938515,
0.049433864653110504,
0.039831068366765976,
0.012433196417987347,
0.020251818001270294,
0.039270590990781784,
-0.0058149248361587524,
-0.003804221749305725,
-0.026585182175040245,
-0.014366834424436092,
-0.04353019967675209,
0.019971581175923347,
0.0192803293466568,
-0.045024797320365906,
-0.010630336590111256,
-0.00879945233464241,
-0.019074821844697,
-0.017206571996212006,
-0.03560882434248924,
-0.004023740999400616,
-0.005109660793095827,
-0.01147104799747467,
-0.018047284334897995,
0.0029191388748586178,
0.05216151103377342,
-0.020177088677883148,
-0.018682489171624184,
0.0027019549161195755,
0.0016242088750004768,
0.021503545343875885,
0.005749536212533712,
0.03547804802656174,
-0.0429697260260582,
0.018775900825858116,
0.0008121044375002384,
0.035010986030101776,
0.025800516828894615,
0.0037411684170365334,
0.010434170253574848,
-0.016776874661445618,
-0.036430854350328445,
0.008729392662644386,
0.03006012551486492,
-0.001825045677833259,
0.06729432195425034,
-0.02703356184065342
] |
719,533
|
ibm_platform_services.global_catalog_v1
|
restore_catalog_entry
|
Restore archived catalog entry.
Restore an archived catalog entry. You must have an administrator role in the
scope of the provided token.
:param str id: The catalog entry's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def restore_catalog_entry(self, id: str, *, account: str = None, **kwargs) -> DetailedResponse:
"""
Restore archived catalog entry.
Restore an archived catalog entry. You must have an administrator role in the
scope of the provided token.
:param str id: The catalog entry's unique ID.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if id is None:
raise ValueError('id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='restore_catalog_entry'
)
headers.update(sdk_headers)
params = {'account': account}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}/restore'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, params=params)
response = self.send(request)
return response
|
(self, id: str, *, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.011428979225456715,
0.022332489490509033,
0.019424885511398315,
-0.011639167554676533,
0.009274551644921303,
-0.04403441399335861,
-0.006743535865098238,
0.03317469358444214,
0.033314820379018784,
-0.03786889463663101,
-0.045365605503320694,
0.018268851563334465,
-0.036082297563552856,
-0.016324611380696297,
-0.04077649861574173,
0.03338488191366196,
-0.06312650442123413,
0.07020283490419388,
-0.014284035190939903,
0.021859565749764442,
0.050164900720119476,
-0.023383429273962975,
-0.03625745326280594,
0.011840597726404667,
0.03557433933019638,
0.00561377452686429,
0.06729523092508316,
-0.008354978635907173,
-0.041126810014247894,
0.011612894013524055,
0.04736239090561867,
0.012269732542335987,
0.016061875969171524,
0.027061721310019493,
-0.0670500099658966,
-0.07093849778175354,
0.007093849591910839,
0.0036673450376838446,
-0.03923511877655983,
0.013417009264230728,
-0.035907138139009476,
0.060989588499069214,
0.09703685343265533,
0.00018610408005770296,
0.0008298052125610411,
-0.007960875518620014,
0.0022682801354676485,
-0.06701498478651047,
-0.04907893016934395,
-0.009169457480311394,
-0.007106986362487078,
0.0026098359376192093,
-0.0025353943929076195,
-0.017305489629507065,
0.05062030628323555,
0.018724258989095688,
-0.036082297563552856,
0.018479039892554283,
-0.0400758720934391,
-0.008565166033804417,
0.022297456860542297,
-0.03242151811718941,
-0.04427963122725487,
0.04809805005788803,
0.0001765251945471391,
-0.0028353503439575434,
-0.01577286794781685,
-0.015545164234936237,
-0.027622222900390625,
-0.00031391376978717744,
-0.026536252349615097,
0.001293970737606287,
-0.0015391901833936572,
-0.02033570222556591,
-0.00292730750516057,
0.012331036850810051,
0.007400373928248882,
-0.019109604880213737,
-0.04098668694496155,
0.0065552424639463425,
-0.04021599516272545,
-0.09920879453420639,
0.059343114495277405,
0.031090328469872475,
-0.03191356360912323,
-0.008236747235059738,
0.026150906458497047,
-0.021666893735527992,
-0.054333630949258804,
0.024889778345823288,
0.03692304715514183,
-0.0005698068998754025,
-0.0847758799791336,
0.007347826845943928,
-0.031580764800310135,
-0.008258641697466373,
0.023593617603182793,
-0.020878687500953674,
0.015177334658801556,
0.0021763229742646217,
0.01306669507175684,
-0.05612023174762726,
0.01382862776517868,
0.00896802730858326,
-0.01945991814136505,
-0.007658729795366526,
0.0015983055345714092,
0.004746748600155115,
0.007855781354010105,
0.03289444372057915,
0.04056631028652191,
-0.017953569069504738,
-0.059343114495277405,
0.017139090225100517,
-0.052021563053131104,
-0.023260820657014847,
-0.0105969849973917,
-0.023260820657014847,
-0.05713614076375961,
-0.03219381719827652,
0.06533347815275192,
-0.03095020167529583,
-0.003003938589245081,
-0.0003869869979098439,
-0.017410583794116974,
-0.020510857924818993,
-0.0009151941630989313,
0.01099108811467886,
-0.018759289756417274,
-0.00024179845058824867,
-0.01812872663140297,
-0.06162015348672867,
-0.025310153141617775,
0.00455845519900322,
0.005675079300999641,
-0.0015337165677919984,
0.043438881635665894,
0.020563405007123947,
-0.03261419013142586,
0.02594071812927723,
0.030599888414144516,
0.05668073147535324,
-0.002399647841230035,
-0.013390735723078251,
-0.06253097206354141,
-0.08596694469451904,
-0.041407063603401184,
-0.0011571294162422419,
0.002642677864059806,
0.01765580289065838,
-0.023471007123589516,
-0.028025083243846893,
-0.03681795299053192,
0.05251200124621391,
0.014914599247276783,
-0.023576101288199425,
0.006358190905302763,
0.017244184389710426,
0.010667047463357449,
0.011385190300643444,
0.01306669507175684,
0.02834036573767662,
0.09052102267742157,
-0.051145777106285095,
0.0008314473088830709,
-0.05517438426613808,
-0.032333940267562866,
0.010798415169119835,
-0.03874468058347702,
-0.03163331374526024,
-0.038604553788900375,
-0.00028764025773853064,
-0.06267109513282776,
-0.03567943349480629,
-0.057801734656095505,
0.03567943349480629,
0.04491019621491432,
-0.038814742118120193,
0.01571156270802021,
0.012164638377726078,
-0.02063346840441227,
-0.036117326468229294,
0.020458310842514038,
0.051320936530828476,
0.030810076743364334,
-0.04438472539186478,
-0.026185937225818634,
0.04522547870874405,
0.026536252349615097,
-0.048063017427921295,
-0.005162746179848909,
-0.022227395325899124,
-0.028708195313811302,
-0.04753755033016205,
-0.07741929590702057,
-0.03979561850428581,
-0.030442247167229652,
-0.062145624309778214,
0.05051521584391594,
-0.028690678998827934,
-0.027026690542697906,
0.005683837458491325,
0.09514515846967697,
0.009046847000718117,
0.07720910757780075,
0.013811111450195312,
0.005149609409272671,
-0.08568669110536575,
-0.019232213497161865,
0.029076024889945984,
0.02035321667790413,
0.04589107632637024,
0.028095146641135216,
-0.02912857197225094,
-0.02110639214515686,
0.0011844977270811796,
-0.014082605019211769,
-0.01427527703344822,
0.0439293198287487,
0.00513209355995059,
0.0021883649751544,
0.0051189567893743515,
-0.012304763309657574,
-0.014888325706124306,
0.008394388481974602,
-0.059623368084430695,
0.03357755392789841,
0.01398626808077097,
0.0037264605052769184,
-0.031861018389463425,
-0.04589107632637024,
-0.05135596543550491,
-0.06522838026285172,
-0.04522547870874405,
0.017095301300287247,
-0.016412189230322838,
0.021666893735527992,
-0.03856952115893364,
0.04221278429031372,
0.05864248797297478,
0.031563252210617065,
0.029146088287234306,
-0.0018938826397061348,
0.06410738080739975,
-0.04137203097343445,
0.0165435578674078,
-0.05251200124621391,
0.05727626383304596,
-0.05160118639469147,
-0.07107862085103989,
0.042177751660346985,
-0.049779556691646576,
0.04329875484108925,
0.04722226783633232,
0.10810676217079163,
-0.030232058838009834,
-0.016018087044358253,
-0.03490874543786049,
0.015177334658801556,
-0.051040682941675186,
0.022209879010915756,
-0.043824225664138794,
-0.004387677181512117,
-0.04070643335580826,
-0.0017811254365369678,
-0.013443282805383205,
-0.031755924224853516,
-0.015597711317241192,
0.08911976963281631,
0.018041148781776428,
0.04480510205030441,
0.054789040237665176,
-0.01379359606653452,
0.08141286671161652,
-0.005035757087171078,
0.016237033531069756,
0.0024872261565178633,
-0.026150906458497047,
-0.04347391054034233,
0.024346791207790375,
-0.031563252210617065,
-0.021036328747868538,
-0.005048893857747316,
0.004720475059002638,
0.00979126337915659,
-0.07622823119163513,
-0.02131658047437668,
0.003794333664700389,
-0.004481824114918709,
0.04378919303417206,
0.06004374101758003,
0.059413179755210876,
-0.04259812831878662,
-0.0357845276594162,
0.013005390763282776,
0.029076024889945984,
-0.06701498478651047,
-0.020020419731736183,
0.012514951638877392,
0.05675079673528671,
-0.019722653552889824,
-0.004755506291985512,
0.0335250049829483,
-0.04389428719878197,
-0.024556979537010193,
0.009178214706480503,
0.02932124398648739,
0.044664978981018066,
0.014178941026329994,
0.053247660398483276,
0.04655667021870613,
0.053352754563093185,
-0.049324147403240204,
-0.050655338913202286,
-0.09150189906358719,
-0.0033608207013458014,
0.02842794544994831,
-0.018969478085637093,
-0.0008752365247346461,
0.0016026844969019294,
-0.035819560289382935,
0.019337307661771774,
-0.05226678028702736,
-0.003816228359937668,
0.06620926409959793,
-0.05349287763237953,
0.01450298074632883,
0.016508525237441063,
0.0408465601503849,
0.0012381394626572728,
-0.002046050038188696,
0.01735803671181202,
-0.00023591428180225194,
0.022122301161289215,
-0.0036082295700907707,
-0.018006116151809692,
-0.03413805738091469,
-0.039760589599609375,
0.014520497061312199,
0.0350138396024704,
0.04543566703796387,
0.01383738499134779,
0.013452040031552315,
0.003371767932549119,
-0.0009819726692512631,
0.05447375774383545,
0.06070933863520622,
-0.014213972724974155,
-0.017130332067608833,
0.01759449765086174,
-0.03618738800287247,
-0.05380816012620926,
-0.005105820018798113,
0.016578588634729385,
0.0052590821869671345,
-0.00006681273225694895,
-0.003711134195327759,
0.0034396410919725895,
0.0005911540938541293,
-0.056435514241456985,
-0.019529979676008224,
-0.01224345900118351,
-0.04291341081261635,
-0.01757698319852352,
-0.02939130738377571,
-0.044664978981018066,
-0.08330456167459488,
-0.03016199730336666,
0.04424460232257843,
-0.04147712513804436,
-0.009029331617057323,
-0.005972845945507288,
0.024609526619315147,
-0.005981604102998972,
0.015291186049580574,
0.012628803960978985,
-0.02681650221347809,
-0.014240246266126633,
-0.0009108152589760721,
0.05195149779319763,
0.062145624309778214,
0.0033980414737015963,
0.0013487071264535189,
-0.008289294317364693,
0.008876069448888302,
-0.0024784684646874666,
0.00040067112422548234,
0.011104939505457878,
0.007006270810961723,
0.02091371826827526,
0.012296006083488464,
0.018829353153705597,
0.04259812831878662,
-0.03709820657968521,
0.02622096985578537,
0.002460952615365386,
-0.004022037610411644,
0.011131213046610355,
-0.01881183683872223,
-0.02014302834868431,
0.005237187724560499,
0.06669969856739044,
0.03580204397439957,
0.01861916482448578,
-0.013285641558468342,
-0.06007877364754677,
0.03268425539135933,
-0.05815204977989197,
-0.009624864906072617,
-0.062145624309778214,
0.051320936530828476,
-0.016193244606256485,
0.022314973175525665,
-0.0007433215505443513,
0.03489122912287712,
0.06498316675424576,
0.025520341470837593,
0.01099108811467886,
-0.06456279009580612,
-0.045540761202573776,
0.04298347234725952,
0.05314256623387337,
-0.04032108932733536,
-0.0032820000778883696,
-0.007409131620079279,
-0.01368850190192461,
-0.03574949875473976,
0.02254267781972885,
-0.03730839490890503,
-0.07202446460723877,
0.04771270602941513,
-0.05580494925379753,
0.0014888326404616237,
0.004300098866224289,
0.016858840361237526,
0.002266090828925371,
0.00010482038487680256,
0.007912707515060902,
-0.016797535121440887,
0.02996932342648506,
-0.040916621685028076,
-0.04378919303417206,
0.055104322731494904,
-0.07643841952085495,
-0.023068146780133247,
-0.0169289018958807,
0.028077630326151848,
-0.036012232303619385,
0.005140851251780987,
0.00042119729914702475,
0.06063927710056305,
0.02236752025783062,
-0.006331917364150286,
0.004672307055443525,
-0.03179095312952995,
-0.07209452986717224,
-0.004466497804969549,
0.05342281609773636,
-0.03863958641886711,
-0.0186892282217741,
-0.052301812916994095,
-0.0628112182021141,
-0.0077375504188239574,
0.01431030873209238,
0.07307540625333786,
0.040040839463472366,
0.010229155421257019,
0.0181112103164196,
-0.029759136959910393,
-0.03681795299053192,
-0.004026416223496199,
-0.022822927683591843,
0.013898690231144428,
0.08603700995445251,
0.07062321156263351,
0.06344178318977356,
0.03179095312952995,
-0.0812026783823967,
-0.0935337170958519,
0.05640048161149025,
0.03285941109061241,
-0.02052837423980236,
0.0037133237347006798,
0.00020375658641569316,
-0.005999119486659765,
-0.015895476564764977,
0.03905995935201645,
0.06021890044212341,
0.016893871128559113,
0.025222575291991234,
0.0014308119425550103,
0.04109178110957146,
-0.05612023174762726,
0.07601804286241531,
0.022910505533218384,
-0.02891838364303112,
-0.007444162853062153,
0.049604397267103195,
0.01397751085460186,
-0.044875167310237885,
0.027114268392324448,
-0.05976349115371704,
-0.01937234029173851,
0.01460807491093874,
-0.03384028747677803,
0.028760742396116257,
-0.07545753568410873,
0.01382862776517868,
0.016499768942594528,
0.015098514035344124,
-0.05689091980457306,
-0.00835935678333044,
0.01776965521275997,
-0.0373784564435482,
0.008928616531193256,
0.0630914717912674,
-0.055384572595357895,
0.00949349720031023,
0.018198788166046143,
0.021264033392071724,
0.00027546141063794494,
-0.006537726614624262,
0.0747569128870964,
-0.023961447179317474,
-0.0029623389709740877,
0.027744833379983902,
-0.02140415832400322,
-0.03489122912287712,
0.02420666627585888,
0.03525906056165695,
-0.055875010788440704,
-0.013373219408094883,
-0.004808053374290466,
-0.07489703595638275,
0.010229155421257019,
0.0353991836309433,
-0.07608810067176819,
-0.01919718272984028,
-0.01765580289065838,
-0.018391462042927742,
-0.030126964673399925,
0.003820607205852866,
-0.061269838362932205,
0.012926570139825344,
-0.039375241845846176,
0.0020931235048919916,
0.0015556111466139555,
0.02254267781972885,
-0.020510857924818993,
0.008963648229837418,
0.029951808974146843,
-0.019687620922923088,
0.053352754563093185,
0.021246517077088356,
-0.05969342961907387,
0.0165698304772377,
-0.051706280559301376,
-0.06747038662433624,
0.0019245350267738104,
-0.010325492359697819,
0.018479039892554283,
0.0685913935303688,
0.02968907356262207,
0.013618439435958862,
0.08309437334537506,
0.05079546570777893,
0.05090055987238884,
0.008963648229837418,
0.024521948769688606,
0.017349278554320335,
-0.010999845340847969,
-0.041407063603401184,
-0.018969478085637093,
0.03709820657968521,
-0.03242151811718941,
0.04042618349194527,
0.046696797013282776,
-0.03373519331216812,
0.012786444276571274,
0.031090328469872475,
0.03867461532354355,
-0.043614037334918976,
0.07188434153795242,
-0.048833709210157394,
-0.03546924889087677,
0.049779556691646576,
0.014432918280363083,
0.017953569069504738,
0.04606623202562332,
0.010097787715494633,
-0.025222575291991234,
0.05801192298531532,
0.004225657321512699,
-0.012681350111961365,
-0.012786444276571274,
-0.0385344922542572,
0.03245655074715614,
-0.0211939699947834,
-0.03419060260057449,
0.006993134040385485,
-0.017988601699471474,
-0.04953433573246002,
0.015641499310731888,
0.004282583016902208,
-0.012506193481385708,
-0.021088875830173492,
0.013583407737314701,
-0.02361113391816616,
-0.007772582117468119,
0.006296886131167412,
0.001625673845410347,
-0.06218065693974495,
0.03266673907637596,
-0.004641654435545206,
0.05167124792933464,
-0.023488523438572884,
0.039305180311203,
-0.018093694001436234,
-0.004497150424867868,
0.01122754905372858,
0.024066541343927383,
-0.006572757847607136,
-0.03751857951283455,
0.03317469358444214,
-0.0408465601503849,
0.10705582052469254,
0.010343007743358612,
-0.001068456331267953,
0.0030345912091434,
-0.007965254597365856,
-0.02814769372344017,
0.06645447760820389,
-0.0026185938622802496,
-0.0063056438229978085,
-0.004545318428426981,
0.0051145777106285095,
0.03797398880124092,
0.032053690403699875,
0.005088304169476032,
0.002143481047824025,
0.07279515266418457,
0.005425481125712395,
-0.022980568930506706,
0.08358481526374817,
-0.01056195329874754,
0.044770073145627975,
0.02844545990228653,
-0.04683692008256912,
-0.015615226700901985,
0.01257625687867403,
0.0046285176649689674,
0.06056921184062958,
-0.05601513758301735,
0.03895486518740654,
0.03632751479744911,
0.027814896777272224,
0.01697269082069397,
0.054789040237665176,
-0.03553931042551994,
0.04441975802183151,
0.053843192756175995,
-0.05717117339372635,
-0.03828927129507065,
-0.04666176438331604,
0.03913002461194992,
-0.018724258989095688,
-0.021246517077088356,
0.03366513177752495,
0.04210769012570381,
-0.0233133677393198,
-0.01889941655099392,
-0.02024812251329422,
0.012593772262334824,
0.012269732542335987,
0.021631861105561256,
-0.06978245824575424,
-0.017690833657979965,
0.006086697801947594,
0.07804986089468002,
0.02919863536953926,
0.00535541819408536,
-0.01450298074632883,
0.034085508435964584,
-0.010544437915086746,
-0.0110786659643054,
0.0016048739198595285,
-0.02014302834868431,
0.007768203038722277,
-0.05436866357922554,
-0.048833709210157394,
0.07163912057876587,
-0.04203762486577034,
-0.009186972863972187,
-0.04494522884488106,
-0.004847463686019182,
0.05212665721774101,
-0.05997367948293686,
-0.007444162853062153,
-0.016920143738389015,
0.008083485066890717,
0.039585430175065994,
-0.016210759058594704,
0.031580764800310135,
0.013487071730196476,
0.013846143148839474,
-0.022139815613627434,
-0.03268425539135933,
-0.024119088426232338,
-0.006669094320386648,
0.020125513896346092,
0.014187699183821678,
0.06354688107967377,
0.046206358820199966,
0.01725294254720211,
0.0181112103164196,
0.05755651742219925,
-0.011858114041388035,
-0.045365605503320694,
-0.02806011587381363,
0.017857233062386513,
-0.023961447179317474,
-0.012996632605791092,
-0.0070413025096058846,
0.0500948391854763,
0.03490874543786049,
0.023348398506641388,
0.024539465084671974,
0.040741465985774994,
0.025012386962771416,
0.011464010924100876,
0.025292638689279556,
0.024802198633551598,
-0.006660336162894964,
0.03045976348221302,
0.008136032149195671,
0.0001893882581498474,
-0.015151061117649078,
0.00016749366477597505,
0.026185937225818634,
0.025029903277754784,
-0.009038089774549007,
-0.005618153605610132,
0.02746458165347576,
0.007825128734111786,
-0.04771270602941513,
0.022052237764000893,
0.028375398367643356,
0.021807018667459488,
0.0018730827141553164,
0.03818417713046074,
0.015457585453987122,
0.004851842764765024,
0.01889941655099392,
0.07489703595638275,
-0.015886720269918442,
-0.0489388033747673,
0.005005104932934046,
0.042458001524209976,
0.061269838362932205,
0.03604726493358612,
0.022910505533218384,
-0.07100855559110641,
-0.027447067201137543,
-0.0423879399895668,
0.05822211131453514,
-0.03646764159202576,
0.049324147403240204,
-0.007632456719875336
] |
719,541
|
ibm_platform_services.global_catalog_v1
|
update_catalog_entry
|
Update a catalog entry.
Update a catalog entry. The visibility of the catalog entry cannot be modified
with this endpoint. You must be an administrator or editor in the scope of the
provided token. This endpoint is ETag enabled.
:param str id: The object's unique ID.
:param str name: Programmatic name for this catalog entry, which must be
formatted like a CRN segment. See the display name in OverviewUI for a
user-readable name.
:param str kind: The type of catalog entry, **service**, **template**,
**dashboard**, which determines the type and shape of the object.
:param dict overview_ui: Overview is nested in the top level. The key value
pair is `[_language_]overview_ui`.
:param Image images: Image annotation for this catalog entry. The image is
a URL.
:param bool disabled: Boolean value that determines the global visibility
for the catalog entry, and its children. If it is not enabled, all plans
are disabled.
:param List[str] tags: A list of tags. For example, IBM, 3rd Party, Beta,
GA, and Single Tenant.
:param Provider provider: Information related to the provider associated
with a catalog entry.
:param str parent_id: (optional) The ID of the parent catalog entry if it
exists.
:param bool group: (optional) Boolean value that determines whether the
catalog entry is a group.
:param bool active: (optional) Boolean value that describes whether the
service is active.
:param ObjectMetadataSet metadata: (optional) Model used to describe
metadata object that can be set.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str move: (optional) Reparenting object. In the body set the
parent_id to a different parent. Or remove the parent_id field to reparent
to the root of the catalog. If this is not set to 'true' then changing the
parent_id in the body of the request will not be permitted. If this is
'true' and no change to parent_id then this is also error. This is to
prevent accidental changing of parent.
: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 representing a `CatalogEntry` object
|
def update_catalog_entry(
self,
id: str,
name: str,
kind: str,
overview_ui: dict,
images: 'Image',
disabled: bool,
tags: List[str],
provider: 'Provider',
*,
parent_id: str = None,
group: bool = None,
active: bool = None,
metadata: 'ObjectMetadataSet' = None,
account: str = None,
move: str = None,
**kwargs
) -> DetailedResponse:
"""
Update a catalog entry.
Update a catalog entry. The visibility of the catalog entry cannot be modified
with this endpoint. You must be an administrator or editor in the scope of the
provided token. This endpoint is ETag enabled.
:param str id: The object's unique ID.
:param str name: Programmatic name for this catalog entry, which must be
formatted like a CRN segment. See the display name in OverviewUI for a
user-readable name.
:param str kind: The type of catalog entry, **service**, **template**,
**dashboard**, which determines the type and shape of the object.
:param dict overview_ui: Overview is nested in the top level. The key value
pair is `[_language_]overview_ui`.
:param Image images: Image annotation for this catalog entry. The image is
a URL.
:param bool disabled: Boolean value that determines the global visibility
for the catalog entry, and its children. If it is not enabled, all plans
are disabled.
:param List[str] tags: A list of tags. For example, IBM, 3rd Party, Beta,
GA, and Single Tenant.
:param Provider provider: Information related to the provider associated
with a catalog entry.
:param str parent_id: (optional) The ID of the parent catalog entry if it
exists.
:param bool group: (optional) Boolean value that determines whether the
catalog entry is a group.
:param bool active: (optional) Boolean value that describes whether the
service is active.
:param ObjectMetadataSet metadata: (optional) Model used to describe
metadata object that can be set.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param str move: (optional) Reparenting object. In the body set the
parent_id to a different parent. Or remove the parent_id field to reparent
to the root of the catalog. If this is not set to 'true' then changing the
parent_id in the body of the request will not be permitted. If this is
'true' and no change to parent_id then this is also error. This is to
prevent accidental changing of parent.
: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 representing a `CatalogEntry` object
"""
if id is None:
raise ValueError('id must be provided')
if name is None:
raise ValueError('name must be provided')
if kind is None:
raise ValueError('kind must be provided')
if overview_ui is None:
raise ValueError('overview_ui must be provided')
if images is None:
raise ValueError('images must be provided')
if disabled is None:
raise ValueError('disabled must be provided')
if tags is None:
raise ValueError('tags must be provided')
if provider is None:
raise ValueError('provider must be provided')
images = convert_model(images)
provider = convert_model(provider)
if metadata is not None:
metadata = convert_model(metadata)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_catalog_entry'
)
headers.update(sdk_headers)
params = {'account': account, 'move': move}
data = {
'name': name,
'kind': kind,
'overview_ui': overview_ui,
'images': images,
'disabled': disabled,
'tags': tags,
'provider': provider,
'parent_id': parent_id,
'group': group,
'active': active,
'metadata': metadata,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
headers['Accept'] = 'application/json'
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, params=params, data=data)
response = self.send(request)
return response
|
(self, id: str, name: str, kind: str, overview_ui: dict, images: ibm_platform_services.global_catalog_v1.Image, disabled: bool, tags: List[str], provider: ibm_platform_services.global_catalog_v1.Provider, *, parent_id: Optional[str] = None, group: Optional[bool] = None, active: Optional[bool] = None, metadata: Optional[ibm_platform_services.global_catalog_v1.ObjectMetadataSet] = None, account: Optional[str] = None, move: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.023736130446195602,
-0.016711389645934105,
-0.05327656492590904,
-0.02986716479063034,
0.01450114231556654,
-0.06438545882701874,
0.014578021131455898,
0.039169423282146454,
0.012108310125768185,
-0.007889620959758759,
-0.04074542224407196,
-0.014020654372870922,
0.006087789312005043,
0.007418742403388023,
-0.017278365790843964,
-0.007846376858651638,
-0.045550309121608734,
0.029021505266427994,
-0.03555614873766899,
-0.05408378317952156,
0.053161244839429855,
-0.04443557560443878,
0.009018768556416035,
-0.011147333309054375,
0.054314419627189636,
0.01718226820230484,
0.10194043815135956,
-0.00008528670878149569,
-0.03970756754279137,
0.0219679344445467,
0.02957887202501297,
0.004531006328761578,
0.0004246316966600716,
0.027176428586244583,
-0.02479320578277111,
-0.032461803406476974,
-0.008716060779988766,
-0.03770873695611954,
-0.01881592907011509,
0.026157792657613754,
-0.01631738990545273,
0.04335927963256836,
-0.00953289121389389,
-0.03813156485557556,
0.04570406675338745,
0.07853104174137115,
-0.012406213209033012,
0.014972020871937275,
-0.023121105507016182,
0.013482507318258286,
-0.04389742761850357,
-0.010589966550469398,
0.0018967282958328724,
0.01419362984597683,
0.021660421043634415,
-0.004120188765227795,
-0.013040457852184772,
0.015884948894381523,
-0.01832583174109459,
-0.021506665274500847,
0.009417573921382427,
-0.0012504713376984,
-0.0226213987916708,
0.014030263759195805,
-0.018585294485092163,
-0.013309530913829803,
0.005069153383374214,
-0.0008114249212667346,
-0.032903850078582764,
0.02704189158976078,
-0.018220122903585434,
-0.015865730121731758,
-0.00012650361168198287,
-0.03966912999749184,
-0.02319798432290554,
0.046203773468732834,
0.05012455955147743,
-0.035325512290000916,
0.018969684839248657,
-0.022390764206647873,
-0.02348627708852291,
-0.07238078862428665,
0.07157356292009354,
0.020180515944957733,
0.014635679312050343,
0.03863127529621124,
0.03803546726703644,
-0.02102617546916008,
-0.052699975669384,
0.028867747634649277,
0.004915397148579359,
-0.033441998064517975,
-0.057043593376874924,
-0.02990560419857502,
-0.01221401710063219,
0.0032937484793365,
0.028195064514875412,
-0.09086998552083969,
0.035690683871507645,
0.007279400713741779,
0.03738200291991234,
-0.0666918009519577,
0.034095462411642075,
-0.006198301445692778,
0.02189105562865734,
-0.05650544539093971,
-0.0006660771905444562,
0.036843858659267426,
-0.037535760551691055,
0.017412902787327766,
0.04009195789694786,
-0.03519097715616226,
-0.06434702128171921,
-0.02356315590441227,
-0.041667960584163666,
-0.022352324798703194,
-0.008052987046539783,
-0.01865256391465664,
-0.004127396270632744,
-0.05619793385267258,
0.0023603998124599457,
-0.047433823347091675,
-0.011060845106840134,
-0.048625435680150986,
0.006904619745910168,
-0.01676904782652855,
-0.03399936482310295,
0.03703605383634567,
-0.03930395841598511,
0.0035844440571963787,
-0.02490852400660515,
-0.05458349362015724,
-0.033691853284835815,
0.022160129621624947,
0.04020727798342705,
-0.01558704674243927,
0.0193540770560503,
0.0004042109358124435,
-0.04466620832681656,
0.041629523038864136,
0.019853783771395683,
0.015856120735406876,
-0.008913061581552029,
0.007928060367703438,
-0.045473430305719376,
-0.0809527039527893,
-0.04570406675338745,
-0.03138550743460655,
-0.03678619861602783,
-0.012175578624010086,
-0.0406685471534729,
-0.03486424311995506,
0.004891372751444578,
0.04116825386881828,
0.015356412157416344,
-0.037132151424884796,
0.010253624059259892,
-0.050739582628011703,
0.021160712465643883,
0.0361519530415535,
0.016749829053878784,
-0.038592834025621414,
0.060887500643730164,
-0.028041308745741844,
-0.030501408502459526,
-0.0351140983402729,
-0.058196764439344406,
0.0014606850454583764,
-0.0179126113653183,
0.02091085910797119,
-0.000729141291230917,
0.01018635556101799,
-0.04651128500699997,
-0.017278365790843964,
-0.06588458269834518,
0.004389262292534113,
0.060810621827840805,
-0.05170056223869324,
0.03326902166008949,
-0.03665166348218918,
-0.02884852886199951,
-0.03342277929186821,
0.044281817972660065,
0.06922878324985504,
0.00297662615776062,
-0.008139475248754025,
0.010465038940310478,
0.034057024866342545,
0.025292914360761642,
-0.0008336475002579391,
-0.009926891885697842,
-0.026253890246152878,
-0.025965597480535507,
-0.01636543869972229,
-0.06715307384729385,
0.0003273327893111855,
0.009734696708619595,
-0.02364003285765648,
0.06500048190355301,
-0.021218372508883476,
-0.030117018148303032,
-0.012780994176864624,
0.06684555858373642,
0.009153305552899837,
0.07268829643726349,
0.03803546726703644,
0.03922707960009575,
-0.06323228776454926,
0.008432572707533836,
0.006991107482463121,
0.025619646534323692,
0.06092594191431999,
-0.00800013355910778,
-0.010772552341222763,
-0.006433740723878145,
0.0004979061777703464,
-0.022852033376693726,
-0.026695940643548965,
0.008533475920557976,
-0.002351991133764386,
-0.04435869678854942,
0.013309530913829803,
0.014376215636730194,
-0.022064032033085823,
-0.019527051597833633,
-0.025139158591628075,
0.06442389637231827,
0.054314419627189636,
0.02708033099770546,
-0.04708787053823471,
-0.08379719406366348,
-0.07203483581542969,
0.0006342448177747428,
0.023620814085006714,
-0.025600425899028778,
-0.03205819055438042,
-0.01083981990814209,
-0.008720866404473782,
-0.010887868702411652,
0.024158962070941925,
0.028733212500810623,
-0.007807937916368246,
-0.036017417907714844,
0.050624266266822815,
-0.08072206377983093,
-0.036055855453014374,
-0.04827948287129402,
0.026119355112314224,
-0.03509487956762314,
-0.09594394266605377,
0.03834298253059387,
-0.02667672000825405,
0.0406685471534729,
0.008173109032213688,
0.05838895961642265,
-0.05231558531522751,
-0.03522941470146179,
-0.018354659900069237,
0.05742798373103142,
-0.05938837677240372,
-0.034422196447849274,
-0.04574250429868698,
-0.02479320578277111,
0.0245817918330431,
0.010378551669418812,
-0.013924556784331799,
0.008706451393663883,
-0.005146031733602285,
0.05131617188453674,
0.016192462295293808,
0.006039740517735481,
0.056351691484451294,
-0.022794373333454132,
0.054468173533678055,
-0.006121423561125994,
0.0018678989727050066,
0.018393099308013916,
-0.0289638452231884,
-0.05343031883239746,
-0.03809312731027603,
0.025023840367794037,
-0.035690683871507645,
-0.010340112261474133,
0.03186599537730217,
0.028983065858483315,
-0.06227130815386772,
-0.007389912847429514,
0.04116825386881828,
-0.07261142134666443,
0.02298656851053238,
0.03644024580717087,
0.0627710148692131,
-0.06653804332017899,
-0.029444335028529167,
-0.029309798032045364,
0.0390348844230175,
-0.14260898530483246,
-0.027599258348345757,
0.006068569608032703,
-0.004828909412026405,
-0.009403159841895103,
0.022467641159892082,
0.02315954491496086,
-0.05235402658581734,
0.0005246333894319832,
0.014289727434515953,
0.039746008813381195,
0.019613539800047874,
0.022525301203131676,
0.027426283806562424,
0.062117550522089005,
0.04405118525028229,
-0.05035519227385521,
-0.00989806279540062,
-0.06503891944885254,
-0.01286748144775629,
0.025677304714918137,
-0.048125725239515305,
0.007024741731584072,
0.043474599719047546,
-0.01428011804819107,
0.02598481811583042,
-0.05796613171696663,
-0.014895142987370491,
0.08295153081417084,
-0.08764109760522842,
0.05765862017869949,
0.013376799412071705,
0.03351887688040733,
-0.010830210521817207,
0.0007381504401564598,
0.007596523035317659,
0.015635095536708832,
0.02250608056783676,
-0.02859867550432682,
0.004833714105188847,
-0.026522964239120483,
-0.0771472305059433,
0.011080064810812473,
-0.00046907688374631107,
0.04366679489612579,
0.05489100515842438,
-0.02950199320912361,
-0.002981431083753705,
-0.06584614515304565,
0.018883198499679565,
0.10624561458826065,
-0.037170588970184326,
0.030251555144786835,
0.0002495537046343088,
-0.05904242396354675,
-0.05623637139797211,
0.04954797402024269,
0.017115000635385513,
0.052430905401706696,
0.009763525798916817,
-0.007351473905146122,
-0.0682678073644638,
-0.013857288286089897,
-0.07964577525854111,
0.02598481811583042,
-0.012463871389627457,
0.010109477676451206,
0.028214283287525177,
-0.05196963623166084,
-0.04647284746170044,
-0.034422196447849274,
-0.012425431981682777,
0.044781528413295746,
-0.023428618907928467,
-0.023736130446195602,
-0.013367190025746822,
0.03161614388227463,
0.017489781603217125,
0.025273693725466728,
0.019219540059566498,
-0.01159899216145277,
0.004158627707511187,
-0.0566207617521286,
0.010340112261474133,
0.05462193116545677,
0.04013039916753769,
-0.04093761742115021,
-0.0014546789461746812,
0.028137406334280968,
-0.03363419324159622,
0.046895675361156464,
0.03361497446894646,
0.002683528233319521,
-0.025869499891996384,
0.01083981990814209,
0.023255642503499985,
0.04693411663174629,
0.007846376858651638,
0.0358252227306366,
-0.01560626644641161,
0.035248637199401855,
-0.01971924677491188,
-0.05077802389860153,
-0.03465282917022705,
0.030655166134238243,
0.02957887202501297,
0.06992068141698837,
0.024389594793319702,
0.022025592625141144,
-0.09240754693746567,
0.045550309121608734,
-0.021410567685961723,
-0.03780483454465866,
0.008312450721859932,
0.03096267767250538,
0.001141160144470632,
-0.0014606850454583764,
-0.005525617394596338,
-0.025023840367794037,
0.0669608786702156,
-0.004406079649925232,
0.0017057341756299138,
-0.06246350333094597,
0.013002018444240093,
0.03244258090853691,
0.03930395841598511,
0.009667428210377693,
0.05081646144390106,
-0.01020557526499033,
-0.017989488318562508,
0.001364587340503931,
-0.01192572433501482,
-0.005323812365531921,
-0.06819092482328415,
0.012021821923553944,
-0.024408815428614616,
0.01031128317117691,
0.007101620081812143,
0.02802208811044693,
-0.012319725006818771,
0.030174676328897476,
-0.013492116704583168,
-0.030405310913920403,
0.04255206137895584,
-0.0024673084262758493,
-0.06038779392838478,
-0.002995845628902316,
-0.034057024866342545,
-0.018056757748126984,
0.019565491005778313,
0.014645288698375225,
-0.03153926506638527,
0.03482580557465553,
-0.01628855988383293,
0.07587873935699463,
0.0007555681513622403,
0.0245817918330431,
0.01947900280356407,
-0.05158524587750435,
-0.10270921885967255,
0.0014654898550361395,
0.003168821567669511,
-0.04397430643439293,
-0.016230901703238487,
-0.03546005114912987,
-0.010714893229305744,
-0.0232748631387949,
0.049432653933763504,
0.042398303747177124,
0.020795540884137154,
0.04074542224407196,
0.010647624731063843,
-0.029809506610035896,
-0.034748926758766174,
0.028252722695469856,
-0.030059359967708588,
0.016663340851664543,
0.10532307624816895,
0.011099284514784813,
0.03803546726703644,
0.03257711976766586,
-0.01362665370106697,
-0.09233066439628601,
0.012021821923553944,
0.07422586530447006,
-0.036344148218631744,
0.00953289121389389,
-0.01546211913228035,
-0.015932997688651085,
-0.037574198096990585,
0.0540069043636322,
0.05173899978399277,
0.030501408502459526,
-0.0023423812817782164,
0.015183436684310436,
-0.012934749945998192,
-0.017643537372350693,
0.047971971333026886,
0.005540032405406237,
0.009283037856221199,
0.008466207422316074,
-0.008605549111962318,
-0.0020925274584442377,
-0.019363686442375183,
0.01975768618285656,
-0.04089917987585068,
0.04889450967311859,
-0.01364587340503931,
0.00046487260260619223,
0.008490231819450855,
-0.02302500791847706,
0.028252722695469856,
0.03317292407155037,
0.043051768094301224,
-0.03200053423643112,
-0.03317292407155037,
0.10724502801895142,
-0.03269243612885475,
0.02794521115720272,
0.08018391579389572,
-0.015779241919517517,
0.015106557868421078,
-0.005991691257804632,
-0.01979612559080124,
0.021545104682445526,
-0.012588798068463802,
0.06615365296602249,
-0.008663207292556763,
-0.00015886151231825352,
0.058235205709934235,
-0.017460951581597328,
-0.053699392825365067,
0.00955211091786623,
0.03384561091661453,
-0.0572742260992527,
0.01591377891600132,
-0.040399473160505295,
-0.07426430284976959,
-0.004151420667767525,
0.01848919689655304,
-0.08733358979225159,
-0.01624051108956337,
-0.038765810430049896,
-0.0113106993958354,
0.014779825694859028,
0.002351991133764386,
-0.011608601547777653,
-0.01759548857808113,
0.0018883197335526347,
-0.002548991469666362,
0.014443484134972095,
-0.021525884047150612,
0.00959055032581091,
-0.04889450967311859,
0.021372128278017044,
0.006981497630476952,
0.045588746666908264,
0.007043961435556412,
-0.062117550522089005,
0.03305760771036148,
0.005357446614652872,
-0.05842740088701248,
-0.03052062913775444,
0.011003185994923115,
0.005895593669265509,
0.034883465617895126,
0.046741921454668045,
-0.017528219148516655,
0.08963993191719055,
0.05162368342280388,
0.025792622938752174,
-0.0073947180062532425,
0.02740706317126751,
0.01648075506091118,
-0.022198569029569626,
-0.015865730121731758,
-0.006452960427850485,
0.02613857388496399,
-0.009177329950034618,
0.011118503287434578,
0.04255206137895584,
-0.005708203185349703,
0.03161614388227463,
-0.05273841693997383,
0.051931194961071014,
-0.044858403503894806,
0.049932364374399185,
-0.0393616184592247,
0.009086037054657936,
0.026080915704369545,
0.016711389645934105,
0.050470512360334396,
0.044281817972660065,
0.009234989061951637,
-0.04112981632351875,
0.03899644687771797,
0.013549775816500187,
-0.01352094579488039,
-0.0021561922039836645,
0.025869499891996384,
-0.010772552341222763,
-0.03449907526373863,
0.01734563522040844,
0.037247467786073685,
-0.04570406675338745,
-0.02298656851053238,
-0.010474649257957935,
0.01085903961211443,
0.011608601547777653,
-0.027483941987156868,
-0.013021238148212433,
-0.02892540767788887,
-0.047395385801792145,
-0.004845726303756237,
0.052430905401706696,
-0.04408962279558182,
0.005568861495703459,
0.006467374972999096,
0.010167136788368225,
-0.02490852400660515,
0.04020727798342705,
0.02250608056783676,
0.03465282917022705,
-0.017845341935753822,
-0.010589966550469398,
0.00023213600798044354,
-0.032211948186159134,
0.02904072403907776,
-0.07103541493415833,
0.031443167477846146,
0.02429349720478058,
0.002940589562058449,
-0.011848846450448036,
-0.0037069686222821474,
0.0036421027034521103,
0.052507780492305756,
-0.0167402196675539,
0.050009243190288544,
0.029059944674372673,
0.010762942023575306,
0.015558217652142048,
0.005664959084242582,
0.0025730158668011427,
0.038727372884750366,
0.09079310297966003,
0.0043243966065347195,
-0.0014474715571850538,
0.0669608786702156,
0.018191294744610786,
0.08372031152248383,
0.03432609885931015,
-0.09471388906240463,
0.012636846862733364,
-0.0018282587407156825,
-0.029924822971224785,
0.08856363594532013,
-0.034018583595752716,
0.015942608937621117,
0.055083200335502625,
0.040437910705804825,
-0.042321424931287766,
0.023447837680578232,
-0.058811791241168976,
0.03469127044081688,
0.0439358688890934,
-0.05262310057878494,
0.0023591984063386917,
-0.03186599537730217,
-0.014654899016022682,
0.020161297172307968,
0.004398872144520283,
-0.04212922975420952,
0.033691853284835815,
0.018566075712442398,
-0.03228882700204849,
-0.012627237476408482,
0.04405118525028229,
0.047318506985902786,
-0.0157888513058424,
-0.06730682402849197,
-0.002366405911743641,
0.018633343279361725,
0.04505060240626335,
0.041322011500597,
-0.03465282917022705,
-0.019402125850319862,
0.016999682411551476,
0.027676137164235115,
0.008394134230911732,
-0.0006444551981985569,
0.010349721647799015,
-0.02294813096523285,
-0.02442803420126438,
-0.030539847910404205,
0.00795688945800066,
-0.04051478952169418,
-0.06757590174674988,
-0.062002234160900116,
-0.011608601547777653,
-0.008994744159281254,
-0.04662660136818886,
-0.00139822147320956,
0.0026931380853056908,
0.037900932133197784,
0.044204939156770706,
0.01051308773458004,
0.0256965234875679,
0.006452960427850485,
0.023985985666513443,
0.014760605990886688,
-0.04793353006243706,
-0.02479320578277111,
0.019815344363451004,
-0.009220574051141739,
-0.0011381570948287845,
0.08933241665363312,
0.03096267767250538,
-0.04285957291722298,
0.03301917016506195,
0.07276517897844315,
0.02696501463651657,
-0.022140908986330032,
0.01885436847805977,
0.007543669082224369,
0.0050355191342532635,
0.006294399034231901,
0.034595172852277756,
0.008687231689691544,
0.03136628866195679,
-0.008115450851619244,
0.0012540749739855528,
0.0021802166011184454,
0.015269923955202103,
0.010705283842980862,
0.013674702495336533,
0.04505060240626335,
-0.04924045875668526,
-0.010349721647799015,
0.020103638991713524,
-0.034787368029356,
0.024389594793319702,
-0.028906187042593956,
-0.0000074841714194917586,
-0.007606132887303829,
0.012463871389627457,
-0.0073082298040390015,
-0.004062530118972063,
-0.02315954491496086,
-0.023716911673545837,
0.01388611737638712,
0.06461609154939651,
-0.013271092437207699,
0.004509384278208017,
0.032250385731458664,
0.01575041189789772,
-0.003329785307869315,
-0.010340112261474133,
0.07941513508558273,
0.006251155398786068,
-0.05135460942983627,
0.014943191781640053,
0.07791601121425629,
0.0693056583404541,
0.030655166134238243,
0.03817000612616539,
-0.037497323006391525,
0.002365204505622387,
0.003010260406881571,
0.03432609885931015,
0.03228882700204849,
0.014433873817324638,
0.008845793083310127
] |
719,542
|
ibm_platform_services.global_catalog_v1
|
update_visibility
|
Update visibility.
Update an Object's Visibility. You must have an administrator role in the scope of
the provided token. This endpoint is ETag enabled.
:param str id: The object's unique ID.
:param bool extendable: (optional) Allows the visibility to be extenable.
:param VisibilityDetail include: (optional) Visibility details related to a
catalog entry.
:param VisibilityDetail exclude: (optional) Visibility details related to a
catalog entry.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def update_visibility(
self,
id: str,
*,
extendable: bool = None,
include: 'VisibilityDetail' = None,
exclude: 'VisibilityDetail' = None,
account: str = None,
**kwargs
) -> DetailedResponse:
"""
Update visibility.
Update an Object's Visibility. You must have an administrator role in the scope of
the provided token. This endpoint is ETag enabled.
:param str id: The object's unique ID.
:param bool extendable: (optional) Allows the visibility to be extenable.
:param VisibilityDetail include: (optional) Visibility details related to a
catalog entry.
:param VisibilityDetail exclude: (optional) Visibility details related to a
catalog entry.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if id is None:
raise ValueError('id must be provided')
if include is not None:
include = convert_model(include)
if exclude is not None:
exclude = convert_model(exclude)
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='update_visibility'
)
headers.update(sdk_headers)
params = {'account': account}
data = {'extendable': extendable, 'include': include, 'exclude': exclude}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['id']
path_param_values = self.encode_path_vars(id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{id}/visibility'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, params=params, data=data)
response = self.send(request)
return response
|
(self, id: str, *, extendable: Optional[bool] = None, include: Optional[ibm_platform_services.global_catalog_v1.VisibilityDetail] = None, exclude: Optional[ibm_platform_services.global_catalog_v1.VisibilityDetail] = None, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.017072055488824844,
-0.0365842841565609,
-0.06344456225633621,
-0.02341100573539734,
0.04895028844475746,
-0.02676854096353054,
0.00004633380740415305,
0.007013211026787758,
-0.07588395476341248,
0.02322753518819809,
-0.03374047204852104,
-0.061756622046232224,
0.020915789529681206,
-0.022053314372897148,
-0.06641680747270584,
0.01886090449988842,
0.012081620283424854,
0.01558593288064003,
0.030584756284952164,
-0.03926297277212143,
0.03955652937293053,
-0.009123137220740318,
-0.017558254301548004,
-0.005660106427967548,
0.04025372117757797,
0.004373509902507067,
0.08579143136739731,
-0.003348361002281308,
-0.010476241819560528,
0.03357534483075142,
0.024713655933737755,
-0.02021859586238861,
0.02153959311544895,
0.015209815464913845,
-0.04080413654446602,
-0.0066600278951227665,
0.01198988500982523,
0.02777763642370701,
-0.07735172659158707,
-0.0007837687735445797,
-0.06685713678598404,
0.02153959311544895,
0.027043748646974564,
-0.04473043605685234,
0.04051058366894722,
0.006687548477202654,
0.0029538965318351984,
0.07529684156179428,
-0.030804920941591263,
0.006948995869606733,
0.011522031389176846,
-0.021062567830085754,
0.0006318311206996441,
0.008779127150774002,
0.018842557445168495,
0.01908107101917267,
0.027961108833551407,
0.02590622380375862,
0.03221765533089638,
-0.01614552177488804,
-0.0013622783590108156,
-0.033446915447711945,
-0.025135641917586327,
-0.01479700393974781,
0.007664536125957966,
0.0005031141918152571,
-0.08454382419586182,
0.038565780967473984,
-0.07551700621843338,
0.038492392748594284,
-0.01942966692149639,
0.010558804497122765,
0.03632742539048195,
0.01159542053937912,
-0.03361204266548157,
-0.0055362628772854805,
-0.0018415985396131873,
-0.030199464410543442,
0.021484551951289177,
-0.03207087889313698,
0.035483453422784805,
-0.04377638176083565,
0.04630829393863678,
-0.05049144849181175,
-0.031190212815999985,
-0.004467539489269257,
-0.00390565674751997,
-0.08212199807167053,
0.010907400399446487,
0.019961735233664513,
-0.006150893401354551,
0.02043876238167286,
-0.04612481966614723,
-0.041464634239673615,
0.004268013872206211,
0.009944173507392406,
0.04032710939645767,
-0.06615994870662689,
-0.020952483639121056,
-0.0010629899334162474,
-0.05195922404527664,
-0.025098947808146477,
-0.002619060454890132,
0.03128194808959961,
0.023282576352357864,
-0.09621263295412064,
-0.02047545649111271,
0.02597961202263832,
-0.023099103942513466,
-0.0254475437104702,
0.03794197738170624,
0.016558334231376648,
-0.06083926185965538,
0.0004388990346342325,
0.015035517513751984,
0.009439625777304173,
-0.03737321496009827,
-0.050748310983181,
0.026676805689930916,
-0.03531832993030548,
0.009916652925312519,
0.0014735081931576133,
0.00342633668333292,
-0.01585196703672409,
-0.008233298547565937,
0.016631722450256348,
-0.022695466876029968,
0.05823396146297455,
0.0014643346657976508,
0.012402696534991264,
-0.07852594554424286,
-0.06043562293052673,
-0.0432259663939476,
0.07470973581075668,
0.03462113440036774,
0.006036223378032446,
0.005811470560729504,
0.01577857881784439,
-0.028713343665003777,
0.030933352187275887,
-0.015274030156433582,
-0.0029860041104257107,
0.00361898192204535,
0.005160145461559296,
0.019631486386060715,
-0.04773937165737152,
-0.013677825219929218,
-0.012852202169597149,
-0.0018702660454437137,
-0.04318927228450775,
-0.0361439511179924,
-0.03564857691526413,
-0.002506684046238661,
-0.010567978024482727,
-0.018915947526693344,
-0.01443923357874155,
0.03339187428355217,
-0.044143322855234146,
0.07404923439025879,
-0.011815586127340794,
-0.019631486386060715,
0.016099654138088226,
0.038565780967473984,
0.01904437690973282,
0.02627316676080227,
-0.03234608471393585,
-0.023539436981081963,
-0.0253007672727108,
-0.03561188280582428,
0.007889289408922195,
0.021392816677689552,
0.0020136034581810236,
-0.004176277667284012,
0.005458287429064512,
-0.06392158567905426,
-0.0023151852656155825,
0.03707965835928917,
-0.027208874002099037,
0.010723928920924664,
0.025392502546310425,
0.0008783714147284627,
-0.033942289650440216,
-0.0005558623233810067,
0.0077104042284190655,
-0.011870628222823143,
0.015934528782963753,
0.03944644704461098,
0.01422824151813984,
-0.03309832140803337,
0.021814800798892975,
0.007802139967679977,
-0.00969648640602827,
0.025759445503354073,
-0.009503841400146484,
-0.1163945347070694,
-0.03364873677492142,
-0.0179985873401165,
-0.06795796751976013,
0.013751214370131493,
-0.007747098337858915,
0.019925041124224663,
-0.04256546497344971,
0.012806334532797337,
0.027612511068582535,
0.055665355175733566,
0.04623490199446678,
0.022346869111061096,
-0.08028727769851685,
0.038419004529714584,
-0.012494431808590889,
-0.04384976997971535,
0.05478469282388687,
0.016163868829607964,
0.0036166885402053595,
-0.012843028642237186,
0.023888032883405685,
-0.010714755393564701,
0.015081385150551796,
0.042712245136499405,
0.012843028642237186,
0.010815665125846863,
-0.02221843972802162,
-0.0031259015668183565,
0.02401646412909031,
-0.01005425676703453,
-0.008201191201806068,
0.045390933752059937,
0.010705581866204739,
-0.016136348247528076,
-0.0651325061917305,
0.003623568918555975,
0.03715304657816887,
-0.021356122568249702,
0.03249286115169525,
-0.04043719172477722,
0.046895403414964676,
-0.01701701246201992,
-0.01132938638329506,
-0.02992425672709942,
0.007948917336761951,
0.027961108833551407,
-0.0036258623003959656,
-0.007182922679930925,
0.08278249204158783,
-0.06072917953133583,
-0.03735486790537834,
-0.09268997609615326,
0.058784376829862595,
0.01277881395071745,
-0.04535423964262009,
-0.012549473904073238,
-0.05544519051909447,
-0.02526407316327095,
0.011026657186448574,
0.02526407316327095,
-0.01549419667571783,
-0.1007627323269844,
-0.017328916117548943,
0.014219067990779877,
-0.017677512019872665,
-0.041207775473594666,
-0.058747682720422745,
-0.0584174320101738,
0.0001001928249024786,
0.017512386664748192,
0.01054045744240284,
0.008870863355696201,
0.01942966692149639,
0.055775437504053116,
-0.007077426183968782,
0.007100360002368689,
0.02876838482916355,
0.01720048487186432,
0.03535502403974533,
-0.01354939490556717,
-0.0069535826332867146,
0.051372114568948746,
-0.05669279769062996,
-0.01826462149620056,
-0.0008330768323503435,
0.010100124403834343,
-0.04601473733782768,
-0.011852281168103218,
0.024860434234142303,
0.018457267433404922,
-0.02018190175294876,
-0.020512152463197708,
0.06080256775021553,
-0.07122376561164856,
-0.008182844147086143,
0.04043719172477722,
0.027832677587866783,
0.022603729739785194,
0.009384584613144398,
0.016420729458332062,
0.05973843112587929,
-0.08535110205411911,
0.013769561424851418,
0.04920714721083641,
0.020713970065116882,
0.004680825397372246,
0.01946636289358139,
0.010283596813678741,
-0.058600906282663345,
0.036987923085689545,
-0.03731817379593849,
0.03632742539048195,
0.04795954003930092,
0.05390402674674988,
0.038565780967473984,
0.06205017492175102,
-0.02341100573539734,
-0.041060999035835266,
-0.004352869465947151,
0.02126438543200493,
-0.0435929074883461,
0.0002474003122188151,
-0.06465547531843185,
-0.006375646218657494,
0.05555527284741402,
-0.0011960070114582777,
0.01048541534692049,
0.027814330533146858,
-0.012980632483959198,
0.015595106407999992,
-0.10641366988420486,
0.09070847928524017,
0.03243781998753548,
0.02759416401386261,
0.010366158559918404,
-0.015365766361355782,
-0.02451183833181858,
0.004137290176004171,
0.03106178157031536,
-0.02247530035674572,
-0.005169318988919258,
0.008591068908572197,
-0.032804764807224274,
0.042675551027059555,
0.06509581208229065,
0.0014574544038623571,
0.03662097826600075,
-0.0015136427246034145,
0.02447514422237873,
-0.07390245795249939,
0.03704296424984932,
0.04586796090006828,
0.009513014927506447,
0.018915947526693344,
0.05977512523531914,
-0.02680523507297039,
0.01614552177488804,
0.039666611701250076,
0.0179985873401165,
0.019484709948301315,
-0.021301081404089928,
0.04619820788502693,
-0.04961078613996506,
-0.012375175952911377,
-0.07291170954704285,
-0.03219930827617645,
0.004944566171616316,
0.01946636289358139,
0.009214873425662518,
-0.000005231814157014014,
-0.05181244760751724,
-0.043005798012018204,
-0.06575630605220795,
0.08300265669822693,
-0.07683800905942917,
-0.05397741496562958,
-0.0039996858686208725,
-0.003933177329599857,
0.005054648965597153,
0.050051119178533554,
0.06205017492175102,
-0.041354551911354065,
0.029245411977171898,
-0.00094946677563712,
0.037281475961208344,
0.039813388139009476,
0.015485023148357868,
0.03632742539048195,
-0.007503998000174761,
0.04608812555670738,
0.0253007672727108,
0.06105942651629448,
-0.015081385150551796,
-0.011136740446090698,
-0.017117923125624657,
0.027355650439858437,
0.012155009433627129,
-0.001576711074449122,
0.033978983759880066,
-0.021209344267845154,
-0.01268707774579525,
0.007554452866315842,
-0.008178257383406162,
0.04333604872226715,
-0.023502742871642113,
0.055628661066293716,
0.05639924481511116,
0.024291671812534332,
0.0218698438256979,
0.0029401362407952547,
-0.050014425069093704,
0.027942761778831482,
-0.0330432765185833,
-0.02397977001965046,
-0.012320133857429028,
0.022842243313789368,
-0.04773937165737152,
-0.0324561670422554,
0.018081149086356163,
0.03205253183841705,
0.05228947475552559,
0.013356749899685383,
0.023594478145241737,
-0.01893429458141327,
0.00566469319164753,
0.06050901114940643,
-0.031942445784807205,
0.0018415985396131873,
0.01757660135626793,
-0.061499759554862976,
-0.05232616886496544,
-0.00948549434542656,
0.0030777400825172663,
0.018952641636133194,
-0.06748094409704208,
0.0321626141667366,
-0.0075315190479159355,
0.01549419667571783,
-0.041391246020793915,
0.016705110669136047,
-0.00011137314140796661,
0.0253007672727108,
-0.023099103942513466,
-0.006141719873994589,
0.025539280846714973,
0.028658300638198853,
-0.02884177304804325,
-0.004710639361292124,
-0.05401410907506943,
-0.014521796256303787,
0.028438135981559753,
-0.01295311190187931,
0.027869371697306633,
0.06982938200235367,
-0.04667523503303528,
0.11859619617462158,
0.036914534866809845,
0.038419004529714584,
0.0218698438256979,
-0.04825309291481972,
-0.1156606450676918,
-0.001871412736363709,
0.025282420217990875,
0.011797239072620869,
-0.01123765017837286,
-0.04249207675457001,
0.0006020169821567833,
-0.10296439379453659,
0.03106178157031536,
0.015301551669836044,
0.017640817910432816,
0.025080600753426552,
-0.02669515274465084,
-0.004176277667284012,
-0.03929966688156128,
0.03900611400604248,
-0.05984851345419884,
0.013164104893803596,
0.03440096974372864,
0.07305848598480225,
0.0647655576467514,
0.022677119821310043,
0.01513642631471157,
-0.0582706555724144,
0.01381542906165123,
0.05210600048303604,
-0.015163947828114033,
-0.03432758152484894,
-0.018640737980604172,
0.003974458668380976,
-0.036987923085689545,
-0.0025594320613890886,
0.06322439759969711,
-0.030162770301103592,
-0.0046762386336922646,
0.038272224366664886,
-0.00811404176056385,
-0.05115194991230965,
-0.01900768280029297,
-0.030878311023116112,
0.025282420217990875,
-0.00316259590908885,
-0.00027205434162169695,
0.02805284410715103,
-0.022878937423229218,
0.024952169507741928,
-0.025961264967918396,
0.04663854092359543,
0.0016053785802796483,
-0.017677512019872665,
0.01852148212492466,
0.0019860826432704926,
-0.002460815943777561,
-0.009889132343232632,
0.008334208279848099,
-0.028786731883883476,
-0.022181745618581772,
0.04583126679062843,
-0.0010004949290305376,
0.035061467438936234,
0.052839890122413635,
-0.030071035027503967,
0.03364873677492142,
-0.02029198594391346,
-0.05742668733000755,
-0.0008497039671055973,
-0.010824838653206825,
0.07859933376312256,
-0.014769483357667923,
-0.0251906830817461,
0.04476713016629219,
-0.041060999035835266,
-0.03102508746087551,
-0.0010842039482668042,
0.015090558677911758,
-0.03761172667145729,
0.012402696534991264,
-0.03885933384299278,
-0.07676462084054947,
0.04227191209793091,
-0.006389406975358725,
-0.0575367696583271,
0.010641366243362427,
-0.06212356314063072,
0.03436427563428879,
0.01716379076242447,
-0.013356749899685383,
-0.018769169226288795,
-0.012301786802709103,
-0.033446915447711945,
0.016402382403612137,
0.014154852367937565,
0.008912144228816032,
0.02372290939092636,
-0.02119099721312523,
0.002903441898524761,
-0.0009666672558523715,
0.020420415326952934,
-0.009338716976344585,
-0.058931153267621994,
0.042859021574258804,
-0.030071035027503967,
-0.08894714713096619,
-0.002729143714532256,
-0.00003680187001009472,
-0.026970360428094864,
0.0502345897257328,
0.06344456225633621,
-0.01553089078515768,
-0.004446898587048054,
0.015567585825920105,
0.05823396146297455,
0.002775011584162712,
0.03757503256201744,
-0.01911776512861252,
0.006449035368859768,
-0.010301943868398666,
-0.07048988342285156,
-0.022126704454421997,
0.012934764847159386,
0.07030640542507172,
0.03049301914870739,
-0.0004712932859547436,
0.031979139894247055,
0.03034624271094799,
-0.018393052741885185,
-0.05511493980884552,
0.06271067261695862,
-0.05320683494210243,
-0.04223521798849106,
0.022493647411465645,
0.0007551012677140534,
0.0432259663939476,
0.07529684156179428,
0.048546649515628815,
-0.0007797552971169353,
0.027795983478426933,
0.06715068966150284,
-0.03764842078089714,
-0.01298980601131916,
0.021135956048965454,
-0.038455698639154434,
-0.04781275987625122,
0.009733181446790695,
-0.038272224366664886,
0.021778106689453125,
0.01146699022501707,
-0.009705659933388233,
0.008210364729166031,
0.005889446008950472,
0.02040206827223301,
-0.0251172948628664,
0.015145600773394108,
-0.028328051790595055,
-0.06307762116193771,
-0.01193484291434288,
-0.011421121656894684,
-0.0002511270868126303,
0.015007996000349522,
0.028823425993323326,
-0.011246823705732822,
-0.0003683770482894033,
0.05258302763104439,
-0.014127331785857677,
-0.0510418638586998,
-0.00015795778017491102,
0.004212972242385149,
-0.01904437690973282,
-0.0016867942176759243,
-0.03610725700855255,
0.005132624879479408,
0.03948314115405083,
-0.058637600392103195,
0.0024080679286271334,
0.015631800517439842,
-0.044363491237163544,
0.07727833837270737,
-0.04054727777838707,
0.010668887756764889,
0.029465576633810997,
-0.01893429458141327,
-0.010723928920924664,
-0.0034286300651729107,
0.004715226124972105,
0.0033621215261518955,
0.07423270493745804,
0.0362907312810421,
0.015842793509364128,
0.06619664281606674,
0.001511349226348102,
0.11947686225175858,
-0.030841616913676262,
-0.019741570577025414,
0.033556997776031494,
-0.03922627866268158,
-0.05221608653664589,
0.08087438344955444,
-0.020695623010396957,
-0.039850082248449326,
0.004761094227433205,
0.004944566171616316,
-0.007797553203999996,
0.026713499799370766,
0.010045083239674568,
0.01878751628100872,
0.015338245779275894,
-0.05680288001894951,
-0.0016535399481654167,
-0.06205017492175102,
0.015145600773394108,
0.020879095420241356,
-0.022383565083146095,
-0.04179488494992256,
0.06638011336326599,
-0.005586717277765274,
-0.009659792296588421,
0.033446915447711945,
-0.01701701246201992,
0.06388489156961441,
-0.045757874846458435,
-0.0510418638586998,
-0.017906852066516876,
-0.0010050816927105188,
-0.012622862122952938,
0.02830970473587513,
-0.019374625757336617,
-0.028621606528759003,
-0.020236942917108536,
-0.012824681587517262,
-0.03038293682038784,
-0.025080600753426552,
-0.01553089078515768,
-0.04674862325191498,
-0.04825309291481972,
0.008476398885250092,
-0.0066279200837016106,
-0.06359133869409561,
-0.02304406277835369,
-0.03867586329579353,
0.06109612062573433,
-0.0440332405269146,
-0.03385055437684059,
0.034951385110616684,
-0.04454696178436279,
0.010311117395758629,
0.0050500622019171715,
-0.033520303666591644,
-0.013063195161521435,
0.05665610358119011,
0.005894032772630453,
0.022200092673301697,
-0.014237415045499802,
-0.016017092391848564,
0.013457659631967545,
-0.046932097524404526,
-0.0013439311878755689,
0.0643252283334732,
-0.00619217474013567,
-0.032511208206415176,
0.01953975111246109,
0.06216025725007057,
0.023282576352357864,
-0.03159385174512863,
0.04186827316880226,
0.05250963941216469,
0.04751920700073242,
0.02579614147543907,
0.012274266220629215,
-0.021741412580013275,
-0.01054045744240284,
-0.012173356488347054,
0.01573270931839943,
0.05955496057868004,
-0.0005191679811105132,
-0.044180020689964294,
0.06318770349025726,
0.035024773329496384,
-0.05115194991230965,
0.019484709948301315,
0.020915789529681206,
-0.01687023602426052,
-0.03146541863679886,
-0.010567978024482727,
-0.0436662994325161,
0.04443687945604324,
0.04806962236762047,
0.02225513383746147,
0.02401646412909031,
-0.061609841883182526,
-0.07544361799955368,
0.003359828144311905,
0.04594134911894798,
-0.007192096207290888,
0.04953739792108536,
0.03324509784579277,
0.011173434555530548,
-0.0065728784538805485,
0.029337147250771523,
0.04469373822212219,
0.0879197046160698,
-0.003937764558941126,
-0.014430060051381588,
0.06861846894025803,
0.041207775473594666,
-0.0002319198683835566,
0.004529460798949003,
-0.00969648640602827,
-0.0048298961482942104,
-0.027851024642586708,
-0.007494824472814798,
0.0647655576467514,
0.008476398885250092,
0.012586168013513088
] |
719,543
|
ibm_platform_services.global_catalog_v1
|
upload_artifact
|
Upload artifact.
This endpoint uploads the binary for an artifact. Only administrators and editors
can upload artifacts.
:param str object_id: The object's unique ID.
:param str artifact_id: The artifact's ID.
:param BinaryIO artifact: (optional)
:param str content_type: (optional) The type of the input.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def upload_artifact(
self,
object_id: str,
artifact_id: str,
*,
artifact: BinaryIO = None,
content_type: str = None,
account: str = None,
**kwargs
) -> DetailedResponse:
"""
Upload artifact.
This endpoint uploads the binary for an artifact. Only administrators and editors
can upload artifacts.
:param str object_id: The object's unique ID.
:param str artifact_id: The artifact's ID.
:param BinaryIO artifact: (optional)
:param str content_type: (optional) The type of the input.
:param str account: (optional) This changes the scope of the request
regardless of the authorization header. Example scopes are `account` and
`global`. `account=global` is reqired if operating with a service ID that
has a global admin policy, for example `GET /?account=global`.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if object_id is None:
raise ValueError('object_id must be provided')
if artifact_id is None:
raise ValueError('artifact_id must be provided')
headers = {'Content-Type': content_type}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME, service_version='V1', operation_id='upload_artifact'
)
headers.update(sdk_headers)
params = {'account': account}
data = artifact
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
path_param_keys = ['object_id', 'artifact_id']
path_param_values = self.encode_path_vars(object_id, artifact_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/{object_id}/artifacts/{artifact_id}'.format(**path_param_dict)
request = self.prepare_request(method='PUT', url=url, headers=headers, params=params, data=data)
response = self.send(request)
return response
|
(self, object_id: str, artifact_id: str, *, artifact: Optional[BinaryIO] = None, content_type: Optional[str] = None, account: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.007725889328867197,
-0.023159489035606384,
-0.07511382550001144,
0.03393937647342682,
0.004101538565009832,
-0.04700976610183716,
-0.00435603829100728,
0.07984025031328201,
-0.08333053439855576,
-0.03337584063410759,
0.032957736402750015,
0.05424483120441437,
0.010443584993481636,
-0.033284951001405716,
-0.0458826944231987,
0.010816245339810848,
-0.015079118311405182,
0.03839312493801117,
0.02723148837685585,
0.028376737609505653,
0.002704061334952712,
0.01776045560836792,
0.011088923551142216,
0.01901477761566639,
0.03737512603402138,
0.012116012163460255,
0.05868040397763252,
-0.010061834938824177,
-0.03915662690997124,
-0.005921666976064444,
0.02719513140618801,
-0.029667414724826813,
-0.0002282261848449707,
0.03613898530602455,
-0.004519645124673843,
-0.02941291593015194,
0.042501479387283325,
0.026231667026877403,
-0.07671353965997696,
0.03063087910413742,
-0.03475741297006607,
0.04548276588320732,
0.08223982155323029,
-0.03930205479264259,
0.027013344690203667,
-0.00955283548682928,
-0.001077079912647605,
-0.012234172783792019,
-0.05631718784570694,
0.02099624089896679,
0.043555837124586105,
-0.03584812581539154,
0.020868990570306778,
-0.03192155808210373,
0.05904397368431091,
0.04882762208580971,
-0.013088565319776535,
-0.05766240134835243,
-0.01646977849304676,
0.0442466214299202,
-0.02844945155084133,
0.03697519749403,
0.023214025422930717,
-0.020323634147644043,
-0.02977648749947548,
0.02597716636955738,
-0.05835318937897682,
-0.0009509660885669291,
-0.05475383251905441,
-0.004694614093750715,
0.018633026629686356,
-0.03726605325937271,
0.04904576390981674,
-0.02852216549217701,
0.008625728078186512,
-0.03897484019398689,
0.028740309178829193,
0.02654070220887661,
0.02254141867160797,
0.02452288195490837,
0.01897842064499855,
-0.04341040924191475,
-0.008639362640678883,
-0.031739771366119385,
-0.005453568883240223,
-0.03488466143608093,
-0.048609476536512375,
-0.023050418123602867,
-0.033230412751436234,
-0.021305276080965996,
0.05086361989378929,
-0.02459559589624405,
-0.029322022572159767,
-0.010552655905485153,
-0.015933509916067123,
-0.004315136466175318,
-0.026322560384869576,
-0.045373693108558655,
-0.03492102026939392,
0.03688430413603783,
-0.050318263471126556,
-0.028758486732840538,
-0.04013826698064804,
0.02941291593015194,
0.03766598179936409,
-0.034284770488739014,
0.007794058881700039,
-0.03217605873942375,
-0.018114937469363213,
0.02172338403761387,
0.04217426851391792,
0.026068059727549553,
-0.06791511178016663,
-0.010434495285153389,
-0.02217784710228443,
0.008989299647510052,
-0.010988941416144371,
-0.03584812581539154,
-0.026922453194856644,
-0.016188010573387146,
0.032557807862758636,
-0.02694063074886799,
0.03381212800741196,
0.010998031124472618,
0.07744067907333374,
-0.013770261779427528,
-0.02294134721159935,
0.018669385462999344,
-0.046028122305870056,
-0.07275061309337616,
-0.028867559507489204,
-0.01636979542672634,
-0.021396169438958168,
0.05293597653508186,
0.010189084336161613,
0.04541005194187164,
0.01986916922032833,
-0.009970941580832005,
-0.03608444705605507,
0.02108713425695896,
0.053626760840415955,
-0.018242187798023224,
-0.0005663758493028581,
-0.003174431622028351,
-0.003169887000694871,
-0.005671711638569832,
-0.05166347697377205,
-0.07122360914945602,
-0.019414706155657768,
0.029631057754158974,
-0.06751518696546555,
-0.0267406664788723,
-0.022032419219613075,
0.04595540836453438,
-0.022595955058932304,
-0.04482833668589592,
0.02221420407295227,
0.011125280521810055,
-0.017651384696364403,
0.04221062362194061,
0.017042404040694237,
-0.008857505396008492,
0.09336510300636292,
-0.012488673441112041,
0.003385757328942418,
-0.0043015023693442345,
-0.02690427377820015,
0.03426659107208252,
-0.013624832965433598,
-0.021377990022301674,
-0.061443544924259186,
0.0023223115131258965,
-0.04275598004460335,
-0.028594879433512688,
-0.021377990022301674,
0.06860589981079102,
-0.01270681619644165,
0.014270172454416752,
-0.03904755413532257,
0.03166705742478371,
-0.027722308412194252,
0.0075441040098667145,
0.021050775423645973,
0.007035104092210531,
0.01175244152545929,
-0.014833707362413406,
0.003415297484025359,
0.05242697522044182,
0.07605911046266556,
-0.03561180457472801,
0.037811413407325745,
0.017705921083688736,
-0.013606654480099678,
-0.00015181940398178995,
0.029031164944171906,
-0.05638990178704262,
-0.0037652349565178156,
-0.1003456711769104,
0.07904039323329926,
0.08143996447324753,
0.0011185497278347611,
-0.07009653747081757,
0.055444616824388504,
0.07173261046409607,
0.045737266540527344,
-0.007844050414860249,
0.03759326785802841,
-0.027049701660871506,
-0.06540647149085999,
-0.01861484907567501,
-0.035829950124025345,
0.048573121428489685,
-0.05169983580708504,
0.007144175469875336,
-0.03343037888407707,
0.0161698330193758,
0.010898048989474773,
-0.015079118311405182,
0.019232919439673424,
0.017715010792016983,
-0.010107281617820263,
0.03139437735080719,
-0.003840221557766199,
0.007862228900194168,
0.006703345105051994,
-0.01059810258448124,
0.09983666986227036,
-0.024286560714244843,
0.00985278096050024,
-0.035375483334064484,
-0.02432291768491268,
0.02779502421617508,
0.01808767020702362,
0.028540344908833504,
-0.030758129432797432,
0.07918582111597061,
0.00032437374466098845,
-0.027904095128178596,
0.023014061152935028,
-0.03086720034480095,
-0.0017167381010949612,
-0.00576714938506484,
0.015888065099716187,
0.03593901917338371,
-0.08674810081720352,
-0.005817140452563763,
-0.04264691099524498,
0.06009833142161369,
-0.024977346882224083,
-0.0861663892865181,
0.05224519222974777,
0.03690248355269432,
-0.024013882502913475,
0.0007328233332373202,
0.09300152957439423,
0.010661727748811245,
0.10179995745420456,
-0.08609367907047272,
0.03483012691140175,
-0.02165066823363304,
-0.017905885353684425,
-0.017405973747372627,
0.0023177668917924166,
0.002947199624031782,
-0.0336667001247406,
-0.03948383778333664,
-0.0029631059151142836,
-0.032103341072797775,
-0.013452136889100075,
0.03521187603473663,
0.0571170449256897,
0.04795505106449127,
0.013134011998772621,
0.00810309499502182,
-0.026104416698217392,
0.0011293432908132672,
0.005789872258901596,
0.03099445067346096,
0.0015940327430143952,
0.027685951441526413,
-0.029685594141483307,
-0.03690248355269432,
0.015242725610733032,
0.020378168672323227,
0.02185063250362873,
-0.022432347759604454,
-0.0006623814115300775,
0.04057455435395241,
-0.009998209774494171,
0.003958382178097963,
-0.015960779041051865,
0.07998567819595337,
-0.008734799921512604,
-0.027776844799518585,
-0.09576467424631119,
0.02630438096821308,
-0.060752756893634796,
0.043846696615219116,
0.04940933361649513,
0.026449808850884438,
-0.049627479165792465,
0.09511024504899979,
-0.03195791319012642,
-0.06446118652820587,
-0.02650434523820877,
0.0013474860461428761,
0.06736975908279419,
-0.019069312140345573,
-0.009316513314843178,
0.02257777564227581,
-0.00590803287923336,
0.004740060307085514,
-0.024940988048911095,
0.016851527616381645,
-0.00987095944583416,
-0.02334127575159073,
0.07533196359872818,
0.006353408098220825,
0.0009185855160467327,
0.021905168890953064,
0.028667595237493515,
-0.017415063455700874,
-0.017187831923365593,
-0.016951510682702065,
0.0353209488093853,
-0.013079476542770863,
0.003108534263446927,
0.034448377788066864,
0.0409381240606308,
-0.05122719332575798,
-0.02119620516896248,
0.03026730753481388,
0.004758238792419434,
0.04122897982597351,
0.03046727180480957,
-0.09074738621711731,
0.013315797783434391,
-0.055371902883052826,
0.037847768515348434,
0.06122540310025215,
-0.0221233107149601,
0.007016925606876612,
0.043192267417907715,
0.05555368959903717,
0.009998209774494171,
0.030394557863473892,
0.0264134518802166,
-0.05057276412844658,
0.011197995394468307,
0.013888422399759293,
-0.020868990570306778,
-0.021959705278277397,
-0.005903488490730524,
-0.0633704736828804,
0.01679699309170246,
0.01696968823671341,
0.030939914286136627,
-0.004344676621258259,
-0.05886218696832657,
-0.004085632041096687,
-0.013906600885093212,
-0.025395452976226807,
-0.021377990022301674,
-0.007135086227208376,
-0.008689353242516518,
0.0013713453663513064,
-0.020905347540974617,
0.018005866557359695,
-0.005358131602406502,
-0.010352691635489464,
0.025922631844878197,
-0.00529905129224062,
-0.03930205479264259,
-0.033721234649419785,
-0.009661906398832798,
0.0848575308918953,
-0.00492639048025012,
-0.03628441318869591,
0.025522703304886818,
0.01219781581312418,
0.011234352365136147,
-0.023686667904257774,
-0.07518653571605682,
-0.035539090633392334,
0.0019507870310917497,
0.03304862976074219,
0.01865120604634285,
-0.025068238377571106,
-0.023214025422930717,
0.023922989144921303,
0.06366132944822311,
-0.016069849953055382,
0.04646440967917442,
-0.026231667026877403,
0.025668131187558174,
-0.0646793320775032,
-0.0018189925467595458,
-0.0002420021191937849,
-0.01656975969672203,
-0.006826050579547882,
-0.03930205479264259,
0.001199785154312849,
0.014097475446760654,
0.055444616824388504,
0.006144354585558176,
-0.018796633929014206,
-0.015769904479384422,
-0.013742993585765362,
0.027776844799518585,
-0.018478509038686752,
0.04013826698064804,
-0.023214025422930717,
-0.017151474952697754,
0.019960062578320503,
0.015488135628402233,
0.043846696615219116,
-0.03912026807665825,
-0.05522647500038147,
-0.04017462581396103,
-0.019032955169677734,
-0.0137793505564332,
0.037847768515348434,
0.0017246912466362119,
0.028831200674176216,
-0.051481690257787704,
-0.02066902630031109,
-0.00757591612637043,
-0.001290678046643734,
-0.016133474186062813,
-0.02977648749947548,
0.026613416150212288,
0.0547901913523674,
-0.049227550625801086,
-0.0090756481513381,
0.033230412751436234,
0.003806136781349778,
-0.011361601762473583,
0.04726426303386688,
0.06529740244150162,
0.029649237170815468,
-0.01351576205343008,
-0.011852423660457134,
0.015206368640065193,
-0.05846225842833519,
0.03257598727941513,
0.041774339973926544,
0.008480300195515156,
-0.014742814935743809,
-0.008030380122363567,
0.043919410556554794,
0.08783882111310959,
-0.021014418452978134,
-0.0037084268406033516,
-0.05064547806978226,
-0.057589687407016754,
-0.09227439016103745,
0.07933124899864197,
-0.03579359129071236,
0.0017019680235534906,
-0.061516258865594864,
-0.006389765068888664,
-0.02415931038558483,
-0.008839325979351997,
-0.042828693985939026,
-0.005562640260905027,
0.0465371236205101,
0.014742814935743809,
-0.006753336172550917,
0.008012201637029648,
0.02637709490954876,
0.03548455610871315,
0.029794665053486824,
0.018269456923007965,
0.047918692231178284,
0.08834781497716904,
0.030212773010134697,
0.025886274874210358,
0.030939914286136627,
-0.049263905733823776,
-0.0528269037604332,
0.028340380638837814,
-0.04002919793128967,
0.00024242818471975625,
0.018369438126683235,
0.04275598004460335,
0.02581355907022953,
0.02323220483958721,
0.005453568883240223,
0.05838954448699951,
0.002829039003700018,
-0.004562819376587868,
-0.003233511932194233,
-0.05806232988834381,
0.023123132064938545,
-0.015360886231064796,
-0.04381033778190613,
-0.0346665196120739,
0.04231969639658928,
-0.08573010563850403,
-0.027685951441526413,
0.06540647149085999,
0.004181069787591696,
0.002520003356039524,
-0.019360169768333435,
-0.02710423804819584,
-0.019560134038329124,
-0.03628441318869591,
-0.009048379957675934,
0.0074668447487056255,
0.00856664776802063,
-0.04635533690452576,
0.01600622572004795,
-0.049336619675159454,
-0.03557544946670532,
-0.00773952342569828,
0.07191439718008041,
0.0006970342947170138,
0.036029912531375885,
-0.006676077377051115,
-0.01574263535439968,
0.004212881904095411,
-0.018496688455343246,
0.040756337344646454,
0.002126891864463687,
0.009561924263834953,
-0.016815170645713806,
-0.04908212274312973,
-0.04162890836596489,
0.011525209061801434,
0.022832276299595833,
-0.057916902005672455,
-0.007803148124366999,
-0.03341219946742058,
0.0014815529575571418,
0.021450703963637352,
0.007521380670368671,
-0.01746051013469696,
-0.03610262647271156,
-0.04304683953523636,
0.00021970497618895024,
-0.02719513140618801,
0.002190516795963049,
-0.017324170097708702,
-0.04690069332718849,
-0.052499689161777496,
0.025722667574882507,
0.021577954292297363,
-0.010707173496484756,
0.02844945155084133,
-0.04835497960448265,
0.008012201637029648,
-0.006753336172550917,
0.048609476536512375,
0.0719871073961258,
-0.05195433273911476,
0.06104361638426781,
-0.011525209061801434,
-0.07976753264665604,
-0.011670637875795364,
-0.03773869574069977,
0.011088923551142216,
0.06020740047097206,
0.016460688784718513,
-0.0025336372200399637,
0.021705204620957375,
0.041774339973926544,
0.05304504930973053,
-0.025922631844878197,
0.0016008497914299369,
-0.05377218872308731,
-0.045555479824543,
0.0006407943437807262,
-0.0462099090218544,
-0.04628262296319008,
0.020850813016295433,
-0.0010600375244393945,
-0.012461405247449875,
-0.02634073793888092,
0.008407585322856903,
0.023032240569591522,
-0.032630521804094315,
0.005149078089743853,
0.014715546742081642,
-0.022068776190280914,
-0.042865052819252014,
0.01759685017168522,
0.03155798465013504,
0.025631774216890335,
-0.0174968671053648,
-0.034939199686050415,
-0.0004669618501793593,
0.010189084336161613,
0.010443584993481636,
-0.029485629871487617,
-0.007753157056868076,
0.036520734429359436,
-0.010098191909492016,
-0.046827979385852814,
0.022359633818268776,
-0.05086361989378929,
0.03682976961135864,
-0.015706278383731842,
0.014633743092417717,
0.014760993421077728,
-0.00790313072502613,
0.06267968565225601,
-0.019160205498337746,
-0.007862228900194168,
0.033230412751436234,
-0.02614077366888523,
-0.020850813016295433,
-0.020414527505636215,
-0.00029511761385947466,
0.006303417030721903,
-0.04948204755783081,
-0.05271783471107483,
-0.014042939990758896,
0.040647268295288086,
0.018560312688350677,
0.021741561591625214,
-0.006803327240049839,
0.0077077108435332775,
-0.020359991118311882,
0.00843485351651907,
-0.04326498135924339,
0.0729323998093605,
0.021305276080965996,
-0.048900336027145386,
0.03308498486876488,
0.0016974234022200108,
-0.06827868521213531,
0.06540647149085999,
0.0016553854802623391,
0.0038811233825981617,
0.07238703966140747,
-0.025068238377571106,
-0.0161698330193758,
0.03682976961135864,
0.026286203414201736,
-0.017387796193361282,
0.04948204755783081,
0.038865767419338226,
-0.060061972588300705,
0.05519011989235878,
0.02888573706150055,
0.05471747741103172,
-0.01041631679981947,
-0.0336667001247406,
-0.05184526368975639,
-0.04508283734321594,
-0.006335229147225618,
0.015160921961069107,
-0.015397243201732635,
0.011697905138134956,
0.07151446491479874,
0.09787338227033615,
0.07518653571605682,
0.009625549428164959,
0.00511726550757885,
0.045664552599191666,
0.04381033778190613,
-0.04471926763653755,
0.04421026632189751,
-0.010752620175480843,
-0.0068215057253837585,
0.010507209226489067,
0.013643011450767517,
-0.06886039674282074,
-0.011879690922796726,
0.0333394855260849,
0.016451599076390266,
-0.01696968823671341,
0.04130169749259949,
0.0016224368009716272,
-0.043555837124586105,
0.003969743847846985,
0.014806440100073814,
0.015115475282073021,
0.009798245504498482,
0.010170905850827694,
0.015251814387738705,
-0.04482833668589592,
-0.009961852803826332,
0.03657526895403862,
0.03330312669277191,
-0.03970198333263397,
0.04868219420313835,
-0.006303417030721903,
-0.0650428980588913,
-0.08005839586257935,
0.030049165710806847,
-0.04548276588320732,
-0.021068954840302467,
-0.02544998936355114,
-0.01137069147080183,
0.00246773986145854,
-0.017024224624037743,
0.03810226917266846,
0.04908212274312973,
-0.016233457252383232,
0.04442840814590454,
-0.026158953085541725,
0.014479225501418114,
0.10158181190490723,
0.00011148572230013087,
0.028467630967497826,
-0.030849022790789604,
-0.011197995394468307,
0.06082547456026077,
-0.06478840112686157,
-0.016324350610375404,
0.029921915382146835,
-0.013788440264761448,
0.0025722666177898645,
-0.006071640178561211,
0.04435569420456886,
-0.0330122709274292,
0.025395452976226807,
-0.017324170097708702,
0.012634101323783398,
-0.011852423660457134,
0.00955283548682928,
0.016578849405050278,
0.021014418452978134,
0.05191797763109207,
0.0069351219572126865,
-0.0043015023693442345,
0.06940575689077377,
0.029594700783491135,
-0.015406331978738308,
0.049227550625801086,
0.006521559786051512,
0.0016110751312226057,
0.009561924263834953,
0.006344318389892578,
-0.03284866362810135,
0.015451778657734394,
-0.041737981140613556,
-0.017569581046700478,
0.005076363682746887,
-0.009998209774494171,
-0.046428050845861435,
-0.00876661203801632,
-0.06253425776958466,
0.03970198333263397,
-0.013879332691431046,
0.06624268740415573,
0.021832454949617386,
-0.016660653054714203,
-0.023723024874925613,
0.0027654138393700123,
-0.05598997324705124,
-0.008984754793345928,
0.07071460783481598,
0.029322022572159767,
-0.04421026632189751,
-0.017124205827713013,
0.030739950016140938,
0.03624805435538292,
-0.014615564607083797,
-0.0402836948633194,
-0.06518832594156265,
0.030776306986808777,
-0.03915662690997124,
-0.008648451417684555,
0.05849861726164818,
0.00024015585950110108,
-0.02003277651965618
] |
719,544
|
ibm_platform_services.global_search_v2
|
GlobalSearchV2
|
The global_search V2 service.
|
class GlobalSearchV2(BaseService):
"""The global_search V2 service."""
DEFAULT_SERVICE_URL = 'https://api.global-search-tagging.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'global_search'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'GlobalSearchV2':
"""
Return a new client for the global_search service using the specified
parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the global_search 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# Search
#########################
def search(
self,
*,
query: Optional[str] = None,
fields: Optional[List[str]] = None,
search_cursor: Optional[str] = None,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
limit: Optional[int] = None,
timeout: Optional[int] = None,
sort: Optional[List[str]] = None,
is_deleted: Optional[str] = None,
is_reclaimed: Optional[str] = None,
is_public: Optional[str] = None,
impersonate_user: Optional[str] = None,
can_tag: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Find instances of resources (v3).
Find IAM-enabled resources or storage and network resources that run on classic
infrastructure in a specific account ID. You can apply query strings if necessary.
To filter results, you can insert a string by using the Lucene syntax and the
query string is parsed into a series of terms and operators. A term can be a
single word or a phrase, in which case the search is performed for all the words,
in the same order. To filter for a specific value regardless of the property that
contains it, type the search term without specifying a field. Only resources that
belong to the account ID and that are accessible by the client are returned.
You must use `/v3/resources/search` when you need to fetch more than `10000`
resource items. On the first call, the operation returns a live cursor on the data
that you must use on all the subsequent calls to get the next batch of results
until you get the empty result set.
By default, the fields that are returned for every resource are `crn`, `name`,
`family`, `type`, and `account_id`. You can specify the subset of the fields you
want in your request using the `fields` request body attribute. Set `"fields":
["*"]` to discover the set of fields which are available to request.
:param str query: (optional) The Lucene-formatted query string. Default to
'*' if not set.
:param List[str] fields: (optional) The list of the fields returned by the
search. By default, the returned fields are the `account_id`, `name`,
`type`, `family`, and `crn`. For all queries, `crn` is always returned. You
may set `"fields": ["*"]` to discover the set of fields available to
request.
:param str search_cursor: (optional) An opaque cursor that is returned on
each call and that must be set on the subsequent call to get the next batch
of items. If the search returns no items, then the search_cursor is not
present in the response.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The account ID to filter resources.
:param int limit: (optional) The maximum number of hits to return. Defaults
to 10.
:param int timeout: (optional) A search timeout in milliseconds, bounding
the search request to run within the specified time value and bail with the
hits accumulated up to that point when expired. Defaults to the system
defined timeout.
:param List[str] sort: (optional) Comma separated properties names that are
used for sorting.
:param str is_deleted: (optional) Determines if deleted documents should be
included in result set or not. Possible values are false (default), true or
any. If false, only existing documents are returned; if true, only deleted
documents are returned; If any, both existing and deleted documents are
returned. (_for administrators only_).
:param str is_reclaimed: (optional) Determines if reclaimed documents
should be included in result set or not. Possible values are false
(default), true or any. If false, only not reclaimed documents are
returned; if true, only reclaimed documents are returned; If any, both
reclaimed and not reclaimed documents are returned.
:param str is_public: (optional) Determines if public resources should be
included in result set or not. Possible values are false (default), true or
any. If false, do not search public resources; if true, search only public
resources; If any, search also public resources.
:param str impersonate_user: (optional) The user on whose behalf the search
must be performed. Only a GhoST admin can impersonate a user, so be sure
you set a GhoST admin IAM token in the Authorization header if you set this
parameter. (_for administrators only_).
:param str can_tag: (optional) Determines if the result set must return the
resources that the user can tag or the resources that the user can view
(only a GhoST admin can use this parameter). If false (default), only
resources user can view are returned; if true, only resources that user has
permissions for tagging are returned (_for administrators only_).
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: Detail
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
0.029584279283881187,
-0.07526559382677078,
-0.05825214460492134,
-0.017451737076044083,
0.039883989840745926,
-0.0005845883279107511,
-0.04884892329573631,
-0.061320140957832336,
0.03388744592666626,
-0.08423052728176117,
-0.01578824408352375,
-0.003150177886709571,
-0.01318841241300106,
-0.0410793162882328,
0.024245163425803185,
0.06303343921899796,
-0.01484194491058588,
0.010409283451735973,
0.05008409172296524,
-0.04279261454939842,
-0.007958868518471718,
0.03428588807582855,
0.01739197038114071,
0.025540098547935486,
0.06000528484582901,
-0.02173498272895813,
0.014274165965616703,
-0.043151210993528366,
0.0315764881670475,
0.02033047564327717,
-0.021794747561216354,
-0.03454487398266792,
-0.02181467041373253,
0.001404506154358387,
-0.02314944937825203,
-0.04498404264450073,
0.06673894822597504,
0.037433575838804245,
-0.026795189827680588,
0.04183635488152504,
-0.06984678655862808,
-0.053670067340135574,
0.0413980670273304,
-0.03852929174900055,
0.026615889742970467,
0.033269863575696945,
-0.007973809726536274,
0.012092698365449905,
0.040441811084747314,
0.006808368489146233,
-0.005578180775046349,
-0.011066711507737637,
-0.05048253387212753,
-0.007739725522696972,
-0.006898018065840006,
-0.02444438450038433,
-0.05546305328607559,
0.02731316350400448,
-0.010757919400930405,
-0.01179386768490076,
0.021635372191667557,
0.011246010661125183,
0.008018634282052517,
0.03922656178474426,
-0.034086667001247406,
0.0413980670273304,
0.008332407101988792,
0.005583161022514105,
-0.04038204252719879,
-0.00898983608931303,
-0.003787684254348278,
-0.012102659791707993,
0.015021243132650852,
0.007605251390486956,
0.001556411967612803,
0.012780009768903255,
0.0032373368740081787,
-0.02456391602754593,
0.004684177692979574,
-0.03617848455905914,
0.03621833026409149,
-0.0031974927987903357,
0.008018634282052517,
-0.032492902129888535,
0.039366018027067184,
0.05709666386246681,
0.012032932601869106,
0.0038374895229935646,
0.023209216073155403,
-0.009263764135539532,
-0.02719363011419773,
0.04633874446153641,
-0.008073420263826847,
0.021794747561216354,
0.049327053129673004,
-0.016256412491202354,
-0.02474321611225605,
-0.04466528818011284,
-0.02225295640528202,
0.02980342134833336,
-0.04621921107172966,
-0.012720244005322456,
0.027851058170199394,
0.016286294907331467,
0.020499814301729202,
-0.03177570551633835,
-0.04562154784798622,
-0.003966982942074537,
0.08423052728176117,
0.05406850948929787,
-0.04358949512243271,
0.004360443912446499,
0.045422326773405075,
-0.02856825292110443,
-0.016077114269137383,
0.009273725561797619,
0.02366742305457592,
0.022352566942572594,
-0.016375944018363953,
-0.007894122041761875,
0.021635372191667557,
-0.03277181088924408,
0.03402690216898918,
-0.011514958925545216,
0.01283977646380663,
-0.008222836069762707,
-0.020420124754309654,
0.037692561745643616,
0.007122141309082508,
0.02229280024766922,
-0.038648821413517,
-0.026097916066646576,
-0.0024765627458691597,
0.005687751807272434,
0.05538336560130119,
0.019035540521144867,
0.009721972048282623,
0.040222667157649994,
-0.06701785326004028,
0.06163889542222023,
0.010020802728831768,
0.006210706662386656,
-0.011823751032352448,
-0.04741453379392624,
-0.01114640012383461,
-0.010867491364479065,
0.026018228381872177,
0.0008883999544195831,
-0.023089682683348656,
-0.036098796874284744,
-0.017142944037914276,
-0.06227640062570572,
-0.010429205372929573,
-0.014752295799553394,
-0.057455260306596756,
0.009094426408410072,
0.018856242299079895,
-0.06227640062570572,
-0.0062306285835802555,
-0.016326138749718666,
0.006290394812822342,
-0.022830696776509285,
-0.005443706642836332,
-0.035242147743701935,
-0.010075588710606098,
0.002126681385561824,
-0.0635514110326767,
0.0006624089437536895,
-0.05008409172296524,
-0.02233264409005642,
-0.04346996545791626,
0.034983161836862564,
-0.08733837306499481,
-0.04936689883470535,
-0.06570299714803696,
0.04506373032927513,
0.03340931609272957,
-0.008606336079537868,
-0.027094019576907158,
-0.005578180775046349,
-0.009876367636024952,
-0.07506637275218964,
-0.027890903875231743,
-0.046458274126052856,
-0.0005363395903259516,
-0.00597164174541831,
0.0016348551725968719,
0.03737381100654602,
0.022651398554444313,
0.06538424640893936,
0.008775673806667328,
-0.02006152831017971,
0.05518414452672005,
0.004816161468625069,
-0.048171572387218475,
-0.018308386206626892,
0.016067152842879295,
-0.0012015500105917454,
-0.0067934272810816765,
0.05450679361820221,
-0.04038204252719879,
0.06793426722288132,
0.02221311256289482,
-0.00022209998860489577,
-0.01931445114314556,
-0.015987463295459747,
0.004641843028366566,
-0.030600305646657944,
-0.029564356431365013,
-0.04944658651947975,
-0.047055937349796295,
0.011614568531513214,
-0.02083848975598812,
-0.02615768276154995,
0.00665895314887166,
0.0823180079460144,
-0.001329798367805779,
0.012172386981546879,
0.031377267092466354,
-0.03564058989286423,
0.06060294806957245,
-0.08052501827478409,
0.003675622632727027,
-0.10271821171045303,
-0.01743181422352791,
0.018756631761789322,
0.030162019655108452,
0.0064298491925001144,
0.0065294597297906876,
-0.08399146050214767,
0.03878827765583992,
0.014831983484327793,
0.059248246252536774,
0.014164594002068043,
-0.030221786350011826,
-0.08654148876667023,
0.0384894460439682,
0.053590379655361176,
-0.00042925841989926994,
0.01834823004901409,
0.031596407294273376,
0.03564058989286423,
-0.004347992595285177,
-0.012242114171385765,
-0.0825570747256279,
-0.0441473163664341,
0.024802980944514275,
0.02719363011419773,
0.039664849638938904,
-0.05610055848956108,
-0.028070202097296715,
-0.07335307449102402,
-0.02099786512553692,
-0.045462172478437424,
0.0523153655230999,
-0.06359125673770905,
-0.06733661144971848,
-0.004206047859042883,
0.014951515942811966,
-0.0005712031852453947,
-0.055263832211494446,
0.022093579173088074,
-0.007311400957405567,
0.04251370579004288,
-0.026775266975164413,
0.036278095096349716,
0.004121378995478153,
0.01864706166088581,
0.03444526344537735,
0.03649723902344704,
0.014164594002068043,
0.03237336874008179,
-0.005852109286934137,
-0.0023719719611108303,
-0.014513230882585049,
0.02418539673089981,
-0.0028488566167652607,
-0.008058479055762291,
-0.10925265401601791,
-0.00954765360802412,
-0.01682419143617153,
-0.00012902654998470098,
0.038648821413517,
0.0030854311771690845,
0.07247650623321533,
-0.016067152842879295,
-0.017551347613334656,
0.03912695124745369,
-0.058690428733825684,
-0.035321835428476334,
-0.02400609850883484,
0.0066191088408231735,
0.0033568693324923515,
-0.0497254952788353,
-0.03217414766550064,
0.025918617844581604,
-0.017342165112495422,
-0.05335131287574768,
0.03777225315570831,
0.002357030287384987,
-0.03964492678642273,
0.038648821413517,
0.09196028858423233,
-0.02289046160876751,
0.00239189388230443,
-0.015818126499652863,
0.06406939029693604,
0.0013173471670597792,
-0.022432254627346992,
0.007475757971405983,
-0.07072336226701736,
0.016953684389591217,
0.007669998332858086,
-0.06116076558828354,
-0.0577341690659523,
-0.025320954620838165,
0.002086837310343981,
0.010887413285672665,
0.009926172904670238,
0.03480386361479759,
-0.020270708948373795,
0.05462632700800896,
-0.007595290429890156,
-0.08614304661750793,
0.06450767070055008,
-0.04058126360177994,
-0.023567812517285347,
0.07913047820329666,
0.007052414119243622,
0.008910147473216057,
0.044266846030950546,
-0.03944570571184158,
0.003449009032920003,
-0.001477968879044056,
0.00836229044944048,
-0.055263832211494446,
0.012421413324773312,
-0.027631916105747223,
0.005862070247530937,
0.019493749365210533,
-0.0027392851188778877,
-0.0440676249563694,
0.005149856209754944,
0.004860986024141312,
-0.04291214793920517,
-0.05048253387212753,
0.05984590947628021,
-0.0372343547642231,
0.006006505340337753,
-0.07371167093515396,
0.05570211634039879,
0.002761697396636009,
0.05610055848956108,
0.09801660478115082,
0.07781562209129333,
-0.056459154933691025,
-0.02998272143304348,
0.015698593109846115,
0.026177603751420975,
-0.009577536955475807,
-0.0662209689617157,
-0.006952803581953049,
-0.0370749793946743,
0.024285007268190384,
-0.013457360677421093,
-0.035023003816604614,
-0.00583218690007925,
-0.0046717263758182526,
0.03512261435389519,
-0.08168049901723862,
-0.029305370524525642,
-0.08383208513259888,
-0.03753318637609482,
0.029624123126268387,
0.03378783538937569,
0.02006152831017971,
-0.06494595855474472,
-0.01864706166088581,
-0.06821317970752716,
0.022531865164637566,
0.031377267092466354,
0.044824667274951935,
-0.023846721276640892,
-0.019254684448242188,
0.05343100056052208,
-0.04084024950861931,
0.004803710151463747,
0.015698593109846115,
0.04880908131599426,
0.033747993409633636,
-0.027592072263360023,
-0.007112180348485708,
-0.001976020634174347,
0.022970151156187057,
-0.010279789566993713,
-0.018716787919402122,
-0.02623737044632435,
-0.031118279322981834,
-0.03235344588756561,
-0.07315385341644287,
0.004123869352042675,
0.004522310569882393,
0.01947382651269436,
0.03251282498240471,
-0.0023321276530623436,
-0.057455260306596756,
0.0685717761516571,
-0.0663006603717804,
-0.014443503692746162,
0.05279349535703659,
-0.05243489891290665,
-0.06948819011449814,
-0.030361240729689598,
0.018178891390562057,
-0.07594294100999832,
0.009054582566022873,
0.007331322878599167,
0.1099698469042778,
0.007445875089615583,
0.058013077825307846,
0.005936778150498867,
-0.05518414452672005,
0.05004424974322319,
0.022711163386702538,
0.005114992614835501,
0.025998305529356003,
-0.018288463354110718,
-0.006653972435742617,
-0.019702930003404617,
-0.051438793540000916,
0.013576893135905266,
0.05741541460156441,
-0.049247365444898605,
-0.04402778297662735,
-0.010449127294123173,
0.02440454065799713,
-0.041119158267974854,
-0.03253274783492088,
0.026177603751420975,
0.0028936811722815037,
0.011724140495061874,
-0.025838930159807205,
-0.022472098469734192,
-0.013805996626615524,
0.006858173757791519,
0.003566051134839654,
-0.020559579133987427,
0.012451295740902424,
0.05434741824865341,
-0.06163889542222023,
0.05833183228969574,
0.0006178955663926899,
0.0358995757997036,
0.007809452712535858,
-0.009184075519442558,
-0.05546305328607559,
0.00583218690007925,
0.06952803581953049,
-0.0038100965321063995,
-0.022312723100185394,
-0.005020362325012684,
0.001785515807569027,
-0.0032373368740081787,
0.01235168520361185,
-0.0038449601270258427,
-0.0036905640736222267,
-0.012550906278192997,
0.006081212777644396,
-0.0003962625050917268,
-0.006484635174274445,
-0.04187619686126709,
-0.004407758824527264,
-0.03811092674732208,
-0.003932119347155094,
0.04450591281056404,
0.015439607203006744,
-0.007042453158646822,
-0.04119884967803955,
0.005294290836900473,
0.018547451123595238,
0.07327338308095932,
-0.02289046160876751,
0.006006505340337753,
-0.016356023028492928,
0.007435914129018784,
-0.04446606710553169,
0.08885245025157928,
-0.014503269456326962,
-0.025022124871611595,
-0.02809012308716774,
0.011704218573868275,
0.07084289193153381,
0.0017145434394478798,
0.02741277404129505,
0.016116958111524582,
0.02649635821580887,
-0.012341724708676338,
0.021236930042505264,
0.03378783538937569,
0.03701521083712578,
0.01823865808546543,
-0.0771382674574852,
0.022233033552765846,
-0.024245163425803185,
0.007216771133244038,
-0.04446606710553169,
0.01834823004901409,
0.010379400104284286,
0.025540098547935486,
-0.00332947657443583,
-0.05072160065174103,
-0.007520582992583513,
0.060244351625442505,
-0.03500308468937874,
-0.015688633546233177,
0.0009593723807483912,
-0.04058126360177994,
0.020519735291600227,
-0.023169372230768204,
0.013885685242712498,
0.01600738614797592,
0.02259163185954094,
-0.06394985318183899,
-0.05622009187936783,
0.017103100195527077,
0.017710722982883453,
-0.013905607163906097,
-0.044346537441015244,
0.008207893930375576,
0.023567812517285347,
-0.019702930003404617,
-0.014094866812229156,
-0.04343011975288391,
-0.08327426761388779,
0.03759295120835304,
0.04167697951197624,
-0.03400697931647301,
-0.020459970459342003,
0.07913047820329666,
-0.0034365577157586813,
0.018696866929531097,
0.07817421853542328,
-0.048211418092250824,
-0.02749246172606945,
-0.020390242338180542,
-0.0005515923839993775,
0.009283686056733131,
-0.015250347554683685,
-0.00507016759365797,
-0.016246451064944267,
0.0604037269949913,
-0.047095783054828644,
0.055303677916526794,
-0.012212230823934078,
-0.004731492605060339,
0.054785702377557755,
-0.0024317381903529167,
-0.04825126379728317,
0.02727331779897213,
0.038648821413517,
0.05179738998413086,
0.028628019616007805,
0.00447748601436615,
-0.011763984337449074,
0.00046661231317557395,
0.036576926708221436,
0.039883989840745926,
0.010409283451735973,
-0.03101866878569126,
0.007057394366711378,
0.024245163425803185,
-0.0015016263350844383,
-0.04741453379392624,
0.06450767070055008,
-0.008770693093538284,
0.026217449456453323,
0.016555242240428925,
-0.03500308468937874,
0.02478305995464325,
-0.003267219988629222,
0.048131730407476425,
-0.016873996704816818,
0.02856825292110443,
-0.07610232383012772,
0.0004566512943711132,
0.0384894460439682,
0.03430581092834473,
0.025998305529356003,
0.004313129000365734,
-0.003633288200944662,
-0.0036507199984043837,
0.0016248940955847502,
0.01905546337366104,
0.0060563101433217525,
-0.02890692837536335,
0.09315561503171921,
-0.023607656359672546,
-0.013387633487582207,
0.015967542305588722,
-0.036278095096349716,
-0.0219541247934103,
0.032413214445114136,
-0.01261067297309637,
-0.037393733859062195,
0.012949347496032715,
0.009433101862668991,
-0.008402134291827679,
-0.026695579290390015,
-0.0037901746109128,
0.003797645214945078,
0.001636100234463811,
-0.03827030211687088,
-0.017521463334560394,
0.034425344318151474,
-0.002609791699796915,
0.023388514295220375,
-0.026396747678518295,
0.05339115858078003,
0.06255531311035156,
-0.05175754800438881,
0.006091174203902483,
0.017411891371011734,
0.02091817744076252,
0.016664814203977585,
-0.06777489185333252,
0.03952539339661598,
-0.003267219988629222,
-0.03504292666912079,
-0.007540504913777113,
0.051518481224775314,
-0.024304930120706558,
0.010578621178865433,
0.02522134594619274,
0.03287142142653465,
0.007904082536697388,
0.03161633014678955,
0.06546393036842346,
0.018049398437142372,
-0.010887413285672665,
0.025759240612387657,
0.0151606984436512,
0.045940302312374115,
0.006260511465370655,
0.06406939029693604,
-0.03488355129957199,
0.03466440737247467,
-0.019224800169467926,
-0.0410793162882328,
0.08319457620382309,
0.04175666719675064,
-0.03109835647046566,
0.06642019003629684,
-0.012122581712901592,
-0.018716787919402122,
-0.06287406384944916,
-0.042075417935848236,
-0.06984678655862808,
0.0058869728818535805,
0.018676944077014923,
-0.005149856209754944,
0.019663086161017418,
0.002736794762313366,
0.010618465021252632,
-0.03719451278448105,
-0.03986407071352005,
-0.05135910585522652,
0.056339625269174576,
-0.037692561745643616,
0.029404981061816216,
0.058013077825307846,
0.06279437243938446,
-0.005677790846675634,
0.04350980743765831,
0.03753318637609482,
-0.0005077015957795084,
0.001981001114472747,
0.02151583880186081,
0.018288463354110718,
0.017113061621785164,
0.014383736997842789,
0.018746670335531235,
0.011216127313673496,
-0.0010739242425188422,
0.07319369912147522,
0.01419447734951973,
-0.0021391327027231455,
0.017003489658236504,
-0.031935084611177444,
-0.04119884967803955,
-0.007869219407439232,
-0.013935490511357784,
-0.04884892329573631,
0.025659630075097084,
-0.01842791773378849,
0.00220636953599751,
0.043111369013786316,
-0.030301474034786224,
-0.09538688510656357,
0.003638268681243062,
0.013796036131680012,
0.05546305328607559,
-0.005941758397966623,
0.057056818157434464,
0.035321835428476334,
0.0007190623437054455,
0.062356092035770416,
0.009741893969476223,
-0.03771248459815979,
0.015270269475877285,
-0.011385465040802956,
0.03920663893222809,
0.03599918633699417,
0.045900456607341766,
0.0029658987186849117,
0.03866874426603317,
0.03874843195080757,
0.007924004457890987,
0.043111369013786316,
-0.012182348407804966,
0.017172828316688538,
0.03912695124745369,
-0.0002563410671427846,
0.02143615111708641,
0.009348433464765549,
0.02040020376443863,
-0.004427680745720863,
0.0007327587809413671,
0.02017110027372837,
0.007665017619729042,
0.009487887844443321,
-0.01834823004901409,
0.015250347554683685,
-0.03402690216898918,
-0.002918583806604147,
0.02099786512553692,
-0.08311489224433899,
0.05821229889988899,
-0.013945451937615871,
-0.018935931846499443,
0.014184515923261642,
0.004714060574769974,
0.05681775510311127,
-0.048211418092250824,
-0.00296340836212039,
-0.04020274430513382,
0.047534067183732986,
0.063152976334095,
-0.03398705646395683,
-0.0057774013839662075,
-0.015210502780973911,
0.04916767776012421,
-0.011345621198415756,
0.03101866878569126,
0.025699475780129433,
-0.03944570571184158,
0.05566227436065674,
0.02087833359837532,
0.057495106011629105,
0.01043916679918766,
0.011265932582318783,
0.029624123126268387,
-0.03201477229595184,
-0.05299271643161774,
-0.014592918567359447,
0.03757303208112717,
0.03737381100654602,
0.03364838287234306,
0.01185363344848156
] |
719,545
|
ibm_platform_services.global_search_v2
|
__init__
|
Construct a new client for the global_search 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 authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the global_search 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.0014766375534236431,
-0.09314963966608047,
-0.020951537415385246,
-0.004045429639518261,
-0.004281691741198301,
-0.01751905120909214,
-0.029777929186820984,
0.006231967825442553,
0.03364727646112442,
-0.014933542348444462,
-0.003423570189625025,
-0.007832308299839497,
-0.04158211499452591,
-0.03550171107053757,
-0.0036665189545601606,
0.060269102454185486,
-0.008777356706559658,
0.016538340598344803,
-0.012553091160953045,
-0.07603178918361664,
0.001696182880550623,
0.025070520117878914,
0.018455183133482933,
0.027834339067339897,
0.05545470491051674,
0.04953478276729584,
-0.026996277272701263,
-0.026782305911183357,
0.02544497326016426,
-0.029760098084807396,
-0.012624415569007397,
-0.026639657095074654,
-0.019828177988529205,
0.04582591354846954,
0.033076681196689606,
-0.03698169067502022,
0.05577566474676132,
0.03855082765221596,
-0.06205221265554428,
0.021860923618078232,
-0.022859463468194008,
-0.047216739505529404,
0.059591520577669144,
-0.011438647285103798,
0.046075548976659775,
0.04151079058647156,
0.016582919284701347,
0.015842927619814873,
0.03557303547859192,
0.010868052951991558,
-0.06722322851419449,
0.013382237404584885,
-0.019899502396583557,
-0.007074486929923296,
-0.040654897689819336,
0.011010701768100262,
0.01416680496186018,
0.008202304132282734,
-0.06108933314681053,
0.036482419818639755,
-0.04211704805493355,
-0.03131140395998955,
0.004974875599145889,
0.008099774830043316,
-0.017198091372847557,
0.022039232775568962,
-0.03869347646832466,
0.03393257409334183,
-0.0029399017803370953,
0.002052804920822382,
0.02788783237338066,
0.018865298479795456,
-0.018972285091876984,
-0.029242996126413345,
0.024606911465525627,
0.03453883156180382,
-0.01011023111641407,
-0.01866915635764599,
0.001633774139918387,
-0.026390021666884422,
0.014487764798104763,
-0.012838388793170452,
-0.017296161502599716,
0.012758148834109306,
0.023840174078941345,
0.014380778186023235,
-0.006566300988197327,
-0.01796482875943184,
0.037694934755563736,
0.02849408984184265,
-0.04279462993144989,
0.02589075081050396,
-0.006726780906319618,
0.011804184876382351,
0.022360192611813545,
-0.019114933907985687,
-0.0008993558585643768,
-0.027352899312973022,
-0.022716814652085304,
0.0441141277551651,
-0.0244999248534441,
0.0003095366701018065,
0.018232295289635658,
0.006945211440324783,
0.021753937005996704,
-0.02614038623869419,
-0.01611931063234806,
-0.032470423728227615,
0.053635936230421066,
0.06768684089183807,
0.02178959921002388,
0.01856216974556446,
0.022948618978261948,
0.037873245775699615,
-0.022556334733963013,
0.046432171016931534,
0.06961259245872498,
0.011866593733429909,
0.05064031109213829,
0.028440596535801888,
-0.017224837094545364,
-0.018062898889183998,
0.015067275613546371,
0.012695739977061749,
0.051032595336437225,
0.009691200219094753,
0.003423570189625025,
0.02790566347539425,
-0.0025364733301103115,
0.02858324535191059,
0.06629601120948792,
-0.048072632402181625,
0.003046888392418623,
-0.019239751622080803,
0.06461989134550095,
0.02754904143512249,
0.044328100979328156,
0.029760098084807396,
-0.05238775908946991,
0.0979996994137764,
-0.013801267370581627,
0.004604880232363939,
-0.03826553001999855,
0.013096939772367477,
0.0022077125031501055,
0.02676447480916977,
-0.031846337020397186,
-0.005090777762234211,
0.019471555948257446,
-0.007190389093011618,
-0.03815854340791702,
-0.025855088606476784,
0.006089319009333849,
-0.013614040799438953,
-0.05937754735350609,
0.019311076030135155,
0.020808888599276543,
-0.07260821759700775,
0.0273885615170002,
-0.011501056142151356,
-0.007007620297372341,
-0.026960615068674088,
0.03017021343111992,
-0.0618739016354084,
-0.028868542984128,
-0.0026858088094741106,
-0.06180257722735405,
-0.02893986739218235,
-0.05659589543938637,
-0.008933378383517265,
-0.03592965751886368,
-0.04019128903746605,
-0.10049605369567871,
-0.0743200033903122,
0.01463932916522026,
0.002587737748399377,
0.047822996973991394,
0.015120768919587135,
-0.0058664302341639996,
0.011625873856246471,
0.003902781056240201,
-0.025855088606476784,
-0.04621819779276848,
-0.05559735372662544,
0.014585835859179497,
-0.006775815971195698,
0.045897237956523895,
0.03236343711614609,
0.03179284185171127,
0.04104718193411827,
-0.010368782095611095,
-0.01011023111641407,
0.04422111436724663,
0.011269251815974712,
-0.00963770691305399,
-0.023608369752764702,
0.026817968115210533,
-0.008906631730496883,
-0.05406387895345688,
0.06754419207572937,
-0.039977315813302994,
0.06864971667528152,
0.009290000423789024,
0.006530638784170151,
0.020862381905317307,
0.0058887191116809845,
0.022467179223895073,
-0.04186741262674332,
-0.021236835047602654,
-0.045647602528333664,
-0.044756047427654266,
-0.035180751234292984,
-0.011946833692491055,
-0.02073756419122219,
-0.026568332687020302,
0.0627654567360878,
0.010957208462059498,
-0.0015747086144983768,
0.03594748675823212,
0.025516297668218613,
0.0762457624077797,
-0.009744693525135517,
0.0587712898850441,
-0.08908414840698242,
-0.01298995316028595,
0.024178965017199516,
-0.013016699813306332,
-0.028351441025733948,
-0.04329390078783035,
-0.05816503241658211,
0.033593785017728806,
0.029581787064671516,
0.034039560705423355,
0.020630577579140663,
-0.006526181008666754,
-0.1274566650390625,
0.02353704534471035,
0.003405739087611437,
-0.033593785017728806,
0.017938081175088882,
0.059306222945451736,
0.05720215290784836,
-0.016422439366579056,
0.012686824426054955,
-0.07403470575809479,
-0.02729940600693226,
-0.013774520717561245,
0.0211655106395483,
0.06996921449899673,
-0.004295065067708492,
-0.051817163825035095,
-0.038229867815971375,
-0.03362944722175598,
-0.03321933001279831,
0.050426337867975235,
-0.04472038522362709,
-0.09678718447685242,
0.041617777198553085,
0.015495222061872482,
0.017563628032803535,
-0.03673205524682999,
0.054955434054136276,
-0.014657160267233849,
0.04400714486837387,
-0.02510618232190609,
0.025427142158150673,
0.028048312291502953,
0.0068738870322704315,
0.0846620425581932,
0.021825261414051056,
0.11982496082782745,
0.028618907555937767,
0.026889292523264885,
0.017643868923187256,
-0.007292917929589748,
-0.04008430242538452,
0.015932083129882812,
-0.004163560923188925,
-0.07617443799972534,
-0.006049199029803276,
-0.003735614474862814,
0.017759770154953003,
0.044506411999464035,
0.03776625916361809,
-0.01988167129456997,
-0.00893783662468195,
0.009771440178155899,
-0.009717946872115135,
-0.03321933001279831,
-0.03592965751886368,
0.016805807128548622,
0.028654569759964943,
0.01874048076570034,
-0.031614530831575394,
-0.028297947719693184,
-0.03905009850859642,
-0.012597668915987015,
-0.039442382752895355,
0.01303453091531992,
-0.03592965751886368,
-0.019846009090542793,
-0.001714013982564211,
0.003550616791471839,
0.007484602276235819,
0.004805480130016804,
-0.022110557183623314,
0.019150596112012863,
0.0392284095287323,
-0.012882966548204422,
0.01630653627216816,
-0.04201006144285202,
0.015450644306838512,
-0.027673859149217606,
-0.04315125197172165,
0.0024138845037668943,
0.0201313067227602,
0.009744693525135517,
-0.06358568370342255,
0.021201172843575478,
0.040405262261629105,
-0.03680337965488434,
0.04957044497132301,
-0.02519533783197403,
-0.07171666622161865,
-0.026122555136680603,
-0.018348196521401405,
0.010208302177488804,
0.08223701268434525,
-0.013533800840377808,
0.009298915974795818,
0.00001561962199048139,
-0.008220135234296322,
0.021664781495928764,
0.0010631791083142161,
-0.022805970162153244,
-0.057309139519929886,
0.019988657906651497,
-0.04593290016055107,
-0.03669639304280281,
-0.007154726888984442,
0.01752796582877636,
-0.052851367741823196,
-0.03532340005040169,
0.010431190952658653,
-0.02997407130897045,
-0.025427142158150673,
0.003191766096279025,
-0.07317881286144257,
0.02250284142792225,
-0.1332339495420456,
0.03755228593945503,
0.013435730710625648,
0.024945702403783798,
0.05763009935617447,
0.05577566474676132,
0.025231000036001205,
-0.01570027880370617,
0.0013774520484730601,
0.016351114958524704,
-0.03120441734790802,
-0.029314320534467697,
0.034217871725559235,
-0.01997082680463791,
0.00945939589291811,
-0.06490518897771835,
-0.039014436304569244,
0.02127249725162983,
-0.004087778739631176,
0.04907117411494255,
-0.009200844913721085,
0.0024384022690355778,
-0.11212192475795746,
0.014746315777301788,
0.03776625916361809,
0.02230669930577278,
0.03815854340791702,
-0.0411541685461998,
-0.035252075642347336,
-0.05253040790557861,
-0.01907927170395851,
0.007355326786637306,
0.07481927424669266,
-0.009098316542804241,
0.012481766752898693,
0.04069055989384651,
-0.02649700827896595,
0.0015602208441123366,
0.05031935125589371,
0.05484844744205475,
0.05902092531323433,
-0.05934188514947891,
-0.0451483316719532,
-0.006205221172422171,
0.018615663051605225,
0.022788139060139656,
-0.013997409492731094,
-0.03740963712334633,
-0.02268115244805813,
-0.021486470475792885,
-0.028297947719693184,
0.04803697019815445,
-0.016609665006399155,
0.06059006229043007,
0.018062898889183998,
-0.0060135368257761,
-0.01856216974556446,
0.020327448844909668,
-0.06508349627256393,
0.015575462020933628,
-0.0055276392959058285,
-0.0402626134455204,
-0.02170044369995594,
-0.03017021343111992,
0.01364970300346613,
-0.06686660647392273,
0.00788580160588026,
-0.06340737640857697,
0.059591520577669144,
0.027513379231095314,
0.012223215773701668,
-0.0004641656996682286,
-0.027477717027068138,
0.021932248026132584,
0.003753445576876402,
0.014095480553805828,
0.05014104023575783,
0.002110756002366543,
-0.0016438041348010302,
-0.003822541097179055,
-0.06280111521482468,
0.017126766964793205,
0.06358568370342255,
-0.008126521483063698,
-0.04325823858380318,
-0.008304832503199577,
0.06330038607120514,
-0.05124656856060028,
-0.046860117465257645,
0.021040692925453186,
-0.0147284846752882,
-0.047038428485393524,
-0.07510457187891006,
-0.02589075081050396,
-0.016841469332575798,
0.007653997745364904,
-0.02972443588078022,
-0.05395689234137535,
0.038408178836107254,
0.0765310600399971,
-0.05795105919241905,
0.045469291508197784,
-0.051995474845170975,
0.009940835647284985,
-0.013016699813306332,
-0.013096939772367477,
-0.05987681820988655,
-0.00449120718985796,
0.06265846639871597,
0.011269251815974712,
-0.013150433078408241,
-0.012954290956258774,
-0.02683579921722412,
0.030705146491527557,
-0.03591182455420494,
-0.005135355517268181,
0.0093256626278162,
-0.009780355729162693,
0.020862381905317307,
0.013293081894516945,
-0.02779867686331272,
-0.034841958433389664,
0.007801104336977005,
0.00006665765249636024,
0.024553418159484863,
0.03206031024456024,
0.03528773784637451,
-0.0035127256996929646,
-0.039977315813302994,
-0.04653915762901306,
0.0018934394465759397,
0.02039877325296402,
0.023554876446723938,
0.006682203151285648,
0.010038906708359718,
-0.031240079551935196,
-0.035697851330041885,
0.03288054093718529,
-0.036054473370313644,
0.029242996126413345,
-0.053635936230421066,
0.023430058732628822,
0.13137951493263245,
-0.0009350180625915527,
0.027138926088809967,
0.09578864276409149,
0.02936781384050846,
0.012196469120681286,
0.02310909889638424,
0.05238775908946991,
0.06768684089183807,
0.014942457899451256,
-0.0412968173623085,
-0.00549197755753994,
-0.015076191164553165,
0.030402017757296562,
-0.05153186619281769,
-0.06850706785917282,
-0.008830850012600422,
0.01146539393812418,
0.021290328353643417,
0.0062497989274561405,
-0.01364970300346613,
-0.009949751198291779,
-0.03610796853899956,
0.005928839091211557,
-0.02956395596265793,
-0.07802887260913849,
-0.0294569693505764,
-0.047466374933719635,
0.0002975563984364271,
-0.004464460536837578,
0.018900960683822632,
-0.04753769934177399,
-0.015227755531668663,
-0.006575216539204121,
-0.032416932284832,
-0.030544666573405266,
-0.025748101994395256,
0.014050902798771858,
0.009495058096945286,
-0.017144598066806793,
-0.012098398059606552,
-0.04297294095158577,
-0.01788458786904812,
0.029653111472725868,
0.01681472361087799,
-0.061588604003190994,
-0.021860923618078232,
0.05770142376422882,
-0.027513379231095314,
0.013337659649550915,
0.0510682575404644,
-0.021308159455657005,
-0.0315253771841526,
0.005697034765034914,
0.002186537953093648,
-0.03662506863474846,
-0.01394391618669033,
-0.02371535636484623,
-0.003387907985597849,
0.07000488042831421,
-0.019418062642216682,
0.024250289425253868,
0.00638353219255805,
-0.03794457018375397,
0.0244999248534441,
-0.009254338219761848,
-0.06330038607120514,
0.035448215901851654,
0.028547583147883415,
0.03129357099533081,
0.034824129194021225,
-0.05014104023575783,
0.02729940600693226,
0.006450398825109005,
0.002073979238048196,
0.023822342976927757,
-0.030526835471391678,
-0.044684723019599915,
0.02947480045258999,
0.017938081175088882,
-0.03272005915641785,
-0.03017021343111992,
0.09928353875875473,
-0.04814395681023598,
0.05088994652032852,
0.024910040199756622,
-0.017474472522735596,
0.038051556795835495,
-0.02763819694519043,
0.010279626585543156,
-0.013979578390717506,
-0.0171713437885046,
-0.05638192221522331,
-0.02918950282037258,
0.029956240206956863,
0.0009322319529019296,
-0.03498460724949837,
-0.03313017636537552,
-0.02310909889638424,
-0.009044823236763477,
-0.038408178836107254,
0.01899011619389057,
-0.0012414900120347738,
-0.07036150246858597,
0.021771768108010292,
-0.02474956028163433,
-0.018776142969727516,
0.05677420645952225,
-0.016529425978660583,
-0.025730270892381668,
0.06643866002559662,
-0.003880492178723216,
-0.0020227148197591305,
0.02860107645392418,
0.008443024009466171,
-0.07553251832723618,
-0.009923004545271397,
-0.02501702681183815,
0.02526666224002838,
-0.0058931768871843815,
-0.007939294911921024,
-0.012401526793837547,
0.022164050489664078,
0.0014075420331209898,
0.025498466566205025,
0.0002535358944442123,
0.03243476152420044,
0.019649866968393326,
0.005055115558207035,
0.019632035866379738,
0.02849408984184265,
0.018811805173754692,
0.029314320534467697,
-0.09122388064861298,
-0.01220538467168808,
0.0352342426776886,
-0.03268439695239067,
0.01734074018895626,
-0.000012572315426950809,
-0.03862215206027031,
-0.00004973203976987861,
-0.015058360062539577,
0.0014064275892451406,
0.04404280707240105,
0.02082671970129013,
0.04479170963168144,
0.003849287750199437,
0.017590375617146492,
0.03407522290945053,
0.01612822525203228,
0.019239751622080803,
0.04386449605226517,
0.05848599225282669,
-0.03268439695239067,
0.02055925317108631,
-0.046325184404850006,
-0.010725404135882854,
0.031222248449921608,
0.022823801264166832,
-0.04382883384823799,
0.04675313085317612,
0.006454856600612402,
0.011661536060273647,
-0.034663647413253784,
-0.07481927424669266,
-0.02936781384050846,
0.03270222991704941,
0.023644031956791878,
0.0007277315598912537,
-0.019221920520067215,
0.05763009935617447,
0.0309369508177042,
0.011037447489798069,
-0.019239751622080803,
-0.05124656856060028,
0.02631869725883007,
-0.03104393742978573,
0.039977315813302994,
0.029314320534467697,
0.06073271110653877,
0.03266656771302223,
0.0019959681667387486,
0.05777274817228317,
-0.013640787452459335,
-0.0013752232771366835,
0.01979251578450203,
-0.001984823727980256,
0.04439942538738251,
0.032042477279901505,
-0.04472038522362709,
-0.0024562333710491657,
0.014318369328975677,
0.023768849670886993,
-0.01849084533751011,
0.00651726545765996,
0.030526835471391678,
0.011278167366981506,
-0.03880046308040619,
-0.03951370716094971,
-0.040048640221357346,
-0.042402345687150955,
0.00651726545765996,
-0.01595883071422577,
0.009673369117081165,
0.06073271110653877,
-0.016957372426986694,
-0.1447884887456894,
0.01997082680463791,
0.035787008702754974,
0.0765310600399971,
-0.00470740906894207,
-0.014880049042403698,
0.031614530831575394,
0.00309592392295599,
0.04575458914041519,
0.03548387810587883,
-0.022110557183623314,
0.023483552038669586,
0.001386367599479854,
0.05755877494812012,
0.015388235449790955,
0.024553418159484863,
-0.00008957339014159516,
0.035180751234292984,
0.05759443715214729,
-0.007159184664487839,
0.04479170963168144,
-0.026782305911183357,
-0.01779543235898018,
0.015744857490062714,
-0.022716814652085304,
0.00749797560274601,
-0.019721191376447678,
0.07367808371782303,
-0.01604798622429371,
-0.05360027402639389,
-0.008906631730496883,
0.0007789959781803191,
0.04261631891131401,
-0.04400714486837387,
-0.0636570081114769,
-0.05256607010960579,
0.05502675846219063,
0.01455017365515232,
-0.031329233199357986,
0.04778733476996422,
0.029831422492861748,
-0.0025409311056137085,
0.025052689015865326,
-0.01459475141018629,
0.03519858047366142,
-0.015218839980661869,
0.0196855291724205,
-0.029956240206956863,
0.04140380397439003,
0.04664614424109459,
-0.07838549464941025,
-0.01682363823056221,
0.02683579921722412,
-0.00011172295489814132,
0.0002377943746978417,
0.009735777974128723,
0.030491173267364502,
-0.04525531828403473,
-0.005081862211227417,
-0.007315206807106733,
0.03837251663208008,
0.010957208462059498,
0.005812936928123236,
0.019846009090542793,
-0.04507700726389885,
0.014674991369247437,
-0.06490518897771835,
0.028190961107611656,
0.03437834978103638,
0.04953478276729584,
-0.015575462020933628
] |
719,558
|
ibm_platform_services.global_search_v2
|
search
|
Find instances of resources (v3).
Find IAM-enabled resources or storage and network resources that run on classic
infrastructure in a specific account ID. You can apply query strings if necessary.
To filter results, you can insert a string by using the Lucene syntax and the
query string is parsed into a series of terms and operators. A term can be a
single word or a phrase, in which case the search is performed for all the words,
in the same order. To filter for a specific value regardless of the property that
contains it, type the search term without specifying a field. Only resources that
belong to the account ID and that are accessible by the client are returned.
You must use `/v3/resources/search` when you need to fetch more than `10000`
resource items. On the first call, the operation returns a live cursor on the data
that you must use on all the subsequent calls to get the next batch of results
until you get the empty result set.
By default, the fields that are returned for every resource are `crn`, `name`,
`family`, `type`, and `account_id`. You can specify the subset of the fields you
want in your request using the `fields` request body attribute. Set `"fields":
["*"]` to discover the set of fields which are available to request.
:param str query: (optional) The Lucene-formatted query string. Default to
'*' if not set.
:param List[str] fields: (optional) The list of the fields returned by the
search. By default, the returned fields are the `account_id`, `name`,
`type`, `family`, and `crn`. For all queries, `crn` is always returned. You
may set `"fields": ["*"]` to discover the set of fields available to
request.
:param str search_cursor: (optional) An opaque cursor that is returned on
each call and that must be set on the subsequent call to get the next batch
of items. If the search returns no items, then the search_cursor is not
present in the response.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The account ID to filter resources.
:param int limit: (optional) The maximum number of hits to return. Defaults
to 10.
:param int timeout: (optional) A search timeout in milliseconds, bounding
the search request to run within the specified time value and bail with the
hits accumulated up to that point when expired. Defaults to the system
defined timeout.
:param List[str] sort: (optional) Comma separated properties names that are
used for sorting.
:param str is_deleted: (optional) Determines if deleted documents should be
included in result set or not. Possible values are false (default), true or
any. If false, only existing documents are returned; if true, only deleted
documents are returned; If any, both existing and deleted documents are
returned. (_for administrators only_).
:param str is_reclaimed: (optional) Determines if reclaimed documents
should be included in result set or not. Possible values are false
(default), true or any. If false, only not reclaimed documents are
returned; if true, only reclaimed documents are returned; If any, both
reclaimed and not reclaimed documents are returned.
:param str is_public: (optional) Determines if public resources should be
included in result set or not. Possible values are false (default), true or
any. If false, do not search public resources; if true, search only public
resources; If any, search also public resources.
:param str impersonate_user: (optional) The user on whose behalf the search
must be performed. Only a GhoST admin can impersonate a user, so be sure
you set a GhoST admin IAM token in the Authorization header if you set this
parameter. (_for administrators only_).
:param str can_tag: (optional) Determines if the result set must return the
resources that the user can tag or the resources that the user can view
(only a GhoST admin can use this parameter). If false (default), only
resources user can view are returned; if true, only resources that user has
permissions for tagging are returned (_for administrators only_).
: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 representing a `ScanResult` object
|
def search(
self,
*,
query: Optional[str] = None,
fields: Optional[List[str]] = None,
search_cursor: Optional[str] = None,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
limit: Optional[int] = None,
timeout: Optional[int] = None,
sort: Optional[List[str]] = None,
is_deleted: Optional[str] = None,
is_reclaimed: Optional[str] = None,
is_public: Optional[str] = None,
impersonate_user: Optional[str] = None,
can_tag: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Find instances of resources (v3).
Find IAM-enabled resources or storage and network resources that run on classic
infrastructure in a specific account ID. You can apply query strings if necessary.
To filter results, you can insert a string by using the Lucene syntax and the
query string is parsed into a series of terms and operators. A term can be a
single word or a phrase, in which case the search is performed for all the words,
in the same order. To filter for a specific value regardless of the property that
contains it, type the search term without specifying a field. Only resources that
belong to the account ID and that are accessible by the client are returned.
You must use `/v3/resources/search` when you need to fetch more than `10000`
resource items. On the first call, the operation returns a live cursor on the data
that you must use on all the subsequent calls to get the next batch of results
until you get the empty result set.
By default, the fields that are returned for every resource are `crn`, `name`,
`family`, `type`, and `account_id`. You can specify the subset of the fields you
want in your request using the `fields` request body attribute. Set `"fields":
["*"]` to discover the set of fields which are available to request.
:param str query: (optional) The Lucene-formatted query string. Default to
'*' if not set.
:param List[str] fields: (optional) The list of the fields returned by the
search. By default, the returned fields are the `account_id`, `name`,
`type`, `family`, and `crn`. For all queries, `crn` is always returned. You
may set `"fields": ["*"]` to discover the set of fields available to
request.
:param str search_cursor: (optional) An opaque cursor that is returned on
each call and that must be set on the subsequent call to get the next batch
of items. If the search returns no items, then the search_cursor is not
present in the response.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The account ID to filter resources.
:param int limit: (optional) The maximum number of hits to return. Defaults
to 10.
:param int timeout: (optional) A search timeout in milliseconds, bounding
the search request to run within the specified time value and bail with the
hits accumulated up to that point when expired. Defaults to the system
defined timeout.
:param List[str] sort: (optional) Comma separated properties names that are
used for sorting.
:param str is_deleted: (optional) Determines if deleted documents should be
included in result set or not. Possible values are false (default), true or
any. If false, only existing documents are returned; if true, only deleted
documents are returned; If any, both existing and deleted documents are
returned. (_for administrators only_).
:param str is_reclaimed: (optional) Determines if reclaimed documents
should be included in result set or not. Possible values are false
(default), true or any. If false, only not reclaimed documents are
returned; if true, only reclaimed documents are returned; If any, both
reclaimed and not reclaimed documents are returned.
:param str is_public: (optional) Determines if public resources should be
included in result set or not. Possible values are false (default), true or
any. If false, do not search public resources; if true, search only public
resources; If any, search also public resources.
:param str impersonate_user: (optional) The user on whose behalf the search
must be performed. Only a GhoST admin can impersonate a user, so be sure
you set a GhoST admin IAM token in the Authorization header if you set this
parameter. (_for administrators only_).
:param str can_tag: (optional) Determines if the result set must return the
resources that the user can tag or the resources that the user can view
(only a GhoST admin can use this parameter). If false (default), only
resources user can view are returned; if true, only resources that user has
permissions for tagging are returned (_for administrators only_).
: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 representing a `ScanResult` object
"""
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='search',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'limit': limit,
'timeout': timeout,
'sort': convert_list(sort),
'is_deleted': is_deleted,
'is_reclaimed': is_reclaimed,
'is_public': is_public,
'impersonate_user': impersonate_user,
'can_tag': can_tag,
}
data = {
'query': query,
'fields': fields,
'search_cursor': search_cursor,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v3/resources/search'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, *, query: Optional[str] = None, fields: Optional[List[str]] = None, search_cursor: Optional[str] = None, x_request_id: Optional[str] = None, x_correlation_id: Optional[str] = None, account_id: Optional[str] = None, limit: Optional[int] = None, timeout: Optional[int] = None, sort: Optional[List[str]] = None, is_deleted: Optional[str] = None, is_reclaimed: Optional[str] = None, is_public: Optional[str] = None, impersonate_user: Optional[str] = None, can_tag: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.008732345886528492,
-0.05343501642346382,
-0.05505426228046417,
-0.03273183852434158,
0.02265012450516224,
0.018062269315123558,
-0.02299710549414158,
-0.07656706124544144,
0.010698569938540459,
-0.07267316430807114,
-0.0006692630122415721,
0.042100317776203156,
0.0026457272469997406,
-0.026042824611067772,
0.041560567915439606,
0.055594008415937424,
-0.012963581830263138,
0.017291201278567314,
0.027874110266566277,
-0.023633236065506935,
0.0029806599486619234,
0.04013409465551376,
0.013117795810103416,
0.04927125200629234,
0.05898670852184296,
-0.015238232910633087,
0.017464691773056984,
-0.048615843057632446,
0.018332144245505333,
0.05382055044174194,
-0.00886728335171938,
-0.011643128469586372,
0.004161357879638672,
0.0077299573458731174,
-0.0547843873500824,
-0.022611571475863457,
0.04098226875066757,
0.041907548904418945,
-0.0336763970553875,
0.05243263021111488,
-0.07942001521587372,
-0.048577290028333664,
0.028240367770195007,
-0.04098226875066757,
0.036143817007541656,
0.0351799800992012,
0.014900890178978443,
-0.03814859315752983,
0.004103527870029211,
-0.03198004886507988,
0.010688931681215763,
0.0019818858709186316,
-0.06623474508523941,
-0.012144322507083416,
0.007026358041912317,
-0.02461634762585163,
-0.07845617830753326,
0.031189704313874245,
-0.002686690306290984,
-0.017686374485492706,
0.012790091335773468,
0.009098603390157223,
0.0005255913129076362,
0.05119892209768295,
-0.0552084743976593,
0.03379205986857414,
0.007450445089489222,
-0.020973050966858864,
-0.04950257018208504,
-0.0293391402810812,
0.0035131790209561586,
0.007768510840833187,
0.006255290005356073,
-0.010862421244382858,
-0.008944389410316944,
-0.019103212282061577,
0.00694443192332983,
-0.0219754409044981,
-0.01899719052016735,
-0.041907548904418945,
0.03772450610995293,
-0.0015867134789004922,
-0.026274144649505615,
-0.04186899587512016,
0.02374889701604843,
0.04626408591866493,
0.01229853555560112,
-0.02124292589724064,
-0.0026650039944797754,
-0.01538280863314867,
-0.026852445676922798,
0.0219754409044981,
-0.026409082114696503,
0.030187316238880157,
0.03519925847649574,
0.02249591052532196,
-0.009214263409376144,
-0.056480735540390015,
0.003262581769376993,
0.0259849950671196,
-0.04873150214552879,
-0.015006912872195244,
0.03516070544719696,
0.00772513821721077,
0.01124795526266098,
-0.039825666695833206,
-0.04657251387834549,
0.018139377236366272,
0.07965133339166641,
0.03974856063723564,
-0.02265012450516224,
0.019064657390117645,
0.038919661194086075,
-0.008679335005581379,
0.001502377912402153,
-0.003460167907178402,
0.005060134455561638,
0.026756063103675842,
-0.023286256939172745,
-0.021165817975997925,
0.02721870318055153,
-0.027315087616443634,
0.03670284152030945,
-0.012963581830263138,
0.00968172401189804,
-0.014043077826499939,
-0.03246196731925011,
0.04799898713827133,
-0.008115491829812527,
0.020144153386354446,
-0.06924191117286682,
-0.012019023299217224,
-0.0048601385205984116,
0.02020198293030262,
0.04040396586060524,
0.03863051161170006,
0.03392699733376503,
0.03971000760793686,
-0.06858650594949722,
0.0614926777780056,
0.018245398998260498,
0.029647568240761757,
0.019074296578764915,
-0.034563127905130386,
-0.015344254672527313,
-0.03741607815027237,
0.041367802768945694,
-0.007599839940667152,
0.008375726640224457,
-0.007007081061601639,
0.012712985277175903,
-0.054900046437978745,
0.014187652617692947,
-0.004252922255545855,
-0.04125214368104935,
-0.01091061346232891,
0.02637052908539772,
-0.03855340555310249,
-0.013840671628713608,
-0.010052800178527832,
0.024539241567254066,
-0.024288645014166832,
0.0022312782239168882,
-0.01792733371257782,
-0.000015464658645214513,
-0.012125045992434025,
-0.06839373707771301,
0.019970662891864777,
-0.024481412023305893,
-0.0351799800992012,
-0.041560567915439606,
0.011026273481547832,
-0.07105392217636108,
-0.051584456115961075,
-0.0768754854798317,
0.03776305913925171,
0.0422159768640995,
-0.026852445676922798,
-0.043488238006830215,
-0.04105937480926514,
-0.002093931660056114,
-0.0809621512889862,
-0.008226332254707813,
-0.025445247069001198,
-0.00235296250320971,
-0.022438080981373787,
0.004799898713827133,
0.05624941736459732,
0.01724300906062126,
0.04499182105064392,
0.008110672235488892,
-0.0007608273299410939,
0.01651049591600895,
-0.005060134455561638,
-0.06187821179628372,
-0.05416753143072128,
0.018910445272922516,
-0.0004165574791841209,
0.01812010072171688,
0.04873150214552879,
-0.04271716997027397,
0.05624941736459732,
0.03730041906237602,
-0.010303397662937641,
-0.012308173812925816,
-0.0153731694445014,
-0.011585297994315624,
-0.023266978561878204,
-0.012963581830263138,
-0.05181577429175377,
-0.028240367770195007,
0.0021228468976914883,
0.00009517871512798592,
-0.03834136202931404,
-0.007845617830753326,
0.10494236648082733,
0.0014638245338574052,
0.0013734650565311313,
0.03641368821263313,
-0.041753336787223816,
0.048962824046611786,
-0.07510203123092651,
-0.031382471323013306,
-0.10139545053243637,
-0.017821310088038445,
0.008722707629203796,
0.009214263409376144,
-0.007392615079879761,
-0.005474583245813847,
-0.10170388221740723,
0.024654902517795563,
0.001640929258428514,
0.057174697518348694,
-0.003997506108134985,
-0.041907548904418945,
-0.06183965876698494,
0.015912918373942375,
0.05952645465731621,
0.003995096310973167,
0.005330007988959551,
0.032982438802719116,
0.029223479330539703,
-0.017869502305984497,
-0.03253907337784767,
-0.05690482258796692,
-0.04148346185684204,
0.01081422995775938,
0.02211037650704384,
0.019758619368076324,
-0.0768754854798317,
-0.017686374485492706,
-0.06904914975166321,
-0.0072143059223890305,
-0.06893348693847656,
0.0541289784014225,
-0.048577290028333664,
-0.042100317776203156,
-0.05887104943394661,
0.032404135912656784,
0.012452749535441399,
-0.04549301788210869,
0.0009560039616189897,
0.004597493447363377,
0.014891251921653748,
-0.02214893139898777,
0.02405732497572899,
-0.011575659736990929,
0.031613789498806,
0.019642958417534828,
0.02741147018969059,
-0.012327451258897781,
0.045261695981025696,
-0.009156433865427971,
-0.00033794468617998064,
-0.02303565852344036,
0.031054766848683357,
0.009946778416633606,
-0.003840882796794176,
-0.07803209125995636,
0.0012698527425527573,
-0.0011475661303848028,
0.004597493447363377,
0.03918953612446785,
-0.023247702047228813,
0.11010852456092834,
-0.019604405388236046,
-0.008915474638342857,
0.07178644090890884,
-0.06804675608873367,
-0.02372962050139904,
0.02126220241189003,
-0.0031710173934698105,
0.003872207598760724,
-0.05046640709042549,
-0.026987383142113686,
0.018033355474472046,
-0.003616791218519211,
-0.05856262147426605,
0.03304026648402214,
0.0038794362917542458,
-0.036837778985500336,
0.0223031435161829,
0.11072537302970886,
-0.012857560068368912,
-0.009093783795833588,
0.001412018435075879,
0.0699358731508255,
0.008852825500071049,
-0.02548380009829998,
0.006761303171515465,
-0.06600342690944672,
0.03290532901883125,
0.03340652585029602,
-0.05038929730653763,
-0.05567111447453499,
-0.05675061047077179,
0.033155929297208786,
0.036278754472732544,
0.005093868356198072,
0.01895863562822342,
0.012153960764408112,
0.0565192885696888,
-0.009802202694118023,
-0.07417675107717514,
0.05605664849281311,
-0.040519628673791885,
-0.042987044900655746,
0.06708292663097382,
0.006062522996217012,
0.002585487673059106,
0.03845702111721039,
-0.03340652585029602,
-0.0011638308642432094,
0.0019132127054035664,
-0.015247871167957783,
-0.03076561726629734,
0.018852613866329193,
-0.012308173812925816,
0.014602101407945156,
0.03427397459745407,
0.008014288730919361,
-0.046842385083436966,
0.03186438977718353,
0.005411934107542038,
-0.02355613000690937,
-0.05705903843045235,
0.07255750894546509,
-0.03502576798200607,
-0.010881698690354824,
-0.06739135086536407,
0.044182199984788895,
0.02022126130759716,
0.057174697518348694,
0.09021496772766113,
0.07857183367013931,
-0.07016719877719879,
-0.037319693714380264,
0.016790008172392845,
0.009975693188607693,
-0.0014264759374782443,
-0.07294303923845291,
-0.005681808106601238,
-0.06295771151781082,
0.01772492751479149,
-0.00210959417745471,
-0.02901143580675125,
-0.016568325459957123,
-0.01790805533528328,
0.029049990698695183,
-0.09067760407924652,
-0.029782503843307495,
-0.05011942610144615,
-0.0779549852013588,
0.030881276354193687,
0.033290863037109375,
-0.003407157026231289,
-0.059834882616996765,
-0.0004912547301501036,
-0.06137701869010925,
0.03579683601856232,
0.014823784120380878,
0.027681343257427216,
-0.01930561661720276,
-0.05308803915977478,
0.046649619936943054,
-0.028240367770195007,
-0.014274397864937782,
0.022785061970353127,
0.03712692856788635,
0.02583078108727932,
-0.031902942806482315,
-0.0077588725835084915,
0.0013770794030278921,
0.010505802929401398,
-0.002180676907300949,
-0.004460147116333246,
-0.01011063065379858,
-0.021377863362431526,
-0.04167623072862625,
-0.06237940862774849,
0.0015337025979533792,
-0.004308342933654785,
0.02039474993944168,
0.036105263978242874,
0.01003352366387844,
-0.05621086433529854,
0.09530401229858398,
-0.06816241890192032,
-0.0040529267862439156,
0.022418804466724396,
-0.0400569885969162,
-0.08080793172121048,
-0.030341528356075287,
0.03309809789061546,
-0.05971922352910042,
0.01737794652581215,
0.0009945573983713984,
0.12437327951192856,
0.0005445668357424438,
0.04518458992242813,
0.013782842084765434,
-0.061955321580171585,
0.051237475126981735,
0.019295979291200638,
-0.0002239410678157583,
0.025618737563490868,
0.00447701383382082,
-0.01983572542667389,
0.017811672762036324,
-0.06234085559844971,
-0.004932425916194916,
0.04927125200629234,
-0.039594344794750214,
-0.027700621634721756,
-0.012587686069309711,
0.006698654033243656,
-0.026813892647624016,
-0.025040436536073685,
0.02039474993944168,
0.001118048676289618,
0.03722331300377846,
-0.025348862633109093,
-0.018033355474472046,
-0.022939275950193405,
-0.00895402766764164,
0.02949335426092148,
0.009966054931282997,
0.017320116981863976,
0.03022586926817894,
-0.05382055044174194,
0.08581987768411636,
0.011276870965957642,
0.05277961120009422,
0.011209402233362198,
0.0025059713516384363,
-0.047189366072416306,
-0.007002261932939291,
0.0625721737742424,
-0.02022126130759716,
-0.0478447750210762,
-0.0013397308066487312,
-0.00195417576469481,
0.011778065003454685,
-0.013156348839402199,
-0.0038119677919894457,
0.017965886741876602,
-0.024500688537955284,
0.00984557531774044,
0.008028746582567692,
-0.022187484428286552,
-0.05235552415251732,
-0.002946925815194845,
-0.07039851695299149,
0.009166072122752666,
0.07093826681375504,
-0.0019457420567050576,
0.007464902941137552,
-0.022804338485002518,
-0.0004882427165284753,
0.022727232426404953,
0.0759887620806694,
-0.03722331300377846,
0.00523362448439002,
-0.01635628193616867,
0.027662066742777824,
-0.029994549229741096,
0.06434562802314758,
0.00667455792427063,
-0.03327158838510513,
0.0022626027930527925,
0.006910697557032108,
0.06010475754737854,
-0.005257720593363047,
0.013262370601296425,
-0.0008066095178946853,
0.02777772769331932,
-0.023459745571017265,
0.01599002443253994,
0.025040436536073685,
0.010390141978859901,
0.027546407654881477,
-0.09499558806419373,
0.05293382331728935,
-0.035218533128499985,
-0.01379248034209013,
-0.017888778820633888,
0.040326859802007675,
0.011990108527243137,
0.051044706255197525,
-0.0064962487667799,
-0.041907548904418945,
0.029551183804869652,
0.0446062870323658,
-0.03055357187986374,
-0.01178770326077938,
0.007855256088078022,
-0.032365582883358,
0.010216652415692806,
-0.026486188173294067,
0.021570630371570587,
0.025233203545212746,
0.055439796298742294,
-0.03606671094894409,
-0.022380251437425613,
0.033984825015068054,
0.019797172397375107,
0.008925112895667553,
-0.0558638833463192,
0.010669654235243797,
0.02546452358365059,
-0.02550307661294937,
-0.019546575844287872,
-0.04927125200629234,
-0.07803209125995636,
0.02583078108727932,
0.0519699901342392,
-0.037666674703359604,
-0.010939528234302998,
0.07718391716480255,
0.014505717903375626,
0.03544985502958298,
0.07163222134113312,
-0.04765200614929199,
-0.041753336787223816,
-0.004927606787532568,
-0.015537021681666374,
0.006963708437979221,
-0.006732388399541378,
-0.008727527223527431,
-0.0247898381203413,
0.048615843057632446,
-0.0727502703666687,
0.026486188173294067,
-0.011643128469586372,
-0.00799983087927103,
0.0643070787191391,
0.008110672235488892,
-0.03020659275352955,
0.023960940539836884,
0.03494866192340851,
0.04819175601005554,
0.013214179314672947,
-0.005228805355727673,
-0.01809118501842022,
0.0007301050936803222,
0.036298029124736786,
0.04337257891893387,
0.011431084014475346,
-0.02018270641565323,
-0.012944305315613747,
0.016953859478235245,
0.030302975326776505,
-0.035584792494773865,
0.06793110072612762,
-0.005546871107071638,
0.0084431953728199,
0.02124292589724064,
-0.025734396651387215,
0.019758619368076324,
-0.00566253112629056,
0.047382134944200516,
-0.03604743257164955,
0.034177593886852264,
-0.07444662600755692,
0.0012614191509783268,
0.03323303535580635,
0.036143817007541656,
0.020799562335014343,
-0.00018026727775577456,
-0.00826488621532917,
0.028240367770195007,
0.011903363279998302,
0.008881740272045135,
0.0330209918320179,
-0.009537148289382458,
0.08905836194753647,
-0.029609013348817825,
-0.030842723324894905,
-0.002496332861483097,
-0.04954112321138382,
-0.02463562600314617,
0.032249923795461655,
-0.007093826308846474,
-0.031363192945718765,
0.003402337897568941,
0.0091467946767807,
0.006443237420171499,
-0.004101118538528681,
0.0026770520489662886,
-0.005652892868965864,
0.012163599021732807,
-0.046649619936943054,
-0.025059713050723076,
0.011614212766289711,
0.008529940620064735,
0.01687675341963768,
-0.02374889701604843,
0.0513145811855793,
0.05235552415251732,
-0.039285916835069656,
0.021320031955838203,
0.03448601812124252,
0.02706448920071125,
0.03774378076195717,
-0.05998909845948219,
0.07436951994895935,
-0.01914176531136036,
-0.02182122692465782,
-0.01283828355371952,
0.04183044284582138,
0.0008921498665586114,
0.021339308470487595,
0.02654401957988739,
0.04907848313450813,
-0.03157523646950722,
0.030649956315755844,
0.06947323679924011,
0.0348522774875164,
-0.01949838362634182,
0.004696286749094725,
0.0038794362917542458,
0.06045173853635788,
0.009435945190489292,
0.07348278909921646,
-0.035237811505794525,
0.03974856063723564,
-0.021377863362431526,
-0.04109792783856392,
0.05852406844496727,
0.044374968856573105,
-0.028587348759174347,
0.05447595939040184,
-0.02638980560004711,
-0.018312867730855942,
-0.02459707111120224,
-0.0393051952123642,
-0.05570966750383377,
-0.006250470411032438,
0.00807693786919117,
0.009084145538508892,
0.03091982938349247,
-0.0070745497941970825,
0.01987428031861782,
-0.04275572672486305,
-0.04098226875066757,
-0.04530024901032448,
0.022052546963095665,
-0.061955321580171585,
0.003546913154423237,
0.04587855190038681,
0.039825666695833206,
0.00017002654203679413,
0.04275572672486305,
0.01935380883514881,
0.015739427879452705,
0.028182538226246834,
-0.002778254682198167,
-0.006409503519535065,
0.00470592500641942,
-0.018765868619084358,
0.04063528776168823,
-0.0051468792371451855,
0.011132295243442059,
0.047729115933179855,
0.011845533736050129,
-0.02881866879761219,
0.006597451400011778,
-0.035912495106458664,
-0.04518458992242813,
0.00024291656154673547,
-0.000671672576572746,
-0.05362778529524803,
0.01950802281498909,
-0.025233203545212746,
-0.0003614381712395698,
0.04445207491517067,
-0.032789669930934906,
-0.05752167850732803,
0.03826425224542618,
0.0004298102285247296,
0.04726647213101387,
0.016818922013044357,
0.07228763401508331,
0.048615843057632446,
-0.024982605129480362,
0.05127602815628052,
0.016433387994766235,
-0.04749779403209686,
0.005720361135900021,
-0.01325273234397173,
0.0372425876557827,
0.03566189855337143,
0.03396555036306381,
0.0015830991324037313,
0.023132042959332466,
0.017628543078899384,
0.024693455547094345,
0.0519699901342392,
-0.0020361016504466534,
0.0004418581665959209,
0.027103042230010033,
-0.017165903002023697,
0.0041758157312870026,
0.02563801407814026,
0.011199763976037502,
-0.0029445162508636713,
-0.008915474638342857,
0.028182538226246834,
0.020105600357055664,
0.0005090254126116633,
0.0027999409940093756,
0.018322505056858063,
-0.03654862567782402,
-0.01194191724061966,
0.029763227328658104,
-0.07857183367013931,
0.07051417231559753,
-0.01615387573838234,
0.006308300886303186,
0.0233826395124197,
0.00552759412676096,
0.07818630337715149,
-0.041599124670028687,
-0.024886222556233406,
-0.030360804870724678,
0.0446062870323658,
0.052471183240413666,
-0.02444285899400711,
-0.00460954150184989,
-0.027353640645742416,
0.042447298765182495,
-0.01635628193616867,
0.0407123938202858,
0.0037059460300952196,
-0.030187316238880157,
0.05624941736459732,
0.011652766726911068,
0.055439796298742294,
0.017185179516673088,
0.018042992800474167,
0.01654904894530773,
-0.031363192945718765,
-0.04302559792995453,
-0.017985163256525993,
0.011411807499825954,
0.01398524735122919,
0.05324225127696991,
-0.013493691571056843
] |
719,566
|
ibm_platform_services.global_tagging_v1
|
GlobalTaggingV1
|
The global_tagging V1 service.
|
class GlobalTaggingV1(BaseService):
"""The global_tagging V1 service."""
DEFAULT_SERVICE_URL = 'https://tags.global-search-tagging.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'global_tagging'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'GlobalTaggingV1':
"""
Return a new client for the global_tagging service using the specified
parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the global_tagging 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# tags
#########################
def list_tags(
self,
*,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
full_data: Optional[bool] = None,
providers: Optional[List[str]] = None,
attached_to: Optional[str] = None,
offset: Optional[int] = None,
limit: Optional[int] = None,
timeout: Optional[int] = None,
order_by_name: Optional[str] = None,
attached_only: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get all tags.
Lists all tags that are in a billing account. Use the `attached_to` parameter to
return the list of tags that are attached to the specified resource.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account to list the
tags for. If it is not set, then it is taken from the authorization token.
This parameter is required if `tag_type` is set to `service`.
:param str tag_type: (optional) The type of the tag you want to list.
Supported values are `user`, `service` and `access`.
:param bool full_data: (optional) If set to `true`, this query returns the
provider, `ghost`, `ims` or `ghost,ims`, where the tag exists and the
number of attached resources.
:param List[str] providers: (optional) Select a provider. Supported values
are `ghost` and `ims`. To list both Global Search and Tagging tags and
infrastructure tags, use `ghost,ims`. `service` and `access` tags can only
be attached to resources that are onboarded to Global Search and Tagging,
so you should not set this parameter to list them.
:param str attached_to: (optional) If you want to return only the list of
tags that are attached to a specified resource, pass the ID of the resource
on this parameter. For resources that are onboarded to Global Search and
Tagging, the resource ID is the CRN; for IMS resources, it is the IMS ID.
When using this parameter, you must specify the appropriate provider (`ims`
or `ghost`).
:param int offset: (optional) The offset is the index of the item from
which you want to start returning data from.
:param int limit: (optional) The number of tags to return.
:param int timeout: (optional) The timeout in milliseconds, bounds the
request to run within the specified time value. It returns the accumulated
results until time runs out.
:param str order_by_name: (optional) Order the output by tag name.
:param bool attached_only: (optional) Filter on attached tags. If `true`,
it returns only tags that are attached to one or more resources. If
`false`, it returns all tags.
: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 representing a `TagList` object
"""
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_tags',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'tag_type': tag_type,
'full_data': full_data,
'providers': convert_list(providers),
'attached_to': attached_to,
'offset': offset,
'limit': limit,
'timeout': timeout,
'order_by_name': order_by_name,
'attached_only': attached_only,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v3/tags'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
def create_tag(
self,
tag_names: List[str],
*,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an access management tag.
Create an access management tag. To create an `access` tag, you must have the
access listed in the [Granting users access to tag
resources](https://cloud.ibm.com/docs/account?topic=account-access) documentation.
`service` and `user` tags cannot be created upfront. They are created when they
are attached for the first time to a resource.
:param List[str] tag_names: An array of tag names to create.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a len
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
0.027664879336953163,
-0.0754680186510086,
-0.0825708881020546,
-0.05989012494683266,
0.022882547229528427,
0.013418777845799923,
-0.05783190578222275,
-0.024194158613681793,
0.03385971486568451,
-0.0671544298529625,
-0.026696305721998215,
0.007183586712926626,
-0.01978513039648533,
-0.06784050166606903,
-0.02705952152609825,
0.02266058325767517,
0.005695413798093796,
0.0006428780034184456,
0.009075331501662731,
-0.035675790160894394,
0.0038616822566837072,
0.07720337808132172,
0.016011729836463928,
0.007319792173802853,
0.06731585413217545,
0.0036321505904197693,
0.0046360366977751255,
-0.04520009458065033,
0.006250325590372086,
0.001316654495894909,
-0.023709870874881744,
-0.0291580967605114,
-0.014044315554201603,
0.007713275030255318,
-0.00784443598240614,
-0.008999661542475224,
0.049356888979673386,
0.0318014957010746,
-0.027160413563251495,
0.05464368686079979,
-0.054441899061203,
-0.035695966333150864,
0.06061655655503273,
-0.054724399000406265,
0.024839874356985092,
0.0140140475705266,
-0.004580545239150524,
0.04156794399023056,
0.04887260124087334,
-0.009383055381476879,
0.06723514199256897,
0.0036018826067447662,
-0.026837555691599846,
-0.03813758119940758,
-0.04209258779883385,
-0.007531667593866587,
-0.03609954193234444,
0.04568438231945038,
-0.01583012193441391,
0.01733342930674553,
-0.025324160233139992,
0.046370454132556915,
0.011976007372140884,
-0.008318633772432804,
-0.0475408136844635,
0.04051865637302399,
0.013227080926299095,
-0.0070221577771008015,
-0.034061498939991,
-0.00011957405513385311,
0.028431667014956474,
-0.022882547229528427,
0.014084672555327415,
0.01895780861377716,
-0.0017694121925160289,
0.007915060967206955,
0.04209258779883385,
0.0025198045186698437,
-0.03375881910324097,
-0.05432082712650299,
-0.01004390511661768,
-0.0035817038733512163,
0.05387689918279648,
0.01149172056466341,
0.05968834087252617,
0.04515973851084709,
-0.00661858543753624,
-0.003021747339516878,
-0.015133960172533989,
0.0010732500813901424,
-0.007829301990568638,
0.03040917031466961,
-0.021369151771068573,
0.04144687205553055,
0.03811740130186081,
-0.014367173425853252,
-0.04094240814447403,
-0.017908519133925438,
-0.017484769225120544,
0.008838232606649399,
-0.014276369474828243,
-0.0462493821978569,
-0.04281901940703392,
0.012783152051270008,
-0.018947718665003777,
-0.02393183670938015,
-0.06033405661582947,
0.01795896701514721,
0.05775119364261627,
0.02534433826804161,
-0.03325435519218445,
-0.03890436887741089,
0.06662978231906891,
-0.008555732667446136,
-0.007829301990568638,
0.012419937178492546,
0.05480511486530304,
0.017343519255518913,
-0.015144050121307373,
-0.03642239794135094,
0.013842528685927391,
-0.059405840933322906,
0.04253651946783066,
-0.031135601922869682,
-0.007602292578667402,
0.007208809722214937,
-0.006396620534360409,
0.022902727127075195,
-0.008964349515736103,
-0.0004442447971086949,
-0.03821829333901405,
0.004151749890297651,
0.012773062102496624,
0.016052087768912315,
0.04427187889814377,
-0.06477335095405579,
-0.02724112942814827,
0.04407009109854698,
-0.03400096297264099,
0.0639258474111557,
0.029218632727861404,
-0.005811440758407116,
-0.041184552013874054,
-0.01611262373626232,
-0.040054548531770706,
0.00007444804941769689,
0.05351368337869644,
0.007975596934556961,
-0.009045063517987728,
-0.06005155295133591,
-0.053917255252599716,
-0.060414768755435944,
-0.025626840069890022,
0.016142891719937325,
-0.007506444118916988,
0.0026812332216650248,
-0.009322519414126873,
-0.058961909264326096,
-0.015174317173659801,
-0.02566719613969326,
0.0021578504238277674,
0.0121273472905159,
-0.026736663654446602,
-0.021994689479470253,
-0.023407192900776863,
-0.05625797435641289,
-0.031559351831674576,
0.03117595799267292,
-0.02251933328807354,
-0.006078807637095451,
-0.03791561722755432,
0.06574192643165588,
-0.017595751211047173,
-0.015305479057133198,
0.000692378671374172,
0.03375881910324097,
0.0273823793977499,
-0.0026988897006958723,
0.007819212973117828,
0.012208061292767525,
-0.02486005239188671,
-0.01378199364989996,
-0.010997344739735126,
-0.01126975566148758,
-0.016183247789740562,
0.013903064653277397,
0.05876012519001961,
-0.004197151865810156,
-0.007809123490005732,
0.03916668891906738,
0.03387989103794098,
0.011683417484164238,
0.03337542712688446,
0.003791057039052248,
-0.0002982651349157095,
0.052383679896593094,
0.03214453160762787,
-0.023346656933426857,
-0.013993868604302406,
0.031236493960022926,
0.013842528685927391,
0.051253680139780045,
-0.0046057687141001225,
0.019704416394233704,
0.035514362156391144,
-0.009690779261291027,
-0.006911175325512886,
-0.05601583048701286,
-0.02944059669971466,
-0.07542765885591507,
-0.033173639327287674,
0.0030040910933166742,
-0.02960202656686306,
0.024476658552885056,
0.0021818126551806927,
0.04927617684006691,
0.017091285437345505,
0.01040207501500845,
0.009887521155178547,
-0.06695263832807541,
0.07215872406959534,
-0.06662978231906891,
0.005755949765443802,
-0.05908298119902611,
-0.01701057143509388,
0.035796862095594406,
0.060697268694639206,
0.028572916984558105,
0.013035384938120842,
-0.003917173482477665,
0.026191839948296547,
0.010351628996431828,
0.056136902421712875,
0.02897648885846138,
-0.025243446230888367,
-0.035534538328647614,
0.053917255252599716,
-0.036765433847904205,
0.008046221919357777,
0.0038339365273714066,
0.022579869255423546,
0.04483687877655029,
0.04427187889814377,
0.024517016485333443,
-0.06969693303108215,
-0.03726990148425102,
-0.018967896699905396,
0.016606999561190605,
0.015729229897260666,
-0.05997084081172943,
-0.01181457843631506,
-0.022741297259926796,
-0.005473448894917965,
-0.009115688502788544,
0.02312469109892845,
-0.0963730588555336,
0.026050589978694916,
-0.019845666363835335,
0.023508084937930107,
-0.01826164498925209,
-0.05185903608798981,
-0.025889161974191666,
-0.05452261492609978,
0.046047598123550415,
0.007304658181965351,
0.04891296103596687,
0.025566304102540016,
0.018967896699905396,
-0.026716485619544983,
0.016193337738513947,
0.11421095579862595,
-0.006598406936973333,
0.015961283817887306,
-0.04350509122014046,
-0.0012807113816961646,
0.002976345596835017,
0.05464368686079979,
-0.007481221109628677,
-0.11784310638904572,
-0.0025904295034706593,
-0.02849220298230648,
-0.02020888216793537,
0.026111125946044922,
0.024032728746533394,
0.046531882137060165,
-0.022418439388275146,
-0.007693096529692411,
0.04907438904047012,
-0.03714882954955101,
-0.018695484846830368,
-0.030933814123272896,
0.03214453160762787,
0.011411006562411785,
-0.006971711292862892,
-0.03349649906158447,
0.028552738949656487,
-0.05367511138319969,
0.022014867514371872,
0.046370454132556915,
-0.026030411943793297,
-0.03609954193234444,
0.04790402948856354,
0.06319941580295563,
-0.02332647703588009,
-0.04834795743227005,
-0.04217330366373062,
0.08208660036325455,
-0.022156117483973503,
-0.03618025407195091,
-0.0012479211436584592,
-0.04144687205553055,
0.047621529549360275,
-0.01346922479569912,
-0.05032546445727348,
-0.03749186545610428,
0.011128505691885948,
0.0021099261939525604,
0.03749186545610428,
0.013842528685927391,
0.04459473490715027,
0.0005230674869380891,
0.0190284326672554,
-0.055814046412706375,
-0.047621529549360275,
0.10452522337436676,
-0.009741226211190224,
-0.003821325022727251,
0.03626096993684769,
0.020985757932066917,
0.029501132667064667,
0.044796522706747055,
-0.022075403481721878,
-0.006215013097971678,
0.019956648349761963,
-0.02094540186226368,
-0.06965657323598862,
-0.006719478406012058,
-0.06917228549718857,
-0.010613950900733471,
-0.03636186197400093,
-0.06445049494504929,
-0.05323118343949318,
-0.0422540158033371,
0.00937296636402607,
-0.011743953451514244,
0.0025425052735954523,
0.06223084405064583,
-0.017837895080447197,
0.004979073069989681,
0.017323339357972145,
0.04443330690264702,
0.06578227877616882,
0.09548520296812057,
0.09161090850830078,
0.06509620696306229,
-0.07704194635152817,
-0.026232197880744934,
0.07922124117612839,
0.032992035150527954,
0.04330330714583397,
-0.07429765909910202,
-0.024375764653086662,
0.028371131047606468,
0.007269345689564943,
0.0481865294277668,
-0.056621190160512924,
0.008197561837732792,
-0.012712527066469193,
-0.005957735702395439,
-0.04298044741153717,
-0.01613280177116394,
-0.05932512506842613,
-0.05783190578222275,
0.030832922086119652,
0.02076379396021366,
0.00017435583868063986,
0.006119164638221264,
-0.02346772700548172,
-0.04253651946783066,
0.05984976887702942,
-0.00036132329842075706,
0.04265759140253067,
0.02377040684223175,
-0.003909606486558914,
0.03971151262521744,
-0.020198792219161987,
0.024678444489836693,
-0.013015205971896648,
0.041023120284080505,
0.0004827102820854634,
0.011471541598439217,
-0.038339365273714066,
-0.02865363098680973,
0.05161689594388008,
-0.04233473166823387,
-0.06989871710538864,
-0.04992188885807991,
-0.06638763844966888,
0.009251894429326057,
-0.024597730487585068,
-0.008142070844769478,
0.007985686883330345,
0.04152758792042732,
0.003828892018646002,
0.005064832046627998,
-0.0324472114443779,
0.031559351831674576,
-0.011229398660361767,
-0.04156794399023056,
0.023366834968328476,
-0.059123337268829346,
-0.01611262373626232,
-0.03918686881661415,
-0.05609654635190964,
-0.04318223521113396,
0.03575650230050087,
-0.003571614623069763,
0.09588877111673355,
-0.024375764653086662,
0.03500989452004433,
0.006472290493547916,
-0.03468703851103783,
-0.0018059859285131097,
0.027745593339204788,
-0.06299763172864914,
-0.006820371374487877,
-0.01472029834985733,
0.014821192249655724,
-0.006416799034923315,
-0.06917228549718857,
0.055208686739206314,
0.07110943645238876,
-0.01433690544217825,
-0.06965657323598862,
0.03555471822619438,
0.011411006562411785,
-0.04427187889814377,
-0.04790402948856354,
0.057993337512016296,
0.02053174003958702,
-0.0034202749375253916,
0.00916613545268774,
0.02251933328807354,
-0.012379579246044159,
0.02157093770802021,
-0.00397014245390892,
-0.06089905649423599,
0.02217629738152027,
0.08281303197145462,
-0.028915952891111374,
0.047137241810560226,
-0.008863456547260284,
0.055814046412706375,
0.008792830631136894,
-0.05593511834740639,
-0.04677402600646019,
0.04503866657614708,
0.018786288797855377,
-0.021994689479470253,
-0.04491759464144707,
-0.012752884067595005,
0.020703257992863655,
-0.009695824235677719,
0.04774260148406029,
-0.04201187565922737,
0.03482828661799431,
-0.020501472055912018,
-0.03289113938808441,
-0.01779753714799881,
0.01402413658797741,
0.02266058325767517,
0.023528262972831726,
0.0029435553587973118,
0.008147114887833595,
-0.005175814498215914,
0.01425619050860405,
0.02253951132297516,
-0.007602292578667402,
-0.003397574182599783,
-0.006159522105008364,
0.05242403969168663,
-0.05593511834740639,
0.02691827155649662,
-0.008863456547260284,
-0.009832029230892658,
0.01693994551897049,
0.08140052855014801,
0.006290683057159185,
-0.023487906903028488,
-0.027180593460798264,
-0.03287096321582794,
-0.01606217585504055,
-0.025606660172343254,
0.03498971462249756,
-0.019865844398736954,
0.010023726150393486,
-0.005231305491179228,
0.01158252451568842,
0.0026509654708206654,
0.017847983166575432,
0.019088968634605408,
-0.055168330669403076,
0.016889499500393867,
-0.04411045089364052,
0.06352227926254272,
-0.02393183670938015,
0.03004595637321472,
0.020027274265885353,
-0.02833077311515808,
-0.04802510142326355,
-0.05807404965162277,
-0.017575573176145554,
0.05972869694232941,
-0.03295167535543442,
-0.024779338389635086,
0.020350132137537003,
-0.06957586109638214,
0.014760656282305717,
-0.01749485731124878,
-0.005781172774732113,
0.019714506343007088,
0.013671010732650757,
-0.005039609037339687,
-0.014831281267106533,
0.026696305721998215,
-0.015184407122433186,
-0.0249004103243351,
-0.04927617684006691,
-0.010563503950834274,
0.044150806963443756,
0.0003733043558895588,
-0.015093603171408176,
-0.06860728561878204,
-0.07982659339904785,
0.00841448176652193,
0.004716751165688038,
-0.07353086769580841,
-0.03971151262521744,
-0.005402823910117149,
-0.0011110849445685744,
0.010250736027956009,
0.016738159582018852,
-0.03293149918317795,
-0.022600047290325165,
-0.05468404293060303,
0.020844507962465286,
-0.024759158492088318,
0.013267438858747482,
0.01717200130224228,
-0.01426627952605486,
0.03648293390870094,
-0.038520973175764084,
0.019542988389730453,
-0.024678444489836693,
-0.0009610065026208758,
-0.03854115307331085,
-0.008207650855183601,
-0.06093941256403923,
0.004656215198338032,
0.021187543869018555,
0.034868646413087845,
0.07494337111711502,
-0.03466685861349106,
-0.004976550582796335,
0.032063815742731094,
0.05779154971241951,
0.006991889793425798,
0.016929857432842255,
0.002118754433467984,
0.003934829495847225,
0.031882211565971375,
-0.0668315663933754,
-0.047460101544857025,
0.027664879336953163,
0.010220468044281006,
0.052181895822286606,
0.014064493589103222,
-0.006991889793425798,
0.008167293854057789,
-0.00008142385922838002,
0.023265941068530083,
0.007738498505204916,
0.019472362473607063,
-0.06283619999885559,
0.032346319407224655,
0.06412763148546219,
0.0010127142304554582,
0.03789543733000755,
0.017666377127170563,
0.019008254632353783,
-0.04822688549757004,
-0.04205223172903061,
0.0028224836569279432,
-0.022236833348870277,
-0.05129403620958328,
0.08410446345806122,
0.03274989128112793,
-0.01742423325777054,
-0.011532077565789223,
0.007264301180839539,
0.038036685436964035,
0.01677851751446724,
-0.020279506221413612,
0.005523895379155874,
0.0003641609218902886,
0.01472029834985733,
-0.025727732107043266,
-0.06880906969308853,
-0.01804977096617222,
-0.006371397525072098,
-0.02233772538602352,
-0.0046057687141001225,
-0.008792830631136894,
0.027019163593649864,
-0.017595751211047173,
0.013721457682549953,
-0.007284479681402445,
0.0777280181646347,
0.10097378492355347,
-0.0626344159245491,
0.041810087859630585,
-0.031397923827171326,
-0.006941443309187889,
0.018130484968423843,
-0.04564402624964714,
0.016606999561190605,
-0.004615857731550932,
-0.01631440967321396,
-0.030025776475667953,
0.05367511138319969,
0.021227901801466942,
0.01856432482600212,
0.030348634347319603,
0.03698739781975746,
0.022559689357876778,
0.05480511486530304,
0.06945478916168213,
-0.015487086027860641,
-0.007910016924142838,
0.03543364629149437,
0.013015205971896648,
-0.014447887428104877,
-0.007102872245013714,
0.04221365973353386,
-0.022438619285821915,
0.02094540186226368,
-0.003548913635313511,
-0.025465410202741623,
0.06279584765434265,
0.04532116651535034,
-0.005148069001734257,
0.03289113938808441,
0.003319381969049573,
-0.06428906321525574,
-0.05153618007898331,
-0.004411549307405949,
-0.03634168207645416,
0.042576875537633896,
-0.00328911398537457,
0.0006703083054162562,
0.010432342998683453,
-0.011017522774636745,
0.014125029556453228,
0.02411344274878502,
-0.032205067574977875,
-0.05323118343949318,
0.03513096645474434,
-0.06291691958904266,
0.024153800681233406,
0.07679980248212814,
0.04249615967273712,
-0.018826646730303764,
0.02833077311515808,
0.03305257111787796,
-0.01666753552854061,
0.010013637132942677,
0.047217957675457,
0.03539329022169113,
0.03381935507059097,
0.019220130518078804,
0.0008897507796064019,
0.025082016363739967,
0.01588056981563568,
0.017393965274095535,
-0.0032739799935370684,
-0.035958290100097656,
0.021631473675370216,
-0.02282201312482357,
-0.013549938797950745,
-0.009302341379225254,
-0.012783152051270008,
-0.06150441616773605,
0.0022890116088092327,
0.021470045670866966,
-0.04249615967273712,
0.03577668219804764,
-0.032023459672927856,
-0.07413622736930847,
-0.020168524235486984,
-0.007198720704764128,
0.04633009806275368,
-0.024012550711631775,
0.03085310012102127,
0.03545382618904114,
0.00894417054951191,
0.055006902664899826,
-0.0036800745874643326,
-0.07207801192998886,
0.03747168555855751,
0.0044796522706747055,
0.025303982198238373,
0.01715182140469551,
0.07421693950891495,
-0.020269418135285378,
0.04633009806275368,
0.021369151771068573,
-0.0324472114443779,
0.040639728307724,
0.02927916869521141,
0.056742262095212936,
0.00015811836055945605,
0.01962370239198208,
0.02506183832883835,
-0.00279221567325294,
0.02316504903137684,
0.008036132901906967,
0.028895774856209755,
0.06634727865457535,
-0.06356263160705566,
0.03381935507059097,
-0.026898091658949852,
0.034061498939991,
-0.08894733339548111,
-0.020451026037335396,
-0.010513057932257652,
-0.12438097596168518,
-0.002686277963221073,
0.010523146949708462,
0.017131643369793892,
0.0234475489705801,
-0.0047873761504888535,
-0.030489886179566383,
-0.03432382270693779,
-0.006320950575172901,
-0.018251556903123856,
-0.0005375708569772542,
0.060697268694639206,
-0.016576731577515602,
-0.020501472055912018,
-0.0051505910232663155,
0.04106348007917404,
-0.015073424205183983,
-0.030025776475667953,
-0.035332754254341125,
0.010846004821360111,
-0.0025954742450267076,
0.003377395449206233,
0.03985276073217392,
-0.024799516424536705,
-0.008863456547260284,
0.02754380740225315,
-0.02661559171974659,
0.013176634907722473,
-0.034404534846544266,
0.03938865289092064,
0.053594399243593216,
0.005523895379155874,
0.007683007046580315
] |
719,567
|
ibm_platform_services.global_tagging_v1
|
__init__
|
Construct a new client for the global_tagging 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 authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the global_tagging 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.003635094501078129,
-0.08680053800344467,
-0.04579298943281174,
-0.019730741158127785,
-0.02083507366478443,
-0.029964223504066467,
-0.026135869324207306,
0.024884292855858803,
0.0019900992047041655,
-0.019289007410407066,
-0.008705821819603443,
0.0011077835224568844,
-0.07855485379695892,
-0.027387447655200958,
-0.036516595631837845,
0.020264502614736557,
0.0011451698374003172,
-0.0009985006181523204,
-0.012561782263219357,
-0.09975803643465042,
0.012598593719303608,
0.04612429067492485,
-0.003395822597667575,
0.034142281860113144,
0.07376941293478012,
0.056173715740442276,
-0.026099059730768204,
-0.020743045955896378,
0.00816745962947607,
-0.015782753005623817,
-0.01231330819427967,
-0.03872526064515114,
-0.017807362601161003,
0.04781759902834892,
0.02952248975634575,
-0.045756179839372635,
0.03046117164194584,
0.035357046872377396,
-0.0734381154179573,
0.020043635740876198,
-0.004886671435087919,
-0.033682141453027725,
0.0731068104505539,
-0.03169434517621994,
0.03809947147965431,
0.04019770398736,
0.03946148231625557,
0.018065039068460464,
0.016252093017101288,
0.00026184759917669,
-0.032522592693567276,
0.006073828786611557,
-0.002836754312738776,
-0.004334505181759596,
-0.06784282624721527,
0.04450460150837898,
0.03408706560730934,
0.025915004312992096,
-0.09143873304128647,
0.06187943369150162,
-0.07446882128715515,
-0.004730224143713713,
0.0033291024155914783,
-0.01584717258810997,
-0.025878192856907845,
0.013620100915431976,
-0.051866818219423294,
0.03220969811081886,
-0.009975804015994072,
0.007307000458240509,
0.037952229380607605,
0.01654658280313015,
-0.013859373517334461,
-0.015957605093717575,
0.006883672904223204,
0.009032519534230232,
-0.00761529291048646,
0.00873803161084652,
-0.022583600133657455,
-0.028289318084716797,
-0.013564884662628174,
-0.008466549217700958,
0.03095812164247036,
0.0177337396889925,
0.0496949627995491,
0.013316409662365913,
-0.007652104366570711,
-0.017107952386140823,
0.002574475249275565,
0.029007134959101677,
-0.01607724092900753,
-0.003214067779481411,
0.009156757034361362,
0.03728962689638138,
0.00781775452196598,
-0.022509979084134102,
-0.02552848681807518,
-0.004224071744829416,
0.00613824836909771,
0.02125840075314045,
-0.004978699143975973,
-0.029467273503541946,
-0.025436459109187126,
-0.002173004439100623,
0.0038007444236427546,
-0.012699823826551437,
-0.01050956454128027,
-0.030148278921842575,
0.041927825659513474,
0.03861482813954353,
0.030682038515806198,
-0.019049735739827156,
0.010693619959056377,
0.03835714980959892,
-0.023503877222537994,
0.03185999393463135,
0.07781863212585449,
0.018571192398667336,
0.045056767761707306,
0.002740125171840191,
-0.03167593851685524,
-0.04189101234078407,
0.012147657573223114,
0.010481956414878368,
0.015497466549277306,
0.00380764645524323,
0.021092751994729042,
0.029743356630206108,
-0.040529005229473114,
-0.0013942198129370809,
0.06055423244833946,
-0.02460820972919464,
0.025013132020831108,
-0.007753334473818541,
0.05926584452390671,
-0.024957915768027306,
0.037952229380607605,
0.03846758231520653,
-0.04155971482396126,
0.09850646555423737,
0.016169268637895584,
-0.0034349344205111265,
-0.0591554120182991,
0.005728724878281355,
-0.0005886897561140358,
0.037915416061878204,
-0.024240098893642426,
-0.013886981643736362,
-0.009929790161550045,
-0.031086960807442665,
-0.045535311102867126,
-0.017144761979579926,
0.015699926763772964,
0.014577189460396767,
-0.016629407182335854,
0.006055423524230719,
0.007394426502287388,
-0.05742529034614563,
0.003023110330104828,
-0.025381242856383324,
-0.006000206805765629,
-0.0017174672102555633,
0.021368835121393204,
-0.056173715740442276,
-0.02083507366478443,
-0.02957770600914955,
-0.04582979902625084,
-0.011254989542067051,
-0.04354751482605934,
0.004005506169050932,
-0.06522924453020096,
-0.02694571390748024,
-0.09018715471029282,
-0.04700775444507599,
0.05573198199272156,
0.02011725679039955,
0.05252941697835922,
0.02884148433804512,
-0.0029517889488488436,
0.05241898447275162,
0.0067594354040920734,
0.0015173068968579173,
-0.03195201978087425,
-0.025233998894691467,
0.006087633315473795,
0.004341407213360071,
0.09313204139471054,
0.007307000458240509,
0.022749250754714012,
0.012294902466237545,
0.033185191452503204,
0.02343025617301464,
0.015120153315365314,
0.03001943975687027,
0.03290911018848419,
0.012865474447607994,
0.03469444811344147,
-0.017393236979842186,
-0.04203825816512108,
0.06427215039730072,
0.0011583988089114428,
0.06452982872724533,
-0.017678523436188698,
0.010932892560958862,
0.06320463120937347,
0.009828559122979641,
-0.0042654844000935555,
-0.03717919439077377,
-0.05455402657389641,
-0.05598966032266617,
-0.027810774743556976,
-0.04104435816407204,
-0.025841381400823593,
0.02479226514697075,
-0.03828352689743042,
0.025362838059663773,
0.03622210770845413,
0.009322406724095345,
0.00781775452196598,
0.007099938113242388,
0.10586868226528168,
-0.0008489556494168937,
0.07045641541481018,
-0.0710453912615776,
-0.021442456170916557,
0.03532023727893829,
0.00933621171861887,
-0.011641505174338818,
-0.041927825659513474,
-0.043842002749443054,
0.034381553530693054,
0.012791851535439491,
0.02909916266798973,
0.033185191452503204,
-0.016012821346521378,
-0.0897454246878624,
0.039571914821863174,
-0.03616689145565033,
-0.03872526064515114,
0.012552579864859581,
0.04605066776275635,
0.05595284700393677,
0.021350428462028503,
0.032044049352407455,
-0.07527866959571838,
-0.022325923666357994,
-0.035357046872377396,
0.017384035512804985,
0.043805189430713654,
-0.0010433641728013754,
-0.04159652441740036,
-0.04306896775960922,
-0.032706648111343384,
-0.005774738732725382,
0.03237535059452057,
-0.054038673639297485,
-0.018028229475021362,
0.015552682802081108,
0.03659021854400635,
0.017153965309262276,
-0.017678523436188698,
0.018727639690041542,
-0.05363374948501587,
0.07041960209608078,
-0.00815365556627512,
0.034639231860637665,
0.04582979902625084,
-0.013997415080666542,
0.050725676119327545,
-0.002066022017970681,
0.1441522091627121,
0.01323358528316021,
0.04277447983622551,
-0.00537441810593009,
-0.019546685740351677,
-0.06353592872619629,
0.014301106333732605,
0.0035200598649680614,
-0.06581822037696838,
-0.023687932640314102,
-0.00028140348149463534,
-0.0047026160173118114,
0.07056684792041779,
0.042406369000673294,
-0.048112086951732635,
-0.012442146427929401,
0.003294592024758458,
-0.004113638773560524,
-0.02076145075261593,
-0.031565506011247635,
-0.009138351306319237,
0.03798903897404671,
0.027037741616368294,
0.006000206805765629,
-0.015782753005623817,
-0.027497880160808563,
-0.028270913287997246,
-0.004168855492025614,
0.01548826415091753,
-0.06891035288572311,
-0.007964998483657837,
0.01336242351680994,
-0.009161358699202538,
0.014724433422088623,
-0.011070934124290943,
-0.026651225984096527,
0.04744948819279671,
0.01753127947449684,
-0.040344949811697006,
0.006773239467293024,
-0.012819460593163967,
0.023964015766978264,
-0.04093392565846443,
-0.043363459408283234,
-0.007399028167128563,
0.03953510522842407,
0.01582876592874527,
-0.056394580751657486,
0.010932892560958862,
0.03049798309803009,
-0.030148278921842575,
0.022325923666357994,
-0.038688451051712036,
-0.045240823179483414,
-0.006165856495499611,
0.0006516712019219995,
0.007780943065881729,
0.05230855196714401,
-0.009662909433245659,
0.033185191452503204,
-0.011153758503496647,
0.019546685740351677,
0.017807362601161003,
0.010601592250168324,
-0.021810567006468773,
-0.07207610458135605,
0.004543868359178305,
-0.07590445876121521,
-0.06235797703266144,
-0.05006307363510132,
-0.007205769885331392,
-0.04774397611618042,
-0.042884912341833115,
0.026890497654676437,
-0.017899390310049057,
0.004493252839893103,
0.003750129137188196,
-0.07914382964372635,
0.04910598695278168,
-0.05830875784158707,
0.009754937142133713,
0.06357274204492569,
0.0330195426940918,
0.07299637794494629,
0.04542487859725952,
-0.007941991090774536,
-0.025197187438607216,
0.042627234011888504,
0.01958349719643593,
0.010362320579588413,
-0.0377681739628315,
0.0015368628082796931,
0.03185999393463135,
0.01962030865252018,
-0.01651897467672825,
-0.05124102905392647,
0.027534691616892815,
-0.007564677856862545,
0.028933512046933174,
0.02201302908360958,
0.019546685740351677,
-0.09305842220783234,
-0.005314600188285112,
0.0353938564658165,
0.0007805100176483393,
0.023283010348677635,
-0.023927204310894012,
-0.041486091911792755,
-0.03684789687395096,
0.010141453705728054,
-0.009299400262534618,
0.08694778382778168,
0.027976423501968384,
0.03798903897404671,
0.03754730522632599,
-0.02486588805913925,
0.012681419029831886,
0.02127680741250515,
0.049805399030447006,
0.036737460643053055,
-0.017117153853178024,
-0.05414910614490509,
-0.008963499218225479,
0.012442146427929401,
-0.002776936162263155,
-0.05488532781600952,
-0.06500837206840515,
-0.05484851449728012,
0.004652000963687897,
-0.009009513072669506,
0.03241216018795967,
0.007711922284215689,
0.08010091632604599,
-0.01075803954154253,
-0.0005349110579118133,
0.0030323131941258907,
0.010850067250430584,
-0.05293434113264084,
0.007647502701729536,
-0.004721021745353937,
-0.03850439563393593,
0.005190362688153982,
-0.03167593851685524,
-0.014687622897326946,
-0.03233853727579117,
0.015644710510969162,
-0.05057843029499054,
0.03901974856853485,
0.008484954945743084,
0.0057103196159005165,
-0.013951401226222515,
0.00863219890743494,
-0.015699926763772964,
0.01159549131989479,
-0.03688470646739006,
0.03565153479576111,
-0.012506566010415554,
0.011181366629898548,
0.001976295141503215,
-0.07538910210132599,
0.04167014732956886,
0.07273869961500168,
0.00251235649921,
-0.03916699439287186,
0.012561782263219357,
0.051167406141757965,
-0.06121683493256569,
-0.03655340522527695,
0.054517216980457306,
-0.010914486832916737,
-0.05344969406723976,
-0.05749891325831413,
-0.0045024557039141655,
-0.0330379493534565,
0.007849963381886482,
-0.037915416061878204,
-0.0920277088880539,
0.05344969406723976,
0.09099700301885605,
-0.03740006312727928,
0.05598966032266617,
-0.04873787611722946,
0.023006927222013474,
-0.002648097462952137,
-0.037915416061878204,
-0.06313101202249527,
0.051682762801647186,
0.018497569486498833,
-0.011834763921797276,
-0.03244896978139877,
-0.030663633719086647,
-0.029669733718037605,
0.03854120522737503,
0.01195439975708723,
0.008369920775294304,
0.015506668947637081,
0.016141660511493683,
0.0013505066744983196,
-0.01547906082123518,
-0.00815825629979372,
0.01028869766741991,
0.009396029636263847,
0.026062248274683952,
0.049510907381772995,
-0.007076931186020374,
0.041927825659513474,
0.019675524905323982,
-0.019804364070296288,
-0.06257884204387665,
-0.010942094959318638,
0.03049798309803009,
0.017199980095028877,
0.006087633315473795,
0.017660118639469147,
-0.03942467272281647,
0.006303898058831692,
0.03381098061800003,
-0.025344431400299072,
0.04306896775960922,
-0.0355411022901535,
-0.01797301135957241,
0.09673953056335449,
-0.015451452694833279,
0.012589391320943832,
0.07111901789903641,
0.020043635740876198,
0.01912335865199566,
0.03051638975739479,
0.027240201830863953,
0.0496949627995491,
-0.009373022243380547,
-0.03616689145565033,
0.006547771859914064,
-0.04343707859516144,
0.06953614205121994,
-0.04822251945734024,
-0.0639040395617485,
0.011963602155447006,
-0.005779340397566557,
0.006662806496024132,
-0.0027907404582947493,
-0.0307004451751709,
-0.007518664002418518,
-0.015110949985682964,
-0.0026365939993411303,
-0.0011181366862729192,
-0.08311942964792252,
-0.03752890229225159,
-0.04995264112949371,
-0.02009885199368,
0.0074128322303295135,
0.019252197816967964,
-0.009313204325735569,
-0.004813049454241991,
0.013905387371778488,
-0.04748629778623581,
-0.017568090930581093,
-0.02503153681755066,
-0.004569175653159618,
0.01914176344871521,
-0.004978699143975973,
-0.01323358528316021,
-0.05562154948711395,
-0.0330379493534565,
-0.007822355255484581,
0.0020970813930034637,
-0.10748836398124695,
-0.043142590671777725,
0.025896597653627396,
-0.06486113369464874,
0.014963706023991108,
0.010721228085458279,
-0.021332023665308952,
-0.007122945040464401,
-0.023743148893117905,
0.013270395807921886,
-0.043363459408283234,
0.0045277634635567665,
0.0034073260612785816,
-0.004260883200913668,
0.0473390556871891,
-0.014871678315103054,
-0.01582876592874527,
0.003989401273429394,
-0.04354751482605934,
-0.02217867784202099,
0.0034878503065556288,
-0.03883569315075874,
0.02289649471640587,
0.008429738692939281,
0.019528280943632126,
0.051167406141757965,
-0.05297115072607994,
0.025896597653627396,
0.04513039067387581,
0.02197621762752533,
-0.0018831170164048672,
-0.00790518056601286,
-0.03493371978402138,
0.03565153479576111,
0.012331712990999222,
-0.08459187299013138,
-0.009570881724357605,
0.059928447008132935,
-0.04019770398736,
0.0827513188123703,
0.0030737256165593863,
0.02076145075261593,
0.017632508650422096,
-0.016463758423924446,
0.005208768416196108,
0.020172474905848503,
-0.000017920239770319313,
-0.05396505072712898,
-0.01628890447318554,
0.04060262441635132,
0.002657300094142556,
-0.02295171096920967,
-0.012469754554331303,
0.010086237452924252,
-0.06563416123390198,
-0.06526605039834976,
0.014448350295424461,
-0.021847378462553024,
-0.07664068043231964,
0.02508675493299961,
0.01963871344923973,
-0.03232013061642647,
0.044541411101818085,
0.00002304287590959575,
0.01725519634783268,
0.04586661234498024,
-0.014273498207330704,
0.03666384145617485,
0.017089545726776123,
0.0022408748045563698,
-0.07502099126577377,
-0.028675835579633713,
-0.027958018705248833,
0.008733429946005344,
-0.03073725476861,
0.002549167489632964,
-0.004932685289531946,
0.012368524447083473,
0.004693413153290749,
0.023964015766978264,
0.005333005916327238,
0.05576879158616066,
0.03809947147965431,
-0.021129561588168144,
0.03097652830183506,
-0.005259383469820023,
-0.008374521508812904,
0.014466756023466587,
-0.07141350209712982,
-0.008089235983788967,
0.02906235121190548,
-0.05135146155953407,
-0.008512563072144985,
0.010804053395986557,
-0.006257884204387665,
-0.000682730576954782,
-0.002848257776349783,
-0.01864481344819069,
0.061327267438173294,
0.03901974856853485,
0.05216130614280701,
0.009874572977423668,
0.017384035512804985,
0.02460820972919464,
0.010242683812975883,
-0.011420639231801033,
0.030663633719086647,
0.03690311312675476,
-0.004992503207176924,
0.011383827775716782,
-0.047118186950683594,
-0.005116740707308054,
0.04233274608850479,
0.02320938929915428,
-0.015883982181549072,
0.03233853727579117,
0.024405749514698982,
-0.022381139919161797,
-0.062026675790548325,
-0.044835902750492096,
-0.015580291859805584,
0.06489793956279755,
0.006179661024361849,
-0.0015909291105344892,
-0.02552848681807518,
0.05057843029499054,
0.04421011358499527,
0.06246840953826904,
-0.026577603071928024,
-0.06695936620235443,
0.0009300550445914268,
-0.07461606711149216,
0.056836314499378204,
0.03927742689847946,
0.04586661234498024,
0.04678688943386078,
0.0019256798550486565,
0.040050458163022995,
-0.030663633719086647,
-0.008208871819078922,
0.04347389191389084,
-0.005360614042729139,
0.04932685196399689,
0.040308136492967606,
-0.02764512412250042,
0.020724641159176826,
0.00861839484423399,
-0.0014816462062299252,
-0.022767655551433563,
-0.03854120522737503,
0.051682762801647186,
0.022657223045825958,
-0.021166373044252396,
-0.042406369000673294,
-0.022786062210798264,
-0.04634515568614006,
0.007868369109928608,
0.005650501698255539,
0.000609683571383357,
0.05341288447380066,
-0.030682038515806198,
-0.12096122652292252,
0.0012699824292212725,
0.010463550686836243,
0.06302057951688766,
-0.02525240369141102,
-0.029853789135813713,
0.05241898447275162,
0.016472959890961647,
0.06022293493151665,
0.03428952395915985,
-0.04045538231730461,
0.03290911018848419,
-0.01287467684596777,
0.04744948819279671,
0.015745941549539566,
0.03565153479576111,
0.00047106685815379024,
0.044320546090602875,
0.05175638571381569,
-0.054995760321617126,
0.04656602069735527,
-0.017430048435926437,
-0.0012446747859939933,
-0.018295109272003174,
-0.005935787223279476,
0.023724744096398354,
-0.04704456776380539,
0.07958556711673737,
0.006391324568539858,
-0.01631651259958744,
0.018598800525069237,
-0.02245476096868515,
0.04317940026521683,
-0.0283445343375206,
-0.029909005388617516,
-0.0732908695936203,
0.02481067180633545,
-0.009994209744036198,
-0.04133884608745575,
0.01984117366373539,
0.036516595631837845,
0.0401608943939209,
0.027829179540276527,
-0.01794540323317051,
-0.014107848517596722,
-0.01191758830100298,
0.011521869339048862,
0.003011606866493821,
0.010435942560434341,
0.04686051234602928,
-0.06416171789169312,
-0.02959611266851425,
0.03901974856853485,
-0.0015184571966528893,
0.005070726852864027,
-0.032540999352931976,
-0.0029448866844177246,
-0.023062145337462425,
-0.04708137735724449,
0.006934287957847118,
0.013482059352099895,
0.00732080452144146,
-0.0004934985772706568,
0.015699926763772964,
-0.05694674700498581,
0.059449899941682816,
-0.0803217887878418,
0.04229593649506569,
0.05786702409386635,
0.021681729704141617,
-0.0072333780117332935
] |
719,572
|
ibm_platform_services.global_tagging_v1
|
attach_tag
|
Attach tags.
Attaches one or more tags to one or more resources. Each resource can have no more
than 1000 tags per each 'user' and 'service' type, and no more than 250 'access'
tags (which is the account limit).
:param List[Resource] resources: List of resources on which the tag or tags
are attached.
:param str tag_name: (optional) The name of the tag to attach.
:param List[str] tag_names: (optional) An array of tag names to attach.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account of the
tagged resource. It is a required parameter if `tag_type` is set to
`service`. Otherwise, it is inferred from the authorization IAM token.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources.
:param bool replace: (optional) Flag to request replacement of all attached
tags. Set 'true' if you want to replace all the list of tags attached to
the resource. Default value is false.
: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 representing a `TagResults` object
|
def attach_tag(
self,
resources: List['Resource'],
*,
tag_name: Optional[str] = None,
tag_names: Optional[List[str]] = None,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
replace: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Attach tags.
Attaches one or more tags to one or more resources. Each resource can have no more
than 1000 tags per each 'user' and 'service' type, and no more than 250 'access'
tags (which is the account limit).
:param List[Resource] resources: List of resources on which the tag or tags
are attached.
:param str tag_name: (optional) The name of the tag to attach.
:param List[str] tag_names: (optional) An array of tag names to attach.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account of the
tagged resource. It is a required parameter if `tag_type` is set to
`service`. Otherwise, it is inferred from the authorization IAM token.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources.
:param bool replace: (optional) Flag to request replacement of all attached
tags. Set 'true' if you want to replace all the list of tags attached to
the resource. Default value is false.
: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 representing a `TagResults` object
"""
if resources is None:
raise ValueError('resources must be provided')
resources = [convert_model(x) for x in resources]
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='attach_tag',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'tag_type': tag_type,
'replace': replace,
}
data = {
'resources': resources,
'tag_name': tag_name,
'tag_names': tag_names,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v3/tags/attach'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, resources: List[ibm_platform_services.global_tagging_v1.Resource], *, tag_name: Optional[str] = None, tag_names: Optional[List[str]] = None, x_request_id: Optional[str] = None, x_correlation_id: Optional[str] = None, account_id: Optional[str] = None, tag_type: Optional[str] = None, replace: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.0015949669759720564,
-0.016255421563982964,
-0.06271049380302429,
-0.0424104742705822,
0.005214639473706484,
0.01795993000268936,
-0.028697367757558823,
-0.038019198924303055,
-0.009321830235421658,
-0.029159607365727425,
-0.0008354015881195664,
0.010592988692224026,
-0.019481468945741653,
-0.04965222626924515,
-0.03152858465909958,
-0.011546357534825802,
-0.014117565006017685,
0.021263016387820244,
-0.007318791933357716,
-0.024922411888837814,
0.015754662454128265,
0.07919703423976898,
-0.016024302691221237,
0.004954629577696323,
0.04868922755122185,
0.013761254958808422,
0.03287678584456444,
-0.044374991208314896,
-0.011401907540857792,
0.06536836922168732,
0.0068372925743460655,
-0.02245713584125042,
0.002857699291780591,
0.003943480551242828,
0.005301309283822775,
0.0032669738866388798,
-0.005224269349128008,
0.05242566391825676,
-0.016746550798416138,
0.0073813870549201965,
-0.04965222626924515,
-0.018229570239782333,
0.030700406059622765,
-0.06498316675424576,
0.03944443538784981,
0.032607145607471466,
0.004973889794200659,
0.01605319231748581,
0.04483723267912865,
-0.03389756381511688,
0.08181639015674591,
-0.017603620886802673,
0.0019031267147511244,
-0.023920893669128418,
-0.04876626655459404,
0.041023753583431244,
-0.06159341335296631,
0.032626405358314514,
-0.026655809953808784,
-0.016255421563982964,
-0.004039780702441931,
0.00048029571189545095,
0.029044048860669136,
0.0017093231435865164,
-0.1012304499745369,
0.04325791448354721,
0.023092715069651604,
-0.035785041749477386,
-0.038115497678518295,
-0.006264308001846075,
-0.005017224699258804,
-0.023863114416599274,
-0.0016407094663009048,
-0.0037051383405923843,
0.027792150154709816,
0.03376274183392525,
0.01752658002078533,
0.024806853383779526,
-0.046493589878082275,
-0.057394735515117645,
0.002309993840754032,
-0.001074947533197701,
0.019288869574666023,
0.010910778306424618,
0.024980193004012108,
0.02987222746014595,
-0.040908195078372955,
-0.024229053407907486,
-0.04391275346279144,
-0.02043483778834343,
-0.017459170892834663,
0.007578801829367876,
-0.018807370215654373,
0.026578770950436592,
0.038577739149332047,
0.012364906258881092,
-0.014493133872747421,
-0.022534174844622612,
0.03237602487206459,
0.015205753035843372,
0.025769852101802826,
-0.05959037318825722,
0.004059040453284979,
0.021917855367064476,
-0.028389209881424904,
-0.04364311322569847,
-0.037345100194215775,
0.027483990415930748,
0.017247311770915985,
0.009601099416613579,
-0.0013181047979742289,
-0.07076115906238556,
0.04903590679168701,
0.009967039339244366,
-0.012133786454796791,
-0.004148118197917938,
0.018191050738096237,
0.014599064365029335,
-0.0070732273161411285,
-0.036651741713285446,
0.03559244051575661,
-0.048612188547849655,
0.030411506071686745,
-0.0361509807407856,
-0.038404397666454315,
-0.026347652077674866,
-0.01793104037642479,
0.03399386256933212,
-0.042179353535175323,
-0.008166231215000153,
-0.08042967319488525,
-0.00145051721483469,
0.026848411187529564,
0.07391980290412903,
0.026520991697907448,
-0.055468738079071045,
-0.04310383275151253,
0.07549911737442017,
-0.0032910488080233335,
0.015475393272936344,
0.023015674203634262,
0.0032669738866388798,
-0.01455091405659914,
0.014579803682863712,
-0.03497612103819847,
-0.03722953796386719,
0.060668934136629105,
-0.017170270904898643,
-0.02977592684328556,
-0.007636581547558308,
-0.05003742501139641,
-0.05023002624511719,
-0.009023300372064114,
0.051308583468198776,
0.011738956905901432,
0.007559541612863541,
-0.00975036434829235,
-0.03437906131148338,
-0.020954856649041176,
-0.044952791184186935,
0.0185377299785614,
0.01682359166443348,
-0.025500211864709854,
0.030970046296715736,
0.025654291734099388,
-0.06463649123907089,
-0.06802624464035034,
0.06532984972000122,
0.0015287608839571476,
-0.006240233313292265,
-0.02786918915808201,
0.03008408658206463,
0.030970046296715736,
0.0029154792428016663,
0.00935071986168623,
0.021417096257209778,
0.0356694795191288,
-0.041023753583431244,
-0.010111489333212376,
0.017218420282006264,
0.007833996787667274,
0.010101858526468277,
0.05920517444610596,
0.019625918939709663,
-0.03412868455052376,
-0.00820956565439701,
0.05311902239918709,
-0.00028288093744777143,
-0.008488835766911507,
-0.027349170297384262,
0.050268545746803284,
0.03719101846218109,
0.007357311900705099,
0.008840329945087433,
-0.00874884519726038,
0.0212052371352911,
0.015706513077020645,
-0.052464183419942856,
0.06016817316412926,
0.02351643517613411,
-0.007920666597783566,
0.028851447626948357,
0.013279755599796772,
0.014396834187209606,
0.06147785112261772,
-0.0066783977672457695,
-0.014974633231759071,
-0.03892441838979721,
-0.0414089560508728,
-0.06725584715604782,
0.018884409219026566,
0.002590467222034931,
-0.01292344555258751,
0.038596998900175095,
-0.01480129361152649,
0.05677841976284981,
0.053350143134593964,
-0.000983462668955326,
0.021147456020116806,
-0.05627765879034996,
0.03410942107439041,
-0.030430765822529793,
-0.01769028976559639,
-0.03025742620229721,
-0.014522024430334568,
0.005426499061286449,
0.04849662631750107,
0.022823074832558632,
-0.010294458828866482,
-0.00741990702226758,
0.011016707867383957,
0.004439425189048052,
0.01993407867848873,
0.007261012215167284,
-0.029063308611512184,
-0.0004086726694367826,
0.03457166254520416,
-0.01629394292831421,
0.024999452754855156,
-0.01340494491159916,
0.06209417060017586,
0.07099228352308273,
0.03480278328061104,
0.006341347936540842,
-0.020839298143982887,
-0.0674099251627922,
-0.06140081211924553,
-0.0113152377307415,
0.004973889794200659,
-0.07553763687610626,
0.0034643886610865593,
0.008094006218016148,
-0.021051157265901566,
-0.024883892387151718,
0.0070732273161411285,
-0.04710990935564041,
0.07626951485872269,
-0.05724065750837326,
0.03312716260552406,
-0.014685734175145626,
-0.02736843004822731,
-0.03461018204689026,
-0.011064858175814152,
0.047186948359012604,
-0.03179822489619255,
0.02110893651843071,
-0.009995928965508938,
0.023304574191570282,
-0.03064262680709362,
0.007920666597783566,
0.09144637733697891,
0.02243787609040737,
0.046878788620233536,
-0.06390461325645447,
0.016987301409244537,
0.027021750807762146,
0.08728622645139694,
0.002279900014400482,
-0.037903640419244766,
0.015773922204971313,
-0.014618324115872383,
-0.03601616248488426,
0.013366425409913063,
0.004973889794200659,
0.060938574373722076,
-0.014753144234418869,
-0.02214897610247135,
0.0858224630355835,
-0.042641595005989075,
-0.039174798876047134,
0.01947183907032013,
0.05708657577633858,
0.028446989133954048,
-0.014050154946744442,
-0.050268545746803284,
0.01551391277462244,
-0.05404350161552429,
0.015619843266904354,
0.05038410425186157,
-0.011796737089753151,
-0.04452907294034958,
0.041601553559303284,
0.09968964755535126,
-0.03276122361421585,
-0.06032225489616394,
-0.06764104962348938,
0.06579209119081497,
-0.027252869680523872,
-0.04606986790895462,
0.023111974820494652,
-0.037268057465553284,
0.08589950948953629,
-0.021224496886134148,
-0.03576578199863434,
-0.025596512481570244,
0.017902150750160217,
0.046878788620233536,
0.04275715351104736,
-0.019404428079724312,
0.001387922209687531,
0.02082003653049469,
0.020030377432703972,
-0.07588431984186172,
-0.06051485240459442,
0.0819704681634903,
0.012345646508038044,
0.02736843004822731,
-0.00480295717716217,
-0.00040837173582985997,
0.007651026826351881,
0.04171711578965187,
-0.0207044780254364,
-0.036478400230407715,
0.0036666186060756445,
-0.08166231215000153,
-0.03172118589282036,
-0.013048635795712471,
-0.06756400316953659,
0.024094233289361,
0.01793104037642479,
-0.06382756680250168,
-0.028466248884797096,
-0.015099823474884033,
-0.0062931980937719345,
-0.012740476056933403,
0.01310641597956419,
0.06575357168912888,
0.0212052371352911,
-0.0028625144623219967,
0.04838106781244278,
0.004232380539178848,
0.08782550692558289,
0.0664854496717453,
0.030488546937704086,
0.040638554841279984,
-0.0858224630355835,
-0.04260307177901268,
0.05754881724715233,
0.025962451472878456,
0.03871255740523338,
-0.11032115668058395,
0.014290904626250267,
0.013067895546555519,
-0.002179988892748952,
0.06236381083726883,
-0.03220268338918686,
-0.01874958910048008,
-0.011767847463488579,
-0.07407388091087341,
-0.06063041463494301,
0.00775695638731122,
-0.012490096502006054,
-0.06278753280639648,
0.05192490294575691,
0.016014672815799713,
-0.019722217693924904,
0.003965148236602545,
-0.0058983685448765755,
-0.030989306047558784,
0.05261826142668724,
-0.013751625083386898,
0.030411506071686745,
0.02380533330142498,
-0.035785041749477386,
0.023092715069651604,
-0.03861625865101814,
0.04364311322569847,
-0.04884330555796623,
0.01074706856161356,
0.016621362417936325,
0.05127006396651268,
-0.0674484446644783,
-0.029332948848605156,
0.02082003653049469,
-0.06232529133558273,
-0.06775660812854767,
-0.04414387047290802,
-0.047572147101163864,
-0.04194823279976845,
-0.02041557803750038,
-0.013125675730407238,
0.023073455318808556,
0.0303537268191576,
0.006870997603982687,
0.014830184169113636,
0.01160413771867752,
0.03796141967177391,
-0.037903640419244766,
-0.018720699474215508,
0.027021750807762146,
-0.036073941737413406,
0.011787107214331627,
-0.04268011450767517,
-0.036767300218343735,
-0.028215868398547173,
0.03582356125116348,
-0.01846068911254406,
0.046686187386512756,
-0.05404350161552429,
0.021166717633605003,
0.029833707958459854,
-0.025866150856018066,
-0.02786918915808201,
0.027060270309448242,
-0.04560763016343117,
-0.0452994704246521,
-0.008238456211984158,
-0.006803587544709444,
0.014782033860683441,
-0.06975964456796646,
0.01995333842933178,
0.0530034638941288,
0.0346679612994194,
-0.05003742501139641,
0.022668994963169098,
0.008681435137987137,
-0.02960258722305298,
-0.03774955868721008,
0.049767784774303436,
0.0058357734233140945,
-0.0018862741999328136,
-0.007646211422979832,
0.019818518310785294,
-0.04287271201610565,
-0.03382052481174469,
-0.0034451286774128675,
-0.04945962503552437,
-0.0012856036191806197,
0.014676104299724102,
0.003192341420799494,
0.08905814588069916,
-0.008821070194244385,
0.05365830287337303,
0.01696804165840149,
-0.04734103009104729,
-0.0030743740499019623,
0.04826550558209419,
-0.00843587052077055,
-0.05577689781785011,
-0.046108391135931015,
-0.01788289099931717,
-0.006707287859171629,
0.0008010947494767606,
0.022283796221017838,
-0.06082301214337349,
0.04965222626924515,
-0.019096268340945244,
-0.049498144537210464,
0.0016322832088917494,
-0.001306067337282002,
0.056046538054943085,
0.008431055583059788,
0.014753144234418869,
0.03066188655793667,
0.01373236533254385,
0.01656358130276203,
0.05423609912395477,
0.03942517563700676,
-0.0012843998847529292,
-0.01503241341561079,
0.049690745770931244,
-0.05828069522976875,
0.059513334184885025,
-0.0034619811922311783,
0.03597763925790787,
0.04183267429471016,
0.04425943270325661,
0.03489908203482628,
-0.005219454411417246,
0.04780326783657074,
0.005956148263067007,
-0.03998371586203575,
-0.0351879820227623,
0.051886383444070816,
-0.0520404614508152,
0.005609469022601843,
0.006952852476388216,
0.004588690120726824,
-0.03037298657000065,
-0.018547359853982925,
0.028967007994651794,
-0.10261716693639755,
0.060861531645059586,
-0.06398165225982666,
0.04383571073412895,
0.009254420176148415,
0.047572147101163864,
0.00009223724191542715,
-0.007886961102485657,
-0.0166117325425148,
-0.0654839277267456,
-0.007737696636468172,
0.07214788347482681,
-0.008527355268597603,
0.013790144585072994,
0.04306531324982643,
-0.03266492486000061,
-0.019635548815131187,
0.003136969171464443,
-0.06960556656122208,
-0.00011142198491143063,
0.04306531324982643,
0.025365391746163368,
-0.0024592585396021605,
0.0337434820830822,
-0.026443950831890106,
-0.00308400415815413,
-0.03892441838979721,
-0.0023003637325018644,
0.043026793748140335,
0.007915851660072803,
0.04029187560081482,
-0.0293907281011343,
-0.09722437709569931,
0.002331661293283105,
0.019779998809099197,
-0.05269530415534973,
-0.05774141848087311,
-0.023362355306744576,
0.005883923731744289,
0.019317759200930595,
0.011247827671468258,
-0.02862032875418663,
-0.06351941078901291,
-0.00816141627728939,
-0.02332383394241333,
-0.030141867697238922,
-0.004242010414600372,
0.06290309131145477,
-0.057471778243780136,
0.022784555330872536,
-0.028023269027471542,
-0.04372015222907066,
0.021551916375756264,
-0.028215868398547173,
-0.033011604100465775,
0.0010177695658057928,
-0.05573837831616402,
-0.007357311900705099,
0.012490096502006054,
0.03191378340125084,
0.04984482377767563,
-0.009572209790349007,
-0.005551688838750124,
0.03064262680709362,
0.02342013455927372,
0.042448993772268295,
0.0049690743908286095,
0.010804847814142704,
-0.009899629279971123,
-0.009938148781657219,
-0.024633513763546944,
-0.050461143255233765,
-0.012490096502006054,
0.023959413170814514,
0.0443364717066288,
0.001626264420337975,
-0.010631508193910122,
-0.013376055285334587,
0.025230571627616882,
-0.000051648341468535364,
-0.001939239096827805,
0.015850963070988655,
-0.08212455362081528,
0.041871193796396255,
0.033011604100465775,
0.009774439036846161,
0.05616210028529167,
0.020646696910262108,
0.014704993925988674,
-0.06521429121494293,
-0.012066376395523548,
-0.031201165169477463,
-0.023920893669128418,
-0.018239200115203857,
0.07696287333965302,
0.015061303973197937,
-0.008281790651381016,
-0.03432128205895424,
-0.006957667414098978,
0.05261826142668724,
-0.01045816857367754,
-0.055930979549884796,
0.028100309893488884,
-0.012990855611860752,
-0.008734400384128094,
-0.04098523408174515,
-0.03553466126322746,
-0.01826808974146843,
-0.01786363124847412,
0.0009726289426907897,
-0.01329901535063982,
0.0018260867800563574,
0.007434351835399866,
0.02137857675552368,
-0.008358830586075783,
-0.036959901452064514,
0.059782974421978,
0.07919703423976898,
-0.03890515863895416,
0.0027397319208830595,
-0.02496093325316906,
-0.005951333325356245,
0.0026000970974564552,
0.009928518906235695,
0.05477537959814072,
-0.03934813663363457,
-0.014733883552253246,
-0.03746065869927406,
0.023554954677820206,
0.022957894951105118,
0.03449462354183197,
0.0260202307254076,
0.06213269382715225,
0.027695849537849426,
0.023631993681192398,
0.08828774094581604,
0.01296196598559618,
0.003478833707049489,
0.013000485487282276,
0.01738213188946247,
-0.010987818241119385,
-0.013395315036177635,
0.013183455914258957,
0.004711472429335117,
0.06521429121494293,
-0.0015010746428743005,
-0.05088486522436142,
0.024267572909593582,
0.036959901452064514,
-0.005113524384796619,
0.022784555330872536,
-0.018296979367733,
-0.07303383946418762,
0.00356550351716578,
0.052464183419942856,
-0.015600582584738731,
0.03432128205895424,
-0.007049152161926031,
0.025808371603488922,
0.00018056230328511447,
-0.02852402813732624,
0.03410942107439041,
-0.0006211342988535762,
-0.030430765822529793,
-0.048804786056280136,
0.0006933592376299202,
-0.11124563962221146,
0.014916853979229927,
0.054390180855989456,
-0.01723768189549446,
-0.03655543923377991,
0.03341606259346008,
0.04164007306098938,
0.0103522390127182,
0.03516872227191925,
0.0023581436835229397,
0.0018838667310774326,
-0.0031080790795385838,
-0.010920408181846142,
0.028081050142645836,
-0.0062980130314826965,
0.03593911975622177,
-0.002616949612274766,
-0.026366911828517914,
-0.04464463144540787,
0.052001941949129105,
-0.022996414452791214,
-0.0341864638030529,
0.033878304064273834,
0.038789596408605576,
-0.07665471732616425,
0.0004995557246729732,
0.02758028917014599,
-0.0433349534869194,
0.03016112744808197,
-0.024594992399215698,
-0.024845372885465622,
0.0030454841908067465,
-0.02987222746014595,
0.03095078654587269,
0.025750592350959778,
0.020646696910262108,
0.028485508635640144,
-0.03122042678296566,
0.02717583067715168,
-0.01844142936170101,
-0.026867670938372612,
0.027310650795698166,
-0.00775695638731122,
0.020762257277965546,
0.022611215710639954,
0.07734807580709457,
-0.0012422685977071524,
0.005108709447085857,
0.004307013005018234,
-0.0026289871893823147,
0.011623397469520569,
0.06413573026657104,
0.069412961602211,
-0.03064262680709362,
0.022206755355000496,
0.016862111166119576,
-0.024594992399215698,
-0.005792438518255949,
-0.009369979612529278,
0.013896075077354908,
0.07357311993837357,
-0.017892520874738693,
-0.0020054453052580357,
0.04036891460418701,
0.059898532927036285,
-0.051616743206977844,
-0.0018309017177671194,
-0.015581322833895683,
-0.09691621363162994,
0.004174600355327129,
0.017122121527791023,
0.057587336748838425,
0.01474351342767477,
-0.011777477338910103,
-0.0011483762646093965,
-0.004059040453284979,
-0.028504768386483192,
-0.008484020829200745,
-0.02883218787610531,
0.028466248884797096,
0.013626434840261936,
-0.029987787827849388,
-0.0375954806804657,
0.0395214781165123,
-0.014512394554913044,
-0.03591986000537872,
-0.012730846181511879,
0.08266382664442062,
-0.007651026826351881,
0.015311683528125286,
0.009938148781657219,
0.01156561728566885,
-0.02322753518819809,
0.0303537268191576,
-0.028466248884797096,
0.01870143972337246,
-0.03582356125116348,
-0.03366644307971001,
0.049960386008024216,
0.028947748243808746,
0.027599548920989037
] |
719,574
|
ibm_platform_services.global_tagging_v1
|
create_tag
|
Create an access management tag.
Create an access management tag. To create an `access` tag, you must have the
access listed in the [Granting users access to tag
resources](https://cloud.ibm.com/docs/account?topic=account-access) documentation.
`service` and `user` tags cannot be created upfront. They are created when they
are attached for the first time to a resource.
:param List[str] tag_names: An array of tag names to create.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account where the
tag must be created.
:param str tag_type: (optional) The type of the tags you want to create.
The only allowed value is `access`.
: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 representing a `CreateTagResults` object
|
def create_tag(
self,
tag_names: List[str],
*,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Create an access management tag.
Create an access management tag. To create an `access` tag, you must have the
access listed in the [Granting users access to tag
resources](https://cloud.ibm.com/docs/account?topic=account-access) documentation.
`service` and `user` tags cannot be created upfront. They are created when they
are attached for the first time to a resource.
:param List[str] tag_names: An array of tag names to create.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account where the
tag must be created.
:param str tag_type: (optional) The type of the tags you want to create.
The only allowed value is `access`.
: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 representing a `CreateTagResults` object
"""
if tag_names is None:
raise ValueError('tag_names must be provided')
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='create_tag',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'tag_type': tag_type,
}
data = {
'tag_names': tag_names,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v3/tags'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, tag_names: List[str], *, x_request_id: Optional[str] = None, x_correlation_id: Optional[str] = None, account_id: Optional[str] = None, tag_type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.03353118896484375,
-0.004706089850515127,
-0.031510546803474426,
-0.09683822095394135,
0.0014142097206786275,
0.014449482783675194,
-0.07144678384065628,
0.021693287417292595,
-0.025219876319169998,
-0.04094655439257622,
0.017366066575050354,
0.09485571086406708,
0.031205546110868454,
-0.06290671974420547,
-0.02920396812260151,
-0.016327153891324997,
0.01751856878399849,
-0.012914939783513546,
-0.025277063250541687,
-0.015821993350982666,
0.020606717094779015,
0.06976927071809769,
0.011847431771457195,
-0.0025663082487881184,
0.06629987061023712,
0.01999671198427677,
-0.002322068205103278,
-0.014735422097146511,
-0.00021773111075162888,
0.02802208438515663,
-0.009669525548815727,
-0.009393117390573025,
0.0035790111869573593,
0.040603429079055786,
0.019462957978248596,
0.0013093652669340372,
-0.011876026168465614,
0.012686188332736492,
-0.03764871880412102,
0.029337406158447266,
-0.033302437514066696,
-0.023599551990628242,
0.015345427207648754,
-0.051964763551950455,
0.0013725102180615067,
-0.03675277531147003,
-0.0018026110483333468,
0.015297770500183105,
-0.015860117971897125,
-0.038468413054943085,
0.06553736329078674,
-0.0021350160241127014,
-0.014735422097146511,
-0.049372244626283646,
-0.026763949543237686,
0.014687765389680862,
0.009016629308462143,
0.020663904026150703,
-0.012266810052096844,
0.0005465616704896092,
-0.01132320985198021,
0.08677314966917038,
0.02005389891564846,
-0.012266810052096844,
-0.08440937846899033,
0.04163281247019768,
0.013639320619404316,
-0.03839216008782387,
-0.012371654622256756,
0.023599551990628242,
0.04128968343138695,
-0.03353118896484375,
0.02230329066514969,
0.018071385100483894,
0.04853348806500435,
0.025753630325198174,
0.023237360641360283,
0.015898244455456734,
-0.00892131682485342,
-0.03276868164539337,
-0.05337539687752724,
-0.01691809482872486,
0.028327086940407753,
0.01934858225286007,
0.04296719655394554,
0.060009196400642395,
-0.030347727239131927,
-0.009826792404055595,
-0.02621113322675228,
0.010560703463852406,
-0.014992767944931984,
-0.019596396014094353,
-0.03566620498895645,
0.04849536344408989,
0.006467001512646675,
0.0032144379802048206,
0.012171496637165546,
-0.013925259932875633,
0.01971077173948288,
0.033054620027542114,
0.009354991838335991,
-0.06061920151114464,
-0.029794909060001373,
0.028727401047945023,
-0.036276206374168396,
-0.03755340352654457,
-0.033759940415620804,
0.0342746302485466,
0.013591663911938667,
-0.01332478690892458,
-0.0051612104289233685,
-0.04559784010052681,
0.07720369845628738,
0.013620258308947086,
-0.03419838100671768,
0.006133405026048422,
0.03541838750243187,
-0.005694964434951544,
-0.04704660177230835,
-0.02630644664168358,
0.021750474348664284,
-0.07156115770339966,
0.03743902966380119,
-0.028670214116573334,
-0.019224675372242928,
0.03532307595014572,
-0.019119830802083015,
0.01151383575052023,
-0.01882435940206051,
-0.0009638548363000154,
-0.05516728758811951,
-0.007849043235182762,
0.03160586208105087,
0.05352789908647537,
0.0048180827870965,
-0.029833035543560982,
-0.02260829322040081,
0.03473213315010071,
-0.010198513977229595,
0.02445737086236477,
0.04331032186746597,
-0.0016560670919716358,
-0.010265232995152473,
-0.0017192120430991054,
-0.05398540198802948,
-0.0011229087831452489,
0.04994412139058113,
0.0008006309508346021,
-0.008864128962159157,
0.0063049690797924995,
-0.04872411489486694,
-0.07422992587089539,
-0.021235782653093338,
0.040679678320884705,
-0.002933264011517167,
-0.015259644947946072,
0.006557548884302378,
-0.04197593778371811,
0.003860185155645013,
0.008673502132296562,
0.02257016859948635,
0.013734634034335613,
-0.007077006157487631,
0.021273909136652946,
0.033759940415620804,
-0.0523841418325901,
-0.004172335844486952,
0.02335173636674881,
0.0032144379802048206,
-0.025258000940084457,
-0.03257805481553078,
0.05204101279377937,
0.03396962955594063,
-0.001741848886013031,
-0.035933081060647964,
-0.018052322790026665,
0.03202524036169052,
-0.03212055191397667,
-0.009250147268176079,
0.006152467802166939,
-0.0018383535789325833,
-0.013057909905910492,
0.02952803298830986,
0.0008190979133360088,
-0.01971077173948288,
0.012857751920819283,
0.06210608780384064,
0.025620190426707268,
0.0010085329413414001,
0.038449350744485855,
0.06561361253261566,
0.03126273304224014,
0.0201110877096653,
-0.0020015775226056576,
0.031548671424388885,
0.02262735553085804,
-0.002961857942864299,
-0.038087159395217896,
0.02333267405629158,
0.016765594482421875,
0.0327877439558506,
0.06866363435983658,
-0.0017978454707190394,
0.010675079189240932,
0.09569446742534637,
0.003171547083184123,
-0.011580554768443108,
-0.04803785681724548,
-0.07457305490970612,
-0.08341812342405319,
0.021350158378481865,
0.009250147268176079,
-0.025982381775975227,
0.051583509892225266,
-0.036276206374168396,
0.0642792284488678,
0.04418720304965973,
0.014554327353835106,
-0.002330407965928316,
-0.07137053459882736,
0.07525931298732758,
-0.0057473867200315,
0.016136527061462402,
-0.0183668565005064,
0.013181816786527634,
-0.0011616297997534275,
0.04925786703824997,
0.006333563011139631,
-0.022169852629303932,
0.011847431771457195,
-0.0034122129436582327,
-0.003950732760131359,
0.008845065720379353,
0.009721947833895683,
-0.06092420592904091,
-0.03419838100671768,
0.057073552161455154,
-0.06256359070539474,
-0.007777558173984289,
0.005337539594620466,
0.03650496155023575,
0.06912113726139069,
0.046131595969200134,
0.041518434882164,
-0.01715637743473053,
-0.033340562134981155,
-0.04708472639322281,
0.0036790899466723204,
0.0043153055012226105,
-0.04697034880518913,
-0.0013582132523879409,
0.01240978017449379,
-0.024228617548942566,
-0.027640830725431442,
0.021998289972543716,
-0.03900216519832611,
0.07159928232431412,
-0.07388680428266525,
0.034408070147037506,
-0.031548671424388885,
-0.04971536993980408,
-0.005594885442405939,
-0.03972654789686203,
0.02922303043305874,
-0.00075118726817891,
0.0035528000444173813,
0.019882336258888245,
0.012943534180521965,
-0.04891474172472954,
0.010122262872755527,
0.05726417899131775,
0.04167093709111214,
0.028250835835933685,
-0.0627923458814621,
-0.009497961029410362,
-0.018271543085575104,
0.09691447019577026,
-0.026058631017804146,
-0.07735620439052582,
0.024266744032502174,
-0.01581246219575405,
-0.023904552683234215,
0.00894037913531065,
0.04228094220161438,
0.02920396812260151,
0.025067374110221863,
-0.006333563011139631,
0.05730230361223221,
-0.012362123467028141,
-0.01605074480175972,
-0.03545651584863663,
0.07453493028879166,
0.006176296155899763,
0.006066686008125544,
-0.029013341292738914,
0.02190297655761242,
-0.046474721282720566,
0.05276539549231529,
0.02049233950674534,
-0.015354958362877369,
-0.062182340770959854,
0.04967724531888962,
0.06168670952320099,
-0.04891474172472954,
-0.04254781827330589,
-0.05867481231689453,
0.06912113726139069,
-0.04300532117486,
-0.043272197246551514,
0.022017352283000946,
-0.04475908353924751,
0.09645696729421616,
-0.0037243636325001717,
-0.037076838314533234,
-0.016184182837605476,
0.02992834895849228,
0.04403470456600189,
0.01663215458393097,
0.012228685431182384,
0.03652402386069298,
0.018195291981101036,
-0.03345493599772453,
-0.07255241274833679,
-0.07239991426467896,
0.0825793668627739,
-0.002914201468229294,
-0.008063497953116894,
0.007601228542625904,
0.025829879567027092,
0.0008512661443091929,
0.003669558558613062,
-0.02037796378135681,
-0.014249324798583984,
0.0011908194283023477,
-0.05501478537917137,
-0.049753494560718536,
-0.012323997914791107,
-0.04594096913933754,
0.014173074625432491,
-0.011113520711660385,
-0.09699072688817978,
-0.035875894129276276,
-0.032253991812467575,
0.01495464239269495,
-0.021788600832223892,
0.01312462892383337,
0.06244921684265137,
0.0019634522031992674,
0.017909351736307144,
0.033016495406627655,
-0.0007785898051224649,
0.08158811181783676,
0.0825793668627739,
0.06187733635306358,
0.06820613145828247,
-0.07007427513599396,
-0.040260300040245056,
0.058217309415340424,
0.025277063250541687,
0.019863273948431015,
-0.0906619280576706,
-0.021026093512773514,
0.03612370789051056,
0.0016846610233187675,
0.055205412209033966,
-0.06244921684265137,
0.004672730341553688,
0.00520410155877471,
-0.04765660688281059,
-0.06713862717151642,
0.008063497953116894,
-0.04601721838116646,
-0.07777558267116547,
0.07045552879571915,
0.0010311697842553258,
0.020702028647065163,
0.025791754946112633,
-0.03987904638051987,
-0.03827778622508049,
0.0423571914434433,
-0.022436730563640594,
-0.0013856157893314958,
0.015574178658425808,
-0.0266114491969347,
0.028632089495658875,
-0.012495562434196472,
0.05211726203560829,
0.001602453412488103,
0.007553571835160255,
0.01773778907954693,
0.05223163962364197,
-0.061839211732149124,
-0.03143429756164551,
0.024152368307113647,
-0.03172023594379425,
-0.05642542243003845,
-0.045025959610939026,
-0.02804114669561386,
-0.01784263364970684,
0.023980803787708282,
-0.011180239729583263,
0.015612304210662842,
0.0066385651007294655,
-0.019224675372242928,
-0.012762438505887985,
0.004243820905685425,
0.017794976010918617,
-0.01999671198427677,
-0.019462957978248596,
-0.006090514361858368,
-0.03639058396220207,
-0.008692564442753792,
-0.02510550059378147,
-0.06904488801956177,
-0.026897387579083443,
0.05802668258547783,
-0.05444290488958359,
0.08532438427209854,
-0.0634404718875885,
-0.02480049803853035,
0.02659238502383232,
-0.017366066575050354,
0.0029308812227100134,
0.03795371949672699,
-0.025963319465517998,
-0.01110398955643177,
-0.005132616497576237,
0.02520081214606762,
0.03856372460722923,
-0.055662915110588074,
0.025277063250541687,
0.0649273619055748,
0.003436041297391057,
-0.052346017211675644,
0.027964895591139793,
-0.011790243908762932,
-0.05653979629278183,
-0.017366066575050354,
0.03200617805123329,
0.03393150493502617,
-0.022188914939761162,
-0.01260040607303381,
0.02369486354291439,
-0.02083546854555607,
-0.012829158455133438,
0.0005289883119985461,
-0.05169788748025894,
-0.031110232695937157,
0.07037927210330963,
0.006228718440979719,
0.10057450085878372,
0.04784723371267319,
0.06466048210859299,
0.00018437149992678314,
-0.026134882122278214,
-0.026554260402917862,
-0.006652862299233675,
-0.012991190887987614,
-0.016641685739159584,
-0.05459540709853172,
-0.0236376766115427,
-0.005518634803593159,
-0.011246958747506142,
0.027907708659768105,
-0.04624596983194351,
0.04773285612463951,
-0.040260300040245056,
-0.04056530445814133,
0.0013951471773907542,
0.013277130201458931,
-0.008020606823265553,
0.008573423139750957,
0.019482020288705826,
0.04750410467386246,
-0.010865706019103527,
0.0028045913204550743,
0.010046012699604034,
-0.010274764150381088,
-0.013610726222395897,
-0.038849666714668274,
0.06233483925461769,
-0.029451781883835793,
0.027183327823877335,
0.011361334472894669,
0.0019289010670036077,
0.05036349967122078,
0.042090315371751785,
0.025715503841638565,
-0.009702884592115879,
0.021235782653093338,
-0.012981659732758999,
-0.06019982323050499,
-0.03732465207576752,
0.023466112092137337,
-0.04296719655394554,
0.005833168514072895,
0.004360579419881105,
-0.018500294536352158,
-0.08059684932231903,
-0.017613882198929787,
0.026173008605837822,
-0.03387431427836418,
0.023580487817525864,
-0.053794775158166885,
0.061419833451509476,
-0.01386807207018137,
0.03463682159781456,
-0.004813317209482193,
-0.05482415854930878,
-0.039574045687913895,
-0.09439820796251297,
-0.012609938159584999,
0.04052717611193657,
-0.023256422951817513,
-0.019748898223042488,
0.05291789397597313,
-0.05291789397597313,
-0.013391505926847458,
-0.03652402386069298,
-0.02767895720899105,
0.02657332271337509,
0.033054620027542114,
0.01566949114203453,
-0.006409813649952412,
0.019634520635008812,
-0.011523366905748844,
0.007829979993402958,
-0.029356468468904495,
0.011418522335588932,
0.03637152165174484,
0.0018252480076625943,
-0.007877636700868607,
-0.06820613145828247,
-0.05059225112199783,
-0.005980904214084148,
-0.010513046756386757,
-0.05859856307506561,
-0.005323242861777544,
0.00765365082770586,
0.000655278330668807,
0.0423571914434433,
0.005690198857337236,
-0.04982974752783775,
-0.04186156392097473,
-0.037000589072704315,
-0.01258134376257658,
0.0031286561861634254,
-0.015545585192739964,
0.06290671974420547,
-0.024972060695290565,
0.01916748657822609,
-0.030042724683880806,
-0.02516268752515316,
0.01844310574233532,
0.005194569937884808,
0.007077006157487631,
0.02584894374012947,
-0.0753355622291565,
0.018757639452815056,
0.025067374110221863,
0.003071468323469162,
0.054519157856702805,
-0.02628738433122635,
-0.006285906303673983,
0.0031429531518369913,
0.07621244341135025,
0.02806020900607109,
0.015583709813654423,
0.029833035543560982,
-0.001191415125504136,
0.002428104169666767,
-0.03658121079206467,
-0.02220797911286354,
0.019539209082722664,
0.004913396202027798,
0.017404193058609962,
0.022455792874097824,
-0.0013069823617115617,
-0.024628933519124985,
0.01168539933860302,
0.0032358835451304913,
0.010446327738463879,
-0.011551961302757263,
-0.07175178825855255,
0.03612370789051056,
0.04189968854188919,
-0.01619371399283409,
0.016746530309319496,
0.04986787214875221,
0.0037291294429451227,
-0.03730558976531029,
-0.02037796378135681,
-0.005075428634881973,
-0.0014606749173253775,
-0.04998224973678589,
0.06908301264047623,
0.011723524890840054,
-0.027145203202962875,
-0.04693222418427467,
-0.023161109536886215,
0.023065797984600067,
0.005628244951367378,
-0.0517360121011734,
0.04300532117486,
-0.003855419345200062,
-0.006609971169382334,
-0.023237360641360283,
-0.0351133868098259,
-0.028689276427030563,
-0.027583643794059753,
0.016346216201782227,
-0.02409517951309681,
-0.0019753663800656796,
0.012743376195430756,
0.023904552683234215,
-0.01461151521652937,
-0.014011042192578316,
0.06561361253261566,
0.08349437266588211,
-0.06858738511800766,
0.016565436497330666,
-0.06679549813270569,
-0.016098400577902794,
0.03465588390827179,
-0.027164265513420105,
0.06290671974420547,
-0.00037231724127195776,
-0.020149212330579758,
-0.006995989475399256,
0.01932951994240284,
0.026382697746157646,
0.03416025638580322,
-0.018614670261740685,
-0.0015643280930817127,
0.06012357398867607,
0.0657661184668541,
0.0809018537402153,
0.038506537675857544,
0.04418720304965973,
0.026725824922323227,
-0.003662410192191601,
-0.0003565309743862599,
0.007038880605250597,
0.01583152450621128,
-0.01858607679605484,
0.028288960456848145,
0.014173074625432491,
-0.029661471024155617,
0.04460658133029938,
0.029375530779361725,
-0.012238216586411,
0.02590613067150116,
-0.03027147613465786,
-0.07937683910131454,
0.004941990133374929,
0.02657332271337509,
-0.03709590062499046,
0.031529609113931656,
-0.016241371631622314,
-0.007591697387397289,
0.025372376665472984,
-0.02300860919058323,
0.04331032186746597,
0.01789982058107853,
-0.03892591595649719,
-0.03618089482188225,
0.018557481467723846,
-0.07884308695793152,
0.0015869649359956384,
0.05806480720639229,
0.019825147464871407,
-0.03526588901877403,
0.03236836567521095,
0.042128439992666245,
0.010074606165289879,
0.04014592617750168,
0.032654307782649994,
0.033016495406627655,
0.027621768414974213,
0.013972916640341282,
-0.003655261592939496,
0.01183790061622858,
0.03030960075557232,
-0.0306527279317379,
0.012724313884973526,
-0.06568986177444458,
0.04228094220161438,
-0.020130150020122528,
-0.033054620027542114,
-0.012076184153556824,
0.04624596983194351,
-0.05177413672208786,
-0.010589297860860825,
0.02121672034263611,
-0.05730230361223221,
0.05188851058483124,
-0.018357325345277786,
-0.031987112015485764,
0.002978537930175662,
-0.011485242284834385,
0.025219876319169998,
-0.009912573732435703,
0.004980115219950676,
0.07640306651592255,
-0.027469268068671227,
0.04826660826802254,
-0.0034813149832189083,
-0.04594096913933754,
0.06515610963106155,
-0.01728028431534767,
-0.0035980737302452326,
0.02331361174583435,
0.06992176920175552,
0.016441529616713524,
-0.009321631863713264,
-0.022493917495012283,
-0.02110234461724758,
0.05604416877031326,
0.0589798167347908,
0.042890943586826324,
0.0007440387271344662,
0.01459245290607214,
-0.00025734567316249013,
-0.006705284584313631,
-0.004422532860189676,
-0.031224608421325684,
0.0039030760526657104,
0.04952474310994148,
-0.04918161779642105,
-0.008120685815811157,
-0.00041401677299290895,
0.03675277531147003,
-0.08189310878515244,
-0.013038847595453262,
-0.02115953341126442,
-0.08928941935300827,
-0.020225463435053825,
0.008182639256119728,
0.05714980140328407,
0.02844146266579628,
-0.025296125560998917,
-0.0033597906585782766,
0.013582132756710052,
-0.034865573048591614,
-0.05337539687752724,
0.00703411502763629,
0.023942679166793823,
-0.003011897439137101,
0.002375681884586811,
-0.017404193058609962,
0.03831591084599495,
-0.015926837921142578,
-0.035609014332294464,
-0.026821138337254524,
0.05573916435241699,
-0.04121343418955803,
0.009893511421978474,
0.010436796583235264,
0.0036361990496516228,
-0.022188914939761162,
0.03566620498895645,
-0.050859130918979645,
0.028956154361367226,
-0.05284164473414421,
-0.011933214031159878,
0.042890943586826324,
0.034789323806762695,
0.01110398955643177
] |
719,575
|
ibm_platform_services.global_tagging_v1
|
delete_tag
|
Delete an unused tag.
Delete an existing tag. A tag can be deleted only if it is not attached to any
resource.
:param str tag_name: The name of tag to be deleted.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param List[str] providers: (optional) Select a provider. Supported values
are `ghost` and `ims`. To delete tags both in Global Search and Tagging and
in IMS, use `ghost,ims`.
:param str account_id: (optional) The ID of the billing account to delete
the tag for. It is a required parameter if `tag_type` is set to `service`,
otherwise it is inferred from the authorization IAM token.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources (`providers` parameter set to `ims`).
: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 representing a `DeleteTagResults` object
|
def delete_tag(
self,
tag_name: str,
*,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
providers: Optional[List[str]] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Delete an unused tag.
Delete an existing tag. A tag can be deleted only if it is not attached to any
resource.
:param str tag_name: The name of tag to be deleted.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param List[str] providers: (optional) Select a provider. Supported values
are `ghost` and `ims`. To delete tags both in Global Search and Tagging and
in IMS, use `ghost,ims`.
:param str account_id: (optional) The ID of the billing account to delete
the tag for. It is a required parameter if `tag_type` is set to `service`,
otherwise it is inferred from the authorization IAM token.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources (`providers` parameter set to `ims`).
: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 representing a `DeleteTagResults` object
"""
if not tag_name:
raise ValueError('tag_name must be provided')
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_tag',
)
headers.update(sdk_headers)
params = {
'providers': convert_list(providers),
'account_id': account_id,
'tag_type': tag_type,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['tag_name']
path_param_values = self.encode_path_vars(tag_name)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v3/tags/{tag_name}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, tag_name: str, *, x_request_id: Optional[str] = None, x_correlation_id: Optional[str] = None, providers: Optional[List[str]] = None, account_id: Optional[str] = None, tag_type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.02956835925579071,
-0.018941029906272888,
-0.06409037858247757,
-0.09630837291479111,
-0.0001359766611130908,
0.0033528408966958523,
-0.05199423432350159,
0.03121957927942276,
0.007425690535455942,
-0.02855074778199196,
0.0124513516202569,
0.033562008291482925,
0.0013224161230027676,
-0.05940552428364754,
-0.016521800309419632,
-0.023981092497706413,
0.006288076750934124,
0.03878447040915489,
0.0007548091816715896,
-0.04058929532766342,
0.04216371476650238,
0.06754641979932785,
-0.023558687418699265,
-0.030393969267606735,
0.05376065522432327,
0.006864083465188742,
0.03897647559642792,
-0.014160172082483768,
-0.03721005469560623,
0.018345823511481285,
0.0038256465923041105,
-0.009638517163693905,
0.010512127541005611,
0.06965845078229904,
-0.038304466754198074,
0.012796956114470959,
0.007310489192605019,
0.017376212403178215,
-0.004101649858057499,
0.0351940281689167,
-0.0798729732632637,
-0.009129711426794529,
-0.0002634031989146024,
-0.05706309527158737,
0.03696044906973839,
-0.02964516170322895,
-0.014179372228682041,
0.03947567939758301,
-0.04538935422897339,
0.001701620756648481,
0.052416637539863586,
0.0011622142046689987,
-0.01262415386736393,
-0.015619389712810516,
0.002167226281017065,
-0.028454747051000595,
-0.013065759092569351,
0.04769337922334671,
-0.010204924270510674,
0.028185943141579628,
0.00030165366479195654,
0.05706309527158737,
-0.029395557940006256,
0.0011544140288606286,
-0.056295085698366165,
0.004437653813511133,
0.04408373683691025,
-0.02726433239877224,
-0.03475242480635643,
-0.03886127471923828,
0.013728166930377483,
-0.004548055585473776,
0.01464017853140831,
-0.012883356772363186,
0.021753864362835884,
-0.006014473270624876,
0.05525827407836914,
0.01880662888288498,
-0.008721706457436085,
-0.07591772079467773,
-0.005097662098705769,
-0.0349828265607357,
0.037882059812545776,
-0.026419522240757942,
0.014323374256491661,
0.035002026706933975,
0.020621050149202347,
-0.025939516723155975,
0.01563858985900879,
0.000998412142507732,
0.024345897138118744,
-0.02309788204729557,
-0.0531078465282917,
0.012201748788356781,
0.051111023873090744,
0.026131518185138702,
0.00359524367377162,
-0.017424212768673897,
0.033139605075120926,
-0.03354280814528465,
0.05525827407836914,
-0.020909054204821587,
-0.031392380595207214,
0.023923492059111595,
-0.04128050431609154,
-0.009763319045305252,
-0.002236827276647091,
0.005908872000873089,
0.03137318044900894,
-0.0005064061842858791,
0.009412914514541626,
-0.020102644339203835,
0.0329475998878479,
-0.001299615832976997,
0.00635047722607851,
-0.008160099387168884,
-0.0006420077988877892,
-0.010819331742823124,
-0.052915845066308975,
-0.030048366636037827,
0.010224124416708946,
-0.04826938733458519,
0.02065945230424404,
-0.06662481278181076,
0.010396926663815975,
0.005035261157900095,
-0.030182767659425735,
0.012720154598355293,
-0.04170290753245354,
0.003979248460382223,
-0.04112689942121506,
0.028800351545214653,
0.04231731593608856,
0.010521728545427322,
0.02294427901506424,
-0.007761694490909576,
0.022272272035479546,
0.056218285113573074,
-0.01398736983537674,
0.05460546538233757,
0.04792378470301628,
0.021984267979860306,
0.0033192404080182314,
0.008208099752664566,
0.011289737187325954,
-0.012259349226951599,
0.03502122685313225,
-0.04143410548567772,
-0.017117008566856384,
-0.010012921877205372,
-0.06094154343008995,
-0.01726100966334343,
0.03509802743792534,
0.02985636331140995,
-0.00387604720890522,
0.012835356406867504,
-0.0062544760294258595,
-0.0335812084376812,
-0.05195583403110504,
-0.00686888350173831,
0.034214816987514496,
0.054989468306303024,
0.005947272293269634,
0.0011502139968797565,
-0.010867332108318806,
-0.08248420059680939,
-0.022406673058867455,
0.059597525745630264,
-0.00480005843564868,
-0.03776685893535614,
-0.052685439586639404,
0.07031125575304031,
0.041395705193281174,
0.006206475663930178,
-0.03569323569536209,
0.05648708716034889,
0.030201967805624008,
-0.0013956170296296477,
-0.003038437105715275,
-0.027725137770175934,
-0.005131262354552746,
-0.012902556918561459,
0.030125167220830917,
-0.008481703698635101,
-0.01295055728405714,
0.011712142266333103,
0.03868846967816353,
-0.016694603487849236,
-0.019392235204577446,
-0.003477642312645912,
0.021830664947628975,
0.01733781024813652,
-0.013334562070667744,
0.03409961611032486,
0.03515562787652016,
0.04504374787211418,
0.016848204657435417,
-0.04738617688417435,
0.06044233590364456,
-0.000045188051444711164,
0.0214274600148201,
0.0331588052213192,
-0.004207251127809286,
0.00468725711107254,
0.017875418066978455,
0.00023370284179691225,
0.021811464801430702,
-0.045274149626493454,
-0.04239411652088165,
-0.05088061839342117,
0.014784179627895355,
-0.005611268337816,
0.013296161778271198,
0.03962928429245949,
0.00374164548702538,
0.024845102801918983,
0.009028909727931023,
-0.011491339653730392,
0.010368126444518566,
-0.06389837712049484,
0.058675915002822876,
-0.00042870521428994834,
0.06700881570577621,
0.018125019967556,
0.020121844485402107,
0.007996897213160992,
0.03669164702296257,
0.048307787626981735,
0.013315361924469471,
-0.026784326881170273,
0.016742603853344917,
-0.002305228030309081,
0.07772254943847656,
-0.018086619675159454,
-0.010742531158030033,
-0.01592659391462803,
0.009052909910678864,
-0.06078793853521347,
0.0031512384302914143,
-0.009422514587640762,
0.027878738939762115,
0.02812834270298481,
0.031123578548431396,
0.052339836955070496,
-0.033139605075120926,
-0.02747553400695324,
-0.02891555242240429,
0.028147542849183083,
0.01060812920331955,
-0.09938041120767593,
-0.015273786149919033,
-0.002481630304828286,
0.020313847810029984,
-0.04005168750882149,
0.06186315417289734,
-0.02797473967075348,
0.0399748869240284,
-0.0329475998878479,
0.03321640565991402,
0.01820182241499424,
-0.058099906891584396,
-0.011740942485630512,
-0.04853818938136101,
0.0428549200296402,
-0.006072073709219694,
0.037939660251140594,
0.011635341681540012,
0.021101057529449463,
-0.007963296957314014,
0.003676844760775566,
0.03590443730354309,
-0.015196984633803368,
0.05821510776877403,
-0.044928546994924545,
-0.011740942485630512,
0.027897939085960388,
0.028243543580174446,
0.003175238613039255,
-0.007099286653101444,
0.028147542849183083,
-0.014985782094299793,
-0.07541851699352264,
0.025344308465719223,
0.012806556187570095,
-0.011452939361333847,
0.04389173537492752,
-0.0006906084017828107,
0.04919099807739258,
-0.010819331742823124,
0.029049953445792198,
0.004838458728045225,
0.04005168750882149,
0.020889854058623314,
0.03538602963089943,
-0.06516559422016144,
0.0034824423491954803,
-0.07457371056079865,
0.05257023870944977,
0.02496030367910862,
0.026093117892742157,
-0.01276815589517355,
0.04696376994252205,
0.026573123410344124,
-0.04093489795923233,
-0.049613405019044876,
-0.030758773908019066,
0.08117859065532684,
-0.027609936892986298,
-0.010166523978114128,
0.03901487588882446,
-0.022656274959445,
0.05084221810102463,
-0.007257688324898481,
-0.026822727173566818,
-0.01880662888288498,
0.014918581582605839,
0.06627921015024185,
0.01072333101183176,
-0.023904291912913322,
-0.007665693294256926,
0.04826938733458519,
0.011625741608440876,
-0.09116271138191223,
-0.00908651016652584,
0.051264625042676926,
-0.03761325776576996,
-0.017270609736442566,
0.017981018871068954,
0.02705312892794609,
0.009772919118404388,
0.05187903344631195,
-0.0038616470992565155,
-0.020467448979616165,
-0.008774506859481335,
-0.04581175744533539,
-0.0646279901266098,
0.03736365586519241,
-0.05433666333556175,
0.026227518916130066,
0.030201967805624008,
-0.08286821097135544,
-0.016694603487849236,
0.008236899971961975,
0.014841780997812748,
-0.01704980805516243,
0.023904291912913322,
0.046234164386987686,
-0.0294339582324028,
0.056295085698366165,
0.03465642035007477,
0.04919099807739258,
0.0798729732632637,
0.06508879363536835,
0.051264625042676926,
0.05721669644117355,
-0.043546129018068314,
0.007502491120249033,
0.08839787542819977,
-0.0011532140197232366,
0.029587559401988983,
-0.11328137665987015,
-0.04746297746896744,
0.029625961557030678,
-0.01600339449942112,
0.07753054052591324,
-0.05955912545323372,
-0.016137797385454178,
-0.026669124141335487,
-0.0815625935792923,
-0.022329872474074364,
-0.017069008201360703,
-0.012547352351248264,
-0.09047149866819382,
0.03509802743792534,
0.030086766928434372,
0.000087751068349462,
0.04266291856765747,
-0.026381121948361397,
-0.01833622343838215,
0.02956835925579071,
-0.02603551745414734,
0.025421109050512314,
0.02446109801530838,
-0.03663404658436775,
-0.016060994938015938,
0.008265700191259384,
0.0063024768605828285,
0.013315361924469471,
0.014236973598599434,
0.017462613061070442,
0.060749538242816925,
-0.08002657443284988,
-0.02186906710267067,
0.024057893082499504,
-0.03601963818073273,
-0.0637831762433052,
-0.06178635358810425,
-0.06405197829008102,
-0.07050325721502304,
0.029030753299593925,
0.008587304502725601,
0.056218285113573074,
-0.017011407762765884,
-0.006412878166884184,
0.022982679307460785,
0.001606819569133222,
0.003141638357192278,
-0.015187384560704231,
-0.04892219603061676,
-0.021350659430027008,
-0.027821138501167297,
0.03690284863114357,
-0.02056344971060753,
0.0013764167670160532,
-0.01262415386736393,
0.06224715709686279,
-0.004869659431278706,
0.06508879363536835,
-0.02467229962348938,
-0.00499686086550355,
-0.016099395230412483,
0.017193809151649475,
-0.03127717971801758,
-0.012470551766455173,
-0.051610227674245834,
0.0005583068123087287,
-0.008236899971961975,
0.01859542727470398,
0.015907393768429756,
-0.06520399451255798,
0.0007374089909717441,
0.0009642117656767368,
-0.013113759458065033,
-0.029395557940006256,
0.0038208465557545424,
0.040166888386011124,
-0.04892219603061676,
0.016348998993635178,
0.0364612452685833,
0.01626259833574295,
-0.005510467104613781,
0.007353689521551132,
0.009926521219313145,
-0.053261447697877884,
-0.02079385332763195,
0.03171878680586815,
0.003780046012252569,
-0.026342719793319702,
0.015465788543224335,
-0.006720081903040409,
0.10997893661260605,
0.013622566126286983,
0.037171654403209686,
-0.035213228315114975,
-0.07653213292360306,
-0.05452866479754448,
0.02647712267935276,
-0.0011784143280237913,
-0.07395929843187332,
-0.08663145452737808,
-0.01326736155897379,
0.035923637449741364,
-0.021677063778042793,
-0.017107408493757248,
-0.0420101098716259,
0.07776094973087311,
0.0008322101202793419,
-0.023405084386467934,
-0.015811393037438393,
-0.025785913690924644,
0.022061068564653397,
0.009225712157785892,
0.004524054937064648,
0.08355941623449326,
-0.03936047852039337,
0.018614627420902252,
0.00856330431997776,
0.025920314714312553,
0.010588929057121277,
-0.007708893623203039,
0.06770002096891403,
-0.04588855803012848,
0.04308532550930977,
-0.006974484771490097,
0.03515562787652016,
0.048230987042188644,
0.029337957501411438,
0.03951407968997955,
0.014630578458309174,
-0.014044971205294132,
-0.031200379133224487,
-0.05717829614877701,
-0.04389173537492752,
-0.020678652450442314,
0.024557098746299744,
-0.011203336529433727,
0.01323856133967638,
-0.01969943940639496,
-0.031123578548431396,
-0.021273858845233917,
-0.00048360589426010847,
-0.05779270455241203,
0.025267507880926132,
-0.056371886283159256,
0.05986632779240608,
-0.04719417542219162,
0.07015765458345413,
0.05114942416548729,
-0.03206438943743706,
-0.032333195209503174,
-0.10598529130220413,
0.01817302033305168,
0.04634936526417732,
-0.009705718606710434,
0.027456333860754967,
0.013228961266577244,
-0.07895135879516602,
-0.04535095393657684,
-0.013104159384965897,
-0.001665620249696076,
0.01969943940639496,
0.043546129018068314,
0.0018192221177741885,
0.02315548248589039,
-0.008971309289336205,
-0.027533134445548058,
-0.002647232264280319,
-0.02647712267935276,
0.013680166564881802,
0.021773064509034157,
-0.0012768155429512262,
0.00967691745609045,
-0.039590880274772644,
-0.056295085698366165,
0.017952218651771545,
-0.015552189201116562,
-0.11643021553754807,
-0.034790825098752975,
-0.04093489795923233,
0.04277811944484711,
0.008040097542107105,
-0.010348926298320293,
-0.023981092497706413,
-0.02129305899143219,
-0.04554295539855957,
0.016089795157313347,
0.01301775872707367,
0.056947894394397736,
0.04646456614136696,
0.029184354469180107,
-0.01553298905491829,
-0.05306944623589516,
0.010156923905014992,
-0.019680239260196686,
0.0024888303596526384,
-0.013459363952279091,
-0.02344348467886448,
-0.04531254991889,
0.024422697722911835,
-0.015196984633803368,
-0.02597791701555252,
0.059098318219184875,
0.05306944623589516,
-0.0036264441441744566,
0.07042645663022995,
0.08463463187217712,
0.03459881991147995,
-0.04373813420534134,
0.04508214816451073,
-0.027897939085960388,
-0.027456333860754967,
-0.05433666333556175,
-0.0012168148532509804,
0.002568031195551157,
0.006264076102524996,
0.06720081716775894,
-0.0028896352741867304,
-0.007939296774566174,
-0.0058272709138691425,
0.009926521219313145,
-0.0014928181190043688,
-0.02762913703918457,
0.02597791701555252,
-0.051341425627470016,
0.006163274869322777,
0.03749805688858032,
0.02014104463160038,
-0.011510539799928665,
0.04308532550930977,
0.00809289887547493,
-0.017069008201360703,
-0.03287079930305481,
0.01410257164388895,
-0.029952364042401314,
-0.04919099807739258,
0.07872095704078674,
0.04462134465575218,
-0.019968243315815926,
-0.039744485169649124,
0.000701408542227,
0.08586344867944717,
-0.031046777963638306,
0.009076910093426704,
0.025075504556298256,
-0.015436988323926926,
0.054643865674734116,
-0.052839044481515884,
-0.05287744477391243,
-0.03198758885264397,
-0.04531254991889,
-0.02065945230424404,
-0.01715540885925293,
-0.030835574492812157,
0.021638663485646248,
-0.0014076171210035682,
-0.005558467470109463,
0.04761657863855362,
0.029011553153395653,
0.01809621974825859,
-0.03847726806998253,
0.02259867452085018,
-0.06485839188098907,
-0.020678652450442314,
0.00039930487400852144,
-0.009609716944396496,
0.07342169433832169,
-0.04112689942121506,
-0.01363216619938612,
-0.07261528074741364,
0.053261447697877884,
0.00780489481985569,
0.007905696518719196,
-0.0193538349121809,
0.0389188751578331,
0.003640844253823161,
-0.001970424083992839,
0.04043569415807724,
-0.012585753574967384,
-0.016521800309419632,
0.003705645212903619,
0.0646279901266098,
0.03208358958363533,
-0.015100983902812004,
0.07791455090045929,
-0.07925856858491898,
0.02496030367910862,
0.013497764244675636,
-0.006384077947586775,
0.03674924746155739,
0.00876010674983263,
0.0036816447973251343,
0.025229107588529587,
-0.00045660557225346565,
-0.1062156930565834,
-0.0038856472820043564,
0.007862496189773083,
-0.010051322169601917,
0.0671624168753624,
-0.01883542910218239,
0.016272198408842087,
0.05690949410200119,
-0.030835574492812157,
0.01147213950753212,
0.030701173469424248,
-0.007886496372520924,
-0.05610308423638344,
0.019085032865405083,
-0.0930827334523201,
0.007267288397997618,
0.001960823778063059,
-0.03043237142264843,
-0.027590736746788025,
0.01615699753165245,
0.023117082193493843,
-0.03546283021569252,
0.006182475481182337,
0.03784365952014923,
0.03596203774213791,
-0.006220875773578882,
0.002340028528124094,
0.01820182241499424,
0.046656567603349686,
0.04957500472664833,
-0.019545838236808777,
0.013324961997568607,
-0.04992060735821724,
0.029606759548187256,
-0.010396926663815975,
-0.023059479892253876,
-0.0083953021094203,
-0.010838531889021397,
-0.0502278096973896,
-0.01194254495203495,
-0.005088062025606632,
-0.014256173744797707,
-0.00000789384648669511,
-0.029683561995625496,
-0.05433666333556175,
-0.024403497576713562,
-0.018345823511481285,
0.04093489795923233,
-0.005404865834861994,
0.018893029540777206,
0.039034076035022736,
-0.03767085820436478,
0.0814857929944992,
-0.004461654461920261,
-0.05495106801390648,
-0.001537218689918518,
0.004276852123439312,
-0.0017652214737609029,
-0.006427278276532888,
0.04051249474287033,
-0.004452054388821125,
0.009340913966298103,
0.06773842126131058,
-0.035923637449741364,
-0.005016061011701822,
0.04811578616499901,
0.04012848809361458,
-0.034848425537347794,
0.01759701408445835,
0.0014964182628318667,
0.016118595376610756,
-0.008577704429626465,
0.003175238613039255,
0.028819551691412926,
0.044352538883686066,
-0.05848391354084015,
0.04811578616499901,
0.003578443545848131,
0.02590111456811428,
-0.06985045224428177,
-0.01200974639505148,
-0.025670712813735008,
-0.0914699137210846,
0.00996492151170969,
-0.010310525074601173,
0.08279141038656235,
-0.02317468263208866,
-0.05433666333556175,
-0.001975224120542407,
-0.014755379408597946,
-0.049959007650613785,
0.014515376649796963,
0.004032048862427473,
0.01888342946767807,
0.02409629337489605,
0.007708893623203039,
-0.027225932106375694,
0.025632312521338463,
-0.034138016402721405,
-0.02021784707903862,
-0.02165786363184452,
0.0391300767660141,
-0.027072329074144363,
-0.02540190890431404,
0.0045912559144198895,
-0.013104159384965897,
0.017645014449954033,
0.03847726806998253,
0.006480078678578138,
0.013612966053187847,
-0.048307787626981735,
-0.0025944316294044256,
0.01930583454668522,
0.038726869970560074,
0.0005646068602800369
] |
719,576
|
ibm_platform_services.global_tagging_v1
|
delete_tag_all
|
Delete all unused tags.
Delete the tags that are not attached to any resource.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str providers: (optional) Select a provider. Supported values are
`ghost` and `ims`.
:param str account_id: (optional) The ID of the billing account to delete
the tags for. If it is not set, then it is taken from the authorization
token. It is a required parameter if `tag_type` is set to `service`.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources (`providers` parameter set to `ims`).
: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 representing a `DeleteTagsResult` object
|
def delete_tag_all(
self,
*,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
providers: Optional[str] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Delete all unused tags.
Delete the tags that are not attached to any resource.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str providers: (optional) Select a provider. Supported values are
`ghost` and `ims`.
:param str account_id: (optional) The ID of the billing account to delete
the tags for. If it is not set, then it is taken from the authorization
token. It is a required parameter if `tag_type` is set to `service`.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources (`providers` parameter set to `ims`).
: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 representing a `DeleteTagsResult` object
"""
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='delete_tag_all',
)
headers.update(sdk_headers)
params = {
'providers': providers,
'account_id': account_id,
'tag_type': tag_type,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v3/tags'
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, x_request_id: Optional[str] = None, x_correlation_id: Optional[str] = None, providers: Optional[str] = None, account_id: Optional[str] = None, tag_type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04470202699303627,
-0.03590108081698418,
-0.059929363429546356,
-0.09008250385522842,
-0.028438178822398186,
0.00684570474550128,
-0.05989167094230652,
-0.016065970063209534,
0.0018221447244286537,
-0.021182579919695854,
0.006610133685171604,
0.019373392686247826,
-0.01123204454779625,
-0.03605184704065323,
-0.016471153125166893,
-0.053257983177900314,
-0.03477033972740173,
0.023858672007918358,
0.04387281835079193,
-0.06467848271131516,
0.023915208876132965,
0.10101301223039627,
-0.023368682712316513,
-0.019844533875584602,
0.0681837871670723,
0.022162556648254395,
0.043005913496017456,
-0.027646658942103386,
-0.017234403640031815,
0.041460566222667694,
-0.010073033161461353,
0.0014075391227379441,
0.0023121333215385675,
0.03173618018627167,
-0.07477978616952896,
-0.0232556089758873,
0.05016728490591049,
0.04210131987929344,
0.03893524035811424,
0.07146293669939041,
-0.046360451728105545,
-0.020146066322922707,
0.008183750323951244,
-0.062153156846761703,
0.05273030325770378,
-0.016593649983406067,
-0.0051495907828211784,
0.07308366894721985,
-0.014756192453205585,
-0.01946762017905712,
0.022558316588401794,
-0.002060071798041463,
0.010911666788160801,
-0.00526266498491168,
0.021710259839892387,
-0.007415787782520056,
-0.029418155550956726,
0.047378119081258774,
0.014313317835330963,
0.022916385903954506,
-0.00825442187488079,
0.07199061661958694,
-0.026497071608901024,
-0.019731460139155388,
-0.021371036767959595,
0.0009605423547327518,
0.004638400860130787,
-0.016885757446289062,
-0.054200269281864166,
-0.004506480880081654,
-0.006756187882274389,
-0.008207307197153568,
0.01024264469742775,
-0.0036914038937538862,
0.0012873976957052946,
-0.015481752343475819,
0.05891169607639313,
0.023783288896083832,
-0.050468817353248596,
-0.04986575245857239,
-0.02005183696746826,
-0.009036518633365631,
0.027608968317508698,
0.016226157546043396,
0.04251592606306076,
0.002725561149418354,
0.010798593051731586,
-0.028212031349539757,
0.028664328157901764,
0.0035453494638204575,
0.012843352742493153,
-0.00886219646781683,
-0.04632275924086571,
-0.018063614144921303,
0.032150786370038986,
0.041272107511758804,
-0.035919927060604095,
0.00487632816657424,
0.02284100279211998,
-0.036541834473609924,
0.010864553041756153,
-0.04470202699303627,
-0.03152887523174286,
0.006478213705122471,
-0.011665496043860912,
-0.0011760902125388384,
-0.008409898728132248,
-0.007792701944708824,
0.05261722952127457,
0.025630168616771698,
-0.0226148534566164,
-0.02659129910171032,
0.06309544295072556,
-0.021352192386984825,
0.010704364627599716,
-0.012042409740388393,
-0.010892821475863457,
-0.014558312483131886,
-0.06980451941490173,
-0.04685043916106224,
0.005903419107198715,
-0.02502710558474064,
0.05374797061085701,
-0.04315667971968651,
-0.009126036427915096,
0.02936161868274212,
-0.022784465923905373,
0.03722028061747551,
-0.046171993017196655,
0.011872798204421997,
-0.06486693769693375,
0.04074442759156227,
0.02674206532537937,
9.432058050151682e-7,
0.03961368650197983,
-0.008504127152264118,
0.013361609540879726,
0.03537340089678764,
-0.009229687042534351,
0.020164912566542625,
0.038275640457868576,
0.030567744746804237,
0.030398134142160416,
0.015519443899393082,
0.010751478374004364,
-0.006011782214045525,
0.045003559440374374,
-0.047717344015836716,
-0.056612517684698105,
-0.0230106133967638,
-0.053295671939849854,
-0.007015316281467676,
-0.0075524188578128815,
0.020786819979548454,
-0.037314508110284805,
0.03516609966754913,
-0.0071849278174340725,
-0.006242642179131508,
-0.05514255166053772,
-0.03184925392270088,
0.0049517108127474785,
0.059326302260160446,
-0.010091878473758698,
-0.016103660687804222,
-0.02677975594997406,
-0.09226860851049423,
-0.024537116289138794,
0.04108365252614021,
-0.008899887092411518,
-0.047717344015836716,
-0.05348413065075874,
0.05959014222025871,
0.04338282719254494,
-0.02715667150914669,
-0.0465112179517746,
0.05182570964097977,
0.012089524418115616,
-0.023274453356862068,
-0.021540649235248566,
-0.0028197895735502243,
-0.00012433752999641,
-0.027232054620981216,
0.03746527433395386,
-0.010252066887915134,
-0.01735690049827099,
-0.014115437865257263,
0.028212031349539757,
-0.025912854820489883,
-0.06588461250066757,
-0.014077747240662575,
-0.01142050139605999,
0.010892821475863457,
-0.007934045046567917,
0.04620968550443649,
0.012334518134593964,
0.04198824614286423,
-0.0028833940159529448,
-0.04801887273788452,
0.028513561934232712,
-0.02717551589012146,
-0.010770324617624283,
0.03309306874871254,
0.018167266622185707,
-0.02521556243300438,
0.0037667867727577686,
0.0058374591171741486,
0.007118967827409506,
-0.07070910930633545,
-0.03603300079703331,
-0.046963512897491455,
0.04862193763256073,
0.017658432945609093,
-0.00536631653085351,
0.003922263626009226,
-0.028080111369490623,
0.051486484706401825,
0.022275632247328758,
-0.007288578897714615,
-0.003330979496240616,
-0.08525799959897995,
0.030793894082307816,
-0.03313076123595238,
0.03714489936828613,
0.002191991778090596,
-0.007755010388791561,
0.0452297069132328,
0.04236515983939171,
0.05830863118171692,
0.005842170678079128,
-0.04357128590345383,
0.036108385771512985,
-0.006996470503509045,
0.06874915957450867,
0.0025135467294603586,
-0.025064796209335327,
-0.03901062533259392,
0.026515915989875793,
-0.05080803856253624,
0.016065970063209534,
-0.008179038763046265,
0.0031472339760512114,
0.025705551728606224,
0.026666682213544846,
0.01547232922166586,
-0.02502710558474064,
0.0031519453041255474,
-0.04767965152859688,
0.019429929554462433,
0.017875157296657562,
-0.07802125066518784,
0.007128390483558178,
-0.03448765352368355,
0.025517093017697334,
-0.06758072227239609,
0.06219084933400154,
-0.045795079320669174,
0.04632275924086571,
-0.012588935904204845,
0.01910955272614956,
-0.014115437865257263,
-0.005696116480976343,
0.016998833045363426,
-0.054614871740341187,
0.04643583297729492,
0.008579510264098644,
0.05333336442708969,
0.03878447413444519,
0.012965849600732327,
-0.01611308380961418,
-0.001753829070366919,
0.029587768018245697,
-0.00825913343578577,
0.04462664574384689,
-0.05242877081036568,
-0.016829220578074455,
0.0684853196144104,
0.039689067751169205,
0.021804489195346832,
-0.034336887300014496,
0.020560672506690025,
0.021729106083512306,
-0.057027123868465424,
0.062492381781339645,
0.00923911016434431,
0.014954072423279285,
0.016584226861596107,
-0.025517093017697334,
0.036485299468040466,
-0.039689067751169205,
0.007302713580429554,
-0.008084810338914394,
0.043005913496017456,
0.0056537133641541,
0.011241466738283634,
-0.05800710245966911,
-0.006176682189106941,
-0.04213901236653328,
0.003564195241779089,
0.019618386402726173,
0.00615783641114831,
-0.010713786818087101,
0.03032275103032589,
0.027910498902201653,
-0.0586855486035347,
-0.02106950618326664,
-0.007905776612460613,
0.08156424015760422,
-0.045983538031578064,
0.013352187350392342,
0.030586590990424156,
0.0031990595161914825,
0.04805656522512436,
0.007133102044463158,
-0.0790766105055809,
-0.0163298100233078,
-0.00963487010449171,
0.07089757174253464,
0.0000012422710824466776,
-0.028061265125870705,
-0.004487635102123022,
0.030567744746804237,
0.03461957350373268,
-0.06837224215269089,
0.0029399311169981956,
0.07199061661958694,
-0.039689067751169205,
0.006237930618226528,
0.010318026877939701,
-0.021616032347083092,
-0.02836279571056366,
0.050506506115198135,
-0.016056546941399574,
-0.05208954960107803,
-0.00943699013441801,
-0.03842640668153763,
-0.04507894441485405,
0.038897547870874405,
-0.029455848038196564,
0.025743242353200912,
0.014106015674769878,
-0.08450417220592499,
0.012485284358263016,
-0.004000002518296242,
0.03250885382294655,
-0.03051120787858963,
0.029606614261865616,
0.050883423537015915,
-0.012127215974032879,
0.032961148768663406,
0.025479402393102646,
0.07361134886741638,
0.0626431480050087,
0.10131454467773438,
0.0602685883641243,
0.08555953204631805,
-0.047717344015836716,
-0.0010347473435103893,
0.09633927792310715,
0.01369140949100256,
0.04436280578374863,
-0.05906246230006218,
-0.04941345751285553,
0.02463134564459324,
-0.0025653725024312735,
0.09543468803167343,
-0.04726504534482956,
0.028400488197803497,
-0.038294486701488495,
-0.06758072227239609,
-0.01577386073768139,
-0.0066148447804152966,
-0.009856306947767735,
-0.10877744853496552,
0.03407304733991623,
0.059137843549251556,
0.0342426598072052,
0.037710268050432205,
-0.007750298827886581,
-0.007835105061531067,
0.055820997804403305,
-0.04172440618276596,
0.02457480877637863,
0.059929363429546356,
-0.02792934514582157,
-0.02913547120988369,
0.0009575977455824614,
0.020522980019450188,
0.012541821226477623,
-0.001170789822936058,
0.017375746741890907,
0.09226860851049423,
-0.0708598792552948,
-0.03460072726011276,
0.026723219081759453,
-0.026044774800539017,
-0.05197647213935852,
-0.03814372047781944,
-0.06588461250066757,
-0.05043112486600876,
-0.013229689560830593,
0.02838164195418358,
0.03249000757932663,
-0.011439346708357334,
-0.025535939261317253,
0.006416964810341597,
-0.011542998254299164,
-0.014605427160859108,
-0.04960191249847412,
-0.015321563929319382,
-0.00487161660566926,
0.013955249451100826,
0.07029450684785843,
0.016414614394307137,
-0.0004449354892130941,
-0.01595289446413517,
0.04605891928076744,
0.005710250698029995,
0.09023326635360718,
0.010968204587697983,
-0.006421676371246576,
0.012070678174495697,
0.0060636079870164394,
-0.00865489337593317,
0.013031809590756893,
-0.030567744746804237,
-0.008028273470699787,
0.005135456565767527,
0.018666677176952362,
0.005206128116697073,
-0.044777411967515945,
0.014303895644843578,
0.0009252066956833005,
-0.049903444945812225,
-0.009385164827108383,
-0.006793878972530365,
0.03009660169482231,
-0.0354299396276474,
0.005093053448945284,
0.03130272775888443,
0.040480587631464005,
-0.034544188529253006,
0.015085992403328419,
0.016480574384331703,
-0.0571025088429451,
0.007938756607472897,
0.04504125192761421,
-0.018167266622185707,
0.003064783988520503,
0.015510020777583122,
0.004157835152000189,
0.05043112486600876,
-0.01418139785528183,
0.06727918982505798,
-0.03282922878861427,
-0.05435103178024292,
-0.04828271269798279,
0.05770557001233101,
-0.0019210847094655037,
-0.07583514600992203,
-0.0760989859700203,
0.02029683254659176,
0.014011787250638008,
-0.00238751620054245,
0.009493527002632618,
-0.04029213264584541,
0.04462664574384689,
-0.056800976395606995,
-0.029587768018245697,
0.005941110663115978,
0.010883398354053497,
0.0026124867144972086,
0.019232049584388733,
0.01594347320497036,
0.06867377460002899,
-0.02561132237315178,
0.019618386402726173,
0.016819797456264496,
0.011580689810216427,
-0.01991991698741913,
-0.01221202127635479,
0.046586599200963974,
-0.05239107832312584,
0.05416257679462433,
-0.019213203340768814,
0.019580693915486336,
0.021747952327132225,
0.02615784853696823,
0.019024746492505074,
0.0031802139710634947,
-0.0163298100233078,
-0.0618516281247139,
-0.06339697539806366,
-0.04504125192761421,
-0.01572674699127674,
0.0224640890955925,
-0.008866907097399235,
0.0024087175261229277,
-0.0008421677630394697,
-0.014332164078950882,
-0.013710255734622478,
0.033394601196050644,
-0.04228977859020233,
-0.0051495907828211784,
-0.05333336442708969,
0.05476563796401024,
-0.02089989371597767,
0.0705583468079567,
0.020975276827812195,
-0.0346384197473526,
-0.029832761734724045,
-0.09890229254961014,
0.005210839211940765,
0.017583049833774567,
-0.018996477127075195,
0.0033851610496640205,
-0.0049140192568302155,
-0.03605184704065323,
-0.03714489936828613,
0.03301768749952316,
0.02383982576429844,
-0.0017891647294163704,
0.07802125066518784,
-0.013747947290539742,
0.04138518497347832,
0.010167261585593224,
-0.012070678174495697,
-0.004452299326658249,
-0.03241462633013725,
-0.011345118284225464,
-0.001411072677001357,
-0.0019305075984448195,
0.0012497062562033534,
-0.037107206881046295,
-0.054614871740341187,
-0.009177861735224724,
-0.013559489510953426,
-0.09000711888074875,
-0.05612253025174141,
0.017234403640031815,
0.020636053755879402,
0.010016496293246746,
-0.016678454354405403,
-0.003175502410158515,
-0.017601894214749336,
-0.05058189108967781,
0.02715667150914669,
0.00785866193473339,
0.050129592418670654,
0.04187517240643501,
0.04119672626256943,
-0.012928158044815063,
-0.05514255166053772,
0.000611896684858948,
0.01160895824432373,
-0.00024101899180095643,
-0.07153832167387009,
-0.016480574384331703,
-0.02792934514582157,
-0.005639579147100449,
-0.007156658917665482,
0.0009098945301957428,
0.04394819959998131,
0.030869275331497192,
-0.0009363963035866618,
0.05887400358915329,
0.08714257180690765,
0.005017670802772045,
-0.014709077775478363,
0.03326268121600151,
-0.0004835102881770581,
-0.02519671618938446,
-0.04620968550443649,
-0.049338072538375854,
-0.03252770006656647,
0.011797416023910046,
0.03976445272564888,
-0.02832510508596897,
-0.022765619680285454,
-0.04100826755166054,
-0.004129566717892885,
-0.0071849278174340725,
-0.018365146592259407,
0.011891644448041916,
-0.08277036994695663,
0.0539364293217659,
0.04741581156849861,
0.035919927060604095,
0.015133107081055641,
0.052466463297605515,
0.04877270385622978,
-0.011938758194446564,
0.011740878224372864,
0.009323916397988796,
-0.010987049899995327,
-0.06317082792520523,
0.06942760199308395,
0.03362074866890907,
-0.04590815305709839,
-0.07281982898712158,
-0.016442883759737015,
0.08865022659301758,
0.008047118782997131,
0.014944649301469326,
0.019043592736124992,
-0.0157361701130867,
0.03699413314461708,
-0.01418139785528183,
-0.0015406369930133224,
-0.010468793101608753,
-0.030775047838687897,
-0.008508838713169098,
-0.02832510508596897,
0.0020565383601933718,
0.017620740458369255,
-0.027269745245575905,
-0.026666682213544846,
0.02873971126973629,
0.06490463018417358,
0.057366348803043365,
-0.042025938630104065,
0.02067374624311924,
-0.056009456515312195,
-0.02383982576429844,
0.008296824991703033,
-0.04029213264584541,
0.06701534986495972,
-0.0681837871670723,
0.013738524168729782,
-0.050468817353248596,
0.06882453709840775,
0.009578333236277103,
-0.01339930109679699,
-0.01230624970048666,
0.040442898869514465,
0.03718258813023567,
0.012730278074741364,
0.025554785504937172,
-0.00975265633314848,
-0.014916380867362022,
-0.01967492327094078,
0.06064550206065178,
0.02855125442147255,
-0.0030930524226278067,
0.05193878337740898,
-0.038709092885255814,
0.016216734424233437,
-0.027872808277606964,
0.01388928946107626,
0.028683174401521683,
-0.015660787001252174,
0.006577153690159321,
0.04372205212712288,
-0.0322638601064682,
-0.08322266489267349,
-0.02738281898200512,
0.0465112179517746,
-0.04259130731225014,
0.05781864374876022,
-0.010968204587697983,
-0.01632038690149784,
0.05224031209945679,
-0.009809193201363087,
0.035750314593315125,
0.034186121076345444,
-0.014077747240662575,
-0.05887400358915329,
0.005154302343726158,
-0.07210369408130646,
-0.014614849351346493,
0.013031809590756893,
0.0019434640416875482,
-0.009182573296129704,
0.030812738463282585,
0.021747952327132225,
-0.041272107511758804,
0.017809197306632996,
0.00934276171028614,
0.05951475724577904,
0.0010747945634648204,
-0.015585403889417648,
0.01790342666208744,
0.04462664574384689,
0.029455848038196564,
-0.011175506748259068,
0.015632517635822296,
-0.06803301721811295,
0.011288581416010857,
0.0003415785322431475,
-0.03550532087683678,
0.005917553324252367,
-0.014840997755527496,
-0.049677297472953796,
0.04345821216702461,
-0.011948181316256523,
0.011590112932026386,
0.03271615505218506,
-0.03897293284535408,
-0.03324383497238159,
0.001022379845380783,
-0.02123911678791046,
0.03143464773893356,
-0.034921105951070786,
-0.013144884258508682,
0.0465112179517746,
-0.028702018782496452,
0.08601182699203491,
0.027627814561128616,
-0.03916138783097267,
-0.018817443400621414,
0.028004728257656097,
0.013842175714671612,
0.0037385181058198214,
0.0034346310421824455,
0.01024264469742775,
0.005111899226903915,
0.03646645322442055,
0.013917557895183563,
-0.02596939168870449,
0.07221677154302597,
0.03111427091062069,
-0.016678454354405403,
0.01191048976033926,
-0.007194350473582745,
0.021898716688156128,
0.017611317336559296,
-0.015510020777583122,
0.05095880478620529,
0.06618613749742508,
-0.04119672626256943,
0.019806843250989914,
0.03403535485267639,
0.023519448935985565,
-0.05348413065075874,
-0.03362074866890907,
0.013964672572910786,
-0.08073502779006958,
0.007095410488545895,
-0.022351013496518135,
0.023783288896083832,
-0.044212039560079575,
-0.04726504534482956,
-0.0393875390291214,
-0.0023227341007441282,
-0.036485299468040466,
0.006021204870194197,
-0.01828034035861492,
0.04507894441485405,
0.02836279571056366,
-0.007952890358865261,
-0.014426392503082752,
-0.007641936186701059,
-0.0010135459015145898,
-0.00954064168035984,
-0.052692610770463943,
0.04669967293739319,
0.020579516887664795,
-0.013144884258508682,
-0.0010836283909156919,
-0.019731460139155388,
0.029832761734724045,
0.02519671618938446,
-0.01788458041846752,
0.010204953141510487,
-0.016037700697779655,
0.043232064694166183,
0.02321791648864746,
0.03863370791077614,
-0.002645466709509492
] |
719,577
|
ibm_platform_services.global_tagging_v1
|
detach_tag
|
Detach tags.
Detaches one or more tags from one or more resources.
:param List[Resource] resources: List of resources on which the tag or tags
are detached.
:param str tag_name: (optional) The name of the tag to detach.
:param List[str] tag_names: (optional) An array of tag names to detach.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account of the
untagged resource. It is a required parameter if `tag_type` is set to
`service`, otherwise it is inferred from the authorization IAM token.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources.
: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 representing a `TagResults` object
|
def detach_tag(
self,
resources: List['Resource'],
*,
tag_name: Optional[str] = None,
tag_names: Optional[List[str]] = None,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
**kwargs,
) -> DetailedResponse:
"""
Detach tags.
Detaches one or more tags from one or more resources.
:param List[Resource] resources: List of resources on which the tag or tags
are detached.
:param str tag_name: (optional) The name of the tag to detach.
:param List[str] tag_names: (optional) An array of tag names to detach.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account of the
untagged resource. It is a required parameter if `tag_type` is set to
`service`, otherwise it is inferred from the authorization IAM token.
:param str tag_type: (optional) The type of the tag. Supported values are
`user`, `service` and `access`. `service` and `access` are not supported
for IMS resources.
: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 representing a `TagResults` object
"""
if resources is None:
raise ValueError('resources must be provided')
resources = [convert_model(x) for x in resources]
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='detach_tag',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'tag_type': tag_type,
}
data = {
'resources': resources,
'tag_name': tag_name,
'tag_names': tag_names,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v3/tags/detach'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, resources: List[ibm_platform_services.global_tagging_v1.Resource], *, tag_name: Optional[str] = None, tag_names: Optional[List[str]] = None, x_request_id: Optional[str] = None, x_correlation_id: Optional[str] = None, account_id: Optional[str] = None, tag_type: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.021384377032518387,
-0.008936965838074684,
-0.07051166892051697,
-0.0952267125248909,
-0.026929175481200218,
0.003247870597988367,
-0.01625591143965721,
-0.020608482882380486,
-0.013757913373410702,
0.013142875395715237,
-0.005407597869634628,
0.008918042294681072,
-0.032341502606868744,
-0.03661837801337242,
-0.01446757186204195,
-0.00024690202553756535,
-0.018101023510098457,
0.028670204803347588,
0.0011242174077779055,
-0.0524958074092865,
0.02456364594399929,
0.07062521576881409,
-0.01990828663110733,
0.001166796893812716,
0.01429725345224142,
-0.008033334277570248,
0.03184947371482849,
-0.03835940733551979,
-0.022387361153960228,
0.05711331591010094,
0.01020962093025446,
0.006590362172573805,
0.01710750162601471,
0.022065648809075356,
-0.030751869082450867,
0.022008875384926796,
-0.01753329671919346,
0.06657543033361435,
-0.030827566981315613,
0.018555205315351486,
-0.05181453377008438,
-0.033893290907144547,
0.03213333711028099,
-0.043601419776678085,
0.07842199504375458,
0.002062740735709667,
0.01893368922173977,
-0.017722539603710175,
0.000918416422791779,
-0.013918769545853138,
0.07618893682956696,
0.02399591915309429,
0.0057624271139502525,
0.002262627938762307,
-0.011997959576547146,
0.022633375599980354,
-0.04106557369232178,
0.053025685250759125,
-0.01845112070441246,
0.007295289542526007,
-0.012480528093874454,
-0.0027511094231158495,
-0.008293543010950089,
0.015262389555573463,
-0.06740809977054596,
0.011155831627547741,
0.040573544800281525,
-0.023844527080655098,
-0.057908136397600174,
-0.016549237072467804,
-0.019700121134519577,
-0.004842236638069153,
-0.01808209903538227,
0.0048871817998588085,
0.05643204599618912,
-0.017400827258825302,
0.04110342264175415,
0.01631268300116062,
-0.02276584506034851,
-0.0725933387875557,
-0.012556225061416626,
0.003181635634973645,
-0.0052798595279455185,
0.002152630826458335,
0.03175485134124756,
0.011600551195442677,
0.013833610340952873,
-0.030524779111146927,
-0.023030783981084824,
-0.011193680576980114,
-0.008388163521885872,
-0.012291285209357738,
-0.0633961632847786,
0.011165293864905834,
0.04973286762833595,
0.03338233754038811,
-0.023030783981084824,
-0.0014027582947164774,
0.017542758956551552,
-0.03977872431278229,
0.06078461930155754,
-0.04341217875480652,
-0.0338175930082798,
0.020627407357096672,
-0.021630391478538513,
-0.01329426933079958,
-0.030486930161714554,
0.022898314520716667,
0.04488826543092728,
-0.015697646886110306,
-0.0006422409787774086,
-0.02416623756289482,
0.03421500325202942,
-0.004577297251671553,
-0.00882815197110176,
-0.018886378034949303,
-0.0106827262789011,
0.008019140921533108,
-0.008137417957186699,
-0.06017904356122017,
0.008705144748091698,
-0.04136836156249046,
-0.019491953775286674,
-0.06067107245326042,
-0.048824507743120193,
-0.006580899935215712,
-0.030032748356461525,
0.017750924453139305,
-0.031773775815963745,
0.028916219249367714,
-0.09916295111179352,
0.007900864817202091,
-0.000022712769350619055,
0.06086031347513199,
0.03595603257417679,
-0.04784044623374939,
-0.01393769308924675,
0.0670674592256546,
0.009717591106891632,
0.03219011053442955,
0.024979980662465096,
0.03398791328072548,
0.03156561031937599,
0.04946792870759964,
-0.05329062417149544,
-0.037432122975587845,
0.07107939571142197,
-0.02753475122153759,
-0.01614236645400524,
0.003437112784013152,
-0.06547782570123672,
-0.02524491958320141,
0.015120457857847214,
0.01830918900668621,
0.029957052320241928,
0.024147313088178635,
-0.031149277463555336,
-0.016956107690930367,
-0.03402576223015785,
-0.0427309051156044,
0.021062664687633514,
0.053593412041664124,
-0.02361743524670601,
-0.007493993733078241,
0.028575582429766655,
-0.07319890707731247,
-0.01303879264742136,
0.05586431920528412,
0.0019160780357196927,
0.007943443953990936,
-0.047083478420972824,
0.060822464525699615,
0.03527475893497467,
-0.001878229551948607,
-0.027610447257757187,
0.03852972760796547,
0.04560738801956177,
-0.036807622760534286,
-0.028007855638861656,
0.0026162744034081697,
0.001107658725231886,
-0.026512842625379562,
0.043487872928380966,
-0.0054170601069927216,
-0.01921755261719227,
0.012433216907083988,
0.010730036534368992,
0.002845730632543564,
-0.03667515143752098,
-0.03832155838608742,
0.0073662553913891315,
0.021327603608369827,
-0.001541141769848764,
0.040005818009376526,
-0.0009266957640647888,
0.03338233754038811,
0.0066849831491708755,
-0.0289351437240839,
0.07164712250232697,
-0.022519830614328384,
0.003626354970037937,
0.051057565957307816,
0.009462113492190838,
0.0037091486155986786,
0.015234002843499184,
0.00650520296767354,
0.0016617836663499475,
-0.03298492729663849,
-0.006580899935215712,
-0.06430452316999435,
0.018753908574581146,
0.027459053322672844,
0.04167114943265915,
0.019813666120171547,
0.011316687799990177,
0.04144405573606491,
0.00793871283531189,
-0.012953633442521095,
0.03101680800318718,
-0.05514519661664963,
0.03518013656139374,
-0.03391221538186073,
0.011704634875059128,
-0.00442117266356945,
-0.040459997951984406,
0.0297867339104414,
0.012622459791600704,
0.028083553537726402,
-0.0033424915745854378,
0.006382195744663477,
0.03909745439887047,
-0.012925246730446815,
0.0389082096517086,
-0.015470555983483791,
-0.002415204420685768,
0.022803694009780884,
-0.023768829181790352,
-0.027118418365716934,
0.007877209223806858,
0.00521362479776144,
0.04269305616617203,
0.04397990554571152,
0.040687087923288345,
0.016558699309825897,
0.010625953786075115,
-0.04560738801956177,
-0.023428192362189293,
0.005795544479042292,
0.002682509133592248,
-0.07066306471824646,
0.0024790738243609667,
-0.017230508849024773,
0.009698666632175446,
-0.0025926190428435802,
0.04379066079854965,
-0.042655207216739655,
0.048824507743120193,
-0.059914104640483856,
0.0507926270365715,
0.005554260686039925,
-0.022690149024128914,
-0.057794589549303055,
-0.04193608835339546,
0.06945191323757172,
0.0004748798382934183,
0.024298707023262978,
-0.006457892712205648,
0.022027799859642982,
-0.03374189883470535,
0.003200559876859188,
0.08584029227495193,
-0.041973937302827835,
0.04496396332979202,
-0.0720256119966507,
0.03130067139863968,
0.05264719948172569,
0.05533444136381149,
-0.023409269750118256,
-0.001374372048303485,
0.015886887907981873,
0.006349078379571438,
-0.05847586318850517,
0.014051239006221294,
0.009599314071238041,
0.06672682613134384,
0.0007475069724023342,
-0.030430156737565994,
0.010370476171374321,
-0.015631411224603653,
0.0036287205293774605,
0.05741610378026962,
0.030997883528470993,
0.01579226739704609,
0.009944681078195572,
-0.04488826543092728,
0.006226070690900087,
-0.038340482860803604,
0.022576602175831795,
0.03321201726794243,
0.008539557456970215,
-0.03309847414493561,
0.02501782774925232,
0.09802749752998352,
-0.03113035298883915,
-0.07036027312278748,
-0.05877865105867386,
0.0682029128074646,
-0.021971028298139572,
-0.013313193805515766,
0.02696702443063259,
-0.02422301098704338,
0.07418297231197357,
-0.028064629063010216,
-0.014779821038246155,
-0.037034712731838226,
0.014666276052594185,
0.07675666362047195,
0.0349530465900898,
-0.012915785424411297,
0.006916805170476437,
0.03465025871992111,
0.007659581024199724,
-0.06570491939783096,
0.008989008143544197,
0.06074677035212517,
-0.003434747224673629,
-0.002990027889609337,
0.008303004316985607,
0.041254814714193344,
0.0222170427441597,
0.019009387120604515,
-0.03769706189632416,
-0.031944096088409424,
-0.006368002388626337,
-0.025490934029221535,
-0.037261802703142166,
-0.004425903782248497,
-0.057226862758398056,
0.04019505903124809,
0.005658343899995089,
-0.055447984486818314,
-0.06388819217681885,
0.02007860504090786,
-0.0068363770842552185,
-0.008979545906186104,
0.03769706189632416,
0.0908362939953804,
0.016274835914373398,
0.03476380556821823,
0.057794589549303055,
0.02439332939684391,
0.1082465797662735,
0.059422072023153305,
0.058248769491910934,
0.014647351577877998,
-0.09356138110160828,
-0.028972992673516273,
0.08568890392780304,
0.02713734097778797,
-0.0073189446702599525,
-0.1333022564649582,
0.021952103823423386,
0.005752964876592159,
-0.010446173138916492,
0.05870295315980911,
-0.06971685588359833,
-0.016984494403004646,
-0.03012736886739731,
-0.07312321662902832,
-0.04095202684402466,
-0.018999924883246422,
0.007347331382334232,
-0.07107939571142197,
0.03646698594093323,
0.018857993185520172,
-0.024866433814167976,
0.017514372244477272,
-0.02019215002655983,
0.00805698987096548,
0.07463715225458145,
-0.048370324075222015,
0.028726976364850998,
0.0335337296128273,
-0.01802532561123371,
0.010048764757812023,
0.008544288575649261,
0.006831645965576172,
-0.027156265452504158,
0.008785572834312916,
0.016530312597751617,
0.06010334566235542,
-0.0725933387875557,
-0.03219011053442955,
0.029086537659168243,
-0.06101170927286148,
-0.04738626629114151,
-0.045683085918426514,
-0.061995767056941986,
-0.02153577096760273,
-0.01668170653283596,
-0.006386926863342524,
0.0779678151011467,
-0.00961350742727518,
0.014268867671489716,
0.025263844057917595,
0.023466041311621666,
0.0329660028219223,
-0.03913530334830284,
-0.021289754658937454,
-0.0143256401643157,
-0.004385689739137888,
0.012338596396148205,
-0.043828509747982025,
-0.015621949918568134,
0.020457088947296143,
0.04538029804825783,
-0.011051748879253864,
0.07403157651424408,
-0.01539485901594162,
0.0073662553913891315,
0.011543778702616692,
-0.021573618054389954,
-0.014136397279798985,
-0.032114412635564804,
-0.05064123123884201,
-0.02361743524670601,
-0.018328113481402397,
0.006580899935215712,
0.002781861461699009,
-0.05242010951042175,
0.009093090891838074,
0.01382414810359478,
-0.001741028856486082,
-0.05752965062856674,
0.024923207238316536,
0.026607463136315346,
-0.03376081958413124,
0.0017433944158256054,
0.04110342264175415,
0.019085083156824112,
-0.026096509769558907,
0.009050511755049229,
0.0205895584076643,
-0.06960330903530121,
-0.04182254150509834,
0.02142222598195076,
-0.031262822449207306,
0.00914040207862854,
0.015451631508767605,
-0.00017904092965181917,
0.08682435750961304,
0.005284590646624565,
0.046023719012737274,
-0.023257875815033913,
-0.0471213273704052,
-0.03510444238781929,
0.04799183830618858,
0.03118712641298771,
-0.05972485989332199,
-0.050565533339977264,
-0.018971538171172142,
-0.005620495416224003,
-0.010559719055891037,
0.0006126718362793326,
-0.048710960894823074,
0.036599453538656235,
-0.001748125534504652,
-0.04984641447663307,
-0.003929142840206623,
0.004260316491127014,
0.03500982001423836,
-0.008549019694328308,
0.02473396435379982,
0.06067107245326042,
-0.015811191871762276,
0.018034787848591805,
0.05609140917658806,
0.00876664835959673,
-0.004499235190451145,
-0.0283674169331789,
0.012291285209357738,
-0.07581045478582382,
0.04761335626244545,
-0.009774363599717617,
0.01765630394220352,
0.014079624786973,
0.014212094247341156,
0.03746996819972992,
-0.014089087024331093,
0.024979980662465096,
-0.03010844625532627,
-0.045001812279224396,
-0.035482924431562424,
0.0051994314417243,
-0.03033553622663021,
-0.028897294774651527,
0.008014409802854061,
-0.009287064895033836,
0.00829827319830656,
-0.047197021543979645,
0.009821673855185509,
-0.08712714165449142,
0.10317488759756088,
-0.0898522287607193,
0.027553673833608627,
0.0029947590082883835,
0.08826259523630142,
0.02698594704270363,
-0.01565033569931984,
-0.029086537659168243,
-0.08281242102384567,
-0.007787319365888834,
0.07490208745002747,
0.007910327054560184,
-0.014685200527310371,
0.014316177926957607,
-0.04257950931787491,
-0.0029237931594252586,
0.040232907980680466,
-0.027459053322672844,
0.03366620093584061,
0.05098186805844307,
0.006514665205031633,
0.0024364942219108343,
0.027837539091706276,
-0.03090326301753521,
-0.015016374178230762,
-0.012489990331232548,
0.006027366500347853,
0.030259838327765465,
-0.018328113481402397,
0.032606445252895355,
-0.030259838327765465,
-0.09333428740501404,
0.004130212590098381,
0.002878847997635603,
-0.10196373611688614,
-0.04257950931787491,
-0.05601571127772331,
0.023749904707074165,
0.019208090379834175,
0.024885358288884163,
-0.0015340452082455158,
-0.016587086021900177,
-0.042655207216739655,
-0.014495957642793655,
-0.04121696576476097,
0.04886235296726227,
0.05752965062856674,
-0.009793287143111229,
-0.007356793154031038,
-0.01925540156662464,
-0.03396898880600929,
-0.03067617304623127,
-0.04492611438035965,
-0.018432198092341423,
-0.015593563206493855,
-0.02753475122153759,
0.0200218316167593,
0.00628284364938736,
-0.007924520410597324,
0.04757550731301308,
0.0376402884721756,
0.014486496336758137,
0.05423683673143387,
0.08637017011642456,
0.059535618871450424,
-0.020930195227265358,
0.005554260686039925,
-0.022633375599980354,
-0.015896350145339966,
-0.03347695618867874,
-0.0077116223983466625,
-0.010465097613632679,
0.04473687335848808,
0.06517504155635834,
0.01645461469888687,
-0.01673847809433937,
0.004092364106327295,
0.01614236645400524,
-0.0015837212558835745,
-0.030808642506599426,
0.016615470871329308,
-0.10801948606967926,
0.019889362156391144,
0.030695095658302307,
0.008444936014711857,
0.0194541048258543,
0.04583447799086571,
0.016729017719626427,
-0.022311663255095482,
-0.023768829181790352,
-0.011382922530174255,
-0.015981510281562805,
-0.012717080302536488,
0.07766503095626831,
0.0314142182469368,
0.013445663265883923,
-0.07138218730688095,
0.006192953325808048,
0.057908136397600174,
-0.021611467003822327,
0.004920299164950848,
0.015300237573683262,
0.00029835227178409696,
-0.006983039900660515,
-0.0471213273704052,
-0.03673192486166954,
-0.005459639709442854,
-0.016038281843066216,
0.0021869309712201357,
-0.01576388068497181,
-0.0034536714665591717,
0.037432122975587845,
0.04424484446644783,
-0.007441952358931303,
0.007385179866105318,
0.04015721008181572,
0.038340482860803604,
-0.04019505903124809,
0.003247870597988367,
-0.02539631351828575,
-0.009954143315553665,
-0.00016469991533085704,
-0.01727782003581524,
0.058854345232248306,
-0.03966518118977547,
-0.007001963909715414,
-0.0567348338663578,
0.05870295315980911,
0.02198995277285576,
0.0016570526640862226,
0.017154812812805176,
0.0660834014415741,
-0.005563722923398018,
0.0028835791163146496,
0.08939804881811142,
-0.025585554540157318,
-0.0033661469351500273,
-0.005171045195311308,
0.05503165349364281,
-0.025982964783906937,
-0.018157795071601868,
0.0394759364426136,
-0.07213915139436722,
0.03822693973779678,
0.007863016799092293,
-0.01873498409986496,
0.0376402884721756,
0.024487949907779694,
-0.00908362865447998,
0.023976996541023254,
-0.01550840400159359,
-0.08167696744203568,
-0.027667220681905746,
0.019643347710371017,
-0.003089379984885454,
0.04053569585084915,
-0.010304241441190243,
0.0400436632335186,
0.008407087996602058,
-0.031489912420511246,
0.013029330410063267,
0.03465025871992111,
0.0011319053592160344,
-0.04121696576476097,
-0.005842855200171471,
-0.08076860010623932,
0.01724943332374096,
0.006240264046937227,
-0.011931724846363068,
-0.047197021543979645,
0.0329660028219223,
0.023882374167442322,
-0.024582570418715477,
0.012887398712337017,
0.0015423245495185256,
-0.011089596897363663,
-0.005123734474182129,
0.0182524174451828,
0.026039736345410347,
0.031717006117105484,
0.011061211116611958,
-0.018233492970466614,
-0.01713588833808899,
-0.027837539091706276,
0.03989227116107941,
-0.006524127442389727,
-0.0389082096517086,
0.016558699309825897,
0.027610447257757187,
-0.05620495602488518,
0.003808500710874796,
0.002649391768500209,
-0.047764748334884644,
0.008430743589997292,
-0.02282261848449707,
-0.0507926270365715,
-0.007877209223806858,
-0.012348058633506298,
0.021384377032518387,
-0.007020888384431601,
0.00042579512228257954,
0.03521798551082611,
-0.028310643509030342,
0.06415312737226486,
0.0032502359244972467,
-0.0389082096517086,
-0.002505094511434436,
-0.005852317437529564,
0.014732510782778263,
0.00908362865447998,
0.06320691853761673,
-0.03576678782701492,
0.045796629041433334,
0.03845402970910072,
-0.03518013656139374,
-0.011042286641895771,
0.05283644050359726,
0.06865709275007248,
-0.03167915716767311,
0.02664531208574772,
0.028424188494682312,
-0.018347037956118584,
-0.0051852380856871605,
-0.014268867671489716,
0.006609286181628704,
0.06385034322738647,
-0.012736004777252674,
0.03449886664748192,
0.04575878009200096,
0.030657248571515083,
-0.04973286762833595,
-0.01939733326435089,
-0.021554695442318916,
-0.11733020842075348,
0.01922701485455036,
0.022198118269443512,
0.06006549671292305,
-0.00872406829148531,
-0.04151975363492966,
0.00914040207862854,
-0.020381392911076546,
0.0017575876554474235,
-0.031149277463555336,
-0.02462041936814785,
0.01788339391350746,
0.006741756107658148,
-0.003952797967940569,
-0.07562121003866196,
0.03970303013920784,
-0.023466041311621666,
-0.038056619465351105,
-0.025888342410326004,
0.05968701094388962,
-0.013530822470784187,
-0.004364399705082178,
-0.001214698888361454,
-0.02967318892478943,
-0.001455982681363821,
0.04144405573606491,
0.013105027377605438,
0.011591088958084583,
-0.03355265408754349,
-0.04689423367381096,
0.04935438558459282,
0.01847950741648674,
0.00006568037497345358
] |
719,584
|
ibm_platform_services.global_tagging_v1
|
list_tags
|
Get all tags.
Lists all tags that are in a billing account. Use the `attached_to` parameter to
return the list of tags that are attached to the specified resource.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account to list the
tags for. If it is not set, then it is taken from the authorization token.
This parameter is required if `tag_type` is set to `service`.
:param str tag_type: (optional) The type of the tag you want to list.
Supported values are `user`, `service` and `access`.
:param bool full_data: (optional) If set to `true`, this query returns the
provider, `ghost`, `ims` or `ghost,ims`, where the tag exists and the
number of attached resources.
:param List[str] providers: (optional) Select a provider. Supported values
are `ghost` and `ims`. To list both Global Search and Tagging tags and
infrastructure tags, use `ghost,ims`. `service` and `access` tags can only
be attached to resources that are onboarded to Global Search and Tagging,
so you should not set this parameter to list them.
:param str attached_to: (optional) If you want to return only the list of
tags that are attached to a specified resource, pass the ID of the resource
on this parameter. For resources that are onboarded to Global Search and
Tagging, the resource ID is the CRN; for IMS resources, it is the IMS ID.
When using this parameter, you must specify the appropriate provider (`ims`
or `ghost`).
:param int offset: (optional) The offset is the index of the item from
which you want to start returning data from.
:param int limit: (optional) The number of tags to return.
:param int timeout: (optional) The timeout in milliseconds, bounds the
request to run within the specified time value. It returns the accumulated
results until time runs out.
:param str order_by_name: (optional) Order the output by tag name.
:param bool attached_only: (optional) Filter on attached tags. If `true`,
it returns only tags that are attached to one or more resources. If
`false`, it returns all tags.
: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 representing a `TagList` object
|
def list_tags(
self,
*,
x_request_id: Optional[str] = None,
x_correlation_id: Optional[str] = None,
account_id: Optional[str] = None,
tag_type: Optional[str] = None,
full_data: Optional[bool] = None,
providers: Optional[List[str]] = None,
attached_to: Optional[str] = None,
offset: Optional[int] = None,
limit: Optional[int] = None,
timeout: Optional[int] = None,
order_by_name: Optional[str] = None,
attached_only: Optional[bool] = None,
**kwargs,
) -> DetailedResponse:
"""
Get all tags.
Lists all tags that are in a billing account. Use the `attached_to` parameter to
return the list of tags that are attached to the specified resource.
:param str x_request_id: (optional) An alphanumeric string that is used to
trace the request. The value may include ASCII alphanumerics and any of
following segment separators: space ( ), comma (,), hyphen, (-), and
underscore (_) and may have a length up to 1024 bytes. The value is
considered invalid and must be ignored if that value includes any other
character or is longer than 1024 bytes or is fewer than 8 characters. If
not specified or invalid, it is automatically replaced by a random (version
4) UUID.
:param str x_correlation_id: (optional) An alphanumeric string that is used
to trace the request as a part of a larger context: the same value is used
for downstream requests and retries of those requests. The value may
include ASCII alphanumerics and any of following segment separators: space
( ), comma (,), hyphen, (-), and underscore (_) and may have a length up to
1024 bytes. The value is considered invalid and must be ignored if that
value includes any other character or is longer than 1024 bytes or is fewer
than 8 characters. If not specified or invalid, it is automatically
replaced by a random (version 4) UUID.
:param str account_id: (optional) The ID of the billing account to list the
tags for. If it is not set, then it is taken from the authorization token.
This parameter is required if `tag_type` is set to `service`.
:param str tag_type: (optional) The type of the tag you want to list.
Supported values are `user`, `service` and `access`.
:param bool full_data: (optional) If set to `true`, this query returns the
provider, `ghost`, `ims` or `ghost,ims`, where the tag exists and the
number of attached resources.
:param List[str] providers: (optional) Select a provider. Supported values
are `ghost` and `ims`. To list both Global Search and Tagging tags and
infrastructure tags, use `ghost,ims`. `service` and `access` tags can only
be attached to resources that are onboarded to Global Search and Tagging,
so you should not set this parameter to list them.
:param str attached_to: (optional) If you want to return only the list of
tags that are attached to a specified resource, pass the ID of the resource
on this parameter. For resources that are onboarded to Global Search and
Tagging, the resource ID is the CRN; for IMS resources, it is the IMS ID.
When using this parameter, you must specify the appropriate provider (`ims`
or `ghost`).
:param int offset: (optional) The offset is the index of the item from
which you want to start returning data from.
:param int limit: (optional) The number of tags to return.
:param int timeout: (optional) The timeout in milliseconds, bounds the
request to run within the specified time value. It returns the accumulated
results until time runs out.
:param str order_by_name: (optional) Order the output by tag name.
:param bool attached_only: (optional) Filter on attached tags. If `true`,
it returns only tags that are attached to one or more resources. If
`false`, it returns all tags.
: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 representing a `TagList` object
"""
headers = {
'x-request-id': x_request_id,
'x-correlation-id': x_correlation_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V1',
operation_id='list_tags',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'tag_type': tag_type,
'full_data': full_data,
'providers': convert_list(providers),
'attached_to': attached_to,
'offset': offset,
'limit': limit,
'timeout': timeout,
'order_by_name': order_by_name,
'attached_only': attached_only,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v3/tags'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, *, x_request_id: Optional[str] = None, x_correlation_id: Optional[str] = None, account_id: Optional[str] = None, tag_type: Optional[str] = None, full_data: Optional[bool] = None, providers: Optional[List[str]] = None, attached_to: Optional[str] = None, offset: Optional[int] = None, limit: Optional[int] = None, timeout: Optional[int] = None, order_by_name: Optional[str] = None, attached_only: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.0000478749570902437,
-0.058489348739385605,
-0.06520186364650726,
-0.08334072679281235,
-0.007853260263800621,
0.048081185668706894,
-0.03848380595445633,
-0.05679236724972725,
0.006886922754347324,
-0.05988464504480362,
-0.02726486138999462,
-0.008843167684972286,
-0.02468167617917061,
-0.06693655252456665,
-0.01396239921450615,
0.011096383444964886,
-0.0089233024045825,
0.005392635241150856,
0.016272181645035744,
-0.0004086311673745513,
0.021985357627272606,
0.08537710458040237,
-0.012633096426725388,
0.013076197355985641,
0.048759978264570236,
-0.004452223423868418,
0.0025101208593696356,
-0.05615128204226494,
-0.01625332608819008,
0.045102037489414215,
0.013943543657660484,
-0.027321428060531616,
0.007146184332668781,
0.0034481752663850784,
-0.051852259784936905,
0.032167255878448486,
0.045403722673654556,
0.02215505577623844,
0.023701196536421776,
0.06384427100419998,
-0.0566038116812706,
-0.048081185668706894,
0.07104702293872833,
-0.03914374113082886,
0.028773291036486626,
-0.004888253752142191,
0.0003903650213032961,
0.019741568714380264,
0.02837732806801796,
-0.03250665217638016,
0.07123557478189468,
0.02040150761604309,
-0.0298669021576643,
-0.031205633655190468,
-0.025831853970885277,
-0.017526064068078995,
-0.06282608211040497,
0.03561778739094734,
0.007179181091487408,
0.02296583727002144,
-0.021796803921461105,
0.0437067411839962,
0.007315882481634617,
-0.02509649470448494,
-0.06105367839336395,
0.02654835768043995,
0.02505878359079361,
-0.021381987258791924,
-0.06120452284812927,
-0.02315439097583294,
0.025888418778777122,
0.02468167617917061,
0.012633096426725388,
0.011190660297870636,
-0.02021295391023159,
-0.0284904595464468,
0.06041259691119194,
0.010342168621718884,
-0.0730079784989357,
-0.05320984497666359,
-0.006109138950705528,
0.015074865892529488,
0.01685669831931591,
0.04065217077732086,
0.035033270716667175,
0.013509870506823063,
-0.011369786225259304,
-0.02158939465880394,
-0.005105090793222189,
0.012774511240422726,
-0.015470828860998154,
0.009177849628031254,
-0.04016193374991417,
0.03020629845559597,
0.016083627939224243,
0.0060431454330682755,
-0.03429791331291199,
0.012303126975893974,
0.01232198253273964,
0.017441214993596077,
-0.026340948417782784,
-0.07594942301511765,
-0.025831853970885277,
0.023663485422730446,
-0.027566546574234962,
-0.027849378064274788,
-0.055359359830617905,
0.025379324331879616,
0.06490017473697662,
0.020307229831814766,
-0.03937000781297684,
-0.04087843745946884,
0.06459848582744598,
0.002273250138387084,
0.020665481686592102,
0.009470107965171337,
0.030564550310373306,
0.010936113074421883,
-0.025379324331879616,
-0.04612023010849953,
0.016866125166416168,
-0.038766633719205856,
0.04951419308781624,
-0.0636180117726326,
-0.0306211169809103,
-0.002076447242870927,
-0.024266857653856277,
0.01739407703280449,
-0.019458739086985588,
0.005816880613565445,
-0.07662821561098099,
0.02658606693148613,
0.017148956656455994,
0.021570540964603424,
0.04615793749690056,
-0.03386424109339714,
-0.01830856129527092,
0.054906830191612244,
-0.014660048298537731,
0.058564770966768265,
0.015932785347104073,
0.00004643870852305554,
0.013047914020717144,
-0.011794032528996468,
-0.03020629845559597,
-0.0222304780036211,
0.08771517127752304,
-0.00798996165394783,
0.009917923249304295,
-0.03970940411090851,
-0.04110470041632652,
-0.03625887259840965,
-0.01597992330789566,
0.027792811393737793,
0.0038370671682059765,
-0.004864684771746397,
-0.020665481686592102,
-0.018054014071822166,
-0.019854702055454254,
-0.0015060724690556526,
0.012878215871751308,
0.021381987258791924,
-0.017026396468281746,
-0.03757874667644501,
-0.010502439923584461,
-0.07798580080270767,
-0.045064326375722885,
0.042198311537504196,
-0.0006599378539249301,
-0.03405279293656349,
-0.03058340586721897,
0.054755985736846924,
0.03627772629261017,
-0.006457963492721319,
-0.008833739906549454,
0.018261423334479332,
0.009333406575024128,
-0.005821594502776861,
-0.007975820451974869,
-0.01979813538491726,
-0.015923358500003815,
-0.023889750242233276,
0.029697204008698463,
0.001886715181171894,
-0.017790038138628006,
-0.008984582498669624,
0.05354924127459526,
-0.0069529167376458645,
-0.04261313006281853,
0.022475598379969597,
0.013971826992928982,
0.014169808477163315,
-0.004492291249334812,
0.015263419598340988,
-0.0281133521348238,
0.03450532257556915,
0.022588729858398438,
-0.031054789200425148,
0.0011442850809544325,
-0.0054727704264223576,
0.027736244723200798,
0.013330744579434395,
0.01254824735224247,
-0.0014942878624424338,
0.014782607555389404,
0.013745563104748726,
-0.016177905723452568,
-0.05373779684305191,
0.01705467887222767,
-0.06252440065145493,
0.00005929129110882059,
-0.003679153509438038,
-0.021796803921461105,
0.01659272238612175,
-0.026454079896211624,
0.079645074903965,
0.0027458127588033676,
-0.006274123676121235,
0.01681898720562458,
-0.08809227496385574,
0.052304789423942566,
-0.0877905935049057,
-0.02669920027256012,
-0.02864130213856697,
-0.026340948417782784,
0.045441433787345886,
0.04600709676742554,
0.039068322628736496,
0.014141525141894817,
-0.03020629845559597,
0.008249223232269287,
-0.0024771238677203655,
0.045102037489414215,
0.025907274335622787,
-0.03233695402741432,
-0.010379879735410213,
0.028924133628606796,
-0.012387976050376892,
0.01789374276995659,
0.009776507504284382,
0.019091058522462845,
0.0366925448179245,
0.045366015285253525,
0.020118676126003265,
-0.03676796704530716,
-0.04378216341137886,
-0.04363131895661354,
-0.005142801441252232,
0.013415593653917313,
-0.07723158597946167,
-0.025869563221931458,
0.006368400063365698,
0.027132874354720116,
-0.027717389166355133,
0.020684337243437767,
-0.08198313415050507,
0.04336734488606453,
-0.058904167264699936,
0.014480922371149063,
-0.014697758480906487,
-0.028622446581721306,
-0.03833296149969101,
-0.05916814133524895,
0.009540815837681293,
0.013236467726528645,
0.036862242966890335,
0.014546915888786316,
0.015612243674695492,
-0.0378238670527935,
0.016489017754793167,
0.016903836280107498,
-0.023512642830610275,
0.0300554558634758,
-0.05256876349449158,
-0.016564439982175827,
0.03290261700749397,
0.07402617484331131,
0.0034670305904000998,
-0.08763974905014038,
0.022701861336827278,
-0.0359383299946785,
-0.03573092073202133,
0.01613076590001583,
-0.00003399121851543896,
0.052229367196559906,
-0.02177794836461544,
-0.02528504841029644,
0.09804791212081909,
-0.06275065988302231,
-0.008517912589013577,
0.0061138528399169445,
0.026567213237285614,
0.008442490361630917,
0.0047350539825856686,
-0.025662153959274292,
-0.009776507504284382,
-0.045743122696876526,
0.008579191751778126,
0.06026175245642662,
-0.0018160075414925814,
-0.030753104016184807,
0.04348047822713852,
0.058866456151008606,
-0.024323424324393272,
-0.04415927082300186,
-0.03725820407271385,
0.07956965267658234,
-0.03718278557062149,
-0.028056787326931953,
-0.02300354838371277,
-0.01564052700996399,
0.055623333901166916,
0.017328081652522087,
-0.048571426421403885,
-0.033279724419116974,
-0.02662377804517746,
0.0004460472846403718,
0.02898070029914379,
0.0027175298891961575,
0.029301241040229797,
0.022758428007364273,
0.028886422514915466,
-0.055359359830617905,
-0.022607585415244102,
0.10664595663547516,
-0.013934116810560226,
-0.004405084997415543,
0.038615792989730835,
0.012529391795396805,
0.016498446464538574,
0.06753992289304733,
-0.0314318984746933,
-0.026793476194143295,
0.021231142804026604,
-0.07108473777770996,
-0.04419698193669319,
0.009470107965171337,
-0.04283939301967621,
0.00412932550534606,
-0.01620618812739849,
-0.06448535621166229,
-0.048382870852947235,
-0.009333406575024128,
0.010785270482301712,
-0.002889584982767701,
0.019062776118516922,
0.09895296394824982,
0.003247837070375681,
0.012255989015102386,
0.04970274865627289,
0.04099156707525253,
0.06840727478265762,
0.10234693437814713,
0.07496894150972366,
0.05445430055260658,
-0.06723824143409729,
-0.02121228724718094,
0.09156166017055511,
0.0089233024045825,
0.0785137489438057,
-0.08582963049411774,
-0.028396183624863625,
0.01715838350355625,
-0.01340616587549448,
0.09435226023197174,
-0.04747781530022621,
0.006029003765434027,
-0.029206963256001472,
-0.030338285490870476,
-0.020005544647574425,
-0.032393522560596466,
-0.027811666950583458,
-0.07097160071134567,
0.049061667174100876,
0.041896626353263855,
-0.016809560358524323,
0.015008872374892235,
-0.00050791644025594,
-0.020854035392403603,
0.08914817869663239,
-0.009616237133741379,
0.025737576186656952,
0.042273733764886856,
-0.029188107699155807,
0.002439413219690323,
0.006316548213362694,
0.0220419242978096,
-0.0024075948167592287,
0.014678903855383396,
-0.01723380573093891,
0.031092500314116478,
-0.04299023747444153,
-0.029206963256001472,
0.05664152279496193,
-0.04679902270436287,
-0.06893522292375565,
-0.018054014071822166,
-0.07074534147977829,
-0.0036720826756209135,
-0.03754103556275368,
0.01991126872599125,
0.01780889369547367,
0.02651064656674862,
0.0018619674956426024,
-0.005878160707652569,
-0.020703192800283432,
0.02181565947830677,
-0.031752437353134155,
-0.03974711522459984,
-0.0063354033045470715,
-0.02296583727002144,
0.001527284737676382,
-0.025662153959274292,
-0.03833296149969101,
-0.018251994624733925,
0.06056344136595726,
0.006137421820312738,
0.10234693437814713,
-0.006208129692822695,
0.009701086208224297,
0.020684337243437767,
-0.051965393126010895,
-0.007975820451974869,
0.020665481686592102,
-0.051776837557554245,
-0.005147515330463648,
-0.009521960280835629,
0.005265361163765192,
0.013189329765737057,
-0.07696761190891266,
0.05452972277998924,
0.0468367338180542,
-0.006957630626857281,
-0.04642191529273987,
0.03371339663863182,
0.01172803808003664,
-0.02326752245426178,
-0.04740239307284355,
0.051927682012319565,
0.01087011955678463,
-0.0014047248987480998,
0.031337618827819824,
0.027755100280046463,
-0.03265749663114548,
0.008758317679166794,
0.03416592627763748,
-0.02841503918170929,
0.021231142804026604,
0.06410824507474899,
-0.030885091051459312,
0.06693655252456665,
-0.011275509372353554,
0.08266192674636841,
0.019477594643831253,
-0.07568544149398804,
-0.033242013305425644,
0.03314773738384247,
0.011935447342693806,
-0.038068987429142,
-0.051588285714387894,
0.008734748698771,
0.015574533492326736,
-0.0033774676267057657,
0.015574533492326736,
-0.034561887383461,
0.0593566969037056,
-0.045592278242111206,
-0.05430345609784126,
-0.008074810728430748,
0.002168367151170969,
0.02558673359453678,
0.033091168850660324,
-0.017111245542764664,
0.029018409550189972,
0.03303460404276848,
0.009201419539749622,
0.035636644810438156,
0.00798996165394783,
0.009041148237884045,
-0.01275565568357706,
0.03986024484038353,
-0.06893522292375565,
0.0239840280264616,
-0.016083627939224243,
0.013858694583177567,
0.027755100280046463,
0.04287710413336754,
0.04415927082300186,
-0.05113575607538223,
0.005227650515735149,
-0.03793700039386749,
-0.0283019058406353,
-0.04461180046200752,
0.009880212135612965,
-0.013623002916574478,
0.048194319009780884,
0.00425188522785902,
-0.008489629253745079,
-0.013029058463871479,
0.007339451927691698,
0.058036819100379944,
-0.07361135631799698,
0.04777950048446655,
-0.045743122696876526,
0.018864795565605164,
-0.002960292622447014,
0.06784161180257797,
0.018553681671619415,
-0.028547026216983795,
-0.0527196079492569,
-0.0433296337723732,
0.034807007759809494,
0.045516856014728546,
-0.01838398352265358,
-0.022475598379969597,
0.015923358500003815,
-0.061694759875535965,
-0.0037498611491173506,
0.0060949972830712795,
-0.0036414428614079952,
0.03258207440376282,
0.061732470989227295,
0.014971161261200905,
-0.0014495063805952668,
0.052342500537633896,
-0.013745563104748726,
-0.020835181698203087,
-0.03028172068297863,
-0.01241625938564539,
0.029112687334418297,
0.02543589100241661,
-0.013613575138151646,
-0.06007320061326027,
-0.07304569333791733,
-0.009031720459461212,
-0.003035714151337743,
-0.08801685273647308,
-0.016837842762470245,
0.0025926129892468452,
0.03126220032572746,
0.024851374328136444,
0.00023539747053291649,
-0.0072640301659703255,
-0.041670363396406174,
-0.045252881944179535,
0.02468167617917061,
-0.026227815076708794,
0.03422249108552933,
0.030885091051459312,
-0.0007848546374589205,
0.013707851991057396,
-0.06723824143409729,
0.004501719027757645,
-0.009917923249304295,
-0.03322315588593483,
-0.05264418572187424,
-0.022664152085781097,
-0.045026615262031555,
-0.023210957646369934,
-0.01823314093053341,
0.034844718873500824,
0.08032386749982834,
-0.04363131895661354,
0.0018973213154822588,
0.04789263382554054,
0.05792368948459625,
0.031903281807899475,
0.021947648376226425,
0.008395352400839329,
-0.027623113244771957,
-0.004685558844357729,
-0.02375776320695877,
-0.08582963049411774,
0.020684337243437767,
0.03970940411090851,
0.05087178200483322,
0.016177905723452568,
-0.03275177255272865,
0.0062929787673056126,
-0.00928626861423254,
0.010012200102210045,
-0.033317435532808304,
0.033807672560214996,
-0.03848380595445633,
0.04702528566122055,
0.029320096597075462,
-0.0030734247993677855,
0.02730257250368595,
0.0279247984290123,
0.02059006132185459,
-0.009776507504284382,
-0.029093831777572632,
-0.003940771799534559,
-0.015932785347104073,
-0.044951196759939194,
0.09012865275144577,
0.010568433441221714,
-0.012444542720913887,
-0.03959627076983452,
-0.004428654443472624,
0.06410824507474899,
0.025643300265073776,
-0.0069340611808001995,
0.01830856129527092,
-0.030960513278841972,
0.015961067751049995,
0.018478259444236755,
-0.03646628186106682,
-0.0067125107161700726,
-0.012303126975893974,
-0.023814328014850616,
-0.0014506848528981209,
0.0008096023229882121,
-0.0010995035991072655,
-0.019439883530139923,
-0.018402839079499245,
0.0288675669580698,
0.07089617848396301,
0.10204524546861649,
-0.03618345037102699,
0.05038154125213623,
-0.022588729858398438,
0.014565771445631981,
0.04955190420150757,
-0.027019741013646126,
0.0216648168861866,
-0.032016415148973465,
0.004508789628744125,
-0.03382652997970581,
0.045743122696876526,
0.027208294719457626,
0.020665481686592102,
0.020665481686592102,
0.062185000628232956,
-0.01517857052385807,
0.031224487349390984,
0.06267523765563965,
-0.02151397429406643,
-0.006439107935875654,
0.0005285395309329033,
0.021645961329340935,
0.0034033937845379114,
0.0027198868338018656,
0.05464285612106323,
-0.008824312128126621,
0.03214840218424797,
-0.019892413169145584,
0.005359638016670942,
0.04287710413336754,
0.04397071525454521,
0.005048524588346481,
0.02822648547589779,
-0.027773955836892128,
-0.07281942665576935,
-0.048156607896089554,
0.011266081593930721,
-0.009371117688715458,
0.05000443384051323,
0.010012200102210045,
0.022645296528935432,
0.03508983924984932,
-0.026718055829405785,
0.02025066502392292,
0.009460680186748505,
-0.017648624256253242,
-0.055510200560092926,
-0.01096439640969038,
-0.06580523401498795,
0.0003561896737664938,
0.034882429987192154,
0.005680179223418236,
0.01777118444442749,
0.015338840894401073,
0.02666148915886879,
-0.01983584649860859,
0.041821204125881195,
0.00143536482937634,
0.025926129892468452,
0.005218222737312317,
-0.021004879847168922,
0.017648624256253242,
0.014348934404551983,
0.0047963340766727924,
0.0033114738762378693,
-0.00044369036913849413,
-0.04423469305038452,
0.004897681530565023,
-0.025926129892468452,
-0.025982696563005447,
0.006924633402377367,
0.008249223232269287,
-0.07206521183252335,
-0.0188459400087595,
0.0015543893678113818,
-0.0010122975800186396,
0.03699423000216484,
-0.04129325598478317,
-0.029734913259744644,
0.004593638703227043,
-0.023701196536421776,
0.03129991143941879,
-0.008550909347832203,
0.04694986343383789,
0.031205633655190468,
-0.016621006652712822,
0.028132207691669464,
0.006453249603509903,
-0.0507209375500679,
0.01269908994436264,
0.026020407676696777,
0.018374554812908173,
0.01624389924108982,
0.044800352305173874,
-0.030074311420321465,
0.033242013305425644,
-0.007231033407151699,
0.009338120929896832,
0.031073644757270813,
0.054680563509464264,
0.06452306360006332,
0.005001386161893606,
0.016573868691921234,
0.013085625134408474,
0.015612243674695492,
0.03254436329007149,
0.017299799248576164,
0.03986024484038353,
0.08990239351987839,
-0.08122891932725906,
0.0031677016522735357,
0.01415095292031765,
0.02338065579533577,
-0.06508872658014297,
-0.052267078310251236,
0.0142452297732234,
-0.10664595663547516,
-0.01493345107883215,
0.0035377382300794125,
0.03245008736848831,
0.01898735575377941,
-0.0054963394068181515,
-0.01027617510408163,
-0.03245008736848831,
-0.019892413169145584,
-0.010719276033341885,
-0.02796250954270363,
0.061996448785066605,
-0.01172803808003664,
-0.01616847701370716,
-0.01719609461724758,
0.010624999180436134,
-0.024587398394942284,
-0.016809560358524323,
-0.07006654143333435,
0.01976042427122593,
0.0239840280264616,
-0.015301130712032318,
0.021985357627272606,
-0.022796139121055603,
-0.006882208865135908,
0.015282275155186653,
0.002875443547964096,
0.011407497338950634,
-0.03435447812080383,
-0.004940106067806482,
0.03558007627725601,
0.029131542891263962,
-0.0028542312793433666
] |
719,610
|
ibm_platform_services.iam_access_groups_v2
|
IamAccessGroupsV2
|
The iam-access-groups V2 service.
|
class IamAccessGroupsV2(BaseService):
"""The iam-access-groups V2 service."""
DEFAULT_SERVICE_URL = 'https://iam.cloud.ibm.com'
DEFAULT_SERVICE_NAME = 'iam_access_groups'
@classmethod
def new_instance(
cls,
service_name: str = DEFAULT_SERVICE_NAME,
) -> 'IamAccessGroupsV2':
"""
Return a new client for the iam-access-groups service using the specified
parameters and external configuration.
"""
authenticator = get_authenticator_from_environment(service_name)
service = cls(authenticator)
service.configure_service(service_name)
return service
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam-access-groups 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
#########################
# Access group operations
#########################
def create_access_group(
self,
account_id: str,
name: str,
*,
description: str = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Create an access group.
Create a new access group to assign multiple users and service ids to multiple
policies. The group will be created in the account specified by the `account_id`
parameter. The group name is a required field, but a description is optional.
Because the group's name does not have to be unique, it is possible to create
multiple groups with the same name.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str name: Give the access group a unique name that doesn't conflict
with an existing access group in the account. This field is
case-insensitive and has a limit of 100 characters.
:param str description: (optional) Assign an optional description for the
access group. This field has a limit of 250 characters.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `Group` object
"""
if not account_id:
raise ValueError('account_id must be provided')
if name is None:
raise ValueError('name must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='create_access_group',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
}
data = {
'name': name,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v2/groups'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
def list_access_groups(
self,
account_id: str,
*,
transaction_id: str = None,
iam_id: str = None,
search: str = None,
membership_type: str = None,
limit: int = None,
offset: int = None,
sort: str = None,
show_federated: bool = None,
hide_public_access: bool = None,
**kwargs,
) -> DetailedResponse:
"""
List access groups.
This API lists access groups within an account. Parameters for pagination and
sorting can be used to filter the results. The `account_id` query parameter
determines which account to retrieve groups from. Only the groups you have access
to are returned (either because of a policy on a specific group or account level
access (admin, editor, or viewer)). There may be more groups in the account that
aren't shown if you lack the aforementioned permissions.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param str iam_id: (optional) Return groups for member ID (IBMid, service
ID or trusted profile ID).
:param str search: (optional) Use search to filter access groups list by
id, name or description.
* `search=id:<ACCESS_GROUP_ID>` - To list access groups by id
* `search=name:<ACCESS_GROUP_NAME>` - To list access groups by name
* `search=description:<ACCESS_GROUP_DESC>` - To list access groups by
description.
:param str membership_type: (optional) Membership type need to be specified
along with iam_id and must be either `static`, `dynamic` or `all`. If
membership type is `static`, members explicitly added to the group will be
shown. If membership type is `dynamic`, members accessing the access group
at the moment via dynamic rules will be shown. If membership type is `all`,
both static and dynamic members will be shown.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
:param str sort: (optional) Sort the results by id, name, description, or
is_federated flag.
:param bool show_federated: (optional) If show_federated is true, each
group listed will return an is_federated value that is set to true if rules
exist for the group.
:param bool hide_public_access: (optional) If hide_public_access is true,
do not include the Public Access Group in the results.
: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 representing a `GroupsList
|
(authenticator: ibm_cloud_sdk_core.authenticators.authenticator.Authenticator = None) -> None
|
[
-0.007504675071686506,
-0.01745445467531681,
-0.05533771589398384,
-0.023223211988806725,
0.026906747370958328,
-0.04970656335353851,
-0.041471533477306366,
0.02817693166434765,
0.015528008341789246,
0.009695743210613728,
0.010299080982804298,
0.005091323982924223,
0.05762404948472977,
-0.009653404355049133,
-0.010923588648438454,
0.00999211985617876,
0.010542533360421658,
-0.0321991853415966,
0.01953967474400997,
-0.0545756034553051,
-0.01700989156961441,
0.020545238628983498,
0.027944063767790794,
-0.02214355394244194,
0.03838074952363968,
0.0349724218249321,
0.033427029848098755,
0.0005520673003047705,
0.039820291101932526,
0.025297846645116806,
-0.02292683534324169,
-0.022863324731588364,
-0.03414680063724518,
0.04394839331507683,
0.0023855657782405615,
-0.05571877211332321,
0.012458395212888718,
-0.011833887547254562,
-0.06185799837112427,
0.045387934893369675,
0.01171745453029871,
0.004858456552028656,
0.01878814958035946,
-0.04775894805788994,
0.013104072771966457,
0.030928999185562134,
-0.01087066438049078,
0.06084185093641281,
-0.006128641311079264,
-0.027986403554677963,
-0.026335163041949272,
-0.026229314506053925,
-0.030018700286746025,
-0.007107742130756378,
0.00392434187233448,
-0.0005246127839200199,
-0.0020018641371279955,
-0.04030719771981239,
0.038952331990003586,
-0.03228386119008064,
-0.0032495560590177774,
0.020513484254479408,
0.02423935942351818,
-0.01655474118888378,
-0.06456772238016129,
0.02169898897409439,
-0.09907440841197968,
-0.018502358347177505,
-0.03150058165192604,
0.012278452515602112,
0.0003206885594408959,
0.02044997364282608,
-0.002057434758171439,
-0.024027662351727486,
-0.026313994079828262,
0.07400943338871002,
0.0007806344074197114,
-0.0029822879005223513,
0.04979124292731285,
-0.014649463817477226,
-0.00855257734656334,
-0.012331376783549786,
0.04602302610874176,
0.005265974439680576,
0.050129957497119904,
0.034654874354600906,
0.01170686911791563,
-0.006700224708765745,
0.0037576300092041492,
-0.062027353793382645,
-0.00017283113265875727,
0.024853281676769257,
-0.015453914180397987,
0.03294012323021889,
0.005054276902228594,
-0.037343431264162064,
-0.047123853117227554,
-0.02003716491162777,
-0.04352499917149544,
0.034676045179367065,
-0.025700071826577187,
-0.054363906383514404,
-0.023540757596492767,
0.008626671507954597,
0.01508344430476427,
-0.03531113639473915,
-0.005104554817080498,
0.019306808710098267,
0.008848953992128372,
0.03829606994986534,
-0.04598068818449974,
-0.03202982619404793,
0.04674280062317848,
-0.02688557654619217,
-0.01299822423607111,
0.0461077056825161,
0.05072271078824997,
-0.04466816410422325,
0.000783942174166441,
-0.01488233171403408,
-0.0060545471496880054,
-0.047885965555906296,
0.054279226809740067,
0.027584178373217583,
0.03107718750834465,
0.04805532470345497,
-0.06871699541807175,
0.02508614957332611,
0.05571877211332321,
-0.042403001338243484,
0.009230009280145168,
-0.03952391445636749,
-0.02720312401652336,
0.012680677697062492,
0.03143707290291786,
-0.035099439322948456,
-0.004538264125585556,
0.02337140031158924,
-0.03715290501713753,
0.05372881516814232,
0.014183729887008667,
-0.04513389989733696,
-0.021974196657538414,
0.020111259073019028,
-0.0031093063298612833,
-0.024832112714648247,
0.05694661661982536,
-0.0280710831284523,
-0.03266491740942001,
-0.052670326083898544,
-0.026229314506053925,
-0.08146118372678757,
-0.011188210919499397,
-0.01573970541357994,
-0.036348454654216766,
0.031733449548482895,
-0.023096192628145218,
-0.016300704330205917,
0.03533230721950531,
-0.0006532851257361472,
-0.06609194725751877,
-0.0030828441958874464,
-0.027986403554677963,
-0.018862243741750717,
0.0003536009171511978,
0.002647541230544448,
0.03406212106347084,
0.010976512916386127,
-0.04420242831110954,
-0.024620413780212402,
-0.04869041591882706,
0.04079410061240196,
-0.02944711595773697,
-0.04058240354061127,
-0.048267021775245667,
0.01745445467531681,
0.05029931664466858,
0.01551742386072874,
0.021032143384218216,
-0.01699930615723133,
-0.03865595534443855,
-0.033892761915922165,
-0.02220706269145012,
-0.038592446595430374,
-0.012881790287792683,
0.03416797146201134,
0.011876227334141731,
0.0701565369963646,
0.024895621463656425,
0.004233949352055788,
0.012056170031428337,
-0.013156997039914131,
0.03480306267738342,
-0.005996330641210079,
-0.021624894812703133,
-0.009251179173588753,
-0.03137356415390968,
0.02125442400574684,
0.021826008334755898,
0.035522833466529846,
-0.0375339612364769,
0.03802086412906647,
0.029150739312171936,
0.042805224657058716,
0.0306326225399971,
-0.014861161820590496,
-0.02476860210299492,
-0.005093970336019993,
-0.05961400270462036,
-0.028748514130711555,
-0.08497536182403564,
0.009404659271240234,
0.01753913424909115,
0.02392181195318699,
0.025700071826577187,
0.05068037286400795,
0.03147941082715988,
0.01366507075726986,
0.03207216411828995,
-0.014427182264626026,
0.016893457621335983,
-0.03825373202562332,
0.007181836292147636,
-0.039799124002456665,
-0.030145717784762383,
0.0056840768083930016,
0.03274959698319435,
0.0026620954740792513,
-0.03503593057394028,
-0.01066425908356905,
0.042805224657058716,
-0.052204594016075134,
0.03488774225115776,
0.03488774225115776,
-0.06376327574253082,
-0.068166583776474,
0.06858997792005539,
-0.008473190478980541,
-0.00979100726544857,
0.03795735538005829,
-0.01659708097577095,
0.05326307937502861,
0.0663883239030838,
0.05864019691944122,
-0.07074929028749466,
-0.016724098473787308,
-0.04001082107424736,
0.016067836433649063,
0.052670326083898544,
0.00915062241256237,
-0.04136568307876587,
-0.028028743341565132,
-0.04183141887187958,
-0.018883412703871727,
-0.016067836433649063,
-0.09509450197219849,
-0.07409410923719406,
-0.007859268225729465,
0.035967398434877396,
-0.0036861819680780172,
-0.0027996988501399755,
-0.014120220206677914,
-0.07176543772220612,
0.009510508738458157,
0.04466816410422325,
0.0512307845056057,
0.03649664297699928,
-0.0012668769340962172,
0.05360179767012596,
0.0011987368343397975,
0.11084479093551636,
0.05499900132417679,
0.01168570015579462,
-0.03016688860952854,
-0.05419455096125603,
0.0036306113470345736,
0.0280710831284523,
-0.03493008017539978,
-0.09475578367710114,
-0.039460405707359314,
0.04648876190185547,
0.01490350067615509,
-0.07705787569284439,
0.019486751407384872,
0.020576993003487587,
0.04555729404091835,
0.017369776964187622,
0.024556905031204224,
-0.0433344691991806,
0.03414680063724518,
-0.03277076780796051,
0.006626130547374487,
-0.041069306433200836,
-0.048775095492601395,
-0.055549412965774536,
-0.0009129453101195395,
-0.03522645682096481,
-0.007197713479399681,
-0.02641984261572361,
0.01323109120130539,
-0.05410987138748169,
0.04261469841003418,
0.0786244347691536,
0.00724005326628685,
-0.0087166428565979,
-0.05140014365315437,
0.04932550713419914,
0.002601232612505555,
0.0068748751655220985,
0.03793618455529213,
-0.029150739312171936,
-0.012659507803618908,
0.01409905031323433,
-0.05588812753558159,
0.004776423797011375,
0.011399907991290092,
0.029934020712971687,
0.033913932740688324,
0.06431368738412857,
0.06477942317724228,
-0.023604266345500946,
-0.01661824993789196,
0.008176814764738083,
-0.03806320205330849,
0.11389323323965073,
-0.0027308971621096134,
0.044498804956674576,
0.06689639389514923,
0.052204594016075134,
0.014967010356485844,
-0.012532489374279976,
-0.06329753994941711,
-0.019402071833610535,
0.019687863066792488,
-0.006070424802601337,
-0.05618450418114662,
-0.03020922653377056,
-0.08573747426271439,
-0.018428264185786247,
-0.035205285996198654,
-0.04145036265254021,
-0.008399096317589283,
-0.02212238498032093,
-0.0024398132227361202,
-0.01753913424909115,
-0.018015453591942787,
0.09797358512878418,
-0.00010750261571956798,
-0.061985015869140625,
0.022461099550127983,
0.0014435120392590761,
0.039777953177690506,
0.08366283774375916,
0.05571877211332321,
0.03696237504482269,
-0.018534112721681595,
0.00202038767747581,
0.00976454559713602,
0.01700989156961441,
-0.01710515469312668,
0.016872286796569824,
-0.012225528247654438,
0.017772002145648003,
-0.01558093260973692,
-0.010997682809829712,
-0.06528749316930771,
-0.04695449769496918,
-0.04352499917149544,
0.055549412965774536,
-0.01752854883670807,
0.0026144636794924736,
-0.0315217524766922,
-0.0029558257665485144,
0.02178366854786873,
0.009769837372004986,
0.037258751690387726,
0.03380808234214783,
-0.010590164922177792,
-0.022418761625885963,
0.019931316375732422,
0.04784362390637398,
-0.0024424593430012465,
0.0023432262241840363,
0.048817433416843414,
0.033469367772340775,
-0.02847330830991268,
0.06787020713090897,
0.024197019636631012,
-0.021593140438199043,
-0.029531795531511307,
0.021455537527799606,
-0.021402612328529358,
0.031225375831127167,
0.004485339857637882,
-0.025657732039690018,
-0.04631940275430679,
-0.048267021775245667,
-0.023942982777953148,
-0.013284015469253063,
-0.019402071833610535,
-0.01340044941753149,
0.03380808234214783,
0.016819363459944725,
-0.010135015472769737,
0.019910145550966263,
-0.04504922032356262,
0.049960602074861526,
-0.03317299112677574,
-0.020153598859906197,
0.020947463810443878,
0.004286873620003462,
-0.01279711164534092,
-0.03414680063724518,
-0.01616310141980648,
0.02263045869767666,
0.031331222504377365,
-0.02849447727203369,
0.11313112080097198,
-0.009706328622996807,
0.019042186439037323,
0.027520669624209404,
-0.011611605994403362,
-0.00025899859610944986,
0.02044997364282608,
-0.01275477185845375,
-0.0461077056825161,
-0.008796029724180698,
0.019444411620497704,
-0.040667083114385605,
-0.0563538633286953,
0.03933338820934296,
0.06181565672159195,
-0.043694354593753815,
-0.03103484772145748,
-0.0234984178096056,
0.0011061192490160465,
-0.05783574655652046,
-0.0005659598973579705,
0.045768991112709045,
0.006319168955087662,
0.023223211988806725,
-0.010955343954265118,
-0.018597621470689774,
0.0008414973854087293,
0.0056840768083930016,
-0.000028240110623301007,
-0.005472379270941019,
0.005969868507236242,
0.09238477051258087,
-0.032156843692064285,
0.04869041591882706,
0.028303951025009155,
0.04898679256439209,
0.01752854883670807,
-0.03611558675765991,
-0.030082209035754204,
0.04602302610874176,
-0.013760334812104702,
0.011262305080890656,
-0.006070424802601337,
0.02390064299106598,
-0.030928999185562134,
-0.03287661448121071,
0.05639620125293732,
0.008340880274772644,
0.03694120794534683,
0.06130758300423622,
0.03186046704649925,
0.013368694111704826,
0.007097157184034586,
-0.021201500669121742,
-0.006774318870157003,
-0.037766825407743454,
0.01128347497433424,
-0.0010498870396986604,
0.02476860210299492,
0.021519046276807785,
-0.012966468930244446,
-0.01868230104446411,
0.056480880826711655,
0.0358615480363369,
-0.016946380957961082,
0.030801979824900627,
-0.016544155776500702,
-0.027054935693740845,
-0.07561833411455154,
0.04479518160223961,
-0.008303833194077015,
-0.05580345168709755,
-0.07532195746898651,
0.026186976581811905,
-0.025911768898367882,
-0.019486751407384872,
0.03888882324099541,
0.012394886463880539,
0.016438307240605354,
-0.022270573303103447,
0.0009222070802934468,
0.030526774004101753,
-0.051781199872493744,
-0.005858727265149355,
0.02855798788368702,
-0.03715290501713753,
-0.0552530363202095,
0.05449092760682106,
0.0013231091434136033,
0.008097427897155285,
-0.04094228893518448,
-0.003929634112864733,
-0.025424864143133163,
-0.04259352758526802,
0.0017848742427304387,
0.010955343954265118,
0.009108283556997776,
-0.039037011563777924,
0.06935209035873413,
-0.028452139347791672,
0.045387934893369675,
0.0068589975126087666,
-0.008684888482093811,
0.06232373043894768,
-0.010801862925291061,
-0.07121502608060837,
0.03874063491821289,
-0.01744387112557888,
-0.015242217108607292,
-0.0061815655790269375,
-0.003950804006308317,
-0.0063879708759486675,
-0.0036914744414389133,
0.024789772927761078,
0.016395967453718185,
-0.038634784519672394,
-0.03357521817088127,
0.0080762580037117,
-0.019941899925470352,
-0.04479518160223961,
-0.012109094299376011,
-0.043694354593753815,
0.016787609085440636,
0.014607124961912632,
-0.010055629536509514,
-0.10567937046289444,
-0.050468675792217255,
-0.08789678663015366,
0.0144801065325737,
0.038550108671188354,
-0.018957506865262985,
0.045006878674030304,
-0.013569806702435017,
0.07845507562160492,
0.020576993003487587,
0.04475284367799759,
-0.007991579361259937,
0.04172556847333908,
0.03609441593289375,
-0.02299034409224987,
-0.06753148883581161,
-0.009261763654649258,
-0.01275477185845375,
0.024091171100735664,
0.03905818238854408,
0.009415244683623314,
-0.04809766262769699,
-0.026059957221150398,
0.035184118896722794,
0.011601020582020283,
0.04733555018901825,
-0.003172815777361393,
0.02648335136473179,
-0.02347724884748459,
-0.06613428890705109,
-0.01299822423607111,
0.034231480211019516,
-0.0554647333920002,
0.04373669624328613,
0.02044997364282608,
0.02091570943593979,
0.05203523486852646,
-0.025001469999551773,
0.06130758300423622,
-0.006843120325356722,
0.027753537520766258,
-0.023138532415032387,
-0.01568678207695484,
0.0503416545689106,
-0.00875368993729353,
-0.0007726956973783672,
0.03186046704649925,
0.02343490906059742,
-0.06494878232479095,
-0.0196031853556633,
0.018608206883072853,
0.0022241463884711266,
-0.029171910136938095,
0.08857421576976776,
-0.015570348128676414,
-0.0028685005381703377,
-0.029235418885946274,
0.01318875141441822,
0.008478483185172081,
0.04686981812119484,
0.014734143391251564,
0.009298810735344887,
0.025319015607237816,
0.05461794510483742,
-0.02847330830991268,
-0.07845507562160492,
-0.03020922653377056,
0.011209380812942982,
-0.05495665967464447,
-0.003167523304000497,
-0.00691721448674798,
-0.008367341943085194,
-0.030950168147683144,
-0.027457160875201225,
-0.02893904224038124,
0.06575322896242142,
0.0596986822783947,
-0.0699448436498642,
0.031013676896691322,
0.014839991927146912,
-0.03795735538005829,
0.061603959649801254,
-0.02815576270222664,
0.024916790425777435,
0.0209368783980608,
0.014226069673895836,
-0.0010789955267682672,
0.04037070646882057,
-0.03247439116239548,
0.03577687218785286,
-0.06723511219024658,
-0.032135672867298126,
0.05847083777189255,
0.02646218240261078,
0.06757383048534393,
0.006250367499887943,
0.0316275991499424,
0.007298269774764776,
-0.040201347321271896,
-0.04045538604259491,
0.01660766638815403,
0.01494584046304226,
-0.04720853269100189,
0.03393510356545448,
-0.011526926420629025,
-0.01956084556877613,
0.06778552383184433,
-0.02000541053712368,
-0.053517118096351624,
0.0773119106888771,
-0.02476860210299492,
-0.08078374713659286,
-0.012934714555740356,
0.0060439626686275005,
-0.0862032026052475,
0.044033072888851166,
-0.057793404906988144,
-0.012818281538784504,
0.02680089883506298,
0.005477671977132559,
0.014543615281581879,
-0.020270030945539474,
-0.019338563084602356,
-0.02944711595773697,
0.06096886843442917,
-0.01188681274652481,
0.050426334142684937,
0.0773119106888771,
0.0068219504319131374,
0.005324190948158503,
0.02762651816010475,
0.09060651063919067,
-0.022291742265224457,
-0.0063879708759486675,
0.06456772238016129,
-0.03539581596851349,
0.017295682802796364,
0.06431368738412857,
0.005363884381949902,
0.03838074952363968,
0.00017018491053022444,
0.013072318397462368,
0.02601761743426323,
-0.005131016951054335,
0.023710114881396294,
-0.05927528813481331,
-0.028452139347791672,
-0.04303809255361557,
0.011325813829898834,
-0.0077957590110599995,
-0.01067484449595213,
-0.010558410547673702,
-0.040603574365377426,
0.02133910357952118,
0.007086572237312794,
-0.03975678235292435,
-0.03719524294137955,
0.05715831369161606,
0.0019462935160845518,
-0.041535042226314545,
0.021381443366408348,
0.016290118917822838,
0.017168663442134857,
0.07671915739774704,
-0.02813459187746048,
-0.024895621463656425,
0.03139473497867584,
-0.029722323641180992,
0.027181953191757202,
0.04390605166554451,
0.00138000282458961,
-0.0020375880412757397,
0.04949486628174782,
-0.009579310193657875,
-0.021847177296876907,
0.019507920369505882,
-0.014533030800521374,
0.025403695181012154,
0.01876698061823845,
0.019793711602687836,
0.0002340249193366617,
-0.029214249923825264,
-0.02637750282883644,
-0.040688250213861465,
-0.03550166264176369,
0.012236112728714943,
0.000384363200282678,
0.0005613290704786777,
0.015602102503180504,
0.04172556847333908,
-0.046615779399871826,
-0.011548096314072609,
0.014024957083165646,
-0.06617662310600281,
-0.014448351226747036,
-0.0068589975126087666,
-0.002425258979201317,
0.028854364529252052,
0.040264856070280075,
-0.013051148504018784,
-0.020672256126999855,
-0.04125983640551567,
-0.09314688295125961,
0.012289037927985191,
0.04382137581706047,
-0.025446034967899323,
-0.004932550713419914,
-0.022334082052111626,
0.03459136560559273,
-0.013104072771966457,
0.00956343300640583,
0.05808978155255318,
-0.005535888485610485,
-0.026229314506053925,
0.0036359038203954697,
0.053813494741916656,
0.026229314506053925,
-0.029235418885946274,
0.012966468930244446,
0.016321873292326927,
0.04253001883625984,
-0.038592446595430374,
0.013178166933357716,
0.04974890127778053,
-0.030442094430327415,
-0.010288496501743793
] |
719,611
|
ibm_platform_services.iam_access_groups_v2
|
__init__
|
Construct a new client for the iam-access-groups 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 authenticator of your choice.
|
def __init__(
self,
authenticator: Authenticator = None,
) -> None:
"""
Construct a new client for the iam-access-groups 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 authenticator of your choice.
"""
BaseService.__init__(self, service_url=self.DEFAULT_SERVICE_URL, authenticator=authenticator)
|
(self, authenticator: Optional[ibm_cloud_sdk_core.authenticators.authenticator.Authenticator] = None) -> NoneType
|
[
-0.01753804460167885,
-0.06058932840824127,
-0.012368937022984028,
-0.01565501280128956,
-0.011390498839318752,
-0.03562992438673973,
-0.01231355406343937,
0.0232425257563591,
-0.008275188505649567,
0.011030507273972034,
0.00029653141973540187,
0.018258027732372284,
-0.022522542625665665,
-0.0029491607565432787,
-0.019033394753932953,
0.05117416754364967,
0.01768573373556137,
-0.0012045868206769228,
-0.0018426484894007444,
-0.07687202095985413,
0.009470544755458832,
0.0333222858607769,
0.00863517913967371,
0.011215118691325188,
0.050731103867292404,
0.09068091958761215,
-0.007564435712993145,
0.005515253636986017,
0.02171025425195694,
-0.012212017551064491,
-0.022245625033974648,
-0.014971951954066753,
-0.02272561378777027,
0.041426707059144974,
0.038768310099840164,
-0.03895292058587074,
-0.002988390624523163,
0.013587369583547115,
-0.09060707688331604,
0.021304110065102577,
0.017113439738750458,
-0.01633807271718979,
0.08012117445468903,
-0.0370698906481266,
0.03459610044956207,
0.03836216405034065,
0.07166598737239838,
0.019974909722805023,
0.017981112003326416,
-0.0084136463701725,
-0.0461527481675148,
-0.007107523735612631,
0.0071675218641757965,
0.014787341468036175,
-0.0468173511326313,
0.06852760165929794,
0.02368559129536152,
-0.022411774843931198,
-0.05305720120668411,
0.023316368460655212,
-0.06882297992706299,
-0.04655889421701431,
0.010190526954829693,
-0.024424035102128983,
-0.04264514148235321,
0.009572080336511135,
-0.07820121943950653,
0.01667037419974804,
-0.0209533479064703,
0.008418262004852295,
0.04836808145046234,
0.02939007058739662,
-0.01794418878853321,
-0.025328628718852997,
0.0006692148745059967,
0.030885420739650726,
-0.012525856494903564,
0.01907031610608101,
0.00837672408670187,
-0.01623653806746006,
-0.012239709496498108,
0.011085890233516693,
0.01614423282444477,
0.02316868118941784,
0.03367304801940918,
-0.00038710617809556425,
0.011132042855024338,
-0.04412202909588814,
-0.005196799524128437,
-0.001324583892710507,
-0.01376274973154068,
-0.01615346223115921,
0.008944403380155563,
0.05641712248325348,
-0.002852239878848195,
-0.01423350814729929,
-0.030756192281842232,
-0.008109037764370441,
-0.008958248421549797,
0.024294808506965637,
-0.006738301366567612,
-0.06258312612771988,
-0.004264513961970806,
0.0070890625938773155,
0.007019833195954561,
-0.012424319982528687,
0.0003625875397119671,
-0.023039452731609344,
0.017131900414824486,
0.03762372210621834,
0.017630349844694138,
0.01932877115905285,
0.00311992596834898,
0.04412202909588814,
-0.026103995740413666,
0.04460201784968376,
0.08602872490882874,
-0.015922699123620987,
0.05985088646411896,
0.026103995740413666,
-0.03400534763932228,
-0.03550069406628609,
0.032436151057481766,
0.019513383507728577,
0.04109440743923187,
0.015064257197082043,
-0.022448698058724403,
0.00713521521538496,
-0.000609793234616518,
-0.02564246766269207,
0.045857373625040054,
-0.07007833570241928,
0.004698350094258785,
-0.004342973697930574,
0.038177553564310074,
-0.007476745638996363,
0.05649096518754959,
0.013319683261215687,
-0.03658990189433098,
0.1007976084947586,
-0.0025937845930457115,
0.0000441335687355604,
-0.04249745234847069,
0.040725186467170715,
0.01496272161602974,
-0.01346737239509821,
0.023482520133256912,
-0.0049752662889659405,
-0.0031430022791028023,
-0.0318269357085228,
-0.03206693008542061,
-0.03520531952381134,
0.0035768381785601377,
0.0018507252680137753,
-0.0072736735455691814,
0.018664171919226646,
-0.010735129937529564,
-0.058669377118349075,
0.021008731797337532,
-0.03791910037398338,
-0.04161132127046585,
-0.008141345344483852,
-0.0006876759580336511,
-0.03267614543437958,
0.0009357469971291721,
-0.009812074713408947,
-0.020122598856687546,
-0.030239282175898552,
-0.05837399885058403,
-0.017482662573456764,
-0.05922320857644081,
-0.04275590926408768,
-0.05763555318117142,
-0.05874321982264519,
0.02239331416785717,
0.002163410186767578,
0.05361103266477585,
0.03958059847354889,
0.0023307139053940773,
0.026971668004989624,
-0.005206030327826738,
0.03051619790494442,
-0.023777896538376808,
-0.037734489887952805,
-0.014418119564652443,
0.03225154057145119,
0.0598139651119709,
0.047740403562784195,
0.037476032972335815,
-0.009461313486099243,
0.0034499180037528276,
0.04168516397476196,
0.02196870930492878,
0.02043643780052662,
-0.014898107387125492,
-0.020067214965820312,
-0.01862725056707859,
0.0011930485488846898,
-0.04246053099632263,
0.04002366587519646,
-0.03520531952381134,
0.080638088285923,
0.005547560751438141,
0.02230100892484188,
0.08721023797988892,
0.0022857149597257376,
-0.024940945208072662,
-0.031162336468696594,
-0.04925421625375748,
-0.03906368836760521,
-0.0702260211110115,
-0.041500553488731384,
0.008353647775948048,
0.013965821824967861,
-0.026307066902518272,
0.05512484535574913,
0.060995474457740784,
0.000814019120298326,
0.033119212836027145,
0.02907623164355755,
0.050657257437705994,
0.026510139927268028,
0.06291542947292328,
-0.06147546321153641,
-0.01098435465246439,
0.023094836622476578,
0.012858156114816666,
-0.03444841131567955,
-0.053795646876096725,
-0.0057737091556191444,
0.018276488408446312,
0.008616718463599682,
0.00926747266203165,
0.025347089394927025,
-0.057746320962905884,
-0.06937681138515472,
0.036368366330862045,
-0.02710089460015297,
-0.05682326480746269,
0.03383919596672058,
0.0044791242107748985,
0.0705583244562149,
0.0429035946726799,
0.0526510588824749,
-0.07399208843708038,
-0.0079567339271307,
-0.043457429856061935,
-0.011741260066628456,
0.05091571435332298,
0.030645426362752914,
-0.05084186792373657,
-0.03555607795715332,
-0.04375280812382698,
-0.023482520133256912,
0.007592127192765474,
-0.06612765789031982,
-0.08809637278318405,
-0.012248939834535122,
0.035334546118974686,
0.005469101015478373,
0.0006276774220168591,
0.02008567750453949,
-0.06147546321153641,
0.0326576866209507,
0.012765850871801376,
0.0549033097922802,
0.0429035946726799,
0.010024377144873142,
0.08100730925798416,
-0.00022427352087106556,
0.1437011957168579,
0.047408103942871094,
0.04279283061623573,
-0.0017064979765564203,
-0.021137960255146027,
-0.02846701629459858,
0.006161392200738192,
-0.010005916468799114,
-0.06996756792068481,
-0.033469974994659424,
0.031568482518196106,
0.025236323475837708,
-0.02069489285349846,
0.055420223623514175,
-0.02027028799057007,
-0.00046268131700344384,
0.02041797712445259,
-0.011353576555848122,
-0.04220207408070564,
0.020104138180613518,
-0.013947361148893833,
0.02298406884074211,
-0.0013222763082012534,
-0.05091571435332298,
-0.03378381207585335,
-0.042423609644174576,
-0.022171780467033386,
-0.02281791903078556,
-0.029205460101366043,
-0.025162478908896446,
-0.02717473916709423,
0.01837802492082119,
0.012433551251888275,
0.013393527828156948,
0.0030622349586337805,
-0.03143925219774246,
0.005219875834882259,
0.04094671830534935,
-0.024590184912085533,
0.025144018232822418,
0.0006305619608610868,
0.01897801086306572,
-0.03522377833724022,
-0.07118599861860275,
0.05412794649600983,
0.04412202909588814,
0.037383727729320526,
-0.015239638276398182,
0.03179001435637474,
0.04877422749996185,
-0.05741402134299278,
-0.0064660003408789635,
-0.02769164927303791,
-0.045783527195453644,
-0.004052211530506611,
0.01710420846939087,
0.046965040266513824,
0.07048448175191879,
-0.008644410409033298,
-0.0015380403492599726,
-0.04545122757554054,
0.0009207473485730588,
-0.01622730679810047,
-0.009299779310822487,
-0.04327281937003136,
-0.06350618600845337,
0.0035537618678063154,
-0.06996756792068481,
-0.042940519750118256,
-0.02804241143167019,
-0.006142931059002876,
-0.05309412255883217,
-0.028688549995422363,
0.035242240875959396,
-0.04574660584330559,
-0.022854842245578766,
0.03625760227441788,
-0.06298927217721939,
-0.011547418311238289,
-0.06110624223947525,
0.019347233697772026,
0.04641120508313179,
0.03902676701545715,
0.05759863182902336,
0.034817636013031006,
0.05110032483935356,
-0.022799458354711533,
0.017150361090898514,
0.005556791089475155,
-0.01487041637301445,
0.023057913407683372,
-0.01744573935866356,
0.04275590926408768,
0.0044698938727378845,
-0.051063403487205505,
-0.048515770584344864,
0.008256726898252964,
-0.03880523145198822,
0.08994247764348984,
0.0029768524691462517,
0.01932877115905285,
-0.07292134314775467,
0.009424391202628613,
0.01975337788462639,
0.005566021427512169,
0.0362391397356987,
-0.02460864558815956,
-0.018396485596895218,
-0.053537189960479736,
0.01895955018699169,
-0.016910366714000702,
0.044491250067949295,
0.03306382894515991,
0.04604198411107063,
-0.011833565309643745,
-0.013707366771996021,
0.04186977446079254,
0.034226879477500916,
0.01487041637301445,
0.010439751669764519,
-0.01499964389950037,
-0.03869446739554405,
0.007739816326647997,
-0.024664029479026794,
-0.02257792465388775,
-0.04519277438521385,
-0.06018318608403206,
-0.030146976932883263,
0.013513525016605854,
-0.04829423874616623,
0.026639366522431374,
0.009885919280350208,
0.08868712186813354,
-0.019365694373846054,
-0.003652990097180009,
0.01047667395323515,
0.02639937214553356,
-0.04762963950634003,
0.01158434059470892,
-0.033469974994659424,
-0.009664385579526424,
-0.004082210827618837,
-0.008856712840497494,
-0.03151309862732887,
-0.010393599048256874,
-0.008949018083512783,
-0.08277957141399384,
0.04541430622339249,
0.017916496843099594,
0.004179131705313921,
0.0005924859433434904,
0.003539915895089507,
-0.01068897731602192,
-0.005732171703130007,
-0.0065352292731404305,
-0.005879860371351242,
-0.017298050224781036,
0.0015138102462515235,
-0.02719319984316826,
-0.07945657521486282,
0.017150361090898514,
0.06874913722276688,
0.009839766658842564,
-0.037660643458366394,
-0.0057783243246376514,
0.026510139927268028,
-0.07783199846744537,
-0.008090577088296413,
0.030054671689867973,
-0.033211518079042435,
-0.010107452049851418,
-0.06409694254398346,
-0.011445881798863411,
-0.046115826815366745,
0.009885919280350208,
-0.01804572530090809,
-0.06036779657006264,
0.06195545196533203,
0.09156705439090729,
-0.01931031048297882,
0.056712500751018524,
-0.03136540949344635,
0.036977581679821014,
-0.01700267381966114,
-0.030313126742839813,
-0.03847293183207512,
0.06767839193344116,
0.03230692446231842,
0.015276560559868813,
-0.027987027540802956,
0.0038906768895685673,
-0.050731103867292404,
0.019531844183802605,
-0.009830535389482975,
0.029703909531235695,
0.03784525394439697,
0.03802986443042755,
0.02034413255751133,
0.014990413561463356,
0.005561406258493662,
-0.007661356590688229,
0.007070601452142,
0.03293460234999657,
0.023094836622476578,
0.02495940774679184,
0.038325242698192596,
0.03212231397628784,
-0.015618090517818928,
-0.059186287224292755,
0.026713211089372635,
0.02342713624238968,
0.01727035827934742,
0.03077465295791626,
0.020713353529572487,
-0.0365714393556118,
-0.026030151173472404,
-0.012692006304860115,
-0.041315943002700806,
0.022836381569504738,
-0.06801069527864456,
0.02265176922082901,
0.061069317162036896,
-0.01564578153192997,
0.05519868806004524,
0.08817021548748016,
0.0017053440678864717,
0.026805516332387924,
-0.0011295885778963566,
0.040909796953201294,
0.012341245077550411,
-0.015784241259098053,
0.011935100890696049,
-0.010910510085523129,
-0.058669377118349075,
0.0663122683763504,
-0.007564435712993145,
-0.06767839193344116,
-0.03950675576925278,
0.0044745090417563915,
-0.00410528713837266,
0.018691863864660263,
0.013531986624002457,
-0.02488556317985058,
-0.013310452923178673,
-0.02556862309575081,
0.02905777096748352,
-0.07004141062498093,
-0.0015738087240606546,
-0.038066789507865906,
-0.006595227867364883,
0.04445432871580124,
-0.013513525016605854,
-0.039359066635370255,
0.047998860478401184,
-0.013421219773590565,
-0.04966035857796669,
-0.012055098079144955,
-0.014639652334153652,
-0.008307495154440403,
0.007296749856323004,
0.009978224523365498,
-0.0022026400547474623,
-0.037992943078279495,
-0.0013868901878595352,
-0.0001240355195477605,
-0.00790596567094326,
-0.0916408970952034,
-0.03068234771490097,
0.013661214150488377,
-0.026731673628091812,
0.02060258761048317,
0.04419587180018425,
-0.03572222962975502,
-0.030313126742839813,
-0.041242096573114395,
0.017113439738750458,
-0.0552356094121933,
-0.014159663580358028,
0.015571937896311283,
-0.0014018898364156485,
0.08211497217416763,
0.013328914530575275,
-0.014242738485336304,
0.010015146806836128,
-0.021156420931220055,
0.019125699996948242,
0.002579938620328903,
-0.06058932840824127,
-0.013088920153677464,
0.004608352202922106,
0.01830418035387993,
0.04921729117631912,
-0.031125415116548538,
-0.013698136433959007,
0.031070031225681305,
-0.007642895448952913,
0.010753590613603592,
0.009022862650454044,
-0.017621120437979698,
0.0364052876830101,
-0.017325742170214653,
-0.07753662019968033,
0.013679674826562405,
0.08115499466657639,
-0.08802252262830734,
0.049364980310201645,
0.0035837609320878983,
0.017990341410040855,
0.030368508771061897,
-0.02641783468425274,
0.0057090953923761845,
0.006216775625944138,
-0.011685876175761223,
-0.06442923843860626,
-0.02326098643243313,
0.02025182731449604,
-0.03254691883921623,
-0.04116825386881828,
-0.01700267381966114,
0.007333672139793634,
-0.0643184706568718,
-0.06298927217721939,
0.0016695756930857897,
0.013116611167788506,
-0.055604834109544754,
0.03035004809498787,
-0.003442995250225067,
-0.02556862309575081,
0.0010026685195043683,
0.02665782906115055,
0.01102127693593502,
0.07122292369604111,
0.015618090517818928,
0.05896475166082382,
0.042608220130205154,
0.016476532444357872,
-0.06424462795257568,
-0.0523187592625618,
-0.04951266944408417,
0.03810371086001396,
-0.03592529892921448,
0.016633450984954834,
0.009581310674548149,
-0.007176752667874098,
0.003595299320295453,
-0.0026907052379101515,
-0.030996186658740044,
0.06010934337973595,
0.04655889421701431,
-0.03527916222810745,
0.031162336468696594,
0.0032260771840810776,
-0.02734088897705078,
0.03212231397628784,
-0.06435539573431015,
-0.00385606219060719,
0.0451558493077755,
-0.016476532444357872,
-0.00828441884368658,
0.009009016677737236,
-0.0050306497141718864,
0.017058055847883224,
-0.050546493381261826,
-0.044491250067949295,
0.06760454922914505,
0.040909796953201294,
0.055604834109544754,
0.021691791713237762,
0.03572222962975502,
0.008898249827325344,
-0.0331561341881752,
-0.04220207408070564,
0.040134429931640625,
-0.0030460814014077187,
-0.016891906037926674,
0.020750276744365692,
-0.055937133729457855,
-0.015627320855855942,
0.022614847868680954,
0.005081417970359325,
-0.04116825386881828,
0.051764924079179764,
-0.012710466980934143,
-0.03710681200027466,
-0.021673331037163734,
-0.027377812191843987,
-0.03664528205990791,
0.0683060735464096,
-0.015322713181376457,
-0.02811625599861145,
-0.00794288795441389,
0.04164824262261391,
0.050657257437705994,
0.04478662833571434,
0.0027668573893606663,
-0.0461527481675148,
0.03450379520654678,
-0.02368559129536152,
0.05475562438368797,
0.05017726868391037,
0.018101109191775322,
0.03145771473646164,
-0.01693805865943432,
0.08034271001815796,
-0.030239282175898552,
0.016218075528740883,
0.03839908912777901,
-0.05434947833418846,
0.03225154057145119,
0.04334666207432747,
-0.0471496507525444,
-0.010698207654058933,
-0.0007603665580973029,
0.009101321920752525,
0.004017597064375877,
-0.04814654961228371,
0.0637277141213417,
-0.011639723554253578,
-0.041315943002700806,
-0.09828689694404602,
0.013005845248699188,
-0.007075216621160507,
0.011510496027767658,
0.0015461171278730035,
-0.009922841563820839,
0.07410285621881485,
-0.015922699123620987,
-0.0708167776465416,
0.018507253378629684,
0.05246644467115402,
0.04002366587519646,
-0.0334884338080883,
-0.020141059532761574,
0.02529170736670494,
-0.00009468525240663439,
0.051580313593149185,
0.005215260665863752,
-0.013015075586736202,
0.044565096497535706,
-0.0010632439516484737,
0.032270003110170364,
0.03127310425043106,
0.020990271121263504,
0.0019026470836251974,
0.04264514148235321,
0.018433408811688423,
-0.03631298243999481,
0.042866673320531845,
-0.013255069963634014,
-0.010033607482910156,
0.0008295956649817526,
0.01251662615686655,
0.011953562498092651,
-0.06535229086875916,
0.03906368836760521,
-0.0159134678542614,
-0.05601097643375397,
0.02230100892484188,
0.0056537119671702385,
0.032362308353185654,
-0.004767579026520252,
-0.03873138874769211,
-0.08167190849781036,
0.05630635470151901,
0.014565807767212391,
-0.013688906095921993,
0.006073702126741409,
0.020990271121263504,
0.02700858935713768,
0.0250332523137331,
0.007859813049435616,
-0.002568400464951992,
0.0018345718272030354,
0.012885848060250282,
-0.04925421625375748,
0.02025182731449604,
0.030571581795811653,
-0.0464850515127182,
0.0155996298417449,
0.007818276062607765,
-0.012322784401476383,
-0.007079831790179014,
-0.03169770911335945,
0.05409102141857147,
-0.029002388939261436,
-0.0832226425409317,
-0.003463763976469636,
0.025402473285794258,
0.03810371086001396,
-0.007204444147646427,
0.0018714939942583442,
-0.012341245077550411,
0.07037371397018433,
-0.07687202095985413,
0.011039737612009048,
0.031845398247241974,
0.0198272205889225,
-0.020528743043541908
] |
719,616
|
ibm_platform_services.iam_access_groups_v2
|
add_access_group_rule
|
Create rule for an access group.
Rules can be used to dynamically add users to an access group. If a user's SAML
assertions match the rule's conditions during login, the user will be dynamically
added to the group. The duration of the user's access to the group is determined
by the `expiration` field. After access expires, the user will need to log in
again to regain access. Note that the condition's value field must be a
stringified JSON value. [Consult this documentation for further explanation of
dynamic rules.](/docs/account?topic=account-rules).
:param str access_group_id: The access group identifier.
:param int expiration: Session duration in hours. Access group membership
is revoked after this time period expires. Users must log back in to
refresh their access group membership.
:param str realm_name: The URL of the identity provider (IdP).
:param List[RuleConditions] conditions: A list of conditions that
identities must satisfy to gain access group membership.
:param str name: (optional) The name of the dynaimic rule.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `Rule` object
|
def add_access_group_rule(
self,
access_group_id: str,
expiration: int,
realm_name: str,
conditions: List['RuleConditions'],
*,
name: str = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Create rule for an access group.
Rules can be used to dynamically add users to an access group. If a user's SAML
assertions match the rule's conditions during login, the user will be dynamically
added to the group. The duration of the user's access to the group is determined
by the `expiration` field. After access expires, the user will need to log in
again to regain access. Note that the condition's value field must be a
stringified JSON value. [Consult this documentation for further explanation of
dynamic rules.](/docs/account?topic=account-rules).
:param str access_group_id: The access group identifier.
:param int expiration: Session duration in hours. Access group membership
is revoked after this time period expires. Users must log back in to
refresh their access group membership.
:param str realm_name: The URL of the identity provider (IdP).
:param List[RuleConditions] conditions: A list of conditions that
identities must satisfy to gain access group membership.
:param str name: (optional) The name of the dynaimic rule.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `Rule` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if expiration is None:
raise ValueError('expiration must be provided')
if realm_name is None:
raise ValueError('realm_name must be provided')
if conditions is None:
raise ValueError('conditions must be provided')
conditions = [convert_model(x) for x in conditions]
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='add_access_group_rule',
)
headers.update(sdk_headers)
data = {
'expiration': expiration,
'realm_name': realm_name,
'conditions': conditions,
'name': name,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/rules'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, expiration: int, realm_name: str, conditions: List[ibm_platform_services.iam_access_groups_v2.RuleConditions], *, name: Optional[str] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.06953313946723938,
0.0815938264131546,
-0.03918752819299698,
-0.012303060851991177,
0.016336215659976006,
-0.00485481321811676,
-0.08252455294132233,
0.0089340191334486,
-0.014891648665070534,
-0.008298991248011589,
0.026680869981646538,
0.03660863637924194,
0.06425901502370834,
0.009074598550796509,
-0.012719949707388878,
-0.007848170585930347,
0.06154439225792885,
0.0019172027241438627,
-0.02272527664899826,
-0.007125886622816324,
0.006490858271718025,
0.006835034117102623,
0.006970765069127083,
-0.02181393839418888,
0.02084442973136902,
0.031683534383773804,
0.06154439225792885,
0.01972949504852295,
-0.019710104912519455,
0.07496238499879837,
-0.03011292964220047,
-0.017645051702857018,
0.02677782066166401,
0.04738956689834595,
-0.0249551460146904,
-0.02737891674041748,
-0.039943743497133255,
-0.03362254798412323,
-0.08368796110153198,
0.035697296261787415,
0.01672401838004589,
0.08019772917032242,
0.005564977880567312,
0.00795966386795044,
-0.005957629065960646,
-0.014329333789646626,
-0.0485529787838459,
0.02427648939192295,
0.0004638491664081812,
-0.06422023475170135,
-0.03445632755756378,
-0.028910739347338676,
-0.010674286633729935,
-0.007886950857937336,
-0.0003996192244812846,
0.028212692588567734,
-0.03389401361346245,
-0.016471946612000465,
0.032284628599882126,
-0.05510685592889786,
0.011352943256497383,
0.0005995803512632847,
0.009699931368231773,
-0.04296861216425896,
-0.062397558242082596,
0.0340491347014904,
-0.08981525152921677,
-0.04448104277253151,
-0.006801100913435221,
0.007688201032578945,
-0.042270563542842865,
0.019613154232501984,
0.04362787678837776,
-0.0715109333395958,
-0.03736485168337822,
0.04525664821267128,
0.019409557804465294,
-0.04083569347858429,
0.05378832295536995,
0.006815643515437841,
-0.012467877008020878,
0.020921990275382996,
0.054912954568862915,
0.0357554666697979,
0.04006008431315422,
0.013524641282856464,
-0.019584069028496742,
-0.026797210797667503,
-0.04064179211854935,
-0.08081821352243423,
0.02070869877934456,
-0.02856171689927578,
-0.01813950203359127,
0.012690864503383636,
-0.04033154621720314,
-0.0041494956240057945,
-0.0014045751886442304,
0.0032866334076970816,
-0.009908375330269337,
0.043317634612321854,
-0.027126843109726906,
-0.04083569347858429,
-0.0028867111541330814,
0.011731050908565521,
0.034339986741542816,
-0.04343397542834282,
0.00155969662591815,
-0.004866932053118944,
-0.044093240052461624,
0.026040993630886078,
0.02761159837245941,
-0.006733235437422991,
0.0029061012901365757,
-0.004355516284704208,
-0.004745743237435818,
0.05537831783294678,
-0.009229719638824463,
-0.06313438713550568,
-0.03794655576348305,
-0.008071157149970531,
-0.0012688440037891269,
-0.04502396658062935,
0.06224243715405464,
0.052857596427202225,
0.02633184753358364,
0.028212692588567734,
-0.07232532650232315,
0.015366706997156143,
0.09943277388811111,
-0.07426434010267258,
0.0012409706832841039,
-0.04393811896443367,
0.01881815679371357,
-0.015696341171860695,
-0.018430354073643684,
0.033971574157476425,
0.056735627353191376,
0.022318081930279732,
0.01549274381250143,
-0.006679912563413382,
0.02518782764673233,
-0.004968730267137289,
0.0072228373028337955,
-0.02080564945936203,
-0.019070228561758995,
-0.08655770868062973,
0.008439570665359497,
0.020592357963323593,
-0.011391723528504372,
0.00537107652053237,
-0.02026272378861904,
-0.03550339490175247,
0.022802837193012238,
0.05510685592889786,
0.01763535663485527,
0.03079158626496792,
-0.011537149548530579,
0.006757473107427359,
-0.010257398709654808,
0.020456627011299133,
-0.057200994342565536,
-0.02313246950507164,
-0.03185804560780525,
-0.01597749814391136,
0.032730601727962494,
-0.04649762064218521,
0.0401376448571682,
-0.041223496198654175,
-0.007809389848262072,
0.006544181611388922,
-0.03024866059422493,
-0.009302432648837566,
0.02582770213484764,
-0.006553876679390669,
-0.11145468056201935,
-0.007925731129944324,
0.03517376258969307,
0.05169418454170227,
0.017451150342822075,
-0.010645201429724693,
-0.01813950203359127,
-0.0017923786072060466,
-0.011595319956541061,
0.0027461324352771044,
-0.022473203018307686,
0.007484604604542255,
-0.040486667305231094,
0.028212692588567734,
0.011411113664507866,
0.01350525114685297,
0.00008740723569644615,
-0.015066159889101982,
0.010635506361722946,
-0.05119004100561142,
-0.02879439853131771,
-0.04894078150391579,
-0.014959514141082764,
0.06286292523145676,
0.042813487350940704,
-0.0029545766301453114,
-0.030306831002235413,
0.02286100760102272,
-0.0034853825345635414,
0.0461873784661293,
0.06992094218730927,
-0.0007162243127822876,
-0.030306831002235413,
0.02130979299545288,
-0.04727322608232498,
-0.03664741665124893,
-0.04735078662633896,
0.0367637574672699,
-0.01868242584168911,
0.04312373325228691,
-0.01790681853890419,
0.022473203018307686,
0.000008506867743562907,
0.011071785353124142,
0.030539512634277344,
0.009428468532860279,
-0.04494640603661537,
-0.007746371906250715,
0.028232082724571228,
-0.011857086792588234,
-0.02381112612783909,
-0.023345761001110077,
0.07581555098295212,
0.017780782654881477,
-0.004939645063132048,
0.013253179378807545,
0.012244890443980694,
-0.02710745297372341,
0.027262574061751366,
0.0034005504567176104,
0.027941230684518814,
-0.038392532616853714,
0.030365001410245895,
0.012303060851991177,
-0.004370058886706829,
0.07899554073810577,
-0.004403991624712944,
0.019099313765764236,
0.016646457836031914,
0.053090278059244156,
-0.026545139029622078,
0.0317029245197773,
-0.03449510782957077,
0.009384840726852417,
0.03249792009592056,
-0.01747054047882557,
-0.027223793789744377,
-0.01245818194001913,
-0.022647716104984283,
0.01655920222401619,
-0.05797659978270531,
0.013747628778219223,
-0.027534037828445435,
-0.03463083878159523,
0.05735611543059349,
-0.05278003588318825,
0.04839785769581795,
0.03585241734981537,
-0.0903581753373146,
-0.05557221919298172,
-0.005497112404555082,
0.007717286702245474,
-0.0021353422198444605,
0.009874442592263222,
0.011575929820537567,
-0.007397348526865244,
0.08485136926174164,
0.06375487148761749,
-0.013718543574213982,
-0.03278877213597298,
-0.03986618295311928,
0.02879439853131771,
0.08585965633392334,
0.028309643268585205,
-0.06623680889606476,
-0.03655046597123146,
0.059333913028240204,
0.0313539020717144,
-0.05797659978270531,
0.029492443427443504,
-0.03874155506491661,
0.04133983701467514,
-0.00326239550486207,
0.07748311012983322,
-0.05405978485941887,
0.01598719321191311,
-0.012467877008020878,
-0.004803914111107588,
-0.02957000397145748,
-0.006704150233417749,
0.010305874049663544,
-0.0007519749342463911,
-0.035406444221735,
-0.02856171689927578,
-0.003621113719418645,
0.034785959869623184,
-0.002666147891432047,
0.0271462332457304,
0.09671815484762192,
0.003817439079284668,
-0.07240288704633713,
-0.07872407883405685,
0.020863819867372513,
0.0027461324352771044,
0.012526048347353935,
0.02363661304116249,
0.01496920920908451,
-0.03143146261572838,
0.01143050380051136,
-0.02737891674041748,
0.057743918150663376,
-0.007028935477137566,
0.015706036239862442,
-0.011217211373150349,
0.04835907742381096,
0.04548933357000351,
-0.009918070398271084,
-0.02778610959649086,
-0.01941925287246704,
-0.056735627353191376,
0.05685196816921234,
-0.01156623475253582,
0.07740554958581924,
0.034204255789518356,
0.052857596427202225,
0.009675693698227406,
-0.01709243282675743,
-0.03352559730410576,
-0.0057443371042609215,
0.028387203812599182,
-0.011653490364551544,
-0.02865866757929325,
0.001821463811211288,
-0.06375487148761749,
-0.001116752391681075,
0.007038630545139313,
-0.04603225737810135,
0.04343397542834282,
-0.0036138424184173346,
0.003361770184710622,
0.017596576362848282,
0.0007331906817853451,
0.03459205850958824,
0.030442561954259872,
-0.03511559218168259,
0.013999700546264648,
-0.021290402859449387,
-0.013078668154776096,
0.009394535794854164,
-0.012671474367380142,
0.0475446879863739,
-0.015134025365114212,
0.006864119321107864,
0.0004856630985159427,
-0.01611322909593582,
-0.007484604604542255,
-0.0006762320990674198,
-0.009234567172825336,
0.00039507466135546565,
0.02299673855304718,
0.03453388810157776,
-0.01510494016110897,
-0.04064179211854935,
-0.03143146261572838,
0.04324007406830788,
-0.028367813676595688,
0.00021707898122258484,
-0.018401268869638443,
0.023345761001110077,
0.04649762064218521,
0.0005674653802998364,
0.026060383766889572,
0.06549998372793198,
0.0005338355549611151,
0.017577186226844788,
0.009355755522847176,
-0.025168437510728836,
-0.022570153698325157,
-0.03278877213597298,
0.010790628381073475,
0.030306831002235413,
-0.01448445487767458,
0.024741852656006813,
0.030966097488999367,
-0.05274125561118126,
-0.027456477284431458,
0.10695616155862808,
-0.03445632755756378,
0.040447887033224106,
-0.04064179211854935,
-0.05115126073360443,
-0.03808228671550751,
-0.06565510481595993,
0.018866632133722305,
-0.07286825031042099,
-0.0020141536369919777,
-0.018352793529629707,
0.01638469099998474,
-0.0010846374789252877,
-0.018362488597631454,
0.0012688440037891269,
-0.007862713187932968,
0.04777737334370613,
0.009355755522847176,
-0.015832072123885155,
0.03129572793841362,
0.001050704624503851,
-0.025013316422700882,
-0.039904963225126266,
-0.005225650034844875,
0.026118556037545204,
0.03020988032221794,
0.02063113823533058,
0.030326221138238907,
-0.02158125676214695,
-0.026583919301629066,
0.04859175905585289,
-0.008105089887976646,
0.009995630942285061,
0.016704628244042397,
-0.03560034558176994,
-0.034882910549640656,
-0.0033666177187114954,
0.05456393212080002,
-0.05692953243851662,
-0.053361739963293076,
0.04393811896443367,
0.0124775730073452,
-0.052081987261772156,
0.017102127894759178,
-0.03581363707780838,
-0.014048175886273384,
-0.03024866059422493,
0.004631826188415289,
0.017722612246870995,
-0.025944042950868607,
0.0007156183710321784,
-0.022938568145036697,
-0.0028624734841287136,
0.01706334762275219,
-0.03794655576348305,
0.012012208811938763,
0.04273592680692673,
-0.0495612658560276,
0.02404380775988102,
-0.026661479845643044,
0.06266902387142181,
0.04386055842041969,
0.059295132756233215,
0.051810525357723236,
-0.03344803676009178,
-0.01884724199771881,
-0.0006465408951044083,
-0.08679039031267166,
-0.03216828778386116,
-0.024373440071940422,
0.009840509854257107,
-0.05014297366142273,
-0.03377767279744148,
0.06022585928440094,
-0.053361739963293076,
0.07639725506305695,
0.003870762186124921,
0.02896890975534916,
0.01097483467310667,
-0.04750590771436691,
-0.041999101638793945,
-0.02414075843989849,
-0.014562015421688557,
0.025168437510728836,
-0.0034611448645591736,
0.029007690027356148,
0.033603157848119736,
-0.006704150233417749,
-0.024567341431975365,
0.06681851297616959,
0.053129058331251144,
-0.01642347127199173,
-0.03253670036792755,
-0.010305874049663544,
-0.010848798789083958,
-0.019584069028496742,
0.03408791497349739,
0.01462018582969904,
-0.05324539914727211,
-0.004098596516996622,
0.04002130404114723,
-0.06802070885896683,
-0.021406743675470352,
-0.0009664786630310118,
0.009758101776242256,
0.013553726486861706,
0.006481163203716278,
0.003904694924131036,
0.023054908961057663,
-0.07794847339391708,
-0.062397558242082596,
0.0014154822565615177,
-0.026661479845643044,
0.020340286195278168,
0.03088853694498539,
0.0288331788033247,
-0.03395218402147293,
-0.018294623121619225,
-0.013786409050226212,
-0.01229336578398943,
-0.04389933869242668,
0.031198779121041298,
-0.04448104277253151,
0.03335108608007431,
0.009995630942285061,
0.05448636785149574,
0.02394685707986355,
0.027999401092529297,
-0.04133983701467514,
-0.03598815202713013,
0.03393279388546944,
0.025614410638809204,
-0.03819862753152847,
0.03329291567206383,
-0.03625961393117905,
0.03263365104794502,
0.008357161656022072,
-0.0037810825742781162,
0.04448104277253151,
-0.033874623477458954,
0.042270563542842865,
0.033467426896095276,
-0.0156769510358572,
-0.01081001851707697,
-0.009433316066861153,
0.031780485063791275,
-0.025769531726837158,
0.038295578211545944,
-0.07973236590623856,
0.026991112157702446,
0.024509171023964882,
0.002607977483421564,
-0.050802238285541534,
-0.07154971361160278,
-0.0792670026421547,
0.03794655576348305,
0.06282414495944977,
-0.025129657238721848,
0.06522852182388306,
-0.018459439277648926,
0.019176876172423363,
0.0360851027071476,
0.01716029830276966,
0.021600646898150444,
0.0509185791015625,
0.029453663155436516,
0.029124030843377113,
-0.0384313128888607,
-0.03893545642495155,
-0.03389401361346245,
-0.001325802644714713,
0.014852868393063545,
-0.01864364556968212,
-0.022046620026230812,
-0.038159847259521484,
0.014765611849725246,
0.013514946214854717,
0.019952481612563133,
0.016365300863981247,
0.02549806982278824,
-0.05999317765235901,
-0.030907927080988884,
-0.027437087148427963,
-0.029453663155436516,
-0.03548400476574898,
0.02198844961822033,
0.025847092270851135,
0.035522785037755966,
0.013417995534837246,
0.0057104043662548065,
0.0563090443611145,
-0.0018481252482160926,
0.021290402859449387,
-0.023190639913082123,
-0.03212950751185417,
0.01615200936794281,
0.006001256871968508,
0.043007392436265945,
0.059295132756233215,
0.0011561387218534946,
-0.0445198230445385,
0.03587180748581886,
-0.022802837193012238,
0.00029039804940111935,
-0.010664591565728188,
0.03746180236339569,
-0.07038630545139313,
-0.0012330934405326843,
-0.04037032648921013,
0.029899638146162033,
0.0055504352785646915,
0.01428085844963789,
-0.04339519515633583,
0.0499102920293808,
-0.0004535481275524944,
0.04029276594519615,
0.021639427170157433,
-0.039303869009017944,
-0.04366665706038475,
-0.047156885266304016,
-0.06771046668291092,
-0.012719949707388878,
0.014067566022276878,
-0.02970573678612709,
0.021523086354136467,
-0.08081821352243423,
-0.012855680659413338,
0.0630568265914917,
0.023927466943860054,
-0.03897423669695854,
0.014397199265658855,
0.007363415788859129,
-0.02289978787302971,
0.05661928653717041,
0.025342948734760284,
0.024664292111992836,
0.0018396420637145638,
-0.01871151104569435,
-0.010926359333097935,
-0.006452077999711037,
-0.06449169665575027,
0.07713408768177032,
-0.09671815484762192,
-0.0795772448182106,
0.05588246136903763,
0.02865866757929325,
0.051034919917583466,
0.03389401361346245,
0.0691065564751625,
-0.04009886458516121,
-0.029628176242113113,
0.008861306123435497,
0.03352559730410576,
0.003562943311408162,
-0.003902271157130599,
0.08663526922464371,
0.02381112612783909,
-0.03276938199996948,
0.0431625135242939,
-0.0276503786444664,
-0.06553876399993896,
0.05022053420543671,
-0.0252847783267498,
-0.03494108095765114,
0.06654705107212067,
0.06309560686349869,
-0.022511983290314674,
0.0005292909918352962,
-0.07376019656658173,
-0.024664292111992836,
-0.0059479339979588985,
-0.010761543177068233,
0.011595319956541061,
-0.05246979370713234,
-0.019710104912519455,
-0.02468368224799633,
0.031063048169016838,
-0.041456177830696106,
0.005511655006557703,
0.0573173351585865,
-0.03375828266143799,
-0.008463808335363865,
0.03240096941590309,
0.08384308218955994,
0.034514497965574265,
0.00046203131205402315,
0.03883850574493408,
-0.06774924695491791,
0.0671287551522255,
0.010460995137691498,
-0.03102426789700985,
0.004837846849113703,
0.027495257556438446,
-0.04339519515633583,
0.0007659115944989026,
0.02070869877934456,
0.005666776560246944,
-0.056464165449142456,
-0.0340491347014904,
-0.008997038006782532,
0.05871342495083809,
0.04207666218280792,
-0.014242078177630901,
-0.025265388190746307,
0.01817828230559826,
-0.0020686883945018053,
-0.017829257994890213,
0.06546120345592499,
-0.014387504197657108,
0.03804350644350052,
-0.028096351772546768,
-0.025944042950868607,
0.01722816377878189,
-0.015182500705122948,
0.00252556917257607,
0.028600497171282768,
-0.028445376083254814,
0.0090212756767869,
0.04273592680692673,
-0.029356712475419044,
-0.035154372453689575,
0.08198162913322449,
0.025885872542858124,
0.017053652554750443,
-0.03544522449374199,
-0.053671982139348984,
0.014057870954275131,
0.01343738567084074,
-0.030326221138238907,
0.02249259315431118,
0.016636762768030167,
0.06200975552201271,
-0.013272569514811039,
-0.07073532789945602,
-0.027223793789744377,
-0.023791735991835594,
-0.02134857326745987,
-0.010325264185667038,
0.011391723528504372,
-0.02472246252000332,
0.04335641488432884,
0.08686795085668564,
0.014435979537665844,
-0.017082737758755684,
0.0013451928971335292,
0.0058558303862810135,
-0.029899638146162033,
-0.04828151687979698,
-0.019836140796542168,
0.02947305329144001,
0.03185804560780525,
-0.03418486565351486,
0.039982523769140244,
-0.10245764255523682,
-0.02768915891647339,
0.010305874049663544,
-0.02929854206740856,
0.025439899414777756,
0.0047820997424423695,
0.045605674386024475,
0.03746180236339569,
-0.004270684439688921,
0.02070869877934456,
0.05324539914727211,
0.011372333392500877,
-0.03938142955303192,
0.03385523334145546,
-0.018992668017745018,
0.06755534559488297,
0.0020638408605009317,
-0.001210673595778644,
0.006626589689403772,
0.02400502748787403,
-0.001088273129425943,
0.003962865564972162,
-0.019409557804465294,
0.0018081330927088857,
-0.008206888101994991
] |
719,617
|
ibm_platform_services.iam_access_groups_v2
|
add_member_to_multiple_access_groups
|
Add member to multiple access groups.
This API will add a member to multiple access groups in an account. The limit of
how many groups that can be in the request is 50. The response is a list of
results that show if adding the member to each group was successful or not.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str iam_id: The IAM identifier.
:param str type: (optional) The type of the member, must be either "user",
"service" or "profile".
:param List[str] groups: (optional) The ids of the access groups a given
member is to be added to.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `AddMembershipMultipleGroupsResponse` object
|
def add_member_to_multiple_access_groups(
self,
account_id: str,
iam_id: str,
*,
type: str = None,
groups: List[str] = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Add member to multiple access groups.
This API will add a member to multiple access groups in an account. The limit of
how many groups that can be in the request is 50. The response is a list of
results that show if adding the member to each group was successful or not.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str iam_id: The IAM identifier.
:param str type: (optional) The type of the member, must be either "user",
"service" or "profile".
:param List[str] groups: (optional) The ids of the access groups a given
member is to be added to.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `AddMembershipMultipleGroupsResponse` object
"""
if not account_id:
raise ValueError('account_id must be provided')
if not iam_id:
raise ValueError('iam_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='add_member_to_multiple_access_groups',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
}
data = {
'type': type,
'groups': groups,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['iam_id']
path_param_values = self.encode_path_vars(iam_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/_allgroups/members/{iam_id}'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, iam_id: str, *, type: Optional[str] = None, groups: Optional[List[str]] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.051867514848709106,
0.04118550568819046,
-0.029423726722598076,
-0.01529031153768301,
-0.031737521290779114,
-0.039257343858480453,
-0.02080485038459301,
-0.016514694318175316,
-0.018404290080070496,
0.0349382646381855,
0.04326791688799858,
0.012128128670156002,
0.04646866396069527,
0.0066666146740317345,
-0.00813201628625393,
-0.002665681764483452,
0.0019064685329794884,
-0.018413931131362915,
0.020110713317990303,
-0.026512205600738525,
-0.027707664296030998,
0.015598817728459835,
0.012812625616788864,
0.006753381807357073,
0.026165135204792023,
0.0370592437684536,
0.0704164132475853,
0.003210386959835887,
0.04531176760792732,
0.05637940764427185,
-0.002909112023189664,
-0.027322031557559967,
-0.039006683975458145,
0.013487481512129307,
0.008657439611852169,
-0.05853894725441933,
-0.024217694997787476,
0.01791260950267315,
-0.08252526074647903,
0.06119981035590172,
0.05020929500460625,
-0.033569272607564926,
0.01133758295327425,
0.0014605814358219504,
0.013670656830072403,
-0.015945885330438614,
-0.004695070441812277,
0.0324702188372612,
-0.06366785615682602,
-0.0520603284239769,
-0.039835792034864426,
-0.030291398987174034,
0.0283246748149395,
0.006073704920709133,
0.018269319087266922,
0.04365355148911476,
0.015222826041281223,
-0.055878087878227234,
0.03896811977028847,
0.004849323537200689,
0.018606746569275856,
-0.02645435929298401,
0.039025966078042984,
-0.0432293564081192,
-0.07473549246788025,
0.017353443428874016,
-0.06868106871843338,
-0.016967810690402985,
-0.04079987481236458,
0.04099268838763237,
-0.03198818117380142,
0.017767997458577156,
-0.02454548142850399,
-0.016900325194001198,
-0.0001491311559220776,
0.11090778559446335,
0.042342402040958405,
0.06833400577306747,
0.03991292044520378,
0.07330865412950516,
0.0031236198265105486,
0.009848078712821007,
-0.009616700001060963,
0.05402705445885658,
0.03680858016014099,
0.04407774657011032,
-0.0444633774459362,
-0.0502864234149456,
-0.01874171942472458,
-0.07519825547933578,
-0.027958326041698456,
-0.03198818117380142,
-0.004998755641281605,
0.0072064995765686035,
0.003012750530615449,
-0.012542682699859142,
-0.030040739104151726,
-0.02722562476992607,
-0.08345077931880951,
0.029423726722598076,
-0.04180251806974411,
-0.10034146159887314,
0.04245809093117714,
-0.03518892824649811,
0.05221458151936531,
-0.06393779814243317,
0.000419374875491485,
0.010797698050737381,
-0.01052775513380766,
0.038389671593904495,
-0.009795054793357849,
-0.03139045089483261,
0.03177608177065849,
0.004099750891327858,
-0.011520758271217346,
0.051289066672325134,
0.03287513554096222,
-0.033145077526569366,
-0.015685584396123886,
0.020033586770296097,
0.033607836812734604,
0.0033381276298314333,
0.052291709929704666,
0.001847418607212603,
0.015463845804333687,
0.027919761836528778,
-0.05287015810608864,
0.000013369080988923088,
0.037772662937641144,
-0.055839523673057556,
-0.06339791417121887,
-0.02308007888495922,
-0.021903902292251587,
0.0324702188372612,
0.015772351995110512,
0.023388585075736046,
-0.00550489779561758,
0.007534286472946405,
0.01997574046254158,
-0.013612812384963036,
-0.0262036994099617,
-0.002381277969107032,
0.03426340967416763,
0.002747628604993224,
-0.0032851032447069883,
-0.009076815098524094,
0.037772662937641144,
-0.011385787278413773,
-0.04986222833395004,
-0.007317368406802416,
-0.038775306195020676,
-0.08460767567157745,
-0.01872243732213974,
0.02203887328505516,
-0.045273203402757645,
0.022617321461439133,
-0.0030946973711252213,
0.02369709126651287,
0.008705643936991692,
0.015367438085377216,
-0.057960499078035355,
0.0030754157342016697,
-0.036904990673065186,
0.061045557260513306,
0.047509871423244476,
0.006613589823246002,
0.026377234607934952,
0.024024877697229385,
-0.04592877998948097,
-0.01229202188551426,
-0.026049446314573288,
0.03916093707084656,
0.055685270577669144,
-0.01806686259806156,
-0.018876690417528152,
-0.03565168380737305,
0.0450032614171505,
-0.029867203906178474,
0.03119763545691967,
-0.04203389585018158,
-0.05009360611438751,
-0.013709220103919506,
0.06012003868818283,
-0.044617630541324615,
-0.02227025292813778,
0.022771574556827545,
0.013940599747002125,
0.06413061171770096,
-0.007515004836022854,
-0.029211629182100296,
0.03956585004925728,
-0.020245684310793877,
0.0022438967134803534,
-0.014721504412591457,
-0.03333789110183716,
0.002123386599123478,
-0.01973472163081169,
0.014432280324399471,
0.014721504412591457,
0.0395272858440876,
-0.05101912468671799,
-0.013487481512129307,
0.02541315369307995,
0.019715439528226852,
0.017006374895572662,
0.003979241009801626,
-0.01466365996748209,
0.01112548541277647,
-0.03520820662379265,
-0.04037567973136902,
-0.014586533419787884,
0.0164568480104208,
0.0524073988199234,
0.07731922715902328,
0.0015871169744059443,
0.024873267859220505,
0.01176177803426981,
-0.015049291774630547,
0.01246555708348751,
-0.00016178470104932785,
0.037984758615493774,
-0.04804975539445877,
-0.02437194623053074,
0.006893173325806856,
0.008994868025183678,
0.00007219303370220587,
0.01999502256512642,
0.02520105615258217,
-0.030021457001566887,
0.020477063953876495,
0.002325843321159482,
-0.0029428547713905573,
0.018963458016514778,
0.056687913835048676,
-0.09748778492212296,
-0.060235731303691864,
0.02084341272711754,
-0.03856320679187775,
0.01626403257250786,
0.02516249194741249,
-0.023639246821403503,
0.02872958965599537,
0.015540972352027893,
0.047972630709409714,
-0.014798630960285664,
-0.008493546396493912,
0.0019305705791339278,
0.03372352570295334,
0.03077343851327896,
-0.0071245525032281876,
-0.021884620189666748,
0.03667360916733742,
-0.054181307554244995,
0.0022306405007839203,
-0.041725389659404755,
-0.057960499078035355,
-0.052291709929704666,
-0.005360285751521587,
0.028825998306274414,
-0.044617630541324615,
0.04685429856181145,
-0.040221426635980606,
0.0019558777566999197,
-0.023870624601840973,
0.007216140162199736,
0.010113201104104519,
0.027939043939113617,
0.02354283817112446,
0.02683999203145504,
0.019628671929240227,
0.07176613062620163,
0.036962833255529404,
0.05263877660036087,
-0.04137832298874855,
-0.05973440781235695,
-0.001383455004543066,
0.021364016458392143,
-0.000025043489586096257,
-0.050247859209775925,
-0.04029855132102966,
0.04477188363671303,
-0.007823511026799679,
-0.06736992299556732,
-0.041725389659404755,
0.012841547839343548,
0.026049446314573288,
0.04407774657011032,
0.1145327240228653,
-0.054605502635240555,
0.019088787958025932,
-0.04469475895166397,
-0.02849821001291275,
-0.06185538321733475,
-0.03896811977028847,
-0.09062353521585464,
-0.01810542494058609,
-0.017363084480166435,
0.0010122841922566295,
0.0014907090226188302,
-0.0076258741319179535,
-0.08985227346420288,
0.048551078885793686,
0.0036394025664776564,
-0.030021457001566887,
-0.03408987447619438,
-0.015483127906918526,
0.044000618159770966,
-0.020534908398985863,
0.014798630960285664,
0.017623385414481163,
0.004338360857218504,
0.014046648517251015,
-0.05036354809999466,
-0.021556833758950233,
0.021730367094278336,
0.01685212180018425,
0.027707664296030998,
0.017314879223704338,
0.01854890212416649,
0.05437412112951279,
-0.027379877865314484,
-0.046931423246860504,
0.04550458490848541,
-0.002716295886784792,
0.09278307855129242,
0.017334161326289177,
0.06089130416512489,
0.04187964275479317,
0.03763769194483757,
-0.022540194913744926,
-0.02934660017490387,
-0.04241952672600746,
-0.0012322149705141783,
0.020496344193816185,
-0.04037567973136902,
-0.04677717015147209,
-0.03748343884944916,
-0.0594644658267498,
0.05013217031955719,
-0.0014931191690266132,
-0.06995365768671036,
0.001530477311462164,
-0.007963302545249462,
-0.010354220867156982,
-0.007153474725782871,
-0.03059990517795086,
0.0912405475974083,
0.03972010314464569,
-0.01579163409769535,
0.057304926216602325,
-0.0082284240052104,
0.010016793385148048,
0.04280516132712364,
0.032547347247600555,
-0.010228890925645828,
-0.03306794911623001,
0.005172290373593569,
-0.020226402208209038,
0.019011661410331726,
-0.02749556675553322,
-0.048551078885793686,
-0.011636448092758656,
0.008276628330349922,
0.009052712470293045,
0.017796920612454414,
-0.04889814555644989,
-0.020534908398985863,
-0.017016015946865082,
0.05915595963597298,
-0.006695536896586418,
0.05865463986992836,
-0.01498180627822876,
-0.001454556011594832,
0.08530181646347046,
0.005461513996124268,
0.04901383817195892,
0.009828797541558743,
0.02722562476992607,
-0.04326791688799858,
-0.015878399834036827,
0.006830507889389992,
-0.06895101815462112,
-0.023658527061343193,
0.005061421077698469,
0.055068258196115494,
0.016765354201197624,
0.1298808753490448,
0.008209142833948135,
-0.03368496149778366,
-0.008705643936991692,
0.02998289279639721,
-0.005408489610999823,
0.017989736050367355,
-0.025336027145385742,
-0.04457906633615494,
-0.028035450726747513,
-0.024410510435700417,
-0.04947659373283386,
-0.03596018999814987,
0.017517337575554848,
0.0011701523326337337,
0.02660861238837242,
0.01689068414270878,
0.025740940123796463,
-0.019628671929240227,
0.01331394724547863,
0.006406312808394432,
-0.018153630197048187,
-0.024275539442896843,
-0.016090497374534607,
0.00958295725286007,
0.005553101655095816,
0.013188617303967476,
-0.03489970415830612,
0.02437194623053074,
0.061238374561071396,
-0.019696157425642014,
0.01829824224114418,
-0.03972010314464569,
-0.0000474508196930401,
0.04643009975552559,
-0.021094074472784996,
-0.02975151501595974,
0.04249665513634682,
0.016514694318175316,
-0.0797487124800682,
0.023022234439849854,
-0.020342091098427773,
-0.008845435455441475,
-0.030021457001566887,
-0.007505364250391722,
0.02475757896900177,
-0.020534908398985863,
-0.018442854285240173,
-0.01792225055396557,
0.015849478542804718,
-0.055261075496673584,
0.006425594445317984,
0.045273203402757645,
0.034436944872140884,
-0.015415642410516739,
0.00802596751600504,
-0.05726636201143265,
-0.015540972352027893,
-0.004504664801061153,
-0.037926916033029556,
0.0370592437684536,
-0.024179130792617798,
0.04974653571844101,
-0.052715905010700226,
0.0704164132475853,
0.03991292044520378,
0.0839906632900238,
0.008141657337546349,
0.041532572358846664,
-0.046083033084869385,
-0.0019317757105454803,
-0.03642294928431511,
0.04099268838763237,
-0.01643756777048111,
0.022617321461439133,
-0.047355618327856064,
-0.0069799404591321945,
0.06868106871843338,
-0.007760845590382814,
0.010932669043540955,
0.04203389585018158,
0.0016389363445341587,
0.025760222226381302,
0.016987092792987823,
-0.022308815270662308,
0.03470688685774803,
-0.00005577354386332445,
0.014528688043355942,
0.026473641395568848,
0.016283314675092697,
0.008430881425738335,
-0.04326791688799858,
-0.025470998138189316,
-0.0010526550468057394,
0.03968153893947601,
0.03354999050498009,
0.08391354233026505,
0.0005489231552928686,
-0.025953037664294243,
-0.0652875080704689,
0.036924269050359726,
0.02018783986568451,
-0.01705457828938961,
-0.0456974022090435,
0.00472881319001317,
-0.06825687736272812,
0.011838904581964016,
0.029828641563653946,
-0.004654096905142069,
-0.00016690637858118862,
-0.039411596953868866,
-0.009597417898476124,
0.004497434012591839,
-0.003938267473131418,
0.04696998745203018,
0.04831969738006592,
0.02165324054658413,
-0.08375928550958633,
0.034186284989118576,
0.004379334393888712,
0.027804072946310043,
-0.061662569642066956,
-0.05020929500460625,
0.00924552883952856,
-0.04469475895166397,
0.01048919279128313,
-0.02244378626346588,
-0.0071245525032281876,
0.03856320679187775,
0.0606984868645668,
-0.0034755091182887554,
0.02227025292813778,
0.023350022733211517,
-0.04554314911365509,
0.05988866090774536,
0.006435235030949116,
-0.04508038982748985,
0.025702377781271935,
0.02248235046863556,
0.005914631765335798,
-0.0315832681953907,
0.004280515946447849,
-0.04014429822564125,
-0.001309943967498839,
0.01956118643283844,
0.024024877697229385,
-0.03542030602693558,
-0.061238374561071396,
-0.0031935155857354403,
-0.05410417914390564,
-0.008093453012406826,
0.0038153473287820816,
0.030291398987174034,
0.023677809163928032,
0.002247511874884367,
-0.041069816797971725,
-0.10820835828781128,
-0.06883532553911209,
-0.0845305472612381,
0.009539573453366756,
0.0036876066587865353,
-0.04226527363061905,
0.042959414422512054,
0.0038828328251838684,
0.036538638174533844,
-0.0009435934480279684,
-0.028633181005716324,
0.07886175811290741,
0.013892395421862602,
0.0407613106071949,
-0.03808116540312767,
-0.08460767567157745,
-0.01341999601572752,
-0.017363084480166435,
0.012455916032195091,
-0.012446274980902672,
-0.005567563232034445,
-0.005447052884846926,
-0.03285585343837738,
0.00968418549746275,
0.002822344657033682,
0.039411596953868866,
-0.01560845784842968,
-0.0024427380412817,
-0.03896811977028847,
-0.02516249194741249,
-0.05225314572453499,
-0.05622515454888344,
-0.032373812049627304,
-0.002723526442423463,
0.0009556444711051881,
-0.02038065530359745,
0.03457191586494446,
-0.051713261753320694,
0.006444876082241535,
0.0189248938113451,
0.023195769637823105,
-0.029443008825182915,
0.02146042510867119,
0.03677001968026161,
-0.026743583381175995,
-0.021749649196863174,
0.054644063115119934,
0.053564295172691345,
-0.03688570857048035,
0.029500853270292282,
0.03293297812342644,
0.02475757896900177,
-0.021981028839945793,
0.07300014793872833,
-0.03058062307536602,
0.014085211791098118,
-0.014952884055674076,
-0.024622607976198196,
0.04083843529224396,
0.00936121866106987,
0.006006219424307346,
0.02498895861208439,
0.006073704920709133,
0.030117865651845932,
-0.03991292044520378,
-0.04936090484261513,
0.01145327277481556,
0.02105551026761532,
-0.02101694792509079,
-0.0345911979675293,
0.029288755729794502,
0.011154407635331154,
-0.012880111113190651,
-0.01725703477859497,
-0.025548124685883522,
0.05321722477674484,
0.07585383206605911,
-0.010151764377951622,
-0.02724490500986576,
0.02288726344704628,
-0.01792225055396557,
0.061238374561071396,
0.007997045293450356,
-0.002108925487846136,
-0.025856630876660347,
-0.015492768958210945,
0.0051481882110238075,
0.011588243767619133,
-0.0569964200258255,
0.047317054122686386,
-0.01620618812739849,
-0.04851251468062401,
0.07600808143615723,
0.007649976294487715,
0.04388492926955223,
-0.010151764377951622,
0.04519607871770859,
-0.03241237625479698,
-0.03744487464427948,
-0.030464934185147285,
0.015232467092573643,
0.03991292044520378,
-0.02306079864501953,
0.04974653571844101,
-0.016341159120202065,
-0.03098553791642189,
0.01663038320839405,
-0.0024873269721865654,
-0.01686176285147667,
0.06787124276161194,
-0.05653366073966026,
-0.04091556370258331,
-0.00335499900393188,
0.022193126380443573,
-0.0637064203619957,
0.04619872197508812,
-0.06012003868818283,
-0.020496344193816185,
0.04427056014537811,
0.012590887024998665,
0.025548124685883522,
-0.04118550568819046,
0.0074571603909134865,
-0.003203156404197216,
0.03553599491715431,
0.01185818575322628,
0.05437412112951279,
0.04538889601826668,
-0.02894168719649315,
0.0016232699854299426,
0.019676877185702324,
0.09910744428634644,
0.0032851032447069883,
0.02581806667149067,
0.008363395929336548,
-0.024044159799814224,
-0.033569272607564926,
0.0748126208782196,
-0.010392784141004086,
0.0012641501380130649,
0.0009219016646966338,
0.004294977057725191,
0.018818845972418785,
0.01622547022998333,
0.043807804584503174,
-0.0006254470208659768,
-0.012542682699859142,
-0.023446429520845413,
0.03349214419722557,
-0.020110713317990303,
-0.043614987283945084,
-0.008286269381642342,
0.02327289618551731,
0.018838126212358475,
0.008387497626245022,
-0.013661015778779984,
-0.03771481662988663,
0.046892859041690826,
-0.03738702833652496,
-0.038177575916051865,
0.008295909501612186,
0.0003362229617778212,
0.01288975216448307,
0.05992722511291504,
-0.02624226175248623,
0.01993717812001705,
0.06428486853837967,
-0.044424813240766525,
-0.013448918238282204,
0.03615300729870796,
0.013178976252675056,
0.017758356407284737,
0.01810542494058609,
-0.026685738936066628,
0.023041516542434692,
0.02952013537287712,
-0.003844269784167409,
0.02955869771540165,
0.041494011878967285,
0.004174467176198959,
0.04388492926955223,
-0.035246770828962326,
-0.048165444284677505,
-0.08306514471769333,
-0.043345045298337936,
0.001867905375547707,
0.0202071201056242,
-0.034822575747966766,
0.03813901171088219,
0.038158293813467026,
-0.020322810858488083,
-0.019204476848244667,
0.017758356407284737,
-0.06451624631881714,
-0.020727723836898804,
-0.005341004114598036,
-0.049399469047784805,
0.013564608059823513,
0.030908411368727684,
-0.005606126040220261,
0.03457191586494446,
-0.05433556064963341,
-0.09787341952323914,
-0.018838126212358475,
0.048165444284677505,
-0.012455916032195091,
0.0011104998411610723,
-0.06667578220367432,
0.02599160186946392,
0.00346104777418077,
-0.0069269160740077496,
0.04639153927564621,
0.048126883804798126,
-0.019898615777492523,
0.02163395844399929,
0.00031061458867043257,
0.003451406955718994,
-0.0619325116276741,
0.004181697964668274,
0.04839682579040527,
0.06945233792066574,
-0.0382932648062706,
-0.0068353284150362015,
0.02518177404999733,
-0.01663038320839405,
0.0073125483468174934
] |
719,618
|
ibm_platform_services.iam_access_groups_v2
|
add_members_to_access_group
|
Add members to an access group.
Use this API to add users (`IBMid-...`), service IDs (`iam-ServiceId-...`) or
trusted profiles (`iam-Profile-...`) to an access group. Any member added gains
access to resources defined in the group's policies. To revoke a given members's
access, simply remove them from the group. There is no limit to the number of
members one group can have, but each `iam_id` can only be added to 50 groups.
Additionally, this API request payload can add up to 50 members per call.
:param str access_group_id: The access group identifier.
:param List[AddGroupMembersRequestMembersItem] members: (optional) An array
of member objects to add to an access group.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `AddGroupMembersResponse` object
|
def add_members_to_access_group(
self,
access_group_id: str,
*,
members: List['AddGroupMembersRequestMembersItem'] = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Add members to an access group.
Use this API to add users (`IBMid-...`), service IDs (`iam-ServiceId-...`) or
trusted profiles (`iam-Profile-...`) to an access group. Any member added gains
access to resources defined in the group's policies. To revoke a given members's
access, simply remove them from the group. There is no limit to the number of
members one group can have, but each `iam_id` can only be added to 50 groups.
Additionally, this API request payload can add up to 50 members per call.
:param str access_group_id: The access group identifier.
:param List[AddGroupMembersRequestMembersItem] members: (optional) An array
of member objects to add to an access group.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `AddGroupMembersResponse` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if members is not None:
members = [convert_model(x) for x in members]
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='add_members_to_access_group',
)
headers.update(sdk_headers)
data = {
'members': members,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/members'.format(**path_param_dict)
request = self.prepare_request(
method='PUT',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, *, members: Optional[List[ibm_platform_services.iam_access_groups_v2.AddGroupMembersRequestMembersItem]] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.059177618473768234,
0.018804466351866722,
-0.006501751486212015,
-0.0027763841208070517,
-0.022697731852531433,
-0.04138540104031563,
-0.02232787013053894,
0.08316012471914291,
-0.007659997791051865,
0.00205369689501822,
0.014278546907007694,
0.026999788358807564,
0.07689197361469269,
0.027856307104229927,
-0.027720041573047638,
0.023417985066771507,
-0.003681568196043372,
-0.03597376123070717,
0.003073245519772172,
-0.025559280067682266,
-0.031146114692091942,
0.0017288527451455593,
0.021802280098199844,
0.004479687195271254,
-0.0012379364343360066,
0.04002275690436363,
0.05271479859948158,
0.00009649516141507775,
0.04294270649552345,
0.049055129289627075,
-0.004061161540448666,
-0.03840705379843712,
-0.06046239659190178,
0.02822616696357727,
-0.004338556434959173,
-0.04671917110681534,
0.008886375464498997,
-0.031321313232183456,
-0.05762031301856041,
0.0364798866212368,
0.03221676126122475,
0.0013164100237190723,
0.03391033411026001,
0.0033482073340564966,
0.007771928794682026,
0.023748911917209625,
-0.020361771807074547,
0.07436134666204453,
-0.041774727404117584,
-0.037122275680303574,
-0.019456587731838226,
-0.0026425530668348074,
0.007041941862553358,
0.003280075266957283,
0.015446525998413563,
0.027681108564138412,
0.015855319797992706,
-0.045667991042137146,
0.03447485715150833,
0.02890748716890812,
0.01907699555158615,
0.0022775596007704735,
0.031048782169818878,
-0.04987271502614021,
-0.05388277769088745,
0.0253840833902359,
-0.06708094477653503,
-0.022580932825803757,
-0.027447514235973358,
0.021315623074769974,
0.0008467849693261087,
0.038854777812957764,
-0.027505911886692047,
-0.013256564736366272,
-0.014093616977334023,
0.0918031707406044,
-0.012487645260989666,
0.04812074825167656,
0.01740289106965065,
0.04294270649552345,
0.018405407667160034,
-0.009543363936245441,
0.044071752578020096,
0.05080709978938103,
0.06696414947509766,
0.031321313232183456,
-0.0650564506649971,
-0.05115749314427376,
0.0013675091322511435,
-0.06182503700256348,
0.004126860294491053,
-0.003484471468254924,
0.008151521906256676,
0.009888891130685806,
0.00020135476370342076,
-0.05205294489860535,
-0.013860020786523819,
0.00104448979254812,
-0.0650564506649971,
0.04948338866233826,
-0.04761462286114693,
-0.06704201549291611,
-0.005061243660748005,
0.006915410980582237,
0.03354047238826752,
-0.06836572289466858,
0.044694673269987106,
-0.013178699649870396,
-0.020011378452181816,
0.008175855502486229,
0.013704290613532066,
-0.06898864358663559,
0.03136024251580238,
-0.017140096053481102,
-0.03167170658707619,
0.06856038421392441,
0.04512293264269829,
-0.056608062237501144,
-0.018493006005883217,
-0.003065945580601692,
0.03235302492976189,
-0.02476116083562374,
0.062447961419820786,
0.022366803139448166,
0.02801203727722168,
-0.012828306294977665,
-0.05006738007068634,
0.028245633468031883,
0.08814350515604019,
-0.05906081944704056,
-0.010852474719285965,
-0.046835970133543015,
-0.033598870038986206,
0.023398518562316895,
0.002990513574331999,
-0.00014500888937618583,
0.028265099972486496,
-0.013821088708937168,
0.02530621737241745,
-0.0040562949143350124,
0.019748583436012268,
-0.02238626964390278,
0.03585696592926979,
0.031652238219976425,
-0.018113411962985992,
-0.03673294931650162,
0.019845914095640182,
-0.03223622962832451,
-0.04769248887896538,
-0.003885964397341013,
-0.0553232878446579,
-0.07607438415288925,
-0.025150487199425697,
-0.012526578269898891,
-0.012088585644960403,
-0.008647913113236427,
0.0055235689505934715,
0.019495520740747452,
0.022016409784555435,
0.03503938019275665,
-0.020906830206513405,
-0.024430233985185623,
-0.03517564386129379,
0.046991702169179916,
0.03389086574316025,
0.013110567815601826,
0.06194183602929115,
0.0024989889934659004,
-0.06645802408456802,
0.013967085629701614,
-0.016945432871580124,
0.027428047731518745,
0.026707792654633522,
-0.0054359701462090015,
-0.0015670389402657747,
-0.04294270649552345,
0.04056781530380249,
0.0316133052110672,
0.02890748716890812,
-0.035058844834566116,
-0.029569342732429504,
-0.006370353978127241,
0.052948396652936935,
-0.058554694056510925,
-0.01431747991591692,
0.022425202652812004,
-0.001719119492918253,
0.06941690295934677,
0.006234089378267527,
-0.02400197461247444,
0.04154112935066223,
-0.039905957877635956,
0.0067645469680428505,
-0.011913388967514038,
-0.03628522530198097,
-0.008779310621321201,
-0.05158575251698494,
0.02600700594484806,
0.017276359722018242,
-0.01012248732149601,
-0.03063999116420746,
-0.04671917110681534,
0.03246982395648956,
0.010492347180843353,
0.027194451540708542,
0.01414228230714798,
-0.039360903203487396,
-0.0033360407687723637,
-0.05201401188969612,
-0.032547689974308014,
-0.01739315874874592,
0.0032460091169923544,
0.03628522530198097,
0.055440083146095276,
-0.023456918075680733,
0.052870530635118484,
0.010930339805781841,
-0.011679792776703835,
-0.004980945028364658,
0.01171872578561306,
0.045862652361392975,
-0.012370847165584564,
-0.002910215174779296,
-0.01698436588048935,
0.003516104305163026,
-0.014794404618442059,
0.017305560410022736,
0.024235570803284645,
-0.03474738448858261,
-0.009076172485947609,
0.03136024251580238,
-0.03704440966248512,
-0.0016363876638934016,
0.03517564386129379,
-0.06665268540382385,
-0.07003982365131378,
0.044071752578020096,
-0.020400704815983772,
0.044344279915094376,
0.012254049070179462,
0.008122323080897331,
0.03640202060341835,
0.039283037185668945,
0.06622442603111267,
-0.015865052118897438,
-0.011806324124336243,
-0.031457576900720596,
0.022503068670630455,
0.02960827574133873,
0.016273844987154007,
-0.035740166902542114,
0.02100416086614132,
-0.04963912069797516,
-0.021043093875050545,
-0.01497933454811573,
-0.05174148455262184,
-0.04442214593291283,
0.007776795420795679,
0.014054683968424797,
-0.050223108381032944,
0.03433858975768089,
-0.02238626964390278,
-0.02335958555340767,
-0.004051428288221359,
0.02966667339205742,
0.038932643830776215,
0.04504506662487984,
0.008132056333124638,
0.010901140049099922,
-0.008443516679108143,
0.08783204108476639,
0.008151521906256676,
0.023145455867052078,
-0.024800093844532967,
-0.0744781494140625,
-0.013548559509217739,
0.0293357465416193,
-0.015514658764004707,
-0.046835970133543015,
-0.009246503002941608,
0.040957141667604446,
-0.02232787013053894,
-0.06116318330168724,
0.020828964188694954,
0.007110074162483215,
0.06785959750413895,
0.020420171320438385,
0.07284297794103622,
-0.06583510339260101,
0.008774444460868835,
-0.013733490370213985,
-0.009543363936245441,
-0.06065705791115761,
-0.03235302492976189,
-0.10176993161439896,
-0.007353403139859438,
-0.022074809297919273,
0.021451886743307114,
-0.00012394571967888623,
0.02696085534989834,
-0.06342127919197083,
0.02779790759086609,
0.006565017160028219,
-0.0058106970973312855,
-0.03690814599394798,
-0.020828964188694954,
0.03978916257619858,
-0.01376268919557333,
0.0021948276553303003,
0.01002515573054552,
-0.021451886743307114,
-0.016604771837592125,
-0.011416997760534286,
-0.05983947217464447,
0.054194238036870956,
-0.002540355082601309,
0.008998307399451733,
0.0025184552650898695,
0.048782601952552795,
0.04161899536848068,
-0.010375549085438251,
-0.058554694056510925,
0.021685482934117317,
0.00003680351437651552,
0.10535173118114471,
0.001796984812244773,
0.05434997007250786,
0.05617980286478996,
0.054388903081417084,
-0.034280192106962204,
-0.018901798874139786,
-0.07120780646800995,
0.02135455422103405,
0.04570692405104637,
-0.025267286226153374,
-0.015173997730016708,
-0.056685928255319595,
-0.044071752578020096,
0.021646549925208092,
0.02260039933025837,
-0.0617082379758358,
0.04520079866051674,
-0.03642148897051811,
0.009922957047820091,
0.029141083359718323,
-0.0019320324063301086,
0.10862207412719727,
0.0009191753924824297,
-0.022989725694060326,
0.030386928468942642,
-0.025968072935938835,
0.0246248971670866,
0.034552719444036484,
-0.00767946382984519,
0.03577909991145134,
-0.01630304381251335,
0.018084213137626648,
-0.0043823556043207645,
0.006049159448593855,
0.002490472514182329,
-0.02476116083562374,
-0.00745560135692358,
0.012984036467969418,
-0.0011479046661406755,
-0.024508098140358925,
-0.03379353508353233,
-0.06595189869403839,
-0.00019253409118391573,
0.010979005135595798,
-0.003924896940588951,
0.04555119201540947,
-0.016517173498868942,
0.019174326211214066,
0.06318768113851547,
0.00615622429177165,
0.03523404151201248,
0.020692700520157814,
0.034708451479673386,
-0.026999788358807564,
-0.01522266399115324,
-0.0048884800635278225,
-0.04048994928598404,
-0.026571528986096382,
0.03998382389545441,
0.04340989887714386,
0.036363087594509125,
0.09561856836080551,
-0.008175855502486229,
-0.02842083014547825,
-0.015329727903008461,
0.029160549864172935,
-0.001568255596794188,
-0.00745560135692358,
0.005572234746068716,
-0.06591296195983887,
-0.049132995307445526,
0.013957352377474308,
-0.011913388967514038,
-0.0118549894541502,
0.008380251936614513,
0.018084213137626648,
0.024235570803284645,
-0.06894971430301666,
0.018493006005883217,
0.004594051744788885,
0.0080736568197608,
0.0221916064620018,
-0.04473360627889633,
-0.008686846122145653,
-0.0010596979409456253,
0.011621394194662571,
-0.01677023619413376,
-0.027136052027344704,
0.0003103965718764812,
0.013665357604622841,
0.057308852672576904,
-0.05283159762620926,
0.0018261843360960484,
-0.03315114602446556,
-0.031146114692091942,
0.044344279915094376,
-0.0013127600541338325,
-0.042319782078266144,
0.04181366041302681,
-0.010141953825950623,
-0.08331585675477982,
0.02267826534807682,
-0.029705606400966644,
0.008161255158483982,
-0.04679703712463379,
0.010375549085438251,
0.009124837815761566,
-0.03071785531938076,
0.026474198326468468,
-0.013266297988593578,
-0.0054603032767772675,
-0.03904944285750389,
-0.015135064721107483,
0.02176334708929062,
0.027564311400055885,
-0.014190948568284512,
-0.007270670961588621,
-0.03478631749749184,
-0.023943575099110603,
-0.020400704815983772,
-0.01817181147634983,
0.02696085534989834,
-0.03246982395648956,
0.07856607437133789,
-0.0253840833902359,
0.08261507004499435,
0.009470365941524506,
0.061396777629852295,
0.018249675631523132,
-0.013392829336225986,
-0.05976160615682602,
0.029277347028255463,
-0.015417327173054218,
0.012954836711287498,
-0.017918748781085014,
0.020420171320438385,
-0.032547689974308014,
-0.056763794273138046,
0.044694673269987106,
-0.010180885903537273,
0.09343834221363068,
0.039224639534950256,
0.005465169902890921,
-0.015446525998413563,
0.026045938953757286,
0.004433454945683479,
0.0003421814471948892,
-0.02828456461429596,
-0.004221758339554071,
0.0300949327647686,
0.04216405376791954,
-0.04196938872337341,
-0.007085741031914949,
-0.038445986807346344,
0.007207405753433704,
0.023320652544498444,
0.002944281091913581,
0.0521308109164238,
0.00440425518900156,
-0.022152673453092575,
-0.05555688217282295,
0.041774727404117584,
0.028401363641023636,
-0.020400704815983772,
-0.07350482791662216,
0.05843789875507355,
-0.031048782169818878,
-0.020478570833802223,
0.02024497464299202,
-0.007708663586527109,
-0.0020573469810187817,
-0.015991583466529846,
0.008380251936614513,
0.010161420330405235,
-0.04632984474301338,
0.02357371523976326,
0.0699230283498764,
0.002065863460302353,
-0.04356562718749046,
0.028381897136569023,
0.022074809297919273,
0.008209921419620514,
-0.03552603721618652,
-0.03897157683968544,
-0.0032314094714820385,
-0.031146114692091942,
0.021198824048042297,
-0.04340989887714386,
-0.00017534897779114544,
0.021899612620472908,
0.08619686961174011,
-0.022016409784555435,
0.062292229384183884,
-0.005090442951768637,
-0.06194183602929115,
0.0457458570599556,
0.0443832129240036,
-0.02842083014547825,
0.012682308442890644,
-0.00866737961769104,
0.006521217990666628,
-0.046991702169179916,
0.0015658222837373614,
-0.005981027148663998,
0.003990596160292625,
-0.0013042435748502612,
0.04056781530380249,
-0.045862652361392975,
-0.05575154349207878,
-0.0022009110543876886,
-0.04504506662487984,
0.025131020694971085,
-0.01074540987610817,
-0.04687490314245224,
0.01244871225208044,
0.0028420828748494387,
-0.03848491609096527,
-0.0636938065290451,
-0.07696983218193054,
-0.07229791581630707,
-0.005888562183827162,
0.038874246180057526,
-0.046835970133543015,
0.06381060183048248,
-0.007849793881177902,
0.027758974581956863,
0.025286752730607986,
-0.021958010271191597,
0.08471743017435074,
0.025500880554318428,
0.03153544291853905,
-0.03642148897051811,
-0.05976160615682602,
-0.02016710862517357,
-0.018677935004234314,
0.004910379648208618,
0.017179029062390327,
0.025014223530888557,
-0.026941388845443726,
-0.04582371935248375,
0.04333203285932541,
-0.02045910432934761,
0.007270670961588621,
0.01338309608399868,
-0.015300529077649117,
-0.06602976471185684,
-0.03326794505119324,
-0.07198645919561386,
-0.024371834471821785,
-0.05427210405468941,
-0.028732290491461754,
0.004679217003285885,
0.048510074615478516,
0.0696115642786026,
-0.06279835104942322,
0.015115599147975445,
0.004518619738519192,
0.051352158188819885,
-0.011893922463059425,
-0.009407100267708302,
0.03975022956728935,
-0.05123535916209221,
-0.0019162159878760576,
0.0600341372191906,
0.04442214593291283,
-0.025987539440393448,
-0.049678053706884384,
0.016828635707497597,
-0.013597225770354271,
-0.03264502063393593,
0.057581380009651184,
-0.06828785687685013,
0.01760728843510151,
0.020225508138537407,
-0.0185806043446064,
0.036499351263046265,
0.02398250810801983,
0.022833995521068573,
0.0054262373596429825,
-0.029705606400966644,
0.06544577330350876,
-0.030270129442214966,
-0.006871611345559359,
0.00783519446849823,
0.012867238372564316,
-0.06026773154735565,
-0.02684405818581581,
-0.0020184142049402,
0.0037521335761994123,
-0.021471353247761726,
-0.0553232878446579,
-0.015203197486698627,
0.03361833840608597,
0.06532897800207138,
-0.028245633468031883,
-0.001587721868418157,
0.015524391084909439,
-0.020887363702058792,
0.050300974398851395,
0.005742564797401428,
0.010940073058009148,
0.01150459609925747,
0.023632114753127098,
0.014298013411462307,
0.001155812875367701,
-0.06365486979484558,
0.00890584196895361,
-0.04033421725034714,
-0.04321523383259773,
0.07669730484485626,
-0.0018930997466668487,
0.05976160615682602,
-0.0025914539583027363,
0.055167555809020996,
-0.004530786536633968,
-0.003684001276269555,
-0.03862118348479271,
0.011533795855939388,
0.023203855380415916,
-0.029102150350809097,
0.08160281926393509,
-0.007076007779687643,
-0.020011378452181816,
0.037608932703733444,
-0.022074809297919273,
-0.021958010271191597,
0.040528882294893265,
-0.024430233985185623,
-0.0708184763789177,
0.012633643113076687,
0.030756788328289986,
-0.07175286114215851,
0.05216974392533302,
-0.07319337129592896,
-0.0075675323605537415,
0.014064417220652103,
-0.03611002489924431,
0.027720041573047638,
-0.05427210405468941,
0.035681769251823425,
0.034844715148210526,
0.029647208750247955,
0.009679628536105156,
0.028342964127659798,
0.07813781499862671,
-0.031593840569257736,
0.008871776051819324,
0.017801951617002487,
0.09382767230272293,
0.0031535441521555185,
0.0014526742743328214,
0.045940518379211426,
-0.04516186565160751,
0.00027709093410521746,
0.07876073569059372,
0.017071964219212532,
0.022444669157266617,
0.03392979875206947,
0.019086727872490883,
0.013139767572283745,
0.019592853263020515,
0.0026644528843462467,
-0.01852220483124256,
0.0019539319910109043,
-0.002832349855452776,
0.06571830064058304,
-0.02684405818581581,
-0.028946420177817345,
-0.02051750384271145,
0.010842741467058659,
0.0332874096930027,
-0.0044480543583631516,
0.014307746663689613,
-0.04492827132344246,
0.022133206948637962,
-0.030133865773677826,
0.016799435019493103,
-0.01005435548722744,
0.015524391084909439,
-0.0027520512230694294,
0.05123535916209221,
-0.02571501024067402,
0.0410350076854229,
0.04535653069615364,
-0.06381060183048248,
-0.014473210088908672,
0.048159681260585785,
-0.017179029062390327,
0.01150459609925747,
0.0080736568197608,
-0.03980862721800804,
0.0349615141749382,
0.01817181147634983,
-0.0029272481333464384,
0.026123803108930588,
0.04866580292582512,
0.01830807514488697,
0.015164264477789402,
-0.01699409820139408,
-0.0346500538289547,
-0.09343834221363068,
-0.02863495983183384,
-0.009523897431790829,
-0.014336945489048958,
-0.022366803139448166,
0.03599322959780693,
0.08463956415653229,
0.01601104997098446,
-0.017733819782733917,
0.00571823213249445,
-0.05614086985588074,
-0.056763794273138046,
-0.03912730515003204,
-0.01476520486176014,
0.01459974143654108,
-0.005397037602961063,
-0.03529244288802147,
0.040256354957818985,
-0.08580754697322845,
-0.10114701092243195,
0.011991254054009914,
0.01989458128809929,
-0.021899612620472908,
0.0011247884249314666,
0.012361113913357258,
0.0009222169755958021,
0.004910379648208618,
-0.018045280128717422,
0.032839685678482056,
0.02149081975221634,
-0.027350181713700294,
-0.015543857589364052,
0.004362889565527439,
0.01836647465825081,
-0.08136922121047974,
-0.008054190315306187,
0.01285750512033701,
0.0378425307571888,
-0.05403850972652435,
0.00030172799597494304,
0.06941690295934677,
-0.007348536513745785,
0.04527866467833519
] |
719,619
|
ibm_platform_services.iam_access_groups_v2
|
commit_template
|
Commit a template.
Commit a template version. You must do this before you can assign a template
version to child accounts. After you commit the template version, you can't make
any further changes.
:param str template_id: ID of the template to commit.
:param str version_num: version number in path.
:param str if_match: ETag value of the template version document.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def commit_template(
self,
template_id: str,
version_num: str,
if_match: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Commit a template.
Commit a template version. You must do this before you can assign a template
version to child accounts. After you commit the template version, you can't make
any further changes.
:param str template_id: ID of the template to commit.
:param str version_num: version number in path.
:param str if_match: ETag value of the template version document.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version_num:
raise ValueError('version_num must be provided')
if not if_match:
raise ValueError('if_match must be provided')
headers = {
'If-Match': if_match,
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='commit_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id', 'version_num']
path_param_values = self.encode_path_vars(template_id, version_num)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}/versions/{version_num}/commit'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version_num: str, if_match: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.060639288276433945,
-0.06291097402572632,
-0.05789128318428993,
-0.005954008549451828,
-0.021306190639734268,
-0.051369354128837585,
-0.05250519514083862,
0.04363830387592316,
-0.05496007949113846,
-0.04217270016670227,
0.04235590249300003,
-0.05327463522553444,
-0.02354123443365097,
-0.07382970303297043,
-0.05459367856383324,
-0.01587430201470852,
0.07555178552865982,
-0.04231926053762436,
0.046642787754535675,
-0.015709422528743744,
0.06492616981267929,
0.006402849219739437,
-0.014408701099455357,
0.02991660311818123,
0.04100021719932556,
-0.027608279138803482,
0.020756589248776436,
-0.012906458228826523,
0.042282622307538986,
-0.011642376892268658,
-0.058770645409822464,
0.009256193414330482,
0.03777589276432991,
0.04931751266121864,
-0.007923411205410957,
-0.007927991449832916,
-0.007263890467584133,
0.015755223110318184,
-0.062471289187669754,
0.028615880757570267,
0.0184024665504694,
0.057781364768743515,
-0.0047677867114543915,
-0.026985399425029755,
0.014280460774898529,
0.01798110641539097,
-0.01825590617954731,
-0.007126490119844675,
-0.009700453840196133,
0.042282622307538986,
0.03587061166763306,
-0.024823635816574097,
-0.027791479602456093,
-0.04415126517415047,
-0.020060429349541664,
0.021892432123422623,
0.049977030605077744,
-0.008156991563737392,
0.016735343262553215,
-0.058624085038900375,
-0.012485098093748093,
0.023706113919615746,
-0.054373838007450104,
0.012356857769191265,
-0.03431341052055359,
0.023009954020380974,
-0.00007149104203563184,
0.010332494974136353,
-0.013776659965515137,
0.004034985788166523,
-0.023138193413615227,
0.02658235840499401,
0.01881466619670391,
-0.05309143662452698,
0.03314092755317688,
0.04059717804193497,
-0.010891255922615528,
0.01071721501648426,
-0.010534015484154224,
-0.008921853266656399,
-0.005903628654778004,
-0.09489773958921432,
0.01025005429983139,
-0.028963962569832802,
0.004527336452156305,
-0.01121185626834631,
0.022588592022657394,
-0.05063655227422714,
-0.028341080993413925,
0.00581660820171237,
-0.008821092545986176,
-0.029385322704911232,
-0.03557749092578888,
0.01633230410516262,
0.05902712419629097,
-0.012182817794382572,
0.03880181536078453,
-0.033910367637872696,
-0.017074264585971832,
0.03293940797448158,
-0.00917833298444748,
-0.018292546272277832,
-0.023193152621388435,
-0.018411627039313316,
0.024035874754190445,
-0.011660696938633919,
-0.039534617215394974,
0.0599064864218235,
0.0005590470391325653,
-0.017303265631198883,
0.004225056152790785,
-0.028396040201187134,
-0.04103685915470123,
-0.031107405200600624,
0.03341572731733322,
0.01133093610405922,
-0.03979109600186348,
-0.004827327094972134,
-0.028615880757570267,
-0.025391556322574615,
0.061958327889442444,
-0.0696527436375618,
0.03552253171801567,
-0.006810470018535852,
-0.001957952743396163,
0.031675323843955994,
-0.011953817680478096,
0.0024113734252750874,
-0.01256753783673048,
-0.014344580471515656,
-0.019694028422236443,
-0.010121814906597137,
-0.002351833274587989,
0.0014266720972955227,
-0.013868260197341442,
0.008624152280390263,
-0.04078038036823273,
-0.022148912772536278,
-0.027956360951066017,
0.038545336574316025,
0.04451766237616539,
-0.03717133402824402,
-0.03698813170194626,
0.040743738412857056,
-0.019767308607697487,
-0.02443891577422619,
0.005408987868577242,
0.0011381315998733044,
0.006778409704566002,
0.01017677504569292,
0.026509078219532967,
0.005477687809616327,
0.011761456727981567,
0.012860658578574657,
-0.026893798261880875,
-0.0027342638932168484,
0.05704856291413307,
-0.03997429832816124,
0.006508189253509045,
-0.006641009356826544,
0.04572678729891777,
0.025391556322574615,
0.050856392830610275,
0.049683909863233566,
0.06027288734912872,
-0.012631658464670181,
-0.02359619364142418,
0.03585229068994522,
-0.018741387873888016,
-0.038875095546245575,
0.008784452453255653,
0.05078311264514923,
-0.03865525498986244,
-0.009773734025657177,
-0.005019687116146088,
0.02625259757041931,
0.04653286561369896,
-0.0042296359315514565,
-0.014564421027898788,
-0.038398776203393936,
-0.008344772271811962,
-0.031675323843955994,
-0.000016495179806952365,
0.06250792741775513,
-0.012979738414287567,
0.014857541769742966,
0.026270918548107147,
0.06979930400848389,
0.003286154707893729,
-0.044114623218774796,
0.010479055345058441,
-0.07826315611600876,
0.03982773795723915,
0.006210488732904196,
-0.009416493587195873,
-0.02986164391040802,
-0.004673896823078394,
-0.032701246440410614,
0.07393962889909744,
0.007602810859680176,
-0.01458274107426405,
-0.07738379389047623,
0.0013728570193052292,
-0.031253963708877563,
0.039021655917167664,
0.008839412592351437,
0.03464316949248314,
-0.04656950756907463,
-0.03262796625494957,
-0.033672209829092026,
0.00814325176179409,
-0.005257847718894482,
-0.044114623218774796,
0.04953734949231148,
-0.0042708562687039375,
-0.018924586474895477,
0.03524773195385933,
-0.047119107097387314,
-0.0056517282500863075,
-0.009228712879121304,
0.01057981513440609,
0.02817620150744915,
0.04100021719932556,
0.011495816521346569,
-0.011450016871094704,
-0.009929453954100609,
0.03673165291547775,
0.06294760853052139,
-0.027406759560108185,
-0.021232910454273224,
0.03596221283078194,
0.009453133679926395,
0.07009241729974747,
0.002974714385345578,
-0.08800940960645676,
-0.12252433598041534,
0.0029609743505716324,
-0.015535382553935051,
0.006819630041718483,
0.035504210740327835,
0.02738843858242035,
0.04583670571446419,
0.0658421739935875,
0.04169638082385063,
-0.057085201144218445,
-0.03121732547879219,
-0.05822104215621948,
-0.03440500795841217,
0.029641803354024887,
-0.026802198961377144,
-0.03242644667625427,
-0.05565623939037323,
-0.03979109600186348,
-0.017706304788589478,
0.03739117458462715,
-0.0019121527438983321,
0.04404134303331375,
-0.01118437573313713,
0.04862134903669357,
0.02148939110338688,
-0.022716833278536797,
0.02986164391040802,
-0.0776769146323204,
-0.02748003974556923,
-0.035925570875406265,
-0.05162583291530609,
-0.021306190639734268,
0.021544350311160088,
-0.015031581744551659,
0.0738663449883461,
0.06313081085681915,
0.024274034425616264,
0.0042708562687039375,
-0.02233211137354374,
-0.03946133702993393,
-0.024255715310573578,
0.027040358632802963,
0.007859291508793831,
0.003471645060926676,
-0.047119107097387314,
0.02106803096830845,
-0.012640818022191525,
0.034606531262397766,
0.029825003817677498,
0.03964453563094139,
0.018832987174391747,
-0.061811767518520355,
0.037702612578868866,
0.02302827313542366,
-0.0021640530321747065,
-0.03913157805800438,
0.07049546390771866,
0.002464043442159891,
-0.0037189654540270567,
-0.07313354313373566,
-0.027076998725533485,
-0.02203899249434471,
-0.0033800448291003704,
0.048841189593076706,
-0.031766925007104874,
-0.001076874090358615,
-0.0014530071057379246,
-0.025721317157149315,
-0.0394979752600193,
-0.055729519575834274,
0.001583537319675088,
0.04785190895199776,
-0.0013098819181323051,
0.018832987174391747,
0.017568904906511307,
0.01848490722477436,
0.040890298783779144,
-0.009146273136138916,
-0.05331127718091011,
-0.032188285142183304,
0.04132997989654541,
0.031107405200600624,
-0.040377337485551834,
0.020536748692393303,
-0.00936153344810009,
-0.05550967901945114,
0.03151044622063637,
0.020701630041003227,
0.011303456500172615,
0.05114951357245445,
-0.04964727163314819,
-0.008582931943237782,
-0.015333862043917179,
0.017568904906511307,
0.06763754040002823,
-0.003389204852283001,
0.041733019053936005,
0.03402028977870941,
0.029568523168563843,
0.008047071285545826,
-0.04876790940761566,
0.01401482056826353,
-0.04807174950838089,
-0.019217707216739655,
0.0370614118874073,
0.008262331597507,
-0.014353740960359573,
0.06430329382419586,
-0.020701630041003227,
-0.060492727905511856,
0.011999617330729961,
-0.009755413979291916,
0.02321147359907627,
0.00017217962886206806,
-0.007914251647889614,
-0.08764300495386124,
0.0025373236276209354,
0.0385819748044014,
0.010286694392561913,
-0.01806354522705078,
-0.07877611368894577,
0.029641803354024887,
0.007181450258940458,
0.012961418367922306,
-0.01755058579146862,
-0.035980530083179474,
0.0385819748044014,
-0.02359619364142418,
-0.009187493473291397,
-0.00919665303081274,
-0.024933556094765663,
-0.009434813633561134,
0.019364267587661743,
-0.062471289187669754,
0.004192995838820934,
-0.002940364181995392,
-0.01750478520989418,
0.020481789484620094,
0.016396423801779747,
0.024878595024347305,
-0.015984222292900085,
-0.04001093655824661,
-0.006714289542287588,
-0.08009515702724457,
-0.07928907126188278,
0.027186919003725052,
-0.04114677757024765,
-0.0022648132871836424,
-0.043784864246845245,
-0.0381789356470108,
-0.020280269905924797,
0.016112463548779488,
-0.014518620446324348,
0.0267289187759161,
0.03880181536078453,
0.04451766237616539,
-0.04118341952562332,
-0.0246221162378788,
-0.045470304787158966,
-0.03707973286509514,
0.007868451066315174,
0.00015185584197752178,
-0.0060593485832214355,
0.028963962569832802,
-0.01228357758373022,
0.03046620450913906,
0.05125943198800087,
0.02597779780626297,
0.0015446072211489081,
0.023852674290537834,
-0.010094334371387959,
0.05580279976129532,
-0.03435004875063896,
-0.008321871981024742,
-0.08441868424415588,
-0.023486273363232613,
0.019767308607697487,
-0.04301542043685913,
-0.02456715516746044,
-0.0370614118874073,
0.060309525579214096,
-0.011944657191634178,
0.07078858464956284,
-0.05536311864852905,
0.004868546966463327,
0.020243629813194275,
0.09856174141168594,
0.07317018508911133,
0.0031808146741241217,
-0.03636525198817253,
0.007557010743767023,
0.02634419873356819,
-0.042245980352163315,
-0.0009486338822171092,
-0.03145548701286316,
-0.0072409906424582005,
-0.025519797578454018,
-0.020536748692393303,
0.05481351912021637,
0.02293667383491993,
0.031052444130182266,
0.021709231659770012,
0.04605654627084732,
0.006489869207143784,
0.08756972849369049,
0.05975992605090141,
0.007268470246344805,
-0.015663621947169304,
-0.013437739573419094,
-0.03216996788978577,
0.03825221583247185,
-0.03326916694641113,
-0.11504976451396942,
-0.007969211786985397,
0.024237394332885742,
0.04473750293254852,
0.049500711262226105,
-0.014317100867629051,
0.006489869207143784,
-0.031766925007104874,
-0.054410479962825775,
-0.030557803809642792,
-0.005770808085799217,
-0.03149212524294853,
-0.0541173592209816,
-0.008560032583773136,
0.037885814905166626,
0.07591819018125534,
0.01722082495689392,
-0.021141311153769493,
-0.10413102805614471,
0.040413979440927505,
-0.004085365682840347,
-0.00462122680619359,
0.004231926053762436,
-0.02308323234319687,
-0.014023980125784874,
-0.06338728964328766,
0.14106419682502747,
0.02236875146627426,
0.03629197180271149,
0.026618998497724533,
-0.048841189593076706,
-0.04939079284667969,
-0.04217270016670227,
-0.0011570241767913103,
0.04774199053645134,
0.012210297398269176,
0.010396614670753479,
0.020243629813194275,
-0.0472656674683094,
0.06327737122774124,
-0.0434551015496254,
-0.009874493815004826,
-0.02991660311818123,
0.0073142703622579575,
-0.011605736799538136,
0.008418052457273006,
0.047155749052762985,
-0.03248140588402748,
-0.025959476828575134,
-0.024420594796538353,
-0.011138576082885265,
-0.005042587406933308,
-0.08075467497110367,
0.02748003974556923,
0.003913615830242634,
0.05499671772122383,
-0.0037853755056858063,
0.03467981144785881,
0.013694219291210175,
0.058440882712602615,
-0.020371869206428528,
0.030869243666529655,
0.012814857997000217,
-0.05851416289806366,
-0.015031581744551659,
-0.014051460660994053,
0.026564037427306175,
0.008825672790408134,
0.04887783154845238,
-0.007639450952410698,
-0.018658947199583054,
0.0007694411324337125,
0.0057524885050952435,
0.018503226339817047,
0.02017034962773323,
0.010286694392561913,
-0.017962785437703133,
0.02317483350634575,
-0.001741547486744821,
-0.030502844601869583,
-0.03720797225832939,
0.015544542111456394,
0.032646287232637405,
-0.0861041247844696,
0.020884830504655838,
-0.013730859383940697,
-0.024127474054694176,
-0.02658235840499401,
-0.040413979440927505,
-0.056242480874061584,
0.000804363633506,
-0.08104779571294785,
-0.03471644967794418,
-0.031253963708877563,
0.03832549601793289,
-0.04132997989654541,
-0.0479251891374588,
0.016323143616318703,
-0.016790304332971573,
0.01624070294201374,
-0.021709231659770012,
-0.04319862276315689,
-0.02158099040389061,
0.01839330606162548,
-0.007286790292710066,
0.027040358632802963,
0.04268566146492958,
-0.0260693971067667,
0.11395056545734406,
-0.013675899244844913,
0.006792149972170591,
0.03160204365849495,
0.007415030617266893,
-0.0009555038996040821,
0.009627173654735088,
0.016964344307780266,
-0.007776851300150156,
0.0135293398052454,
0.0260693971067667,
0.06316745281219482,
-0.045470304787158966,
0.03894837573170662,
0.0414765402674675,
0.010708055458962917,
0.015984222292900085,
0.012824018485844135,
-0.047668710350990295,
0.0023300782777369022,
-0.02465875633060932,
0.005326547659933567,
0.026747237890958786,
0.05957672744989395,
-0.0006681084632873535,
0.015489581972360611,
-0.0008576062391512096,
0.08720332384109497,
-0.051186155527830124,
-0.003565535182133317,
0.06474297493696213,
0.010259214788675308,
0.03777589276432991,
0.05393415689468384,
0.04448102414608002,
-0.035082850605249405,
0.01214617770165205,
0.03154708445072174,
0.005899048410356045,
0.011156896129250526,
0.054703596979379654,
-0.014710981398820877,
-0.0030800544191151857,
-0.016726184636354446,
-0.06679481267929077,
0.02176419086754322,
0.012649978511035442,
-0.010524854995310307,
0.06525593250989914,
-0.00230603339150548,
-0.009865334257483482,
-0.03979109600186348,
0.009292833507061005,
-0.0073738107457757,
0.015443782322108746,
0.0589904859662056,
-0.02663731761276722,
-0.012375177815556526,
-0.029293721541762352,
-0.004257116001099348,
0.043748222291469574,
-0.04052389785647392,
0.08317291736602783,
-0.032976046204566956,
-0.03570573031902313,
0.0011032090988010168,
0.024127474054694176,
-0.04206278175115585,
0.017422344535589218,
-0.025941157713532448,
0.07980203628540039,
0.025153396651148796,
-0.01647886447608471,
-0.010094334371387959,
0.035449251532554626,
-0.027626600116491318,
0.04433446377515793,
-0.016185743734240532,
0.05430055782198906,
0.06972602009773254,
0.009279093705117702,
0.0056334082037210464,
-0.004220475908368826,
0.04825494810938835,
0.024786995723843575,
0.0430520623922348,
-0.025098435580730438,
0.030228042975068092,
0.033910367637872696,
-0.012182817794382572,
0.0499037504196167,
0.009173753671348095,
-0.02438395470380783,
0.013978180475533009,
-0.029238762333989143,
-0.03673165291547775,
0.04942743107676506,
-0.008289812132716179,
-0.03042956441640854,
-0.03314092755317688,
-0.024512195959687233,
0.016625424847006798,
0.0056288279592990875,
-0.01277821883559227,
0.05342119559645653,
-0.02603275701403618,
-0.011138576082885265,
0.04059717804193497,
-0.02898228168487549,
-0.035357650369405746,
-0.009425653144717216,
0.016689544543623924,
-0.0913802906870842,
-0.06433993577957153,
0.010570655576884747,
0.04854806885123253,
-0.030118122696876526,
-0.009471453726291656,
0.04231926053762436,
0.018411627039313316,
-0.012521738186478615,
0.0034029448870569468,
0.03130892664194107,
-0.030960844829678535,
0.031290605664253235,
0.11314447969198227,
-0.0026815938763320446,
0.01601170375943184,
0.003647975157946348,
0.01866810768842697,
-0.0450306236743927,
-0.002564803697168827,
0.0472656674683094,
-0.003615915309637785,
-0.026142677292227745,
0.005766228307038546,
-0.01123017631471157,
-0.04363830387592316,
-0.02522667683660984,
-0.015434621833264828,
0.028725801035761833,
-0.02742507867515087,
0.005821188446134329,
-0.044261183589696884,
-0.005486847832798958,
0.005912788677960634,
-0.022258831188082695,
-0.024127474054694176,
0.04536038637161255,
-0.05800120532512665,
0.026857158169150352,
0.0012045417679473758,
-0.03865525498986244,
0.03548588976264,
-0.03825221583247185,
0.013877419754862785,
-0.002032377989962697,
0.07218090444803238,
0.018384145572781563,
0.006247128825634718,
0.06353385001420975,
-0.06888329982757568,
0.06730777770280838,
0.041256699711084366,
-0.009508093819022179,
-0.04286886006593704,
0.015251422300934792,
-0.028341080993413925,
-0.04257574304938316,
0.026527397334575653,
-0.03248140588402748,
0.03380044922232628,
0.006146369036287069,
0.009443973191082478,
0.029550202190876007,
-0.011724816635251045,
0.013492699712514877,
-0.0527983158826828,
-0.09702286124229431,
0.04455430433154106,
-0.021599311381578445,
-0.02658235840499401,
-0.035357650369405746,
0.022716833278536797,
0.010488214902579784,
-0.008211951702833176,
-0.003242644714191556,
-0.04114677757024765,
-0.05547304078936577,
-0.024090833961963654,
0.0291654821485281,
0.014546100981533527,
0.014344580471515656,
-0.005601347889751196,
-0.04448102414608002,
0.016552144661545753,
0.02676555886864662,
0.011340096592903137,
-0.036676693707704544,
0.07533194869756699,
0.01642390340566635,
0.020445149391889572,
0.050673194229602814,
-0.009837853722274303,
0.03687821328639984,
0.04096357896924019,
-0.014307940378785133,
0.017211664468050003,
-0.012906458228826523,
-0.01086377538740635,
0.009837853722274303,
-0.0050059473142027855,
0.04689926654100418
] |
719,621
|
ibm_platform_services.iam_access_groups_v2
|
create_access_group
|
Create an access group.
Create a new access group to assign multiple users and service ids to multiple
policies. The group will be created in the account specified by the `account_id`
parameter. The group name is a required field, but a description is optional.
Because the group's name does not have to be unique, it is possible to create
multiple groups with the same name.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str name: Give the access group a unique name that doesn't conflict
with an existing access group in the account. This field is
case-insensitive and has a limit of 100 characters.
:param str description: (optional) Assign an optional description for the
access group. This field has a limit of 250 characters.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `Group` object
|
def create_access_group(
self,
account_id: str,
name: str,
*,
description: str = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Create an access group.
Create a new access group to assign multiple users and service ids to multiple
policies. The group will be created in the account specified by the `account_id`
parameter. The group name is a required field, but a description is optional.
Because the group's name does not have to be unique, it is possible to create
multiple groups with the same name.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str name: Give the access group a unique name that doesn't conflict
with an existing access group in the account. This field is
case-insensitive and has a limit of 100 characters.
:param str description: (optional) Assign an optional description for the
access group. This field has a limit of 250 characters.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `Group` object
"""
if not account_id:
raise ValueError('account_id must be provided')
if name is None:
raise ValueError('name must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='create_access_group',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
}
data = {
'name': name,
'description': description,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v2/groups'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
params=params,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, name: str, *, description: Optional[str] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.09400790184736252,
0.03664616867899895,
-0.03266832232475281,
-0.04577408358454704,
0.007009276654571295,
-0.056227948516607285,
-0.05111631378531456,
0.027825724333524704,
-0.00766264321282506,
-0.005601656157523394,
0.05130848288536072,
0.07121694087982178,
0.0524999164044857,
-0.003492627991363406,
-0.03353307023644447,
-0.04073932021856308,
0.02503930777311325,
-0.035531602799892426,
-0.03401348739862442,
-0.024539675563573837,
0.006860347464680672,
0.02803710661828518,
0.008637888357043266,
-0.04465951770544052,
0.043660249561071396,
0.03555082157254219,
0.04573564976453781,
0.031246289610862732,
-0.006745047401636839,
0.04996331408619881,
-0.020100627094507217,
-0.013422836549580097,
0.003944219555705786,
0.06007127836346626,
0.00042516860412433743,
-0.019504910334944725,
-0.03872156888246536,
-0.029036372900009155,
-0.05718877911567688,
0.029036372900009155,
0.03541630506515503,
0.01296163722872734,
-0.05000174790620804,
-0.038010552525520325,
-0.011885504238307476,
-0.014124245382845402,
-0.014796827919781208,
0.009175955317914486,
-0.054882779717445374,
-0.035762205719947815,
-0.024174557998776436,
-0.05887984484434128,
-0.030958039686083794,
-0.031611405313014984,
-0.014133852906525135,
0.027768073603510857,
0.013019287027418613,
-0.04804164916276932,
0.027441389858722687,
-0.01994689367711544,
-0.008854076266288757,
0.039740052074193954,
0.038952168077230453,
-0.03336011990904808,
-0.08670557290315628,
0.02471262402832508,
-0.08885783702135086,
-0.03384053707122803,
-0.010684463195502758,
0.01691066101193428,
-0.011837462894618511,
0.0007638622191734612,
-0.0014424505643546581,
-0.03336011990904808,
-0.034551553428173065,
0.0747528076171875,
-0.0051068272441625595,
0.022694874554872513,
0.05196184664964676,
0.018534468486905098,
-0.026826458051800728,
-0.0386447012424469,
0.030074073001742363,
0.017996402457356453,
0.034320954233407974,
0.031842004507780075,
-0.01049229595810175,
-0.019331960007548332,
-0.03655008599162102,
-0.0524999164044857,
0.00714859738945961,
0.00641356036067009,
-0.03195730596780777,
0.03606966882944107,
-0.021753259003162384,
-0.028152406215667725,
-0.011462737806141376,
-0.009310471825301647,
0.0019492899300530553,
0.06798854470252991,
-0.02186855860054493,
-0.04073932021856308,
-0.04696551710367203,
-0.01277907844632864,
0.011645295657217503,
-0.05711191147565842,
0.03341777250170708,
0.018688201904296875,
-0.0067210267297923565,
-0.005827452056109905,
-0.0034830195363610983,
-0.04781104996800423,
0.059072013944387436,
0.00018360918329562992,
-0.028325356543064117,
0.04350651800632477,
0.04435205087065697,
-0.041930750012397766,
-0.014710352756083012,
-0.012058453634381294,
-0.013057720847427845,
-0.01677614450454712,
0.04781104996800423,
0.023655708879232407,
0.020542608574032784,
0.05726564675569534,
-0.054075680673122406,
0.04312218353152275,
0.036377135664224625,
-0.04658118262887001,
0.032533805817365646,
-0.017775410786271095,
0.02023514360189438,
0.025481291115283966,
0.015776878222823143,
-0.02033122628927231,
0.01893801800906658,
0.03307187184691429,
-0.01018483005464077,
0.009877363219857216,
0.01962020993232727,
-0.04988645017147064,
0.005121239926666021,
0.03420565277338028,
0.008810838684439659,
-0.03364837169647217,
0.01366304513067007,
-0.06848817318677902,
-0.05238461494445801,
0.013855211436748505,
-0.024212991818785667,
-0.057342514395713806,
0.02761434018611908,
0.03172670677304268,
-0.01808287762105465,
0.006365518551319838,
-0.01296163722872734,
-0.0022795763798058033,
0.02728765644133091,
0.024232208728790283,
-0.032783620059490204,
0.024962441995739937,
0.008618672378361225,
-0.0030410364270210266,
0.0007842799532227218,
-0.031188638880848885,
0.038606271147727966,
0.024097692221403122,
-0.009281646460294724,
-0.03854861855506897,
-0.03664616867899895,
0.031649839133024216,
-0.0031275113578885794,
-0.039740052074193954,
-0.09592956304550171,
-0.008234338834881783,
0.05465218052268028,
0.008839663118124008,
0.01282712072134018,
-0.02676880732178688,
-0.007412826642394066,
-0.01635337807238102,
0.022041508927941322,
0.0043838005512952805,
-0.009147129952907562,
-0.005423902068287134,
0.014940952882170677,
0.06130114570260048,
0.007273505907505751,
0.0019300732528790832,
0.018861152231693268,
-0.03430173918604851,
-0.0004801162285730243,
-0.031188638880848885,
0.02428985759615898,
-0.02350197546184063,
-0.022733308374881744,
0.015219594351947308,
0.063991479575634,
0.048848748207092285,
-0.0009386137244291604,
0.004066725727170706,
0.04808008298277855,
0.06060934439301491,
0.06345341354608536,
-0.02738374099135399,
-0.032533805817365646,
-0.009944621473550797,
-0.08193983882665634,
-0.041507985442876816,
-0.020715558901429176,
0.00848415493965149,
0.005399881396442652,
0.030708221718668938,
0.020100627094507217,
0.04054715111851692,
0.0524999164044857,
0.03583906963467598,
0.03483980521559715,
-0.01644946075975895,
-0.011462737806141376,
-0.0005554815870709717,
0.03214947134256363,
-0.007941285148262978,
-0.005298994015902281,
-0.0320533886551857,
0.04335278645157814,
-0.004917062819004059,
-0.040816184133291245,
0.015123511664569378,
-0.011635687202215195,
-0.06341497600078583,
0.0013607797445729375,
0.00809501763433218,
-0.03822193667292595,
-0.06933370977640152,
0.0642220750451088,
-0.051270049065351486,
-0.010694071650505066,
0.018822718411684036,
0.005029960535466671,
0.059917546808719635,
0.032783620059490204,
0.07732784003019333,
-0.05042451620101929,
-0.015507844276726246,
-0.03718423843383789,
0.016391810029745102,
0.055958911776542664,
0.003848136169835925,
-0.041700150817632675,
-0.021753259003162384,
-0.05269208177924156,
-0.01893801800906658,
0.0021210387349128723,
-0.045197583734989166,
-0.022272108122706413,
-0.040393419563770294,
0.016689669340848923,
0.012702211737632751,
0.008397680707275867,
-0.030477622523903847,
-0.09254743158817291,
-0.010338563472032547,
0.06848817318677902,
0.010828588157892227,
0.028325356543064117,
-0.022310541942715645,
0.030439188703894615,
-0.0019372794777154922,
0.09239370375871658,
0.08416897058486938,
0.013605395331978798,
-0.0648370087146759,
-0.04896404966711998,
-0.010328955017030239,
0.05653541162610054,
-0.024693407118320465,
-0.06191607937216759,
-0.01616121083498001,
0.036377135664224625,
0.00781637616455555,
-0.07752000540494919,
0.0005470743053592741,
-0.0004981318488717079,
0.07375354319810867,
0.01366304513067007,
0.036223404109478,
-0.04077775403857231,
0.03578142076730728,
-0.026711156591773033,
0.05396037921309471,
-0.05934104695916176,
-0.005371056497097015,
-0.03312952071428299,
-0.00720624765381217,
-0.025096958503127098,
-0.005135652143508196,
-0.014912128448486328,
0.020850075408816338,
-0.02330980822443962,
0.03147688880562782,
0.0443904846906662,
-0.010549946688115597,
-0.07932636886835098,
-0.05495964735746384,
0.024405157193541527,
0.023290591314435005,
-0.006788284983485937,
0.039970651268959045,
-0.04919464886188507,
0.010655637830495834,
0.025212258100509644,
0.004890639800578356,
-0.0026663115713745356,
0.011251354590058327,
0.06003284454345703,
-0.008330422453582287,
0.04350651800632477,
0.04162328690290451,
-0.008080605417490005,
-0.02330980822443962,
-0.01691066101193428,
-0.0730617418885231,
0.10323189944028854,
-0.003603123826906085,
0.044736385345458984,
0.03818350285291672,
0.06210824474692345,
0.005308602470904589,
-0.01527724415063858,
-0.024040041491389275,
-0.003985054790973663,
0.023002341389656067,
-0.05476748198270798,
-0.02125362493097782,
-0.008003738708794117,
-0.06060934439301491,
-0.012433178722858429,
-0.023771008476614952,
-0.03783760219812393,
0.008762797340750694,
-0.02242584154009819,
-0.0019432847620919347,
-0.009555484168231487,
0.007970109581947327,
0.09731316566467285,
-0.003970642574131489,
-0.008738775737583637,
0.008445722050964832,
-0.0299395564943552,
0.01967785879969597,
0.06964117288589478,
0.027441389858722687,
0.04158485308289528,
-0.005246147979050875,
0.0009506241185590625,
0.02144579216837883,
-0.0013884037034586072,
-0.02532755769789219,
0.004859413020312786,
-0.027691205963492393,
-0.003211584175005555,
-0.00908948015421629,
0.01485447771847248,
-0.04685021564364433,
-0.06087837740778923,
0.002004537731409073,
-0.01824621856212616,
-0.017122043296694756,
0.025769541040062904,
-0.015949828550219536,
-0.011193704791367054,
0.06260787695646286,
-0.008791621774435043,
0.009709217585623264,
0.04396771639585495,
-0.016804968938231468,
-0.02190699242055416,
0.015546278096735477,
0.03372523933649063,
-0.038663920015096664,
0.02181090973317623,
0.012183362618088722,
0.01959138549864292,
-0.03287970647215843,
0.07133223861455917,
0.028286922723054886,
-0.026980189606547356,
-0.026134656742215157,
0.03376367315649986,
-0.029728172346949577,
-0.0026254761032760143,
0.013720694929361343,
-0.0030674594454467297,
-0.043429650366306305,
-0.02644212357699871,
-0.0026302803307771683,
-0.04219978675246239,
0.032360855489969254,
-0.017765801399946213,
0.017448727041482925,
0.01434523705393076,
-0.04173858463764191,
0.026480557397007942,
-0.02546207420527935,
0.06210824474692345,
-0.014498969539999962,
0.004172417335212231,
0.010521121323108673,
0.022272108122706413,
0.013249887153506279,
-0.04631214961409569,
-0.014518186450004578,
0.034167222678661346,
0.04654274880886078,
-0.023655708879232407,
0.09508403390645981,
-0.035531602799892426,
-0.010098354890942574,
0.04727298393845558,
0.016593586653470993,
-0.026884106919169426,
0.035531602799892426,
-0.004487090278416872,
-0.035531602799892426,
0.02232975885272026,
0.021388143301010132,
0.01880350150167942,
-0.06364557892084122,
0.015680793672800064,
0.03476293757557869,
-0.05030921474099159,
-0.01703556813299656,
-0.03630027174949646,
-0.011222529225051403,
-0.03320638835430145,
-0.0016778545686975121,
0.055574581027030945,
0.027306873351335526,
0.008234338834881783,
-0.0345899872481823,
-0.016132386401295662,
0.007110164035111666,
0.00246453657746315,
-0.01116487942636013,
0.054075680673122406,
-0.05157751590013504,
0.0666433796286583,
-0.03293735533952713,
0.08701303601264954,
0.060763079673051834,
0.0780196413397789,
0.01864016056060791,
-0.018582509830594063,
-0.0025053720455616713,
-0.008652301505208015,
-0.07686664164066315,
-0.0015589515678584576,
0.007138988934457302,
0.02895950712263584,
-0.019149402156472206,
-0.014220328070223331,
0.07409944385290146,
0.01271182019263506,
0.055343981832265854,
0.03312952071428299,
0.013826387003064156,
0.021983858197927475,
-0.011366654187440872,
-0.034263305366039276,
-0.012942420318722725,
-0.0402781181037426,
0.024174557998776436,
-0.026595856994390488,
0.004206046462059021,
0.005736173130571842,
-0.015306069515645504,
-0.005740977358072996,
0.06629747897386551,
0.049540549516677856,
-0.026518991217017174,
0.02167639322578907,
0.0057746064849197865,
0.02121519297361374,
-0.029843471944332123,
0.028575172647833824,
0.01785227656364441,
-0.06295377761125565,
-0.03555082157254219,
0.006812306120991707,
-0.0765591710805893,
-0.01736225187778473,
0.011136054061353207,
-0.00007007324893493205,
0.014066594652831554,
0.004957898054271936,
-0.01289437897503376,
-0.01990845985710621,
-0.0747528076171875,
-0.005241343751549721,
0.021099893376231194,
-0.05484434589743614,
-0.04996331408619881,
0.03270675614476204,
-0.002844065660610795,
-0.020773209631443024,
-0.03916355222463608,
-0.024040041491389275,
-0.007619405630975962,
-0.0607246458530426,
0.0021738845389336348,
-0.03935571759939194,
0.01632455177605152,
-0.011039971373975277,
0.050808846950531006,
-0.011712553910911083,
0.0014916931977495551,
-0.0018952430691570044,
-0.04004751890897751,
0.03747248649597168,
0.02542364038527012,
-0.040201254189014435,
0.038990601897239685,
-0.019380001351237297,
-0.03336011990904808,
0.02592327445745468,
-0.020215926691889763,
0.05323014780879021,
-0.009248017333447933,
0.037222668528556824,
0.0042829131707549095,
-0.018880369141697884,
0.006038835272192955,
-0.03593515232205391,
-0.04227665066719055,
-0.06260787695646286,
0.010588379576802254,
-0.10138709843158722,
0.03981691971421242,
0.036703821271657944,
-0.0443904846906662,
-0.08947277069091797,
-0.056881312280893326,
-0.07310017198324203,
0.03754935413599014,
0.04673491790890694,
-0.009665980003774166,
0.04423674941062927,
-0.01471996121108532,
0.08255477249622345,
0.002243545139208436,
0.029593655839562416,
0.014547011815011501,
0.04946368187665939,
0.05845708027482033,
-0.014220328070223331,
-0.07598267495632172,
0.008796426467597485,
-0.008104626089334488,
0.00593314366415143,
0.03218790516257286,
-0.00023780616174917668,
-0.01821739412844181,
-0.029305405914783478,
0.06283847987651825,
0.022252893075346947,
0.05096258223056793,
0.014268370345234871,
0.02582719177007675,
-0.017717760056257248,
-0.05887984484434128,
-0.04047028720378876,
0.009632350876927376,
-0.061416443437337875,
0.04554348438978195,
0.040201254189014435,
0.032072603702545166,
-0.004066725727170706,
-0.028152406215667725,
0.04177701845765114,
-0.00806138850748539,
0.012884770520031452,
-0.002707147039473057,
-0.030304672196507454,
0.044313617050647736,
-0.01177020464092493,
-0.009776475839316845,
0.05292268097400665,
0.01847681775689125,
-0.05761154741048813,
0.012692604213953018,
0.01870741881430149,
0.018947627395391464,
-0.026691939681768417,
0.06614374369382858,
-0.028190840035676956,
-0.026000140234827995,
-0.05069354921579361,
0.0019709086045622826,
-0.008195905014872551,
0.021561091765761375,
-0.02500087395310402,
0.05703504756093025,
0.002572630299255252,
0.05853394418954849,
-0.009810104966163635,
-0.05680444836616516,
-0.011001537553966045,
-0.03916355222463608,
-0.035954371094703674,
-0.027921807020902634,
-0.014037770219147205,
-0.021753259003162384,
-0.021292058750987053,
-0.04362181946635246,
-0.0006128312670625746,
0.03829880431294441,
0.05269208177924156,
-0.029363056644797325,
0.03535865247249603,
-0.007720293011516333,
-0.020292792469263077,
0.07213933765888214,
-0.025538941845297813,
0.022579574957489967,
0.017218127846717834,
-0.012855945155024529,
0.009983054362237453,
-0.0013787953648716211,
-0.03065057285130024,
0.031995739787817,
-0.09731316566467285,
-0.05607421323657036,
0.07225464284420013,
0.023655708879232407,
0.06787323951721191,
0.05119318142533302,
0.07037141174077988,
0.010434646159410477,
-0.05630481243133545,
0.004924268927425146,
0.008575434796512127,
-0.007263897452503443,
-0.029266972094774246,
0.032725971192121506,
0.001847201376222074,
-0.03430173918604851,
0.052538346499204636,
-0.027883373200893402,
-0.06214667856693268,
0.06218511238694191,
-0.03499353677034378,
-0.0830928385257721,
0.04619685187935829,
0.06683554500341415,
-0.05953321233391762,
0.03981691971421242,
-0.09500716626644135,
-0.010434646159410477,
0.05119318142533302,
0.009838929399847984,
0.016833793371915817,
-0.020946159958839417,
-0.04450578615069389,
-0.02765277400612831,
0.0312078557908535,
-0.015411761589348316,
0.022906258702278137,
0.05980224534869194,
-0.020753992721438408,
0.024654975160956383,
0.030727438628673553,
0.07048670947551727,
0.010655637830495834,
0.0034998340997844934,
0.03612732142210007,
-0.04231508448719978,
0.030016422271728516,
0.035070404410362244,
0.029190106317400932,
0.04458265006542206,
0.032725971192121506,
-0.05722721293568611,
0.039509452879428864,
0.013912862166762352,
0.0016502306098118424,
-0.05953321233391762,
-0.017765801399946213,
0.0035118446685373783,
0.03214947134256363,
-0.010588379576802254,
-0.040585584938526154,
-0.005274973344057798,
-0.026096224784851074,
0.0299395564943552,
0.0164206363260746,
-0.010405821725726128,
-0.02715313993394375,
0.030208589509129524,
-0.022368192672729492,
-0.018861152231693268,
0.005188498180359602,
0.02555815689265728,
0.007681859657168388,
0.08070997148752213,
-0.010761329904198647,
-0.03013172186911106,
0.04054715111851692,
-0.052768949419260025,
-0.02004297636449337,
0.04854128137230873,
-0.002601455431431532,
0.033706020563840866,
0.025154607370495796,
-0.01877467706799507,
-0.0014052182668820024,
0.006399147678166628,
0.012135320343077183,
0.029132455587387085,
-0.01632455177605152,
0.014527794905006886,
-0.031649839133024216,
-0.011136054061353207,
-0.06310751289129257,
-0.04727298393845558,
-0.062261976301670074,
0.010828588157892227,
0.019139792770147324,
-0.02359805814921856,
0.018822718411684036,
0.0283061396330595,
-0.01941843517124653,
-0.030938822776079178,
0.008609063923358917,
-0.022810176014900208,
0.0005599854630418122,
-0.029074806720018387,
0.018563292920589447,
0.015949828550219536,
0.04984801635146141,
0.004777742084115744,
0.021753259003162384,
-0.06437581032514572,
-0.07544460892677307,
-0.011145662516355515,
0.0077347056940197945,
0.01469113677740097,
-0.03178435564041138,
-0.006427972577512264,
0.03512805327773094,
-0.005572831258177757,
0.016295727342367172,
0.05353761464357376,
0.018332693725824356,
-0.032822053879499435,
0.02027357555925846,
0.025711890310049057,
0.03138080611824989,
-0.010453863069415092,
0.015824919566512108,
0.01256769523024559,
0.07140910625457764,
-0.03704972192645073,
-0.016507111489772797,
0.002334824064746499,
-0.004876227583736181,
-0.01457583624869585
] |
719,622
|
ibm_platform_services.iam_access_groups_v2
|
create_assignment
|
Create assignment.
Assign a template version to accounts that have enabled enterprise-managed IAM.
You can specify individual accounts, or an entire account group to assign the
template to all current and future child accounts of that account group.
:param str template_id: The unique identifier of the template to be
assigned.
:param str template_version: The version number of the template to be
assigned.
:param str target_type: The type of the entity to which the template should
be assigned, e.g. 'Account', 'AccountGroup', etc.
:param str target: The unique identifier of the entity to which the
template should be assigned.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateAssignmentResponse` object
|
def create_assignment(
self,
template_id: str,
template_version: str,
target_type: str,
target: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Create assignment.
Assign a template version to accounts that have enabled enterprise-managed IAM.
You can specify individual accounts, or an entire account group to assign the
template to all current and future child accounts of that account group.
:param str template_id: The unique identifier of the template to be
assigned.
:param str template_version: The version number of the template to be
assigned.
:param str target_type: The type of the entity to which the template should
be assigned, e.g. 'Account', 'AccountGroup', etc.
:param str target: The unique identifier of the entity to which the
template should be assigned.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateAssignmentResponse` object
"""
if template_id is None:
raise ValueError('template_id must be provided')
if template_version is None:
raise ValueError('template_version must be provided')
if target_type is None:
raise ValueError('target_type must be provided')
if target is None:
raise ValueError('target must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='create_assignment',
)
headers.update(sdk_headers)
data = {
'template_id': template_id,
'template_version': template_version,
'target_type': target_type,
'target': target,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/group_assignments'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, template_version: str, target_type: str, target: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.010709412395954132,
0.01612919196486473,
-0.03636737912893295,
-0.03900754451751709,
0.004520357120782137,
-0.004462255164980888,
-0.06767753511667252,
0.000033172771509271115,
-0.05834398418664932,
-0.017737463116645813,
0.04157334193587303,
-0.010709412395954132,
0.030640818178653717,
-0.011536788195371628,
-0.012921947054564953,
-0.010802376084029675,
0.07050362974405289,
-0.026476046070456505,
0.009421865455806255,
-0.01639878749847412,
0.03251868486404419,
-0.02497003600001335,
0.021939421072602272,
0.04142460227012634,
0.00782753899693489,
-0.03289053961634636,
0.005345409736037254,
0.002754047978669405,
0.017384201288223267,
0.036014117300510406,
-0.03463825583457947,
0.007971632294356823,
-0.006623659748584032,
0.10471425205469131,
0.03709249570965767,
0.0060937670059502125,
-0.06883028149604797,
0.03945377096533775,
-0.094971664249897,
-0.011406639590859413,
-0.009352142922580242,
0.02208816260099411,
-0.0221997182816267,
-0.015831708908081055,
-0.005289631430059671,
0.006028692703694105,
0.0012759260134771466,
-0.09422795474529266,
0.015459854155778885,
-0.04097837582230568,
0.01814650371670723,
0.011750604957342148,
-0.03811509534716606,
0.001059785601682961,
-0.05321239307522774,
0.06693382561206818,
0.038710061460733414,
-0.003867287654429674,
-0.014864887110888958,
-0.07630456238985062,
0.010607152245938778,
0.03746435046195984,
-0.027108199894428253,
-0.031533267349004745,
-0.07403624802827835,
0.018351024016737938,
-0.06749160587787628,
-0.014985740184783936,
-0.0025262869894504547,
0.03527040779590607,
0.012094570323824883,
-0.0014444226399064064,
-0.015292519703507423,
-0.04451099410653114,
0.042131125926971436,
0.07187949120998383,
-0.022181125357747078,
0.03134734183549881,
0.004162447061389685,
-0.01649175025522709,
-0.07838694751262665,
-0.022608758881688118,
0.005461614113301039,
-0.028167985379695892,
0.019875627011060715,
-0.006084470544010401,
-0.04179645702242851,
-0.017068125307559967,
-0.032444313168525696,
-0.02640167623758316,
0.04268890619277954,
0.006739864591509104,
-0.02842828258872032,
0.019596736878156662,
0.02277609333395958,
0.0035674800164997578,
0.03157045319676399,
-0.05462544038891792,
-0.035791002213954926,
0.03266742452979088,
-0.03588396683335304,
-0.05934799090027809,
-0.01557141076773405,
-0.013535507023334503,
0.0017674713162705302,
-0.0469280481338501,
-0.014056103304028511,
0.06875590980052948,
-0.01664978824555874,
-0.009974999353289604,
-0.000610654940828681,
0.01862061768770218,
-0.038338206708431244,
-0.0015478447312489152,
0.01724475622177124,
0.020954005420207977,
-0.014028213918209076,
-0.01846257969737053,
-0.009826257824897766,
-0.02906043641269207,
0.03512166440486908,
-0.01734701730310917,
0.002949271583929658,
0.04294920340180397,
0.014000325463712215,
-0.003802213119342923,
-0.047708943486213684,
-0.010681523010134697,
0.01098830346018076,
-0.07150764018297195,
-0.06061229854822159,
-0.02028466761112213,
-0.04294920340180397,
0.03086393140256405,
0.008891972713172436,
0.009844849817454815,
-0.06265749782323837,
0.03952814266085625,
0.018880916759371758,
-0.01591537706553936,
0.0629921704530716,
-0.025509225204586983,
0.008399265818297863,
0.012438535690307617,
-0.022924834862351418,
-0.05767464637756348,
0.030882524326443672,
0.07176793366670609,
-0.0262343417853117,
0.03952814266085625,
-0.014121177606284618,
-0.04711397737264633,
0.02166052907705307,
0.017523648217320442,
-0.009361439384520054,
0.032593052834272385,
0.03937939926981926,
0.0283725056797266,
0.04488284885883331,
-0.030622225254774094,
-0.020359039306640625,
-0.018657803535461426,
0.06276905536651611,
0.0648142546415329,
0.059645477682352066,
-0.03614426776766777,
0.016519639641046524,
-0.037594497203826904,
-0.00144326058216393,
-0.05797212943434715,
-0.018704285845160484,
0.014028213918209076,
-0.014279216527938843,
-0.03432217985391617,
-0.047225531190633774,
-0.03329957649111748,
0.0790562853217125,
-0.013024207204580307,
0.003349015489220619,
0.0005691118421964347,
0.0009528773953206837,
-0.03623722866177559,
0.00019870979303959757,
0.04198238253593445,
0.016910087317228317,
0.0016466185916215181,
0.012940539978444576,
0.08738582581281662,
-0.0320538654923439,
0.004074131604284048,
0.04030903801321983,
-0.07570959627628326,
0.01114634145051241,
0.03709249570965767,
0.024895664304494858,
-0.057823389768600464,
0.012261904776096344,
-0.03080815263092518,
-0.0005865425337105989,
0.0573771633207798,
0.001815115218050778,
-0.04317231848835945,
0.011164934374392033,
0.03383876755833626,
0.062248457223176956,
0.006902550812810659,
0.022813279181718826,
-0.02543485350906849,
-0.014269920065999031,
-0.04551500082015991,
-0.009603144600987434,
0.012680241838097572,
-0.011955125257372856,
0.04837828129529953,
-0.022181125357747078,
-0.0030468835029751062,
0.07764323800802231,
-0.026067007333040237,
0.008682804182171822,
-0.029506660997867584,
-0.04108993336558342,
0.005991506855934858,
0.009882035665214062,
-0.02660619653761387,
0.004652830306440592,
-0.043246690183877945,
-0.007111718878149986,
0.036330193281173706,
-0.0512043759226799,
0.028484061360359192,
0.060277629643678665,
-0.019131919369101524,
0.008468988351523876,
0.003188653150573373,
-0.026792123913764954,
-0.08039496093988419,
-0.005382595118135214,
-0.05060940980911255,
-0.0314960852265358,
0.038710061460733414,
0.004992147907614708,
0.06094696745276451,
0.03108704276382923,
0.032816167920827866,
-0.043506987392902374,
-0.028818730264902115,
-0.03623722866177559,
0.016621900722384453,
0.03575382009148598,
-0.04283764958381653,
0.03963970020413399,
-0.04971695691347122,
-0.06901621073484421,
0.012791797518730164,
-0.019987184554338455,
0.008868731558322906,
0.0342664010822773,
-0.028391098603606224,
0.03396891802549362,
-0.007920502685010433,
-0.002930678892880678,
-0.005159482359886169,
-0.05231994017958641,
-0.04023466631770134,
0.0015490067889913917,
-0.049047619104385376,
-0.053249575197696686,
0.03534477949142456,
-0.008747879415750504,
0.024709736928343773,
0.06209971755743027,
0.05655908212065697,
0.06659915298223495,
-0.007697389926761389,
-0.032816167920827866,
-0.013693545013666153,
0.05923643708229065,
-0.001566437422297895,
-0.02086104266345501,
-0.032016679644584656,
0.02214394137263298,
-0.015794523060321808,
0.0505722239613533,
0.03223979100584984,
0.05971984565258026,
0.016891494393348694,
-0.030845338478684425,
0.007060588803142309,
0.057451535016298294,
0.0005760840722359717,
-0.0629921704530716,
0.08954258263111115,
-0.009496236220002174,
-0.006949032656848431,
-0.005331465043127537,
-0.006711975205689669,
-0.002222993178293109,
-0.008636322803795338,
0.019540958106517792,
-0.0030096981208771467,
0.028484061360359192,
0.009751886129379272,
-0.0038905285764485598,
-0.02186504937708378,
-0.05752590298652649,
-0.012308387085795403,
0.029581032693386078,
0.03160763904452324,
0.016733456403017044,
0.004290272481739521,
0.015385483391582966,
0.04729990288615227,
-0.00264016748405993,
0.032276976853609085,
0.020879635587334633,
0.025397667661309242,
0.03660908341407776,
0.007255812641233206,
0.03136593475937843,
-0.005308224353939295,
-0.07295787334442139,
0.011815679259598255,
0.011694827117025852,
-0.042131125926971436,
0.05789775773882866,
-0.011481010355055332,
0.0206565223634243,
0.0314217135310173,
0.0499400720000267,
0.05388173088431358,
-0.04480847716331482,
-0.0025518520269542933,
-0.0012491990346461535,
-0.0005249541136436164,
-0.021474601700901985,
-0.049159176647663116,
-0.007353424560278654,
-0.022701723501086235,
0.015153074637055397,
0.023761508986353874,
-0.015664374455809593,
-0.025044405832886696,
0.015497040003538132,
-0.027703166007995605,
0.025992635637521744,
-0.01320083811879158,
-0.006270397920161486,
-0.01644526980817318,
-0.006567881442606449,
-0.05998014658689499,
-0.0963103398680687,
0.06526047736406326,
0.042763277888298035,
0.012949836440384388,
-0.012103866785764694,
-0.0487501360476017,
0.01691938377916813,
-0.006014748010784388,
-0.03359706327319145,
0.014139770530164242,
-0.06254594027996063,
-0.01569226384162903,
-0.01253149937838316,
-0.010848857462406158,
0.00762301916256547,
-0.005043277982622385,
-0.010793079622089863,
-0.01175990141928196,
-0.010188816115260124,
-0.030640818178653717,
-0.01008655596524477,
-0.06247157230973244,
-0.026866493746638298,
0.049531031399965286,
-0.0469280481338501,
0.018769361078739166,
-0.07329253852367401,
0.0022729611955583096,
-0.05644752457737923,
-0.06871873140335083,
0.053249575197696686,
-0.06526047736406326,
-0.017849020659923553,
0.0030236425809562206,
-0.012633759528398514,
-0.05075814947485924,
0.0850803330540657,
0.0025518520269542933,
-0.006005451548844576,
0.05562944710254669,
0.06169067695736885,
-0.02608560025691986,
0.002930678892880678,
-0.004413449205458164,
0.038561321794986725,
-0.001214337651617825,
-0.10263186693191528,
0.02145601063966751,
0.005057222209870815,
0.03746435046195984,
0.005698671564459801,
0.03580959513783455,
0.03279757499694824,
-0.03540055826306343,
0.0035349426325410604,
-0.010913931764662266,
0.10144193470478058,
-0.043878842145204544,
0.033820174634456635,
-0.01899247244000435,
0.02772175893187523,
0.01931784674525261,
-0.06518610566854477,
-0.050795335322618484,
-0.02086104266345501,
0.06659915298223495,
-0.035251814872026443,
0.028037836775183678,
-0.004397180397063494,
-0.039937183260917664,
0.03266742452979088,
0.024226326495409012,
0.050906892865896225,
-0.013581988401710987,
-0.005075815133750439,
-0.0293207336217165,
-0.005745153408497572,
0.006149545311927795,
0.032760389149188995,
-0.050163183361291885,
-0.010235297493636608,
0.036107081919908524,
0.03804072365164757,
0.032388534396886826,
0.02272031456232071,
0.02182786352932453,
0.03975125402212143,
0.0450315922498703,
0.011044081300497055,
0.026067007333040237,
0.005215260665863752,
-0.028446875512599945,
0.0034628957509994507,
-0.010309668257832527,
-0.03348550572991371,
0.0013619174715131521,
-0.08552655577659607,
-0.0777919813990593,
-0.045849669724702835,
0.04094118997454643,
0.03103126585483551,
0.05901332199573517,
0.0641821026802063,
0.0277775377035141,
-0.05179934576153755,
-0.05231994017958641,
0.0024612124543637037,
-0.026327304542064667,
0.024468032643198967,
-0.03982562571763992,
0.0025681208353489637,
-0.04897324740886688,
0.06146756187081337,
0.08188237994909286,
-0.009770479053258896,
-0.01730053499341011,
0.013823694549500942,
0.007241867948323488,
0.0009017473785206676,
0.013089281506836414,
-0.030510669574141502,
-0.014558106660842896,
-0.019968591630458832,
0.07846131920814514,
-0.04216831177473068,
0.007971632294356823,
0.032332755625247955,
-0.005972914397716522,
0.019819850102066994,
-0.0024007861502468586,
0.029450884088873863,
0.027851909399032593,
0.0209725983440876,
0.03404328599572182,
-0.02783331647515297,
-0.030789559707045555,
0.04332105815410614,
-0.008073892444372177,
-0.05529477819800377,
0.05105563625693321,
-0.02608560025691986,
-0.08106429874897003,
0.011397343128919601,
0.042502980679273605,
-0.05588974431157112,
-0.0293207336217165,
0.017923390492796898,
0.0007082668016664684,
-0.013721434399485588,
-0.05786057561635971,
0.05499729514122009,
0.017523648217320442,
0.05321239307522774,
-0.031533267349004745,
0.0622856430709362,
0.039788439869880676,
-0.0009737942018546164,
0.01311717089265585,
-0.010309668257832527,
0.06012888625264168,
0.004434365779161453,
0.0342664010822773,
-0.018453283235430717,
0.010263186879456043,
0.025248926132917404,
0.11490307003259659,
0.025137370452284813,
-0.011732012033462524,
0.018815841525793076,
-0.024337882176041603,
0.012429239228367805,
0.047448646277189255,
-0.011378750205039978,
0.006958329118788242,
-0.021958013996481895,
0.0071349600329995155,
-0.01320083811879158,
-0.005656837951391935,
-0.015431965701282024,
0.051390305161476135,
-0.005224557127803564,
-0.018007058650255203,
-0.00698621803894639,
-0.03952814266085625,
-0.046965233981609344,
0.04358135908842087,
-0.030268963426351547,
0.011109155602753162,
-0.033559877425432205,
-0.018323134630918503,
-0.019782664254307747,
0.003490784903988242,
-0.07292068749666214,
-0.06633885949850082,
-0.015143778175115585,
-0.005503447726368904,
0.0101702231913805,
-0.0012840604176744819,
-0.0015757337678223848,
-0.024523809552192688,
0.06191378831863403,
-0.0019417782314121723,
0.0016071090940386057,
0.035791002213954926,
0.0003640107752289623,
0.06087259575724602,
0.007195386104285717,
-0.02186504937708378,
0.033020686358213425,
0.023649951443076134,
0.0008674670243635774,
-0.03952814266085625,
-0.029729774221777916,
0.00661436328664422,
-0.0009116247529163957,
0.032276976853609085,
0.008613081648945808,
0.022367052733898163,
-0.02389165759086609,
0.011778494343161583,
-0.019094733521342278,
-0.011499603278934956,
0.012178237549960613,
-0.037594497203826904,
-0.0005371555453166366,
-0.031700603663921356,
0.0194294024258852,
-0.0048248134553432465,
0.017700279131531715,
0.02320372685790062,
0.01388876885175705,
0.02251579612493515,
0.05068378150463104,
-0.04536626115441322,
-0.03177497535943985,
0.05131593346595764,
-0.006247157230973244,
-0.01479981280863285,
0.03359706327319145,
0.03049207665026188,
-0.04837828129529953,
0.03502870351076126,
0.010095852427184582,
0.027963465079665184,
0.016277935355901718,
0.045217517763376236,
-0.012931243516504765,
-0.024951443076133728,
0.00653069606050849,
-0.06589262932538986,
0.009937813505530357,
0.033243801444768906,
-0.06358713656663895,
0.0814361572265625,
0.05655908212065697,
-0.050386298447847366,
-0.0005124621093273163,
-0.002937651239335537,
-0.004787627607584,
-0.022274089977145195,
0.03454529121518135,
-0.039676886051893234,
-0.006433084141463041,
-0.08805516362190247,
0.007999521680176258,
-0.03303927928209305,
-0.05306364968419075,
0.09050940722227097,
-0.0505722239613533,
-0.011425232514739037,
-0.012810390442609787,
0.05477418005466461,
-0.0025890376418828964,
0.0629921704530716,
-0.023761508986353874,
0.07764323800802231,
0.019931405782699585,
-0.0462958961725235,
-0.007734575308859348,
-0.0125036109238863,
-0.03677641972899437,
0.007702038157731295,
-0.046853676438331604,
0.007520759012550116,
0.07009459286928177,
0.006051933392882347,
0.07411061972379684,
0.023594172671437263,
0.11557240784168243,
-0.007539351936429739,
-0.036014117300510406,
-0.03569804131984711,
0.01633371226489544,
0.008738582953810692,
0.012261904776096344,
0.06838405877351761,
0.014204844832420349,
-0.029041843488812447,
-0.050274740904569626,
0.028930287808179855,
-0.04049496352672577,
0.012438535690307617,
-0.00501538859680295,
-0.05566663295030594,
-0.022162534296512604,
0.06648760288953781,
-0.05224556848406792,
-0.007139608263969421,
-0.04822954162955284,
0.005075815133750439,
-0.019819850102066994,
0.03867287561297417,
0.018295245245099068,
0.03049207665026188,
0.04224267974495888,
0.04086681827902794,
-0.04161052778363228,
-0.046072784811258316,
-0.055480703711509705,
0.08470847457647324,
0.03629300743341446,
-0.027851909399032593,
0.030268963426351547,
0.03326239436864853,
0.007376665249466896,
-0.012038792483508587,
-0.0028353913221508265,
-0.025695152580738068,
-0.003955603111535311,
0.035530705004930496,
0.06648760288953781,
-0.02820517122745514,
0.0023868416901677847,
-0.010021480731666088,
0.001958046806976199,
-0.03225838392972946,
-0.006214619614183903,
-0.012401350773870945,
-0.005884598940610886,
-0.04960540309548378,
0.032500091940164566,
0.0040183537639677525,
-0.06150474771857262,
0.004917777143418789,
-0.027126792818307877,
-0.04306076094508171,
-0.02565796673297882,
-0.008924510329961777,
-0.0076509080827236176,
0.004552894737571478,
-0.017746759578585625,
-0.0323699414730072,
-0.015580707229673862,
0.022441424429416656,
-0.03235134854912758,
0.02474692277610302,
-0.019280660897493362,
0.020321853458881378,
0.052877724170684814,
-0.07712264358997345,
0.00048166789929382503,
0.028391098603606224,
0.022311275824904442,
-0.000049169055273523554,
0.012141052633523941,
0.016296526417136192,
-0.0573771633207798,
0.03960251435637474,
-0.026531824842095375,
0.03859850764274597,
-0.004294920712709427,
0.03491714596748352,
-0.01458599604666233,
-0.06191378831863403,
-0.0036627675872296095,
-0.00436464324593544,
-0.028075020760297775,
-0.022962020710110664,
0.04082963243126869,
0.02182786352932453,
0.017179682850837708,
0.05477418005466461,
-0.045329075306653976,
-0.06265749782323837,
0.010755893774330616,
-0.025416260585188866,
-0.02405899204313755,
0.0075765373185276985,
0.022013790905475616,
0.05049785226583481,
0.0014246678911149502,
0.014195549301803112,
-0.012940539978444576,
-0.0456637442111969,
-0.05689375102519989,
0.027870500460267067,
-0.011341565288603306,
0.018704285845160484,
0.021753493696451187,
-0.02108415588736534,
0.0030910412315279245,
0.013702841475605965,
0.02948806807398796,
0.010951117612421513,
0.04328387230634689,
-0.039788439869880676,
0.07604426145553589,
-0.01117422990500927,
-0.00408342806622386,
0.009003529325127602,
-0.014753330498933792,
-0.012698833830654621,
0.04369291290640831,
-0.0033350707963109016,
-0.07637893408536911,
-0.008436450734734535,
0.03316942974925041,
0.03298350051045418
] |
719,623
|
ibm_platform_services.iam_access_groups_v2
|
create_template
|
Create template.
Create an access group template. Make sure that the template is generic enough to
apply to multiple different child accounts. Before you can assign an access group
template to child accounts, you must commit it so that no further changes can be
made to the version.
:param str name: Give the access group template a unique name that doesn't
conflict with an existing access group templates in the account.
:param str account_id: Enterprise account id in which the template will be
created.
:param str description: (optional) Assign an optional description for the
access group template.
:param AccessGroupRequest group: (optional) Access Group Component.
:param List[PolicyTemplates] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
Access group input component.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateResponse` object
|
def create_template(
self,
name: str,
account_id: str,
*,
description: str = None,
group: 'AccessGroupRequest' = None,
policy_template_references: List['PolicyTemplates'] = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Create template.
Create an access group template. Make sure that the template is generic enough to
apply to multiple different child accounts. Before you can assign an access group
template to child accounts, you must commit it so that no further changes can be
made to the version.
:param str name: Give the access group template a unique name that doesn't
conflict with an existing access group templates in the account.
:param str account_id: Enterprise account id in which the template will be
created.
:param str description: (optional) Assign an optional description for the
access group template.
:param AccessGroupRequest group: (optional) Access Group Component.
:param List[PolicyTemplates] policy_template_references: (optional)
Existing policy templates that you can reference to assign access in the
Access group input component.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateResponse` object
"""
if name is None:
raise ValueError('name must be provided')
if account_id is None:
raise ValueError('account_id must be provided')
if group is not None:
group = convert_model(group)
if policy_template_references is not None:
policy_template_references = [convert_model(x) for x in policy_template_references]
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='create_template',
)
headers.update(sdk_headers)
data = {
'name': name,
'account_id': account_id,
'description': description,
'group': group,
'policy_template_references': policy_template_references,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/group_templates'
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, name: str, account_id: str, *, description: Optional[str] = None, group: Optional[ibm_platform_services.iam_access_groups_v2.AccessGroupRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_access_groups_v2.PolicyTemplates]] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.001067919423803687,
0.01691065914928913,
-0.007413695566356182,
-0.003259385470300913,
-0.022417137399315834,
-0.014260116964578629,
-0.09522393345832825,
0.03751838579773903,
-0.018592923879623413,
-0.03937670215964317,
0.06779912859201431,
-0.005887921899557114,
-0.06142217665910721,
-0.026955336332321167,
-0.07683639973402023,
-0.044599540531635284,
0.04999843239784241,
-0.003926911391317844,
0.017624642699956894,
-0.01792784221470356,
0.05426277592778206,
0.01960032433271408,
-0.04393446072936058,
-0.044012706726789474,
0.03648164123296738,
-0.023003974929451942,
-0.02703358232975006,
0.015169712714850903,
-0.012362680397927761,
0.008259717375040054,
-0.0635739117860794,
0.01765398494899273,
0.011678038164973259,
0.06979437172412872,
-0.026994459331035614,
-0.015619619749486446,
-0.07143750786781311,
-0.01614777185022831,
-0.04780757799744606,
0.01496431976556778,
-0.0025233952328562737,
0.01706714928150177,
-0.03994397446513176,
-0.030515475198626518,
0.019835058599710464,
-0.015277299098670483,
-0.03558182716369629,
-0.020480578765273094,
-0.011052079498767853,
-0.002090603578835726,
0.008406426757574081,
-0.026153327897191048,
-0.042017463594675064,
-0.008445548824965954,
-0.03366483002901077,
0.009252448566257954,
0.025703420862555504,
-0.0773841142654419,
-0.04213482886552811,
-0.05981815606355667,
0.011550890281796455,
0.04190009459853172,
-0.051015615463256836,
0.002855935599654913,
-0.07139839231967926,
-0.009051945991814137,
-0.05394979566335678,
-0.004384154453873634,
-0.03202169016003609,
-0.007291438058018684,
-0.014426386915147305,
0.030398108065128326,
0.02525351196527481,
-0.061343930661678314,
-0.001672482816502452,
0.024001594632864,
0.014230774715542793,
-0.006308487616479397,
-0.001791072660125792,
0.025175267830491066,
-0.08200056105852127,
-0.05856623873114586,
-0.02670104056596756,
0.03982660919427872,
0.02621201053261757,
0.026407623663544655,
0.016949782148003578,
-0.036422960460186005,
0.023277830332517624,
0.003726409049704671,
0.01133571658283472,
-0.03994397446513176,
-0.017311664298176765,
0.0695205107331276,
0.008817211724817753,
0.016186894848942757,
0.02116522192955017,
0.012470266781747341,
-0.013771086931228638,
0.03133704513311386,
-0.01652921549975872,
-0.025977276265621185,
-0.007946738973259926,
-0.01015226449817419,
0.0035307970829308033,
0.0020649293437600136,
-0.0034696683287620544,
0.005741212982684374,
-0.018113672733306885,
0.04303464666008949,
-0.02347344346344471,
-0.0415479950606823,
0.00020462852262426168,
-0.006479648407548666,
0.026290256530046463,
0.01179540529847145,
-0.029752589762210846,
-0.027424806728959084,
-0.024568870663642883,
-0.019091732800006866,
0.022045474499464035,
-0.022417137399315834,
0.052150167524814606,
-0.01254851184785366,
0.016499875113368034,
0.04475603252649307,
-0.0024659340269863605,
0.031747832894325256,
-0.007648430299013853,
-0.0074919406324625015,
-0.0579402819275856,
-0.05066351592540741,
-0.018553800880908966,
0.053871553391218185,
0.027913836762309074,
0.038574691861867905,
-0.023610372096300125,
-0.0030564379412680864,
0.029635222628712654,
0.04162623733282089,
0.015111029148101807,
-0.01980571821331978,
0.05543644726276398,
0.07343275099992752,
-0.007105606608092785,
-0.025233950465917587,
0.022788800299167633,
-0.02233889326453209,
-0.07855778932571411,
0.01015226449817419,
-0.01878853514790535,
-0.055162589997053146,
-0.04076554626226425,
-0.03628602996468544,
0.003166469745337963,
0.03945494443178177,
0.02525351196527481,
-0.002767910249531269,
0.008391755633056164,
0.01954164169728756,
-0.009844175539910793,
0.010680416598916054,
0.04862914979457855,
0.024999216198921204,
0.028598478063941002,
-0.026877092197537422,
0.016920439898967743,
-0.004440392833203077,
-0.0004260674468241632,
-0.05109386146068573,
-0.004230109974741936,
0.07777534425258636,
0.03084801696240902,
-0.016382507979869843,
-0.06392601132392883,
0.001650476478971541,
0.03548401966691017,
0.016627022996544838,
-0.03587524592876434,
-0.03020249679684639,
-0.021615128964185715,
-0.009086178615689278,
-0.031024066731333733,
0.02961566112935543,
-0.014436167664825916,
-0.0009358812822028995,
0.039435382932424545,
0.10625645518302917,
-0.012724562548100948,
0.026231572031974792,
0.013849331066012383,
-0.06013113632798195,
0.04064817726612091,
-0.004606663249433041,
0.020421896129846573,
-0.04311288893222809,
-0.028500672429800034,
-0.02233889326453209,
0.012499608099460602,
0.042878154665231705,
-0.004790049511939287,
-0.008998152799904346,
0.009110630489885807,
0.0014548643957823515,
0.09538042545318604,
0.03781180456280708,
0.00826460774987936,
-0.017800694331526756,
-0.046320926398038864,
-0.04448217526078224,
0.010856467299163342,
-0.029693905264139175,
-0.04769021272659302,
0.018651606515049934,
-0.006518770940601826,
0.0058683608658611774,
0.06071797385811806,
-0.0047240303829312325,
0.032647646963596344,
-0.028363743796944618,
-0.02552736923098564,
0.011550890281796455,
0.021243466064333916,
0.011355278082191944,
-0.05848799645900726,
0.0016688150353729725,
0.03192388266324997,
0.02411896176636219,
-0.02153688482940197,
-0.00278013595379889,
0.008773199282586575,
-0.038516007363796234,
-0.020754436030983925,
-0.012734342366456985,
-0.048590026795864105,
-0.11368970572948456,
0.05758817866444588,
-0.06459108740091324,
0.03288238123059273,
-0.0050125583074986935,
0.010690197348594666,
0.08239178359508514,
0.03730321303009987,
0.06732966005802155,
-0.07221996039152145,
-0.012685439549386501,
-0.03859425336122513,
-0.0751541405916214,
0.08348721265792847,
-0.028500672429800034,
-0.002440260024741292,
-0.034975431859493256,
-0.00018690117576625198,
-0.0006308488082140684,
-0.008660722523927689,
-0.04808143526315689,
0.03988529369235039,
-0.053910672664642334,
0.0218498632311821,
-0.0022813251707702875,
0.0034990101121366024,
0.036951109766960144,
-0.08802541345357895,
0.003758196020498872,
-0.003743525128811598,
-0.010025116614997387,
0.005878141149878502,
0.00579989654943347,
0.016460752114653587,
0.030769770964980125,
0.13935400545597076,
0.09647584706544876,
0.038300834596157074,
-0.044325683265924454,
-0.07139839231967926,
-0.02535131759941578,
0.07605395466089249,
0.012636536732316017,
-0.048042312264442444,
-0.01025985088199377,
-0.02304309606552124,
0.00403938814997673,
-0.003953807987272739,
0.02276923879981041,
0.04980282112956047,
0.018534239381551743,
-0.046164438128471375,
-0.0008973701624199748,
-0.004618888720870018,
0.06153954192996025,
-0.06071797385811806,
0.052189286798238754,
-0.02826593816280365,
-0.017507275566458702,
-0.09506744146347046,
-0.07245469093322754,
-0.024627553299069405,
-0.041704483330249786,
0.030828455463051796,
0.015042564831674099,
0.05019404739141464,
0.03229554370045662,
0.005618955474346876,
0.012910393998026848,
-0.05340208113193512,
-0.06255672872066498,
0.024881849065423012,
-0.020324088633060455,
0.04264342039823532,
0.030495915561914444,
-0.003000199329108,
0.010074019432067871,
0.013790647499263287,
-0.018553800880908966,
-0.053010858595371246,
0.05355857312679291,
0.06283058226108551,
-0.04076554626226425,
-0.003369417041540146,
0.008641161024570465,
-0.0551234669983387,
0.023297391831874847,
-0.046007949858903885,
-0.004936758428812027,
0.08786892145872116,
0.016020623967051506,
0.011805186048150063,
-0.018103891983628273,
0.09624111652374268,
0.018592923879623413,
0.01179540529847145,
-0.053910672664642334,
-0.01620645634829998,
0.03693155199289322,
-0.0514850839972496,
-0.019893743097782135,
0.018054990097880363,
-0.07992707192897797,
-0.022143281996250153,
0.051172107458114624,
-0.031356606632471085,
-0.02660323493182659,
-0.018475554883480072,
-0.05242402106523514,
0.00891012791544199,
-0.009374706074595451,
0.04628180339932442,
0.036951109766960144,
0.012079042382538319,
0.025018777698278427,
-0.0629088282585144,
-0.02724875509738922,
0.03951362892985344,
0.00936492532491684,
0.0261142048984766,
-0.04682951793074608,
0.0058390190824866295,
0.031689148396253586,
-0.03172827139496803,
-0.022847484797239304,
-0.06979437172412872,
-0.027483489364385605,
-0.032921504229307175,
0.0016394732519984245,
-0.002836374333128333,
-0.04381709173321724,
-0.01920909993350506,
0.011668257415294647,
-0.055592939257621765,
-0.005330427549779415,
-0.01804520934820175,
-0.060913585126399994,
-0.0191210750490427,
0.05066351592540741,
-0.0056336261332035065,
-0.023610372096300125,
0.03558182716369629,
0.009027495048940182,
-0.06529529392719269,
-0.005535820499062538,
0.023219147697091103,
-0.039337579160928726,
0.009536086581647396,
-0.0329410657286644,
-0.009619221091270447,
-0.006088424474000931,
0.021869424730539322,
0.00753595307469368,
0.009208436124026775,
-0.021771619096398354,
0.08121811598539352,
-0.027014020830392838,
0.007447927724570036,
-0.011237910948693752,
-0.026661919429898262,
-0.024686237797141075,
-0.04303464666008949,
0.02368861623108387,
-0.018671168014407158,
0.04248693212866783,
0.03440815582871437,
0.042995523661375046,
-0.03548401966691017,
-0.024588432163000107,
0.01149220671504736,
0.03407561406493187,
0.05692309886217117,
-0.0346820130944252,
-0.005389111116528511,
0.00831840094178915,
-0.03139572963118553,
0.036951109766960144,
-0.04033520072698593,
-0.05985727906227112,
-0.039337579160928726,
0.07116365432739258,
-0.07186786085367203,
0.0708506777882576,
-0.04064817726612091,
-0.004115188028663397,
-0.017311664298176765,
0.018113672733306885,
0.007594636641442776,
-0.026231572031974792,
-0.019355809316039085,
-0.018612483516335487,
-0.03587524592876434,
-0.025175267830491066,
-0.003687286749482155,
-0.02224108763039112,
-0.002870606491342187,
0.01488607469946146,
-0.00071826291969046,
0.000597839243710041,
0.0736674889922142,
0.04538198933005333,
-0.00034048716770485044,
0.04053081199526787,
-0.011267252266407013,
0.03503411263227463,
0.029537415131926537,
-0.02638806216418743,
0.03432990983128548,
0.00413230387493968,
-0.03736189752817154,
0.02697489783167839,
-0.020001329481601715,
-0.0780491977930069,
0.009066617116332054,
0.025644736364483833,
0.021126098930835724,
0.04937247559428215,
0.08481737226247787,
0.0005694144056178629,
-0.046007949858903885,
-0.03432990983128548,
-0.014661121182143688,
-0.016891097649931908,
0.02089136466383934,
-0.018172357231378555,
-0.0014683128101751208,
-0.004868294112384319,
0.04608619213104248,
0.05171981826424599,
0.014181871898472309,
-0.00561406509950757,
0.008753637783229351,
0.02061750739812851,
0.023551687598228455,
0.011443303897976875,
-0.020578384399414062,
-0.011531328782439232,
0.0006387954927049577,
0.09272009879350662,
-0.006704601924866438,
0.01015226449817419,
0.007878274656832218,
-0.0032300434540957212,
0.0314544141292572,
0.012890832498669624,
0.03446684032678604,
-0.04506900906562805,
0.008161911740899086,
0.013145128265023232,
0.015922818332910538,
-0.0766407921910286,
0.027150949463248253,
0.002804587362334132,
-0.023923350498080254,
0.012744123116135597,
0.016666144132614136,
-0.027092264965176582,
0.004230109974741936,
0.03667725622653961,
-0.05410628765821457,
-0.009863736107945442,
-0.007086045574396849,
0.0005700256442651153,
0.036853305995464325,
-0.06020938232541084,
0.006885543465614319,
0.005618955474346876,
0.016979124397039413,
-0.02034365013241768,
0.04037432372570038,
0.043152011930942535,
0.03303886950016022,
-0.021145660430192947,
0.018866779282689095,
-0.016666144132614136,
-0.06995086371898651,
0.013379862532019615,
-0.011296594515442848,
0.033625707030296326,
-0.012665878981351852,
0.05105473846197128,
-0.003352300962433219,
0.011061860248446465,
0.002841264707967639,
-0.021771619096398354,
0.0372445285320282,
0.05582767352461815,
-0.02190854586660862,
0.027053143829107285,
-0.012519169598817825,
-0.020578384399414062,
-0.0128712709993124,
0.003692176891490817,
0.0002788999699987471,
0.08074864745140076,
0.031845636665821075,
-0.021360833197832108,
-0.0026432075537741184,
-0.041000280529260635,
-0.023708177730441093,
-0.024901410564780235,
-0.07980970293283463,
0.011580231599509716,
-0.09968388825654984,
0.04495164379477501,
0.028950579464435577,
-0.008572696708142757,
-0.029596099629998207,
-0.05328471586108208,
0.006098204758018255,
-0.02181074023246765,
0.012127945199608803,
-0.015580497682094574,
0.03192388266324997,
0.014504631981253624,
0.08528684079647064,
-0.017057368531823158,
-0.025605613365769386,
-0.0015979057643562555,
-0.0026652137748897076,
0.07456730306148529,
-0.021458638831973076,
-0.027600856497883797,
0.0072327544912695885,
-0.010250070132315159,
0.027600856497883797,
-0.0026578784454613924,
-0.02061750739812851,
-0.011061860248446465,
0.007164290640503168,
0.022534504532814026,
0.0012500830926001072,
-0.0037728669121861458,
0.0023803538642823696,
0.025644736364483833,
0.005726541858166456,
0.009051945991814137,
-0.013898234814405441,
-0.006841530557721853,
-0.03376263380050659,
0.06971612572669983,
0.06666457653045654,
0.03172827139496803,
-0.00652855122461915,
-0.047142498195171356,
0.028031203895807266,
-0.021399956196546555,
0.0096632344648242,
-0.01793762296438217,
-0.0022128610871732235,
0.06607773900032043,
0.011453083716332912,
-0.031571779400110245,
0.05668836459517479,
0.039552751928567886,
-0.047298986464738846,
0.04166536033153534,
0.0022104158997535706,
0.024725360795855522,
-0.003288727253675461,
0.09264185279607773,
-0.01652921549975872,
0.002753239357843995,
-0.016627022996544838,
-0.0594269335269928,
0.007980970665812492,
0.006499209441244602,
0.010699978098273277,
0.052737001329660416,
-0.014983881264925003,
0.0013631712645292282,
-0.01776157133281231,
-0.01804520934820175,
0.028168130666017532,
0.0045553152449429035,
0.04092203453183174,
-0.03208037093281746,
-0.039552751928567886,
-0.02584034763276577,
0.006773066241294146,
0.025488246232271194,
-0.017204077914357185,
0.03388000279664993,
-0.024001594632864,
-0.051172107458114624,
0.014846952632069588,
0.015062126331031322,
0.008205924183130264,
0.035933930426836014,
-0.0166368018835783,
0.05171981826424599,
0.029850395396351814,
0.006337829399853945,
-0.03704891726374626,
-0.014612218365073204,
-0.061343930661678314,
0.018103891983628273,
-0.090216264128685,
0.02799208089709282,
0.07855778932571411,
0.04303464666008949,
0.05183718726038933,
-0.010582610964775085,
0.061343930661678314,
0.046712152659893036,
-0.048042312264442444,
0.02012847736477852,
0.028461549431085587,
0.017204077914357185,
-0.06044411659240723,
0.029459170997142792,
0.003973369486629963,
-0.020597945898771286,
0.004503966774791479,
0.00039519742131233215,
-0.07221996039152145,
0.06959875673055649,
-0.01813323423266411,
-0.06764263659715652,
0.039650555700063705,
0.05097649246454239,
-0.004418386612087488,
0.01829950511455536,
-0.03910284489393234,
0.011541109532117844,
-0.01187365036457777,
0.0008943137363530695,
0.017292102798819542,
-0.015228396281599998,
-0.0017177180852741003,
0.004308355040848255,
-0.040843792259693146,
-0.03699023276567459,
-0.021615128964185715,
0.008528684265911579,
-0.011423742398619652,
0.0015049900393933058,
-0.0043499222956597805,
0.03166958689689636,
0.022906167432665825,
0.04706425219774246,
-0.00658234441652894,
-0.03859425336122513,
0.017888719215989113,
0.05179806426167488,
0.10226596891880035,
0.016920439898967743,
0.05520171299576759,
-0.003149353666231036,
0.017204077914357185,
0.011609573848545551,
0.049176864326000214,
-0.018113672733306885,
-0.02233889326453209,
-0.02771822363138199,
0.04495164379477501,
0.031415291130542755,
-0.02190854586660862,
-0.0157272070646286,
-0.013927576132118702,
0.012225751765072346,
0.02756173349916935,
0.0007439369801431894,
-0.026798848062753677,
-0.017702888697385788,
0.0021138323936611414,
-0.0371662862598896,
-0.020754436030983925,
0.06752526760101318,
-0.08692998439073563,
0.06509967893362045,
-0.0027067814953625202,
0.004222774412482977,
0.07288504391908646,
-0.02077399753034115,
-0.012020358815789223,
0.0008234043489210308,
0.08231353759765625,
0.05621889606118202,
-0.024686237797141075,
0.034056052565574646,
-0.010250070132315159,
0.05766642466187477,
0.031473975628614426,
0.0354253388941288,
-0.011805186048150063,
0.03908328339457512,
-0.04064817726612091,
-0.012284435331821442,
-0.020813118666410446,
-0.025586053729057312,
-0.04968545585870743,
-0.029948201030492783,
0.015296860598027706,
-0.009536086581647396,
-0.04291727766394615,
0.030828455463051796,
-0.056727487593889236,
-0.028129009529948235,
0.010817345231771469,
-0.04948984086513519,
-0.022143281996250153,
-0.026661919429898262,
0.02120434306561947,
0.023238709196448326,
0.011189008131623268,
0.010690197348594666,
-0.02267143316566944,
-0.034701574593782425,
-0.06040499359369278,
0.041274137794971466,
0.020695751532912254,
0.04033520072698593,
0.05864448472857475,
-0.024079840630292892,
-0.004853623453527689,
0.0078636035323143,
0.007042032666504383,
0.0033327399287372828,
0.007682662457227707,
0.014445948414504528,
0.04655566066503525,
-0.021399956196546555,
0.01841687224805355,
-0.0218498632311821,
0.022847484797239304,
-0.04796406999230385,
0.03925933316349983,
-0.012509388849139214,
-0.022319331765174866,
-0.03462332859635353,
0.006587234791368246,
0.024431942030787468
] |
719,624
|
ibm_platform_services.iam_access_groups_v2
|
create_template_version
|
Create template version.
Create a new version of an access group template.
:param str template_id: ID of the template that you want to create a new
version of.
:param str name: (optional) This is an optional field. If the field is
included it will change the name value for all existing versions of the
template..
:param str description: (optional) Assign an optional description for the
access group template version.
:param AccessGroupRequest group: (optional) Access Group Component.
:param List[PolicyTemplates] policy_template_references: (optional) The
policy templates associated with the template version.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateVersionResponse` object
|
def create_template_version(
self,
template_id: str,
*,
name: str = None,
description: str = None,
group: 'AccessGroupRequest' = None,
policy_template_references: List['PolicyTemplates'] = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Create template version.
Create a new version of an access group template.
:param str template_id: ID of the template that you want to create a new
version of.
:param str name: (optional) This is an optional field. If the field is
included it will change the name value for all existing versions of the
template..
:param str description: (optional) Assign an optional description for the
access group template version.
:param AccessGroupRequest group: (optional) Access Group Component.
:param List[PolicyTemplates] policy_template_references: (optional) The
policy templates associated with the template version.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateVersionResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
if group is not None:
group = convert_model(group)
if policy_template_references is not None:
policy_template_references = [convert_model(x) for x in policy_template_references]
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='create_template_version',
)
headers.update(sdk_headers)
data = {
'name': name,
'description': description,
'group': group,
'policy_template_references': policy_template_references,
}
data = {k: v for (k, v) in data.items() if v is not None}
data = json.dumps(data)
headers['content-type'] = 'application/json'
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}/versions'.format(**path_param_dict)
request = self.prepare_request(
method='POST',
url=url,
headers=headers,
data=data,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, name: Optional[str] = None, description: Optional[str] = None, group: Optional[ibm_platform_services.iam_access_groups_v2.AccessGroupRequest] = None, policy_template_references: Optional[List[ibm_platform_services.iam_access_groups_v2.PolicyTemplates]] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.0419638566672802,
-0.027301324531435966,
-0.013975223526358604,
0.009106805548071861,
-0.04165838658809662,
-0.037019070237874985,
-0.07568003982305527,
0.054144445806741714,
-0.032284293323755264,
-0.015359382145106792,
0.027835896238684654,
-0.008906341157853603,
-0.061170242726802826,
-0.0403219573199749,
-0.051547955721616745,
-0.02201288565993309,
0.06796693801879883,
-0.015989411622285843,
-0.006782374810427427,
0.008758380077779293,
0.041391100734472275,
-0.0011478966334834695,
-0.03570173308253288,
-0.017001280561089516,
0.06468313932418823,
-0.013440652750432491,
0.013020631857216358,
-0.009880024939775467,
0.029477793723344803,
-0.004405441228300333,
-0.05655001848936081,
0.012314233928918839,
0.04009285569190979,
0.08148395270109177,
-0.03132970258593559,
-0.025239406153559685,
-0.033830732107162476,
-0.00793265737593174,
-0.0731980949640274,
0.05639728158712387,
0.03932918235659599,
0.036427222192287445,
-0.041467465460300446,
-0.017364025115966797,
0.02646128460764885,
-0.018070422112941742,
-0.035682640969753265,
-0.02764497883617878,
-0.013421560637652874,
0.010691427625715733,
0.019970059394836426,
-0.04192567244172096,
-0.01920638605952263,
-0.0478823222219944,
-0.03763000667095184,
0.035988111048936844,
0.06384310126304626,
-0.014089774340391159,
-0.028733212500810623,
-0.010834616608917713,
0.0020905560813844204,
0.035319894552230835,
-0.046049509197473526,
0.030585121363401413,
-0.08255309611558914,
0.009531598538160324,
-0.02438027411699295,
-0.013765213079750538,
-0.029286876320838928,
0.021211029961705208,
-0.0002710145781747997,
0.0419638566672802,
0.012562427669763565,
-0.055328138172626495,
0.015321197919547558,
0.06105569005012512,
-0.006758509669452906,
-0.008982708677649498,
-0.013450197875499725,
0.004708523862063885,
-0.05269346758723259,
-0.09087713807821274,
0.010385958477854729,
-0.0023876726627349854,
0.011865575797855854,
0.01710628531873226,
-0.011607836000621319,
-0.06361399590969086,
0.0218028761446476,
0.036885425448417664,
-0.019989151507616043,
-0.029764171689748764,
-0.05712277069687843,
0.049256935715675354,
0.015025274828076363,
-0.0037252944894135,
0.05227344483137131,
-0.042192958295345306,
-0.0028208186849951744,
0.034804414957761765,
-0.004512832500040531,
-0.03497624397277832,
-0.033315252512693405,
-0.01122599933296442,
-0.007479226682335138,
-0.042345691472291946,
-0.030203284695744514,
0.030699672177433968,
-0.017029916867613792,
-0.0003722907858900726,
0.02178378403186798,
-0.023215672001242638,
-0.0191204734146595,
0.007507864385843277,
0.029000498354434967,
-0.0024986439384520054,
-0.020638274028897285,
-0.014500249177217484,
-0.025525784119963646,
-0.003973488230258226,
0.038126394152641296,
-0.041467465460300446,
0.03978738561272621,
0.02060008980333805,
-0.024647559970617294,
0.0390046201646328,
-0.009794111363589764,
0.019473671913146973,
0.010319137014448643,
-0.030107824131846428,
-0.04181111976504326,
-0.021363765001296997,
-0.015960775315761566,
0.05830646678805351,
-0.008715422824025154,
-0.013421560637652874,
-0.030203284695744514,
0.011311912909150124,
0.03239884600043297,
0.043682120740413666,
0.008829973638057709,
-0.005474583711475134,
0.026041263714432716,
0.03392619267106056,
-0.03152061998844147,
-0.040932897478342056,
0.0461258739233017,
-0.005794371943920851,
-0.027148589491844177,
0.01867181621491909,
-0.00940750166773796,
-0.021879244595766068,
0.012791530229151249,
-0.025143947452306747,
0.0056511834263801575,
-0.003460395149886608,
0.03667541593313217,
-0.07182348519563675,
0.015903498977422714,
0.014614799991250038,
0.004135768860578537,
-0.01727811060845852,
0.06926517933607101,
0.016772177070379257,
0.049027834087610245,
-0.015378473326563835,
0.01985550858080387,
-0.02260473370552063,
-0.026804937049746513,
-0.009421820752322674,
0.008176079019904137,
0.0874406099319458,
-0.018480896949768066,
-0.011512377299368382,
-0.036560866981744766,
0.012247412465512753,
0.042422059923410416,
0.019970059394836426,
0.018786367028951645,
-0.006047339178621769,
-0.025659427046775818,
-0.021077387034893036,
-0.05338077247142792,
0.04192567244172096,
-0.018051330000162125,
0.02216562069952488,
0.023215672001242638,
0.07671099901199341,
-0.020561907440423965,
0.02157377451658249,
0.013030177913606167,
-0.07778013497591019,
0.06796693801879883,
0.013144728727638721,
-0.008510185405611992,
-0.019521402195096016,
-0.027224957942962646,
-0.04307118058204651,
0.04150564968585968,
0.04845507815480232,
0.04566767066717148,
-0.05196797847747803,
-0.005393443629145622,
-0.005049790721386671,
0.08232399821281433,
0.04669862985610962,
0.026804937049746513,
-0.060750219970941544,
-0.0365990474820137,
-0.04394940659403801,
0.012428784742951393,
-0.012295141816139221,
-0.03150152787566185,
0.03785910829901695,
-0.03847004845738411,
-0.023139305412769318,
0.05082246661186218,
-0.023616600781679153,
-0.011961035430431366,
-0.018184972926974297,
-0.008133121766149998,
0.026728570461273193,
-0.003317206399515271,
0.01674354076385498,
-0.062888503074646,
0.00028190287412144244,
0.03711452707648277,
0.03633176162838936,
-0.05697003751993179,
-0.008500640280544758,
0.023082029074430466,
-0.020810101181268692,
0.05528995767235756,
-0.03075694665312767,
-0.08957888931035995,
-0.10553966462612152,
0.031215151771903038,
-0.017173105850815773,
0.02653765119612217,
0.0015440521528944373,
0.042880263179540634,
0.03699997812509537,
0.08217126131057739,
0.05402989313006401,
-0.02298657037317753,
-0.025983989238739014,
-0.06808148324489594,
-0.06934154778718948,
0.05823009833693504,
-0.047538671642541885,
-0.015359382145106792,
-0.036198120564222336,
-0.009607966057956219,
-0.00009672699525253847,
0.026785844936966896,
-0.04165838658809662,
0.0470040999352932,
-0.029916906729340553,
0.05150977149605751,
-0.010538693517446518,
-0.02630854956805706,
0.0403219573199749,
-0.09889570623636246,
-0.025812162086367607,
-0.047767773270606995,
-0.038202762603759766,
-0.004193044267594814,
0.017621764913201332,
0.02607944793999195,
0.03621721267700195,
0.0655231773853302,
0.06911244243383408,
-0.015493025071918964,
-0.018719544634222984,
-0.06502678990364075,
-0.03356344625353813,
0.04543856903910637,
-0.022585641592741013,
-0.03535807877779007,
-0.02483847737312317,
-0.00450328690931201,
-0.017144467681646347,
0.02800772339105606,
0.04165838658809662,
0.04841689392924309,
0.03535807877779007,
-0.06666868925094604,
-0.005173887591809034,
-0.013125636614859104,
0.016352158039808273,
-0.009746382012963295,
0.047615036368370056,
0.0017994055524468422,
-0.008400407619774342,
-0.12486060708761215,
-0.023731151595711708,
-0.05460264906287193,
-0.015836678445339203,
0.04570585489273071,
-0.014996636658906937,
0.009278631769120693,
0.011149631813168526,
0.010930076241493225,
-0.01297290250658989,
-0.0436057522892952,
-0.05418263003230095,
0.03929099813103676,
-0.020695550367236137,
0.0364844985306263,
0.0049256933853030205,
-0.015149371698498726,
0.02216562069952488,
-0.025583060458302498,
-0.04559130221605301,
-0.031616080552339554,
0.054946303367614746,
0.03327706828713417,
-0.05086065083742142,
0.015531208366155624,
0.02659492753446102,
-0.04986787587404251,
0.03774455934762955,
-0.025697611272335052,
0.011101902462542057,
0.05471720173954964,
-0.021211029961705208,
0.009660468436777592,
-0.02044735662639141,
0.050364263355731964,
0.03274249657988548,
0.0145193412899971,
-0.014967999421060085,
0.041391100734472275,
0.04669862985610962,
-0.009121124632656574,
-0.01104462705552578,
0.02016097865998745,
-0.06586683541536331,
-0.017593126744031906,
0.056664567440748215,
0.031386978924274445,
-0.02229926362633705,
-0.03963465243577957,
-0.04112381488084793,
-0.02415117248892784,
0.03677087649703026,
0.0235020499676466,
0.0364844985306263,
0.014996636658906937,
-0.01570303551852703,
-0.08705876767635345,
-0.02800772339105606,
-0.007412405218929052,
0.01578894816339016,
0.01920638605952263,
-0.05208252742886543,
0.03224610909819603,
-0.00332675245590508,
-0.007264443673193455,
0.005336168222129345,
-0.09561191499233246,
0.019063197076320648,
-0.038870979100465775,
-0.014271147549152374,
0.016581259667873383,
-0.05345714092254639,
0.018213611096143723,
-0.0015321198152378201,
-0.06086477264761925,
-0.004768185783177614,
-0.03587355837225914,
-0.03677087649703026,
-0.009388410486280918,
0.0174212995916605,
0.000887770380359143,
-0.05937561020255089,
-0.03016510047018528,
0.003080944996327162,
-0.03952009975910187,
-0.05742824077606201,
0.019817326217889786,
-0.04112381488084793,
0.023845702409744263,
-0.051700692623853683,
-0.010118672624230385,
-0.0005587345222011209,
0.03426984325051308,
0.014547978527843952,
0.027224957942962646,
0.01226650457829237,
0.028408652171492577,
-0.021974703297019005,
-0.0031573122832924128,
-0.006667823530733585,
0.020733732730150223,
-0.0030546938069164753,
-0.025964897125959396,
0.024437550455331802,
0.009068622253835201,
-0.0069732931442558765,
0.023177487775683403,
0.07354175299406052,
-0.032513394951820374,
-0.0017552556237205863,
0.009283404797315598,
-0.00856746081262827,
0.06842514127492905,
-0.023922070860862732,
-0.010023213922977448,
-0.02852320298552513,
-0.016142146661877632,
-0.004236001055687666,
-0.05876467004418373,
-0.07411450892686844,
0.0027921809814870358,
0.09095350652933121,
-0.035682640969753265,
0.09568828344345093,
-0.027893172577023506,
-0.01748812198638916,
0.022203804925084114,
0.058802854269742966,
0.05823009833693504,
-0.009192719124257565,
-0.04593495652079582,
-0.004911374766379595,
-0.023692967370152473,
0.00605688476935029,
-0.008261991664767265,
-0.024342089891433716,
0.03654177486896515,
-0.005407762248069048,
0.016800815239548683,
0.003582105739042163,
0.04471307992935181,
0.019244570285081863,
0.032188836485147476,
0.04253660887479782,
-0.016628988087177277,
0.048875100910663605,
0.04135291650891304,
-0.0034174385946244,
0.03186427429318428,
-0.007441042922437191,
-0.029687805101275444,
0.022356539964675903,
-0.017163559794425964,
-0.07583276927471161,
0.014328422956168652,
-0.0029902588576078415,
0.008142667822539806,
0.03478532284498215,
0.06357581168413162,
-0.014290238730609417,
-0.07640552520751953,
-0.023673877120018005,
-0.025258498266339302,
-0.016867637634277344,
-0.01267697848379612,
-0.028064997866749763,
-0.003873256267979741,
-0.008729741908609867,
0.02712949924170971,
0.05845919996500015,
-0.02911504916846752,
-0.03738181293010712,
0.03432711958885193,
-0.020409172400832176,
0.012610157020390034,
0.005274119786918163,
-0.004264638759195805,
-0.02846592664718628,
-0.006825331132858992,
0.10019395500421524,
0.011436009779572487,
0.015244830399751663,
0.0014808104606345296,
-0.042192958295345306,
-0.028122274205088615,
0.01118781603872776,
-0.006916017271578312,
-0.01770767755806446,
-0.009149761870503426,
0.03921462967991829,
-0.014366606250405312,
-0.06559954583644867,
0.02674766257405281,
0.007035341579467058,
-0.010471872054040432,
-0.015216193161904812,
0.018051330000162125,
-0.02252836525440216,
-0.0023124986328184605,
0.051624324172735214,
-0.01690581999719143,
0.0055843619629740715,
-0.042345691472291946,
-0.0077226473949849606,
0.027835896238684654,
-0.045018550008535385,
-0.006667823530733585,
0.019320936873555183,
0.02067645825445652,
-0.022280171513557434,
0.05582452937960625,
0.06151389330625534,
0.037840019911527634,
-0.04066561162471771,
0.030585121363401413,
-0.003668018849566579,
-0.06338489800691605,
0.0078037879429757595,
-0.0014068296877667308,
0.04330028221011162,
0.012180591002106667,
0.07170893251895905,
-0.04971513897180557,
0.021821968257427216,
-0.008290629833936691,
-0.013221096247434616,
0.03186427429318428,
0.04757685586810112,
0.0021251600701361895,
-0.021306488662958145,
-0.007498318329453468,
-0.02749224379658699,
-0.05254073068499565,
-0.02735860086977482,
0.04646952822804451,
0.09492460638284683,
-0.026423100382089615,
-0.023005662485957146,
-0.020924651995301247,
-0.01918729394674301,
-0.038126394152641296,
-0.0420784056186676,
-0.06785238534212112,
0.03593083471059799,
-0.12394420057535172,
-0.0039018939714878798,
-0.018366346135735512,
0.017736315727233887,
-0.0555572435259819,
-0.07422905415296555,
0.004336233250796795,
0.012886988930404186,
0.008767925202846527,
0.0011723580537363887,
-0.012562427669763565,
-0.027549518272280693,
0.059184689074754715,
0.008615191094577312,
-0.0036226757802069187,
-0.004897055681794882,
-0.01770767755806446,
0.0756036713719368,
-0.02415117248892784,
-0.023292040452361107,
0.02743496745824814,
-0.02617490664124489,
0.025373049080371857,
0.029172325506806374,
0.01170329563319683,
-0.009956392459571362,
-0.007398086134344339,
0.0695706456899643,
0.029974181205034256,
-0.014757988974452019,
0.008261991664767265,
0.04058924317359924,
0.004436465445905924,
-0.023082029074430466,
0.016256697475910187,
-0.020657366141676903,
-0.0014688781229779124,
0.043682120740413666,
0.04822597652673721,
0.03774455934762955,
0.017077647149562836,
-0.01370793767273426,
0.023960253223776817,
-0.03132970258593559,
0.06292668730020523,
-0.0588410384953022,
0.0030021911952644587,
0.0872115045785904,
0.020141886547207832,
0.030871497467160225,
0.06663050502538681,
0.06819603592157364,
-0.05460264906287193,
-0.0005730533739551902,
0.015015728771686554,
0.024284815415740013,
-0.03350616991519928,
0.06491224467754364,
-0.019588222727179527,
-0.012390601448714733,
-0.001706332783214748,
-0.036789968609809875,
-0.0014796173200011253,
0.01564575918018818,
-0.006252576131373644,
0.02987872250378132,
-0.02533486671745777,
-0.004376803524792194,
-0.023845702409744263,
0.0011741479393094778,
0.017984509468078613,
0.008319267071783543,
0.06789056956768036,
-0.04001648724079132,
-0.027530426159501076,
-0.05063154920935631,
0.024399366229772568,
0.06220120191574097,
-0.025812162086367607,
0.06033020094037056,
-0.033544354140758514,
-0.054068077355623245,
0.02291020192205906,
0.044293057173490524,
0.02371205948293209,
0.005627318751066923,
-0.03974920138716698,
0.06369036436080933,
0.012285596691071987,
0.0018137244042009115,
0.0027850214391946793,
-0.017688585445284843,
-0.017745861783623695,
0.020332805812358856,
-0.023521142080426216,
0.031005140393972397,
0.06128479167819023,
0.01193239726126194,
0.04074197635054588,
-0.021211029961705208,
0.07083071023225784,
0.07743648439645767,
0.0007284728344529867,
-0.0105196014046669,
0.020657366141676903,
0.056206364184617996,
-0.05250254645943642,
0.07522182911634445,
0.0023447161074727774,
-0.01816588081419468,
0.026442192494869232,
0.02134467288851738,
-0.06166663020849228,
0.04475126415491104,
-0.0210392028093338,
-0.051089752465486526,
-0.000787538243457675,
0.021459223702549934,
-0.006453040521591902,
0.016638534143567085,
-0.026804937049746513,
0.022738376632332802,
-0.0012350031174719334,
-0.020638274028897285,
0.040283773094415665,
-0.036942701786756516,
-0.006806239485740662,
0.0365990474820137,
-0.001874579582363367,
-0.05063154920935631,
-0.028580477461218834,
0.029286876320838928,
0.02163104899227619,
-0.005140476860105991,
-0.01964549906551838,
0.050364263355731964,
-0.006787147372961044,
0.008715422824025154,
-0.012629249133169651,
0.009937300346791744,
-0.009889570996165276,
0.04173475131392479,
0.0874406099319458,
0.014261601492762566,
0.03795456886291504,
-0.004868417978286743,
-0.026728570461273193,
-0.03952009975910187,
-0.001831623027101159,
0.03409801796078682,
-0.003961556125432253,
-0.037916384637355804,
0.022031977772712708,
-0.009765474125742912,
-0.0302414670586586,
-0.03245612233877182,
-0.024074804037809372,
0.026270365342497826,
0.015378473326563835,
0.012237866409122944,
-0.034861691296100616,
-0.019836416468024254,
0.0151207335293293,
-0.03654177486896515,
-0.04062742739915848,
0.10783068835735321,
-0.06372854858636856,
0.048798732459545135,
-0.00424077408388257,
-0.03699997812509537,
0.03831731528043747,
-0.033315252512693405,
0.008615191094577312,
-0.017287656664848328,
0.10370685160160065,
0.014767535030841827,
0.0239411611109972,
0.05334258824586868,
-0.038355499505996704,
0.05513722077012062,
0.04299481213092804,
0.052808016538619995,
-0.023139305412769318,
0.02304384484887123,
-0.022031977772712708,
-0.030890589579939842,
0.0010816717986017466,
-0.015664851292967796,
0.0019044106593355536,
0.004780118353664875,
0.006200073752552271,
0.007421951275318861,
-0.0420784056186676,
0.02630854956805706,
-0.03711452707648277,
-0.09064803272485733,
0.03104332461953163,
-0.017306748777627945,
-0.011827392503619194,
-0.009350226260721684,
0.028332283720374107,
0.042651161551475525,
0.010443233884871006,
0.005192979238927364,
-0.03661813959479332,
-0.03829822316765785,
-0.03713361918926239,
0.05166250839829445,
0.012810621410608292,
0.007875381968915462,
0.022471090778708458,
-0.035319894552230835,
0.01048141811043024,
-0.0014605254400521517,
-0.015015728771686554,
-0.023444773629307747,
0.03400256112217903,
-0.006099841557443142,
0.0487605482339859,
-0.0035964245907962322,
0.014901177957654,
-0.014252055436372757,
0.02579306997358799,
-0.05135703831911087,
0.027034038677811623,
-0.01668626442551613,
-0.029229599982500076,
0.010357321240007877,
-0.0028208186849951744,
0.007288308348506689
] |
719,625
|
ibm_platform_services.iam_access_groups_v2
|
delete_access_group
|
Delete an access group.
This API is used for deleting an access group. If the access group has no members
or rules associated with it, the group and its policies will be deleted. However,
if rules or members do exist, set the `force` parameter to true to delete the
group as well as its associated members, rules, and policies.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param bool force: (optional) If force is true, delete the group as well as
its associated members and rules.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_access_group(
self,
access_group_id: str,
*,
transaction_id: str = None,
force: bool = None,
**kwargs,
) -> DetailedResponse:
"""
Delete an access group.
This API is used for deleting an access group. If the access group has no members
or rules associated with it, the group and its policies will be deleted. However,
if rules or members do exist, set the `force` parameter to true to delete the
group as well as its associated members, rules, and policies.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param bool force: (optional) If force is true, delete the group as well as
its associated members and rules.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='delete_access_group',
)
headers.update(sdk_headers)
params = {
'force': force,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, *, transaction_id: Optional[str] = None, force: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.017995895817875862,
0.06080347299575806,
0.01021438930183649,
-0.025313112884759903,
0.017150888219475746,
-0.05720057711005211,
-0.0721321552991867,
0.08892089873552322,
0.030698882415890694,
-0.012090122327208519,
0.026093121618032455,
0.03552750125527382,
0.03342891111969948,
-0.022155938670039177,
-0.026334552094340324,
-0.045760463923215866,
-0.03441320359706879,
0.00007863919017836452,
0.036846086382865906,
-0.027745995670557022,
0.01251726970076561,
0.04494331032037735,
-0.032481756061315536,
-0.08141796290874481,
0.01933305338025093,
0.014950151555240154,
0.049957647919654846,
0.029454583302140236,
0.0021496645640581846,
0.04564903303980827,
-0.005190766882151365,
0.005933631211519241,
0.008789017796516418,
0.07703506201505661,
-0.04152613505721092,
-0.05697771906852722,
0.0025582402013242245,
0.008621873334050179,
-0.044311877340078354,
0.03350319713354111,
-0.017995895817875862,
0.008134367875754833,
-0.0000201857510546688,
-0.04899192228913307,
-0.026575982570648193,
-0.014569433405995369,
-0.04628046974539757,
0.0529291070997715,
-0.07644077390432358,
-0.006453636568039656,
-0.023827383294701576,
-0.04152613505721092,
-0.03159032016992569,
-0.028674576431512833,
-0.009086163714528084,
0.010251532308757305,
0.00047299586003646255,
-0.03621465340256691,
0.048100486397743225,
-0.02143164537847042,
0.043977588415145874,
0.05025479570031166,
-0.004995764698833227,
-0.027411704882979393,
-0.045834749937057495,
-0.029027435928583145,
-0.08624658733606339,
-0.007619005627930164,
-0.003386998549103737,
0.003932539839297533,
-0.03764466568827629,
0.013733710162341595,
0.024514533579349518,
-0.04654046893119812,
-0.010576535947620869,
0.03959468752145767,
-0.01595301926136017,
-0.013705852441489697,
0.01716945879161358,
-0.005928988568484783,
-0.006012560799717903,
-0.033818911761045456,
0.07918937504291534,
-0.0032709259539842606,
0.01592516154050827,
0.01268441416323185,
0.012173694558441639,
-0.007354360073804855,
0.024644535034894943,
-0.05905773863196373,
0.032221753150224686,
0.01003795862197876,
-0.030271735042333603,
0.0011775565799325705,
-0.032314613461494446,
0.03562036156654358,
-0.006295777857303619,
0.0031943179201334715,
-0.01260084193199873,
-0.012832987122237682,
0.0353417843580246,
-0.01790303736925125,
-0.01907305046916008,
-0.0017097494564950466,
0.007744363974779844,
-0.03959468752145767,
0.04665189981460571,
-0.016677310690283775,
0.026315979659557343,
0.021543074399232864,
0.013492279686033726,
-0.03729180619120598,
0.03948325663805008,
-0.024885965511202812,
0.014662290923297405,
0.036251794546842575,
0.015005866065621376,
-0.0706835687160492,
-0.004178613889962435,
-0.01781018078327179,
-0.022991660982370377,
-0.03926039859652519,
0.05790629982948303,
0.005692200269550085,
0.05534341558814049,
0.054823409765958786,
-0.06544637680053711,
0.04059755429625511,
0.08156654238700867,
-0.015767302364110947,
0.03571321815252304,
-0.015609443187713623,
0.01537729799747467,
0.003988254815340042,
0.005130408797413111,
-0.011765118688344955,
0.03673465549945831,
0.030048875138163567,
-0.00842687115073204,
-0.012545126490294933,
0.031218886375427246,
-0.008361870422959328,
-0.013009416870772839,
0.029268868267536163,
-0.01079939492046833,
-0.05088622868061066,
-0.003814145689830184,
-0.08736088126897812,
-0.057943444699048996,
0.005808272864669561,
-0.02765313722193241,
-0.017958752810955048,
0.013167276047170162,
0.009824384935200214,
-0.05133194848895073,
0.023715954273939133,
-0.02748599275946617,
0.010576535947620869,
0.01659373939037323,
0.038443244993686676,
-0.03023459203541279,
0.040708981454372406,
-0.00709900027140975,
0.014058713801205158,
0.007725792471319437,
-0.0440518744289875,
0.08535514771938324,
0.02798742614686489,
-0.031293172389268875,
-0.03900039568543434,
-0.04531474411487579,
0.0502176508307457,
-0.020298777148127556,
-0.033911772072315216,
-0.022081652656197548,
0.04631761088967323,
0.04821191728115082,
0.02789456769824028,
-0.022285940125584602,
-0.04212042689323425,
-0.006486136931926012,
-0.012164408341050148,
0.02765313722193241,
-0.02941744029521942,
0.011282256804406643,
0.018033038824796677,
-0.015674443915486336,
0.037254661321640015,
-0.003041102085262537,
-0.031887464225292206,
-0.02562883123755455,
-0.03660465404391289,
-0.013390135020017624,
-0.018664473667740822,
0.038108956068754196,
-0.03326176479458809,
-0.010780823417007923,
-0.008278298191726208,
0.058946311473846436,
0.007094357628375292,
-0.03409748896956444,
-0.0086775878444314,
0.04880620911717415,
0.036177508533000946,
0.04394044354557991,
-0.026111692190170288,
0.01029796153306961,
-0.021635932847857475,
-0.07551219314336777,
-0.0026789556723088026,
-0.038257528096437454,
0.0037793240044265985,
0.05824058875441551,
-0.0075493622571229935,
0.03836895897984505,
0.015405155718326569,
0.05419197678565979,
0.024978823959827423,
-0.003491463838145137,
-0.02126450091600418,
-0.02622312307357788,
-0.009647954255342484,
0.05857487767934799,
0.008686873130500317,
-0.015841588377952576,
-0.020521635189652443,
0.010010100901126862,
0.020614493638277054,
-0.018627330660820007,
-0.024050243198871613,
0.04215756803750992,
-0.035416074097156525,
0.025554543361067772,
0.024310246109962463,
0.01411442831158638,
-0.08981233835220337,
0.028043141588568687,
-0.02369738183915615,
-0.0008525532903149724,
0.022081652656197548,
-0.00718257250264287,
0.04122898727655411,
0.04219471290707588,
0.08624658733606339,
-0.05983774736523628,
0.02250879816710949,
-0.04048612341284752,
0.014606576412916183,
0.06191777065396309,
-0.01360370870679617,
-0.04278900474309921,
-0.06522351503372192,
-0.014272287487983704,
-0.018720189109444618,
0.021895935758948326,
-0.005343982484191656,
-0.020725924521684647,
0.025257397443056107,
0.0017898394726216793,
0.026575982570648193,
0.0037212877068668604,
-0.013315849006175995,
-0.07762935757637024,
-0.004378258716315031,
0.06076632812619209,
0.037087518721818924,
0.023957384750247,
0.004443259444087744,
0.015693016350269318,
0.021635932847857475,
0.06815782934427261,
0.03621465340256691,
0.016918743029236794,
-0.022044507786631584,
-0.08104653656482697,
0.02925029583275318,
0.013482993468642235,
-0.04494331032037735,
0.005706129129976034,
-0.0013371563982218504,
0.018543759360909462,
-0.03573178872466087,
-0.055826280266046524,
0.004445580765604973,
-0.036418940871953964,
0.07075785845518112,
0.009234736673533916,
0.046837616711854935,
-0.03140460327267647,
0.08973804861307144,
0.009740812703967094,
0.005097908899188042,
-0.04308614879846573,
-0.011142970062792301,
-0.04661475867033005,
-0.008714730851352215,
-0.046577613800764084,
0.001781714498065412,
-0.016417309641838074,
0.050106219947338104,
-0.008208654820919037,
0.0155815863981843,
0.027783138677477837,
-0.0010121531086042523,
-0.0374775230884552,
-0.03719894587993622,
0.054897699505090714,
0.00416004192084074,
0.05318911001086235,
0.050774797797203064,
-0.042974721640348434,
-0.030383164063096046,
0.007071143016219139,
-0.019723055884242058,
-0.007001499179750681,
0.032054610550403595,
0.02899029292166233,
-0.016918743029236794,
0.04156327620148659,
0.02016877569258213,
-0.005576127674430609,
-0.019630199298262596,
0.009592239744961262,
0.0072336443699896336,
0.05965203046798706,
-0.03697608783841133,
-0.0019244836876168847,
0.03653036803007126,
0.04371758550405502,
0.019110193476080894,
-0.0009338040836155415,
-0.001485729357227683,
-0.01990877278149128,
0.005924345459789038,
0.010325818322598934,
-0.022285940125584602,
0.02737456187605858,
-0.05326339602470398,
-0.0017584998859092593,
0.005998631939291954,
-0.038443244993686676,
0.056754861027002335,
0.04665189981460571,
0.006760068237781525,
-0.020633066073060036,
0.016491595655679703,
0.05437769368290901,
-0.044311877340078354,
0.008422227576375008,
0.016538023948669434,
0.0037282519042491913,
0.05040336772799492,
0.03417177498340607,
0.005817558616399765,
0.03218461200594902,
-0.009309022687375546,
0.03829467296600342,
0.057943444699048996,
-0.027095988392829895,
-0.025907404720783234,
0.02445881813764572,
-0.029603157192468643,
0.0040532550774514675,
0.008970091119408607,
0.018580902367830276,
-0.044906169176101685,
-0.08951519429683685,
-0.04026326537132263,
-0.0026882414240390062,
0.00705721415579319,
0.005622556898742914,
0.0015518907457590103,
0.010576535947620869,
0.011560831218957901,
0.04241757094860077,
0.025944547727704048,
0.02226736769080162,
-0.03803467005491257,
0.042900435626506805,
-0.011570117436349392,
0.01990877278149128,
-0.03933468461036682,
0.028526002541184425,
0.027504563331604004,
-0.029788872227072716,
-0.021877363324165344,
0.00463129673153162,
0.029287438839673996,
-0.023474523797631264,
0.014160857535898685,
0.06009775027632713,
-0.08468656986951828,
-0.006992213428020477,
-0.02141307294368744,
-0.04631761088967323,
-0.03144174814224243,
-0.03394891321659088,
0.008561515249311924,
-0.06240063160657883,
0.01950019784271717,
-0.023307379335165024,
0.05556627735495567,
-0.034654635936021805,
-0.01003795862197876,
0.043049007654190063,
-0.019871629774570465,
0.04015183448791504,
-0.03075459599494934,
-0.00035895450855605304,
-0.010604392737150192,
0.03829467296600342,
0.030940312892198563,
-0.023975957185029984,
0.037681810557842255,
0.06470350921154022,
0.05753486603498459,
-0.03153460472822189,
0.09954386204481125,
-0.01343656424432993,
-0.0305874515324831,
0.036846086382865906,
0.025591688230633736,
-0.043049007654190063,
-0.047766197472810745,
0.01981591433286667,
-0.047023333609104156,
0.018228041008114815,
0.02789456769824028,
-0.02705884538590908,
-0.03133031725883484,
0.029640300199389458,
-0.003918610978871584,
-0.07800079137086868,
0.026353124529123306,
-0.05285482108592987,
0.025833118706941605,
-0.04349472373723984,
0.021357359364628792,
0.04865763336420059,
0.030773168429732323,
0.01716945879161358,
-0.01546087022870779,
-0.023047376424074173,
-0.020874496549367905,
-0.02460739202797413,
0.010307246819138527,
0.06945784389972687,
-0.051034800708293915,
0.05348625406622887,
-0.009982244111597538,
0.07008928060531616,
0.04564903303980827,
0.06592924147844315,
-0.01794946752488613,
-0.06299491971731186,
-0.023994527757167816,
-0.019853057339787483,
-0.02999315969645977,
-0.047171905636787415,
-0.031943179666996,
0.03387462720274925,
-0.03521178290247917,
-0.048360489308834076,
0.009062948636710644,
-0.008747231215238571,
0.05055193975567818,
0.05374625697731972,
0.03981754556298256,
-0.012916559353470802,
-0.02687312848865986,
-0.013585137203335762,
-0.08149225264787674,
-0.0353417843580246,
0.0644063651561737,
-0.04594617709517479,
0.06741496920585632,
-0.01692802831530571,
-0.013872997835278511,
-0.018701618537306786,
0.052966248244047165,
0.024570249021053314,
-0.057943444699048996,
0.00865437276661396,
-0.01013081707060337,
0.005659699905663729,
-0.05285482108592987,
0.024570249021053314,
-0.004447902087122202,
-0.04226899892091751,
-0.054823409765958786,
0.04208328202366829,
-0.038591817021369934,
-0.024978823959827423,
-0.01950019784271717,
0.061546336859464645,
0.015693016350269318,
-0.017940182238817215,
-0.02107878401875496,
-0.017253031954169273,
-0.08097224682569504,
-0.022081652656197548,
0.01966734230518341,
-0.05352339893579483,
-0.03888896480202675,
0.028043141588568687,
-0.04720905050635338,
-0.010242246091365814,
-0.02494168095290661,
0.00416004192084074,
-0.022620229050517082,
-0.089366614818573,
0.028451716527342796,
-0.003205925226211548,
0.03484035283327103,
-0.025721687823534012,
0.023214520886540413,
-0.039186108857393265,
0.02185879275202751,
0.0374775230884552,
-0.012786557897925377,
0.021134499460458755,
-0.01013081707060337,
-0.08684087544679642,
0.019091621041297913,
-0.006346849724650383,
-0.043049007654190063,
0.02310309000313282,
-0.0022877908777445555,
0.07198358327150345,
-0.038851819932460785,
0.026334552094340324,
0.02705884538590908,
-0.00995438639074564,
-0.009582954458892345,
-0.008022937923669815,
-0.040708981454372406,
-0.053300537168979645,
0.00463129673153162,
-0.10400105267763138,
0.03430177643895149,
0.00501897931098938,
-0.029343154281377792,
-0.06544637680053711,
-0.015005866065621376,
-0.047357622534036636,
0.03656751289963722,
0.07800079137086868,
0.023994527757167816,
0.04754333943128586,
0.031200315803289413,
0.03244461491703987,
-0.0002697237068787217,
0.04895478114485741,
0.03645608201622963,
0.018014468252658844,
0.05374625697731972,
-0.02603740617632866,
-0.02956601232290268,
0.035323213785886765,
-0.04312329366803169,
-0.01171868946403265,
0.01950019784271717,
0.058092016726732254,
-0.02746742032468319,
0.012025121599435806,
0.06864069402217865,
0.04899192228913307,
0.018190898001194,
0.005910417065024376,
0.026575982570648193,
-0.04973478987812996,
-0.08364655822515488,
-0.023753097280859947,
0.011848690919578075,
-0.05081194266676903,
0.06217776983976364,
0.017791608348488808,
0.04371758550405502,
0.008970091119408607,
-0.026594555005431175,
0.05500912666320801,
-0.016770169138908386,
0.05545484647154808,
0.03274175897240639,
-0.03084745444357395,
0.019778771325945854,
0.031107457354664803,
-0.034914638847112656,
0.04241757094860077,
-0.009759384207427502,
-0.032388899475336075,
-0.0069782850332558155,
0.04342043772339821,
-0.03493320941925049,
-0.0386289618909359,
0.047691911458969116,
-0.008612587116658688,
-0.0007631773478351533,
-0.033726055175065994,
0.02234165370464325,
0.05181480944156647,
-0.007781507447361946,
0.05738629400730133,
0.01933305338025093,
0.004211113788187504,
0.08669230341911316,
0.0010736716212704778,
-0.05820344388484955,
-0.023325949907302856,
-0.0717235803604126,
-0.05270624905824661,
-0.010335104539990425,
-0.017726607620716095,
-0.030290305614471436,
-0.03497035428881645,
-0.05779486894607544,
0.033818911761045456,
0.027281705290079117,
-0.0042343284003436565,
-0.07458361238241196,
0.04401472955942154,
-0.028247429057955742,
-0.02393881417810917,
0.019017335027456284,
0.0015008187619969249,
0.07948651909828186,
-0.029361724853515625,
0.013705852441489697,
-0.0379975289106369,
0.0028228857554495335,
-0.028433144092559814,
0.01495943684130907,
-0.08453799784183502,
-0.008645087480545044,
0.020280204713344574,
-0.03866610676050186,
0.034487493336200714,
0.004187899641692638,
0.01222940906882286,
-0.005617913790047169,
0.03084745444357395,
0.029120294377207756,
0.00017381872748956084,
0.047171905636787415,
-0.05664343014359474,
0.03211032599210739,
0.014420860446989536,
0.03225889801979065,
0.05166623741388321,
-0.02806171216070652,
-0.0379975289106369,
0.08698944747447968,
-0.03814610093832016,
-0.09285808354616165,
0.028526002541184425,
0.029677443206310272,
-0.017299460247159004,
0.04932621121406555,
-0.07710935175418854,
-0.025888832286000252,
0.0330389067530632,
-0.005747915245592594,
-0.009657240472733974,
-0.0452033132314682,
-0.03576893359422684,
-0.05749772489070892,
0.03276032954454422,
-0.01828375644981861,
0.05200052633881569,
-0.005413626320660114,
-0.005320767872035503,
0.015776587650179863,
0.0022378796711564064,
0.04921478405594826,
-0.009666526690125465,
-0.03404177352786064,
0.047766197472810745,
-0.012953702360391617,
0.05304053798317909,
0.048100486397743225,
0.04067184031009674,
0.06329207122325897,
0.009123306721448898,
-0.07142643630504608,
0.02748599275946617,
-0.020521635189652443,
-0.0030109232757240534,
-0.02202593721449375,
-0.060023464262485504,
0.003222175408154726,
0.0055575561709702015,
-0.02024306170642376,
-0.030550308525562286,
-0.03900039568543434,
0.023901671171188354,
0.01171868946403265,
0.012498698197305202,
0.03216603770852089,
-0.04193470999598503,
0.0418604239821434,
-0.032314613461494446,
-0.040188979357481,
0.004343436565250158,
0.022824516519904137,
0.009309022687375546,
0.06782354414463043,
0.0013615316711366177,
-0.0007811686373315752,
0.005850058980286121,
-0.03250033035874367,
0.008292227052152157,
0.04375472664833069,
0.0059057739563286304,
0.014420860446989536,
0.01038153376430273,
0.015590871684253216,
-0.031126029789447784,
-0.027355991303920746,
-0.014272287487983704,
0.03201746568083763,
-0.04312329366803169,
0.008143654093146324,
-0.036938946694135666,
0.03207318112254143,
-0.04680047184228897,
-0.02722598984837532,
-0.05047765374183655,
0.05924345552921295,
0.02234165370464325,
-0.02007591724395752,
0.03929753974080086,
0.04587189108133316,
-0.010251532308757305,
-0.05872344970703125,
0.016482310369610786,
0.02670598402619362,
-0.006643995642662048,
-0.03495178371667862,
0.0651492327451706,
0.013956570066511631,
0.0075400760397315025,
0.01218298077583313,
-0.0200944896787405,
-0.08951519429683685,
-0.049511928111314774,
0.014662290923297405,
-0.02107878401875496,
0.020967354997992516,
0.007674720603972673,
-0.009271879680454731,
0.013482993468642235,
-0.014671577140688896,
0.011709404177963734,
0.031033171340823174,
0.05148052051663399,
0.005125766154378653,
-0.020113060250878334,
-0.004566296003758907,
0.0029273510444909334,
-0.016463737934827805,
0.015618729405105114,
0.0016702847788110375,
0.007758292835205793,
-0.03562036156654358,
0.00033835164504125714,
-0.00463129673153162,
-0.017865894362330437,
-0.014922293834388256
] |
719,626
|
ibm_platform_services.iam_access_groups_v2
|
delete_assignment
|
Delete assignment.
Delete an access group template assignment.
:param str assignment_id: assignment id path parameter.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_assignment(
self,
assignment_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete assignment.
Delete an access group template assignment.
:param str assignment_id: assignment id path parameter.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='delete_assignment',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.0031788996420800686,
0.045080963522195816,
0.002708936808630824,
-0.046074092388153076,
0.0006628249539062381,
-0.009496795944869518,
-0.09413444250822067,
0.05100426822900772,
-0.030414575710892677,
-0.043272048234939575,
0.014559980481863022,
-0.01138551440089941,
0.01649303548038006,
0.010640667751431465,
-0.009700742550194263,
-0.05579257011413574,
-0.007727785035967827,
0.02667260728776455,
-0.00555088184773922,
-0.054373811930418015,
0.030166294425725937,
0.016262488439679146,
-0.010117501951754093,
0.021476414054632187,
-0.013531383126974106,
-0.03367771580815315,
0.07427186518907547,
-0.023391734808683395,
0.006645984016358852,
0.04174688830971718,
0.0007731110090389848,
0.01961429789662361,
-0.03378412127494812,
0.09406350553035736,
-0.01863890327513218,
0.001859900075942278,
-0.02599869854748249,
0.006096215918660164,
-0.07597436755895615,
0.009381522424519062,
-0.03848375007510185,
0.014391503296792507,
0.017831986770033836,
-0.026956358924508095,
-0.01698959991335869,
0.005386838223785162,
0.008827321231365204,
-0.0533452145755291,
-0.004025719594210386,
-0.012759934179484844,
0.006495241075754166,
-0.019064530730247498,
-0.03273778781294823,
0.032436303794384,
-0.003648862475529313,
0.060651808977127075,
0.036071863025426865,
-0.007585909683257341,
0.041037511080503464,
-0.06001336872577667,
0.034901391714811325,
0.023303063586354256,
-0.055863507091999054,
-0.022469544783234596,
-0.0339614637196064,
-0.0508623942732811,
-0.0533452145755291,
0.0017656858544796705,
-0.006836629007011652,
-0.02881847508251667,
-0.03046777844429016,
-0.008534702472388744,
0.01573045365512371,
-0.07668374478816986,
0.034156545996665955,
0.02798495627939701,
-0.028180034831166267,
-0.005714925471693277,
0.020660629495978355,
-0.022895170375704765,
-0.03915765881538391,
-0.04050547629594803,
0.07044122368097305,
0.00799380149692297,
0.0394059419631958,
0.0011117281392216682,
-0.014888067729771137,
-0.014799395576119423,
0.0017036153003573418,
-0.029279571026563644,
0.08271346241235733,
-0.00028485956136137247,
-0.015783658251166344,
-0.0068853991106152534,
0.024349395185709,
0.022593684494495392,
-0.009035700932145119,
-0.014710723422467709,
-0.03601866215467453,
-0.00035524312988854945,
-0.009040134027600288,
-0.032436303794384,
-0.035397954285144806,
0.00317668286152184,
-0.011607195250689983,
-0.027630267664790154,
0.0518200546503067,
0.0057548279874026775,
0.021760165691375732,
-0.009363788180053234,
0.01382400095462799,
0.0372423380613327,
-0.010995357297360897,
-0.007745519746094942,
0.03968968987464905,
0.027115968987345695,
-0.0511816143989563,
-0.1061229258775711,
-0.015783658251166344,
-0.07122153788805008,
-0.00251385779120028,
0.010959887877106667,
-0.00677012512460351,
0.034085605293512344,
0.04979832470417023,
0.027772143483161926,
-0.05795617029070854,
-0.008583472110331059,
0.008729781024158001,
-0.06334744393825531,
0.020430082455277443,
-0.0034560002386569977,
0.0039037950336933136,
0.0055065457709133625,
0.0038949279114603996,
0.026885421946644783,
0.007235654164105654,
0.059268519282341,
-0.0169009268283844,
-0.017956126481294632,
0.053770843893289566,
0.014293964020907879,
0.002892931690439582,
0.042846422642469406,
0.025129711255431175,
-0.06444697827100754,
-0.0038794102147221565,
0.006056313402950764,
-0.03816452994942665,
0.018567966297268867,
-0.04862785339355469,
-0.013070287182927132,
-0.004187546204775572,
-0.03438709303736687,
-0.01332743652164936,
0.03247177228331566,
-0.01084461435675621,
0.044761743396520615,
0.012422979809343815,
0.012680129148066044,
0.0121746975928545,
0.0011372213484719396,
0.020483285188674927,
0.03261364623904228,
0.06469526141881943,
-0.06983824819326401,
0.031177157536149025,
0.020926646888256073,
-0.047421909868717194,
-0.07831531763076782,
-0.04089563339948654,
0.04366220906376839,
-0.025821354240179062,
-0.036462023854255676,
-0.02881847508251667,
0.0032276692800223827,
0.053451623767614365,
0.03635561466217041,
-0.012990482151508331,
-0.03710046410560608,
0.005679456517100334,
-0.0192241407930851,
0.02277102880179882,
0.020571958273649216,
0.0317978635430336,
-0.007488369941711426,
-0.008126810193061829,
0.06994465738534927,
-0.003462650813162327,
-0.008233216591179371,
-0.01574818789958954,
-0.062318846583366394,
-0.02285970188677311,
0.04015078768134117,
0.03798718377947807,
-0.0372423380613327,
0.013912673108279705,
-0.07026387751102448,
0.04270454868674278,
0.010179572738707066,
-0.04117938503623009,
-0.02940371260046959,
0.055615223944187164,
0.05330974608659744,
0.034812718629837036,
0.007457335013896227,
0.0511816143989563,
-0.027931753545999527,
-0.04412330314517021,
0.026814483106136322,
-0.023976972326636314,
-0.008818453177809715,
0.07079590857028961,
0.014267362654209137,
0.000662270758766681,
0.021494150161743164,
0.06877418607473373,
-0.015517640858888626,
0.05008207634091377,
-0.033163413405418396,
-0.05036582797765732,
0.028339644894003868,
0.034085605293512344,
-0.028783006593585014,
0.010702738538384438,
-0.06852590292692184,
-0.014293964020907879,
0.0440523661673069,
-0.06160946935415268,
-0.0032188021577894688,
0.09810695797204971,
-0.02583908848464489,
0.0713634118437767,
0.010356917046010494,
0.04050547629594803,
-0.09285756200551987,
-0.05749507620930672,
-0.06785199046134949,
-0.015677250921726227,
0.01640436239540577,
-0.02857019379734993,
0.05228114873170853,
0.039618752896785736,
0.07597436755895615,
-0.034741781651973724,
0.009824883192777634,
-0.029049023985862732,
0.038802970200777054,
0.034582171589136124,
-0.08299721032381058,
0.01369986031204462,
-0.05962320789694786,
-0.04547112062573433,
-0.02011086232960224,
-0.008712046779692173,
0.06430510431528091,
-0.012440714053809643,
0.007559307850897312,
0.030325904488563538,
0.010525394231081009,
0.015588578768074512,
0.01088894996792078,
-0.07625812292098999,
-0.05479944124817848,
0.06352479010820389,
-0.010915552265942097,
-0.019170936197042465,
0.03467084467411041,
-0.0033296423498541117,
0.010037696920335293,
0.02888941392302513,
0.036887649446725845,
0.08242970705032349,
-0.006029712036252022,
-0.041853293776512146,
0.008233216591179371,
0.03717140108346939,
-0.03993797302246094,
0.025395726785063744,
0.018567966297268867,
0.005391271784901619,
-0.0642341673374176,
0.018940389156341553,
0.05249396339058876,
0.007758820429444313,
0.04944363608956337,
0.023320797830820084,
0.032170284539461136,
0.06948356330394745,
0.055615223944187164,
-0.024562207981944084,
0.028180034831166267,
-0.030503248795866966,
-0.005661722272634506,
-0.0029638693667948246,
0.012742199935019016,
-0.013708727434277534,
-0.010356917046010494,
0.005621819756925106,
0.09250287711620331,
0.04554205760359764,
-0.01762804016470909,
0.02342720329761505,
-0.014755059964954853,
-0.06434056907892227,
0.016439832746982574,
0.01988031528890133,
0.06597214192152023,
0.023657752200961113,
0.0030082054436206818,
0.014293964020907879,
-0.016422096639871597,
-0.02376415766775608,
0.04256267100572586,
0.04337845742702484,
0.025537602603435516,
0.04149860516190529,
-0.0009487929055467248,
0.03064512461423874,
0.0016814472619444132,
-0.011855477467179298,
0.0006500782910734415,
0.017166944220662117,
0.031123952940106392,
0.03420974686741829,
-0.06880965083837509,
0.011624929495155811,
0.030911140143871307,
0.027594799175858498,
0.04444252327084541,
-0.021636024117469788,
0.04032813012599945,
-0.014054548926651478,
-0.05093333125114441,
0.025111977010965347,
-0.03273778781294823,
0.008920426480472088,
-0.004260700661689043,
0.000282504188362509,
0.015269358642399311,
-0.02981160394847393,
0.02229219861328602,
0.08711159974336624,
0.00910663791000843,
-0.013469312340021133,
0.004890273790806532,
-0.023569079115986824,
-0.008884957991540432,
-0.004400359466671944,
-0.053699903190135956,
-0.02328532747924328,
0.11981391906738281,
0.031159423291683197,
0.015872329473495483,
0.00961207039654255,
0.024296192452311516,
0.032755523920059204,
0.042952828109264374,
-0.06799387186765671,
-0.018904920667409897,
-0.012910677120089531,
-0.047067221254110336,
-0.011562859639525414,
-0.03280872479081154,
0.0010723797604441643,
-0.03584131598472595,
-0.038554687052965164,
-0.023143453523516655,
0.003999117761850357,
-0.034812718629837036,
-0.031514111906290054,
-0.010410119779407978,
0.00019743427401408553,
-0.0018776345532387495,
-0.030503248795866966,
0.03296833485364914,
-0.022912904620170593,
-0.009532265365123749,
-0.003267571795731783,
-0.04281095415353775,
0.04075375944375992,
-0.061077434569597244,
-0.00677012512460351,
0.03592998906970024,
-0.08448690176010132,
-0.023888299241662025,
0.019082264974713326,
-0.02137000858783722,
0.016023073345422745,
0.0750521793961525,
0.06515635550022125,
-0.061644937843084335,
0.014302831143140793,
-0.0016227018786594272,
-0.02326759323477745,
-0.008787418715655804,
-0.06476619839668274,
0.02044781669974327,
-0.05284865200519562,
0.04866332188248634,
-0.0011726903030648828,
0.04238532856106758,
-0.00012975241406820714,
-0.003662163158878684,
0.06710714846849442,
-0.0062026227824389935,
0.0676037073135376,
-0.03766796365380287,
0.025555336847901344,
-0.04511643201112747,
0.0493372306227684,
0.024562207981944084,
-0.016342293471097946,
0.029456915333867073,
0.0394059419631958,
0.05589897558093071,
-0.022646889090538025,
0.01354025024920702,
0.013948142528533936,
-0.07363342493772507,
-0.020571958273649216,
0.014027947559952736,
0.005737093277275562,
-0.05657288432121277,
0.03204614669084549,
-0.0583108589053154,
-0.01320329587906599,
-0.014010212384164333,
-0.004668592941015959,
-0.031123952940106392,
-0.049408167600631714,
-0.02433166094124317,
-0.0048149023205041885,
0.013717594556510448,
-0.004544451832771301,
0.022735560312867165,
-0.005546448286622763,
0.05650194734334946,
0.02145867981016636,
0.0011815575417131186,
0.04323657974600792,
-0.016102878376841545,
-0.016342293471097946,
-0.06873871386051178,
-0.08505440503358841,
0.04089563339948654,
-0.01715807616710663,
-0.04330752044916153,
-0.06292181462049484,
0.0415695421397686,
0.0831390842795372,
0.0607936829328537,
0.048982542008161545,
0.007962766103446484,
-0.05004660785198212,
-0.048485975712537766,
0.02782534621655941,
-0.027701206505298615,
-0.032099347561597824,
-0.042101576924324036,
0.02874753810465336,
-0.009665273129940033,
0.016670379787683487,
0.030946608632802963,
-0.006162720266729593,
0.024349395185709,
0.038377340883016586,
0.052458494901657104,
-0.012813137844204903,
0.004114391747862101,
-0.03827093541622162,
-0.029864808544516563,
-0.050294890999794006,
0.07611624151468277,
-0.05235208570957184,
0.049408167600631714,
0.019685234874486923,
-0.020093128085136414,
0.01510974857956171,
0.04344939440488815,
0.036462023854255676,
-0.030006684362888336,
0.010676137171685696,
0.0412503220140934,
-0.004553318955004215,
-0.031673721969127655,
0.036391083151102066,
-0.029173165559768677,
-0.07760594040155411,
0.021316803991794586,
-0.01821327582001686,
-0.06622042506933212,
-0.002531592268496752,
-0.005954340565949678,
0.02940371260046959,
-0.036320146173238754,
0.0032498373184353113,
-0.02310798317193985,
-0.04348486289381981,
-0.06774558871984482,
0.018851716071367264,
0.022309934720396996,
0.021565087139606476,
-0.018922654911875725,
0.07859906554222107,
-0.006592780351638794,
0.017743313685059547,
-0.011314576491713524,
-0.007838625460863113,
0.004726230166852474,
-0.03387279435992241,
0.02865886501967907,
-0.04951457679271698,
0.01354025024920702,
-0.012485050596296787,
0.058346331119537354,
-0.012635793536901474,
-0.027311047539114952,
0.06160946935415268,
0.004677460063248873,
0.01846155896782875,
0.033571306616067886,
-0.038802970200777054,
0.011039692908525467,
0.0053247674368321896,
-0.015925532206892967,
-0.018018197268247604,
-0.022983843460679054,
0.004704061895608902,
0.031922005116939545,
-0.018009331077337265,
0.019490156322717667,
0.00006262476381380111,
-0.024775022640824318,
0.01681225560605526,
0.02369322068989277,
-0.07668374478816986,
-0.020749302580952644,
-0.04639331251382828,
0.029687464237213135,
-0.02608737163245678,
0.0021414344664663076,
-0.014932404272258282,
-0.03128356486558914,
-0.048485975712537766,
0.03451123461127281,
0.0207847710698843,
0.053699903190135956,
0.007532706018537283,
0.05912664532661438,
0.04958551377058029,
-0.04050547629594803,
0.011429850943386555,
0.006575046107172966,
-0.009949024766683578,
0.07604530453681946,
-0.03273778781294823,
0.023622283712029457,
0.05157177150249481,
0.011571726761758327,
-0.021050788462162018,
-0.015207287855446339,
0.034333888441324234,
-0.005289298482239246,
0.049408167600631714,
0.03699405491352081,
0.05174911394715309,
-0.0013522515073418617,
-0.016351159662008286,
-0.0009515638812445104,
-0.07810249924659729,
-0.020518755540251732,
0.011899814009666443,
-0.014329432509839535,
-0.054693032056093216,
-0.022327668964862823,
-0.007896262221038342,
-0.00437154108658433,
0.0359654575586319,
0.03834187239408493,
0.03305700793862343,
-0.004508982878178358,
0.03497232869267464,
0.015375765040516853,
-0.044087834656238556,
0.06196415796875954,
0.029013555496931076,
-0.05948133394122124,
0.00997562613338232,
-0.02981160394847393,
-0.020518755540251732,
-0.00439149234443903,
0.09463100880384445,
0.003247620537877083,
-0.021831104531884193,
0.04696081578731537,
-0.009966759011149406,
0.019933518022298813,
-0.019667500630021095,
-0.04167595133185387,
0.01706940494477749,
0.0060208444483578205,
0.014444706961512566,
0.039796099066734314,
0.07604530453681946,
0.039618752896785736,
0.02301931194961071,
-0.007807590067386627,
-0.01979164220392704,
-0.06526276469230652,
-0.01920640654861927,
-0.0521392747759819,
-0.012219034135341644,
-0.07774781435728073,
0.005652854684740305,
-0.05703398212790489,
0.01270673144608736,
0.04238532856106758,
-0.06405682116746902,
-0.04391048848628998,
0.010135236196219921,
0.009248513728380203,
-0.051217082887887955,
0.06341838091611862,
0.009035700932145119,
0.08767910301685333,
0.014098885469138622,
-0.008184446953237057,
-0.03926406428217888,
-0.0005880077369511127,
-0.056927572935819626,
-0.015881197527050972,
-0.06465978920459747,
0.026477528735995293,
0.02227446436882019,
-0.04192423075437546,
0.03777437284588814,
0.0013999128714203835,
0.0716826319694519,
-0.013655523769557476,
0.02268235757946968,
-0.010818012058734894,
-0.008698745630681515,
0.043839551508426666,
-0.0035247213672846556,
0.052706774324178696,
0.012555988505482674,
-0.01796499453485012,
-0.00811350904405117,
0.002031702548265457,
-0.014781661331653595,
0.050472233444452286,
-0.008907126262784004,
-0.09796508401632309,
-0.03710046410560608,
0.026300184428691864,
-0.033819589763879776,
0.030325904488563538,
-0.06948356330394745,
-0.02019953541457653,
0.0024717384949326515,
-0.0014730674447491765,
0.01387720461934805,
0.03298607096076012,
0.07349154353141785,
-0.019436953589320183,
-0.03419201448559761,
0.012307706288993359,
-0.004659725818783045,
0.02301931194961071,
-0.024987835437059402,
-0.019401485100388527,
0.015287092886865139,
0.008242083713412285,
-0.005626253318041563,
-0.02789628505706787,
0.04039907082915306,
-0.03784530982375145,
0.018993591889739037,
0.051288019865751266,
0.005165157373994589,
0.019011326134204865,
0.028463786467909813,
-0.06490807235240936,
0.020979849621653557,
-0.0030857936944812536,
-0.027133703231811523,
-0.016785653308033943,
-0.03360677510499954,
-0.01296388078480959,
-0.01060519926249981,
0.005178458523005247,
-0.0434139259159565,
-0.03420974686741829,
-0.0019009109819307923,
-0.02825097367167473,
0.004939043428748846,
0.007355361711233854,
-0.007497237529605627,
-0.008437163196504116,
-0.041037511080503464,
-0.04231438785791397,
0.025821354240179062,
0.009904688224196434,
0.008454897440969944,
0.016262488439679146,
-0.0061981892213225365,
0.01664377748966217,
-0.0009221912478096783,
-0.05004660785198212,
-0.013354037888348103,
0.020589692518115044,
-0.027931753545999527,
0.03933500126004219,
0.028924882411956787,
0.034812718629837036,
-0.06419869512319565,
-0.00874308217316866,
-0.03497232869267464,
0.03405013680458069,
-0.03592998906970024,
0.010436722077429295,
0.01616494730114937,
0.002294393954798579,
-0.0013999128714203835,
-0.03710046410560608,
0.012955013662576675,
0.005165157373994589,
0.020235003903508186,
0.02583908848464489,
0.01706940494477749,
0.08008876442909241,
-0.030325904488563538,
-0.054622095078229904,
0.016962997615337372,
0.004783866927027702,
-0.007882961072027683,
-0.016661511734128,
0.04444252327084541,
0.014418104663491249,
0.027701206505298615,
-0.0032897398341447115,
-0.020075393840670586,
-0.053877249360084534,
-0.023640017956495285,
0.02592776156961918,
-0.03898031264543533,
0.05082692578434944,
-0.00939925666898489,
-0.05479944124817848,
-0.0017800950445234776,
-0.007758820429444313,
-0.01648416742682457,
0.026122840121388435,
0.020252738147974014,
-0.059410396963357925,
-0.008273119106888771,
-0.0022788764908909798,
-0.04391048848628998,
-0.010144103318452835,
-0.028516991063952446,
0.037880778312683105,
0.01457771472632885,
-0.0014497910160571337,
-0.0657593309879303,
-0.010578596964478493,
0.03149637579917908,
0.027293313294649124
] |
719,627
|
ibm_platform_services.iam_access_groups_v2
|
delete_template
|
Delete template.
Endpoint to delete a template. All access assigned by that template is deleted
from all of the accounts where the template was assigned.
:param str template_id: template id parameter.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_template(
self,
template_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete template.
Endpoint to delete a template. All access assigned by that template is deleted
from all of the accounts where the template was assigned.
:param str template_id: template id parameter.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='delete_template',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.057204507291316986,
-0.008711700327694416,
0.04835806414484978,
-0.05616375058889389,
-0.032319243997335434,
-0.03187320753931999,
-0.07880023121833801,
0.05419374257326126,
-0.01763712614774704,
-0.015202497132122517,
0.020294776186347008,
-0.035348594188690186,
-0.023528559133410454,
-0.03757878765463829,
-0.05921168252825737,
-0.014747166074812412,
0.0027621896006166935,
0.029252726584672928,
0.01371570024639368,
-0.037430111318826675,
0.07080870121717453,
-0.0061330366879701614,
-0.036091990768909454,
-0.018826564773917198,
0.014449805952608585,
-0.043414466083049774,
-0.0029457162600010633,
0.013232491910457611,
0.010258898138999939,
-0.022153273224830627,
-0.07894890755414963,
0.011782865040004253,
0.009278541430830956,
0.0786515474319458,
-0.06430396437644958,
0.013427633792161942,
-0.017785806208848953,
-0.007968301884829998,
-0.0693219006061554,
0.04902712628245354,
-0.048878446221351624,
0.03367594629526138,
0.0026832036674022675,
-0.010937249287962914,
0.051629018038511276,
0.003136212006211281,
-0.03036782518029213,
-0.05125731974840164,
-0.033211324363946915,
0.035014063119888306,
0.02687385305762291,
0.010008000768721104,
-0.04523579403758049,
-0.015444101765751839,
0.0065465522930026054,
0.02287808619439602,
0.04192766919732094,
-0.037653129547834396,
0.0001716204860713333,
-0.047577496618032455,
0.03176169842481613,
0.02687385305762291,
-0.07842852920293808,
-0.012266073375940323,
-0.0368911474943161,
-0.043302956968545914,
-0.018817272037267685,
0.038173507899045944,
-0.009868613444268703,
-0.06865284591913223,
-0.02901112288236618,
0.03075810894370079,
0.013817917555570602,
-0.08868742734193802,
0.012925839982926846,
0.01206163875758648,
0.011615600436925888,
-0.011253193020820618,
-0.02748715505003929,
-0.032988302409648895,
-0.05538317933678627,
-0.08073306828737259,
-0.00300611718557775,
-0.006699878256767988,
-0.0012126686051487923,
0.010119510814547539,
0.028490744531154633,
-0.0185849592089653,
0.0379319041967392,
0.003342969575896859,
0.022840915247797966,
-0.030999712646007538,
-0.033044058829545975,
0.009208847768604755,
0.028769517317414284,
0.03752303496003151,
0.01135541032999754,
-0.003210551803931594,
0.02388167381286621,
-0.009552669711411,
0.012944424524903297,
-0.01379933301359415,
0.005468624643981457,
-0.011959421448409557,
0.01752561703324318,
0.006792802829295397,
0.011243901215493679,
0.008948658592998981,
0.026725172996520996,
0.014858675189316273,
0.005143387708812952,
-0.0224134624004364,
0.010110218077898026,
0.00013103848323225975,
0.05393355339765549,
0.028137629851698875,
-0.011950129643082619,
-0.03137141093611717,
-0.06043829023838043,
-0.03776463866233826,
0.024922430515289307,
-0.03408481553196907,
0.025256961584091187,
-0.03913992643356323,
0.04181616008281708,
0.0038958722725510597,
-0.028639422729611397,
0.014830797910690308,
-0.011020881123840809,
0.018659299239516258,
-0.0242905430495739,
-0.035980481654405594,
-0.0023056967183947563,
0.038619548082351685,
0.00701582245528698,
0.01988590694963932,
0.030497919768095016,
-0.01484009064733982,
-0.003730930620804429,
0.051294490694999695,
0.026948191225528717,
0.04032936319708824,
-0.003331354120746255,
0.08140212297439575,
-0.0021965098567306995,
-0.02152138389647007,
-0.020016001537442207,
0.019848737865686417,
-0.04716862738132477,
0.003565989201888442,
-0.04542164131999016,
0.015025939792394638,
-0.014096692204475403,
-0.04705711826682091,
-0.005900724790990353,
-0.0018329416634514928,
0.01403164491057396,
0.034456517547369,
-0.0015216436004266143,
0.02016468159854412,
0.041555970907211304,
0.04947316274046898,
0.056981489062309265,
0.012665649875998497,
0.002252264879643917,
-0.043154276907444,
0.0005645181518048048,
0.05880281329154968,
-0.0442693755030632,
-0.05017939209938049,
-0.014886553399264812,
0.06809529662132263,
0.003284891601651907,
-0.01313027460128069,
0.0004930822178721428,
0.02681809663772583,
0.049770522862672806,
0.03735576942563057,
-0.07716475427150726,
-0.07519474625587463,
0.035125575959682465,
-0.022060347720980644,
-0.006541905924677849,
0.01385508757084608,
0.010612011887133121,
0.007220257073640823,
0.015118865296244621,
0.08868742734193802,
-0.02135411836206913,
-0.011132391169667244,
-0.014319711364805698,
-0.079766646027565,
-0.006769571918994188,
0.0442693755030632,
0.03367594629526138,
-0.031520090997219086,
-0.014022352173924446,
-0.057947903871536255,
0.019923077896237373,
0.002177925081923604,
-0.03668671101331711,
-0.024885261431336403,
0.018659299239516258,
-0.021372703835368156,
0.03352726623415947,
0.004142122808843851,
-0.007313181646168232,
-0.033824626356363297,
-0.030572259798645973,
-0.015286129899322987,
0.01242404617369175,
-0.027449985966086388,
0.030720937997102737,
0.021577138453722,
0.019569963216781616,
-0.002804005751386285,
0.0166707094758749,
-0.02412327751517296,
0.019904492422938347,
-0.049770522862672806,
0.0016784542240202427,
0.02107534557580948,
0.028416404500603676,
0.010481917299330235,
-0.03694690018892288,
0.007331766653805971,
-0.014524145983159542,
0.06954491883516312,
-0.0026483568362891674,
-0.013204613700509071,
0.092850461602211,
-0.013724992983043194,
0.050736941397190094,
0.005031878128647804,
-0.013436926528811455,
-0.1430298537015915,
-0.006476858630776405,
-0.0650101900100708,
0.05289279669523239,
-0.00960842426866293,
0.013093104586005211,
0.044418055564165115,
0.06969360262155533,
0.063337542116642,
-0.0666828379034996,
0.024773752316832542,
-0.07181228697299957,
0.00154255167581141,
0.05486280098557472,
-0.04438088461756706,
-0.03215198218822479,
-0.06330037117004395,
0.005031878128647804,
-0.008869672194123268,
0.014059522189199924,
-0.011996591463685036,
0.02709687128663063,
0.023026766255497932,
0.011225315742194653,
0.013929427601397038,
-0.014979477971792221,
0.0021361089311540127,
-0.07504606992006302,
-0.01888231933116913,
0.014245372265577316,
0.009269248694181442,
0.007884669117629528,
0.04218785837292671,
0.00974781159311533,
0.04029219225049019,
0.09106630086898804,
0.010639889165759087,
0.05393355339765549,
-0.023640068247914314,
-0.03402906283736229,
-0.00201762979850173,
0.041147101670503616,
-0.03443793207406998,
0.01850132830440998,
-0.010240312665700912,
-0.03183603659272194,
-0.040812570601701736,
0.04270823672413826,
0.01039828546345234,
0.0447525829076767,
0.030442165210843086,
-0.023863088339567184,
0.002373067196458578,
0.04400918632745743,
0.08311194181442261,
-0.016875144094228745,
0.013706408441066742,
-0.03943728655576706,
0.003445186885073781,
-0.07303889095783234,
-0.05638676881790161,
-0.011801449581980705,
-0.032932549715042114,
0.012507678009569645,
0.03696548566222191,
0.021818742156028748,
0.017813684418797493,
-0.03499548137187958,
-0.008312123827636242,
-0.07924626767635345,
0.014124569483101368,
0.028137629851698875,
0.01799953356385231,
0.0502537302672863,
0.015174619853496552,
0.0035357887391000986,
0.0023324124049395323,
-0.01456131599843502,
-0.020777985453605652,
-0.020257607102394104,
0.0524095855653286,
0.03644510731101036,
-0.043525975197553635,
-0.010546964593231678,
-0.022747991606593132,
-0.034512270241975784,
0.06850416213274002,
-0.052483927458524704,
0.0442693755030632,
0.05880281329154968,
-0.025442810729146004,
-0.024866675958037376,
-0.02140987478196621,
0.06348622590303421,
0.05066259950399399,
0.034846801310777664,
0.014040937647223473,
-0.015871556475758553,
-0.0264835674315691,
0.01554631907492876,
-0.05932319164276123,
0.03977181389927864,
-0.037653129547834396,
-0.0379319041967392,
0.06943341344594955,
-0.025089696049690247,
0.0002524940937291831,
0.07917193323373795,
-0.013585605658590794,
-0.021447043865919113,
-0.0026320950128138065,
-0.007136624772101641,
-0.002342866500839591,
0.06040111929178238,
-0.03263518959283829,
-0.0110673438757658,
0.06512170284986496,
0.03217056393623352,
0.013901550322771072,
-0.0028667300939559937,
-0.05612657964229584,
-0.000634211755823344,
0.05252109840512276,
-0.03148292377591133,
-0.00014969604671932757,
-0.04181616008281708,
-0.02360289916396141,
-0.027301305904984474,
-0.03995766490697861,
0.0008676853030920029,
-0.010602720081806183,
-0.020889494568109512,
-0.02901112288236618,
-0.06571641564369202,
0.011745695024728775,
-0.05122014880180359,
-0.02665083296597004,
-0.0018131951801478863,
0.03308122977614403,
0.04248521849513054,
-0.022264782339334488,
0.011504090391099453,
-0.026279132813215256,
-0.07545493543148041,
-0.0019154124893248081,
-0.004427866544574499,
-0.042968425899744034,
0.020424870774149895,
-0.01813892088830471,
-0.05694431811571121,
0.006527967285364866,
0.0006231769220903516,
0.005942541174590588,
0.0110673438757658,
0.03367594629526138,
0.057278845459222794,
-0.05170335993170738,
-0.026056114584207535,
-0.012219611555337906,
-0.024030353873968124,
-0.008878964930772781,
-0.011262485757470131,
0.006263131741434336,
0.004602100700139999,
0.02986603043973446,
0.02687385305762291,
0.045272961258888245,
-0.006611599586904049,
0.007777805905789137,
0.02027619071304798,
0.014449805952608585,
0.023695824667811394,
-0.04449239373207092,
0.01861283741891384,
-0.06181357800960541,
0.04196484014391899,
0.03913992643356323,
-0.03200330212712288,
0.0057009365409612656,
-0.00617020670324564,
0.08355797827243805,
-0.05222373828291893,
0.07333625108003616,
-0.011178852990269661,
-0.010862909257411957,
0.011346118524670601,
0.057836394757032394,
0.03148292377591133,
-0.07694173604249954,
-0.021168269217014313,
-0.000794507039245218,
-0.013344001024961472,
-0.04445522278547287,
-0.0006493120454251766,
-0.023026766255497932,
-0.05155467987060547,
-0.017925193533301353,
-0.01730259694159031,
0.0033452927600592375,
0.03464236482977867,
0.0567956380546093,
-0.00715520977973938,
0.09456027299165726,
0.02146562933921814,
0.03757878765463829,
0.053152985870838165,
-0.02964301034808159,
-0.023398464545607567,
-0.06538189202547073,
-0.10444747656583786,
0.025888849049806595,
-0.0010314652463421226,
-0.09411423653364182,
-0.014003767631947994,
0.018761517480015755,
0.02066647633910179,
0.01738622970879078,
0.019848737865686417,
-0.015825092792510986,
-0.01357631292194128,
-0.057278845459222794,
0.006685939151793718,
0.029382821172475815,
-0.02207893319427967,
-0.05984356999397278,
-0.003384785959497094,
0.029773106798529625,
0.0354972742497921,
-0.0060122343711555,
-0.009775688871741295,
-0.04107276350259781,
0.028918197378516197,
0.02867659367620945,
-0.0037797163240611553,
0.020945249125361443,
-0.04248521849513054,
-0.03804341331124306,
-0.046165041625499725,
0.11411165446043015,
0.004399989265948534,
0.031111223623156548,
0.02393742837011814,
-0.008720992133021355,
0.010472624562680721,
0.012944424524903297,
0.045384474098682404,
-0.05449110269546509,
0.007722050882875919,
0.01112309843301773,
0.04850674420595169,
-0.03624067083001137,
0.03730001300573349,
-0.03373170271515846,
-0.018120335415005684,
-0.019477037712931633,
-0.00033394849742762744,
0.0026320950128138065,
0.02337987907230854,
-0.00011114677181467414,
0.016159621998667717,
-0.04557032138109207,
-0.027226965874433517,
-0.009171677753329277,
0.05542035028338432,
-0.04137011989951134,
0.032319243997335434,
-0.020926665514707565,
0.007503677625209093,
0.0012544847559183836,
0.0464252308011055,
0.02631630375981331,
0.06627396494150162,
-0.0018654653104022145,
0.012628480792045593,
-0.007485092617571354,
-0.09054592251777649,
0.042225029319524765,
-0.01135541032999754,
0.04776334762573242,
-0.021428458392620087,
0.022692237049341202,
-0.033954720944166183,
0.007443276699632406,
0.047242969274520874,
-0.004639270715415478,
0.02096383459866047,
0.032653775066137314,
-0.07054850459098816,
0.010045170783996582,
-0.014245372265577316,
-0.02945716120302677,
-0.026056114584207535,
-0.04170465096831322,
-0.0021186855155974627,
0.03075810894370079,
-0.00652332091704011,
0.023231200873851776,
0.0021744403056800365,
-0.04739164933562279,
-0.03880539536476135,
-0.04653673991560936,
-0.09143800288438797,
-0.027412816882133484,
-0.07296455651521683,
0.021056760102510452,
-0.012907254509627819,
0.02743140049278736,
-0.005812446121126413,
-0.007480446249246597,
0.004244340118020773,
-0.024494977667927742,
0.02265506610274315,
0.037485864013433456,
-0.02590743452310562,
0.046053532510995865,
0.08378099650144577,
-0.04241088032722473,
-0.009171677753329277,
-0.016986653208732605,
-0.02360289916396141,
0.08608553558588028,
-0.0453101322054863,
0.0021361089311540127,
0.02072223089635372,
0.011290363036096096,
-0.02687385305762291,
-0.02049921080470085,
0.025554319843649864,
0.003686791518703103,
0.029791690409183502,
0.04088691249489784,
0.015481271781027317,
-0.0379319041967392,
0.006323532667011023,
0.014124569483101368,
-0.03228207677602768,
-0.0106491819024086,
0.00273198913782835,
-0.005412869621068239,
-0.058393944054841995,
0.039920493960380554,
0.0469827800989151,
-0.017562787979841232,
0.04649956896901131,
-0.01786014623939991,
0.018343355506658554,
0.017507031559944153,
0.05627525970339775,
-0.012358997948467731,
-0.023342709988355637,
0.08861309289932251,
0.031185563653707504,
-0.033267077058553696,
0.037151336669921875,
-0.019792983308434486,
-0.017683589830994606,
0.007382875308394432,
0.05657261982560158,
0.011745695024728775,
-0.03499548137187958,
0.0808074027299881,
0.04861825704574585,
-0.012461215257644653,
-0.0029875324107706547,
-0.029512915760278702,
0.024606486782431602,
0.04456673562526703,
0.05750186741352081,
0.04360031709074974,
-0.012860792689025402,
0.04590485244989395,
-0.035794634371995926,
-0.01878010295331478,
-0.0012870085192844272,
-0.048135045915842056,
0.013641360215842724,
-0.048878446221351624,
-0.04590485244989395,
-0.029327066615223885,
0.014821505174040794,
0.03235641494393349,
0.030442165210843086,
0.020703645423054695,
-0.03585038706660271,
-0.05497431010007858,
-0.01540693175047636,
-0.01994166150689125,
-0.04739164933562279,
0.017423400655388832,
-0.019291188567876816,
0.09076894819736481,
0.004962184466421604,
0.015304714441299438,
-0.05824526399374008,
0.038173507899045944,
-0.06263131648302078,
0.010677059181034565,
-0.04389767721295357,
0.06225961446762085,
0.05058826133608818,
0.0110673438757658,
0.021205440163612366,
-0.023138275370001793,
0.027171211317181587,
0.018092459067702293,
0.05460261180996895,
0.004980769474059343,
0.032765284180641174,
0.07519474625587463,
-0.06683151423931122,
0.048655424267053604,
0.02440205216407776,
-0.008948658592998981,
0.018045995384454727,
-0.016819389536976814,
-0.026948191225528717,
0.06419245153665543,
-0.048766933381557465,
-0.05694431811571121,
0.005343175958842039,
-0.03683539107441902,
0.011922251433134079,
0.026446398347616196,
-0.0267623420804739,
0.014384758658707142,
0.029252726584672928,
0.005161972716450691,
0.004239694215357304,
-0.009148446843028069,
-0.00342892506159842,
-0.05266977846622467,
-0.03480963036417961,
-0.031241318210959435,
-0.014998062513768673,
-0.042113520205020905,
0.010723521932959557,
0.019848737865686417,
0.007104101125150919,
0.040255025029182434,
0.02789602428674698,
0.00026425489340908825,
0.016903020441532135,
-0.007048346102237701,
-0.01921684853732586,
0.06712887436151505,
0.07991532981395721,
0.05713016539812088,
0.055122990161180496,
-0.02784026972949505,
0.02349139004945755,
-0.046276550740003586,
0.014347589574754238,
0.006644123233854771,
-0.040032003074884415,
0.0035357887391000986,
-0.05159185081720352,
0.012182441540062428,
0.010769984684884548,
-0.026000358164310455,
0.004762396216392517,
0.010035878047347069,
-0.0041700005531311035,
-0.015453394502401352,
-0.03780180960893631,
-0.0267623420804739,
-0.025610074400901794,
-0.034735288470983505,
-0.026167623698711395,
0.05943470075726509,
-0.03977181389927864,
0.05263260751962662,
0.03858237713575363,
-0.015025939792394638,
0.05233524739742279,
0.009877906180918217,
0.03408481553196907,
-0.03995766490697861,
0.05348751321434975,
0.04185333102941513,
0.026390643790364265,
0.09664179384708405,
-0.04545881226658821,
0.02659507840871811,
0.030051879584789276,
-0.011885082349181175,
-0.03847086802124977,
0.011466920375823975,
-0.027412816882133484,
0.0105097945779562,
-0.004079398699104786,
-0.017850853502750397,
0.012470507994294167,
-0.006527967285364866,
-0.025424225255846977,
0.018371233716607094,
-0.02388167381286621,
0.026186209172010422,
-0.06727755814790726,
-0.037374354898929596,
0.02585167996585369,
-0.043637484312057495,
-0.029308481141924858,
-0.02207893319427967,
0.023472804576158524,
-0.004176969639956951,
-0.03847086802124977,
0.015620659105479717,
-0.04270823672413826,
-0.02259931154549122,
-0.04984486103057861,
0.034456517547369,
0.013539143837988377,
0.05497431010007858,
0.041035592555999756,
-0.03183603659272194,
-0.005682351533323526,
0.01304664183408022,
-0.014301126822829247,
-0.01436617411673069,
-0.00923672504723072,
0.008860379457473755,
-0.013613482937216759,
-0.02557290531694889,
-0.02631630375981331,
0.0009960377356037498,
0.0112067312002182,
-0.01304664183408022,
0.021948838606476784,
-0.028806688264012337,
-0.01916109398007393,
-0.0159737728536129,
-0.003445186885073781,
0.0485810860991478
] |
719,628
|
ibm_platform_services.iam_access_groups_v2
|
delete_template_version
|
Delete template version.
Delete a template version. You must remove all assignments for a template version
before you can delete it.
:param str template_id: ID of the template to delete.
:param str version_num: version number in path.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def delete_template_version(
self,
template_id: str,
version_num: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Delete template version.
Delete a template version. You must remove all assignments for a template version
before you can delete it.
:param str template_id: ID of the template to delete.
:param str version_num: version number in path.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version_num:
raise ValueError('version_num must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='delete_template_version',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['template_id', 'version_num']
path_param_values = self.encode_path_vars(template_id, version_num)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}/versions/{version_num}'.format(**path_param_dict)
request = self.prepare_request(
method='DELETE',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version_num: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.07899272441864014,
-0.03459616005420685,
-0.0017627370543777943,
-0.029014352709054947,
-0.02457469515502453,
-0.037801556289196014,
-0.07737160474061966,
0.06771857291460037,
-0.043475471436977386,
0.012968954630196095,
0.014801925048232079,
-0.028093261644244194,
-0.015363790094852448,
-0.06517636775970459,
-0.04550187289714813,
-0.02720901370048523,
0.05379168689250946,
0.01786915585398674,
0.012167605571448803,
-0.03842789679765701,
0.0555233359336853,
0.005876557435840368,
-0.03223817050457001,
0.023100949823856354,
0.027411654591560364,
-0.01762046106159687,
0.015815123915672302,
-0.005277848802506924,
0.027135327458381653,
-0.03559093922376633,
-0.06318680942058563,
0.005102841649204493,
0.013411078602075577,
0.09233011305332184,
-0.059170857071876526,
0.010003043338656425,
0.001952711958438158,
0.0036866648588329554,
-0.10743600130081177,
0.0629657506942749,
0.014847978949546814,
0.03828052431344986,
-0.010997820645570755,
-0.015244048088788986,
0.030488096177577972,
-0.007428595330566168,
-0.01017805002629757,
-0.03905423730611801,
-0.04104379564523697,
0.03883317857980728,
0.04240700975060463,
-0.011550474911928177,
-0.030138082802295685,
-0.04141223058104515,
-0.003933056723326445,
0.021737735718488693,
0.061786752194166183,
0.0153545793145895,
0.007336486130952835,
-0.01886393502354622,
0.012711049057543278,
0.035259347409009933,
-0.10073046386241913,
0.010141206905245781,
-0.013411078602075577,
-0.023303590714931488,
0.0195455402135849,
0.02584579959511757,
-0.0026596488896757364,
-0.031317077577114105,
-0.00793980062007904,
0.04159644991159439,
0.0024570089299231768,
-0.053128503262996674,
0.037709444761276245,
0.02608528360724449,
-0.03065389208495617,
-0.006898968014866114,
-0.01976660266518593,
-0.04730720818042755,
-0.021756159141659737,
-0.10124627500772476,
0.011485998518764973,
-0.0359962172806263,
0.0008727333042770624,
-0.007488465867936611,
0.017629673704504967,
-0.043070193380117416,
0.023414121940732002,
0.042296476662158966,
-0.02448258548974991,
-0.02090875431895256,
-0.061160411685705185,
-0.007792425807565451,
0.0359962172806263,
0.012093918398022652,
0.05235478654503822,
-0.025016818195581436,
0.00005285476436256431,
-0.011449155397713184,
0.038206834346055984,
-0.038391053676605225,
-0.02426152490079403,
-0.00757596967741847,
-0.004849541466683149,
-0.028332745656371117,
-0.032182902097702026,
0.015842756256461143,
0.03868580237030983,
0.005102841649204493,
0.003928451333194971,
-0.0068667298182845116,
-0.02472206950187683,
-0.006424606312066317,
0.04686508700251579,
-0.011918911710381508,
-0.03529619053006172,
-0.028866976499557495,
-0.05559702590107918,
-0.03979111090302467,
0.06388683617115021,
-0.03809630498290062,
-0.0027909043710678816,
-0.005425223149359226,
-0.009579341858625412,
0.017574407160282135,
-0.009496442973613739,
-0.008275998756289482,
0.020927177742123604,
-0.0007650807965546846,
-0.006802253425121307,
0.002241704147309065,
0.021295612677931786,
0.022732514888048172,
-0.011393889784812927,
-0.006806858815252781,
-0.03142761066555977,
-0.005420617759227753,
0.0026320163160562515,
0.02525630220770836,
0.01640462316572666,
0.011937333270907402,
-0.017417822033166885,
0.03205395117402077,
0.003320531453937292,
-0.0459071509540081,
-0.00756215350702405,
0.011071507818996906,
-0.02485102228820324,
0.00757596967741847,
-0.015888812020421028,
0.049186233431100845,
0.057439204305410385,
-0.05813923478126526,
-0.024887865409255028,
0.010767548345029354,
0.03203552961349487,
-0.021921955049037933,
-0.0022716394159942865,
0.006005510222166777,
0.06620799005031586,
0.02879329025745392,
0.07700316607952118,
0.009745137766003609,
0.03489090874791145,
-0.026048440486192703,
-0.011983388103544712,
-0.012821580283343792,
-0.036217279732227325,
-0.017104651778936386,
-0.000976355979219079,
0.06760804355144501,
-0.008962211199104786,
-0.00020983594004064798,
0.006862124428153038,
0.027411654591560364,
0.050954729318618774,
0.0162848811596632,
-0.02953016199171543,
-0.0465334951877594,
0.0045386734418570995,
-0.02584579959511757,
-0.025956330820918083,
0.06009194627404213,
-0.011034664697945118,
0.027743246406316757,
0.006940416991710663,
0.04299650713801384,
-0.02435363456606865,
-0.0390910804271698,
-0.012416300363838673,
-0.0666869580745697,
0.028903821483254433,
0.0428122878074646,
0.01857839524745941,
-0.00862140767276287,
-0.014166372828185558,
-0.06211834400892258,
0.060349851846694946,
-0.0026251079980283976,
-0.004124182742089033,
-0.049407295882701874,
0.009846458211541176,
-0.04137538745999336,
0.013318968936800957,
0.011854435317218304,
0.0397174246609211,
-0.05618652328848839,
-0.02761429361999035,
0.002848472446203232,
0.02984333410859108,
-0.025422098115086555,
0.03244080767035484,
0.05990772694349289,
0.005789054092019796,
-0.053718000650405884,
0.013797936029732227,
-0.03310399502515793,
0.0008410707814618945,
-0.027319544926285744,
0.015363790094852448,
0.046644024550914764,
0.05301797017455101,
0.021387722343206406,
-0.030267035588622093,
0.03233027830719948,
0.005397590342909098,
0.06945022940635681,
-0.032275013625621796,
-0.021829845383763313,
0.07604523748159409,
0.013401866890490055,
0.08459295332431793,
0.0065489537082612514,
-0.04889148473739624,
-0.11097298562526703,
-0.03061704896390438,
-0.014544019475579262,
0.07236087322235107,
-0.018477076664566994,
0.04804408177733421,
0.026564251631498337,
0.06521321088075638,
0.03726732358336449,
-0.035443563014268875,
0.008068753406405449,
-0.07342933863401413,
-0.01680990308523178,
0.02580895647406578,
-0.06270784139633179,
-0.03470669314265251,
-0.06775541603565216,
0.004292281810194254,
0.017417822033166885,
0.04517028108239174,
-0.021700892597436905,
0.029603850096464157,
0.016671739518642426,
0.02295357547700405,
0.012011020444333553,
-0.019582385197281837,
0.003695875871926546,
-0.07401883602142334,
-0.030764423310756683,
-0.015833545476198196,
-0.031003907322883606,
-0.0039445701986551285,
0.03945951908826828,
0.04380706697702408,
0.05519174411892891,
-0.005844319239258766,
-0.002225585049018264,
-0.001405814429745078,
-0.023745713755488396,
-0.023211481049656868,
-0.003380402224138379,
0.012047864496707916,
-0.06219203397631645,
0.030580205842852592,
-0.01555721927434206,
-0.0316486693918705,
-0.07309774309396744,
0.05393906310200691,
0.03369349241256714,
0.07099765539169312,
0.052723221480846405,
-0.03605148196220398,
-0.0044419593177735806,
0.02525630220770836,
0.04981257766485214,
0.005033759865909815,
0.014451910741627216,
0.000011144835298182443,
0.00621275557205081,
-0.11274147778749466,
-0.04568609222769737,
-0.052317943423986435,
0.007746371440589428,
-0.0008261030889116228,
0.010316213592886925,
0.04572293534874916,
0.017574407160282135,
0.006954233627766371,
-0.022106172516942024,
-0.05393906310200691,
0.020798224955797195,
0.06064460054039955,
0.009381307289004326,
0.049554672092199326,
0.00211735675111413,
0.010813603177666664,
0.03618043661117554,
-0.001373576233163476,
-0.024022040888667107,
0.005392984952777624,
0.03964373841881752,
0.030009130015969276,
-0.03433825448155403,
0.011071507818996906,
-0.010187261737883091,
-0.03872264549136162,
0.06259731203317642,
-0.02004292979836464,
0.05511805787682533,
0.03549882769584656,
-0.05386537313461304,
-0.021203504875302315,
-0.01972975954413414,
0.015686171129345894,
0.07283984124660492,
0.01242551114410162,
0.03369349241256714,
0.009966199286282063,
0.02466680482029915,
0.0076312352903187275,
-0.046644024550914764,
0.03923845663666725,
-0.038759488612413406,
-0.018587607890367508,
0.06263415515422821,
0.028037995100021362,
-0.008041120134294033,
0.04476499930024147,
-0.015004565007984638,
-0.0694870725274086,
-0.0022209796588867903,
0.007018710020929575,
0.015594062395393848,
0.028719602152705193,
-0.04539133980870247,
-0.04907570406794548,
0.04244385287165642,
-0.007953616790473461,
0.022750936448574066,
-0.01315317302942276,
-0.04863357916474342,
0.028774868696928024,
0.020927177742123604,
-0.006171306595206261,
-0.006756199058145285,
-0.04513343796133995,
0.04413865879178047,
-0.042480695992708206,
-0.02221670374274254,
0.0047044698148965836,
-0.04203857108950615,
0.008054936304688454,
-0.0552285872399807,
-0.039975330233573914,
0.02490628883242607,
-0.04432287812232971,
-0.01330975815653801,
0.025514207780361176,
0.017233604565262794,
0.055854931473731995,
-0.06023932248353958,
-0.04970204457640648,
-0.010878079570829868,
-0.03133549913764,
-0.08363501727581024,
-0.0008733089780434966,
-0.044101815670728683,
0.036898884922266006,
-0.034080348908901215,
-0.05497068166732788,
-0.0050567868165671825,
0.017823101952672005,
0.011375468224287033,
-0.00027963731554336846,
0.046791400760412216,
0.020190304145216942,
-0.01976660266518593,
-0.03520407900214195,
-0.0025445125065743923,
-0.014433488249778748,
0.004135696683079004,
-0.02190353348851204,
0.00344718131236732,
0.0265274066478014,
-0.03142761066555977,
0.01591644436120987,
0.06757120043039322,
-0.011550474911928177,
0.014074263162910938,
0.02630634605884552,
-0.03647518530488014,
0.03664098307490349,
-0.05836029723286629,
-0.01115440670400858,
-0.07832954078912735,
0.02534841187298298,
0.004029771313071251,
-0.015069041401147842,
-0.0019227764569222927,
0.005927217658609152,
0.08319289982318878,
-0.00731345871463418,
0.07862428575754166,
0.0018341215327382088,
-0.017077017575502396,
0.041522759944200516,
0.07471886277198792,
0.0604972280561924,
-0.035351455211639404,
-0.028037995100021362,
0.020153461024165154,
-0.0033942186273634434,
-0.01995082013309002,
-0.01671779341995716,
-0.017813891172409058,
-0.01186364609748125,
-0.04365969076752663,
-0.009745137766003609,
0.018817879259586334,
0.011274147778749466,
0.018974464386701584,
0.007566758897155523,
0.07633998245000839,
-0.014018997550010681,
0.03710152581334114,
0.049591515213251114,
0.016146717593073845,
-0.015612484887242317,
-0.025366833433508873,
-0.04970204457640648,
0.008985238149762154,
0.0036106749903410673,
-0.08798256516456604,
-0.013954521156847477,
-0.025422098115086555,
-0.0018997492734342813,
0.008183889091014862,
0.004983099643141031,
-0.038169991225004196,
-0.013457132503390312,
-0.02481417916715145,
-0.01777704805135727,
0.005061392672359943,
-0.046017684042453766,
-0.05931822955608368,
-0.011983388103544712,
0.03813314810395241,
0.023745713755488396,
-0.010785969905555248,
-0.03949636220932007,
-0.052096880972385406,
0.061786752194166183,
0.0031961840577423573,
-0.017270447686314583,
-0.0029428843408823013,
-0.020374523475766182,
-0.033269789069890976,
-0.03233027830719948,
0.12910005450248718,
-0.01572301611304283,
0.04472815617918968,
0.01355845294892788,
-0.029180148616433144,
-0.006636457517743111,
-0.002486944431439042,
0.010868867859244347,
-0.000534232531208545,
-0.0015980920288711786,
0.016183560714125633,
0.025919487699866295,
-0.017141494899988174,
0.020337678492069244,
-0.02240092121064663,
-0.0024477981496602297,
-0.037801556289196014,
-0.013696616515517235,
-0.001927381963469088,
0.032993461936712265,
0.0042093838565051556,
0.029953863471746445,
-0.026914265006780624,
-0.030819689854979515,
-0.017546774819493294,
0.04362284764647484,
-0.02584579959511757,
0.020853489637374878,
0.014359801076352596,
0.016984909772872925,
-0.01424006000161171,
0.05357062444090843,
0.034448787569999695,
0.06613430380821228,
0.00966223981231451,
-0.00019673918723128736,
0.004032074008136988,
-0.09837246686220169,
0.042480695992708206,
-0.003838644828647375,
0.04863357916474342,
0.01995082013309002,
0.04104379564523697,
-0.06595008075237274,
-0.004515646491199732,
0.043475471436977386,
0.017850734293460846,
0.014074263162910938,
0.04767564684152603,
-0.03303030505776405,
-0.014884823001921177,
-0.009560919366776943,
-0.033398743718862534,
-0.05257584899663925,
-0.036714669317007065,
0.03676993399858475,
0.05758658051490784,
-0.03619885817170143,
0.02072453685104847,
0.012333402410149574,
-0.019066574051976204,
-0.039164770394563675,
-0.05198634788393974,
-0.09446704387664795,
0.025772113353013992,
-0.08790887892246246,
-0.008206916972994804,
-0.045833464711904526,
0.03133549913764,
-0.008888524025678635,
-0.029788067564368248,
0.009588552638888359,
0.006696328055113554,
0.024887865409255028,
0.04579662159085274,
-0.0688607320189476,
0.01226892601698637,
0.016957277432084084,
-0.01247156597673893,
0.023561496287584305,
-0.009800403378903866,
-0.0378383994102478,
0.09093005955219269,
-0.03931214287877083,
0.0040666148997843266,
0.03192499652504921,
-0.027964308857917786,
-0.007635840680450201,
-0.01006751973181963,
0.031353920698165894,
0.00475282734259963,
-0.0035093550104647875,
0.06477108597755432,
0.016902010887861252,
-0.0487072691321373,
0.024298368021845818,
0.019563963636755943,
-0.02286146767437458,
-0.015769070014357567,
0.015262470580637455,
-0.020024508237838745,
-0.03949636220932007,
0.03883317857980728,
0.044064972549676895,
0.005194950383156538,
0.056223366409540176,
0.026969531551003456,
0.02054031938314438,
-0.0009314527851529419,
0.08297183364629745,
-0.03949636220932007,
-0.009542497806251049,
0.07376092672348022,
0.023782556876540184,
0.00266425427980721,
0.05773395299911499,
0.02044820971786976,
-0.025458943098783493,
-0.015888812020421028,
0.05589177459478378,
0.00333895324729383,
-0.021387722343206406,
0.05147054046392441,
0.0017961265984922647,
-0.015290102921426296,
0.0006781528936699033,
-0.017132284119725227,
0.005890374071896076,
0.022382499650120735,
0.01976660266518593,
0.02103770710527897,
0.0035692257806658745,
0.030709158629179,
-0.03492775186896324,
-0.006401579361408949,
-0.02081664651632309,
-0.03538829833269119,
0.053091660141944885,
-0.05246531590819359,
-0.05887610837817192,
-0.05099157243967056,
0.021608784794807434,
0.06738698482513428,
0.005061392672359943,
0.030506517738103867,
-0.04284913092851639,
-0.05817607790231705,
-0.011412311345338821,
0.017298080027103424,
-0.029585428535938263,
0.011780748143792152,
-0.028019573539495468,
0.08216127753257751,
0.011292570270597935,
0.01110835187137127,
-0.03713836893439293,
0.01852313056588173,
-0.024611538276076317,
0.018283646553754807,
-0.013143962249159813,
0.08179283887147903,
0.017583617940545082,
-0.036677826195955276,
0.010785969905555248,
-0.020742958411574364,
0.059391915798187256,
0.02472206950187683,
0.0918143019080162,
-0.006889757234603167,
-0.0005270364927127957,
0.09343542158603668,
-0.054123278707265854,
0.0493336096405983,
0.018348123878240585,
-0.0030165715143084526,
0.031353920698165894,
0.012536042369902134,
-0.04178066551685333,
0.026232657954096794,
-0.04712299257516861,
-0.04572293534874916,
-0.03658571466803551,
-0.02798273041844368,
0.00032439656206406653,
0.023377276957035065,
-0.012186028063297272,
0.05217056721448898,
0.01895604282617569,
-0.00599629944190383,
0.01644146628677845,
-0.036530449986457825,
-0.017325712367892265,
-0.021332457661628723,
0.0026412270963191986,
-0.05047576129436493,
-0.04214910417795181,
-0.03501986339688301,
0.04004901647567749,
0.0064384229481220245,
-0.024832600727677345,
0.024887865409255028,
0.008045725524425507,
-0.010168839246034622,
-0.0027909043710678816,
0.03647518530488014,
-0.03573831170797348,
0.05375484377145767,
0.06665010750293732,
0.05865504592657089,
0.03595937415957451,
-0.01163337379693985,
-0.01222287118434906,
-0.05828660726547241,
-0.021442987024784088,
0.046644024550914764,
-0.031317077577114105,
0.0024984581395983696,
-0.045428186655044556,
-0.007396357133984566,
-0.020871911197900772,
-0.03861211612820625,
-0.024427320808172226,
-0.003546198597177863,
-0.012692627497017384,
-0.0218666885048151,
-0.05500752851366997,
-0.015870390459895134,
-0.02612212672829628,
-0.04620189964771271,
-0.03746996447443962,
0.07832954078912735,
-0.032864511013031006,
0.019287636503577232,
0.03586726635694504,
-0.05338640883564949,
0.02348780818283558,
0.006189728155732155,
0.049407295882701874,
-0.050770509988069534,
0.08164546638727188,
0.012757103890180588,
0.012536042369902134,
0.10478325933218002,
-0.0511757917702198,
0.04277544468641281,
0.050365231931209564,
0.002995847025886178,
-0.055449649691581726,
0.009031292982399464,
-0.00039319050847552717,
0.017445454373955727,
0.010666228830814362,
-0.0008877009968273342,
0.04167013615369797,
0.0016222706763073802,
-0.015953287482261658,
0.028774868696928024,
-0.014737448655068874,
-0.0023130886256694794,
-0.05224425345659256,
-0.07169768959283829,
0.03824367746710777,
-0.01399136520922184,
-0.017169127240777016,
-0.0002581931767053902,
0.02943805418908596,
0.0006649122224189341,
-0.047012459486722946,
0.025145770981907845,
-0.060534071177244186,
-0.044654469937086105,
-0.00339652132242918,
0.046054527163505554,
0.018992885947227478,
0.0359962172806263,
0.004511041101068258,
-0.04461762681603432,
-0.0063923681154847145,
0.00011002714018104598,
-0.016865167766809464,
-0.015538797713816166,
0.027816934511065483,
0.01727965846657753,
0.01582433469593525,
0.0024040462449193,
-0.022106172516942024,
-0.00035318065783940256,
0.05124947801232338,
-0.00106846506241709,
-0.006935811601579189,
-0.005752210505306721,
-0.023782556876540184,
-0.004508737940341234,
0.0051903449930250645,
0.018421810120344162
] |
719,632
|
ibm_platform_services.iam_access_groups_v2
|
get_access_group
|
Get an access group.
Retrieve an access group by its `access_group_id`. Only the groups data is
returned (group name, description, account_id, ...), not membership or rule
information. A revision number is returned in the `ETag` header, which is needed
when updating the access group.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param bool show_federated: (optional) If show_federated is true, the group
will return an is_federated value that is set to true if rules exist for
the group.
: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 representing a `Group` object
|
def get_access_group(
self,
access_group_id: str,
*,
transaction_id: str = None,
show_federated: bool = None,
**kwargs,
) -> DetailedResponse:
"""
Get an access group.
Retrieve an access group by its `access_group_id`. Only the groups data is
returned (group name, description, account_id, ...), not membership or rule
information. A revision number is returned in the `ETag` header, which is needed
when updating the access group.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param bool show_federated: (optional) If show_federated is true, the group
will return an is_federated value that is set to true if rules exist for
the group.
: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 representing a `Group` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='get_access_group',
)
headers.update(sdk_headers)
params = {
'show_federated': show_federated,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, *, transaction_id: Optional[str] = None, show_federated: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.029988911002874374,
0.029004426673054695,
-0.017361003905534744,
0.020219795405864716,
0.039417244493961334,
-0.03385112062096596,
-0.02983745187520981,
0.05956130847334862,
0.011018653400242329,
-0.018222428858280182,
0.0007827361696399748,
0.01752193085849285,
0.03288556635379791,
0.021166415885090828,
-0.005490394309163094,
-0.02938307449221611,
-0.026959728449583054,
-0.03477880731225014,
0.03332101181149483,
-0.02304072305560112,
0.002316851634532213,
0.008756231516599655,
-0.008278189226984978,
-0.0353846438229084,
0.008330252952873707,
0.04600571468472481,
0.04789895564317703,
0.015685487538576126,
0.016830896958708763,
0.03797838091850281,
0.03754293546080589,
-0.06895177811384201,
0.008453313261270523,
0.06115163117647171,
-0.03701283037662506,
-0.03763759881258011,
-0.008211925625801086,
-0.012438582256436348,
-0.06974693387746811,
0.03106805682182312,
0.0016045203665271401,
-0.019216379150748253,
0.041802722960710526,
-0.03884927183389664,
-0.03502492606639862,
0.01526897493749857,
-0.03688030317425728,
0.027508767321705818,
-0.06459732353687286,
-0.0356118306517601,
0.0059637040831148624,
-0.039530836045742035,
-0.05126892030239105,
-0.039417244493961334,
-0.009054416790604591,
-0.016073601320385933,
-0.0011708502424880862,
-0.0198411475867033,
0.05433597043156624,
0.004406514577567577,
0.005547191482037306,
0.012618440203368664,
0.015155380591750145,
-0.034059375524520874,
-0.06774010509252548,
-0.0045224754139781,
-0.10662724077701569,
0.0033628663513809443,
-0.011473030783236027,
0.000288127368548885,
-0.01785324700176716,
0.0630827322602272,
0.028606846928596497,
-0.06016714498400688,
-0.04218137264251709,
0.02792528085410595,
-0.05577483028173447,
0.02256741374731064,
0.027679158374667168,
0.02082563191652298,
-0.00968391913920641,
-0.02822819910943508,
0.06323419511318207,
0.0090449508279562,
0.0015666555846109986,
-0.005343668162822723,
0.028190333396196365,
-0.011927408166229725,
-0.016149330884218216,
-0.06796729564666748,
0.013593458570539951,
0.01953822933137417,
-0.02088242955505848,
-0.001958319451659918,
-0.03665311262011528,
-0.026846133172512054,
-0.03265837952494621,
0.039644431322813034,
0.01454954408109188,
0.044074613600969315,
-0.02419559843838215,
-0.06168173626065254,
-0.02449851669371128,
0.019576095044612885,
0.0016246360028162599,
-0.036217667162418365,
0.007213241886347532,
0.020522713661193848,
0.006148294545710087,
0.0359526164829731,
0.0018743069376796484,
-0.07429071515798569,
0.03547930717468262,
-0.000789244135376066,
0.013337871059775352,
0.039947349578142166,
0.03797838091850281,
-0.034873466938734055,
-0.011927408166229725,
-0.03106805682182312,
-0.004418347496539354,
-0.0276980921626091,
0.02978065423667431,
0.01897025853395462,
0.017436733469367027,
0.06652843207120895,
-0.051458247005939484,
0.032374393194913864,
0.09420759230852127,
-0.021223213523626328,
0.05338934808969498,
-0.018307624384760857,
-0.021677590906620026,
0.03710749000310898,
0.014918725937604904,
-0.018705204129219055,
0.004960286896675825,
0.05282137915492058,
-0.00651747640222311,
0.046232905238866806,
0.008079399354755878,
-0.0555097758769989,
-0.004143827594816685,
0.032961297780275345,
-0.02915588580071926,
-0.030216099694371223,
0.007918473333120346,
-0.07516159862279892,
-0.04274934530258179,
-0.009627122431993484,
-0.011368902400135994,
-0.02845538780093193,
0.03987162187695503,
-0.016281858086586,
-0.03299916163086891,
0.022529548034071922,
-0.010640005581080914,
0.024915030226111412,
0.04536201432347298,
0.04490763694047928,
-0.049716465175151825,
0.02525581233203411,
0.0007484211819246411,
-0.027357308194041252,
-0.02163972519338131,
-0.017607126384973526,
0.047558173537254333,
0.02733837626874447,
-0.02239702083170414,
-0.018023638054728508,
-0.06448373198509216,
0.0356118306517601,
-0.03472200781106949,
-0.034116171300411224,
-0.05017084255814552,
0.02245381847023964,
0.047861091792583466,
0.016736235469579697,
0.008500644937157631,
-0.0005777337937615812,
-0.0063328854739665985,
-0.02711118757724762,
-0.007563491351902485,
0.023059654980897903,
0.010109897702932358,
0.011416233144700527,
0.01128370687365532,
0.03474094346165657,
0.004501176532357931,
-0.013404134660959244,
0.017408335581421852,
-0.02455531433224678,
-0.0057885791175067425,
-0.03239332512021065,
0.008334985934197903,
-0.04513482749462128,
-0.03216613829135895,
0.022889263927936554,
0.03246905654668808,
0.04998151957988739,
-0.020730970427393913,
-0.0075019607320427895,
0.02006833627820015,
0.06349924951791763,
0.014984989538788795,
-0.01855374500155449,
-0.02996997907757759,
0.007506694179028273,
-0.06758864223957062,
0.01589374430477619,
-0.04377169534564018,
-0.02088242955505848,
0.028815103694796562,
0.01379224844276905,
0.04415034130215645,
0.02898549474775791,
0.021090686321258545,
0.027717024087905884,
0.0017358638579025865,
-0.009740716777741909,
0.010081499814987183,
-0.051685433834791183,
0.05119319260120392,
0.0138206472620368,
-0.029515601694583893,
-0.02576698735356331,
0.01128370687365532,
-0.02012513391673565,
-0.052972838282585144,
-0.022586345672607422,
0.032147202640771866,
-0.05399518460035324,
0.038603149354457855,
0.02449851669371128,
-0.013697586953639984,
-0.048201873898506165,
0.05569910258054733,
0.013669188134372234,
0.03299916163086891,
0.0365205854177475,
0.005291603971272707,
0.04055318608880043,
0.0650138407945633,
0.0864831730723381,
-0.07050423324108124,
-0.012088333256542683,
-0.03491133451461792,
0.020636308938264847,
0.05073881521821022,
0.01224925834685564,
-0.0703149065375328,
-0.02298392541706562,
-0.010308688506484032,
0.006782529875636101,
-0.01698235608637333,
-0.06406722217798233,
-0.08708900958299637,
-0.03937937691807747,
0.024744639173150063,
-0.02873937413096428,
0.013716518878936768,
-0.01978435181081295,
-0.07997042685747147,
-0.0020730970427393913,
0.03494919836521149,
0.05085241049528122,
0.03455161675810814,
-0.040174540132284164,
0.02031445875763893,
-0.011141713708639145,
0.07569170743227005,
0.0711100697517395,
-0.016092535108327866,
-0.023021791130304337,
-0.051458247005939484,
-0.00526793859899044,
0.05202621594071388,
-0.05066308379173279,
-0.06236330419778824,
-0.02093922719359398,
-0.010923990979790688,
0.009319470264017582,
-0.07792573422193527,
-0.002636335790157318,
-0.008003669790923595,
0.04926208779215813,
-0.005036016460508108,
0.02921268343925476,
-0.032904498279094696,
0.03775119408965111,
0.035517171025276184,
-0.014719936065375805,
-0.04892130568623543,
-0.005944771692156792,
-0.04528628662228584,
-0.03438122570514679,
-0.02879616990685463,
0.00035764474887400866,
-0.03741040825843811,
0.017673389986157417,
-0.030575815588235855,
-0.008107797242701054,
0.061000172048807144,
0.025634460151195526,
-0.015515096485614777,
-0.05119319260120392,
0.06357497721910477,
-0.00451064296066761,
0.03227972984313965,
0.01826976053416729,
-0.03578222543001175,
-0.017237944528460503,
0.02531260997056961,
-0.028247131034731865,
-0.02489609830081463,
0.005443063098937273,
-0.005239539779722691,
0.01073466707020998,
0.05959917604923248,
0.060470063239336014,
0.0043946816585958,
-0.02205623872578144,
0.0037557135801762342,
0.013830113224685192,
0.09254153817892075,
-0.00661687133833766,
0.007525626569986343,
0.04206777736544609,
0.08110637217760086,
0.040477458387613297,
-0.014947124756872654,
-0.0485047921538353,
-0.012466981075704098,
0.038887135684490204,
-0.0239684097468853,
-0.03265837952494621,
-0.023930545896291733,
-0.06073511764407158,
-0.012836162932217121,
-0.009702851995825768,
-0.017474599182605743,
0.015922142192721367,
0.0025274744257330894,
-0.012921358458697796,
0.021488266065716743,
0.03555503487586975,
0.09132986515760422,
-0.025028623640537262,
-0.020693106576800346,
-0.014303423464298248,
-0.02978065423667431,
-0.0016767000779509544,
0.04926208779215813,
0.009702851995825768,
0.012892959639430046,
0.024365989491343498,
0.024877164512872696,
0.04998151957988739,
-0.028758306056261063,
0.0015891378279775381,
0.005348401144146919,
-0.0022198231890797615,
-0.014445416629314423,
-0.0240252073854208,
-0.015259508974850178,
-0.0358390212059021,
-0.08352971822023392,
-0.02828499674797058,
0.01250484585762024,
0.005774380173534155,
-0.018705204129219055,
-0.0012992355041205883,
-0.010819862596690655,
0.020087270066142082,
0.02018193155527115,
0.005201674997806549,
0.01866734027862549,
-0.03937937691807747,
0.028531117364764214,
0.030500086024403572,
0.06118949502706528,
0.007445163559168577,
0.0026718340814113617,
0.04380955919623375,
-0.008860359899699688,
-0.02728157863020897,
0.024233464151620865,
0.05831177160143852,
-0.06637696921825409,
-0.029629195109009743,
0.030803004279732704,
-0.04672514647245407,
0.029136953875422478,
-0.0012720201630145311,
0.004297653213143349,
-0.0555097758769989,
-0.014445416629314423,
0.004754397086799145,
-0.013735451735556126,
-0.020901361480355263,
-0.0014080967521294951,
0.04899703338742256,
0.0012696536723524332,
-0.019992606714367867,
0.02216983214020729,
-0.04449112340807915,
0.03816770389676094,
-0.06156814470887184,
-0.012324987910687923,
-0.02071203850209713,
0.0479368194937706,
0.0030575816053897142,
-0.02669467404484749,
0.013385201804339886,
0.044945500791072845,
0.05338934808969498,
-0.031749624758958817,
0.11291279643774033,
-0.013867978006601334,
0.0006922156317159534,
0.0548282116651535,
-0.007965805009007454,
-0.04301439970731735,
-0.010072032921016216,
-0.01646171696484089,
-0.05248059332370758,
0.017029687762260437,
0.024933962151408195,
-0.0009531276882626116,
-0.04672514647245407,
0.06868672370910645,
0.01128370687365532,
-0.05834963545203209,
0.023608693853020668,
-0.024933962151408195,
0.01599787175655365,
-0.03797838091850281,
0.0019334707176312804,
0.06137881800532341,
0.014095166698098183,
0.007232174277305603,
-0.03241225704550743,
-0.02124214544892311,
0.011529827490448952,
-0.027679158374667168,
-0.043430909514427185,
0.03987162187695503,
-0.017938442528247833,
0.07357127964496613,
-0.0468008778989315,
0.07974324375391006,
0.024176666513085365,
0.01752193085849285,
0.03850848972797394,
-0.03474094346165657,
-0.01751246303319931,
-0.011510895565152168,
-0.01539203617721796,
-0.025918446481227875,
0.02641068957746029,
0.0020387822296470404,
-0.03282877057790756,
-0.06357497721910477,
0.03544143959879875,
0.005443063098937273,
0.06626337766647339,
0.04131048172712326,
0.033377811312675476,
-0.029288413003087044,
-0.03241225704550743,
-0.02646748535335064,
-0.04312799125909805,
-0.07057996094226837,
0.025066489353775978,
-0.005532992072403431,
0.04021240398287773,
-0.008311321027576923,
0.004513009451329708,
-0.014691537246108055,
0.06020501255989075,
0.004231390077620745,
-0.012940291315317154,
0.004143827594816685,
-0.039720162749290466,
0.001032998668961227,
-0.05486607551574707,
0.05149611085653305,
0.018459083512425423,
-0.060242876410484314,
-0.03763759881258011,
0.05085241049528122,
0.011378368362784386,
-0.024233464151620865,
-0.012050468474626541,
0.011132247745990753,
0.03163602948188782,
-0.0054051983170211315,
-0.010800930671393871,
0.022529548034071922,
-0.04880771040916443,
-0.009130146354436874,
-0.008396516554057598,
-0.020295524969697,
-0.02862577885389328,
0.0007951605366542935,
-0.021261077374219894,
-0.03794051706790924,
-0.008713633753359318,
0.014814597554504871,
-0.02169652283191681,
-0.04089396819472313,
0.02839859016239643,
-0.023987341672182083,
0.02071203850209713,
-0.042862940579652786,
0.03269624337553978,
0.0014021804090589285,
0.042446427047252655,
0.008713633753359318,
0.0005549557972699404,
0.06031860411167145,
0.03472200781106949,
-0.046914469450712204,
0.06081084907054901,
-0.011529827490448952,
-0.025729123502969742,
-0.004105962812900543,
0.0195571631193161,
0.007478295359760523,
-0.05581269413232803,
0.028303928673267365,
0.018601076677441597,
-0.047558173537254333,
-0.006820394657552242,
-0.04153767228126526,
-0.044945500791072845,
-0.0552825890481472,
0.013896376825869083,
-0.08352971822023392,
0.025577664375305176,
0.043961018323898315,
-0.051003869622945786,
-0.08814922720193863,
-0.024763571098446846,
-0.06406722217798233,
0.0001956840424099937,
0.07701697945594788,
-0.007459362968802452,
0.07629754394292831,
0.014104633592069149,
0.05554764345288277,
-0.0010673137148842216,
0.07137512415647507,
0.003777012461796403,
0.031749624758958817,
0.02483930066227913,
-0.017294742166996002,
-0.046573687344789505,
-0.021507199853658676,
-0.05213981121778488,
0.0012684703106060624,
0.031920015811920166,
0.021507199853658676,
-0.006905590649694204,
-0.024365989491343498,
0.061757467687129974,
0.051761165261268616,
0.04490763694047928,
-0.016026271507143974,
0.0022068070247769356,
-0.035687562078237534,
-0.052442729473114014,
-0.06092444062232971,
0.04316585883498192,
-0.047861091792583466,
0.07057996094226837,
0.023135384544730186,
0.04422607272863388,
0.07974324375391006,
-0.027357308194041252,
0.03140883892774582,
-0.018175097182393074,
0.0708828791975975,
0.038962867110967636,
-0.04990578815340996,
0.05429810285568237,
0.010819862596690655,
-0.016651039943099022,
0.035573966801166534,
-0.02340043894946575,
-0.04789895564317703,
-0.017427267506718636,
0.0236276276409626,
-0.0162250604480505,
-0.0005363192176446319,
0.038773540407419205,
-0.02082563191652298,
0.0057128495536744595,
-0.015354171395301819,
0.013110682368278503,
0.01953822933137417,
0.029685992747545242,
0.02553979866206646,
-0.007445163559168577,
0.0035829555708914995,
0.0636507049202919,
0.0013832480181008577,
-0.05092813819646835,
-0.033188484609127045,
-0.05475248023867607,
-0.07656259834766388,
-0.0032043075188994408,
-0.017058085650205612,
-0.008301854133605957,
-0.03731574863195419,
-0.05812244862318039,
0.01762605831027031,
0.052972838282585144,
-0.006569540593773127,
-0.044074613600969315,
0.06910323351621628,
0.027830617502331734,
-0.02856898121535778,
0.07315476983785629,
-0.006465412210673094,
0.02682720124721527,
0.05229127034544945,
0.03485453501343727,
0.006550608202815056,
0.022718872874975204,
-0.027186917141079903,
0.04445325955748558,
-0.05380586162209511,
-0.026562148705124855,
0.05940984934568405,
-0.04509695991873741,
0.08322679996490479,
0.03564969822764397,
0.01703915372490883,
-0.002877723891288042,
-0.0350438617169857,
0.023173250257968903,
0.022832466289401054,
0.0016104367095977068,
-0.04062891751527786,
0.04888343811035156,
-0.02194264344871044,
0.019595026969909668,
0.06690707802772522,
-0.04858051985502243,
-0.04589212313294411,
0.06679348647594452,
-0.02287033200263977,
-0.08201512694358826,
0.017370471730828285,
0.006687867920845747,
-0.027243714779615402,
0.03777012601494789,
-0.05691077560186386,
0.014521146193146706,
0.052972838282585144,
0.0180899016559124,
0.004207724239677191,
-0.040931835770606995,
-0.03856528550386429,
-0.040288131684064865,
-0.0016648673918098211,
-0.010176161304116249,
0.06641483306884766,
-0.0011702586198225617,
-0.015060719102621078,
0.040060944855213165,
0.014682071283459663,
0.08315107226371765,
-0.03362393006682396,
-0.03421083465218544,
0.06702066957950592,
-0.04055318608880043,
0.023703357204794884,
0.03960656747221947,
0.0561913438141346,
0.06243903189897537,
0.00730317085981369,
-0.039530836045742035,
0.01536363735795021,
0.017824849113821983,
-0.021810118108987808,
-0.05032230168581009,
-0.02745196968317032,
-0.022889263927936554,
0.019973674789071083,
-0.07883448898792267,
-0.023551898077130318,
-0.029458804056048393,
0.004650269169360399,
0.0322229340672493,
-0.00776701420545578,
0.006602672394365072,
-0.04468045011162758,
0.03517638519406319,
-0.05248059332370758,
-0.0199547428637743,
-0.009267406538128853,
0.018724137917160988,
0.012050468474626541,
0.03525211662054062,
-0.0034551618155092,
0.008879292756319046,
-0.018572678789496422,
-0.040174540132284164,
0.0004265704774297774,
0.046157173812389374,
-0.025975244119763374,
-0.004683400969952345,
0.05259418860077858,
-0.031863220036029816,
-0.028190333396196365,
-0.002167758997529745,
-0.014417017810046673,
0.017474599182605743,
-0.007615555077791214,
0.015988405793905258,
-0.036444857716560364,
0.03570649400353432,
-0.024422787129878998,
-0.005348401144146919,
-0.022737804800271988,
0.019405703991651535,
-0.01414249837398529,
-0.028209267184138298,
0.0628555491566658,
0.028057806193828583,
-0.007748081814497709,
-0.049072764813899994,
0.010564275085926056,
-0.0023156683892011642,
-0.019860081374645233,
-0.014729402028024197,
0.055017534643411636,
0.03824343532323837,
0.04577852785587311,
0.0275844968855381,
0.0005372066516429186,
-0.07656259834766388,
-0.08587733656167984,
0.004139094613492489,
0.03544143959879875,
-0.008604772388935089,
-0.02531260997056961,
0.003533257870003581,
0.01751246303319931,
0.006687867920845747,
0.047103796154260635,
0.061871062964200974,
0.03415403887629509,
-0.01021402608603239,
-0.028606846928596497,
0.019879013299942017,
0.0359526164829731,
-0.02983745187520981,
-0.01198420487344265,
0.009806979447603226,
0.04112115874886513,
-0.059902094304561615,
-0.042446427047252655,
0.03867888078093529,
-0.015960007905960083,
-0.023892680183053017
] |
719,633
|
ibm_platform_services.iam_access_groups_v2
|
get_access_group_rule
|
Get an access group rule.
Retrieve a rule from an access group. A revision number is returned in the `ETag`
header, which is needed when updating the rule.
:param str access_group_id: The access group identifier.
:param str rule_id: The rule to get.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `Rule` object
|
def get_access_group_rule(
self,
access_group_id: str,
rule_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get an access group rule.
Retrieve a rule from an access group. A revision number is returned in the `ETag`
header, which is needed when updating the rule.
:param str access_group_id: The access group identifier.
:param str rule_id: The rule to get.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `Rule` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if not rule_id:
raise ValueError('rule_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='get_access_group_rule',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id', 'rule_id']
path_param_values = self.encode_path_vars(access_group_id, rule_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/rules/{rule_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, rule_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.045600082725286484,
0.09333651512861252,
-0.02661232464015484,
0.010110842064023018,
0.014144129119813442,
-0.013619248755276203,
-0.0573868565261364,
0.020792605355381966,
-0.00469629280269146,
-0.04898877814412117,
0.00693393824622035,
0.021179359406232834,
0.05267214775085449,
0.00352682382799685,
-0.0020097370725125074,
0.031750623136758804,
0.0015907540218904614,
0.021750280633568764,
0.004074724391102791,
0.02281845733523369,
0.009926673956215382,
-0.0014088877942413092,
-0.002764827338978648,
-0.05893386900424957,
0.01878517121076584,
0.035084068775177,
0.04353739693760872,
-0.000924294872675091,
0.025452064350247383,
0.041806213557720184,
-0.02366563118994236,
-0.020608438178896904,
0.006132805719971657,
0.06604276597499847,
-0.06902629137039185,
-0.022800041362643242,
-0.018435250967741013,
-0.009277480654418468,
-0.12022509425878525,
0.04968861863017082,
-0.04832577332854271,
0.0706838071346283,
0.06132805719971657,
0.014788717962801456,
-0.04151154309511185,
-0.037680841982364655,
-0.021731864660978317,
-0.012845741584897041,
-0.04887827858328819,
-0.050241123884916306,
0.00717335706576705,
-0.014880802482366562,
-0.020258517935872078,
-0.027164829894900322,
-0.006818832829594612,
-0.017228947952389717,
-0.06280140578746796,
-0.038049180060625076,
0.021934449672698975,
-0.01930084265768528,
0.004438457079231739,
0.010129258967936039,
-0.001959090819582343,
-0.023389380425214767,
-0.05414549261331558,
-0.03335288539528847,
-0.08604344725608826,
-0.008982811123132706,
0.0067912074737250805,
-0.0016598171787336469,
-0.02427338808774948,
0.0834650918841362,
0.0735200047492981,
-0.06438525021076202,
-0.01911667361855507,
-0.004880460910499096,
0.023352546617388725,
-0.03959619253873825,
0.05506633594632149,
0.026022987440228462,
-0.030461443588137627,
0.028527677059173584,
0.07631935924291611,
0.03613382950425148,
0.01977968029677868,
-0.011860441416501999,
0.024936392903327942,
-0.00877562165260315,
-0.03329763561487198,
-0.06803178787231445,
0.027054330334067345,
-0.020884690806269646,
-0.054845333099365234,
0.003653439460322261,
-0.05322464928030968,
0.018324749544262886,
-0.02035060152411461,
0.027146413922309875,
-0.010018757544457912,
0.015000511892139912,
-0.023923467844724655,
-0.06887896358966827,
0.0018520428566262126,
0.03941202536225319,
0.032984551042318344,
-0.040995873510837555,
0.023205211386084557,
0.03679683431982994,
-0.017367074266076088,
0.053998157382011414,
0.00974250491708517,
-0.01337062194943428,
-0.021897615864872932,
0.026722826063632965,
0.015497766435146332,
0.04401623457670212,
-0.036870501935482025,
-0.060812387615442276,
-0.01374816708266735,
-0.007537089288234711,
-0.004926503170281649,
-0.028988096863031387,
0.025930901989340782,
0.02427338808774948,
0.0005968205514363945,
0.018766753375530243,
-0.05900753661990166,
0.00924525037407875,
0.12633948028087616,
-0.023499879986047745,
0.0032551754266023636,
-0.031032364815473557,
0.0007360978634096682,
-0.007684424053877592,
-0.026280822232365608,
0.039375193417072296,
0.03230312839150429,
0.040664371103048325,
0.01882200501859188,
-0.012044609524309635,
0.03978036344051361,
-0.0035498447250574827,
0.01859179325401783,
-0.046926092356443405,
-0.0407748706638813,
-0.0658954307436943,
0.00739896297454834,
0.028675010427832603,
-0.008094199001789093,
-0.003704085713252425,
-0.011648647487163544,
-0.03718358650803566,
0.037257254123687744,
0.0310691986232996,
0.05340882018208504,
0.021418778225779533,
-0.010681764222681522,
0.031234951689839363,
0.0016816871939226985,
0.0015815456863492727,
-0.034071143716573715,
-0.021455612033605576,
0.00007863125210860744,
-0.04652092233300209,
0.03068244643509388,
-0.03908052295446396,
0.019595511257648468,
-0.026059821248054504,
-0.010589679703116417,
-0.02740424871444702,
-0.07565635442733765,
-0.02779100276529789,
-0.030977115035057068,
-0.007794925011694431,
-0.08147607743740082,
0.012468196451663971,
0.015672726556658745,
0.032026875764131546,
-0.02053477056324482,
0.033500220626592636,
-0.004634135868400335,
-0.010193717665970325,
-0.01221036072820425,
0.028472425416111946,
-0.02926434949040413,
0.04106954112648964,
-0.016519900411367416,
0.011538146995007992,
-0.00024056989059317857,
0.007085877005010843,
-0.008048156276345253,
-0.02403396926820278,
0.0005202755564823747,
-0.04515807703137398,
-0.040517035871744156,
-0.07466184347867966,
0.030037857592105865,
0.055987175554037094,
0.016013437882065773,
0.009070291183888912,
0.008172470144927502,
0.05278264731168747,
-0.0004091990413144231,
0.08751679956912994,
0.020903106778860092,
-0.029043348506093025,
-0.007177961058914661,
0.014991302974522114,
-0.06320657581090927,
0.019706012681126595,
-0.030277276411652565,
0.010488387197256088,
0.018840420991182327,
0.004880460910499096,
0.002387282205745578,
0.03447631374001503,
-0.006749769672751427,
0.04670509323477745,
0.004903482273221016,
-0.003119351342320442,
-0.06692677736282349,
-0.06416425108909607,
0.03267146274447441,
0.004898877814412117,
-0.021492445841431618,
-0.03154803812503815,
0.059817876666784286,
-0.0022318901028484106,
-0.04257972165942192,
-0.014079669490456581,
0.022836875170469284,
-0.06994713842868805,
0.05753419175744057,
0.004894273821264505,
0.0138678764924407,
-0.03164011985063553,
0.0155345993116498,
0.01939292624592781,
-0.0022468536626547575,
0.0673319473862648,
-0.005934824701398611,
-0.0012339279055595398,
0.03930152580142021,
0.07838204503059387,
-0.05362982302904129,
0.057165853679180145,
-0.0028500051703304052,
0.001875063986517489,
0.04655775800347328,
-0.03145595267415047,
-0.008701954036951065,
0.007385150529444218,
-0.0032966132275760174,
0.03233996033668518,
-0.040959037840366364,
-0.03736775740981102,
-0.05628184601664543,
-0.07845571637153625,
0.04106954112648964,
-0.05248797684907913,
0.012274820357561111,
0.03874902054667473,
-0.0379386767745018,
-0.055508337914943695,
0.016519900411367416,
0.020313767716288567,
-0.002951297676190734,
0.009351147338747978,
-0.0029651103541254997,
-0.020516352728009224,
0.09922990202903748,
0.04803110286593437,
-0.009503086097538471,
0.01948500983417034,
-0.04453190416097641,
0.03664949908852577,
0.05591350793838501,
0.02902493067085743,
-0.03167695552110672,
-0.02327887900173664,
0.024015551432967186,
0.02935643307864666,
-0.0654165968298912,
0.0163541492074728,
-0.0239418838173151,
0.019006172195076942,
0.013517956249415874,
0.06681627780199051,
-0.04655775800347328,
0.050572626292705536,
0.032505713403224945,
-0.017901163548231125,
-0.05793936178088188,
0.0047561475075781345,
0.021271442994475365,
0.020755771547555923,
-0.015129429288208485,
-0.008992019109427929,
0.03206370770931244,
0.0317690372467041,
-0.03390539065003395,
0.027570001780986786,
0.08088673651218414,
-0.0034370417706668377,
-0.07992906123399734,
-0.014475631527602673,
0.053371984511613846,
-0.019171925261616707,
0.0360417440533638,
0.015626683831214905,
0.02803042158484459,
-0.024107636883854866,
0.006929333787411451,
-0.02384980022907257,
-0.012026192620396614,
0.012532656081020832,
-0.016584359109401703,
0.005746052134782076,
0.04806793853640556,
0.047773268073797226,
-0.026207154616713524,
-0.010074008256196976,
0.02399713546037674,
-0.026630742475390434,
0.06084921956062317,
0.006303161382675171,
0.0282145906239748,
0.01891408860683441,
0.05049895867705345,
0.028417175635695457,
0.011805190704762936,
-0.03624432906508446,
-0.01868387870490551,
-0.005598717834800482,
0.011805190704762936,
-0.02427338808774948,
0.0059256162494421005,
-0.05381399020552635,
0.007946863770484924,
0.027717335149645805,
0.004482197109609842,
0.02314995974302292,
0.044605571776628494,
-0.006671498063951731,
0.018039289861917496,
0.021087275817990303,
0.016483066603541374,
0.012532656081020832,
-0.04022236540913582,
-0.009816172532737255,
0.011013266630470753,
-0.05374032258987427,
0.023555131629109383,
0.01621602289378643,
0.026336073875427246,
-0.011924900114536285,
-0.026059821248054504,
-0.018720712512731552,
0.004848231561481953,
-0.00017193841631524265,
-0.019945431500673294,
-0.008844684809446335,
-0.0019234081264585257,
0.026759659871459007,
0.03740458935499191,
-0.029043348506093025,
-0.07119948416948318,
-0.012698407284915447,
0.0286934282630682,
-0.01508338749408722,
-0.049578119069337845,
0.003823795123025775,
0.027514750137925148,
0.011492104269564152,
-0.0031838102731853724,
-0.015516182407736778,
0.008835475891828537,
-0.024678558111190796,
0.054845333099365234,
0.0417325459420681,
0.013435080647468567,
0.009001228027045727,
-0.043463729321956635,
0.039817195385694504,
-0.0031124448869377375,
-0.02707274630665779,
0.0016448535025119781,
0.04129054397344589,
-0.0445687398314476,
-0.008430305868387222,
0.08987414836883545,
-0.005879574455320835,
0.040332868695259094,
-0.06607960164546967,
-0.03467889875173569,
-0.02086627297103405,
-0.030627194792032242,
0.010875140316784382,
-0.03661266714334488,
-0.007366733625531197,
-0.03955936059355736,
0.01558064203709364,
0.01157497987151146,
-0.004390113055706024,
-0.003473875345662236,
-0.013665291480720043,
0.03154803812503815,
0.008743392303586006,
-0.030129941180348396,
-0.025691483169794083,
-0.01370212435722351,
-0.03020360879600048,
-0.01693427935242653,
-0.010654138401150703,
0.02523106336593628,
0.040001362562179565,
0.03302138298749924,
0.060701884329319,
-0.011390811763703823,
-0.01915350742638111,
0.039817195385694504,
-0.06055455282330513,
-0.005221172701567411,
-0.040185533463954926,
-0.030627194792032242,
-0.07794003933668137,
-0.006851062178611755,
0.04965178668498993,
-0.04003819823265076,
-0.03259779512882233,
0.07676136493682861,
0.012477405369281769,
-0.05292998254299164,
0.003239060752093792,
-0.025875652208924294,
-0.014263838529586792,
-0.03657583147287369,
0.03513931855559349,
0.046263087540864944,
-0.0365205816924572,
0.008757204748690128,
0.012385320849716663,
0.03576549142599106,
0.012385320849716663,
-0.06965246796607971,
0.0010509105632081628,
0.04390573129057884,
-0.0227632075548172,
-0.010552845895290375,
-0.01721053197979927,
0.05779202654957771,
0.0640169158577919,
0.06188056245446205,
0.04571058228611946,
-0.049099281430244446,
-0.04854677617549896,
-0.02884076163172722,
-0.03679683431982994,
-0.02517581172287464,
-0.0011809795396402478,
0.015120221301913261,
-0.011510521173477173,
-0.04769960045814514,
0.02162136323750019,
-0.08619078248739243,
0.04202721640467644,
0.01768936961889267,
0.047257598489522934,
-0.03296613320708275,
-0.054329659789800644,
-0.03517615422606468,
-0.04254288598895073,
-0.033168718218803406,
0.03138228505849838,
0.02414446882903576,
0.04482657462358475,
0.02195286564528942,
-0.014144129119813442,
-0.026096655055880547,
0.06630060076713562,
0.03221104294061661,
-0.03418164327740669,
-0.05193547159433365,
-0.024973226711153984,
0.010773847810924053,
-0.018030080944299698,
0.025765150785446167,
0.031990040093660355,
-0.12110910564661026,
-0.012928617186844349,
0.03408956155180931,
-0.0000800700654508546,
-0.047773268073797226,
-0.01273524109274149,
0.0184905007481575,
0.030148357152938843,
0.008029739372432232,
-0.010930391028523445,
-0.019927015528082848,
-0.04486340656876564,
-0.04475290700793266,
-0.029577435925602913,
0.0035314280539751053,
0.008840080350637436,
0.017772244289517403,
0.02062685415148735,
-0.07875038683414459,
0.01484396867454052,
0.018131373450160027,
-0.019227175042033195,
-0.0379386767745018,
0.0664111077785492,
-0.0234814640134573,
0.04618941992521286,
-0.01981651410460472,
0.02427338808774948,
-0.001164289191365242,
0.043979398906230927,
-0.025341564789414406,
0.0008713464485481381,
0.05804986134171486,
0.025765150785446167,
-0.028085671365261078,
0.01040551159530878,
-0.005009378772228956,
0.02351829782128334,
-0.009351147338747978,
0.006745165679603815,
0.029245933517813683,
-0.07624569535255432,
0.013029910624027252,
0.021787114441394806,
-0.02604140341281891,
0.004652552772313356,
-0.016842195764183998,
0.004560468718409538,
-0.06059138476848602,
0.04869411140680313,
-0.12206678092479706,
0.030903447419404984,
0.024825893342494965,
0.006671498063951731,
-0.051382966339588165,
-0.030571945011615753,
-0.05362982302904129,
0.053703486919403076,
0.05823402851819992,
-0.008342825807631016,
0.031087616458535194,
0.00977013073861599,
0.029393266886472702,
0.018610211089253426,
0.021032024174928665,
0.010497595183551311,
0.03237679600715637,
0.03438422828912735,
0.01517547108232975,
-0.03830701485276222,
-0.015774019062519073,
-0.03641008213162422,
-0.003310425905510783,
0.017569659277796745,
-0.040185533463954926,
-0.0012270215665921569,
-0.007946863770484924,
0.0341448113322258,
0.06490092724561691,
0.058307696133852005,
-0.015157054178416729,
0.02565464936196804,
-0.06799495220184326,
-0.016658026725053787,
-0.04036970064043999,
-0.0024448346812278032,
-0.010543637908995152,
0.036870501935482025,
0.03239521011710167,
0.011731523089110851,
0.029245933517813683,
0.02523106336593628,
0.0317690372467041,
0.008522390387952328,
0.05804986134171486,
0.00630776584148407,
-0.032745130360126495,
0.014751884154975414,
0.003842212026938796,
0.00266123260371387,
0.044126734137535095,
-0.043647896498441696,
-0.0073713380843400955,
-0.003321936586871743,
-0.0025300125125795603,
-0.02850925922393799,
-0.012965450994670391,
0.05521366745233536,
-0.05374032258987427,
-0.006215681787580252,
-0.020921524614095688,
0.03197162598371506,
-0.009199208579957485,
0.014834759756922722,
0.019135091453790665,
0.05543467029929161,
0.008936768397688866,
0.03399747610092163,
0.04224821925163269,
-0.04854677617549896,
-0.03338972106575966,
-0.04862044379115105,
-0.07506701350212097,
-0.025341564789414406,
0.034126393496990204,
-0.02101360820233822,
0.03101394884288311,
-0.06534292548894882,
-0.011280311271548271,
0.06736878305673599,
-0.02517581172287464,
-0.06611643731594086,
0.06224890053272247,
0.020976774394512177,
-0.029669519513845444,
0.05425599217414856,
0.00939258560538292,
0.07543535530567169,
0.0417325459420681,
-0.03073769621551037,
-0.03233996033668518,
-0.023960301652550697,
-0.04666825756430626,
0.04103270545601845,
-0.04508440941572189,
-0.037717677652835846,
0.03147437050938606,
-0.009696463122963905,
0.09333651512861252,
0.04151154309511185,
0.016823777928948402,
-0.0222843699157238,
-0.029430100694298744,
0.03291088342666626,
0.03878585249185562,
0.017394699156284332,
-0.03182429075241089,
0.05587667599320412,
0.0060821594670414925,
-0.01645544171333313,
0.035212986171245575,
-0.008108011446893215,
-0.06206472963094711,
0.06744244694709778,
-0.04335322603583336,
-0.013582414947450161,
0.07053647190332413,
0.026446573436260223,
0.03408956155180931,
-0.026188738644123077,
-0.06490092724561691,
-0.03138228505849838,
-0.011400020681321621,
0.0014203983591869473,
-0.020645271986722946,
-0.0877377986907959,
-0.021934449672698975,
-0.04158521071076393,
0.0008091896306723356,
-0.017799871042370796,
0.04036970064043999,
0.033076632767915726,
-0.006648477166891098,
0.03532348945736885,
0.0018140581669285893,
0.059118036180734634,
-0.005663176532834768,
-0.0018831213237717748,
0.056981686502695084,
-0.07473551481962204,
0.04629991948604584,
0.025765150785446167,
-0.023831384256482124,
0.03548923879861832,
-0.007619965355843306,
-0.04276388883590698,
-0.0014710446121171117,
0.025212645530700684,
0.005626342725008726,
-0.061585891991853714,
-0.040480200201272964,
-0.03370280563831329,
0.040148697793483734,
0.009926673956215382,
-0.014779509045183659,
-0.045121245086193085,
0.024218136444687843,
-0.01816820725798607,
-0.03489990159869194,
0.07757170498371124,
-0.026151904836297035,
0.026520241051912308,
-0.04372156411409378,
-0.06519559025764465,
0.03311346843838692,
0.014908427372574806,
0.0054513830691576,
0.023057876154780388,
-0.014503257349133492,
-0.009466253221035004,
-0.01071859709918499,
-0.024641724303364754,
-0.03664949908852577,
0.03823334723711014,
0.03228471055626869,
-0.018241874873638153,
-0.018380001187324524,
-0.053850822150707245,
-0.02381296642124653,
0.008531598374247551,
-0.04954128339886665,
0.01930084265768528,
0.019098257645964622,
0.029743187129497528,
-0.025488898158073425,
-0.002668138826265931,
0.022689539939165115,
0.007205586414784193,
0.023113127797842026,
0.014705842360854149,
-0.0189693383872509,
-0.03248729556798935,
0.04486340656876564,
0.05326148495078087,
0.0033979059662669897,
-0.03641008213162422,
0.019742846488952637,
0.037478256970644,
-0.027901504188776016,
-0.05735002085566521,
0.0222843699157238,
0.03897001966834068,
0.027717335149645805,
-0.02683332748711109,
0.02294737473130226,
-0.10276593267917633,
-0.054513830691576004,
0.03248729556798935,
-0.016234438866376877,
0.008485556580126286,
0.018324749544262886,
-0.005861157551407814,
0.009733296930789948,
-0.02105044201016426,
0.05576617270708084,
0.050241123884916306,
0.01698032207787037,
-0.04022236540913582,
-0.006694519426673651,
-0.020755771547555923,
0.061770062893629074,
0.013582414947450161,
-0.0013467309763655066,
0.009963507764041424,
0.024126052856445312,
0.009236042387783527,
-0.009295896627008915,
-0.012726032175123692,
0.020755771547555923,
-0.030995532870292664
] |
719,634
|
ibm_platform_services.iam_access_groups_v2
|
get_account_settings
|
Get account settings.
Retrieve the access groups settings for a specific account.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `AccountSettings` object
|
def get_account_settings(
self,
account_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get account settings.
Retrieve the access groups settings for a specific account.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `AccountSettings` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='get_account_settings',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v2/groups/settings'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.04220772534608841,
0.005711995996534824,
-0.0032217788975685835,
-0.017324935644865036,
0.004360302351415157,
0.004791487939655781,
-0.07085006684064865,
-0.037866804748773575,
-0.022576676681637764,
0.00010552537423791364,
0.018972160294651985,
-0.02085193432867527,
0.019757013767957687,
-0.008798121474683285,
-0.01448589377105236,
0.010290313512086868,
0.006501695141196251,
0.014534341171383858,
0.03775052726268768,
0.019020607694983482,
0.037362948060035706,
0.011704989708960056,
-0.001100976369343698,
0.01033876184374094,
0.021258896216750145,
0.005426154006272554,
0.012228225357830524,
0.0003179387131240219,
0.018458614125847816,
0.05321506783366203,
-0.011113925836980343,
-0.019679497927427292,
-0.012363879941403866,
0.03937837481498718,
-0.05306003615260124,
-0.033952221274375916,
-0.007228412199765444,
0.0570133775472641,
-0.06798195838928223,
0.030541496351361275,
-0.06251704692840576,
0.01984422095119953,
0.09798084199428558,
-0.028254758566617966,
-0.009471545927226543,
-0.014476204290986061,
0.024785896763205528,
0.006797227077186108,
-0.04654864966869354,
-0.011947228573262691,
0.0781753733754158,
0.019485706463456154,
-0.0586412213742733,
-0.012257294729351997,
-0.011142995208501816,
-0.016162186861038208,
-0.02507658302783966,
-0.050889573991298676,
0.03203368932008743,
-0.0228092260658741,
-0.002899601124227047,
-0.007514254655689001,
0.004057503771036863,
-0.038835760205984116,
-0.048447802662849426,
-0.02802220918238163,
-0.058408673852682114,
-0.009156635031104088,
0.02802220918238163,
-0.00594454538077116,
0.0011476073414087296,
0.019117504358291626,
0.016375357285141945,
-0.03499869257211685,
-0.0831751897931099,
-0.005847650114446878,
0.02866172045469284,
0.03075466677546501,
-0.01026124507188797,
0.028119105845689774,
-0.04251779243350029,
0.02736331894993782,
-0.002189840655773878,
0.022886741906404495,
0.003197555197402835,
0.007548167835921049,
-0.037072259932756424,
-0.056587036699056625,
0.04786643013358116,
-0.03875824436545372,
-0.0030376773793250322,
-0.023545632138848305,
0.03139417618513107,
0.008706070482730865,
-0.002570156008005142,
-0.006976483855396509,
-0.0011282282648608088,
-0.015929637476801872,
-0.0733305960893631,
0.01597808673977852,
-0.07829165458679199,
-0.07794282585382462,
-0.012722393497824669,
0.0005662337061949074,
0.04092870652675629,
-0.021220138296484947,
-0.0015261057997122407,
-0.020948830991983414,
0.03870010748505592,
0.019757013767957687,
0.009912420995533466,
-0.0003236919001210481,
0.012984011322259903,
-0.007354376837611198,
0.03643275052309036,
0.015387022867798805,
-0.03383594751358032,
-0.02164647914469242,
0.004636454861611128,
-0.015832742676138878,
0.018943091854453087,
0.05228487029671669,
0.02213095687329769,
0.039649683982133865,
0.03664591908454895,
0.0488353855907917,
-0.020619384944438934,
0.012906495481729507,
0.05085081607103348,
0.032498788088560104,
-0.038545072078704834,
-0.04170386865735054,
-0.004302165005356073,
-0.0048714266158640385,
0.07073379307985306,
0.042130209505558014,
0.05402899160981178,
0.03513434901833534,
-0.015183541923761368,
0.04189766198396683,
-0.003950918558984995,
0.022692952305078506,
0.01822606474161148,
-0.017014868557453156,
-0.0037159465719014406,
-0.03879700228571892,
0.042905375361442566,
-0.03627771511673927,
-0.03530875965952873,
-0.018032273277640343,
-0.002003316767513752,
0.004965899977833033,
0.024340176954865456,
-0.0011076378868892789,
-0.06325345486402512,
0.015338574536144733,
0.03637460991740227,
0.05716840922832489,
0.028041590005159378,
-0.006928035989403725,
-0.06565646082162857,
0.0929422676563263,
0.04457198083400726,
-0.06697424501180649,
0.023041775450110435,
-0.02606491930782795,
-0.027266424149274826,
-0.03441732004284859,
0.016084671020507812,
-0.06240077316761017,
-0.024320797994732857,
-0.016385046765208244,
-0.04744008928537369,
-0.025677336379885674,
-0.07255543023347855,
0.003527000080794096,
0.017848171293735504,
-0.03825438767671585,
-0.0456184521317482,
0.03143293410539627,
0.005251741968095303,
-0.03306078165769577,
-0.0008811444276943803,
0.01675325073301792,
0.004406327847391367,
-0.02001863345503807,
0.02897178754210472,
0.049300484359264374,
-0.0358707532286644,
-0.014970371499657631,
0.05619945377111435,
-0.00695710489526391,
0.01906905509531498,
-0.04837028682231903,
-0.024165764451026917,
-0.056587036699056625,
0.024689001962542534,
-0.08294264227151871,
-0.0036190510727465153,
0.00415682140737772,
0.019631050527095795,
-0.035909511148929596,
0.02379756234586239,
0.05833115801215172,
0.059028804302215576,
-0.029533781111240387,
0.02831289730966091,
-0.0636410340666771,
-0.03891327604651451,
0.06127678230404854,
-0.03209182620048523,
-0.02428204007446766,
-0.013604143634438515,
-0.0171214547008276,
-0.007872767746448517,
0.07790406793355942,
0.04709126427769661,
0.01196660753339529,
0.04457198083400726,
-0.02005739137530327,
0.0154645387083292,
-0.04073491320014,
0.01890433393418789,
-0.013739797286689281,
-0.003655386855825782,
0.005930011160671711,
0.028390413150191307,
-0.04643237590789795,
-0.05329258367419243,
-0.008749673143029213,
0.03402973711490631,
0.006511385086923838,
-0.029184957966208458,
-0.015474229119718075,
0.019320983439683914,
-0.06596653163433075,
0.01582305319607258,
-0.07755524665117264,
0.07069503515958786,
-0.015445159748196602,
0.006487160921096802,
0.028060968965291977,
0.02914619818329811,
0.07030745595693588,
-0.1156545951962471,
-0.012247605249285698,
-0.05294375866651535,
0.004537136759608984,
0.03061901219189167,
-0.045540936291217804,
0.02005739137530327,
-0.04123876988887787,
-0.033467743545770645,
0.04670368507504463,
-0.00912756659090519,
-0.04767264053225517,
-0.025619199499487877,
-0.02294488064944744,
0.0035609137266874313,
-0.040308572351932526,
0.02933998964726925,
-0.019921736791729927,
-0.058059848845005035,
-0.05581187084317207,
0.04837028682231903,
0.029572539031505585,
0.01630753092467785,
-0.0026258709840476513,
0.016414115205407143,
0.008100473321974277,
0.10836804658174515,
0.07418327778577805,
0.00014276962610892951,
0.025309132412075996,
-0.044029366225004196,
0.029398128390312195,
0.06073416769504547,
-0.007490030489861965,
-0.017857860773801804,
0.0015600193291902542,
-0.04689747467637062,
-0.04251779243350029,
-0.028894269838929176,
-0.01008683256804943,
0.043099164962768555,
-0.020716281607747078,
0.007804941385984421,
0.04026981443166733,
0.005615100730210543,
0.0733693540096283,
0.0030037639662623405,
-0.007577236741781235,
-0.08395035564899445,
-0.02474713884294033,
-0.03643275052309036,
-0.02672380954027176,
-0.022712331265211105,
-0.02850668877363205,
0.0301151555031538,
0.03517310693860054,
-0.018797747790813446,
0.021258896216750145,
-0.023177430033683777,
0.03505682945251465,
0.015164162963628769,
0.043099164962768555,
0.06612156331539154,
0.02575485222041607,
0.052052319049835205,
0.06398986279964447,
-0.031859274953603745,
-0.02247978188097477,
0.025154100731015205,
0.030212050303816795,
-0.01628815196454525,
-0.06492006033658981,
0.01027093455195427,
0.01026124507188797,
-0.006908657029271126,
0.05639324337244034,
-0.0764312595129013,
0.008148920722305775,
0.0037765062879770994,
-0.03976595774292946,
0.06554018706083298,
0.04899042099714279,
0.009500614367425442,
0.04220772534608841,
0.007678976748138666,
0.02298363856971264,
-0.025037825107574463,
-0.03399097919464111,
-0.001064034877344966,
-0.008270040154457092,
-0.0406961552798748,
-0.030715906992554665,
0.018274512141942978,
0.0039000483229756355,
0.025851748883724213,
0.07418327778577805,
0.025328511372208595,
-0.023196808993816376,
0.010445347055792809,
-0.04026981443166733,
-0.01083292905241251,
-0.007310773711651564,
0.07794282585382462,
0.004074460361152887,
-0.016162186861038208,
-0.009515148587524891,
0.031045353040099144,
-0.0013529049465432763,
0.024960309267044067,
0.05391271784901619,
0.003449483774602413,
-0.00667610764503479,
-0.0007091547595337033,
0.04856408014893532,
-0.02852606773376465,
0.01660790666937828,
-0.05309879407286644,
-0.004558938555419445,
-0.00046146532986313105,
0.007436737883836031,
0.016675734892487526,
-0.03554131090641022,
-0.06333097070455551,
-0.02054186910390854,
0.0781366154551506,
-0.043719299137592316,
0.03342898562550545,
0.010571311227977276,
0.02153020352125168,
-0.01905936561524868,
0.027440836653113365,
0.06375730782747269,
-0.06371854990720749,
-0.013158423826098442,
-0.00038092085742391646,
0.04313792660832405,
0.07720641791820526,
-0.012761151418089867,
-0.0006837196415290236,
0.053990233689546585,
0.005721685476601124,
-0.008991912007331848,
0.017014868557453156,
-0.029901985079050064,
-0.02114262245595455,
-0.0010319382417947054,
-0.0011936327209696174,
0.024824654683470726,
-0.03387470543384552,
0.01271270401775837,
-0.05782729759812355,
0.0007606305298395455,
-0.02184027060866356,
-0.005915476940572262,
-0.03044459968805313,
-0.030328325927257538,
-0.0042827860452234745,
-0.061664365231990814,
0.04988186061382294,
-0.0006334550562314689,
0.012887115590274334,
-0.03811873123049736,
0.008497744798660278,
-0.010416277684271336,
0.019902357831597328,
-0.044029366225004196,
-0.02102634683251381,
-0.01968918740749359,
0.007625684607774019,
0.006453247740864754,
-0.00659374613314867,
-0.0002068115572910756,
-0.041626352816820145,
0.060191553086042404,
-0.010813550092279911,
-0.02868109941482544,
0.01695673167705536,
-0.046199824661016464,
-0.041432563215494156,
-0.03269257768988609,
-0.008153765462338924,
-0.0374792218208313,
0.004462042823433876,
0.037556737661361694,
0.011782505549490452,
-0.04658740758895874,
0.044882044196128845,
0.01310997549444437,
-0.027634628117084503,
-0.0358126163482666,
0.017819102853536606,
0.0276733860373497,
0.011075167916715145,
-0.011530577205121517,
0.023700665682554245,
0.0029625832103192806,
0.0008623709436506033,
0.01919502019882202,
-0.007364066317677498,
-0.06174188107252121,
-0.02228599041700363,
-0.007272015325725079,
0.015755226835608482,
0.002201952738687396,
0.016491632908582687,
-0.0325763039290905,
0.01319718174636364,
0.04709126427769661,
0.031975552439689636,
-0.0325569249689579,
-0.029553160071372986,
-0.023041775450110435,
-0.005222673527896404,
-0.004135020077228546,
-0.002413911744952202,
0.024863412603735924,
0.030832182615995407,
-0.062168221920728683,
-0.03490179777145386,
0.009762232191860676,
0.024708380922675133,
0.04499832168221474,
0.04515335336327553,
0.0407736711204052,
-0.008512279018759727,
-0.010561621747910976,
-0.022227851673960686,
0.020134907215833664,
-0.09263220429420471,
0.04945551976561546,
0.02538665011525154,
0.00006184665107866749,
-0.023061154410243034,
0.0053680166602134705,
-0.055269256234169006,
-0.0025798454880714417,
-0.0014388997806236148,
0.005905787460505962,
-0.007877613417804241,
-0.011772816069424152,
0.042246486991643906,
-0.07639249414205551,
0.05883501470088959,
0.026917599141597748,
-0.058059848845005035,
-0.016695113852620125,
0.035560689866542816,
-0.044416945427656174,
-0.05476539954543114,
0.016569148749113083,
-0.04329295828938484,
-0.013565384782850742,
0.0063999551348388195,
-0.006991018075495958,
-0.0017089962493628263,
-0.04709126427769661,
0.02001863345503807,
-0.06302090734243393,
0.019815152511000633,
-0.004139864817261696,
-0.013400662690401077,
0.03924272209405899,
-0.09627547860145569,
0.03238251060247421,
0.024514589458703995,
-0.04837028682231903,
-0.03523124381899834,
0.07232288271188736,
-0.09643051028251648,
-0.023003017529845238,
-0.001448589377105236,
-0.005072485189884901,
-0.01515447348356247,
0.0017949911998584867,
-0.0027227667160332203,
-0.052517421543598175,
-0.0009223250672221184,
0.025812990963459015,
0.004604963585734367,
0.08193492889404297,
0.02945626527070999,
0.0472850576043129,
-0.0309290774166584,
-0.01888495497405529,
-0.0227898471057415,
-0.04170386865735054,
0.018352027982473373,
-0.0054988255724310875,
-0.019669808447360992,
-0.013177802786231041,
0.028874890878796577,
-0.06786568462848663,
-0.062129464000463486,
-0.013400662690401077,
-0.06650914251804352,
0.0945701152086258,
-0.00013096047041472048,
-0.05294375866651535,
-0.013536316342651844,
-0.056276969611644745,
-0.05387395992875099,
0.00033852903288789093,
0.021220138296484947,
0.026103677228093147,
0.012916184961795807,
0.0019863599445670843,
0.08650840073823929,
-0.0391264483332634,
0.0862758532166481,
0.019902357831597328,
-0.017499346286058426,
0.023254945874214172,
-0.05476539954543114,
-0.06367979198694229,
0.0032920283265411854,
-0.041432563215494156,
0.02149144560098648,
-0.0007133939070627093,
-0.037362948060035706,
0.035076212137937546,
-0.037692390382289886,
-0.008274884894490242,
0.03995974734425545,
0.08263257145881653,
-0.0203480776399374,
-0.004503223579376936,
-0.05247865989804268,
0.04174262657761574,
-0.06201319023966789,
-0.005876718554645777,
-0.04771139845252037,
0.021762752905488014,
0.047478847205638885,
-0.0179353766143322,
0.011608093976974487,
0.05278872698545456,
-0.010774791240692139,
-0.01458278950303793,
0.04170386865735054,
0.01776096597313881,
-0.008841724134981632,
0.036064546555280685,
-0.00042997425771318376,
0.0012154342839494348,
0.057749781757593155,
0.028274139389395714,
0.008207057602703571,
0.03683970868587494,
-0.00041574271745048463,
-0.021045725792646408,
-0.0021874182857573032,
0.04426191374659538,
-0.05492043122649193,
-0.05910632014274597,
0.011423991993069649,
-0.0276733860373497,
0.004583162255585194,
0.01393358875066042,
0.019776394590735435,
0.04410688206553459,
-0.0028487308882176876,
0.06988111138343811,
0.04507583752274513,
-0.011443370953202248,
0.02069690264761448,
-0.03342898562550545,
-0.0489129014313221,
-0.06705176085233688,
0.0619356743991375,
-0.029882606118917465,
-0.004292475525289774,
-0.03096783719956875,
-0.009941489435732365,
0.031006595119833946,
-0.006462937220931053,
-0.04546342045068741,
0.058059848845005035,
0.06081168353557587,
-0.052711211144924164,
0.06484254449605942,
-0.02428204007446766,
0.041936419904232025,
0.052711211144924164,
-0.008584951050579548,
-0.05670331045985222,
-0.01676294021308422,
-0.01728617586195469,
0.049261726438999176,
-0.04410688206553459,
-0.032498788088560104,
-0.0003029501822311431,
-0.0052129835821688175,
0.026161814108490944,
0.01679200865328312,
0.002754257759079337,
0.007950284518301487,
0.07879550755023956,
0.01889464445412159,
0.009728319011628628,
0.05519174039363861,
-0.010542241856455803,
0.04871911182999611,
-0.039010170847177505,
-0.033467743545770645,
-0.033448364585638046,
-0.019960494711995125,
-0.08208996057510376,
0.018187304958701134,
-0.06057913601398468,
-0.03546379134058952,
0.020638763904571533,
0.00668095238506794,
0.019960494711995125,
0.02216971479356289,
-0.04383557289838791,
-0.006240077316761017,
-0.004684902727603912,
0.00953452754765749,
-0.06092795729637146,
-0.023409979417920113,
0.022344127297401428,
-0.034146010875701904,
-0.05650951713323593,
0.04329295828938484,
0.056276969611644745,
-0.028060968965291977,
0.06767189502716064,
0.02358439192175865,
-0.03598703071475029,
0.03815748915076256,
-0.027285803109407425,
0.0734081119298935,
0.01008683256804943,
-0.012170088477432728,
-0.008240971714258194,
0.03387470543384552,
0.03433980420231819,
-0.012179777957499027,
0.01660790666937828,
0.00311277131550014,
0.031064732000231743,
-0.0407736711204052,
0.007548167835921049,
-0.05957141891121864,
-0.0667029395699501,
0.05445533245801926,
-0.006821450777351856,
-0.05081205815076828,
-0.010416277684271336,
0.03187865391373634,
0.09146945178508759,
0.0007612361223436892,
0.025774231180548668,
0.014379308559000492,
0.029204336926341057,
0.00020938535453751683,
-0.02164647914469242,
-0.09340737015008926,
0.0422852449119091,
0.0171214547008276,
0.04271158576011658,
-0.019999254494905472,
0.018041962757706642,
-0.05127715691924095,
0.014689374715089798,
0.017557485029101372,
-0.04786643013358116,
0.0766250491142273,
0.01872992143034935,
0.00782432034611702,
-0.022072819992899895,
0.03468862920999527,
-0.015028509311378002,
0.01270301453769207,
-0.01133678574115038,
0.04995937645435333,
-0.015261058695614338,
0.02620057202875614,
-0.00725263636559248,
0.01204412430524826,
0.02641374245285988,
0.03176238015294075,
-0.017489656805992126,
0.0863533690571785,
-0.019776394590735435,
-0.028409792110323906,
0.014253344386816025,
-0.023565011098980904,
-0.023390600457787514,
-0.004195579793304205,
0.0012124063214287162,
0.038351282477378845,
0.00574590964242816,
-0.006273990496993065,
-0.0034567508846521378,
0.03149107098579407,
0.04806022346019745,
0.024689001962542534,
-0.022072819992899895,
-0.011772816069424152,
-0.051587220281362534,
0.002528975484892726,
0.021103862673044205,
0.034766145050525665,
0.02590988576412201,
0.0008956787642091513,
0.029184957966208458,
-0.007877613417804241,
0.03899079188704491,
0.03160734847187996,
0.0005901548429392278,
0.012518912553787231,
-0.03817686811089516,
-0.0046824803575873375,
0.05174225568771362,
0.039998508989810944,
0.0011869712034240365,
-0.002548354445025325,
0.03895203396677971,
0.0026476725470274687,
0.024204522371292114,
0.0010779636213555932,
0.03402973711490631,
-0.013235939666628838
] |
719,635
|
ibm_platform_services.iam_access_groups_v2
|
get_assignment
|
Get assignment.
Get a specific template assignment.
:param str assignment_id: Assignment ID.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param bool verbose: (optional) Returns resources access group template
assigned, possible values `true` or `false`.
: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 representing a `TemplateAssignmentVerboseResponse` object
|
def get_assignment(
self,
assignment_id: str,
*,
transaction_id: str = None,
verbose: bool = None,
**kwargs,
) -> DetailedResponse:
"""
Get assignment.
Get a specific template assignment.
:param str assignment_id: Assignment ID.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param bool verbose: (optional) Returns resources access group template
assigned, possible values `true` or `false`.
: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 representing a `TemplateAssignmentVerboseResponse` object
"""
if not assignment_id:
raise ValueError('assignment_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='get_assignment',
)
headers.update(sdk_headers)
params = {
'verbose': verbose,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['assignment_id']
path_param_values = self.encode_path_vars(assignment_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_assignments/{assignment_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, assignment_id: str, *, transaction_id: Optional[str] = None, verbose: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.016646914184093475,
0.03342104330658913,
-0.020336132496595383,
-0.021844532340765,
0.010631490498781204,
0.029004886746406555,
-0.049577273428440094,
-0.02753283455967903,
-0.010667837224900723,
-0.05673762783408165,
0.018082620576024055,
-0.03563820943236351,
-0.013511988334357738,
0.02493402548134327,
-0.004843234550207853,
-0.03885491564869881,
0.00008213564433390275,
0.04390714690089226,
-0.01416623406112194,
-0.026878587901592255,
0.06829597055912018,
-0.004761453717947006,
0.03787354752421379,
0.031458307057619095,
-0.020154397934675217,
-0.032476022839546204,
0.05353909358382225,
-0.033857207745313644,
-0.00513855367898941,
0.056919362396001816,
0.023298410698771477,
0.005256681237369776,
-0.021426541730761528,
0.08548808842897415,
-0.04427061602473259,
0.03434789180755615,
-0.05561087280511856,
0.03125840052962303,
-0.11565607786178589,
0.00017506179574411362,
-0.03565638139843941,
0.023843616247177124,
0.03131292015314102,
-0.03320296108722687,
-0.025424709543585777,
-0.01233071181923151,
0.007800969760864973,
-0.0825803279876709,
0.007410239428281784,
-0.04321655258536339,
0.04452504590153694,
-0.005874579772353172,
-0.04019975662231445,
-0.004956818651407957,
-0.023789094761013985,
0.015356597490608692,
0.010749617591500282,
0.024806810542941093,
0.051321931183338165,
-0.05422968789935112,
-0.012439751997590065,
0.00809628888964653,
-0.0268967617303133,
-0.00027757164207287133,
-0.0724758729338646,
-0.033966246992349625,
-0.05321197211742401,
-0.013611942529678345,
-0.0067923408932983875,
-0.004688759800046682,
-0.021499235183000565,
0.017083078622817993,
-0.018991295248270035,
-0.0777825266122818,
0.009613774716854095,
0.002163780853152275,
-0.0346386693418026,
-0.033257484436035156,
-0.00250339787453413,
-0.0015424747252836823,
-0.0708402544260025,
-0.010976786725223064,
0.026987629011273384,
0.029913561418652534,
0.008923182263970375,
-0.01741020195186138,
-0.017882712185382843,
-0.040672264993190765,
-0.006637866608798504,
-0.03171273693442345,
0.054047953337430954,
-0.006828688085079193,
0.0013630115427076817,
0.031403787434101105,
0.0038164325524121523,
0.004425244405865669,
-0.01565646007657051,
-0.015592852607369423,
-0.022789552807807922,
0.021862706169486046,
-0.049359191209077835,
-0.08883200585842133,
-0.02706032246351242,
0.025152107700705528,
-0.004536557011306286,
-0.010486102662980556,
0.02593356743454933,
0.051321931183338165,
0.03845509886741638,
-0.009531994350254536,
-0.008323457092046738,
0.05506566911935806,
-0.043543677777051926,
0.026551466435194016,
0.019191203638911247,
0.005161270499229431,
-0.017982665449380875,
-0.05081307142972946,
-0.013402947224676609,
-0.07156719267368317,
-0.005992707796394825,
0.02029978670179844,
0.0013527889968827367,
0.04016340896487236,
0.013830023817718029,
0.014111713506281376,
-0.0686957836151123,
-0.019518325105309486,
0.033530086278915405,
-0.0511401928961277,
0.007001336198300123,
-0.014002672396600246,
-0.002573820296674967,
0.03732834383845329,
0.0026896761264652014,
-0.012803222052752972,
-0.007814600132405758,
0.0958833247423172,
0.013857284560799599,
0.01795540563762188,
0.021808184683322906,
-0.026660505682229996,
-0.003144013462588191,
0.019263897091150284,
-0.00511583685874939,
-0.09137629717588425,
0.03276680037379265,
0.019427457824349403,
-0.012385232374072075,
0.010567883029580116,
-0.003359823487699032,
-0.028150731697678566,
-0.004897755105048418,
-0.007251221686601639,
-0.010477015748620033,
0.04143555089831352,
0.03243967518210411,
0.03498396277427673,
0.04150824621319771,
-0.0043389201164245605,
-0.011930895037949085,
-0.04597892239689827,
0.0028350641950964928,
0.013766417279839516,
0.04187171533703804,
-0.03740103915333748,
-0.027042150497436523,
0.008432498201727867,
0.009250305593013763,
-0.04005436599254608,
-0.02945922315120697,
0.03680131211876869,
-0.06142638996243477,
-0.06186255067586899,
-0.01826435513794422,
-0.011194868944585323,
0.06964080780744553,
0.01547472458332777,
-0.005265768151730299,
0.014775045216083527,
-0.015002214349806309,
-0.06698747724294662,
-0.02749648690223694,
0.04779627174139023,
0.034493278712034225,
-0.008691470138728619,
0.04768723249435425,
0.06415241211652756,
-0.019936315715312958,
0.0068559483624994755,
0.024098044261336327,
-0.044452350586652756,
-0.028459681198000908,
0.05397525802254677,
0.008091745898127556,
-0.055429138243198395,
0.057355526834726334,
-0.035292912274599075,
0.018627824261784554,
0.04736011102795601,
0.005406612530350685,
-0.032730452716350555,
0.03509300574660301,
0.05746456980705261,
0.023316584527492523,
0.02402535080909729,
0.06462492048740387,
-0.03900030627846718,
-0.04390714690089226,
0.017437461763620377,
-0.01673778146505356,
-0.016546960920095444,
0.028586896136403084,
-0.005429329350590706,
-0.014457009732723236,
0.0607357956469059,
0.07596518099308014,
-0.03127657249569893,
0.034602321684360504,
-0.028368813917040825,
-0.0591365285217762,
-0.04085399955511093,
0.021390195935964584,
-0.011149434372782707,
-0.013739156536757946,
-0.05666493624448776,
0.007959987968206406,
0.023734575137495995,
-0.07952718436717987,
0.01806444674730301,
0.09246670454740524,
-0.017510155215859413,
0.03482040390372276,
-0.008328001014888287,
-0.030967622995376587,
-0.0681869238615036,
-0.032476022839546204,
-0.043761759996414185,
0.01004085224121809,
0.037582773715257645,
0.016583306714892387,
0.057028405368328094,
0.03691035509109497,
0.046160660684108734,
-0.07705558836460114,
-0.026769546791911125,
-0.03692852705717087,
0.046160660684108734,
0.029277488589286804,
-0.07611056417226791,
0.049032069742679596,
-0.04347098246216774,
-0.029477396979928017,
0.029749998822808266,
-0.031458307057619095,
0.0052203345112502575,
-0.03004077449440956,
-0.01854604482650757,
0.02540653571486473,
-0.0022546483669430017,
0.00500679574906826,
0.0591365285217762,
-0.08025412261486053,
-0.0575372613966465,
0.020317958667874336,
-0.04310751333832741,
-0.04670586436986923,
0.016492439433932304,
-0.01715577207505703,
-0.0005216358695179224,
0.03881857171654701,
0.051321931183338165,
0.047323763370513916,
0.029332010075449944,
-0.0346386693418026,
-0.009868203662335873,
0.09668295830488205,
0.028586896136403084,
-0.03254871815443039,
0.009759162552654743,
-0.02935018204152584,
-0.007878206670284271,
0.02609712816774845,
0.010604229755699635,
0.029077580198645592,
-0.004129925277084112,
0.029332010075449944,
0.050958458334207535,
0.03207620605826378,
-0.005011339206248522,
-0.009659208357334137,
0.03383903577923775,
-0.008782338351011276,
-0.015574678778648376,
0.010268020443618298,
0.0008229182567447424,
-0.041362859308719635,
-0.031985338777303696,
0.022444257512688637,
0.043543677777051926,
0.03309392184019089,
-0.03878222405910492,
-0.004529742058366537,
0.003716478357091546,
-0.04736011102795601,
0.02509758621454239,
0.012994043529033661,
0.049577273428440094,
0.015147602185606956,
0.006106291897594929,
0.009659208357334137,
-0.02402535080909729,
0.002519299741834402,
0.06295295804738998,
-0.030913103371858597,
-0.005706475116312504,
0.023425625637173653,
0.021771838888525963,
0.04201710224151611,
0.020390653982758522,
-0.028205253183841705,
0.021971747279167175,
0.039509162306785583,
0.002364824991673231,
0.03605619817972183,
-0.021771838888525963,
0.013684635981917381,
0.03180360421538353,
0.03036789782345295,
0.07025870680809021,
-0.0356927290558815,
0.018255269154906273,
-0.021008551120758057,
-0.03149465471506119,
-0.020227091386914253,
-0.023316584527492523,
-0.01523846946656704,
-0.026242516934871674,
0.01721029356122017,
0.003423430724069476,
0.0037142066285014153,
-0.00005043852797825821,
0.04885033518075943,
-0.04590623080730438,
0.03282131999731064,
0.01363920234143734,
0.00040634782635606825,
0.012830482795834541,
-0.03138561174273491,
-0.09624679386615753,
-0.047978006303310394,
0.04470678046345711,
0.021117592230439186,
0.024588728323578835,
-0.027133017778396606,
0.02593356743454933,
0.01592906191945076,
0.03601985424757004,
-0.04746915027499199,
0.0070604002103209496,
-0.05019517242908478,
-0.024007176980376244,
-0.016983123496174812,
-0.009522907435894012,
-0.00044496648479253054,
-0.03160369396209717,
-0.02049969509243965,
-0.002092222683131695,
0.015056734904646873,
-0.0479416623711586,
-0.0521942563354969,
-0.01001359149813652,
-0.026660505682229996,
-0.04252596199512482,
-0.07418417930603027,
0.041362859308719635,
-0.05019517242908478,
0.009018593467772007,
0.0038709528744220734,
-0.019518325105309486,
0.11601954698562622,
-0.038273364305496216,
-0.026805894449353218,
0.03772816061973572,
-0.03538377955555916,
-0.06317104399204254,
0.02487950399518013,
0.0023580100387334824,
0.018900427967309952,
0.04503390192985535,
0.04027244821190834,
-0.027932651340961456,
0.014148060232400894,
-0.018146228045225143,
0.028005344793200493,
-0.014974953606724739,
-0.034911271184682846,
0.01035888772457838,
-0.034765880554914474,
0.02333475835621357,
0.004359365440905094,
0.029441049322485924,
0.032730452716350555,
0.004734193440526724,
0.026860414072871208,
-0.0263697300106287,
0.1123848482966423,
-0.02658781222999096,
-0.0019604649860411882,
-0.03138561174273491,
0.0079872477799654,
0.036619577556848526,
-0.030931275337934494,
-0.017773671075701714,
-0.0008643764886073768,
0.05582895502448082,
-0.0007064943201839924,
0.0250430665910244,
-0.013112171553075314,
-0.028405161574482918,
0.001050654798746109,
-0.026496944949030876,
-0.005347548983991146,
-0.04321655258536339,
0.007701015565544367,
-0.06480665504932404,
-0.013057650998234749,
0.014856826514005661,
-0.00019422915647737682,
-0.04521563649177551,
-0.010004504583775997,
0.025152107700705528,
0.016801388934254646,
-0.01900946907699108,
0.04979535564780235,
0.0031053947750478983,
0.022171655669808388,
0.04768723249435425,
0.023243891075253487,
0.004204890690743923,
0.07233048230409622,
0.011485644616186619,
0.01870051957666874,
-0.05139462277293205,
-0.0772736668586731,
0.004956818651407957,
-0.062298715114593506,
0.003548373468220234,
-0.06037232652306557,
0.032839491963386536,
0.06164447218179703,
0.04950458183884621,
0.0708402544260025,
0.033257484436035156,
-0.05041325464844704,
-0.06949541717767715,
0.015574678778648376,
-0.024370647966861725,
-0.023989003151655197,
-0.030913103371858597,
-0.019936315715312958,
-0.02546105720102787,
0.05677397549152374,
0.06320738792419434,
0.0008694878197275102,
-0.027023976668715477,
-0.01470235176384449,
0.054956626147031784,
-0.02893219329416752,
-0.009604688733816147,
-0.03067684732377529,
0.010349801741540432,
-0.08279841393232346,
0.057355526834726334,
-0.034711360931396484,
0.024098044261336327,
-0.0049840789288282394,
-0.01329390611499548,
0.013521075248718262,
0.01526573020964861,
-0.010504275560379028,
-0.012566966935992241,
0.014347968623042107,
0.02120845951139927,
0.0008677840232849121,
-0.04841417074203491,
0.06226236745715141,
0.015038561075925827,
-0.09973610192537308,
0.013384773395955563,
-0.013302993029356003,
-0.004666042979806662,
-0.008727817796170712,
0.04321655258536339,
-0.053720828145742416,
-0.026024434715509415,
-0.020954031497240067,
0.0025965371169149876,
-0.007632865104824305,
-0.0017878168728202581,
0.027678221464157104,
-0.011976328678429127,
0.08636041730642319,
-0.014293448068201542,
0.06157177686691284,
0.017301160842180252,
-0.04714202880859375,
0.010049939155578613,
0.034765880554914474,
0.020445173606276512,
0.013284819200634956,
0.02140836790204048,
-0.040672264993190765,
0.007146724034100771,
0.006583346053957939,
0.07400244474411011,
0.016101710498332977,
-0.024806810542941093,
0.049831703305244446,
-0.011730986647307873,
0.025533750653266907,
0.03903665021061897,
-0.003934559877961874,
0.021844532340765,
0.034220676869153976,
0.006415241397917271,
-0.04979535564780235,
-0.011894547380506992,
-0.0575372613966465,
0.0202452652156353,
-0.005797342397272587,
-0.013884544372558594,
-0.04347098246216774,
-0.04038149118423462,
-0.012766875326633453,
0.010885919444262981,
-0.08774159848690033,
-0.006696930155158043,
-0.05215790867805481,
0.0239708311855793,
0.0012903176248073578,
0.020645081996917725,
0.00418444536626339,
-0.02893219329416752,
-0.027660047635436058,
0.00248295278288424,
-0.00806902814656496,
0.08396151661872864,
0.013302993029356003,
0.011194868944585323,
0.05513836070895195,
-0.05717379227280617,
-0.0062425932846963406,
-0.014129886403679848,
-0.0409993901848793,
0.03696487471461296,
-0.01725572720170021,
0.03641967102885246,
-0.00601996760815382,
0.02593356743454933,
0.0340934619307518,
-0.013221212662756443,
-0.013720983639359474,
-0.006933185737580061,
0.013848197646439075,
0.013784590177237988,
0.05557452514767647,
0.018337048590183258,
-0.03138561174273491,
-0.01699221134185791,
-0.028804978355765343,
0.006228962913155556,
-0.01980910263955593,
0.013248472474515438,
-0.03265775740146637,
-0.0018843634752556682,
0.007982704788446426,
0.0022535123862326145,
0.05208521708846092,
0.07062217593193054,
0.03712843731045723,
-0.0015742783434689045,
0.09130360186100006,
0.01624709740281105,
-0.026333384215831757,
0.06455222517251968,
0.037691812962293625,
-0.01860056445002556,
0.02887767180800438,
-0.027623701840639114,
-0.008886835537850857,
-0.021989921107888222,
0.04968631640076637,
-0.008668753318488598,
0.019736407324671745,
0.08090836554765701,
-0.05971807986497879,
-0.0033484650775790215,
0.01592906191945076,
-0.07872755080461502,
-0.023134849965572357,
0.039182040840387344,
-0.018627824261784554,
0.022862248122692108,
0.03600167855620384,
-0.010158979333937168,
0.039545509964227676,
-0.0049431887455284595,
-0.011312996037304401,
-0.04001801833510399,
-0.020045356824994087,
-0.06044502183794975,
0.001549289794638753,
-0.0974825918674469,
0.004970449022948742,
-0.016210751608014107,
-0.007287568412721157,
0.06651496887207031,
-0.0803995132446289,
-0.05891844630241394,
0.02935018204152584,
0.07894562929868698,
-0.05306658521294594,
0.07560171186923981,
-0.025660965591669083,
0.0819987803697586,
0.054956626147031784,
-0.030349723994731903,
-0.004007254261523485,
-0.008891378529369831,
-0.03233063593506813,
-0.007678298745304346,
-0.03362095355987549,
0.031730908900499344,
0.04623335227370262,
-0.036728620529174805,
0.09086743742227554,
0.019318416714668274,
0.04074496030807495,
0.029368355870246887,
-0.03654688224196434,
-0.012185323983430862,
0.004348007030785084,
0.043979842215776443,
0.029041234403848648,
0.09312095493078232,
-0.0032485108822584152,
-0.024425167590379715,
0.004236694425344467,
0.007514737080782652,
-0.04612431302666664,
0.03632880374789238,
-0.016156230121850967,
-0.049359191209077835,
-0.04601527005434036,
0.020699603483080864,
-0.01313034538179636,
-0.0019593292381614447,
-0.05717379227280617,
-0.0016833193367347121,
-0.016065362840890884,
0.0014777317410334945,
0.01620166376233101,
0.007741905748844147,
0.09283017367124557,
-0.005293028429150581,
-0.09624679386615753,
-0.04219884052872658,
0.0020058986265212297,
0.05397525802254677,
-0.00024803972337394953,
-0.008482475765049458,
0.047178372740745544,
0.0234437994658947,
-0.03238515555858612,
-0.008468844927847385,
0.008119005709886551,
-0.03841875493526459,
-0.0046614995226264,
0.03860048949718475,
0.03414798527956009,
-0.03983628377318382,
0.022825900465250015,
0.004372995346784592,
-0.016156230121850967,
-0.021426541730761528,
-0.02211713418364525,
-0.03389355540275574,
-0.03474770858883858,
-0.0063425470143556595,
-0.009768249467015266,
0.015856368467211723,
-0.04241691902279854,
-0.0038209757767617702,
0.017301160842180252,
-0.02157193049788475,
-0.012666921131312847,
0.011140348389744759,
0.028205253183841705,
-0.017728237435221672,
-0.05299388989806175,
-0.06051771342754364,
0.027260230854153633,
0.01057696994394064,
0.013611942529678345,
-0.00042878073872998357,
0.00110915070399642,
0.009495647624135017,
-0.03400259464979172,
-0.050958458334207535,
-0.023734575137495995,
0.035983506590127945,
0.018082620576024055,
0.006356177385896444,
0.017646456137299538,
0.008446128107607365,
-0.04815974086523056,
0.012539706192910671,
-0.03158552199602127,
0.062189675867557526,
-0.01602901704609394,
-0.0031371982768177986,
-0.024225259199738503,
0.011749159544706345,
0.028786804527044296,
0.0388912633061409,
-0.0006661718944087625,
-0.012058109045028687,
0.011412950232625008,
0.035129353404045105,
0.04383445158600807,
0.06909560412168503,
-0.014193493872880936,
-0.049032069742679596,
0.020263439044356346,
-0.0006343683344312012,
0.005333918612450361,
0.015283903107047081,
0.04670586436986923,
0.04165363311767578,
0.04750549793243408,
-0.02071777544915676,
-0.0016458365134894848,
-0.049032069742679596,
-0.0468875989317894,
0.007687385194003582,
-0.004400255624204874,
0.022971289232373238,
-0.0029622784350067377,
-0.04586988314986229,
0.009686469100415707,
0.0008422276005148888,
0.027660047635436058,
-0.0019400197779759765,
0.019463805481791496,
-0.04347098246216774,
-0.0007382979383692145,
0.01344838086515665,
-0.00017222219321411103,
-0.006860491819679737,
-0.051067501306533813,
-0.0066696698777377605,
0.027714569121599197,
0.02126298099756241,
-0.08977703005075455,
0.0074874768033623695,
0.04485216736793518,
0.03743738308548927
] |
719,639
|
ibm_platform_services.iam_access_groups_v2
|
get_latest_template_version
|
Get latest template version.
Get the latest version of a template.
:param str template_id: ID of the template to get a specific version of.
:param bool verbose: (optional) If `verbose=true`, IAM resource details are
returned. If performance is a concern, leave the `verbose` parameter off so
that details are not retrieved.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateVersionResponse` object
|
def get_latest_template_version(
self,
template_id: str,
*,
verbose: bool = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get latest template version.
Get the latest version of a template.
:param str template_id: ID of the template to get a specific version of.
:param bool verbose: (optional) If `verbose=true`, IAM resource details are
returned. If performance is a concern, leave the `verbose` parameter off so
that details are not retrieved.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateVersionResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='get_latest_template_version',
)
headers.update(sdk_headers)
params = {
'verbose': verbose,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, verbose: Optional[bool] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.08294453471899033,
-0.055783387273550034,
-0.01215695682913065,
-0.01655893586575985,
-0.03669565171003342,
-0.04042328521609306,
-0.03633974865078926,
-0.004076514393091202,
-0.024370109662413597,
-0.02478220872581005,
0.019818274304270744,
-0.02169145829975605,
-0.06410031765699387,
-0.04106016829609871,
-0.020061789080500603,
0.007146192714571953,
0.027723107486963272,
0.025531481951475143,
0.006738775409758091,
0.0126814479008317,
0.07979758828878403,
-0.014142530970275402,
-0.03971147537231445,
0.01274700928479433,
0.06942015886306763,
-0.028959406539797783,
0.02202863059937954,
-0.022290876135230064,
0.03677057847380638,
-0.003118849592283368,
-0.052636440843343735,
-0.01101431529968977,
0.038512639701366425,
0.07050660252571106,
-0.059155113995075226,
-0.00086985930101946,
-0.01277510728687048,
0.016306057572364807,
-0.0827946811914444,
0.016671327874064445,
0.009436158463358879,
0.03933684155344963,
0.012550325132906437,
-0.01878802478313446,
0.026749052107334137,
-0.008832057006657124,
-0.02768564224243164,
-0.06252684444189072,
-0.05930497124791145,
0.016924208030104637,
0.06042888015508652,
0.01711152493953705,
-0.005745988339185715,
-0.0330054834485054,
-0.029034335166215897,
0.03321153298020363,
0.023227468132972717,
-0.008668153546750546,
-0.011707393452525139,
-0.023958008736371994,
-0.02073613367974758,
-0.00040039283339865506,
-0.04372008889913559,
0.018703730776906013,
-0.05346063897013664,
0.006771556101739407,
-0.012859400361776352,
0.021766385063529015,
-0.03371729329228401,
-0.004790665116161108,
-0.03450402989983559,
0.025419091805815697,
-0.01215695682913065,
-0.07807426154613495,
-0.027086224406957626,
-0.008663470856845379,
-0.03278069943189621,
-0.049789201468229294,
-0.04499385133385658,
-0.017008500173687935,
-0.06676023453474045,
-0.06964494287967682,
0.027554519474506378,
-0.019724614918231964,
-0.010499189607799053,
-0.027142420411109924,
0.037557315081357956,
-0.05125028267502785,
0.014048871584236622,
0.01921885646879673,
-0.03815673664212227,
-0.019331246614456177,
-0.05267390236258507,
0.04667971655726433,
0.033267728984355927,
-0.003135239938274026,
0.022178485989570618,
-0.03276196867227554,
0.03197523206472397,
-0.009187961928546429,
-0.001075909473001957,
-0.06421270966529846,
-0.025774996727705002,
-0.013692966662347317,
-0.003982855007052422,
0.009609428234398365,
-0.019331246614456177,
0.05507157742977142,
0.024276450276374817,
-0.007970393635332584,
0.02064247615635395,
-0.012428568676114082,
-0.02972741238772869,
0.03426051512360573,
0.04495638981461525,
-0.003191435243934393,
0.006425017490983009,
0.046117763966321945,
-0.00733819417655468,
-0.02245946228504181,
0.017308209091424942,
-0.033174067735672,
0.016324788331985474,
-0.025531481951475143,
-0.012466032058000565,
-0.00888356938958168,
-0.024051668122410774,
0.00047180792898871005,
0.0043879309669137,
0.02178511768579483,
-0.0413973405957222,
-0.012100761756300926,
0.004823445808142424,
0.058817941695451736,
-0.008124930784106255,
-0.04480653628706932,
-0.005947355646640062,
0.03952416032552719,
-0.01201646775007248,
0.05098803713917732,
-0.006738775409758091,
0.008073418401181698,
0.002847237978130579,
0.0030673369765281677,
-0.04124748706817627,
-0.04638000950217247,
0.02835998870432377,
0.002128404099494219,
-0.003322558244690299,
-0.005118472035974264,
0.0304954182356596,
-0.01591268926858902,
0.005614865571260452,
-0.01063031330704689,
0.01144514698535204,
-0.019481102004647255,
0.04267110675573349,
-0.05237419530749321,
0.015687907114624977,
-0.011763588525354862,
0.02382688596844673,
0.021710189059376717,
0.0506134033203125,
-0.0319565013051033,
-0.002387137385085225,
-0.023470981046557426,
-0.04177197813987732,
0.04087284952402115,
-0.013121645897626877,
0.00977801438421011,
-0.02545655518770218,
0.0794229507446289,
-0.05256151035428047,
-0.010976851917803288,
-0.02178511768579483,
0.050351157784461975,
0.05248658359050751,
0.013786626048386097,
-0.011145438067615032,
0.013674234971404076,
-0.022009897977113724,
-0.06069112569093704,
-0.042371395975351334,
0.04705435410141945,
0.012082030065357685,
0.013899017125368118,
0.04933963716030121,
0.040797922760248184,
-0.031844109296798706,
-0.0014681071043014526,
-0.008705617859959602,
-0.06012916937470436,
0.031188495457172394,
0.019162660464644432,
-0.02184131182730198,
-0.03549681603908539,
0.017045963555574417,
-0.021054575219750404,
0.06934522837400436,
0.032518453896045685,
0.011754222214221954,
-0.03892473876476288,
0.012531593441963196,
-0.026468073949217796,
0.029521362856030464,
0.012971791438758373,
-0.008373127318918705,
-0.08946321159601212,
-0.05413498356938362,
-0.019256319850683212,
-0.011623099446296692,
0.012569056823849678,
-0.017636016011238098,
-0.004401979967951775,
-0.015463124960660934,
0.03583398833870888,
0.03568413481116295,
-0.010227578692138195,
-0.020398961380124092,
-0.02768564224243164,
0.01786079816520214,
-0.02230960875749588,
-0.0016671327175572515,
0.04776616394519806,
-0.04300827905535698,
0.02712368778884411,
0.04057314246892929,
0.06533662229776382,
-0.041135095059871674,
-0.01634352095425129,
0.06230206415057182,
-0.017898261547088623,
0.08331917226314545,
-0.004837494809180498,
-0.0672847256064415,
-0.09216059744358063,
-0.014329848811030388,
-0.008040637709200382,
0.04791601747274399,
-0.007670683786273003,
0.02644934318959713,
0.032705772668123245,
0.05788135156035423,
0.052111946046352386,
-0.06769683212041855,
-0.0517747737467289,
-0.05997931584715843,
-0.006701311562210321,
0.0372576080262661,
-0.04844050854444504,
0.0010899582412093878,
-0.04495638981461525,
0.03210635483264923,
0.02877208963036537,
0.046117763966321945,
-0.02487586811184883,
0.03495359420776367,
-0.025906119495630264,
0.028996871784329414,
0.001990256831049919,
-0.005123155191540718,
0.020867256447672844,
-0.09897898137569427,
-0.03967401385307312,
-0.054547086358070374,
-0.05353556573390961,
-0.01093938760459423,
0.007122777868062258,
0.00868220254778862,
0.052973613142967224,
0.09770522266626358,
0.022478194907307625,
-0.023677032440900803,
0.004383247811347246,
-0.029558826237916946,
-0.011829149909317493,
0.043645162135362625,
-0.0222159493714571,
-0.02712368778884411,
-0.04903992637991905,
-0.0590052604675293,
-0.0084995673969388,
0.03191903606057167,
0.009646891616284847,
0.050875648856163025,
-0.001853280351497233,
-0.037089020013809204,
-0.00011261048348387703,
-0.011323390528559685,
0.020530084148049355,
0.037744633853435516,
0.02607470564544201,
-0.00987167377024889,
-0.01998686045408249,
-0.08714047074317932,
-0.05207448452711105,
-0.07384087145328522,
-0.0424463227391243,
0.05731939524412155,
-0.015341367572546005,
-0.02307761274278164,
-0.010077724233269691,
-0.018020018935203552,
-0.019818274304270744,
-0.032705772668123245,
0.0039360253140330315,
0.014816876500844955,
-0.003057971131056547,
0.05698222294449806,
0.01345881912857294,
0.0007908344268798828,
0.02972741238772869,
-0.007890783250331879,
-0.037126485258340836,
-0.09328451007604599,
0.026898905634880066,
0.023396054282784462,
-0.04057314246892929,
0.010733338072896004,
0.00205113529227674,
-0.05941735953092575,
0.08661597967147827,
-0.003910269122570753,
0.023658299818634987,
0.03244352713227272,
-0.041359879076480865,
-0.02440757304430008,
-0.03133834898471832,
0.0144890695810318,
0.03667692095041275,
0.048515435308218,
0.020230375230312347,
0.04053567722439766,
0.02307761274278164,
-0.007609805557876825,
-0.025344165042042732,
0.023714495822787285,
-0.040123578161001205,
-0.005263643804937601,
0.03547808527946472,
0.037838295102119446,
-0.04499385133385658,
0.026898905634880066,
-0.03944922983646393,
-0.012550325132906437,
0.01103304699063301,
0.05046354606747627,
0.00914581585675478,
0.007567659020423889,
-0.07331638038158417,
-0.0506134033203125,
-0.009712453000247478,
-0.00007748830830678344,
0.028341257944703102,
-0.03120722621679306,
-0.06174010783433914,
0.0046642255038022995,
0.01940617524087429,
-0.008265419863164425,
0.03073893114924431,
-0.08414337784051895,
0.015744101256132126,
-0.06188996136188507,
-0.005558670032769442,
0.016306057572364807,
-0.022852830588817596,
0.036508332937955856,
-0.01566917449235916,
-0.04585551843047142,
0.0009652745793573558,
-0.05675744265317917,
0.005366669036448002,
0.03334265574812889,
-0.01791699416935444,
0.000645077379886061,
-0.026149632409214973,
-0.06773429363965988,
-0.014245555736124516,
-0.014873072504997253,
-0.03587145358324051,
0.034803736954927444,
-0.046604789793491364,
0.014086334966123104,
-0.04192183166742325,
-0.007961027324199677,
-0.008906984701752663,
0.030326830223202705,
-0.0009137620218098164,
0.015612979419529438,
0.003397485474124551,
0.013833455741405487,
-0.01643718034029007,
-0.02021164260804653,
0.0031680206302553415,
0.03911205753684044,
0.032518453896045685,
0.014142530970275402,
0.008457420393824577,
0.03840024769306183,
-0.020661206915974617,
0.013477550819516182,
0.045405954122543335,
0.021335553377866745,
0.011529440991580486,
-0.0019738664850592613,
-0.06803400069475174,
0.06477466225624084,
-0.032274942845106125,
-0.0243139136582613,
-0.0679965391755104,
0.011904077604413033,
-0.008007857017219067,
-0.07133080065250397,
-0.03815673664212227,
0.0222159493714571,
0.11156677454710007,
-0.006907362025231123,
0.11329010128974915,
-0.033792220056056976,
0.022796636447310448,
0.022815367206931114,
0.06454988569021225,
0.04971427470445633,
-0.04439443349838257,
-0.039748940616846085,
-0.013018621131777763,
-0.023995472118258476,
-0.01517278142273426,
-0.02802281640470028,
-0.01875992678105831,
0.015116585418581963,
-0.009000644087791443,
-0.010564751923084259,
0.009712453000247478,
0.041135095059871674,
0.0026247974019497633,
0.028228865936398506,
0.03892473876476288,
0.012550325132906437,
0.054209914058446884,
0.06619828194379807,
0.0017619626596570015,
-0.00663575017824769,
-0.006827751640230417,
-0.048740219324827194,
0.01584712788462639,
0.001517278142273426,
-0.052823755890131,
0.004458175040781498,
-0.005642963573336601,
0.001248008105903864,
0.004823445808142424,
0.029858535155653954,
-0.01334642805159092,
-0.02064247615635395,
-0.059679605066776276,
-0.020061789080500603,
0.018188605085015297,
-0.008106199093163013,
-0.04285842552781105,
-0.021991167217493057,
0.028322525322437286,
0.07391579449176788,
0.013056084513664246,
-0.021054575219750404,
-0.08271975815296173,
0.001229276298545301,
-0.002500699134543538,
-0.03553427755832672,
0.014919901266694069,
-0.003537974087521434,
-0.0268801748752594,
-0.05848076939582825,
0.08968799561262131,
0.02716115117073059,
0.012381738983094692,
0.006617018487304449,
-0.04694196209311485,
-0.019256319850683212,
0.012269347906112671,
-0.008738398551940918,
0.00058419891865924,
-0.006949508562684059,
-0.0041865636594593525,
0.04806587100028992,
-0.042371395975351334,
0.04147226735949516,
0.0025264553260058165,
0.0036011941265314817,
-0.044881463050842285,
-0.008794593624770641,
0.05435976758599281,
0.01103304699063301,
0.05267390236258507,
-0.04214661568403244,
-0.012082030065357685,
-0.046642255038022995,
0.008921033702790737,
0.05065086483955383,
0.007703464478254318,
0.03658326342701912,
-0.02350844442844391,
0.04993905499577522,
-0.015135318040847778,
0.025531481951475143,
0.02858477085828781,
0.018029386177659035,
0.0007972734747454524,
0.02944643422961235,
0.0040460750460624695,
-0.04424457997083664,
0.007591073866933584,
-0.030607808381319046,
0.04806587100028992,
-0.011417049914598465,
0.042933352291584015,
-0.06188996136188507,
0.010733338072896004,
0.07444028556346893,
0.0021600141189992428,
0.006078478414565325,
0.05750671401619911,
-0.008059369400143623,
-0.020867256447672844,
0.011136072687804699,
-0.016942938789725304,
-0.049452029168605804,
-0.034035734832286835,
0.015322635881602764,
0.038512639701366425,
-0.036208625882864,
-0.007464633788913488,
-0.016830548644065857,
-0.013908382505178452,
-0.05788135156035423,
-0.066348135471344,
-0.1025005653500557,
-0.003893879009410739,
-0.11209126561880112,
-0.035796523094177246,
-0.022009897977113724,
0.017504893243312836,
-0.02283409982919693,
-0.0320126973092556,
0.005624231416732073,
0.008153028786182404,
-0.01030250545591116,
0.06552393734455109,
-0.045405954122543335,
-0.012466032058000565,
0.05357303097844124,
-0.01345881912857294,
0.020960915833711624,
-0.0342230498790741,
-0.056495197117328644,
0.07058153301477432,
-0.04162212461233139,
0.02678651548922062,
0.012962425127625465,
0.004856226500123739,
0.038849812000989914,
0.009497037157416344,
0.023714495822787285,
0.004645493347197771,
-0.009356548078358173,
0.04742899164557457,
0.037182681262493134,
-0.0012784473365172744,
0.0009418597910553217,
0.023302394896745682,
0.019630957394838333,
0.004165490623563528,
-0.01745806448161602,
-0.042221542447805405,
0.011904077604413033,
0.033511240035295486,
0.03628355264663696,
0.024107864126563072,
0.09538247436285019,
0.0293902400881052,
0.05065086483955383,
-0.020848525688052177,
0.10722098499536514,
-0.03364236280322075,
-0.007431853096932173,
0.05514650419354439,
0.02021164260804653,
0.028247598558664322,
0.03793195262551308,
0.011566904373466969,
-0.005853696726262569,
-0.012887498363852501,
0.021991167217493057,
0.013627405278384686,
-0.016427813097834587,
0.07882353663444519,
-0.00529174180701375,
-0.02412659488618374,
0.015406928956508636,
-0.034279245883226395,
-0.029146725311875343,
0.06353836506605148,
0.011229731142520905,
0.027985353022813797,
-0.014311117120087147,
0.0008932740893214941,
-0.009656257927417755,
-0.0005233204574324191,
0.012316177599132061,
-0.011351488530635834,
0.029221652075648308,
-0.05274882912635803,
-0.020567547529935837,
-0.048590365797281265,
0.012381738983094692,
0.0661233589053154,
0.0035145594738423824,
0.047841090708971024,
-0.029671216383576393,
-0.06593603640794754,
0.015294537879526615,
0.05709461495280266,
-0.020192911848425865,
0.01387091912329197,
-0.03944922983646393,
0.08931335806846619,
0.022478194907307625,
0.0011613733367994428,
-0.012306811287999153,
0.044506825506687164,
0.001966841984540224,
-0.000676687341183424,
0.024576159194111824,
0.04634254425764084,
0.03347377851605415,
-0.0077690258622169495,
0.06271415948867798,
0.008935082703828812,
0.025849923491477966,
0.05593324080109596,
-0.0008739568875171244,
-0.009295670315623283,
0.029989657923579216,
0.08871394395828247,
-0.021204430609941483,
0.05964214354753494,
0.0033764122053980827,
0.0007404926000162959,
0.02669285610318184,
-0.007605122402310371,
-0.04922724515199661,
0.02650553733110428,
-0.04087284952402115,
-0.027367202565073967,
-0.03101990930736065,
-0.036264821887016296,
0.030813857913017273,
0.0232649315148592,
-0.013131012208759785,
0.030420489609241486,
0.03557174280285835,
-0.021822581067681313,
0.019780810922384262,
-0.052261803299188614,
0.011651197448372841,
-0.025962315499782562,
-0.036377210170030594,
-0.05746925249695778,
0.017692212015390396,
-0.03618989512324333,
0.06177757307887077,
0.017420601099729538,
0.016165567561984062,
0.0412849523127079,
-0.017355039715766907,
-0.014807511121034622,
-0.01822607032954693,
0.029952194541692734,
-0.033417582511901855,
0.036658190190792084,
0.12025833874940872,
0.021279357373714447,
0.0027582617476582527,
0.001514936680905521,
-0.02388308197259903,
-0.07784947752952576,
0.006336041260510683,
0.06646052747964859,
-0.012709545902907848,
-0.008045320399105549,
-0.039374303072690964,
-0.02141048014163971,
-0.014976097270846367,
-0.01624986156821251,
0.0350472517311573,
0.006855849176645279,
-0.01597825065255165,
0.023489713668823242,
-0.0010103479726240039,
-0.026580465957522392,
-0.021110771223902702,
-0.038512639701366425,
-0.029334044083952904,
0.09088683128356934,
-0.009787380695343018,
0.03843771293759346,
0.008719665929675102,
-0.04334545135498047,
-0.003793195355683565,
0.005685110110789537,
0.03553427755832672,
-0.0048093972727656364,
0.09051219373941422,
-0.007502097636461258,
0.04420711472630501,
0.07814919203519821,
-0.01949983462691307,
0.032331135123968124,
0.03459768742322922,
0.028622234240174294,
-0.04694196209311485,
-0.008906984701752663,
-0.05308600142598152,
0.006373504642397165,
0.012119493447244167,
0.04810333624482155,
0.021897507831454277,
0.007019752636551857,
-0.0025264553260058165,
0.02592485025525093,
-0.013234036974608898,
-0.0289781391620636,
-0.0352158397436142,
-0.09980318695306778,
0.0640253946185112,
-0.0075067803263664246,
-0.028191402554512024,
-0.018188605085015297,
0.017383137717843056,
0.016455911099910736,
-0.006261113565415144,
0.006120624952018261,
-0.018713096156716347,
-0.011623099446296692,
-0.06080351769924164,
0.012709545902907848,
0.029933461919426918,
0.01655893586575985,
0.0027325055561959743,
-0.03145074099302292,
-0.0026973832864314318,
0.005333888344466686,
0.01662449724972248,
-0.05975453555583954,
0.025906119495630264,
0.020960915833711624,
0.016980402171611786,
0.0033834364730864763,
0.015182147733867168,
0.011332756839692593,
0.028041547164320946,
-0.06664784997701645,
0.040123578161001205,
0.003945391625165939,
-0.025718800723552704,
0.017448699101805687,
-0.012531593441963196,
0.031169762834906578
] |
719,640
|
ibm_platform_services.iam_access_groups_v2
|
get_template_version
|
Get template version.
Get a specific version of a template.
:param str template_id: ID of the template to get a specific version of.
:param str version_num: Version number.
:param bool verbose: (optional) If `verbose=true`, IAM resource details are
returned. If performance is a concern, leave the `verbose` parameter off so
that details are not retrieved.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateVersionResponse` object
|
def get_template_version(
self,
template_id: str,
version_num: str,
*,
verbose: bool = None,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Get template version.
Get a specific version of a template.
:param str template_id: ID of the template to get a specific version of.
:param str version_num: Version number.
:param bool verbose: (optional) If `verbose=true`, IAM resource details are
returned. If performance is a concern, leave the `verbose` parameter off so
that details are not retrieved.
:param str transaction_id: (optional) An optional transaction id for the
request.
: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 representing a `TemplateVersionResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
if not version_num:
raise ValueError('version_num must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='get_template_version',
)
headers.update(sdk_headers)
params = {
'verbose': verbose,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id', 'version_num']
path_param_values = self.encode_path_vars(template_id, version_num)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}/versions/{version_num}'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, version_num: str, *, verbose: Optional[bool] = None, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.08480039238929749,
-0.06011636182665825,
-0.006986395921558142,
0.008561577647924423,
-0.035117294639348984,
-0.03278231993317604,
-0.03884213790297508,
0.012277154251933098,
-0.0356547087430954,
-0.017503052949905396,
0.03148511052131653,
-0.029872864484786987,
-0.04388272017240524,
-0.056928932666778564,
-0.02346094697713852,
-0.01602979376912117,
0.059449225664138794,
0.0053787836804986,
0.009543750435113907,
0.00864960253238678,
0.06723247468471527,
-0.014695522375404835,
-0.0155943026766181,
0.020014077425003052,
0.047996725887060165,
0.0010059159249067307,
-0.0027287714183330536,
-0.033616237342357635,
0.03943514823913574,
-0.027723204344511032,
-0.040287598967552185,
-0.008339199237525463,
0.05118415132164955,
0.08709830045700073,
-0.058707963675260544,
0.003991233184933662,
-0.010896553285419941,
0.006268298253417015,
-0.09213888645172119,
0.048478543758392334,
0.03298616409301758,
0.03491344675421715,
0.030021118000149727,
-0.017558647319674492,
0.02462843433022499,
-0.007528443820774555,
-0.022589964792132378,
-0.06404504925012589,
-0.058707963675260544,
0.003759589046239853,
0.057670194655656815,
-0.00845965463668108,
-0.016168780624866486,
-0.05978279188275337,
-0.03574736788868904,
0.018596414476633072,
0.0363774411380291,
-0.0009995456784963608,
-0.0032082751858979464,
-0.016131717711687088,
-0.02194136008620262,
0.01945813186466694,
-0.07064228504896164,
0.01617804728448391,
-0.05985691770911217,
-0.009187017567455769,
-0.0007227305904962122,
0.035228483378887177,
-0.013546565547585487,
0.009553016163408756,
0.001792927854694426,
0.046662453562021255,
-0.016354097053408623,
-0.06145063415169716,
0.007658164482563734,
0.014843774959445,
-0.046958956867456436,
-0.035988278687000275,
-0.021996954455971718,
-0.012564393691718578,
-0.03873094916343689,
-0.059449225664138794,
0.018068265169858932,
-0.018855856731534004,
-0.010349872522056103,
-0.014158107340335846,
0.015835212543606758,
-0.07516398280858994,
0.03802675008773804,
0.04477223381400108,
-0.044290412217378616,
-0.010720503516495228,
-0.0712723582983017,
0.020236456766724586,
0.037748776376247406,
-0.010146025568246841,
0.04139949008822441,
-0.03693338856101036,
0.014954963698983192,
0.00010119965736521408,
-0.00229791272431612,
-0.07968568056821823,
-0.024091020226478577,
0.010952148586511612,
-0.009775394573807716,
-0.020403241738677025,
-0.032411687076091766,
0.054519832134246826,
0.04254844784736633,
-0.004841368645429611,
0.005364884622395039,
-0.0076350001618266106,
-0.05292611941695213,
0.025017598643898964,
0.04999813064932823,
-0.00940013024955988,
-0.007574772462248802,
0.028093835338950157,
-0.02342388406395912,
-0.011396905407309532,
0.033319734036922455,
-0.03684072941541672,
0.016298500820994377,
-0.000749369733966887,
-0.041325364261865616,
0.02985433302819729,
-0.02034764550626278,
0.005716984160244465,
0.037155766040086746,
-0.0021230210550129414,
-0.02433193102478981,
0.00017141687567345798,
0.003018326824530959,
0.05907859280705452,
0.005355618894100189,
-0.040769416838884354,
-0.03711870312690735,
0.03622918948531151,
0.007185610011219978,
0.03887920081615448,
-0.0032685028854757547,
-0.007519178092479706,
-0.015492378734052181,
-0.0019689775072038174,
-0.045179929584264755,
-0.035543520003557205,
0.04688483104109764,
-0.003752639750018716,
-0.00864033680409193,
-0.02121862955391407,
0.025944175198674202,
0.0034839322324842215,
0.04588412865996361,
-0.05329674854874611,
-0.010776098817586899,
0.0011008901055902243,
0.06115412712097168,
-0.07405208796262741,
0.0334123931825161,
-0.018281377851963043,
0.024554308503866196,
0.005883768200874329,
0.04469810798764229,
-0.02121862955391407,
0.021033313125371933,
-0.003829082241281867,
-0.04114004969596863,
-0.007324596866965294,
0.0022654824424535036,
-0.011026274412870407,
-0.0019365473417565227,
0.07023458927869797,
-0.043993908911943436,
0.0025596709456294775,
0.014139575883746147,
0.02983580157160759,
0.0489233024418354,
0.0036368174478411674,
-0.012814569287002087,
0.01535339280962944,
-0.011647081933915615,
-0.05214779078960419,
-0.055149905383586884,
0.06708422303199768,
-0.016465285792946815,
0.02790852077305317,
0.053370874375104904,
0.03178161382675171,
-0.02803824096918106,
0.007273634895682335,
0.011026274412870407,
-0.062414273619651794,
0.03578443080186844,
0.029576359316706657,
-0.025851517915725708,
-0.03824912756681442,
0.012286419980227947,
-0.03365330025553703,
0.05207366496324539,
0.03246728330850601,
0.02494347095489502,
-0.051740098744630814,
-0.016947105526924133,
-0.000003709930297191022,
0.009960710071027279,
0.017030498012900352,
0.03126273304224014,
-0.06993808597326279,
-0.05133240297436714,
-0.01143396832048893,
0.00033849041210487485,
-0.017669836059212685,
0.00044099308433942497,
0.02166338637471199,
-0.013036947697401047,
0.022349053993821144,
0.028149429708719254,
-0.024999065324664116,
-0.02716725878417492,
-0.03611799702048302,
0.0355805829167366,
-0.01424149889498949,
0.02138541266322136,
0.041918374598026276,
-0.052444297820329666,
0.03311588615179062,
0.01916162669658661,
0.05233310908079147,
-0.052777864038944244,
0.005300024524331093,
0.056187670677900314,
0.0007447368116118014,
0.08183534443378448,
-0.010794630274176598,
-0.10726063698530197,
-0.08531927317380905,
0.0023303430061787367,
0.009353801608085632,
0.06860381364822388,
-0.0036646148655563593,
0.0445127934217453,
0.045328181236982346,
0.07227306067943573,
0.04336383566260338,
-0.05255548655986786,
-0.04343796148896217,
-0.0756087377667427,
-0.005832806695252657,
0.022942064329981804,
-0.05151772126555443,
-0.01986582577228546,
-0.05418626219034195,
0.017966341227293015,
0.03424631059169769,
0.027241384610533714,
-0.031522173434495926,
0.016928574070334435,
-0.028167961165308952,
0.03773024305701256,
0.009905115701258183,
-0.020366176962852478,
0.02609242871403694,
-0.08050107210874557,
-0.07201361656188965,
-0.059300974011421204,
-0.046514201909303665,
-0.02032911404967308,
0.019384006038308144,
0.03474666178226471,
0.05537228286266327,
0.04610650613903999,
0.033338263630867004,
-0.02553648129105568,
0.0010800421005114913,
-0.026611311361193657,
-0.02077387273311615,
0.04173306003212929,
-0.024999065324664116,
-0.028279151767492294,
-0.04228900745511055,
-0.04955337569117546,
-0.008135352283716202,
0.02953929640352726,
0.0010725136380642653,
0.06508281826972961,
-0.008158516138792038,
-0.025351164862513542,
0.026592779904603958,
-0.008783956989645958,
0.0004221719573251903,
0.030354686081409454,
0.01817018911242485,
0.009108258411288261,
-0.017465990036725998,
-0.09451092779636383,
-0.05533521994948387,
-0.0682331845164299,
-0.027500826865434647,
0.04065822809934616,
-0.007079053670167923,
0.012369812466204166,
-0.0015578087186440825,
-0.015557239763438702,
-0.015214405953884125,
-0.023053253069519997,
0.00916848611086607,
0.05103589966893196,
-0.011471032164990902,
0.03430190682411194,
-0.007106850855052471,
-0.00512397475540638,
0.04165893420577049,
-0.021552197635173798,
-0.03513582795858383,
-0.05403801053762436,
0.03574736788868904,
0.019828762859106064,
-0.011684144847095013,
0.008612539619207382,
0.024721093475818634,
-0.04510580375790596,
0.0816129669547081,
-0.002842277055606246,
0.028112366795539856,
0.04462398216128349,
-0.03469106927514076,
-0.015001293271780014,
-0.026537185534834862,
0.007551608141511679,
0.05507577955722809,
0.017623508349061012,
0.018374035134911537,
0.04225194454193115,
0.042214877903461456,
0.008844183757901192,
-0.03496904298663139,
0.017651304602622986,
-0.03220783919095993,
-0.025406761094927788,
0.039694588631391525,
0.043104395270347595,
-0.055149905383586884,
0.004440623801201582,
-0.05233310908079147,
-0.033023230731487274,
-0.0033657934982329607,
0.03454281762242317,
0.007690594997256994,
-0.00047284417087212205,
-0.06285902857780457,
-0.08672767132520676,
-0.026778094470500946,
0.01126718521118164,
0.042363133281469345,
-0.03326413780450821,
-0.05148065835237503,
0.006143209990113974,
-0.021459538489580154,
0.009275042451918125,
0.016483817249536514,
-0.0682331845164299,
0.044586919248104095,
-0.04729252681136131,
-0.004665318876504898,
0.013222264125943184,
-0.04836735501885414,
0.017401129007339478,
-0.012138167396187782,
-0.03958339989185333,
0.02703753672540188,
-0.0534820631146431,
-0.002638429868966341,
0.0019434967543929815,
-0.01328712422400713,
0.027982646599411964,
-0.05674361810088158,
-0.07345908135175705,
-0.002034996170550585,
-0.016576474532485008,
-0.06274784356355667,
0.03220783919095993,
-0.019847294315695763,
0.017845885828137398,
-0.03873094916343689,
0.0001963186514331028,
-0.02848299778997898,
0.036414504051208496,
0.015260734595358372,
0.016650600358843803,
0.00048471594345755875,
0.0015323278494179249,
0.0011848611757159233,
-0.005897666793316603,
0.01098921149969101,
0.02909453958272934,
0.007987099699676037,
0.004183498211205006,
0.006782548502087593,
0.04232607036828995,
-0.01551091019064188,
0.015742555260658264,
0.054705146700143814,
0.006013489328324795,
0.018577883020043373,
-0.0035094129852950573,
-0.056780681014060974,
0.05311143398284912,
-0.04929393157362938,
-0.0340980589389801,
-0.06263665109872818,
-0.022311991080641747,
-0.0214966032654047,
-0.03576589748263359,
-0.0534820631146431,
0.00787591002881527,
0.08976684510707855,
0.008510615676641464,
0.09843961149454117,
-0.029038945212960243,
0.026166554540395737,
0.026611311361193657,
0.03281938284635544,
0.0638967975974083,
-0.00949742179363966,
-0.03741520643234253,
-0.0029303019400686026,
-0.009793926030397415,
-0.016103919595479965,
-0.007241204846650362,
-0.003071604995056987,
0.014676990918815136,
-0.015427518635988235,
-0.0013748096534982324,
-0.007852746173739433,
0.045179929584264755,
0.0028538592159748077,
0.0326896607875824,
0.048144977539777756,
0.001308790990151465,
0.04195543751120567,
0.0727178156375885,
0.015232937410473824,
0.00764426589012146,
-0.005911565851420164,
-0.05463102087378502,
0.006569435819983482,
-0.012897961772978306,
-0.045476432889699936,
0.009756863117218018,
-0.04273376241326332,
-0.0019689775072038174,
0.01247173547744751,
0.022960595786571503,
-0.012332749553024769,
-0.022367585450410843,
-0.034487221390008926,
-0.030502937734127045,
0.012397609651088715,
-0.008709830231964588,
-0.028445934876799583,
-0.01882805861532688,
0.04525405541062355,
0.029946990311145782,
0.0036159695591777563,
-0.025777392089366913,
-0.07968568056821823,
0.024368993937969208,
-0.011137464083731174,
-0.028112366795539856,
-0.011517360806465149,
-0.0019990913569927216,
-0.004669951740652323,
-0.03604387119412422,
0.09858786314725876,
0.017651304602622986,
0.020421773195266724,
-0.0005970635102130473,
-0.029872864484786987,
-0.022923532873392105,
0.004347966052591801,
-0.008793222717940807,
0.01380600780248642,
0.00471628038212657,
0.0015844478039070964,
0.0415848083794117,
-0.04495754837989807,
0.029576359316706657,
0.013027681969106197,
-0.017252877354621887,
-0.03965752571821213,
-0.011545157991349697,
0.053370874375104904,
0.017336267977952957,
0.04195543751120567,
-0.04366034269332886,
0.009905115701258183,
-0.04495754837989807,
-0.004292371217161417,
0.050702329725027084,
0.018197985365986824,
0.024368993937969208,
-0.005906932987272739,
0.0445498563349247,
-0.0026893918402493,
0.026537185534834862,
0.053519126027822495,
0.01973610557615757,
-0.0011518518440425396,
0.027334041893482208,
0.0008142301230691373,
-0.04959043860435486,
0.021014781668782234,
0.0137411467730999,
0.046958956867456436,
-0.009339903481304646,
0.046810705214738846,
-0.08509689569473267,
0.02505466155707836,
0.024665499106049538,
0.00838552787899971,
0.012286419980227947,
0.053630318492650986,
0.011480297893285751,
-0.02240464836359024,
0.01901337504386902,
-0.01432489138096571,
-0.07319963723421097,
-0.04050997644662857,
0.017818089574575424,
0.0504799522459507,
-0.035840027034282684,
-0.0034005402121692896,
-0.008441123180091381,
-0.022015485912561417,
-0.04588412865996361,
-0.06993808597326279,
-0.09295427054166794,
0.0012450887588784099,
-0.07627587765455246,
-0.01653941161930561,
-0.027964115142822266,
0.0200511422008276,
-0.027649078518152237,
-0.03976871445775032,
0.021292755380272865,
0.004375763237476349,
-0.0008599799475632608,
0.05251842364668846,
-0.04766315594315529,
-0.022886469960212708,
0.03947221115231514,
-0.019180158153176308,
0.022830873727798462,
-0.022349053993821144,
-0.039842840284109116,
0.0919165089726448,
-0.035247016698122025,
0.006805713288486004,
0.009478889405727386,
-0.009960710071027279,
0.042363133281469345,
0.005545567721128464,
0.010349872522056103,
0.0064860437996685505,
-0.029928458854556084,
0.041770122945308685,
0.02225639671087265,
-0.00865886826068163,
0.008955373428761959,
0.0016226691659539938,
0.025721795856952667,
-0.013991323299705982,
-0.02016233094036579,
-0.021700449287891388,
-0.0029511500615626574,
0.047107208520174026,
0.04395684599876404,
0.01711389049887657,
0.08984097093343735,
0.028316214680671692,
0.04036172479391098,
-0.03157776966691017,
0.11311660706996918,
-0.022923532873392105,
-0.011230121366679668,
0.05918978154659271,
0.011934320442378521,
0.02271968498826027,
0.05033170059323311,
0.03181867673993111,
-0.008825652301311493,
-0.04884917661547661,
0.01823504827916622,
0.009571547619998455,
-0.018790995702147484,
0.06593526899814606,
-0.014121044427156448,
-0.02583298645913601,
0.01700269989669323,
-0.05422332510352135,
-0.02568473294377327,
0.0371372327208519,
0.004503167700022459,
0.016224374994635582,
-0.01880026049911976,
0.005809641908854246,
-0.00813998468220234,
-0.011415436863899231,
0.015103216283023357,
-0.009803191758692265,
0.047144271433353424,
-0.0578925758600235,
-0.02522144466638565,
-0.0519624762237072,
0.03085503727197647,
0.08724655210971832,
-0.023220036178827286,
0.06893738359212875,
-0.038360316306352615,
-0.057670194655656815,
0.01865200884640217,
0.060486990958452225,
-0.012740443460643291,
0.018207252025604248,
-0.03072531707584858,
0.06297022104263306,
0.036562755703926086,
0.009275042451918125,
-0.009307472966611385,
0.017669836059212685,
0.009895849972963333,
0.02238611690700054,
0.03131832554936409,
0.056187670677900314,
0.02329416386783123,
-0.02255290187895298,
0.047589030116796494,
0.01611318625509739,
0.033004697412252426,
0.06652827560901642,
0.01789221540093422,
-0.004000499378889799,
0.013982057571411133,
0.08101995289325714,
-0.04506874084472656,
0.06341497600078583,
-0.01076683308929205,
-0.023257100954651833,
0.052777864038944244,
0.005957894492894411,
-0.06356322765350342,
0.02640746347606182,
-0.051443591713905334,
-0.016928574070334435,
-0.06649121642112732,
-0.017920013517141342,
0.014278561808168888,
0.0019909837283194065,
-0.021181566640734673,
0.0563729852437973,
0.013787476345896721,
0.002779733156785369,
0.029298387467861176,
-0.0696415826678276,
0.004618989769369364,
-0.009701268747448921,
-0.015927869826555252,
-0.0786479115486145,
0.003970385529100895,
-0.02268262207508087,
0.057336628437042236,
0.029279856011271477,
-0.0174103956669569,
0.03205958753824234,
-0.022905001416802406,
0.003481615800410509,
-0.011878726072609425,
0.011600752361118793,
-0.048330292105674744,
0.04391978308558464,
0.09295427054166794,
0.01988435722887516,
0.01627996936440468,
0.031133010983467102,
-0.03104035183787346,
-0.0741262137889862,
-0.0054482766427099705,
0.052777864038944244,
-0.010637111961841583,
0.004445256665349007,
-0.024406056851148605,
-0.015455315820872784,
-0.03254140913486481,
-0.02134834975004196,
0.00001714711652311962,
0.008390161208808422,
-0.01812385953962803,
-0.0035163622815161943,
-0.019958483055233955,
-0.009969975799322128,
-0.019050437957048416,
-0.06504575163125992,
-0.01945813186466694,
0.08398500084877014,
-0.03574736788868904,
0.00229791272431612,
0.008126086555421352,
-0.06219189614057541,
0.0006265981937758625,
-0.0004716859548352659,
0.035988278687000275,
-0.012953556142747402,
0.09888437390327454,
-0.024684030562639236,
0.016947105526924133,
0.09028573334217072,
-0.03506169840693474,
0.0681961178779602,
0.04729252681136131,
0.027797330170869827,
-0.018976310268044472,
-0.00994217861443758,
-0.045476432889699936,
0.0045286486856639385,
-0.00497108930721879,
0.04351208731532097,
0.030632657930254936,
-0.001224240753799677,
-0.016576474532485008,
0.029205728322267532,
-0.012823835015296936,
-0.027185790240764618,
-0.03491344675421715,
-0.11356136202812195,
0.05400094762444496,
-0.010637111961841583,
-0.029353981837630272,
0.0026847589761018753,
0.035228483378887177,
0.027964115142822266,
0.002351190894842148,
0.022812342271208763,
-0.032578472048044205,
-0.016233641654253006,
-0.025295570492744446,
0.029057476669549942,
0.03752639517188072,
0.006212703417986631,
0.004892330151051283,
-0.03472813218832016,
-0.00571235129609704,
0.009960710071027279,
0.01535339280962944,
-0.05818907916545868,
0.016761790961027145,
0.01795707643032074,
0.027964115142822266,
0.007611835841089487,
0.009052664041519165,
0.0063424245454370975,
0.04091767221689224,
-0.029928458854556084,
0.014806711114943027,
0.004762609489262104,
-0.04406803473830223,
0.008580109104514122,
0.0013250061310827732,
0.01401912048459053
] |
719,641
|
ibm_platform_services.iam_access_groups_v2
|
is_member_of_access_group
|
Check membership in an access group.
This HEAD operation determines if a given `iam_id` is present in a group either
explicitly or via dynamic rules. No response body is returned with this request.
If the membership exists, a `204 - No Content` status code is returned. If the
membership or the group does not exist, a `404 - Not Found` status code is
returned.
:param str access_group_id: The access group identifier.
:param str iam_id: The IAM identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
|
def is_member_of_access_group(
self,
access_group_id: str,
iam_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
Check membership in an access group.
This HEAD operation determines if a given `iam_id` is present in a group either
explicitly or via dynamic rules. No response body is returned with this request.
If the membership exists, a `204 - No Content` status code is returned. If the
membership or the group does not exist, a `404 - Not Found` status code is
returned.
:param str access_group_id: The access group identifier.
:param str iam_id: The IAM identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param dict headers: A `dict` containing the request headers
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
:rtype: DetailedResponse
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
if not iam_id:
raise ValueError('iam_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='is_member_of_access_group',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
path_param_keys = ['access_group_id', 'iam_id']
path_param_values = self.encode_path_vars(access_group_id, iam_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/members/{iam_id}'.format(**path_param_dict)
request = self.prepare_request(
method='HEAD',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, iam_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.0005474823410622776,
0.011255715042352676,
-0.011046924628317356,
0.03473517298698425,
0.015013947151601315,
-0.017177777364850044,
-0.0055851503275334835,
0.06912869215011597,
-0.07121659815311432,
-0.006221012677997351,
0.011967501603066921,
0.026383547112345695,
0.06878703087568283,
-0.005547188222408295,
-0.03044547513127327,
-0.03232458978891373,
-0.010515457019209862,
-0.0019787661731243134,
0.013315150514245033,
-0.01095201913267374,
0.000833383179269731,
0.03080611303448677,
0.01680764928460121,
-0.0037534867879003286,
-0.0011631775414571166,
0.022416524589061737,
0.03293198347091675,
0.0050299568101763725,
0.025965966284275055,
0.0654463842511177,
-0.024428507313132286,
-0.016532424837350845,
-0.010524947196245193,
0.07429151237010956,
-0.01248947810381651,
-0.020271675661206245,
0.02606087177991867,
-0.02048046700656414,
-0.05679105967283249,
-0.0023821117356419563,
-0.014349613338708878,
-0.0011489418102428317,
0.020214732736349106,
-0.005058428272604942,
-0.01442553661763668,
0.0031294873915612698,
-0.009295930154621601,
0.05375410616397858,
-0.04130259156227112,
-0.02084110490977764,
-0.0032647268380969763,
-0.015649808570742607,
-0.024561375379562378,
-0.03200191631913185,
0.010373099707067013,
0.012840625829994678,
0.030407512560486794,
-0.028300626203417778,
0.04931255802512169,
0.00789133831858635,
-0.019797151908278465,
0.04722465202212334,
0.04118870571255684,
-0.06305477768182755,
-0.07022958993911743,
-0.011046924628317356,
-0.08101078122854233,
-0.01947447471320629,
-0.06180203706026077,
0.002040454186499119,
-0.04118870571255684,
0.05413372442126274,
0.022093849256634712,
-0.018610840663313866,
-0.0503375306725502,
0.009006470441818237,
-0.011872596107423306,
0.007687292527407408,
0.023953983560204506,
0.041758131235837936,
-0.009367108345031738,
-0.0631307065486908,
0.03769620507955551,
0.005034702364355326,
0.005480755120515823,
0.01566879078745842,
-0.005713271908462048,
-0.0651426911354065,
0.03312179073691368,
-0.028395529836416245,
-0.0010439533507451415,
0.006709772627800703,
0.03989799693226814,
0.014814646914601326,
-0.01462483685463667,
-0.005252983421087265,
-0.0019870703108608723,
0.03608282282948494,
-0.048629242926836014,
0.04202386736869812,
-0.044908974319696426,
-0.06278904527425766,
0.013495469465851784,
0.04035354033112526,
0.01941753178834915,
0.022340601310133934,
0.007872357033193111,
0.018848102539777756,
-0.013248716481029987,
-0.02450443245470524,
0.004484253935515881,
-0.032912999391555786,
0.0030417004600167274,
-0.026402529329061508,
0.005760724190622568,
0.0031437231227755547,
0.0057275076396763325,
-0.05986597761511803,
-0.06502880156040192,
-0.02795896865427494,
0.03894894942641258,
-0.013182283379137516,
0.08541436493396759,
-0.0031294873915612698,
0.044187698513269424,
-0.023536402732133865,
-0.06358624994754791,
0.03050241805613041,
0.06491491943597794,
-0.014387574978172779,
0.018269183114171028,
-0.016636820510029793,
-0.017937015742063522,
0.04585802182555199,
-0.004849637858569622,
0.018781669437885284,
0.051438428461551666,
0.023061877116560936,
-0.021220723167061806,
0.03841748088598251,
0.036291614174842834,
-0.026307623833417892,
-0.010838133282959461,
0.0014639073051512241,
-0.024010926485061646,
-0.029344579204916954,
0.012783682905137539,
-0.05401983857154846,
0.018269183114171028,
-0.028775149956345558,
-0.03310281038284302,
-0.10082691162824631,
0.018354598432779312,
-0.0055946409702301025,
-0.05542442947626114,
-0.004515097942203283,
0.02776915766298771,
-0.015403056517243385,
0.027503425255417824,
0.008047930896282196,
-0.02575717493891716,
-0.00028812518576160073,
-0.07569610327482224,
0.032552361488342285,
-0.017253700643777847,
-0.01059138122946024,
0.0401257686316967,
0.02029065601527691,
-0.028528397902846336,
-0.005357378628104925,
-0.00155050796456635,
0.035095810890197754,
-0.022530410438776016,
0.0019835112616419792,
-0.03549441322684288,
-0.00005390298611018807,
0.03615874797105789,
0.03103388473391533,
-0.0020285912323743105,
-0.02006288431584835,
-0.020385561510920525,
-0.01462483685463667,
-0.00028945980011485517,
-0.01738656871020794,
-0.024618318304419518,
0.05227359011769295,
0.014472989365458488,
0.05276709422469139,
-0.015346113592386246,
0.004114124923944473,
0.010012461803853512,
-0.040922969579696655,
0.013523940928280354,
0.007896083407104015,
-0.02564328908920288,
-0.013448016718029976,
0.002104514976963401,
0.029591331258416176,
0.03477313742041588,
-0.008119110018014908,
0.019398551434278488,
-0.052918944507837296,
0.03530460223555565,
0.06882499903440475,
0.01210985891520977,
0.03441249951720238,
-0.02598494663834572,
0.03752537816762924,
-0.044719163328409195,
-0.0065104723908007145,
-0.05960024520754814,
-0.05200785771012306,
0.03435555472970009,
0.07698681205511093,
0.018971478566527367,
0.08746431022882462,
-0.0026003927923738956,
0.00005223473999649286,
0.023631306365132332,
-0.014207256026566029,
0.030711209401488304,
-0.029040884226560593,
0.039973922073841095,
0.022891050204634666,
-0.0008476189104840159,
-0.01483362726867199,
0.04969218000769615,
0.04528859257698059,
-0.04843943566083908,
-0.01486209873110056,
0.045250631868839264,
-0.02926865592598915,
0.05792991816997528,
0.03530460223555565,
-0.09346229583024979,
-0.0687490701675415,
0.04916071146726608,
0.00946201290935278,
0.014520442113280296,
0.020973971113562584,
-0.000010509970707062166,
0.020024923607707024,
0.055234622210264206,
0.05447538197040558,
-0.04020169377326965,
-0.06912869215011597,
-0.04874312877655029,
0.04073316231369972,
0.04304884001612663,
-0.01412184163928032,
-0.062409427016973495,
-0.0124040637165308,
-0.027275653555989265,
-0.043124761432409286,
-0.018800649791955948,
-0.036709196865558624,
-0.04897090047597885,
-0.008370607160031796,
0.028034891933202744,
0.009765708819031715,
0.015488470904529095,
-0.025130804628133774,
0.0034972436260432005,
-0.00015659299970138818,
0.0035613044165074825,
0.03917672112584114,
0.04464324191212654,
-0.021638305857777596,
0.0058461385779082775,
-0.0434284582734108,
0.040505390614271164,
0.017291663214564323,
0.02123970538377762,
-0.0333685427904129,
-0.06032152101397514,
-0.022283658385276794,
0.020461484789848328,
-0.010135837830603123,
-0.027465462684631348,
-0.00852245558053255,
-0.0011192840756848454,
-0.002942050341516733,
-0.06366217136383057,
0.013504959642887115,
-0.04088500887155533,
0.05622163042426109,
0.028357569128274918,
0.07053328305482864,
-0.05447538197040558,
0.021258685737848282,
-0.02148645743727684,
0.0038483915850520134,
-0.07129251956939697,
-0.04320068657398224,
-0.07804974913597107,
0.044605277478694916,
-0.02735157683491707,
-0.000193072046386078,
-0.01840204931795597,
0.01787058264017105,
-0.05952432006597519,
-0.014254707843065262,
-0.04411177337169647,
-0.036120783537626266,
-0.04301087558269501,
0.030122797936201096,
0.0671546682715416,
0.025358574464917183,
0.0038222926668822765,
-0.0009704020922072232,
0.01947447471320629,
-0.033140771090984344,
-0.024428507313132286,
-0.04392196238040924,
0.02966725453734398,
0.004721516277641058,
-0.019569380208849907,
-0.004892345052212477,
0.0289080161601305,
0.053450409322977066,
-0.019123326987028122,
-0.006572160869836807,
0.03287503868341446,
0.011417053639888763,
0.07637941837310791,
-0.03441249951720238,
0.03705085441470146,
0.04600987210869789,
0.04327661171555519,
0.044908974319696426,
0.009851123206317425,
-0.04118870571255684,
0.06180203706026077,
-0.014719742350280285,
0.01660834811627865,
-0.010914057493209839,
-0.043542344123125076,
-0.03925264626741409,
0.025662271305918694,
0.001614568755030632,
-0.028167758136987686,
0.032552361488342285,
0.03122369572520256,
-0.004320543259382248,
-0.0036087569314986467,
-0.0012622345238924026,
0.047680195420980453,
-0.018800649791955948,
-0.02926865592598915,
0.02385907806456089,
-0.06426956504583359,
0.06510472297668457,
0.03437453508377075,
0.002049944829195738,
0.010316156782209873,
0.02218875288963318,
0.03906283527612686,
0.033501412719488144,
-0.024485450237989426,
0.020613333210349083,
0.028528397902846336,
-0.04980606585741043,
0.02659233845770359,
-0.03483007848262787,
0.00347351748496294,
-0.047870006412267685,
-0.07539241015911102,
-0.02497895620763302,
0.0008749040425755084,
0.003993121441453695,
0.006899582222104073,
-0.0161433145403862,
-0.025073861703276634,
-0.006951780058443546,
0.03016076050698757,
0.01615280471742153,
-0.006515217944979668,
-0.019967980682849884,
-0.012271196581423283,
-0.011312657967209816,
0.031299617141485214,
0.018269183114171028,
-0.00855092704296112,
0.04836351051926613,
0.012442025355994701,
-0.0010647138115018606,
0.04969218000769615,
0.041985902935266495,
-0.04350438341498375,
-0.006235248409211636,
0.022511430084705353,
-0.013969993218779564,
-0.021220723167061806,
-0.016627328470349312,
-0.06582599878311157,
-0.07341839373111725,
0.01615280471742153,
0.005618366878479719,
-0.012802664190530777,
0.0026264917105436325,
0.021163780242204666,
0.037430472671985626,
-0.03272319212555885,
-0.012859607115387917,
0.015564395114779472,
0.0019419904565438628,
0.039556339383125305,
-0.032609306275844574,
-0.023137802258133888,
-0.014710251241922379,
0.041036855429410934,
-0.020214732736349106,
-0.03086305595934391,
-0.01032564789056778,
-0.0074547757394611835,
0.042099788784980774,
-0.012157310731709003,
0.06461121886968613,
-0.04380807653069496,
-0.03276115283370018,
0.04919867217540741,
-0.009936537593603134,
-0.0214295145124197,
-0.01935109868645668,
-0.005974260158836842,
-0.07721458375453949,
0.027996929362416267,
0.004721516277641058,
0.024010926485061646,
-0.05811972916126251,
0.009599625132977962,
0.019303645938634872,
-0.015251209028065205,
0.023232705891132355,
-0.018563387915492058,
0.019967980682849884,
-0.07155825197696686,
0.025016918778419495,
0.03836053982377052,
0.023365573957562447,
0.037601299583911896,
0.017661791294813156,
-0.045554328709840775,
-0.044833049178123474,
-0.03705085441470146,
0.02232162095606327,
0.038607291877269745,
0.0021934881806373596,
0.09019757062196732,
-0.018886065110564232,
0.04859128221869469,
0.05048937723040581,
0.050071798264980316,
0.0047903223894536495,
-0.06962219625711441,
-0.047680195420980453,
-0.004038201179355383,
0.004061927553266287,
-0.014083879068493843,
0.010809661820530891,
-0.020518427714705467,
-0.024352584034204483,
-0.0776701271533966,
0.01579216681420803,
0.014463499188423157,
0.004294444341212511,
0.03222968801856041,
0.04411177337169647,
0.00523874768987298,
0.006795187015086412,
-0.008171307854354382,
-0.01451095100492239,
-0.05014772340655327,
0.052615247666835785,
0.06563619524240494,
0.029781140387058258,
-0.022663278505206108,
0.05288098007440567,
-0.050413455814123154,
0.07748031616210938,
-0.004690672270953655,
0.015754204243421555,
0.01970224641263485,
-0.037392508238554,
-0.008859367109835148,
-0.08579397946596146,
0.03505785018205643,
0.050831034779548645,
-0.04194794222712517,
-0.09346229583024979,
0.054095763713121414,
-0.018487464636564255,
-0.0055756596848368645,
-0.015384076163172722,
0.039442453533411026,
-0.0002200606104452163,
-0.025510422885417938,
-0.014340122230350971,
-0.0102117620408535,
-0.0434284582734108,
-0.02243550680577755,
0.07026755064725876,
0.013305659405887127,
-0.03437453508377075,
0.02924967370927334,
-0.023707231506705284,
-0.012470496818423271,
-0.05690494552254677,
0.013134830631315708,
-0.010107366368174553,
-0.022872067987918854,
0.01875319704413414,
-0.06700282543897629,
0.03382408618927002,
-0.005661074072122574,
0.0939178392291069,
-0.03365325927734375,
0.026307623833417892,
0.004057182464748621,
-0.04384604096412659,
0.07250730693340302,
0.010135837830603123,
-0.03365325927734375,
-0.020404541864991188,
-0.013163302093744278,
-0.007625604514032602,
-0.03794295713305473,
0.0018281046068295836,
-0.031793124973773956,
-0.045668214559555054,
-0.007630349602550268,
0.007464266382157803,
-0.06404179334640503,
-0.017006948590278625,
-0.01597248576581478,
0.006928053684532642,
-0.035703204572200775,
0.00021561194444075227,
-0.09528446942567825,
0.051248617470264435,
0.040087807923555374,
-0.045668214559555054,
-0.05918266251683235,
-0.041340552270412445,
-0.06814168393611908,
0.02921171300113201,
0.013115850277245045,
-0.00724123977124691,
0.10500272363424301,
0.0394044928252697,
0.053678181022405624,
0.009666059166193008,
0.016636820510029793,
0.03708881512284279,
0.06559823453426361,
0.06882499903440475,
-0.02268225885927677,
-0.05181804671883583,
-0.01821224018931389,
-0.002305001486092806,
0.0035470686852931976,
0.01597248576581478,
0.05868915840983391,
-0.015934523195028305,
-0.04179609566926956,
0.0006542502669617534,
0.036538366228342056,
0.0045198434963822365,
0.03293198347091675,
0.007644585333764553,
-0.04931255802512169,
-0.015944015234708786,
-0.07451928406953812,
0.008076402358710766,
-0.03632957488298416,
0.02084110490977764,
0.0030037383548915386,
0.03126165643334389,
0.07182399183511734,
-0.009158317930996418,
0.014055407606065273,
-0.009851123206317425,
0.07182399183511734,
0.04574413597583771,
-0.04361826926469803,
0.044073812663555145,
-0.047983892261981964,
-0.0008280447800643742,
0.025035899132490158,
0.028452472761273384,
-0.033805105835199356,
-0.030938981100916862,
0.020138809457421303,
-0.024143792688846588,
-0.012176292017102242,
0.05048937723040581,
-0.024067869409918785,
-0.0049018352292478085,
0.03877812251448631,
-0.04437750577926636,
0.02647845260798931,
0.02101193368434906,
-0.0021733210887759924,
-0.0058366479352116585,
-0.007938790135085583,
0.07087493687868118,
-0.003008483676239848,
-0.05151434987783432,
-0.020822124555706978,
-0.055234622210264206,
-0.05648736655712128,
-0.04468120262026787,
0.00716531602665782,
-0.010496475733816624,
-0.012090877629816532,
-0.02237856388092041,
-0.021220723167061806,
0.07064716517925262,
0.009699275717139244,
-0.03158433362841606,
0.04304884001612663,
-0.011787181720137596,
-0.01899046078324318,
0.047452423721551895,
-0.002386856824159622,
0.010942528955638409,
0.06005578860640526,
0.02606087177991867,
0.010002970695495605,
-0.016646310687065125,
-0.04247941076755524,
0.033273641020059586,
-0.056297555565834045,
-0.03317873552441597,
0.07273507863283157,
-0.03877812251448631,
0.05288098007440567,
0.005841393489390612,
0.009965009056031704,
0.03894894942641258,
-0.04304884001612663,
-0.008617360144853592,
0.007084646727889776,
0.011872596107423306,
0.026022909209132195,
0.08890686184167862,
0.01293553039431572,
0.04020169377326965,
0.08708468824625015,
-0.030483437702059746,
-0.021391551941633224,
0.07789789885282516,
-0.02598494663834572,
-0.04931255802512169,
-0.001919450587593019,
-0.009072903543710709,
-0.055044811218976974,
0.03674715757369995,
-0.08670506626367569,
0.0028851074166595936,
0.022644296288490295,
-0.005665819626301527,
-0.009974499233067036,
-0.05717068165540695,
0.07087493687868118,
-0.013343621976673603,
0.009286439046263695,
-0.022530410438776016,
0.02053740993142128,
0.06461121886968613,
-0.020214732736349106,
0.04866720736026764,
-0.0024236326571553946,
0.033254656940698624,
-0.02385907806456089,
-0.020765181630849838,
0.04600987210869789,
-0.05079307407140732,
-0.012442025355994701,
0.06753429025411606,
0.02533959411084652,
0.006221012677997351,
0.027408519759774208,
-0.013020944781601429,
0.03209681808948517,
0.001721336622722447,
0.003914825152605772,
-0.06096687540411949,
-0.03293198347091675,
-0.009125101380050182,
0.021998943760991096,
-0.04088500887155533,
-0.0032243921887129545,
0.01852542720735073,
0.050717148929834366,
0.012631835415959358,
-0.03532358258962631,
0.08640137314796448,
-0.04790796712040901,
0.023821117356419563,
-0.028926998376846313,
-0.0291927307844162,
0.025491442531347275,
0.045022860169410706,
-0.00253870477899909,
0.04236552491784096,
-0.032666247338056564,
0.009756218641996384,
0.04130259156227112,
-0.04897090047597885,
-0.028300626203417778,
0.025852080434560776,
-0.002128241118043661,
-0.029059864580631256,
0.05857527256011963,
-0.03086305595934391,
-0.03560829907655716,
-0.0011655502021312714,
0.010097876191139221,
-0.0014034054474905133,
0.018544407561421394,
-0.019123326987028122,
-0.03805684298276901,
0.024675261229276657,
-0.07417763024568558,
-0.049046825617551804,
-0.005362123716622591,
0.02871820703148842,
0.008631596341729164,
0.005139097571372986,
0.040847048163414,
0.07827752083539963,
-0.01981613226234913,
-0.05026160925626755,
0.014140821993350983,
0.0019811387173831463,
-0.0488949790596962,
-0.042517371475696564,
0.02338455431163311,
0.03853136673569679,
0.05003383755683899,
-0.03446944057941437,
0.03055936098098755,
-0.08837539702653885,
-0.01631414331495762,
0.037354547530412674,
-0.015061398968100548,
-0.03815174847841263,
0.03925264626741409,
-0.01876268908381462,
0.022587353363633156,
-0.004344269633293152,
-0.00553295249119401,
0.01269826851785183,
0.07155825197696686,
0.010221252217888832,
-0.05751233920454979,
0.008859367109835148,
0.019930018112063408,
-0.04308680072426796,
-0.03382408618927002,
0.004232756327837706,
0.0008049117168411613,
-0.05322263762354851,
-0.015516942366957664,
0.042289599776268005,
-0.0012883333256468177,
0.03948041796684265
] |
719,642
|
ibm_platform_services.iam_access_groups_v2
|
list_access_group_members
|
List access group members.
List all members of a given group using this API. Parameters for pagination and
sorting can be used to filter the results. The most useful query parameter may be
the `verbose` flag. If `verbose=true`, user, service ID and trusted profile names
will be retrieved for each `iam_id`. If performance is a concern, leave the
`verbose` parameter off so that name information does not get retrieved.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param str membership_type: (optional) Filters members by membership type.
Filter by `static`, `dynamic` or `all`. `static` lists the members
explicitly added to the access group, and `dynamic` lists the members that
are part of the access group at that time via dynamic rules. `all` lists
both static and dynamic members.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
:param str type: (optional) Filter the results by member type.
:param bool verbose: (optional) Return user's email and name for each user
ID or the name for each service ID or trusted profile.
:param str sort: (optional) If verbose is true, sort the results by id,
name, or email.
: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 representing a `GroupMembersList` object
|
def list_access_group_members(
self,
access_group_id: str,
*,
transaction_id: str = None,
membership_type: str = None,
limit: int = None,
offset: int = None,
type: str = None,
verbose: bool = None,
sort: str = None,
**kwargs,
) -> DetailedResponse:
"""
List access group members.
List all members of a given group using this API. Parameters for pagination and
sorting can be used to filter the results. The most useful query parameter may be
the `verbose` flag. If `verbose=true`, user, service ID and trusted profile names
will be retrieved for each `iam_id`. If performance is a concern, leave the
`verbose` parameter off so that name information does not get retrieved.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param str membership_type: (optional) Filters members by membership type.
Filter by `static`, `dynamic` or `all`. `static` lists the members
explicitly added to the access group, and `dynamic` lists the members that
are part of the access group at that time via dynamic rules. `all` lists
both static and dynamic members.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
:param str type: (optional) Filter the results by member type.
:param bool verbose: (optional) Return user's email and name for each user
ID or the name for each service ID or trusted profile.
:param str sort: (optional) If verbose is true, sort the results by id,
name, or email.
: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 representing a `GroupMembersList` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='list_access_group_members',
)
headers.update(sdk_headers)
params = {
'membership_type': membership_type,
'limit': limit,
'offset': offset,
'type': type,
'verbose': verbose,
'sort': sort,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/members'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, *, transaction_id: Optional[str] = None, membership_type: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, type: Optional[str] = None, verbose: Optional[bool] = None, sort: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.018840940669178963,
0.03307567164301872,
0.020689230412244797,
-0.006256121210753918,
-0.0000249671793426387,
-0.01647009886801243,
-0.004642496816813946,
0.03026936948299408,
-0.030714508146047592,
0.02134726010262966,
0.022005289793014526,
0.013973455876111984,
0.06502882391214371,
0.005477129947394133,
-0.011767121031880379,
0.03677225112915039,
-0.042888056486845016,
-0.027850141748785973,
0.01540563814342022,
-0.015395961701869965,
-0.00606742175295949,
0.003931243903934956,
0.012009043246507645,
-0.00017977881361730397,
-0.005975490901619196,
0.005985167808830738,
0.029282324016094208,
-0.005709376186132431,
0.036114223301410675,
0.05786791071295738,
0.007862487807869911,
-0.012783195823431015,
-0.03154672309756279,
0.05241013690829277,
-0.0432751327753067,
-0.031237060204148293,
0.04095267504453659,
0.012831580825150013,
-0.030695153400301933,
0.031953152269124985,
0.01607334427535534,
-0.012096135877072811,
0.03319179639220238,
-0.01148649025708437,
-0.018463540822267532,
-0.01097361370921135,
0.0009598283795639873,
0.03443044051527977,
-0.04931352660059929,
-0.04377833381295204,
-0.026263128966093063,
0.02579863741993904,
0.004635239019989967,
-0.01448633149266243,
0.02241172082722187,
-0.027598543092608452,
0.006735128350555897,
-0.04358479380607605,
0.03673354536294937,
0.02897266298532486,
0.008578578941524029,
0.014825023710727692,
0.024405162781476974,
-0.028121095150709152,
-0.04141716659069061,
0.00476587750017643,
-0.04544276371598244,
-0.012173551134765148,
-0.06282249093055725,
-0.013005765154957771,
0.011505844071507454,
0.08523420989513397,
-0.01983766257762909,
-0.017292635515332222,
-0.029146848246455193,
0.051481153815984726,
0.003684483002871275,
0.011147798970341682,
0.025121254846453667,
0.012599335052073002,
0.020708583295345306,
0.009362408891320229,
0.016799112781882286,
0.05237142741680145,
0.06181609258055687,
0.012173551134765148,
-0.03983015567064285,
-0.06692549586296082,
0.04048818349838257,
-0.007441542576998472,
-0.00029650653596036136,
-0.019344139844179153,
-0.0014358112821355462,
-0.01487340871244669,
-0.04401057958602905,
-0.028004972264170647,
-0.0063141826540231705,
-0.0018422415014356375,
-0.05314557999372482,
0.032475706189870834,
-0.03464333340525627,
-0.08461488783359528,
-0.008568902499973774,
0.011776797473430634,
0.02682439051568508,
-0.049932848662137985,
0.000576078484300524,
-0.005090053658932447,
-0.025256730616092682,
0.045249223709106445,
-0.008051187731325626,
-0.049971554428339005,
0.030366139486432076,
-0.019305432215332985,
0.005428745411336422,
0.0656481459736824,
0.01421537809073925,
-0.08128602802753448,
-0.040526892989873886,
-0.02399873360991478,
0.055197086185216904,
-0.010131723247468472,
0.038785047829151154,
-0.0017140223644673824,
0.012618688866496086,
0.0003967532538808882,
-0.05504225566983223,
0.00685608945786953,
0.08120861649513245,
-0.009967215359210968,
-0.015628207474946976,
-0.02504383958876133,
-0.05194564536213875,
0.02583734504878521,
0.02272138185799122,
0.0026732459664344788,
0.004843292757868767,
0.008568902499973774,
-0.0007100431830622256,
0.03518524020910263,
-0.010915552265942097,
-0.011051029898226261,
0.029785525053739548,
0.013470256701111794,
-0.022373013198375702,
-0.03305631875991821,
0.05690022185444832,
-0.037178684026002884,
-0.03837861865758896,
-0.012879964895546436,
-0.047881342470645905,
-0.08167310804128647,
-0.0021894006058573723,
-0.035630375146865845,
-0.021463382989168167,
-0.005772275850176811,
0.007978610694408417,
0.0030143570620566607,
0.014428270049393177,
0.04203648865222931,
-0.06754481792449951,
-0.010799429379403591,
-0.05241013690829277,
0.00450943922623992,
0.01236708927899599,
0.01407990138977766,
0.0687834620475769,
0.003069999162107706,
-0.04099138453602791,
-0.030114538967609406,
-0.013615409843623638,
0.0276953112334013,
0.004785231314599514,
-0.017805511131882668,
-0.005336815025657415,
-0.0002754894958343357,
0.035088468343019485,
0.00976400077342987,
0.01097361370921135,
-0.05813886597752571,
-0.04203648865222931,
-0.03961726278066635,
0.027037281543016434,
-0.0794280618429184,
-0.02399873360991478,
0.00830762553960085,
0.028353340923786163,
0.06924795359373093,
-0.03522394597530365,
-0.020747290924191475,
0.002248671604320407,
-0.04780392721295357,
-0.015918513759970665,
-0.0025184154510498047,
-0.04230744391679764,
-0.007852811366319656,
-0.03572714701294899,
0.03756576031446457,
0.003916728775948286,
-0.03278536722064018,
-0.01227032020688057,
-0.02266331948339939,
0.031701553612947464,
-0.0010983290849253535,
-0.004081236198544502,
0.013073503039777279,
-0.016944266855716705,
0.0069141509011387825,
-0.042617104947566986,
-0.029166201129555702,
-0.0422300286591053,
-0.0059464601799845695,
0.0771443173289299,
0.06348051875829697,
-0.0198570154607296,
0.042423564940690994,
-0.012463858351111412,
-0.014331500977277756,
0.02246978133916855,
0.0017333761788904667,
0.03696579113602638,
-0.027037281543016434,
-0.02368907257914543,
-0.009067263454198837,
0.012357411906123161,
0.009072101674973965,
0.0004926151013933122,
0.007470573298633099,
-0.05031992495059967,
-0.05403585731983185,
0.06053873896598816,
-0.058564648032188416,
0.024618055671453476,
0.08314399421215057,
-0.061158061027526855,
-0.08043446391820908,
0.03607551380991936,
0.024985777214169502,
0.02657278999686241,
0.01718618907034397,
-0.0060480679385364056,
0.034256257116794586,
0.05403585731983185,
0.05941621959209442,
-0.0357464998960495,
-0.02924361638724804,
-0.05446163937449455,
0.029785525053739548,
0.052797213196754456,
-0.003851409535855055,
-0.07242198288440704,
0.029921000823378563,
-0.0299984160810709,
-0.010828460566699505,
-0.004083655308932066,
-0.06518365442752838,
-0.05612606927752495,
0.006551267113536596,
0.013189625926315784,
-0.03450785577297211,
0.025953467935323715,
-0.05004896968603134,
-0.027482420206069946,
0.003524813801050186,
0.07865390926599503,
0.03259182721376419,
0.044746026396751404,
-0.013286394998431206,
0.0007838296005502343,
0.015192746184766293,
0.09313056617975235,
0.03361757844686508,
0.009807546623051167,
-0.004327997099608183,
-0.061970923095941544,
0.007601211778819561,
0.026785682886838913,
-0.04331384226679802,
-0.01670234464108944,
0.0025619615335017443,
0.010412353090941906,
-0.03228216618299484,
-0.07277034968137741,
-0.00019580619118642062,
0.020534399896860123,
0.05140373855829239,
0.011563905514776707,
0.07842166721820831,
-0.09049844741821289,
0.048113588243722916,
0.020147323608398438,
-0.014892762526869774,
-0.0547713004052639,
-0.05763566493988037,
-0.08825340867042542,
-0.0191312488168478,
0.0062464443035423756,
0.017757127061486244,
-0.001830145251005888,
0.014437947422266006,
-0.06816413998603821,
0.031178999692201614,
0.036636773496866226,
0.0078382957726717,
-0.009464016184210777,
0.014718578197062016,
0.05117149278521538,
-0.010015600360929966,
0.052564967423677444,
0.0038925365079194307,
0.010228492319583893,
-0.035630375146865845,
0.014931470155715942,
-0.04950706288218498,
0.024211624637246132,
-0.0056464760564267635,
-0.02396002598106861,
0.01900544762611389,
0.04660399258136749,
0.04428153485059738,
-0.021076306700706482,
-0.03830120339989662,
0.03729480504989624,
0.013460579328238964,
0.1038912907242775,
0.0003535095602273941,
0.01956670917570591,
0.10110434144735336,
0.04385574907064438,
0.00044906901894137263,
-0.013625087216496468,
-0.05484871566295624,
0.006188382860273123,
0.024192271754145622,
-0.024192271754145622,
-0.02370842546224594,
-0.06030649319291115,
-0.024618055671453476,
0.025256730616092682,
-0.0035078793298453093,
-0.02765660360455513,
0.030327431857585907,
-0.020553752779960632,
-0.0030675800517201424,
0.04881032556295395,
0.004260258749127388,
0.14143769443035126,
-0.0147379320114851,
-0.008578578941524029,
0.04513310268521309,
0.0007021806668490171,
0.03998498618602753,
0.03837861865758896,
0.018802233040332794,
-0.00541906850412488,
-0.03392723947763443,
0.04269452020525932,
-0.036172281950712204,
-0.015212099999189377,
0.02688245102763176,
-0.01887964829802513,
0.010054307989776134,
0.0099285077303648,
-0.009904315695166588,
0.015608853660523891,
-0.06084839999675751,
-0.06630617380142212,
-0.03648194298148155,
0.04226873442530632,
0.04973930865526199,
-0.0024506771005690098,
-0.009464016184210777,
-0.034836869686841965,
0.018676433712244034,
0.002825657371431589,
-0.0018047434277832508,
0.013721856288611889,
0.02167627401649952,
-0.0051481151022017,
-0.013208979740738869,
0.011873566545546055,
-0.023534242063760757,
-0.007141558453440666,
0.05213918164372444,
0.018182910978794098,
0.03077256865799427,
0.06468045711517334,
0.028237218037247658,
-0.0221601203083992,
0.009343055076897144,
0.011583259329199791,
0.01148649025708437,
0.004170747473835945,
0.002629699883982539,
-0.02192787453532219,
-0.009996246546506882,
-0.003297406481578946,
-0.022063352167606354,
-0.02475353144109249,
-0.00814311858266592,
0.018240971490740776,
0.04428153485059738,
-0.06309344619512558,
0.011205860413610935,
-0.0033675641752779484,
-0.0072915502823889256,
0.05655185133218765,
-0.053842317312955856,
-0.027598543092608452,
-0.007693142164498568,
0.04857807978987694,
-0.020785998553037643,
-0.022585904225707054,
-0.00027775749913416803,
0.05237142741680145,
0.054655179381370544,
-0.01720554381608963,
0.05167469009757042,
-0.0012652557343244553,
-0.024114856496453285,
0.05798403546214104,
-0.045249223709106445,
-0.004381220322102308,
0.025895407423377037,
0.004586854483932257,
-0.05353265628218651,
0.03514653071761131,
0.0072915502823889256,
-0.021076306700706482,
-0.05035863071680069,
0.04668140783905983,
0.034798163920640945,
-0.03131447732448578,
0.02113436721265316,
-0.010828460566699505,
0.04582984000444412,
-0.039520494639873505,
-0.013189625926315784,
0.013692825101315975,
0.024308394640684128,
0.002982906997203827,
0.014108932577073574,
-0.03433367237448692,
-0.010141399689018726,
-0.003065160708501935,
0.02527608536183834,
0.023669717833399773,
-0.02322458103299141,
0.07791846990585327,
-0.030946753919124603,
0.02475353144109249,
0.029591986909508705,
0.08724700659513474,
0.0012205000966787338,
-0.029398448765277863,
-0.06173867732286453,
-0.005501322448253632,
0.016063667833805084,
0.015608853660523891,
-0.025740576907992363,
0.037468988448381424,
-0.03551425412297249,
-0.07393158227205276,
0.01718618907034397,
0.00803667213767767,
0.05132632330060005,
0.023940671235322952,
0.023418119177222252,
0.0043763816356658936,
-0.0059319450519979,
-0.02161821350455284,
0.009778516367077827,
-0.05159727483987808,
0.03336597979068756,
0.03781735897064209,
0.051519859582185745,
-0.03932695463299751,
0.013092856854200363,
-0.02814044989645481,
0.008733409456908703,
0.0076834652572870255,
-0.007272196467965841,
0.03415948525071144,
-0.01612173020839691,
-0.0589517280459404,
-0.0838407352566719,
0.04176553711295128,
0.04428153485059738,
-0.05190693587064743,
-0.09305315464735031,
0.04741685092449188,
0.021192429587244987,
-0.0026490536984056234,
0.0035393291618674994,
0.007581857964396477,
0.023785840719938278,
-0.032514411956071854,
-0.000054205807828111574,
0.00750444270670414,
-0.007180266082286835,
0.04772651195526123,
0.06371276825666428,
0.046023376286029816,
-0.0495457723736763,
0.021289197728037834,
0.017524881288409233,
0.042926765978336334,
-0.051519859582185745,
-0.013150918297469616,
-0.019015125930309296,
-0.026495374739170074,
0.043700918555259705,
-0.059067849069833755,
-0.011302629485726357,
-0.020534399896860123,
0.09227900207042694,
-0.019469939172267914,
0.035591669380664825,
0.014612131752073765,
-0.062435414642095566,
0.02788884937763214,
0.051790814846754074,
-0.05527450144290924,
0.019498970359563828,
0.01726360432803631,
0.016441067680716515,
-0.04881032556295395,
0.03859151154756546,
-0.018695786595344543,
-0.022818149998784065,
0.032514411956071854,
0.01908286288380623,
-0.05825498700141907,
-0.07849907875061035,
-0.009265639819204807,
-0.04799746721982956,
-0.04857807978987694,
0.011767121031880379,
-0.03443044051527977,
0.05136502906680107,
0.015715299174189568,
-0.04234614968299866,
-0.06297732144594193,
-0.07458961009979248,
-0.07439607381820679,
-0.0024518866557627916,
0.056242190301418304,
-0.021753689274191856,
0.05504225566983223,
0.02605023793876171,
0.05744212865829468,
-0.0014551650965586305,
-0.017815187573432922,
0.03754640370607376,
0.013586379587650299,
0.05028121545910835,
-0.05086183175444603,
-0.07884745299816132,
-0.0023805194068700075,
-0.033540163189172745,
0.006546428427100182,
0.00885437149554491,
0.0014587939949706197,
-0.0009307976579293609,
-0.05500354617834091,
0.06162255257368088,
0.00807054154574871,
0.019247371703386307,
0.0014914534986019135,
-0.005201338324695826,
-0.04269452020525932,
-0.03541748598217964,
-0.0700221061706543,
0.016208821907639503,
-0.01791195757687092,
-0.009038232266902924,
0.022605258971452713,
0.02605023793876171,
0.07950548082590103,
-0.050977952778339386,
0.042965471744537354,
-0.037198036909103394,
0.08763407915830612,
-0.0017660357989370823,
-0.042423564940690994,
0.022566551342606544,
-0.020244091749191284,
-0.05341653525829315,
0.054693885147571564,
0.03050161525607109,
-0.025469623506069183,
-0.028508171439170837,
0.016083022579550743,
-0.010334937833249569,
-0.047881342470645905,
0.06390630453824997,
-0.04505568742752075,
0.02268267422914505,
0.02012796886265278,
-0.011786474846303463,
0.03292084112763405,
0.03319179639220238,
0.032998256385326385,
0.0012531596003100276,
-0.03990757092833519,
0.0313531830906868,
-0.00449492409825325,
0.0073931580409407616,
0.02111501432955265,
0.000048951547796605155,
-0.05709375813603401,
-0.01823129504919052,
-0.0011092156637459993,
-0.012086458504199982,
-0.011834858916699886,
-0.0453653484582901,
0.02264396660029888,
0.049661893397569656,
0.05693892762064934,
-0.027308234944939613,
-0.013131564483046532,
0.05419068783521652,
0.0012579980539157987,
0.05500354617834091,
-0.0017974857473745942,
0.015289515256881714,
0.0033215987496078014,
0.01783454231917858,
0.045016977936029434,
-0.01785389520227909,
-0.07451219856739044,
0.028004972264170647,
-0.06228058412671089,
-0.004003820940852165,
0.03621099144220352,
-0.0279082041233778,
0.052294012159109116,
-0.04041076824069023,
0.025992175564169884,
-0.035088468343019485,
0.004850550554692745,
-0.024637408554553986,
0.03203056752681732,
0.059842001646757126,
-0.04617820680141449,
0.07273164391517639,
-0.01814420334994793,
0.020824706181883812,
0.05527450144290924,
-0.014544392935931683,
-0.03446914628148079,
0.03437237814068794,
-0.02709534391760826,
-0.0432751327753067,
-0.029282324016094208,
0.024424517527222633,
-0.08206018060445786,
0.04563629999756813,
-0.05403585731983185,
-0.003982048016041517,
0.008912432938814163,
-0.019373171031475067,
-0.014534716494381428,
-0.038997940719127655,
0.04884903505444527,
0.007412511855363846,
-0.01628623716533184,
0.02188916690647602,
0.027811434119939804,
0.019266724586486816,
0.0037377059925347567,
0.07284776866436005,
0.05314557999372482,
0.07416382431983948,
-0.02918555587530136,
-0.007881841622292995,
0.0110800601541996,
-0.04269452020525932,
-0.010141399689018726,
0.10427836328744888,
0.02266331948339939,
0.00729638896882534,
0.005854529794305563,
0.023901963606476784,
0.013054149225354195,
0.038997940719127655,
-0.010392999276518822,
-0.036869022995233536,
-0.0008636640850454569,
-0.0038731826934963465,
0.011505844071507454,
-0.030308077111840248,
-0.027075989171862602,
-0.04490085691213608,
0.04428153485059738,
0.0006247654091566801,
0.0022160119842737913,
0.0020793257281184196,
-0.01057686097919941,
0.039230186492204666,
-0.051519859582185745,
-0.024947069585323334,
-0.002376890741288662,
0.03967532515525818,
-0.007218973711133003,
0.03861086443066597,
-0.00413445895537734,
0.01737005077302456,
0.03880440443754196,
-0.0139541020616889,
0.019663477316498756,
0.031430598348379135,
-0.01889900304377079,
-0.02841140329837799,
0.02005055360496044,
-0.012783195823431015,
0.016799112781882286,
0.01422505546361208,
-0.012676750309765339,
0.03437237814068794,
0.05167469009757042,
-0.015037915669381618,
-0.013392841443419456,
0.021753689274191856,
-0.051752105355262756,
-0.0357464998960495,
-0.06591910123825073,
0.015163715928792953,
-0.014370208606123924,
-0.01554111484438181,
0.05136502906680107,
0.051481153815984726,
0.00770281907171011,
-0.04300418123602867,
0.017195865511894226,
-0.048887740820646286,
-0.04435895010828972,
-0.018366772681474686,
-0.03307567164301872,
0.002324877306818962,
-0.03307567164301872,
-0.0010311955120414495,
0.0005316251772455871,
-0.07822813093662262,
-0.1068330705165863,
0.026998573914170265,
0.048616789281368256,
-0.036869022995233536,
0.011147798970341682,
-0.0072383275255560875,
-0.012212258763611317,
-0.015444345772266388,
-0.011544551700353622,
0.020553752779960632,
0.02585669979453087,
0.02061181515455246,
-0.0328240729868412,
-0.017234573140740395,
-0.017592620104551315,
-0.07207361608743668,
-0.01617979072034359,
0.004698139149695635,
0.02214076742529869,
-0.05086183175444603,
-0.03028872422873974,
0.03642388433218002,
-0.011941305361688137,
0.008336656726896763
] |
719,643
|
ibm_platform_services.iam_access_groups_v2
|
list_access_group_rules
|
List access group rules.
This API lists all rules in a given access group. Because only a few rules are
created on each group, there is no pagination or sorting support on this API.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `RulesList` object
|
def list_access_group_rules(
self,
access_group_id: str,
*,
transaction_id: str = None,
**kwargs,
) -> DetailedResponse:
"""
List access group rules.
This API lists all rules in a given access group. Because only a few rules are
created on each group, there is no pagination or sorting support on this API.
:param str access_group_id: The access group identifier.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
: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 representing a `RulesList` object
"""
if not access_group_id:
raise ValueError('access_group_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='list_access_group_rules',
)
headers.update(sdk_headers)
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['access_group_id']
path_param_values = self.encode_path_vars(access_group_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v2/groups/{access_group_id}/rules'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
)
response = self.send(request, **kwargs)
return response
|
(self, access_group_id: str, *, transaction_id: Optional[str] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.07980019599199295,
0.04038216173648834,
-0.005033864174038172,
-0.021433323621749878,
-0.011254348792135715,
0.00274637620896101,
-0.07980019599199295,
0.015463141724467278,
-0.01790127530694008,
0.00013304570165928453,
-0.0011703966883942485,
0.001212113769724965,
0.03150105103850365,
0.0005626015481539071,
-0.006048980634659529,
0.002903974149376154,
-0.007550796493887901,
-0.027700159698724747,
0.027459127828478813,
-0.027459127828478813,
-0.016566326841711998,
0.01328458171337843,
0.005145110189914703,
-0.04943013936281204,
0.01820719987154007,
0.014897642657160759,
0.0347457155585289,
0.015824690461158752,
0.007393198553472757,
0.053731635212898254,
-0.029665499925613403,
0.012060879729688168,
0.013330933637917042,
0.05551156401634216,
-0.08743906021118164,
-0.037267282605171204,
0.009414160624146461,
-0.03595087677240372,
-0.046241097152233124,
0.05009761080145836,
-0.003256252035498619,
0.06200089305639267,
0.038528066128492355,
0.017762217670679092,
-0.023899268358945847,
-0.021804140880703926,
-0.07234673947095871,
-0.015388977713882923,
-0.036896463483572006,
-0.05421369895339012,
-0.03007340058684349,
-0.00698529789224267,
-0.03120439685881138,
-0.007286588195711374,
0.0089552728459239,
-0.00800041388720274,
-0.0716421827673912,
-0.03459738940000534,
0.04527696967124939,
-0.04731646925210953,
-0.019597770646214485,
0.029480090364813805,
-0.007096543442457914,
-0.03622899204492569,
-0.03532048314809799,
-0.02935030311346054,
-0.08373086899518967,
-0.00026753993006423116,
0.0033651799894869328,
-0.0071846130304038525,
-0.04231041669845581,
0.08425001800060272,
0.04653775319457054,
-0.07609200477600098,
-0.06845314055681229,
0.01473077479749918,
0.032020196318626404,
0.00001635911758057773,
0.005775501951575279,
0.04731646925210953,
-0.025364002212882042,
0.041642945259809494,
0.0821734294295311,
0.04687148705124855,
0.044461168348789215,
-0.01907862350344658,
0.006772077176719904,
-0.009284374304115772,
-0.027644537389278412,
-0.06222338601946831,
0.019023001194000244,
-0.017650971189141273,
-0.041680026799440384,
-0.02106250450015068,
-0.07501663267612457,
0.011625166982412338,
-0.041791271418333054,
0.010698121041059494,
-0.02721809595823288,
0.01646435260772705,
-0.026402294635772705,
-0.05121006816625595,
0.013330933637917042,
0.020061293616890907,
0.021303536370396614,
-0.045981522649526596,
-0.01691860519349575,
0.006818429566919804,
-0.004433601628988981,
0.07334794849157333,
0.01866145245730877,
-0.005006053019315004,
0.03964052349328995,
0.009817426092922688,
0.014359955675899982,
0.04676024243235588,
-0.029980694875121117,
-0.07698196917772293,
-0.026698948815464973,
-0.023621153086423874,
-0.002846033778041601,
-0.014137464575469494,
0.06926894187927246,
0.020246703177690506,
0.013256769627332687,
0.05703192204236984,
-0.07104887068271637,
0.020469194278120995,
0.12504008412361145,
-0.009381714276969433,
0.007198518607765436,
-0.04079006239771843,
0.022249124944210052,
-0.0038657854311168194,
0.01328458171337843,
0.02558649331331253,
0.04227333515882492,
0.016677573323249817,
0.009780344553291798,
-0.0004125358536839485,
0.03109315037727356,
-0.005057040601968765,
0.01779002882540226,
-0.033318065106868744,
-0.027737241238355637,
-0.049059320241212845,
0.0280524380505085,
0.010447817854583263,
-0.017734406515955925,
0.028423257172107697,
-0.029925072565674782,
-0.03867639601230621,
0.028237847611308098,
0.019560689106583595,
0.011467569507658482,
0.03200165554881096,
-0.03424511104822159,
0.013164064846932888,
0.002924832748249173,
0.02512297034263611,
-0.0517662949860096,
-0.00419256929308176,
-0.019338198006153107,
-0.06593157351016998,
0.015537304803729057,
-0.026550620794296265,
0.030499842017889023,
-0.04553654044866562,
-0.031908951699733734,
-0.028608664870262146,
-0.04438700154423714,
-0.014156005345284939,
0.004067418165504932,
-0.020024212077260017,
-0.05803313106298447,
-0.0025076617021113634,
0.010994775220751762,
0.05169213190674782,
-0.004194886889308691,
0.01476785633713007,
-0.0423474982380867,
0.002829810604453087,
-0.008144106715917587,
0.00847784336656332,
-0.025827525183558464,
0.021507486701011658,
-0.04260707274079323,
0.01878196932375431,
-0.02323179319500923,
0.0006002628360874951,
-0.03606212139129639,
-0.03949219733476639,
0.013979866169393063,
-0.047613125294446945,
-0.040159668773412704,
-0.058107297867536545,
-0.010596145875751972,
0.0615188293159008,
0.003300286829471588,
0.0067118192091584206,
-0.005413953680545092,
0.030963364988565445,
0.03550589457154274,
0.05884893238544464,
0.03630315512418747,
-0.011949634179472923,
-0.04212500900030136,
-0.018383339047431946,
-0.02775578200817108,
-0.01178276538848877,
-0.05313832685351372,
0.029164893552660942,
0.0003864626633003354,
0.010447817854583263,
-0.0023674459662288427,
0.08195094019174576,
0.023009302094578743,
0.021952468901872635,
-0.009975024498999119,
-0.004588881973177195,
-0.03971468657255173,
-0.029072189703583717,
0.003221487859264016,
-0.02808951959013939,
-0.034615930169820786,
-0.006373446900397539,
0.06074010953307152,
-0.01281178742647171,
-0.023695318028330803,
0.0015331037575379014,
0.009117505513131618,
-0.05873768776655197,
0.026142720133066177,
0.03227977082133293,
0.04579611495137215,
-0.0698622539639473,
0.02215641923248768,
0.01319187693297863,
0.018754158169031143,
0.056475695222616196,
-0.007207788992673159,
0.017743676900863647,
0.04672316089272499,
0.04186543449759483,
-0.0371004156768322,
0.028571583330631256,
-0.018809780478477478,
0.012709812261164188,
0.03441197797656059,
-0.0078289108350873,
-0.04980095475912094,
-0.028256388381123543,
0.010169703513383865,
-0.007930886000394821,
-0.037619560956954956,
-0.0358210913836956,
-0.08313756436109543,
-0.03159375488758087,
0.029480090364813805,
-0.0683789774775505,
0.03867639601230621,
0.028349092230200768,
-0.09752532839775085,
-0.05017177388072014,
0.0466860793530941,
0.011838388629257679,
0.02273118868470192,
-0.0035390013363212347,
-0.0010521981166675687,
-0.01672392524778843,
0.08780987560749054,
0.029257599264383316,
-0.03402261808514595,
0.02580898441374302,
-0.04030799865722656,
0.02710684947669506,
0.09292717278003693,
0.00008756246825214475,
-0.03344785049557686,
-0.0014137463876977563,
0.04690856859087944,
0.0287755336612463,
-0.09166639298200607,
0.015463141724467278,
0.02892386168241501,
0.028070978820323944,
-0.010716661810874939,
0.05098757520318031,
-0.07405250519514084,
0.05317540839314461,
0.0706038847565651,
-0.03261350840330124,
-0.05235960707068443,
-0.010827907361090183,
0.00931218545883894,
0.006303918547928333,
0.010141892358660698,
-0.04390493780374527,
-0.008158012293279171,
0.02619834430515766,
-0.0323910154402256,
0.025419624522328377,
0.0937429741024971,
-0.00489480746909976,
-0.07586951553821564,
-0.03678521886467934,
0.04894807189702988,
0.0033767682034522295,
0.055326156318187714,
0.0190044604241848,
0.04093838855624199,
-0.019152788445353508,
0.014304332435131073,
-0.0485030896961689,
0.017400668933987617,
-0.008579818531870842,
-0.0015052923699840903,
-0.010670308955013752,
0.033707424998283386,
0.03289162367582321,
-0.020747307687997818,
-0.01281178742647171,
0.03901012986898422,
-0.02820076420903206,
0.07787193357944489,
-0.0071336254477500916,
0.06366957724094391,
0.006382717750966549,
0.039937179535627365,
-0.010577604174613953,
0.013377285562455654,
-0.06159299239516258,
-0.00582648953422904,
-0.02167435549199581,
0.023083467036485672,
-0.06763733923435211,
0.007643501274287701,
-0.02250869758427143,
-0.014452660456299782,
0.01512940414249897,
-0.012969384901225567,
0.040011342614889145,
0.02649499848484993,
-0.013377285562455654,
0.012033067643642426,
0.030815036967396736,
0.03546881303191185,
0.04364536702632904,
-0.053731635212898254,
0.013349474407732487,
0.018197929486632347,
-0.012209206819534302,
0.012802517041563988,
0.026124179363250732,
0.00969691015779972,
-0.004890172276645899,
0.0057801371440291405,
-0.012005256488919258,
0.002256200183182955,
0.006911134347319603,
0.0003563336213119328,
0.016547786071896553,
-0.028108060359954834,
0.01911570504307747,
0.02243453450500965,
-0.007036285474896431,
-0.05614195764064789,
-0.04790978133678436,
0.05547448247671127,
-0.003413849975913763,
-0.028905320912599564,
0.01066103857010603,
0.05451035499572754,
0.02258286066353321,
0.008088483475148678,
0.00493188900873065,
0.032743293792009354,
-0.020673144608736038,
0.05629028379917145,
0.05795896798372269,
-0.012839598581194878,
-0.00885793287307024,
-0.0019491160055622458,
0.030685249716043472,
-0.004255144856870174,
-0.000054355365136871114,
-0.021414782851934433,
0.029517171904444695,
-0.034801337867975235,
0.003550589317455888,
0.06719235330820084,
-0.0017161954892799258,
0.0016130615258589387,
-0.044535331428050995,
-0.03558005765080452,
-0.0060767922550439835,
0.003114877501502633,
0.03177916631102562,
-0.013062089681625366,
-0.047501880675554276,
-0.027774322777986526,
0.01987588405609131,
-0.012783976271748543,
-0.018142307177186012,
-0.009567123837769032,
0.0018876991234719753,
0.06307626515626907,
0.015361166559159756,
-0.016909334808588028,
-0.009910130873322487,
0.013692481443285942,
-0.006827699951827526,
-0.016149155795574188,
-0.0058543006889522076,
0.020061293616890907,
0.05736565962433815,
-0.01020678598433733,
0.06593157351016998,
0.014536094851791859,
-0.008524195291101933,
0.03678521886467934,
-0.02732934057712555,
0.029591334983706474,
-0.04186543449759483,
-0.0238807275891304,
-0.0495784655213356,
0.012264830060303211,
0.04231041669845581,
-0.04264415428042412,
-0.04883682727813721,
0.0683789774775505,
0.012283370830118656,
-0.03634023666381836,
-0.005488117225468159,
-0.05692067742347717,
-0.009451242163777351,
-0.019449442625045776,
0.015249921008944511,
0.016176966950297356,
-0.024492578580975533,
0.03797183930873871,
-0.006684007588773966,
0.03587671369314194,
-0.007328305393457413,
-0.04349703714251518,
0.0032863810192793608,
0.04208792746067047,
-0.02204517461359501,
0.034801337867975235,
-0.03478279709815979,
0.024677986279129982,
0.04216209053993225,
0.05098757520318031,
0.038305576890707016,
-0.025642115622758865,
-0.001993150683119893,
-0.010382924228906631,
-0.038565147668123245,
-0.04041924327611923,
-0.024566741660237312,
0.05013469234108925,
-0.05143255740404129,
-0.03934386745095253,
0.03287308290600777,
-0.0604434534907341,
0.050394266843795776,
-0.0029503265395760536,
0.02037649042904377,
0.016149155795574188,
-0.03311411291360855,
-0.04223625361919403,
-0.009330726228654385,
-0.04943013936281204,
0.03728582337498665,
0.012116502039134502,
0.05328665301203728,
0.026087097823619843,
-0.02439987286925316,
-0.05006052926182747,
0.05714316666126251,
0.028719911351799965,
-0.05484409257769585,
-0.049133483320474625,
-0.026031475514173508,
-0.008283163420855999,
-0.052062951028347015,
0.028256388381123543,
0.021118126809597015,
-0.07972602546215057,
-0.05769939720630646,
0.048985157161951065,
-0.009052612818777561,
-0.02642083540558815,
-0.019152788445353508,
0.026402294635772705,
0.0197275560349226,
-0.009641286917030811,
-0.0020626792684197426,
-0.020765848457813263,
-0.041420452296733856,
-0.018040331080555916,
0.0027880934067070484,
-0.013479260727763176,
0.01714109629392624,
0.028905320912599564,
0.04976387321949005,
-0.022415991872549057,
-0.02363969385623932,
0.0078289108350873,
-0.028831155970692635,
-0.04067881405353546,
0.06277961283922195,
-0.02349136769771576,
0.05914558842778206,
-0.04724230617284775,
0.020005671307444572,
-0.00531197851523757,
0.030314432457089424,
0.00489480746909976,
0.02855304256081581,
0.03941803053021431,
0.04386785626411438,
-0.04835476353764534,
0.017400668933987617,
-0.004619010724127293,
0.029887991026043892,
-0.013544154353439808,
0.0008204364567063749,
0.027477668598294258,
-0.05451035499572754,
0.037767887115478516,
0.01207015011459589,
-0.036358777433633804,
-0.011986715719103813,
-0.02942446619272232,
0.00759251369163394,
-0.03915845975279808,
0.033280983567237854,
-0.12429843842983246,
0.047687288373708725,
0.02554941177368164,
0.001535421353764832,
-0.01514794584363699,
-0.03875055909156799,
-0.053917042911052704,
0.04731646925210953,
0.055363237857818604,
-0.017002038657665253,
0.02490047737956047,
0.015166486613452435,
0.06511577218770981,
0.042829565703868866,
0.006118508987128735,
0.006582032423466444,
0.04816935583949089,
0.002304870169609785,
-0.004452142398804426,
-0.034115325659513474,
-0.024307169020175934,
-0.03507945314049721,
0.018114496022462845,
0.014128194190561771,
-0.038453903049230576,
-0.032483723014593124,
-0.006373446900397539,
0.044609494507312775,
0.029405925422906876,
0.052100032567977905,
0.002567919669672847,
0.050394266843795776,
-0.053805798292160034,
-0.04242166504263878,
-0.042977891862392426,
0.005006053019315004,
-0.01748410426080227,
0.018578018993139267,
0.02273118868470192,
0.006651561241596937,
0.019634852185845375,
-0.02999923564493656,
0.04698273539543152,
-0.03348493203520775,
0.04716814309358597,
0.003594624111428857,
-0.017771488055586815,
0.01722452975809574,
-0.0015307861613109708,
0.007731570862233639,
0.0662282258272171,
-0.008093118667602539,
0.00009306681022280827,
0.009817426092922688,
0.0005820115911774337,
0.0017057661898434162,
-0.04872558265924454,
0.03380012884736061,
-0.0630021020770073,
-0.01207015011459589,
-0.0380089208483696,
0.04208792746067047,
-0.013080631382763386,
0.03941803053021431,
0.019301114603877068,
0.04965262860059738,
-0.010327301919460297,
0.050839249044656754,
0.07735279202461243,
-0.011764224618673325,
-0.01983880251646042,
-0.024270085617899895,
-0.056735266000032425,
-0.014600987546145916,
0.04861433804035187,
-0.050839249044656754,
0.04104963317513466,
-0.07319962233304977,
-0.0009293644689023495,
0.07675947993993759,
-0.0034602023661136627,
-0.06055469810962677,
0.08447250723838806,
0.033392228186130524,
-0.021563109010457993,
0.04331162944436073,
-0.03140834718942642,
0.06467078626155853,
0.015481682494282722,
0.011217267252504826,
-0.01471223309636116,
-0.03804600238800049,
-0.05692067742347717,
0.016065722331404686,
-0.08009684830904007,
-0.0338372103869915,
0.036544185131788254,
-0.009984294883906841,
0.08380503207445145,
-0.0014983394648879766,
0.04831768199801445,
-0.04638942331075668,
-0.03226123005151749,
0.025419624522328377,
0.06567199528217316,
-0.003928360994905233,
-0.02562357485294342,
0.07160510122776031,
0.00507558137178421,
-0.005631809588521719,
0.04661191627383232,
0.006832335144281387,
-0.07160510122776031,
0.06207505613565445,
-0.03391137346625328,
-0.038639310747385025,
0.06967683881521225,
0.05298999696969986,
-0.006670102011412382,
-0.013089901767671108,
-0.03025880828499794,
-0.047464799135923386,
-0.010642497800290585,
-0.01207015011459589,
-0.025753362104296684,
-0.04868850111961365,
-0.024956101551651955,
-0.033966995775699615,
0.01688152365386486,
0.011894010938704014,
0.0318533293902874,
0.02790411002933979,
0.02211933769285679,
0.047576043754816055,
0.01512940414249897,
0.07449748367071152,
0.02276827022433281,
0.030240267515182495,
0.023064926266670227,
-0.05591946467757225,
0.07868773490190506,
0.010392195545136929,
-0.049318891018629074,
0.0371004156768322,
0.02547524683177471,
-0.05892309918999672,
0.008737416937947273,
0.017576808109879494,
-0.01566709205508232,
-0.07097470760345459,
-0.0161955077201128,
0.01011408120393753,
0.02436279132962227,
0.029164893552660942,
-0.0068369703367352486,
-0.05187753960490227,
0.03153813257813454,
0.025790443643927574,
-0.004880901426076889,
0.0589972622692585,
-0.02037649042904377,
0.05402829125523567,
-0.0481322705745697,
-0.04972679167985916,
0.020172540098428726,
0.033892832696437836,
0.011245078407227993,
0.012366805225610733,
-0.0022446122020483017,
-0.028367633000016212,
-0.010420006699860096,
-0.017354317009449005,
-0.04208792746067047,
0.031074609607458115,
0.027440587058663368,
0.0035923065152019262,
-0.012876681052148342,
-0.04828060045838356,
0.04642650485038757,
0.000382986239856109,
-0.00777328759431839,
-0.006317824125289917,
0.05310124158859253,
0.04260707274079323,
-0.031649380922317505,
0.015871042385697365,
-0.004206474870443344,
-0.027014145627617836,
-0.01782711036503315,
0.023936349898576736,
-0.012033067643642426,
-0.04334871098399162,
0.06018388271331787,
0.04401618242263794,
-0.0013048184337094426,
-0.05599362775683403,
0.018383339047431946,
0.03975176811218262,
-0.04030799865722656,
-0.08083848655223846,
-0.011532463133335114,
0.03774934634566307,
0.02855304256081581,
-0.04879974573850632,
0.0031311006750911474,
-0.08417585492134094,
-0.07108595222234726,
0.024622363969683647,
-0.02117374911904335,
0.02410321868956089,
0.018309175968170166,
0.023509908467531204,
0.007235600613057613,
-0.033021409064531326,
0.005654985550791025,
0.012746893800795078,
0.013664670288562775,
-0.009854507632553577,
-0.009622746147215366,
-0.03901012986898422,
0.040233831852674484,
0.007254141382873058,
0.01869853399693966,
0.021340617910027504,
0.007764017209410667,
0.002277058782055974,
0.01630675420165062,
-0.018540937453508377,
0.0197275560349226,
-0.042829565703868866
] |
719,644
|
ibm_platform_services.iam_access_groups_v2
|
list_access_groups
|
List access groups.
This API lists access groups within an account. Parameters for pagination and
sorting can be used to filter the results. The `account_id` query parameter
determines which account to retrieve groups from. Only the groups you have access
to are returned (either because of a policy on a specific group or account level
access (admin, editor, or viewer)). There may be more groups in the account that
aren't shown if you lack the aforementioned permissions.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param str iam_id: (optional) Return groups for member ID (IBMid, service
ID or trusted profile ID).
:param str search: (optional) Use search to filter access groups list by
id, name or description.
* `search=id:<ACCESS_GROUP_ID>` - To list access groups by id
* `search=name:<ACCESS_GROUP_NAME>` - To list access groups by name
* `search=description:<ACCESS_GROUP_DESC>` - To list access groups by
description.
:param str membership_type: (optional) Membership type need to be specified
along with iam_id and must be either `static`, `dynamic` or `all`. If
membership type is `static`, members explicitly added to the group will be
shown. If membership type is `dynamic`, members accessing the access group
at the moment via dynamic rules will be shown. If membership type is `all`,
both static and dynamic members will be shown.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
:param str sort: (optional) Sort the results by id, name, description, or
is_federated flag.
:param bool show_federated: (optional) If show_federated is true, each
group listed will return an is_federated value that is set to true if rules
exist for the group.
:param bool hide_public_access: (optional) If hide_public_access is true,
do not include the Public Access Group in the results.
: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 representing a `GroupsList` object
|
def list_access_groups(
self,
account_id: str,
*,
transaction_id: str = None,
iam_id: str = None,
search: str = None,
membership_type: str = None,
limit: int = None,
offset: int = None,
sort: str = None,
show_federated: bool = None,
hide_public_access: bool = None,
**kwargs,
) -> DetailedResponse:
"""
List access groups.
This API lists access groups within an account. Parameters for pagination and
sorting can be used to filter the results. The `account_id` query parameter
determines which account to retrieve groups from. Only the groups you have access
to are returned (either because of a policy on a specific group or account level
access (admin, editor, or viewer)). There may be more groups in the account that
aren't shown if you lack the aforementioned permissions.
:param str account_id: Account ID of the API keys(s) to query. If a service
IAM ID is specified in iam_id then account_id must match the account of the
IAM ID. If a user IAM ID is specified in iam_id then then account_id must
match the account of the Authorization token.
:param str transaction_id: (optional) An optional transaction ID can be
passed to your request, which can be useful for tracking calls through
multiple services by using one identifier. The header key must be set to
Transaction-Id and the value is anything that you choose. If no transaction
ID is passed in, then a random ID is generated.
:param str iam_id: (optional) Return groups for member ID (IBMid, service
ID or trusted profile ID).
:param str search: (optional) Use search to filter access groups list by
id, name or description.
* `search=id:<ACCESS_GROUP_ID>` - To list access groups by id
* `search=name:<ACCESS_GROUP_NAME>` - To list access groups by name
* `search=description:<ACCESS_GROUP_DESC>` - To list access groups by
description.
:param str membership_type: (optional) Membership type need to be specified
along with iam_id and must be either `static`, `dynamic` or `all`. If
membership type is `static`, members explicitly added to the group will be
shown. If membership type is `dynamic`, members accessing the access group
at the moment via dynamic rules will be shown. If membership type is `all`,
both static and dynamic members will be shown.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
:param str sort: (optional) Sort the results by id, name, description, or
is_federated flag.
:param bool show_federated: (optional) If show_federated is true, each
group listed will return an is_federated value that is set to true if rules
exist for the group.
:param bool hide_public_access: (optional) If hide_public_access is true,
do not include the Public Access Group in the results.
: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 representing a `GroupsList` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='list_access_groups',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'iam_id': iam_id,
'search': search,
'membership_type': membership_type,
'limit': limit,
'offset': offset,
'sort': sort,
'show_federated': show_federated,
'hide_public_access': hide_public_access,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v2/groups'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, transaction_id: Optional[str] = None, iam_id: Optional[str] = None, search: Optional[str] = None, membership_type: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, sort: Optional[str] = None, show_federated: Optional[bool] = None, hide_public_access: Optional[bool] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
-0.025463739410042763,
0.012761733494699001,
-0.026240194216370583,
-0.03677210956811905,
0.012483006343245506,
-0.026618467643857002,
-0.03111792542040348,
0.016912780702114105,
0.015648553147912025,
0.007645094767212868,
0.016415053978562355,
0.0036184790078550577,
0.06183766573667526,
-0.006351003423333168,
-0.011308369226753712,
-0.012333688326179981,
-0.025284558534622192,
-0.015718234702944756,
0.011597051285207272,
-0.03456220030784607,
-0.024109920486807823,
0.001139795989729464,
-0.0035313768312335014,
0.006261412054300308,
0.012333688326179981,
0.008675390854477882,
0.04614929482340813,
-0.003404456190764904,
0.023871012032032013,
0.053674936294555664,
0.010233277454972267,
-0.03758838400244713,
-0.012662188149988651,
0.02916683256626129,
-0.049932025372982025,
-0.049653299152851105,
0.025762377306818962,
-0.012174415402114391,
-0.021959738805890083,
0.03567710891366005,
-0.003830013331025839,
-0.017739009112119675,
0.0295052882283926,
-0.043839842081069946,
-0.016554417088627815,
0.010531914420425892,
-0.011676687747240067,
0.022716283798217773,
-0.04646784067153931,
-0.049932025372982025,
-0.053794391453266144,
-0.025543376803398132,
-0.023472830653190613,
-0.002993830945342779,
0.022357920184731483,
-0.014653097838163376,
-0.022835738956928253,
-0.050250571221113205,
0.07199130952358246,
-0.02727546915411949,
0.015061235055327415,
-0.0025508536491543055,
0.022616738453507423,
-0.044238023459911346,
-0.06147930398583412,
0.014812370762228966,
-0.0872814953327179,
-0.023910829797387123,
-0.048737477511167526,
-0.023174192756414413,
-0.01472278032451868,
0.05638257414102554,
0.015907371416687965,
-0.04232674837112427,
-0.05893093720078468,
0.049454208463430405,
0.003688161028549075,
0.025324376299977303,
0.03543819859623909,
0.008486254140734673,
0.018067508935928345,
0.0071722534485161304,
0.016196053475141525,
0.03687165677547455,
0.012144551612436771,
0.009088504128158092,
-0.011457687243819237,
-0.03113783337175846,
0.011786187998950481,
-0.06032457575201988,
0.004255570471286774,
0.0014110575430095196,
-0.013050415553152561,
-0.016056690365076065,
-0.02803201414644718,
-0.0069283670745790005,
-0.024727104231715202,
-0.010870369151234627,
-0.014324598014354706,
0.04037565737962723,
-0.03850420191884041,
-0.06601858139038086,
-0.0066347080282866955,
-0.008983981795608997,
-0.011159051209688187,
-0.057378027588129044,
-0.012940915301442146,
0.008297117426991463,
0.018067508935928345,
0.04380002245306969,
-0.04395929351449013,
-0.04224711284041405,
0.05909021198749542,
-0.022019466385245323,
0.026499012485146523,
0.05690021067857742,
0.02815146930515766,
-0.06840766966342926,
-0.004315297584980726,
-0.020705465227365494,
-0.004581581801176071,
-0.013388870283961296,
0.06251457333564758,
0.015071189031004906,
0.03354683518409729,
0.06004584953188896,
-0.06661584973335266,
0.018236735835671425,
0.03746892884373665,
-0.010512005537748337,
-0.0017221372108906507,
-0.023214012384414673,
-0.03655311092734337,
0.024906285107135773,
0.048299480229616165,
0.0005322573706507683,
-0.0011646824423223734,
0.022855648770928383,
-0.024090012535452843,
0.04431765899062157,
-0.0023057227954268456,
-0.027434740215539932,
0.013667597435414791,
0.022915374487638474,
-0.0009687021956779063,
-0.015917325392365456,
0.04053492844104767,
-0.06769094616174698,
-0.021063828840851784,
-0.01504132617264986,
-0.020844828337430954,
-0.06900494545698166,
-0.016106462106108665,
-0.020844828337430954,
-0.0655805766582489,
0.03778747469186783,
-0.028788559138774872,
0.02894783206284046,
0.03354683518409729,
0.049016207456588745,
-0.08194585889577866,
0.008983981795608997,
-0.004034081473946571,
-0.025861922651529312,
-0.003476626705378294,
0.005445139016956091,
0.020546192303299904,
0.03125728666782379,
-0.03296947106719017,
-0.05606402829289436,
-0.03930056467652321,
0.04105256497859955,
-0.004603979643434286,
-0.050648752599954605,
-0.024528011679649353,
0.003354683518409729,
0.04033583775162697,
0.03555765375494957,
0.025344286113977432,
-0.048339296132326126,
-0.02992337942123413,
-0.045153841376304626,
0.0018428361508995295,
-0.03462192788720131,
-0.015857599675655365,
0.004078877158463001,
0.009944596327841282,
0.0721505805850029,
-0.020406829193234444,
-0.010472186841070652,
0.01378705259412527,
-0.03776756301522255,
-0.017977917566895485,
-0.03782729059457779,
-0.03273056074976921,
-0.03167537972331047,
-0.03619474545121193,
0.0031282175332307816,
0.04523347690701485,
0.03796665370464325,
-0.02795237861573696,
-0.004855331964790821,
0.04264529421925545,
0.03458210825920105,
0.020038509741425514,
-0.010103868320584297,
-0.047224387526512146,
-0.026996741071343422,
-0.024786829948425293,
-0.008555935695767403,
-0.0689651221036911,
0.0033795698545873165,
0.054670389741659164,
0.024249285459518433,
0.016474781557917595,
0.06812894344329834,
-0.016474781557917595,
0.018206872045993805,
0.02757410518825054,
-0.023034829646348953,
0.023890921846032143,
-0.047264207154512405,
-0.03285001590847969,
-0.04340184107422829,
0.001702228095382452,
-0.0005742531502619386,
0.021282829344272614,
-0.0026528877206146717,
-0.022019466385245323,
-0.021163374185562134,
0.03052065148949623,
-0.0667751282453537,
0.03330792486667633,
0.052042391151189804,
-0.010641414672136307,
-0.05678075551986694,
0.048299480229616165,
-0.0009288839646615088,
0.0002894596545957029,
0.027972286567091942,
-0.027335194870829582,
0.06215621158480644,
0.05885130167007446,
0.06434621661901474,
-0.04113220423460007,
-0.021143464371562004,
-0.06466475874185562,
0.03864356502890587,
0.03257128968834877,
-0.010492096655070782,
-0.08457385748624802,
-0.013528234325349331,
-0.025005830451846123,
-0.03390520066022873,
-0.023751556873321533,
-0.06769094616174698,
-0.1084647849202156,
-0.007879027165472507,
0.018605055287480354,
-0.009446868672966957,
0.026359649375081062,
-0.03617483749985695,
-0.06223585084080696,
-0.023731648921966553,
0.09373204410076141,
0.06307203322649002,
0.02942565083503723,
-0.002171336207538843,
0.048856932669878006,
0.020824920386075974,
0.08242367953062057,
0.046388205140829086,
0.005753729958087206,
-0.012632324360311031,
-0.054073117673397064,
0.023632103577256203,
0.03641374409198761,
-0.052679482847452164,
-0.05996621027588844,
-0.010940050706267357,
0.02850983291864395,
-0.0023542512208223343,
-0.11634878814220428,
-0.013806961476802826,
0.027753286063671112,
0.03862365707755089,
0.010541869327425957,
0.06147930398583412,
-0.056462209671735764,
0.054909300059080124,
0.03077946975827217,
-0.0027922512963414192,
-0.06753166764974594,
-0.03527892753481865,
-0.04411856830120087,
-0.011388005688786507,
-0.011348187923431396,
-0.020984193310141563,
-0.025682739913463593,
0.03038128837943077,
-0.06116075813770294,
0.023154284805059433,
0.08234404027462006,
0.015887463465332985,
0.0004796849098056555,
-0.019381510093808174,
0.03446265310049057,
0.024090012535452843,
0.03655311092734337,
0.02998310513794422,
-0.0036831835750490427,
-0.023233920335769653,
0.0542323924601078,
-0.03505992516875267,
-0.0008548470214009285,
-0.0292066503316164,
0.015608735382556915,
0.03151610866189003,
0.04149056598544121,
0.053077664226293564,
-0.013100188225507736,
-0.007968617603182793,
0.016415053978562355,
-0.020247556269168854,
0.10089932382106781,
-0.010103868320584297,
0.04161002114415169,
0.07489803433418274,
0.053953662514686584,
0.019252100959420204,
0.012901097536087036,
-0.049852389842271805,
-0.019371556118130684,
0.014513734728097916,
-0.048896752297878265,
-0.04272492974996567,
-0.03866347298026085,
-0.04065438359975815,
0.005932912230491638,
-0.03223283588886261,
-0.03533865511417389,
-0.007645094767212868,
0.03183465078473091,
-0.006624753121286631,
0.03034147061407566,
0.005504866596311331,
0.12343642860651016,
0.014931825920939445,
-0.054312027990818024,
0.04348147660493851,
0.013677552342414856,
0.03159574419260025,
0.08023367822170258,
0.03961911052465439,
-0.0027076376136392355,
-0.002509790938347578,
0.046069659292697906,
0.0066695488058030605,
-0.006107116583734751,
-0.01401600707322359,
0.00003034971268789377,
0.003304910846054554,
-0.002201199997216463,
-0.023612193763256073,
0.012831415981054306,
-0.05534730106592178,
-0.0615987591445446,
-0.053157299757003784,
0.05829384922981262,
0.010452277958393097,
-0.0008448924636468291,
0.00012093223631381989,
-0.017818644642829895,
0.04312311112880707,
0.00711750378832221,
0.012045006267726421,
0.03563728928565979,
-0.006236525718122721,
-0.0029316151048988104,
0.03930056467652321,
0.04471584036946297,
-0.02992337942123413,
0.03026183322072029,
0.03285001590847969,
0.008919277228415012,
-0.002899262821301818,
0.048180025070905685,
0.0290075596421957,
-0.03591601923108101,
-0.017520008608698845,
-0.0028171378653496504,
-0.01463318895548582,
0.03472147136926651,
0.021999556571245193,
-0.04208783805370331,
-0.03752865642309189,
-0.005987661890685558,
-0.020526282489299774,
-0.03020210564136505,
-0.024508103728294373,
0.0006700656958855689,
0.03075956180691719,
-0.004790627397596836,
-0.009944596327841282,
0.006998049095273018,
-0.019013190641999245,
0.02805192396044731,
-0.03129710629582405,
-0.017689235508441925,
-0.026359649375081062,
0.05857257544994354,
-0.0033098880667239428,
-0.03563728928565979,
0.01469291653484106,
0.05566584691405296,
0.07027912884950638,
-0.019859328866004944,
0.11061496287584305,
-0.012473051436245441,
-0.0013314210809767246,
0.05769657343626022,
-0.03860374540090561,
-0.010890278033912182,
0.03940011188387871,
0.012154506519436836,
-0.046945661306381226,
0.028689013794064522,
0.023950647562742233,
-0.04019647464156151,
-0.0709560364484787,
0.050529297441244125,
0.03302919864654541,
-0.03583637997508049,
-0.013269416056573391,
-0.03697120025753975,
0.025344286113977432,
-0.053595300763845444,
-0.007480844855308533,
0.046189114451408386,
0.007525640074163675,
0.025881830602884293,
-0.0001285536854993552,
-0.027872741222381592,
0.0028594445902854204,
0.023293647915124893,
0.01381691638380289,
0.04184893146157265,
0.0006980628240853548,
0.08226440846920013,
-0.0574178472161293,
0.048737477511167526,
0.04049511253833771,
0.049095842987298965,
0.021760648116469383,
-0.03752865642309189,
-0.024448376148939133,
0.010382596403360367,
0.008083094842731953,
-0.0013463529758155346,
0.025941558182239532,
0.047423478215932846,
-0.03342738002538681,
-0.04164984077215195,
0.020167918875813484,
0.016444917768239975,
0.051564570516347885,
0.045193661004304886,
0.028171377256512642,
0.026518922299146652,
-0.010671278461813927,
-0.04459638521075249,
0.016683826223015785,
-0.06562040001153946,
0.013568052090704441,
0.023731648921966553,
0.03651329129934311,
0.015001507475972176,
-0.017689235508441925,
-0.011985278688371181,
0.05913003161549568,
0.011636869050562382,
-0.017659371718764305,
0.02831074222922325,
-0.021900011226534843,
-0.022457465529441833,
-0.08146803826093674,
0.04288420453667641,
0.01433455292135477,
-0.06745203584432602,
-0.07422112673521042,
0.022198647260665894,
-0.010312913917005062,
-0.019232191145420074,
-0.00746093550696969,
0.03177492693066597,
0.050887662917375565,
-0.04320275038480759,
-0.0027300354558974504,
0.006042412016540766,
-0.050250571221113205,
0.02988355979323387,
-0.0015417110407724977,
-0.023174192756414413,
-0.048020750284194946,
0.009795277379453182,
0.011328278109431267,
0.04491493105888367,
-0.04387965798377991,
-0.010621505789458752,
-0.03872320055961609,
-0.04180911183357239,
0.03768792748451233,
-0.009412027895450592,
0.0017345803789794445,
-0.03336765244603157,
0.027594013139605522,
-0.019162509590387344,
0.0027225695084780455,
0.025185013189911842,
-0.014553552493453026,
0.061996940523386,
0.017400553449988365,
-0.05905039235949516,
0.049414388835430145,
0.016992418095469475,
-0.008162731304764748,
0.012741824612021446,
0.02763383276760578,
-0.008585799485445023,
-0.04614929482340813,
0.04790129512548447,
0.022576920688152313,
-0.03902183845639229,
-0.02819128707051277,
-0.006550094112753868,
-0.028270922601222992,
-0.04232674837112427,
0.011298415251076221,
-0.021641192957758904,
0.06028475612401962,
0.009974459186196327,
-0.06394803524017334,
-0.09428950399160385,
-0.050728388130664825,
-0.05729839205741882,
0.011009733192622662,
0.03075956180691719,
-0.021024011075496674,
0.03736938163638115,
0.021780556067824364,
0.05777621269226074,
-0.005514821037650108,
0.047025296837091446,
-0.017410509288311005,
0.02902746945619583,
0.04718456789851189,
-0.03647347167134285,
-0.07828258723020554,
-0.005360525567084551,
-0.04031592980027199,
0.018784236162900925,
0.0303016509860754,
0.009322436526417732,
-0.03398483619093895,
-0.009441890753805637,
0.046945661306381226,
0.047622568905353546,
0.054630573838949203,
-0.004282945301383734,
0.016783371567726135,
-0.03167537972331047,
-0.03864356502890587,
-0.04790129512548447,
0.03075956180691719,
-0.048100389540195465,
0.019650282338261604,
0.014414189383387566,
-0.011935506016016006,
0.05948839336633682,
-0.049095842987298965,
0.045273296535015106,
-0.04220729321241379,
0.04137111082673073,
0.023990467190742493,
-0.014225052669644356,
0.04113220423460007,
-0.0022410182282328606,
-0.015230461955070496,
0.03330792486667633,
-0.002243506722152233,
-0.026797650381922722,
0.002829581033438444,
0.04212765768170357,
0.013010597787797451,
-0.03400474414229393,
0.0580151192843914,
-0.03243192657828331,
0.002359228441491723,
-0.054312027990818024,
-0.010591641999781132,
0.022178739309310913,
0.02988355979323387,
0.03404456377029419,
0.012313778512179852,
0.016733599826693535,
0.07123476266860962,
0.012791597284376621,
-0.03746892884373665,
-0.013667597435414791,
-0.005589480046182871,
-0.06581948697566986,
0.007754595018923283,
0.002677774056792259,
-0.019202327355742455,
-0.021422192454338074,
-0.04176929220557213,
0.0307993795722723,
0.051405299454927444,
0.07605276256799698,
-0.03454228863120079,
0.0596078485250473,
0.03233237937092781,
-0.024468285962939262,
0.08982986211776733,
-0.0012679608771577477,
0.017440373077988625,
0.012184369377791882,
0.026777740567922592,
0.022815829142928123,
0.03308892622590065,
-0.03991774842143059,
0.04463620483875275,
-0.0787205845117569,
-0.004389956593513489,
0.0151508254930377,
0.001774398609995842,
0.045990023761987686,
0.0033994789700955153,
0.023970557376742363,
-0.027594013139605522,
-0.023572375997900963,
-0.017460281029343605,
0.03149619698524475,
0.044038932770490646,
-0.045910388231277466,
0.017908236011862755,
-0.019749827682971954,
0.026140648871660233,
0.0617978498339653,
-0.02932610549032688,
-0.052440572530031204,
0.05749748274683952,
-0.05678075551986694,
-0.07720749080181122,
-0.008127890527248383,
0.020018601790070534,
-0.09476731717586517,
0.056541845202445984,
-0.04208783805370331,
-0.001479495083913207,
0.05909021198749542,
-0.0018291486194357276,
-0.026777740567922592,
-0.022377829998731613,
-0.013996098190546036,
-0.04595020413398743,
0.006818867288529873,
0.016863008961081505,
0.053754571825265884,
0.01491191703826189,
-0.005041979718953371,
0.04372038692235947,
0.021999556571245193,
0.08314040303230286,
-0.018824055790901184,
-0.004855331964790821,
0.03583637997508049,
-0.01536982599645853,
-0.000894665252417326,
0.047781843692064285,
0.007326548919081688,
0.04264529421925545,
-0.004434752278029919,
-0.021262919530272484,
0.03374592587351799,
0.025583194568753242,
-0.011925551109015942,
-0.056541845202445984,
-0.03147628903388977,
0.007550526410341263,
0.008242367766797543,
-0.03472147136926651,
-0.024766921997070312,
-0.03874311223626137,
0.01553905289620161,
0.019212283194065094,
0.020307283848524094,
-0.016544463112950325,
-0.018893737345933914,
0.03965893015265465,
-0.017559826374053955,
-0.020645737648010254,
0.011487551033496857,
0.020098237320780754,
0.03054056130349636,
0.023970557376742363,
-0.028111649677157402,
-0.010731005109846592,
0.004484524950385094,
-0.03075956180691719,
0.015837689861655235,
0.021919921040534973,
-0.04232674837112427,
0.016345372423529625,
0.04188874736428261,
-0.03498028963804245,
0.02954510599374771,
0.004337695427238941,
-0.008073140867054462,
0.019421327859163284,
0.008396663703024387,
-0.004506922792643309,
0.0033173540141433477,
0.022576920688152313,
-0.03581647202372551,
-0.046109478920698166,
-0.06430639326572418,
0.03360656276345253,
-0.012194324284791946,
-0.04479547590017319,
0.06323130428791046,
0.03008265234529972,
-0.017201462760567665,
-0.03414410725235939,
0.008331959135830402,
-0.026041103526949883,
-0.027414832264184952,
-0.016355326399207115,
-0.004929990973323584,
0.012711960822343826,
0.03482101857662201,
0.015758054330945015,
-0.03151610866189003,
-0.07505731284618378,
-0.10161605477333069,
-0.0020954329520463943,
0.048379115760326385,
-0.03372601792216301,
-0.010521959513425827,
-0.023233920335769653,
0.03890238329768181,
-0.008257299661636353,
0.03663274645805359,
0.03559747338294983,
0.021322647109627724,
0.013209688477218151,
-0.009670846164226532,
0.046189114451408386,
0.003287490224465728,
-0.03135683387517929,
-0.002105387393385172,
0.050927478820085526,
0.045910388231277466,
-0.054351843893527985,
-0.02952519617974758,
0.014673007652163506,
-0.021900011226534843,
-0.04256565868854523
] |
719,645
|
ibm_platform_services.iam_access_groups_v2
|
list_assignments
|
List assignments.
List template assignments from an enterprise account.
:param str account_id: Enterprise account ID.
:param str template_id: (optional) Filter results by Template Id.
:param str template_version: (optional) Filter results by Template Version.
:param str target: (optional) Filter results by the assignment target.
:param str status: (optional) Filter results by the assignment status.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
: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 representing a `ListTemplateAssignmentResponse` object
|
def list_assignments(
self,
account_id: str,
*,
template_id: str = None,
template_version: str = None,
target: str = None,
status: str = None,
transaction_id: str = None,
limit: int = None,
offset: int = None,
**kwargs,
) -> DetailedResponse:
"""
List assignments.
List template assignments from an enterprise account.
:param str account_id: Enterprise account ID.
:param str template_id: (optional) Filter results by Template Id.
:param str template_version: (optional) Filter results by Template Version.
:param str target: (optional) Filter results by the assignment target.
:param str status: (optional) Filter results by the assignment status.
:param str transaction_id: (optional) An optional transaction id for the
request.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
: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 representing a `ListTemplateAssignmentResponse` object
"""
if not account_id:
raise ValueError('account_id must be provided')
headers = {
'Transaction-Id': transaction_id,
}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='list_assignments',
)
headers.update(sdk_headers)
params = {
'account_id': account_id,
'template_id': template_id,
'template_version': template_version,
'target': target,
'status': status,
'limit': limit,
'offset': offset,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
url = '/v1/group_assignments'
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, account_id: str, *, template_id: Optional[str] = None, template_version: Optional[str] = None, target: Optional[str] = None, status: Optional[str] = None, transaction_id: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.03405033051967621,
-0.013634714297950268,
-0.06427273154258728,
-0.04684654623270035,
-0.006325195077806711,
0.026449158787727356,
-0.03765951842069626,
-0.058403242379426956,
-0.04032083973288536,
-0.00803409144282341,
0.0157309602946043,
-0.06733507663011551,
0.0018444687593728304,
-0.011173903942108154,
-0.011620495468378067,
-0.013197236694395542,
0.052861861884593964,
0.00806599110364914,
0.017635811120271683,
-0.02907402254641056,
0.02289465442299843,
-0.016469202935695648,
0.023915434256196022,
0.06678822636604309,
-0.022056154906749725,
-0.07947507500648499,
0.02519141137599945,
-0.0377688892185688,
0.006265953183174133,
0.031206725165247917,
-0.014619038440287113,
0.03326651453971863,
0.020087506622076035,
0.067407988011837,
-0.027305884286761284,
-0.012440765276551247,
-0.01636894792318344,
0.030113032087683678,
-0.06449147313833237,
-0.020051050931215286,
-0.016560344025492668,
0.014117762446403503,
0.03798762708902359,
-0.02422531507909298,
0.023714924231171608,
0.015174999833106995,
0.01943129114806652,
-0.10579663515090942,
0.043310269713401794,
-0.04017501324415207,
0.011110104620456696,
0.017635811120271683,
-0.05924173817038536,
-0.021655134856700897,
-0.03217282146215439,
0.05399201065301895,
0.008731321431696415,
-0.007273063063621521,
0.02149108052253723,
-0.08129789680242538,
0.009341966360807419,
-0.007213821168988943,
-0.040612492710351944,
-0.04112287983298302,
-0.04790378361940384,
0.0004087110282853246,
-0.02650384232401848,
-0.0170980766415596,
-0.03813345357775688,
0.009073100052773952,
-0.005468468181788921,
0.019139638170599937,
-0.015038288198411465,
-0.048705823719501495,
0.011757207103073597,
0.01955888792872429,
0.002362834056839347,
0.018301140516996384,
-0.029019339010119438,
-0.04768504202365875,
-0.06161141023039818,
-0.0166788287460804,
0.033029548823833466,
0.005527710076421499,
0.03543567284941673,
-0.02856363356113434,
-0.035490360110998154,
-0.04123225063085556,
0.01728036068379879,
0.0007792567485012114,
0.04695591330528259,
0.017116306349635124,
-0.03295663744211197,
-0.015184113755822182,
0.01183923427015543,
0.014145104214549065,
0.003928183112293482,
-0.03820636495947838,
-0.05847615376114845,
0.025209639221429825,
-0.05078384280204773,
-0.08669345080852509,
-0.015439309179782867,
0.006106456276029348,
-0.006334309000521898,
-0.06226762384176254,
-0.02592054009437561,
0.03614657372236252,
0.022566545754671097,
0.022019699215888977,
-0.00717736454680562,
0.06142912805080414,
0.0067991288378834724,
-0.012276710942387581,
0.03496174141764641,
0.03182648494839668,
-0.020670810714364052,
-0.016961365938186646,
-0.027542851865291595,
-0.06310612708330154,
0.04939849674701691,
-0.010235149413347244,
0.02623041905462742,
0.04586222022771835,
-0.019595345482230186,
-0.010198693722486496,
-0.06121039018034935,
-0.017745180055499077,
0.025082040578126907,
-0.05763765424489975,
-0.03857092931866646,
-0.010289834812283516,
-0.021199429407715797,
0.00853536743670702,
0.06872041523456573,
0.0031193054746836424,
-0.056471049785614014,
0.03678456321358681,
0.001365977805107832,
-0.026394473388791084,
0.03621948882937431,
0.0031853828113526106,
0.03474300354719162,
0.018866214901208878,
-0.024170629680156708,
-0.06562162190675735,
0.05545026808977127,
0.07714185863733292,
-0.011474668979644775,
0.035216934978961945,
-0.015849443152546883,
-0.053919099271297455,
-0.00036456456291489303,
-0.025446604937314987,
-0.041669730097055435,
0.0503828227519989,
0.04739339277148247,
0.027214743196964264,
0.04425813630223274,
-0.03076924756169319,
-0.02079840749502182,
-0.017170989885926247,
0.0036821020767092705,
0.058257415890693665,
0.043857116252183914,
-0.050893209874629974,
-0.0341961532831192,
-0.05187753587961197,
-0.005860375240445137,
-0.07426179945468903,
-0.006876599043607712,
0.010499458760023117,
-0.00841232668608427,
-0.055741921067237854,
-0.021418167278170586,
-0.005427454598248005,
0.048742279410362244,
-0.0016883895732462406,
0.007610285189002752,
0.011830119416117668,
-0.02943858690559864,
-0.05348161980509758,
0.003429185366258025,
0.016806425526738167,
0.0015573742566630244,
0.00026231558877043426,
-0.007350532803684473,
0.09558882564306259,
-0.0757565125823021,
-0.016332492232322693,
0.0014423085376620293,
-0.06780900806188583,
-0.01592235639691353,
0.052132729440927505,
-0.022384263575077057,
-0.05198690667748451,
-0.001081731403246522,
-0.01882975921034813,
0.0019401669269427657,
0.035490360110998154,
-0.020652582868933678,
-0.04462270066142082,
0.017626695334911346,
0.04108642414212227,
0.04542474448680878,
0.04903393238782883,
0.03864384442567825,
-0.0655851662158966,
0.014117762446403503,
-0.018091516569256783,
-0.018237341195344925,
0.027870960533618927,
-0.021144744008779526,
0.015785645693540573,
-0.03519870713353157,
0.0648924931883812,
0.058439698070287704,
-0.03583669662475586,
0.021837417036294937,
-0.03835219144821167,
-0.05712726712226868,
-0.04717465490102768,
-0.018957355991005898,
-0.0459715910255909,
0.01924900896847248,
-0.03656582534313202,
-0.013033182360231876,
0.010645285248756409,
-0.053044144064188004,
0.03173534572124481,
0.06959537416696548,
-0.04629969969391823,
0.018437853083014488,
0.002549673430621624,
0.004550221376121044,
-0.03765951842069626,
-0.020780179649591446,
-0.04411230981349945,
-0.01906672678887844,
0.05709080770611763,
-0.011128333397209644,
0.07838138192892075,
0.0450601801276207,
0.01965002901852131,
-0.0395917110145092,
-0.032664984464645386,
-0.0395917110145092,
0.05224210023880005,
0.02865477465093136,
-0.044039398431777954,
0.013698512688279152,
-0.04352900758385658,
-0.04538828507065773,
0.003709444310516119,
-0.067407988011837,
0.0025610660668462515,
-0.0015174999134615064,
0.0029506944119930267,
0.007204706780612469,
-0.0009991347324103117,
-0.018902672454714775,
0.006325195077806711,
-0.06099164858460426,
-0.038096994161605835,
0.04622678458690643,
-0.014163332991302013,
-0.0468100868165493,
0.03543567284941673,
0.010317176580429077,
0.04702882841229439,
0.019504204392433167,
0.020652582868933678,
0.04250822588801384,
0.016259578987956047,
-0.011301500722765923,
0.04352900758385658,
0.08224575966596603,
0.005363656207919121,
-0.036365315318107605,
0.005140359979122877,
0.025428377091884613,
-0.01380788255482912,
0.014454984106123447,
0.023332132026553154,
0.07458990812301636,
0.004199327901005745,
-0.02756107971072197,
0.03820636495947838,
0.02701423317193985,
-0.0012930649099871516,
0.004142364952713251,
0.049799516797065735,
0.029037566855549812,
-0.03683924674987793,
0.008685750886797905,
-0.0027934759855270386,
0.019303692504763603,
-0.027087146416306496,
0.007870037108659744,
0.035909608006477356,
0.04228948801755905,
-0.010781996883451939,
0.005851260852068663,
-0.028727686032652855,
-0.04480498284101486,
-0.0355997271835804,
0.021235885098576546,
0.051221318542957306,
0.04174264147877693,
-0.010891365818679333,
0.01330660656094551,
0.0033676649909466505,
0.01737150177359581,
0.03180825710296631,
0.015293482691049576,
-0.05617939680814743,
0.013725855387747288,
0.005140359979122877,
0.02852717600762844,
-0.016387175768613815,
-0.05891363322734833,
0.05457531288266182,
0.03556327149271965,
-0.024444052949547768,
0.0611739307641983,
0.00797485001385212,
0.025173181667923927,
0.05457531288266182,
0.036912161856889725,
0.03341234102845192,
-0.04462270066142082,
-0.02610282227396965,
-0.033211831003427505,
-0.04396648332476616,
-0.014701065607368946,
-0.07772516459226608,
-0.018419623374938965,
0.03297486528754234,
0.03355816751718521,
-0.0067991288378834724,
-0.014947147108614445,
-0.034032102674245834,
0.04086768627166748,
-0.0021099173463881016,
0.047794412821531296,
0.021691590547561646,
0.011866576038300991,
0.021454624831676483,
-0.04261759668588638,
-0.04885165020823479,
-0.05242438241839409,
0.05869489163160324,
0.05289831757545471,
0.038789667189121246,
-0.009797672741115093,
-0.018993813544511795,
0.0341961532831192,
0.00043776226812042296,
-0.01412687636911869,
0.004367939196527004,
-0.07531903684139252,
0.007286733947694302,
-0.00644367840141058,
-0.016514774411916733,
0.00731407618150115,
-0.009378422982990742,
-0.03443312272429466,
-0.05756474286317825,
0.023204533383250237,
-0.018775073811411858,
-0.04567993804812431,
-0.0355268158018589,
-0.03441489487886429,
0.02267591468989849,
-0.03919069096446037,
-0.011146561242640018,
-0.08384984731674194,
0.02367846854031086,
-0.005915059708058834,
-0.024115944281220436,
0.048377715051174164,
-0.042581140995025635,
0.025446604937314987,
0.00504010496661067,
-0.03228219226002693,
-0.06015315279364586,
0.05541381239891052,
-0.017900120466947556,
-0.016414519399404526,
0.054830510169267654,
0.048341259360313416,
-0.014710179530084133,
-0.0238607507199049,
-0.02816261164844036,
-0.010380975902080536,
-0.00658039003610611,
-0.06715279072523117,
-0.0032605743035674095,
0.02112651616334915,
-0.0067535582929849625,
0.0197958555072546,
0.07539194822311401,
0.05144006013870239,
-0.02632156014442444,
0.014254474081099033,
-0.0162231232970953,
0.1025155559182167,
-0.05020054057240486,
0.005322642624378204,
0.018182657659053802,
0.015785645693540573,
0.02458987943828106,
-0.023569097742438316,
-0.03304777666926384,
-0.012559249065816402,
0.06321549415588379,
-0.04732047766447067,
0.021290570497512817,
0.01873861812055111,
-0.037914711982011795,
0.017818093299865723,
-0.040612492710351944,
0.07356912642717361,
0.0002271408011438325,
0.0024266329128295183,
-0.047976695001125336,
-0.012240255251526833,
-0.0008299539913423359,
-0.008325742557644844,
-0.06974119693040848,
-0.007541929371654987,
0.004971749149262905,
0.038789667189121246,
-0.0050355480052530766,
0.02482684515416622,
0.03359462320804596,
0.022293122485280037,
0.03904486447572708,
0.0006613428704440594,
-0.009341966360807419,
0.03483414277434349,
0.029292762279510498,
0.039518795907497406,
-0.022329578176140785,
0.0005935566732659936,
0.017745180055499077,
-0.067407988011837,
-0.05566900596022606,
-0.04046666622161865,
0.024079488590359688,
0.016687942668795586,
0.06325194984674454,
0.06128330156207085,
0.03240978717803955,
-0.035362761467695236,
-0.044403962790966034,
0.01252279244363308,
0.007200149819254875,
0.006466463673859835,
-0.034487806260585785,
0.008740435354411602,
-0.06288738548755646,
0.06554870307445526,
0.03199053928256035,
0.011629609391093254,
-0.036183033138513565,
-0.003568175481632352,
0.010007296688854694,
-0.006940397899597883,
-0.0337039940059185,
-0.008175360038876534,
0.026212191209197044,
-0.05144006013870239,
0.0710536316037178,
-0.045133091509342194,
0.018109744414687157,
0.05468468368053436,
0.013215465471148491,
0.023350359871983528,
0.006325195077806711,
0.004880608059465885,
0.019413063302636147,
0.025428377091884613,
0.007961178198456764,
-0.03199053928256035,
-0.04735693708062172,
0.03341234102845192,
-0.011556696146726608,
-0.10295303165912628,
0.0004559905210044235,
-0.020761951804161072,
-0.045825764536857605,
0.0005291882553137839,
0.011620495468378067,
-0.07852720469236374,
-0.050492189824581146,
0.00894550234079361,
0.015986155718564987,
0.00852169655263424,
-0.02198324166238308,
0.07189212739467621,
-0.024279998615384102,
0.07418888807296753,
-0.022839969024062157,
0.06868395954370499,
0.012759759090840816,
0.03353993967175484,
0.00711812311783433,
0.0011198967695236206,
0.01591324247419834,
0.012513678520917892,
0.042763423174619675,
0.01739884354174137,
0.0009057150455191731,
0.01789100468158722,
0.11133801192045212,
-0.016359834000468254,
-0.012623047456145287,
0.03308423236012459,
-0.012604819610714912,
0.0014366122195497155,
0.01329749170690775,
-0.011547582224011421,
0.031206725165247917,
0.012878242880105972,
0.007564714644104242,
-0.0039213476702570915,
0.0060791140422225,
-0.050856754183769226,
0.050127625465393066,
-0.006320638116449118,
-0.01252279244363308,
0.010380975902080536,
-0.06726215779781342,
-0.0522056445479393,
0.05144006013870239,
-0.03543567284941673,
0.0008276754524558783,
-0.01961357332766056,
0.05337224900722504,
-0.002654485637322068,
0.03477945923805237,
-0.015366395935416222,
-0.07940215617418289,
-0.035490360110998154,
-0.019759397953748703,
-0.029402131214737892,
0.020761951804161072,
0.0012429372873157263,
-0.011948603205382824,
0.0791105106472969,
-0.055012792348861694,
-0.009970840066671371,
0.019905224442481995,
-0.046700719743967056,
0.044002942740917206,
0.0020415615290403366,
-0.009387536905705929,
-0.0058649322018027306,
0.006042657420039177,
-0.0003944702330045402,
-0.015940584242343903,
-0.03186294063925743,
0.015375509858131409,
0.01748998463153839,
0.04757567495107651,
0.043674834072589874,
0.03127963840961456,
-0.023824293166399002,
-0.018064172938466072,
-0.03040468320250511,
-0.029456816613674164,
0.011155675165355206,
-0.021873872727155685,
-0.0031101913191378117,
-0.013634714297950268,
0.03570909798145294,
-0.028600089251995087,
0.06270509958267212,
0.025446604937314987,
0.0360189788043499,
-0.03346702456474304,
0.08326654136180878,
-0.03694861754775047,
-0.006749001331627369,
0.07466281950473785,
-0.0066396319307386875,
-0.02816261164844036,
0.035946063697338104,
0.03660228103399277,
-0.03067810647189617,
0.02449873834848404,
0.0026886635459959507,
0.002307010116055608,
-0.001388763077557087,
0.051075492054224014,
-0.04604450240731239,
-0.006480135023593903,
-0.02313162013888359,
-0.07364203780889511,
0.024152401834726334,
0.054283663630485535,
-0.03944588452577591,
0.05056510493159294,
0.05730954930186272,
-0.06142912805080414,
0.046554893255233765,
0.006835585460066795,
-0.0031170269940048456,
0.020452070981264114,
0.0019880160689353943,
-0.044950809329748154,
0.029948977753520012,
-0.10207807272672653,
0.03973753750324249,
-0.015001831576228142,
-0.007213821168988943,
0.08895374834537506,
-0.03344879671931267,
0.011438213288784027,
0.02916516363620758,
0.07090780884027481,
-0.021746275946497917,
0.06554870307445526,
-0.0188844446092844,
0.07364203780889511,
0.013142552226781845,
-0.023022251203656197,
-0.03363107889890671,
0.025082040578126907,
-0.03474300354719162,
0.03323005884885788,
-0.0513671450316906,
0.07258480042219162,
0.03262852877378464,
-0.011811891570687294,
0.06992348283529282,
-0.021545765921473503,
0.07054324448108673,
-0.029128707945346832,
-0.010818453505635262,
-0.027688678354024887,
0.02367846854031086,
0.0395917110145092,
0.006420893128961325,
0.08749549090862274,
-0.012349624186754227,
-0.006193040404468775,
-0.013634714297950268,
0.04863291233778,
-0.034269068390131,
0.008120675571262836,
-0.002618029247969389,
-0.02019687555730343,
-0.10229681432247162,
0.07808972895145416,
-0.047101739794015884,
0.003173990175127983,
-0.009879698976874352,
0.01561247743666172,
-0.04374774545431137,
0.021691590547561646,
0.011738978326320648,
0.0007257112883962691,
0.05184108018875122,
0.02243894897401333,
-0.0603354349732399,
0.00309196300804615,
-0.0066168466582894325,
0.07808972895145416,
0.04877873882651329,
-0.014473212882876396,
0.02510027028620243,
0.03397741541266441,
-0.008813347667455673,
0.0094422223046422,
0.009515134617686272,
-0.04247177019715309,
0.0012725581182166934,
0.020178647711873055,
0.04502372071146965,
-0.04320089891552925,
0.010745540261268616,
0.0012133164564147592,
-0.016113752499222755,
-0.040430210530757904,
-0.015986155718564987,
-0.04396648332476616,
0.000728559447452426,
0.0026818281039595604,
0.014773978851735592,
0.021090058609843254,
-0.044039398431777954,
0.012376966886222363,
-0.0009256521589122713,
-0.014865119941532612,
-0.017198333516716957,
-0.02185564488172531,
0.012003287672996521,
0.0030122145544737577,
-0.02495444379746914,
-0.05362744629383087,
0.0173441581428051,
0.037367865443229675,
0.0021782731637358665,
0.015229684300720692,
-0.0032924737315624952,
-0.008959174156188965,
-0.02243894897401333,
-0.047247566282749176,
0.01412687636911869,
0.05380972847342491,
0.027141831815242767,
0.001656490145251155,
-0.008220930583775043,
0.02216552570462227,
-0.012085314840078354,
-0.011456441134214401,
-0.005304414313286543,
0.050127625465393066,
-0.0015676275361329317,
0.026430930942296982,
-0.007756110746413469,
-0.041487447917461395,
0.029511500149965286,
-0.015111200511455536,
-0.03259206935763359,
0.02592054009437561,
0.013151666149497032,
0.032664984464645386,
0.04075831547379494,
0.03436020761728287,
-0.03973753750324249,
-0.041706185787916183,
0.0008618533611297607,
-0.010380975902080536,
-0.008959174156188965,
0.03226396441459656,
0.0016371227102354169,
0.0603354349732399,
0.010116666555404663,
0.0029666440095752478,
-0.01481043454259634,
-0.02816261164844036,
-0.07364203780889511,
0.005021876655519009,
0.010408317670226097,
0.02225666679441929,
0.01588590070605278,
-0.019686486572027206,
0.027907416224479675,
0.031243182718753815,
0.01965002901852131,
-0.017954804003238678,
0.019048497080802917,
-0.030550509691238403,
0.023550869897007942,
-0.0014297766610980034,
-0.023733152076601982,
0.015266140922904015,
-0.013333948329091072,
0.0337039940059185,
0.02500912919640541,
0.007965735159814358,
-0.09223483502864838,
-0.019631801173090935,
0.06649657338857651,
0.003916790243238211
] |
719,646
|
ibm_platform_services.iam_access_groups_v2
|
list_template_versions
|
List template versions.
List all the versions of an access group template.
:param str template_id: ID of the template that you want to list all
versions of.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
: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 representing a `ListTemplateVersionsResponse` object
|
def list_template_versions(
self,
template_id: str,
*,
limit: int = None,
offset: int = None,
**kwargs,
) -> DetailedResponse:
"""
List template versions.
List all the versions of an access group template.
:param str template_id: ID of the template that you want to list all
versions of.
:param int limit: (optional) Return up to this limit of results where limit
is between 0 and 100.
:param int offset: (optional) The offset of the first result item to be
returned.
: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 representing a `ListTemplateVersionsResponse` object
"""
if not template_id:
raise ValueError('template_id must be provided')
headers = {}
sdk_headers = get_sdk_headers(
service_name=self.DEFAULT_SERVICE_NAME,
service_version='V2',
operation_id='list_template_versions',
)
headers.update(sdk_headers)
params = {
'limit': limit,
'offset': offset,
}
if 'headers' in kwargs:
headers.update(kwargs.get('headers'))
del kwargs['headers']
headers['Accept'] = 'application/json'
path_param_keys = ['template_id']
path_param_values = self.encode_path_vars(template_id)
path_param_dict = dict(zip(path_param_keys, path_param_values))
url = '/v1/group_templates/{template_id}/versions'.format(**path_param_dict)
request = self.prepare_request(
method='GET',
url=url,
headers=headers,
params=params,
)
response = self.send(request, **kwargs)
return response
|
(self, template_id: str, *, limit: Optional[int] = None, offset: Optional[int] = None, **kwargs) -> ibm_cloud_sdk_core.detailed_response.DetailedResponse
|
[
0.04551012068986893,
-0.04683184251189232,
-0.010082599706947803,
-0.03536500781774521,
-0.04425984248518944,
0.029345812276005745,
-0.0605134554207325,
0.012520641088485718,
-0.04208078607916832,
0.006488049868494272,
0.014110280200839043,
-0.03581153601408005,
-0.044188398867845535,
-0.06412140280008316,
-0.03434692323207855,
0.013592308387160301,
0.01763785071671009,
0.005197584163397551,
0.042866677045822144,
0.020040171220898628,
0.027666866779327393,
-0.012172349728643894,
-0.018200475722551346,
0.022719338536262512,
0.05361906811594963,
-0.018450532108545303,
-0.0006536051514558494,
-0.02964945137500763,
0.05001112073659897,
-0.0009248708374798298,
-0.05937034636735916,
0.015798155218362808,
0.028149116784334183,
0.06433573365211487,
-0.06462151557207108,
-0.052475955337285995,
0.04079478606581688,
-0.022630032151937485,
-0.06176373362541199,
0.07437368482351303,
0.032328616827726364,
0.022755060344934464,
0.039044395089149475,
-0.009287779219448566,
0.042902398854494095,
-0.011082821525633335,
-0.015753503888845444,
-0.07058712840080261,
-0.01347621064633131,
-0.008274161256849766,
0.01397632248699665,
-0.006599681917577982,
-0.020325949415564537,
-0.05651256814599037,
-0.013252947479486465,
0.05158289894461632,
0.0270774494856596,
-0.0044362545013427734,
-0.008341141045093536,
-0.018262989819049835,
-0.0027193548157811165,
0.008805529214441776,
-0.048296455293893814,
0.009618210606276989,
-0.055333733558654785,
-0.002625583903864026,
-0.02007589302957058,
0.010645224712789059,
-0.06808657199144363,
0.0014132607029750943,
-0.044831398874521255,
0.05808434635400772,
0.034221895039081573,
-0.05272601172327995,
-0.0010990167502313852,
0.022505003958940506,
0.0018553233239799738,
-0.022308532148599625,
-0.058155789971351624,
-0.04179500788450241,
-0.041294898837804794,
-0.049582455307245255,
0.023344477638602257,
0.040973398834466934,
0.049582455307245255,
-0.0019691879861056805,
0.02518417127430439,
-0.0621209554374218,
0.06054917722940445,
0.05865589901804924,
-0.029077894985675812,
-0.020504560321569443,
-0.050261177122592926,
0.00466621620580554,
-0.0005107162287458777,
0.00324849016033113,
0.022790782153606415,
-0.023880310356616974,
-0.03627592325210571,
0.02136189304292202,
-0.017843253910541534,
-0.1150255799293518,
0.02521989494562149,
0.0030497852712869644,
-0.0002927548484876752,
-0.07055140286684036,
-0.058834511786699295,
0.019075671210885048,
0.011270363815128803,
0.02164767123758793,
0.028774255886673927,
0.00943066831678152,
0.021379753947257996,
0.023058699443936348,
0.05347617715597153,
0.016914475709199905,
-0.009296710602939129,
-0.024273255839943886,
0.00016563393000978976,
-0.05301178991794586,
0.03854428604245186,
-0.02807767316699028,
0.025898616760969162,
0.030721116811037064,
-0.03225717321038246,
0.016110725700855255,
-0.009091307409107685,
0.016646558418869972,
0.014396058395504951,
-0.0006240226794034243,
-0.04443845525383949,
-0.0022371045779436827,
-0.03315022960305214,
0.022415699437260628,
0.0034963132347911596,
-0.015824947506189346,
-0.01645008660852909,
0.0026702366303652525,
0.01830764301121235,
0.001220137346535921,
-0.022630032151937485,
0.008448307402431965,
0.01285107247531414,
0.021701253950595856,
-0.03488275781273842,
-0.040973398834466934,
0.09009145945310593,
0.035347145050764084,
0.02595219947397709,
0.00006764199497411028,
-0.013101127929985523,
-0.010823835618793964,
0.025737866759300232,
-0.04490284249186516,
-0.0247019212692976,
-0.0012837676331400871,
0.023076560348272324,
-0.05451212078332901,
0.03854428604245186,
-0.015333767049014568,
-0.008452772162854671,
-0.0077293976210057735,
0.01333332248032093,
0.010332655161619186,
0.03061395138502121,
-0.015432002954185009,
-0.007590973749756813,
-0.037436895072460175,
-0.04761773347854614,
-0.007774050347507,
0.0011185522889718413,
0.0732305720448494,
-0.0034226360730826855,
-0.022880088537931442,
0.018102239817380905,
0.02682739496231079,
0.05697695538401604,
0.022344253957271576,
-0.010975655168294907,
-0.014422849752008915,
-0.033650338649749756,
-0.042616620659828186,
-0.051189955323934555,
0.05029689893126488,
-0.034543395042419434,
0.007765119429677725,
0.0037151118740439415,
0.08409012854099274,
-0.06890817731618881,
0.00569323031231761,
-0.025434227660298347,
-0.06933684647083282,
0.03993745148181915,
0.0327751450240612,
-0.06419284641742706,
-0.024809088557958603,
-0.02087964303791523,
-0.04815356433391571,
-0.002864476293325424,
0.01186871062964201,
-0.008501891046762466,
-0.04561728611588478,
0.013279738835990429,
-0.02666664496064186,
0.06497873365879059,
0.04022322967648506,
0.019039947539567947,
-0.07062284648418427,
-0.029256505891680717,
-0.023273032158613205,
-0.008783203549683094,
0.024684060364961624,
-0.009260987862944603,
0.03288231045007706,
-0.052440233528614044,
0.03504350781440735,
0.04872512072324753,
-0.0062156678177416325,
-0.014288892038166523,
-0.03825850784778595,
0.003996424376964569,
-0.015726711601018906,
-0.0413663424551487,
0.0035766882356256247,
-0.04047328606247902,
0.0279526449739933,
0.02807767316699028,
0.053761955350637436,
-0.03722256422042847,
-0.03334670141339302,
0.06922967731952667,
-0.031721338629722595,
0.08444735407829285,
0.0013998649083077908,
-0.06962262839078903,
-0.06915823370218277,
0.021772699430584908,
0.00021963589824736118,
0.047367677092552185,
0.02964945137500763,
0.013190433382987976,
0.04565300792455673,
0.07558824121952057,
0.04854651167988777,
-0.02171911485493183,
0.003938375972211361,
-0.0923062413930893,
-0.027702588587999344,
0.054976511746644974,
-0.04751056432723999,
-0.017843253910541534,
-0.05140428990125656,
0.004063403699547052,
-0.013270808383822441,
-0.003456125734373927,
-0.05047551169991493,
0.00949318241328001,
-0.000045629567466676235,
0.03366820141673088,
-0.016396503895521164,
-0.043259620666503906,
0.021736975759267807,
-0.11974091082811356,
-0.058477289974689484,
-0.01959364302456379,
-0.0024782295804470778,
-0.013708405196666718,
0.02695242129266262,
-0.010707737877964973,
0.07215890288352966,
0.009796821512281895,
0.02036167122423649,
-0.016923407092690468,
0.006099570542573929,
-0.04504572972655296,
0.020343810319900513,
0.029899505898356438,
-0.03064967319369316,
-0.040330398827791214,
-0.02413036674261093,
-0.012770697474479675,
-0.03620447963476181,
-0.015583822503685951,
0.050261177122592926,
0.06458579003810883,
0.020183060318231583,
-0.03768695145845413,
0.037472620606422424,
-0.00001969257755263243,
0.006921181920915842,
0.044795677065849304,
0.004751056432723999,
0.008680501952767372,
-0.03979456424713135,
-0.10173691064119339,
-0.03649025782942772,
-0.03327525779604912,
-0.03064967319369316,
0.04693900793790817,
0.015914253890514374,
-0.008064293302595615,
-0.018968503922224045,
0.043259620666503906,
0.003083274932578206,
-0.011377530172467232,
-0.03363247960805893,
0.05654828995466232,
-0.004161639604717493,
0.053118955343961716,
-0.027613284066319466,
0.0019859327003359795,
0.0199508648365736,
-0.006434466689825058,
-0.07937479764223099,
-0.018012933433055878,
0.017843253910541534,
0.009421737864613533,
-0.015753503888845444,
-0.0073632444255054,
0.019450753927230835,
-0.06176373362541199,
0.06751501560211182,
0.017968282103538513,
0.01564633660018444,
0.07951768487691879,
0.0030743444804102182,
0.03379322960972786,
0.0033467262983322144,
0.028256284072995186,
0.026738088577985764,
0.020450975745916367,
-0.02245142124593258,
0.029417255893349648,
0.030399616807699203,
0.021344032138586044,
-0.010430891066789627,
0.008108946494758129,
-0.044152677059173584,
-0.029274366796016693,
0.017709296196699142,
0.031757060438394547,
-0.05679834634065628,
0.011154266074299812,
-0.01365482248365879,
-0.011859780177474022,
0.05065412074327469,
0.06626473367214203,
0.014315683394670486,
-0.02332661673426628,
-0.012261655181646347,
-0.029899505898356438,
0.012431335635483265,
0.020576003938913345,
0.03350745141506195,
0.004255410749465227,
-0.03000667318701744,
0.03559720143675804,
0.0009070097585208714,
0.00509934825822711,
0.02832772769033909,
-0.07123012840747833,
0.024237532168626785,
-0.0327751450240612,
-0.026720227673649788,
0.042616620659828186,
-0.061406511813402176,
0.009243126958608627,
-0.04011606425046921,
-0.016494739800691605,
0.014226377941668034,
-0.049939677119255066,
-0.01628933660686016,
0.009511043317615986,
-0.009305641055107117,
0.013395835645496845,
-0.0716230720281601,
-0.06630045920610428,
0.010243349708616734,
-0.011922294273972511,
-0.004661750979721546,
0.020576003938913345,
-0.0445813424885273,
0.06315690279006958,
-0.02679167129099369,
-0.023112282156944275,
-0.016691211611032486,
0.030756840482354164,
0.02361239306628704,
0.01898636482656002,
0.02132617123425007,
0.04622456431388855,
-0.00923419650644064,
-0.0021902192384004593,
-0.0026724692434072495,
0.026077227666974068,
-0.00393614312633872,
-0.01837908662855625,
0.0017715992871671915,
0.05611962080001831,
-0.024469727650284767,
0.03222145140171051,
0.08737657219171524,
-0.023273032158613205,
0.014288892038166523,
0.013529794290661812,
-0.043152451515197754,
0.07594545930624008,
-0.06658623367547989,
-0.03463270142674446,
-0.04058045148849487,
0.0030453200452029705,
-0.04443845525383949,
-0.0430452860891819,
-0.0415092296898365,
0.029381534084677696,
0.10230846703052521,
-0.0668720155954361,
0.1116676926612854,
-0.012788558378815651,
-0.010850626975297928,
0.03979456424713135,
0.006563959643244743,
0.07487379014492035,
-0.0015583822969347239,
-0.017521753907203674,
-0.026005782186985016,
-0.03772267326712608,
-0.028702812269330025,
-0.06187090277671814,
-0.023701699450612068,
0.03850856423377991,
-0.002734983107075095,
0.0036392020992934704,
-0.0023152469657361507,
0.04508145526051521,
0.010216557420790195,
0.011457905173301697,
0.03754406422376633,
-0.028309866786003113,
0.005170792806893587,
0.055941011756658554,
0.02454117126762867,
0.04526006430387497,
-0.027702588587999344,
-0.005608390085399151,
0.011341807432472706,
-0.017298489809036255,
-0.05540517717599869,
0.01574457250535488,
-0.03536500781774521,
-0.017852183431386948,
0.018450532108545303,
0.030828284099698067,
0.011797266080975533,
-0.03089972771704197,
-0.025077005848288536,
-0.012538502924144268,
0.02920292317867279,
-0.030560366809368134,
-0.062335290014743805,
-0.004800174385309219,
0.0025005561765283346,
0.020254503935575485,
0.00214779912494123,
-0.011511488817632198,
-0.0606563463807106,
0.008921626955270767,
-0.012368821538984776,
-0.0031524868682026863,
-0.012199141085147858,
0.005242237355560064,
-0.014306752942502499,
-0.02839917317032814,
0.07408790290355682,
0.04454562067985535,
0.06769362837076187,
0.014163863845169544,
-0.04343822970986366,
-0.031721338629722595,
0.025291338562965393,
-0.0029627124313265085,
-0.02413036674261093,
0.02316586673259735,
0.01628933660686016,
-0.0447242297232151,
-0.06469295918941498,
0.017003782093524933,
0.008827855810523033,
-0.06158512458205223,
-0.06329979002475739,
0.00018475091201253235,
0.025434227660298347,
-0.01737886480987072,
0.019361447542905807,
0.012940377928316593,
0.01959364302456379,
-0.056941233575344086,
0.011457905173301697,
0.027184616774320602,
-0.005157396662980318,
0.04454562067985535,
0.007675813976675272,
0.027023866772651672,
-0.012217002920806408,
0.03206070140004158,
0.04722478613257408,
0.08051790297031403,
-0.02675594948232174,
0.02116542123258114,
-0.018137961626052856,
-0.02647017128765583,
0.04761773347854614,
-0.012502780184149742,
0.05451212078332901,
-0.01084169652312994,
0.07873179018497467,
-0.06737212836742401,
0.033811088651418686,
0.003534268122166395,
0.02964945137500763,
0.01818261481821537,
0.03854428604245186,
-0.021219003945589066,
-0.034900616854429245,
0.023308753967285156,
-0.007492737844586372,
-0.05061839893460274,
-0.02171911485493183,
0.030864005908370018,
0.07098007202148438,
-0.009636071510612965,
0.0012145558139309287,
-0.0059700775891542435,
-0.05601245537400246,
-0.05672689899802208,
-0.06801512837409973,
-0.07580257207155228,
0.027488255873322487,
-0.022254949435591698,
0.007657953072339296,
-0.05454784631729126,
0.05011828616261482,
-0.041294898837804794,
-0.06244245544075966,
-0.006403209641575813,
0.019665086641907692,
-0.012342030182480812,
-0.006916716694831848,
-0.006831876467913389,
-0.02563069947063923,
0.0895199105143547,
-0.008510821498930454,
0.009993293322622776,
0.005688765086233616,
-0.07701712846755981,
0.08144668489694595,
-0.05233306810259819,
-0.025291338562965393,
0.0022884553764015436,
-0.021701253950595856,
0.010913141071796417,
0.04911806434392929,
0.021754838526248932,
-0.011618655174970627,
-0.006519306916743517,
0.06079923361539841,
0.02586289495229721,
0.02296939305961132,
-0.0011877641081809998,
0.01196694653481245,
0.005336008034646511,
-0.030363894999027252,
-0.021308310329914093,
-0.00933243241161108,
0.002489392878487706,
0.03420403599739075,
0.04911806434392929,
0.011038169264793396,
0.08073224127292633,
0.0030386222060769796,
0.030310312286019325,
-0.03729400783777237,
0.11574002355337143,
-0.034329064190387726,
0.012654599733650684,
0.08673357218503952,
0.03170347958803177,
0.025130588561296463,
0.03291803598403931,
0.058548733592033386,
-0.031596310436725616,
0.008108946494758129,
0.016646558418869972,
0.006947973743081093,
-0.04843934252858162,
0.0430452860891819,
-0.019290003925561905,
-0.0013451651902869344,
-0.013226155191659927,
-0.040616173297166824,
0.004137080628424883,
0.05547662079334259,
-0.013226155191659927,
0.005679834634065628,
-0.0036392020992934704,
-0.007515063975006342,
0.008957348763942719,
0.007265008520334959,
-0.002683632541447878,
0.036865342408418655,
0.03025672771036625,
-0.02402319945394993,
0.019093532115221024,
-0.05937034636735916,
0.044188398867845535,
0.06430001556873322,
-0.01214555837213993,
0.08737657219171524,
-0.005273493938148022,
-0.06890817731618881,
0.006867598742246628,
0.06937257200479507,
0.007233751472085714,
0.01882561482489109,
-0.02261217124760151,
0.06390707194805145,
0.023540949448943138,
0.019290003925561905,
-0.001061619957908988,
0.03697250783443451,
-0.009162751957774162,
0.013824502937495708,
-0.002652375493198633,
0.05111851170659065,
0.013404767028987408,
-0.010439821518957615,
0.033489588648080826,
-0.05194012075662613,
0.042580898851156235,
0.023237310349941254,
0.026416588574647903,
-0.025970060378313065,
0.018843475729227066,
0.06447862088680267,
-0.039687398821115494,
0.06301401555538177,
-0.002170125488191843,
0.009832543320953846,
0.046403177082538605,
0.017753947526216507,
-0.026452310383319855,
0.0294529777020216,
-0.03886578604578972,
-0.03732972964644432,
-0.09637857228517532,
0.011904433369636536,
-0.0057244873605668545,
0.023826727643609047,
-0.00471533415839076,
0.00693011237308383,
0.00466621620580554,
-0.029560144990682602,
0.02348736673593521,
-0.0477963425219059,
0.0002986155159305781,
-0.011359669268131256,
-0.004221920855343342,
-0.02807767316699028,
-0.009573557414114475,
0.03290017321705818,
0.04822501167654991,
0.029863784089684486,
-0.009841473773121834,
0.0415092296898365,
-0.022826503962278366,
0.010511266067624092,
-0.019861560314893723,
-0.013136849738657475,
-0.013431558385491371,
0.046760398894548416,
0.03563292324542999,
0.035829395055770874,
0.006822946015745401,
0.026613060384988785,
-0.054083455353975296,
-0.05426206812262535,
-0.02104039303958416,
0.032364338636398315,
0.020540282130241394,
0.003699483349919319,
-0.006778292823582888,
0.027220338582992554,
-0.023969616740942,
-0.03459697961807251,
-0.010270141065120697,
0.030864005908370018,
0.0053806607611477375,
0.011154266074299812,
-0.014172794297337532,
-0.007912473753094673,
0.001960257301107049,
-0.06129934638738632,
-0.036829616874456406,
0.07233751565217972,
-0.023969616740942,
0.001514845760539174,
-0.021772699430584908,
-0.03238220140337944,
0.0017961583798751235,
0.009698585607111454,
0.03150700777769089,
0.014762211591005325,
0.07187312841415405,
-0.009528905153274536,
0.005425313487648964,
0.027291784062981606,
-0.0029716428834944963,
0.04300956428050995,
0.04904662072658539,
0.0366867296397686,
0.005867375992238522,
0.010672016069293022,
-0.026220116764307022,
0.006086174864321947,
0.02595219947397709,
0.015056919306516647,
0.02171911485493183,
0.06497873365879059,
-0.05144001170992851,
-0.002545208903029561,
-0.007269473746418953,
0.005139535758644342,
-0.038115620613098145,
-0.10866702347993851,
0.028667088598012924,
-0.006590751465409994,
-0.04790350794792175,
0.011681169271469116,
0.010145112872123718,
0.030471062287688255,
0.006452327594161034,
-0.014288892038166523,
-0.03520425781607628,
-0.039401620626449585,
-0.04536722972989082,
0.030435340479016304,
0.05401201173663139,
-0.0007540739607065916,
0.026488034054636955,
-0.017816461622714996,
-0.003295375732704997,
0.009636071510612965,
-0.028667088598012924,
-0.053118955343961716,
-0.006653265096247196,
0.010154043324291706,
0.013136849738657475,
-0.026541616767644882,
-0.008702828548848629,
-0.010091530159115791,
-0.0034271012991666794,
-0.021629810333251953,
0.008131272159516811,
-0.024684060364961624,
-0.03327525779604912,
0.009734307415783405,
0.004188431426882744,
-0.008372397162020206
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.