€cdocutils.nodes
document
q)q}q(U	nametypesq}q(X   6.1 descriptionqNX   4.2 parametersqNX   4.1 descriptionqNX   4. list queuesq	NX   1. introductionq
NX   5. create queueqNX3   9. retrieve the queue metadata (fresh from the api)qNX   7.3 code sampleqNX   6.2 parametersqNX   7.1 descriptionqNX   4.3 code sampleqNX   5.3 code sampleqNX   5.1 descriptionqNX   2. setupqNX   5.2 parametersqNX   3. client idsqNX   6.3 code sampleqNX   10. get queue statsqNX   6. retrieve queueqNX   7.2 parametersqNX1   8. update queue metadata (permanently to the api)qNX   7. check queue existenceqNuUsubstitution_defsq}qUparse_messagesq]q(cdocutils.nodes
system_message
q )q!}q"(U	rawsourceq#U Uparentq$cdocutils.nodes
section
q%)q&}q'(h#U U
referencedq(Kh$h%)q)}q*(h#U h$hUsourceq+XH   /Users/jamie/projects/php/php-opencloud/doc/services/queues/Queue.md.rstq,Utagnameq-Usectionq.U
attributesq/}q0(Udupnamesq1]Uclassesq2]Ubackrefsq3]Uidsq4]q5U,update-queue-metadata-permanently-to-the-apiq6aUnamesq7]q8hauUlineq9KƒUdocumentq:hUchildrenq;]q<(cdocutils.nodes
title
q=)q>}q?(h#X1   8. Update queue metadata (permanently to the API)q@h$h)h+h,h-UtitleqAh/}qB(h1]h2]h3]h4]h7]uh9Kƒh:hh;]qCcdocutils.nodes
Text
qDX1   8. Update queue metadata (permanently to the API)qE…qF}qG(h#h@h$h>ubaubh&h%)qH}qI(h#U h(Kh$h)h+h,h-h.h/}qJ(h1]qKX   4.2 parametersqLah2]h3]h4]qMUid11qNah7]uh9KŽh:hh;]qO(h=)qP}qQ(h#X   4.2 ParametersqRh$hHh+h,h-hAh/}qS(h1]h2]h3]h4]h7]uh9KŽh:hh;]qThDX   4.2 ParametersqU…qV}qW(h#hRh$hPubaubcdocutils.nodes
paragraph
qX)qY}qZ(h#X   Hash of key pairs.q[h$hHh+h,h-U	paragraphq\h/}q](h1]h2]h3]h4]h7]uh9Kh:hh;]q^hDX   Hash of key pairs.q_…q`}qa(h#h[h$hYubaubeubh%)qb}qc(h#U h(Kh$h)h+h,h-h.h/}qd(h1]qeX   4.3 code sampleqfah2]h3]h4]qgUid12qhah7]uh9K“h:hh;]qi(h=)qj}qk(h#X   4.3 Code sampleqlh$hbh+h,h-hAh/}qm(h1]h2]h3]h4]h7]uh9K“h:hh;]qnhDX   4.3 Code sampleqo…qp}qq(h#hlh$hjubaubcdocutils.nodes
literal_block
qr)qs}qt(h#X2   $queue->saveMetadata(array(
    'foo' => 'bar'
));h$hbh+h,h-Uliteral_blockquh/}qv(U	xml:spaceqwUpreserveqxh4]h3]h1]h2]qy(UcodeqzX   phpq{eh7]uh9Kšh:hh;]q|cdocutils.nodes
inline
q})q~}q(h#X2   $queue->saveMetadata(array(
    'foo' => 'bar'
));h/}q€(h1]h2]qUotherq‚ah3]h4]h7]uh$hsh;]qƒhDX2   $queue->saveMetadata(array(
    'foo' => 'bar'
));q„…q…}q†(h#U h$h~ubah-Uinlineq‡ubaubeubeubh+h,h-h.h/}qˆ(h1]q‰X   4.1 descriptionqŠah2]h3]h4]q‹Uid10qŒah7]uh9K†h:hh;]q(h=)qŽ}q(h#X   4.1 Descriptionqh$h&h+h,h-hAh/}q‘(h1]h2]h3]h4]h7]uh9K†h:hh;]q’hDX   4.1 Descriptionq“…q”}q•(h#hh$hŽubaubhX)q–}q—(h#X÷   This operation replaces any existing metadata document in its entirety.
Ensure that you do not accidentally overwrite existing metadata that you
want to retain. If you want to *append* metadata, ensure you merge a new
array to the existing values.h$h&h+h,h-h\h/}q˜(h1]h2]h3]h4]h7]uh9Kˆh:hh;]q™(hDX°   This operation replaces any existing metadata document in its entirety.
Ensure that you do not accidentally overwrite existing metadata that you
want to retain. If you want to qš…q›}qœ(h#X°   This operation replaces any existing metadata document in its entirety.
Ensure that you do not accidentally overwrite existing metadata that you
want to retain. If you want to h$h–ubcdocutils.nodes
emphasis
q)qž}qŸ(h#X   *append*h/}q (h1]h2]h3]h4]h7]uh$h–h;]q¡hDX   appendq¢…q£}q¤(h#U h$hžubah-Uemphasisq¥ubhDX?    metadata, ensure you merge a new
array to the existing values.q¦…q§}q¨(h#X?    metadata, ensure you merge a new
array to the existing values.h$h–ubeubeubh+h,h-Usystem_messageq©h/}qª(h1]UlevelKh4]h3]q«hŒaUsourceh,h2]h7]UlineK†UtypeUINFOq¬uh9K†h:hh;]q­hX)q®}q¯(h#U h/}q°(h1]h2]h3]h4]h7]uh$h!h;]q±hDX2   Duplicate implicit target name: "4.1 description".q²…q³}q´(h#U h$h®ubah-h\ubaubh )qµ}q¶(h#U h$hHh+h,h-h©h/}q·(h1]UlevelKh4]h3]q¸hNaUsourceh,h2]h7]UlineKŽUtypeh¬uh9KŽh:hh;]q¹hX)qº}q»(h#U h/}q¼(h1]h2]h3]h4]h7]uh$hµh;]q½hDX1   Duplicate implicit target name: "4.2 parameters".q¾…q¿}qÀ(h#U h$hºubah-h\ubaubh )qÁ}qÂ(h#U h$hbh+h,h-h©h/}qÃ(h1]UlevelKh4]h3]qÄhhaUsourceh,h2]h7]UlineK“Utypeh¬uh9K“h:hh;]qÅhX)qÆ}qÇ(h#U h/}qÈ(h1]h2]h3]h4]h7]uh$hÁh;]qÉhDX2   Duplicate implicit target name: "4.3 code sample".qÊ…qË}qÌ(h#U h$hÆubah-h\ubaubh )qÍ}qÎ(h#U h$h%)qÏ}qÐ(h#U h(Kh$h%)qÑ}qÒ(h#U h$hh+h,h-h.h/}qÓ(h1]h2]h3]h4]qÔU.retrieve-the-queue-metadata-fresh-from-the-apiqÕah7]qÖhauh9Kœh:hh;]q×(h=)qØ}qÙ(h#X3   9. Retrieve the queue metadata (fresh from the API)qÚh$hÑh+h,h-hAh/}qÛ(h1]h2]h3]h4]h7]uh9Kœh:hh;]qÜhDX3   9. Retrieve the queue metadata (fresh from the API)qÝ…qÞ}qß(h#hÚh$hØubaubhÏh%)qà}qá(h#U h(Kh$hÑh+h,h-h.h/}qâ(h1]qãX   4.2 parametersqäah2]h3]h4]qåUid14qæah7]uh9K¤h:hh;]qç(h=)qè}qé(h#X   4.2 Parametersqêh$hàh+h,h-hAh/}që(h1]h2]h3]h4]h7]uh9K¤h:hh;]qìhDX   4.2 Parametersqí…qî}qï(h#hêh$hèubaubhX)qð}qñ(h#X   None.qòh$hàh+h,h-h\h/}qó(h1]h2]h3]h4]h7]uh9K¦h:hh;]qôhDX   None.qõ…qö}q÷(h#hòh$hðubaubeubh%)qø}qù(h#U h(Kh$hÑh+h,h-h.h/}qú(h1]qûX   4.3 code sampleqüah2]h3]h4]qýUid15qþah7]uh9K©h:hh;]qÿ(h=)r   }r  (h#X   4.3 Code sampler  h$høh+h,h-hAh/}r  (h1]h2]h3]h4]h7]uh9K©h:hh;]r  hDX   4.3 Code sampler  …r  }r  (h#j  h$j   ubaubhr)r  }r	  (h#XG   $metadata = $queue->retrieveMetadata();

print_r($metadata->toArray());h$høh+h,h-huh/}r
  (hwhxh4]h3]h1]h2]r  (hzX   phpr  eh7]uh9K°h:hh;]r  h})r  }r  (h#XG   $metadata = $queue->retrieveMetadata();

print_r($metadata->toArray());h/}r  (h1]h2]r  Uotherr  ah3]h4]h7]uh$j  h;]r  hDXG   $metadata = $queue->retrieveMetadata();

print_r($metadata->toArray());r  …r  }r  (h#U h$j  ubah-h‡ubaubeubeubh+h,h-h.h/}r  (h1]r  X   4.1 descriptionr  ah2]h3]h4]r  Uid13r  ah7]uh9KŸh:hh;]r  (h=)r  }r  (h#X   4.1 Descriptionr  h$hÏh+h,h-hAh/}r   (h1]h2]h3]h4]h7]uh9KŸh:hh;]r!  hDX   4.1 Descriptionr"  …r#  }r$  (h#j  h$j  ubaubhX)r%  }r&  (h#XD   This operation returns metadata, such as message TTL, for the queue.r'  h$hÏh+h,h-h\h/}r(  (h1]h2]h3]h4]h7]uh9K¡h:hh;]r)  hDXD   This operation returns metadata, such as message TTL, for the queue.r*  …r+  }r,  (h#j'  h$j%  ubaubeubh+h,h-h©h/}r-  (h1]UlevelKh4]h3]r.  j  aUsourceh,h2]h7]UlineKŸUtypeh¬uh9KŸh:hh;]r/  hX)r0  }r1  (h#U h/}r2  (h1]h2]h3]h4]h7]uh$hÍh;]r3  hDX2   Duplicate implicit target name: "4.1 description".r4  …r5  }r6  (h#U h$j0  ubah-h\ubaubh )r7  }r8  (h#U h$hàh+h,h-h©h/}r9  (h1]UlevelKh4]h3]r:  hæaUsourceh,h2]h7]UlineK¤Utypeh¬uh9K¤h:hh;]r;  hX)r<  }r=  (h#U h/}r>  (h1]h2]h3]h4]h7]uh$j7  h;]r?  hDX1   Duplicate implicit target name: "4.2 parameters".r@  …rA  }rB  (h#U h$j<  ubah-h\ubaubh )rC  }rD  (h#U h$høh+h,h-h©h/}rE  (h1]UlevelKh4]h3]rF  hþaUsourceh,h2]h7]UlineK©Utypeh¬uh9K©h:hh;]rG  hX)rH  }rI  (h#U h/}rJ  (h1]h2]h3]h4]h7]uh$jC  h;]rK  hDX2   Duplicate implicit target name: "4.3 code sample".rL  …rM  }rN  (h#U h$jH  ubah-h\ubaubh )rO  }rP  (h#U h$h%)rQ  }rR  (h#U h(Kh$h%)rS  }rT  (h#U h$hh+h,h-h.h/}rU  (h1]h2]h3]h4]rV  Uget-queue-statsrW  ah7]rX  hauh9K²h:hh;]rY  (h=)rZ  }r[  (h#X   10. Get queue statsr\  h$jS  h+h,h-hAh/}r]  (h1]h2]h3]h4]h7]uh9K²h:hh;]r^  hDX   10. Get queue statsr_  …r`  }ra  (h#j\  h$jZ  ubaubjQ  h%)rb  }rc  (h#U h(Kh$jS  h+h,h-h.h/}rd  (h1]re  X   4.2 parametersrf  ah2]h3]h4]rg  Uid17rh  ah7]uh9K»h:hh;]ri  (h=)rj  }rk  (h#X   4.2 Parametersrl  h$jb  h+h,h-hAh/}rm  (h1]h2]h3]h4]h7]uh9K»h:hh;]rn  hDX   4.2 Parametersro  …rp  }rq  (h#jl  h$jj  ubaubhX)rr  }rs  (h#X   None.rt  h$jb  h+h,h-h\h/}ru  (h1]h2]h3]h4]h7]uh9K½h:hh;]rv  hDX   None.rw  …rx  }ry  (h#jt  h$jr  ubaubeubh%)rz  }r{  (h#U h(Kh$jS  h+h,h-h.h/}r|  (h1]r}  X   4.3 code sampler~  ah2]h3]h4]r  Uid18r€  ah7]uh9KÀh:hh;]r  (h=)r‚  }rƒ  (h#X   4.3 Code sampler„  h$jz  h+h,h-hAh/}r…  (h1]h2]h3]h4]h7]uh9KÀh:hh;]r†  hDX   4.3 Code sampler‡  …rˆ  }r‰  (h#j„  h$j‚  ubaubhr)rŠ  }r‹  (h#X   $queue->getStats();h$jz  h+h,h-huh/}rŒ  (hwhxh4]h3]h1]h2]r  (hzX   phprŽ  eh7]uh9KÅh:hh;]r  h})r  }r‘  (h#X   $queue->getStats();h/}r’  (h1]h2]r“  Uotherr”  ah3]h4]h7]uh$jŠ  h;]r•  hDX   $queue->getStats();r–  …r—  }r˜  (h#U h$j  ubah-h‡ubaubeubeubh+h,h-h.h/}r™  (h1]rš  X   4.1 descriptionr›  ah2]h3]h4]rœ  Uid16r  ah7]uh9Kµh:hh;]rž  (h=)rŸ  }r   (h#X   4.1 Descriptionr¡  h$jQ  h+h,h-hAh/}r¢  (h1]h2]h3]h4]h7]uh9Kµh:hh;]r£  hDX   4.1 Descriptionr¤  …r¥  }r¦  (h#j¡  h$jŸ  ubaubhX)r§  }r¨  (h#Xm   This operation returns queue statistics, including how many messages are
in the queue, categorized by status.r©  h$jQ  h+h,h-h\h/}rª  (h1]h2]h3]h4]h7]uh9K·h:hh;]r«  hDXm   This operation returns queue statistics, including how many messages are
in the queue, categorized by status.r¬  …r­  }r®  (h#j©  h$j§  ubaubeubh+h,h-h©h/}r¯  (h1]UlevelKh4]h3]r°  j  aUsourceh,h2]h7]UlineKµUtypeh¬uh9Kµh:hh;]r±  hX)r²  }r³  (h#U h/}r´  (h1]h2]h3]h4]h7]uh$jO  h;]rµ  hDX2   Duplicate implicit target name: "4.1 description".r¶  …r·  }r¸  (h#U h$j²  ubah-h\ubaubh )r¹  }rº  (h#U h$jb  h+h,h-h©h/}r»  (h1]UlevelKh4]h3]r¼  jh  aUsourceh,h2]h7]UlineK»Utypeh¬uh9K»h:hh;]r½  hX)r¾  }r¿  (h#U h/}rÀ  (h1]h2]h3]h4]h7]uh$j¹  h;]rÁ  hDX1   Duplicate implicit target name: "4.2 parameters".rÂ  …rÃ  }rÄ  (h#U h$j¾  ubah-h\ubaubh )rÅ  }rÆ  (h#U h$jz  h+h,h-h©h/}rÇ  (h1]UlevelKh4]h3]rÈ  j€  aUsourceh,h2]h7]UlineKÀUtypeh¬uh9KÀh:hh;]rÉ  hX)rÊ  }rË  (h#U h/}rÌ  (h1]h2]h3]h4]h7]uh$jÅ  h;]rÍ  hDX2   Duplicate implicit target name: "4.3 code sample".rÎ  …rÏ  }rÐ  (h#U h$jÊ  ubah-h\ubaubeUcurrent_sourcerÑ  NU
decorationrÒ  NUautofootnote_startrÓ  KUnameidsrÔ  }rÕ  (hUid4rÖ  hNhNh	Ulist-queuesr×  h
UintroductionrØ  hUcreate-queuerÙ  hhÕhUid9rÚ  hUid5rÛ  hUid7rÜ  hNhUid3rÝ  hUid1rÞ  hUsetuprß  hUid2rà  hU
client-idsrá  hUid6râ  hjW  hUretrieve-queuerã  hUid8rä  hh6hUcheck-queue-existencerå  uh;]ræ  (h%)rç  }rè  (h#U h$hh+h,h-h.h/}ré  (h1]h2]h3]h4]rê  jØ  ah7]rë  h
auh9Kh:hh;]rì  (h=)rí  }rî  (h#X   1. Introductionrï  h$jç  h+h,h-hAh/}rð  (h1]h2]h3]h4]h7]uh9Kh:hh;]rñ  hDX   1. Introductionrò  …ró  }rô  (h#jï  h$jí  ubaubhX)rõ  }rö  (h#Xö   A Queue is an entity that holds messages. Ideally, a queue is created
per work type. For example, if you want to compress files, you would
create a queue dedicated to this job. Any application that reads from
this queue would only compress files.r÷  h$jç  h+h,h-h\h/}rø  (h1]h2]h3]h4]h7]uh9Kh:hh;]rù  hDXö   A Queue is an entity that holds messages. Ideally, a queue is created
per work type. For example, if you want to compress files, you would
create a queue dedicated to this job. Any application that reads from
this queue would only compress files.rú  …rû  }rü  (h#j÷  h$jõ  ubaubeubh%)rý  }rþ  (h#U h$hh+h,h-h.h/}rÿ  (h1]h2]h3]h4]r   jß  ah7]r  hauh9K
h:hh;]r  (h=)r  }r  (h#X   2. Setupr  h$jý  h+h,h-hAh/}r  (h1]h2]h3]h4]h7]uh9K
h:hh;]r  hDX   2. Setupr  …r	  }r
  (h#j  h$j  ubaubhr)r  }r  (h#X8   $service = $client->queuesService('cloudQueues', 'ORD');h$jý  h+h,h-huh/}r  (hwhxh4]h3]h1]h2]r  (hzX   phpr  eh7]uh9Kh:hh;]r  h})r  }r  (h#X8   $service = $client->queuesService('cloudQueues', 'ORD');h/}r  (h1]h2]r  Uotherr  ah3]h4]h7]uh$j  h;]r  hDX8   $service = $client->queuesService('cloudQueues', 'ORD');r  …r  }r  (h#U h$j  ubah-h‡ubaubeubh%)r  }r  (h#U h$hh+h,h-h.h/}r  (h1]h2]h3]h4]r  já  ah7]r  hauh9Kh:hh;]r  (h=)r   }r!  (h#X   3. Client IDsr"  h$j  h+h,h-hAh/}r#  (h1]h2]h3]h4]h7]uh9Kh:hh;]r$  hDX   3. Client IDsr%  …r&  }r'  (h#j"  h$j   ubaubhX)r(  }r)  (h#X  With most of Marconi's operation, you must specify a **Client ID** which
will be used as a unique identifier for the process accessing this
Queue. This is basically a UUID that must be unique to each client
accessing the API - it can be an arbitrary string.h$j  h+h,h-h\h/}r*  (h1]h2]h3]h4]h7]uh9Kh:hh;]r+  (hDX5   With most of Marconi's operation, you must specify a r,  …r-  }r.  (h#X5   With most of Marconi's operation, you must specify a h$j(  ubcdocutils.nodes
strong
r/  )r0  }r1  (h#X   **Client ID**h/}r2  (h1]h2]h3]h4]h7]uh$j(  h;]r3  hDX	   Client IDr4  …r5  }r6  (h#U h$j0  ubah-Ustrongr7  ubhDX¿    which
will be used as a unique identifier for the process accessing this
Queue. This is basically a UUID that must be unique to each client
accessing the API - it can be an arbitrary string.r8  …r9  }r:  (h#X¿    which
will be used as a unique identifier for the process accessing this
Queue. This is basically a UUID that must be unique to each client
accessing the API - it can be an arbitrary string.h$j(  ubeubhr)r;  }r<  (h#X7   $service->setClientId();

echo $service->getClientId();h$j  h+h,h-huh/}r=  (hwhxh4]h3]h1]h2]r>  (hzX   phpr?  eh7]uh9Kh:hh;]r@  h})rA  }rB  (h#X7   $service->setClientId();

echo $service->getClientId();h/}rC  (h1]h2]rD  UotherrE  ah3]h4]h7]uh$j;  h;]rF  hDX7   $service->setClientId();

echo $service->getClientId();rG  …rH  }rI  (h#U h$jA  ubah-h‡ubaubhX)rJ  }rK  (h#X^   If you call ``setClientId`` without any parameters, a UUID is
automatically generated for you.h$j  h+h,h-h\h/}rL  (h1]h2]h3]h4]h7]uh9Kh:hh;]rM  (hDX   If you call rN  …rO  }rP  (h#X   If you call h$jJ  ubcdocutils.nodes
literal
rQ  )rR  }rS  (h#X   ``setClientId``h/}rT  (h1]h2]h3]h4]h7]uh$jJ  h;]rU  hDX   setClientIdrV  …rW  }rX  (h#U h$jR  ubah-UliteralrY  ubhDXC    without any parameters, a UUID is
automatically generated for you.rZ  …r[  }r\  (h#XC    without any parameters, a UUID is
automatically generated for you.h$jJ  ubeubeubh%)r]  }r^  (h#U h$hh+h,h-h.h/}r_  (h1]h2]h3]h4]r`  j×  ah7]ra  h	auh9K"h:hh;]rb  (h=)rc  }rd  (h#X   4. List queuesre  h$j]  h+h,h-hAh/}rf  (h1]h2]h3]h4]h7]uh9K"h:hh;]rg  hDX   4. List queuesrh  …ri  }rj  (h#je  h$jc  ubaubh%)rk  }rl  (h#U h(Kh$j]  h+h,h-h.h/}rm  (h1]rn  hŠah2]h3]h4]ro  Udescriptionrp  ah7]uh9K%h:hh;]rq  (h=)rr  }rs  (h#X   4.1 Descriptionrt  h$jk  h+h,h-hAh/}ru  (h1]h2]h3]h4]h7]uh9K%h:hh;]rv  hDX   4.1 Descriptionrw  …rx  }ry  (h#jt  h$jr  ubaubhX)rz  }r{  (h#XZ   This operation lists queues for the project. The queues are sorted
alphabetically by name.r|  h$jk  h+h,h-h\h/}r}  (h1]h2]h3]h4]h7]uh9K'h:hh;]r~  hDXZ   This operation lists queues for the project. The queues are sorted
alphabetically by name.r  …r€  }r  (h#j|  h$jz  ubaubeubh%)r‚  }rƒ  (h#U h(Kh$j]  h+h,h-h.h/}r„  (h1]r…  hLah2]h3]h4]r†  U
parametersr‡  ah7]uh9K+h:hh;]rˆ  (h=)r‰  }rŠ  (h#X   4.2 Parametersr‹  h$j‚  h+h,h-hAh/}rŒ  (h1]h2]h3]h4]h7]uh9K+h:hh;]r  hDX   4.2 ParametersrŽ  …r  }r  (h#j‹  h$j‰  ubaubhX)r‘  }r’  (h#X  \|Name\|Style\|Type\|Description\| \|----\|-----\|----\|-----------\|
\|marker\|Query\|â€‹String\|Specifies the name of the last queue received
in a previous request, or none to get the first page of results.
Optional.\| \|limit\|Query\|Integer\|Specifies the number of queues to
return. The default value for the number of queues returned is 10. If
you do not specify this parameter, the default number of queues is
returned. Optional.\| \|detailed\|Query\|â€‹Boolean\|Determines whether
queue metadata is included in the response. The default value for this
parameter is false, which excludes the metadata. Optional.\|
\|----\|-----\|----\|-----------\|h$j‚  h+h,h-h\h/}r“  (h1]h2]h3]h4]h7]uh9K-h:hh;]r”  hDXq  |Name|Style|Type|Description| |----|-----|----|-----------|
|marker|Query|â€‹String|Specifies the name of the last queue received
in a previous request, or none to get the first page of results.
Optional.| |limit|Query|Integer|Specifies the number of queues to
return. The default value for the number of queues returned is 10. If
you do not specify this parameter, the default number of queues is
returned. Optional.| |detailed|Query|â€‹Boolean|Determines whether
queue metadata is included in the response. The default value for this
parameter is false, which excludes the metadata. Optional.|
|----|-----|----|-----------|r•  …r–  }r—  (h#X  \|Name\|Style\|Type\|Description\| \|----\|-----\|----\|-----------\|
\|marker\|Query\|â€‹String\|Specifies the name of the last queue received
in a previous request, or none to get the first page of results.
Optional.\| \|limit\|Query\|Integer\|Specifies the number of queues to
return. The default value for the number of queues returned is 10. If
you do not specify this parameter, the default number of queues is
returned. Optional.\| \|detailed\|Query\|â€‹Boolean\|Determines whether
queue metadata is included in the response. The default value for this
parameter is false, which excludes the metadata. Optional.\|
\|----\|-----\|----\|-----------\|h$j‘  ubaubeubh%)r˜  }r™  (h#U h(Kh$j]  h+h,h-h.h/}rš  (h1]r›  hfah2]h3]h4]rœ  Ucode-sampler  ah7]uh9K9h:hh;]rž  (h=)rŸ  }r   (h#X   4.3 Code sampler¡  h$j˜  h+h,h-hAh/}r¢  (h1]h2]h3]h4]h7]uh9K9h:hh;]r£  hDX   4.3 Code sampler¤  …r¥  }r¦  (h#j¡  h$jŸ  ubaubhr)r§  }r¨  (h#Xm   $queues = $service->listQueues();

while ($queue = $queues->next()) {
    echo $queue->getName() . PHP_EOL;
}h$j˜  h+h,h-huh/}r©  (hwhxh4]h3]h1]h2]rª  (hzX   phpr«  eh7]uh9KBh:hh;]r¬  h})r­  }r®  (h#Xm   $queues = $service->listQueues();

while ($queue = $queues->next()) {
    echo $queue->getName() . PHP_EOL;
}h/}r¯  (h1]h2]r°  Uotherr±  ah3]h4]h7]uh$j§  h;]r²  hDXm   $queues = $service->listQueues();

while ($queue = $queues->next()) {
    echo $queue->getName() . PHP_EOL;
}r³  …r´  }rµ  (h#U h$j­  ubah-h‡ubaubeubeubh%)r¶  }r·  (h#U h$hh+h,h-h.h/}r¸  (h1]h2]h3]h4]r¹  jÙ  ah7]rº  hauh9KDh:hh;]r»  (h=)r¼  }r½  (h#X   5. Create queuer¾  h$j¶  h+h,h-hAh/}r¿  (h1]h2]h3]h4]h7]uh9KDh:hh;]rÀ  hDX   5. Create queuerÁ  …rÂ  }rÃ  (h#j¾  h$j¼  ubaubh%)rÄ  }rÅ  (h#U h$j¶  h+h,h-h.h/}rÆ  (h1]h2]h3]h4]rÇ  jÞ  ah7]rÈ  hauh9KGh:hh;]rÉ  (h=)rÊ  }rË  (h#X   5.1 DescriptionrÌ  h$jÄ  h+h,h-hAh/}rÍ  (h1]h2]h3]h4]h7]uh9KGh:hh;]rÎ  hDX   5.1 DescriptionrÏ  …rÐ  }rÑ  (h#jÌ  h$jÊ  ubaubhX)rÒ  }rÓ  (h#X#   This operation creates a new queue.rÔ  h$jÄ  h+h,h-h\h/}rÕ  (h1]h2]h3]h4]h7]uh9KIh:hh;]rÖ  hDX#   This operation creates a new queue.r×  …rØ  }rÙ  (h#jÔ  h$jÒ  ubaubeubh%)rÚ  }rÛ  (h#U h$j¶  h+h,h-h.h/}rÜ  (h1]h2]h3]h4]rÝ  jà  ah7]rÞ  hauh9KLh:hh;]rß  (h=)rà  }rá  (h#X   5.2 Parametersrâ  h$jÚ  h+h,h-hAh/}rã  (h1]h2]h3]h4]h7]uh9KLh:hh;]rä  hDX   5.2 Parametersrå  …ræ  }rç  (h#jâ  h$jà  ubaubhX)rè  }ré  (h#X­   A string representation of the name for your new Queue. The name must
not exceed 64 bytes in length, and it is limited to US-ASCII letters,
digits, underscores, and hyphens.rê  h$jÚ  h+h,h-h\h/}rë  (h1]h2]h3]h4]h7]uh9KNh:hh;]rì  hDX­   A string representation of the name for your new Queue. The name must
not exceed 64 bytes in length, and it is limited to US-ASCII letters,
digits, underscores, and hyphens.rí  …rî  }rï  (h#jê  h$jè  ubaubeubh%)rð  }rñ  (h#U h$j¶  h+h,h-h.h/}rò  (h1]h2]h3]h4]ró  jÝ  ah7]rô  hauh9KSh:hh;]rõ  (h=)rö  }r÷  (h#X   5.3 Code samplerø  h$jð  h+h,h-hAh/}rù  (h1]h2]h3]h4]h7]uh9KSh:hh;]rú  hDX   5.3 Code samplerû  …rü  }rý  (h#jø  h$jö  ubaubhr)rþ  }rÿ  (h#X,   $queue = $service->createQueue('new_queue');h$jð  h+h,h-huh/}r   (hwhxh4]h3]h1]h2]r  (hzX   phpr  eh7]uh9KXh:hh;]r  h})r  }r  (h#X,   $queue = $service->createQueue('new_queue');h/}r  (h1]h2]r  Uotherr  ah3]h4]h7]uh$jþ  h;]r	  hDX,   $queue = $service->createQueue('new_queue');r
  …r  }r  (h#U h$j  ubah-h‡ubaubeubeubh%)r  }r  (h#U h$hh+h,h-h.h/}r  (h1]h2]h3]h4]r  jã  ah7]r  hauh9KZh:hh;]r  (h=)r  }r  (h#X   6. Retrieve queuer  h$j  h+h,h-hAh/}r  (h1]h2]h3]h4]h7]uh9KZh:hh;]r  hDX   6. Retrieve queuer  …r  }r  (h#j  h$j  ubaubh%)r  }r  (h#U h$j  h+h,h-h.h/}r  (h1]h2]h3]h4]r  jÖ  ah7]r  hauh9K]h:hh;]r   (h=)r!  }r"  (h#X   6.1 Descriptionr#  h$j  h+h,h-hAh/}r$  (h1]h2]h3]h4]h7]uh9K]h:hh;]r%  hDX   6.1 Descriptionr&  …r'  }r(  (h#j#  h$j!  ubaubhX)r)  }r*  (h#X#   Returns a ``Queue`` object for use.r+  h$j  h+h,h-h\h/}r,  (h1]h2]h3]h4]h7]uh9K_h:hh;]r-  (hDX
   Returns a r.  …r/  }r0  (h#X
   Returns a h$j)  ubjQ  )r1  }r2  (h#X	   ``Queue``h/}r3  (h1]h2]h3]h4]h7]uh$j)  h;]r4  hDX   Queuer5  …r6  }r7  (h#U h$j1  ubah-jY  ubhDX    object for use.r8  …r9  }r:  (h#X    object for use.h$j)  ubeubeubh%)r;  }r<  (h#U h$j  h+h,h-h.h/}r=  (h1]h2]h3]h4]r>  jÛ  ah7]r?  hauh9Kbh:hh;]r@  (h=)rA  }rB  (h#X   6.2 ParametersrC  h$j;  h+h,h-hAh/}rD  (h1]h2]h3]h4]h7]uh9Kbh:hh;]rE  hDX   6.2 ParametersrF  …rG  }rH  (h#jC  h$jA  ubaubhX)rI  }rJ  (h#X   Queue name.rK  h$j;  h+h,h-h\h/}rL  (h1]h2]h3]h4]h7]uh9Kdh:hh;]rM  hDX   Queue name.rN  …rO  }rP  (h#jK  h$jI  ubaubeubh%)rQ  }rR  (h#U h$j  h+h,h-h.h/}rS  (h1]h2]h3]h4]rT  jâ  ah7]rU  hauh9Kgh:hh;]rV  (h=)rW  }rX  (h#X   6.3 Code samplerY  h$jQ  h+h,h-hAh/}rZ  (h1]h2]h3]h4]h7]uh9Kgh:hh;]r[  hDX   6.3 Code sampler\  …r]  }r^  (h#jY  h$jW  ubaubhr)r_  }r`  (h#X)   $queue = $service->getQueue('new_queue');h$jQ  h+h,h-huh/}ra  (hwhxh4]h3]h1]h2]rb  (hzX   phprc  eh7]uh9Klh:hh;]rd  h})re  }rf  (h#X)   $queue = $service->getQueue('new_queue');h/}rg  (h1]h2]rh  Uotherri  ah3]h4]h7]uh$j_  h;]rj  hDX)   $queue = $service->getQueue('new_queue');rk  …rl  }rm  (h#U h$je  ubah-h‡ubaubeubeubh%)rn  }ro  (h#U h$hh+h,h-h.h/}rp  (h1]h2]h3]h4]rq  jå  ah7]rr  hauh9Knh:hh;]rs  (h=)rt  }ru  (h#X   7. Check queue existencerv  h$jn  h+h,h-hAh/}rw  (h1]h2]h3]h4]h7]uh9Knh:hh;]rx  hDX   7. Check queue existencery  …rz  }r{  (h#jv  h$jt  ubaubh%)r|  }r}  (h#U h$jn  h+h,h-h.h/}r~  (h1]h2]h3]h4]r  jÜ  ah7]r€  hauh9Kqh:hh;]r  (h=)r‚  }rƒ  (h#X   7.1 Descriptionr„  h$j|  h+h,h-hAh/}r…  (h1]h2]h3]h4]h7]uh9Kqh:hh;]r†  hDX   7.1 Descriptionr‡  …rˆ  }r‰  (h#j„  h$j‚  ubaubhX)rŠ  }r‹  (h#X^   This operation verifies whether the specified queue exists by returning
``TRUE`` or ``FALSE``.h$j|  h+h,h-h\h/}rŒ  (h1]h2]h3]h4]h7]uh9Ksh:hh;]r  (hDXH   This operation verifies whether the specified queue exists by returning
rŽ  …r  }r  (h#XH   This operation verifies whether the specified queue exists by returning
h$jŠ  ubjQ  )r‘  }r’  (h#X   ``TRUE``h/}r“  (h1]h2]h3]h4]h7]uh$jŠ  h;]r”  hDX   TRUEr•  …r–  }r—  (h#U h$j‘  ubah-jY  ubhDX    or r˜  …r™  }rš  (h#X    or h$jŠ  ubjQ  )r›  }rœ  (h#X	   ``FALSE``h/}r  (h1]h2]h3]h4]h7]uh$jŠ  h;]rž  hDX   FALSErŸ  …r   }r¡  (h#U h$j›  ubah-jY  ubhDX   .…r¢  }r£  (h#X   .h$jŠ  ubeubeubh%)r¤  }r¥  (h#U h$jn  h+h,h-h.h/}r¦  (h1]h2]h3]h4]r§  jä  ah7]r¨  hauh9Kwh:hh;]r©  h=)rª  }r«  (h#X   7.2 Parametersr¬  h$j¤  h+h,h-hAh/}r­  (h1]h2]h3]h4]h7]uh9Kwh:hh;]r®  hDX   7.2 Parametersr¯  …r°  }r±  (h#j¬  h$jª  ubaubaubh%)r²  }r³  (h#U h$jn  h+h,h-h.h/}r´  (h1]h2]h3]h4]rµ  jÚ  ah7]r¶  hauh9Kzh:hh;]r·  (h=)r¸  }r¹  (h#X   7.3 Code samplerº  h$j²  h+h,h-hAh/}r»  (h1]h2]h3]h4]h7]uh9Kzh:hh;]r¼  hDX   7.3 Code sampler½  …r¾  }r¿  (h#jº  h$j¸  ubaubhr)rÀ  }rÁ  (h#X<   if ($service->hasQueue('new_queue')) {
    // do something
}h$j²  h+h,h-huh/}rÂ  (hwhxh4]h3]h1]h2]rÃ  (hzX   phprÄ  eh7]uh9Kh:hh;]rÅ  h})rÆ  }rÇ  (h#X<   if ($service->hasQueue('new_queue')) {
    // do something
}h/}rÈ  (h1]h2]rÉ  UotherrÊ  ah3]h4]h7]uh$jÀ  h;]rË  hDX<   if ($service->hasQueue('new_queue')) {
    // do something
}rÌ  …rÍ  }rÎ  (h#U h$jÆ  ubah-h‡ubaubeubeubh)hÑjS  eh#U UtransformerrÏ  NUfootnote_refsrÐ  }rÑ  UrefnamesrÒ  }rÓ  Usymbol_footnotesrÔ  ]rÕ  Uautofootnote_refsrÖ  ]r×  Usymbol_footnote_refsrØ  ]rÙ  U	citationsrÚ  ]rÛ  h:hUcurrent_linerÜ  NUtransform_messagesrÝ  ]rÞ  Ureporterrß  NUid_startrà  KUautofootnotesrá  ]râ  Ucitation_refsrã  }rä  Uindirect_targetsrå  ]ræ  Usettingsrç  (cdocutils.frontend
Values
rè  oré  }rê  (Ufootnote_backlinksrë  KUrecord_dependenciesrì  NUrfc_base_urlrí  Uhttp://tools.ietf.org/html/rî  U	tracebackrï  ˆUpep_referencesrð  NUstrip_commentsrñ  NUtoc_backlinksrò  Uentryró  Ulanguage_coderô  Uenrõ  U	datestamprö  NUreport_levelr÷  KU_destinationrø  NU
halt_levelrù  KUstrip_classesrú  NhANUerror_encoding_error_handlerrû  Ubackslashreplacerü  Udebugrý  NUembed_stylesheetrþ  ‰Uoutput_encoding_error_handlerrÿ  Ustrictr   Usectnum_xformr  KUdump_transformsr  NUdocinfo_xformr  KUwarning_streamr  NUpep_file_url_templater  Upep-%04dr  Uexit_status_levelr  KUconfigr  NUstrict_visitorr	  NUcloak_email_addressesr
  ˆUtrim_footnote_reference_spacer  ‰Uenvr  NUdump_pseudo_xmlr  NUexpose_internalsr  NUsectsubtitle_xformr  ‰Usource_linkr  NUrfc_referencesr  NUoutput_encodingr  Uutf-8r  U
source_urlr  NUinput_encodingr  U	utf-8-sigr  U_disable_configr  NU	id_prefixr  U U	tab_widthr  KUerror_encodingr  UUTF-8r  U_sourcer  h,Ugettext_compactr  ˆU	generatorr  NUdump_internalsr  NUsmart_quotesr   ‰Upep_base_urlr!  Uhttp://www.python.org/dev/peps/r"  Usyntax_highlightr#  Ulongr$  Uinput_encoding_error_handlerr%  j   Uauto_id_prefixr&  Uidr'  Udoctitle_xformr(  ‰Ustrip_elements_with_classesr)  NU_config_filesr*  ]Ufile_insertion_enabledr+  ˆUraw_enabledr,  KUdump_settingsr-  NubUsymbol_footnote_startr.  K Uidsr/  }r0  (jå  jn  j  j˜  hhhbj‡  j‚  jÚ  j²  jØ  jç  jÜ  j|  jÖ  j  jÛ  j;  jà  jÚ  jÝ  jð  jÞ  jÄ  hŒh&hNhHjá  j  j  hÏhæhàhþhøj  jQ  jh  jb  j€  jz  h6h)jã  j  jp  jk  hÕhÑjÙ  j¶  jW  jS  jä  j¤  jß  jý  j×  j]  jâ  jQ  uUsubstitution_namesr1  }r2  h-h:h/}r3  (h1]h4]h3]Usourceh,h2]h7]uU	footnotesr4  ]r5  Urefidsr6  }r7  ub.