diff --git a/composer.json b/composer.json index cea3160..328aaa7 100644 --- a/composer.json +++ b/composer.json @@ -13,8 +13,8 @@ } }, "require": { - "google/gax": "^0.37.0", - "google/protobuf": "^3.5.1", + "google/gax": "^1.0.2", + "google/protobuf": "^3.7.1", "php" : "^5.5 || ^7.0" }, "require-dev": { diff --git a/src/GPBMetadata/Google/Photos/Library/V1/PhotosLibrary.php b/src/GPBMetadata/Google/Photos/Library/V1/PhotosLibrary.php index 5634ef9..605db44 100644 --- a/src/GPBMetadata/Google/Photos/Library/V1/PhotosLibrary.php +++ b/src/GPBMetadata/Google/Photos/Library/V1/PhotosLibrary.php @@ -22,8 +22,9 @@ public static function initOnce() { \GPBMetadata\Google\Rpc\Status::initOnce(); \GPBMetadata\Google\Type\Date::initOnce(); \GPBMetadata\Google\Type\Latlng::initOnce(); + \GPBMetadata\Google\Api\Client::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0a9a3f0a2d676f6f676c652f70686f746f732f6c6962726172792f76312f" . + "0af2410a2d676f6f676c652f70686f746f732f6c6962726172792f76312f" . "70686f746f735f6c6962726172792e70726f746f1218676f6f676c652e70" . "686f746f732e6c6962726172792e76311a1f676f6f676c652f70686f746f" . "732f74797065732f616c62756d2e70726f746f1a24676f6f676c652f7068" . @@ -32,267 +33,279 @@ public static function initOnce() { "70726f746f1a19676f6f676c652f70726f746f6275662f616e792e70726f" . "746f1a17676f6f676c652f7270632f7374617475732e70726f746f1a1667" . "6f6f676c652f747970652f646174652e70726f746f1a18676f6f676c652f" . - "747970652f6c61746c6e672e70726f746f223f0a12437265617465416c62" . - "756d5265717565737412290a05616c62756d18012001280b321a2e676f6f" . - "676c652e70686f746f732e74797065732e416c62756d22510a2542617463" . - "6852656d6f76654d656469614974656d7346726f6d416c62756d52657175" . - "65737412160a0e6d656469615f6974656d5f69647318012003280912100a" . - "08616c62756d5f696418022001280922280a26426174636852656d6f7665" . - "4d656469614974656d7346726f6d416c62756d526573706f6e7365228201" . - "0a0c4e65774d656469614974656d12130a0b6465736372697074696f6e18" . - "012001280912460a1173696d706c655f6d656469615f6974656d18022001" . - "280b32292e676f6f676c652e70686f746f732e6c6962726172792e76312e" . - "53696d706c654d656469614974656d480042150a136e65775f6d65646961" . - "5f6974656d5f7479706522270a0f53696d706c654d656469614974656d12" . - "140a0c75706c6f61645f746f6b656e18012001280922b9020a0d416c6275" . - "6d506f736974696f6e12460a08706f736974696f6e18012001280e32342e" . - "676f6f676c652e70686f746f732e6c6962726172792e76312e416c62756d" . - "506f736974696f6e2e506f736974696f6e5479706512200a1672656c6174" . - "6976655f6d656469615f6974656d5f6964180220012809480012250a1b72" . - "656c61746976655f656e726963686d656e745f6974656d5f696418032001" . - "280948002285010a0c506f736974696f6e54797065121d0a19504f534954" . - "494f4e5f545950455f554e535045434946494544100012120a0e46495253" . - "545f494e5f414c42554d100112110a0d4c4153545f494e5f414c42554d10" . - "0212140a1041465445525f4d454449415f4954454d100312190a15414654" . - "45525f454e524943484d454e545f4954454d1004420f0a0d72656c617469" . - "76655f6974656d2282010a124e65774d656469614974656d526573756c74" . - "12140a0c75706c6f61645f746f6b656e18012001280912220a0673746174" . - "757318022001280b32122e676f6f676c652e7270632e5374617475731232" . - "0a0a6d656469615f6974656d18032001280b321e2e676f6f676c652e7068" . - "6f746f732e74797065732e4d656469614974656d22b2010a1c4261746368" . - "4372656174654d656469614974656d735265717565737412100a08616c62" . - "756d5f6964180120012809123f0a0f6e65775f6d656469615f6974656d73" . - "18022003280b32262e676f6f676c652e70686f746f732e6c696272617279" . - "2e76312e4e65774d656469614974656d123f0a0e616c62756d5f706f7369" . - "74696f6e18042001280b32272e676f6f676c652e70686f746f732e6c6962" . - "726172792e76312e416c62756d506f736974696f6e226d0a1d4261746368" . - "4372656174654d656469614974656d73526573706f6e7365124c0a166e65" . - "775f6d656469615f6974656d5f726573756c747318012003280b322c2e67" . - "6f6f676c652e70686f746f732e6c6962726172792e76312e4e65774d6564" . - "69614974656d526573756c74225e0a0a4461746546696c74657212200a05" . - "646174657318012003280b32112e676f6f676c652e747970652e44617465" . - "122e0a0672616e67657318022003280b321e2e676f6f676c652e70686f74" . - "6f732e74797065732e4461746552616e676522af010a0d436f6e74656e74" . - "46696c746572124e0a1b696e636c756465645f636f6e74656e745f636174" . - "65676f7269657318012003280e32292e676f6f676c652e70686f746f732e" . - "6c6962726172792e76312e436f6e74656e7443617465676f7279124e0a1b" . - "6578636c756465645f636f6e74656e745f63617465676f72696573180220" . - "03280e32292e676f6f676c652e70686f746f732e6c6962726172792e7631" . - "2e436f6e74656e7443617465676f7279228d010a0f4d6564696154797065" . - "46696c74657212480a0b6d656469615f747970657318012003280e32332e" . - "676f6f676c652e70686f746f732e6c6962726172792e76312e4d65646961" . - "5479706546696c7465722e4d656469615479706522300a094d6564696154" . - "797065120d0a09414c4c5f4d45444941100012090a05564944454f100112" . - "090a0550484f544f1002227f0a0d4665617475726546696c746572124a0a" . - "11696e636c756465645f666561747572657318012003280e322f2e676f6f" . - "676c652e70686f746f732e6c6962726172792e76312e4665617475726546" . - "696c7465722e4665617475726522220a074665617475726512080a044e4f" . - "4e451000120d0a094641564f5249544553100122d2020a0746696c746572" . - "7312390a0b646174655f66696c74657218012001280b32242e676f6f676c" . - "652e70686f746f732e6c6962726172792e76312e4461746546696c746572" . - "123f0a0e636f6e74656e745f66696c74657218022001280b32272e676f6f" . - "676c652e70686f746f732e6c6962726172792e76312e436f6e74656e7446" . - "696c74657212440a116d656469615f747970655f66696c74657218032001" . - "280b32292e676f6f676c652e70686f746f732e6c6962726172792e76312e" . - "4d656469615479706546696c746572123f0a0e666561747572655f66696c" . - "74657218072001280b32272e676f6f676c652e70686f746f732e6c696272" . - "6172792e76312e4665617475726546696c746572121e0a16696e636c7564" . - "655f61726368697665645f6d6564696118042001280812240a1c6578636c" . - "7564655f6e6f6e5f6170705f637265617465645f64617461180520012808" . - "2286010a175365617263684d656469614974656d73526571756573741210" . - "0a08616c62756d5f696418012001280912110a09706167655f73697a6518" . - "022001280512120a0a706167655f746f6b656e18032001280912320a0766" . - "696c7465727318042001280b32212e676f6f676c652e70686f746f732e6c" . - "6962726172792e76312e46696c7465727322680a185365617263684d6564" . - "69614974656d73526573706f6e736512330a0b6d656469615f6974656d73" . - "18012003280b321e2e676f6f676c652e70686f746f732e74797065732e4d" . - "656469614974656d12170a0f6e6578745f706167655f746f6b656e180220" . - "012809223e0a154c6973744d656469614974656d73526571756573741211" . - "0a09706167655f73697a6518012001280512120a0a706167655f746f6b65" . - "6e18022001280922660a164c6973744d656469614974656d73526573706f" . - "6e736512330a0b6d656469615f6974656d7318012003280b321e2e676f6f" . - "676c652e70686f746f732e74797065732e4d656469614974656d12170a0f" . - "6e6578745f706167655f746f6b656e180220012809222c0a134765744d65" . - "6469614974656d5265717565737412150a0d6d656469615f6974656d5f69" . - "6418012001280922600a114c697374416c62756d73526571756573741211" . - "0a09706167655f73697a6518012001280512120a0a706167655f746f6b65" . - "6e18022001280912240a1c6578636c7564655f6e6f6e5f6170705f637265" . - "617465645f6461746118032001280822590a124c697374416c62756d7352" . - "6573706f6e7365122a0a06616c62756d7318012003280b321a2e676f6f67" . - "6c652e70686f746f732e74797065732e416c62756d12170a0f6e6578745f" . - "706167655f746f6b656e18022001280922230a0f476574416c62756d5265" . - "717565737412100a08616c62756d5f6964180120012809222c0a15476574" . - "536861726564416c62756d5265717565737412130a0b73686172655f746f" . - "6b656e180120012809221e0a0e54657874456e726963686d656e74120c0a" . - "047465787418012001280922460a084c6f636174696f6e12150a0d6c6f63" . - "6174696f6e5f6e616d6518012001280912230a066c61746c6e6718022001" . - "280b32132e676f6f676c652e747970652e4c61744c6e67224a0a124c6f63" . - "6174696f6e456e726963686d656e7412340a086c6f636174696f6e180120" . - "01280b32222e676f6f676c652e70686f746f732e6c6962726172792e7631" . - "2e4c6f636174696f6e227c0a0d4d6170456e726963686d656e7412320a06" . - "6f726967696e18012001280b32222e676f6f676c652e70686f746f732e6c" . - "6962726172792e76312e4c6f636174696f6e12370a0b64657374696e6174" . - "696f6e18022001280b32222e676f6f676c652e70686f746f732e6c696272" . - "6172792e76312e4c6f636174696f6e22f6010a114e6577456e726963686d" . - "656e744974656d12430a0f746578745f656e726963686d656e7418012001" . - "280b32282e676f6f676c652e70686f746f732e6c6962726172792e76312e" . - "54657874456e726963686d656e744800124b0a136c6f636174696f6e5f65" . - "6e726963686d656e7418022001280b322c2e676f6f676c652e70686f746f" . - "732e6c6962726172792e76312e4c6f636174696f6e456e726963686d656e" . - "74480012410a0e6d61705f656e726963686d656e7418032001280b32272e" . - "676f6f676c652e70686f746f732e6c6962726172792e76312e4d6170456e" . - "726963686d656e744800420c0a0a656e726963686d656e7422ba010a1b41" . - "6464456e726963686d656e74546f416c62756d5265717565737412100a08" . - "616c62756d5f696418012001280912480a136e65775f656e726963686d65" . - "6e745f6974656d18022001280b322b2e676f6f676c652e70686f746f732e" . - "6c6962726172792e76312e4e6577456e726963686d656e744974656d123f" . - "0a0e616c62756d5f706f736974696f6e18032001280b32272e676f6f676c" . + "747970652f6c61746c6e672e70726f746f1a17676f6f676c652f6170692f" . + "636c69656e742e70726f746f223f0a12437265617465416c62756d526571" . + "7565737412290a05616c62756d18012001280b321a2e676f6f676c652e70" . + "686f746f732e74797065732e416c62756d22510a25426174636852656d6f" . + "76654d656469614974656d7346726f6d416c62756d526571756573741216" . + "0a0e6d656469615f6974656d5f69647318012003280912100a08616c6275" . + "6d5f696418022001280922280a26426174636852656d6f76654d65646961" . + "4974656d7346726f6d416c62756d526573706f6e73652282010a0c4e6577" . + "4d656469614974656d12130a0b6465736372697074696f6e180120012809" . + "12460a1173696d706c655f6d656469615f6974656d18022001280b32292e" . + "676f6f676c652e70686f746f732e6c6962726172792e76312e53696d706c" . + "654d656469614974656d480042150a136e65775f6d656469615f6974656d" . + "5f7479706522270a0f53696d706c654d656469614974656d12140a0c7570" . + "6c6f61645f746f6b656e18012001280922b9020a0d416c62756d506f7369" . + "74696f6e12460a08706f736974696f6e18012001280e32342e676f6f676c" . "652e70686f746f732e6c6962726172792e76312e416c62756d506f736974" . - "696f6e221c0a0e456e726963686d656e744974656d120a0a026964180120" . - "01280922610a1c416464456e726963686d656e74546f416c62756d526573" . - "706f6e736512410a0f656e726963686d656e745f6974656d18012001280b" . - "32282e676f6f676c652e70686f746f732e6c6962726172792e76312e456e" . - "726963686d656e744974656d222d0a164a6f696e536861726564416c6275" . - "6d5265717565737412130a0b73686172655f746f6b656e18012001280922" . - "440a174a6f696e536861726564416c62756d526573706f6e736512290a05" . - "616c62756d18012001280b321a2e676f6f676c652e70686f746f732e7479" . - "7065732e416c62756d222e0a174c65617665536861726564416c62756d52" . - "65717565737412130a0b73686172655f746f6b656e180120012809221a0a" . - "184c65617665536861726564416c62756d526573706f6e7365226c0a1153" . - "68617265416c62756d5265717565737412100a08616c62756d5f69641801" . - "2001280912450a147368617265645f616c62756d5f6f7074696f6e731802" . - "2001280b32272e676f6f676c652e70686f746f732e74797065732e536861" . - "726564416c62756d4f7074696f6e7322480a125368617265416c62756d52" . - "6573706f6e736512320a0a73686172655f696e666f18012001280b321e2e" . - "676f6f676c652e70686f746f732e74797065732e5368617265496e666f22" . - "660a174c697374536861726564416c62756d735265717565737412110a09" . - "706167655f73697a6518012001280512120a0a706167655f746f6b656e18" . - "022001280912240a1c6578636c7564655f6e6f6e5f6170705f6372656174" . - "65645f6461746118032001280822660a184c697374536861726564416c62" . - "756d73526573706f6e736512310a0d7368617265645f616c62756d731801" . - "2003280b321a2e676f6f676c652e70686f746f732e74797065732e416c62" . - "756d12170a0f6e6578745f706167655f746f6b656e18022001280922270a" . - "13556e7368617265416c62756d5265717565737412100a08616c62756d5f" . - "696418012001280922160a14556e7368617265416c62756d526573706f6e" . - "736522330a1942617463684765744d656469614974656d73526571756573" . - "7412160a0e6d656469615f6974656d5f69647318012003280922630a1a42" . - "617463684765744d656469614974656d73526573706f6e736512450a126d" . - "656469615f6974656d5f726573756c747318012003280b32292e676f6f67" . - "6c652e70686f746f732e6c6962726172792e76312e4d656469614974656d" . - "526573756c7422690a0f4d656469614974656d526573756c7412220a0673" . - "746174757318012001280b32122e676f6f676c652e7270632e5374617475" . - "7312320a0a6d656469615f6974656d18022001280b321e2e676f6f676c65" . - "2e70686f746f732e74797065732e4d656469614974656d224c0a20426174" . - "63684164644d656469614974656d73546f416c62756d5265717565737412" . - "160a0e6d656469615f6974656d5f69647318012003280912100a08616c62" . - "756d5f696418022001280922230a2142617463684164644d656469614974" . - "656d73546f416c62756d526573706f6e73652af8020a0f436f6e74656e74" . - "43617465676f727912080a044e4f4e451000120e0a0a4c414e4453434150" . - "45531001120c0a0852454345495054531002120e0a0a4349545953434150" . - "45531003120d0a094c414e444d41524b531004120b0a0753454c46494553" . - "1005120a0a0650454f504c45100612080a04504554531007120c0a085745" . - "4444494e47531008120d0a094249525448444159531009120d0a09444f43" . - "554d454e5453100a120a0a0654524156454c100b120b0a07414e494d414c" . - "53100c12080a04464f4f44100d12090a0553504f5254100e12090a054e49" . - "474854100f12100a0c504552464f524d414e4345531010120f0a0b574849" . - "5445424f415244531011120f0a0b53435245454e53484f54531012120b0a" . - "075554494c495459101312080a04415254531014120a0a06435241465453" . - "1015120b0a0746415348494f4e1016120a0a06484f555345531017120b0a" . - "0747415244454e531018120b0a07464c4f574552531019120c0a08484f4c" . - "4944415953101a32ed140a0d50686f746f734c696272617279126e0a0b43" . - "7265617465416c62756d122c2e676f6f676c652e70686f746f732e6c6962" . - "726172792e76312e437265617465416c62756d526571756573741a1a2e67" . - "6f6f676c652e70686f746f732e74797065732e416c62756d221582d3e493" . - "020f220a2f76312f616c62756d733a012a12af010a154261746368437265" . - "6174654d656469614974656d7312362e676f6f676c652e70686f746f732e" . - "6c6962726172792e76312e42617463684372656174654d65646961497465" . - "6d73526571756573741a372e676f6f676c652e70686f746f732e6c696272" . - "6172792e76312e42617463684372656174654d656469614974656d735265" . - "73706f6e7365222582d3e493021f221a2f76312f6d656469614974656d73" . - "3a62617463684372656174653a012a12cb010a1942617463684164644d65" . - "6469614974656d73546f416c62756d123a2e676f6f676c652e70686f746f" . - "732e6c6962726172792e76312e42617463684164644d656469614974656d" . - "73546f416c62756d526571756573741a3b2e676f6f676c652e70686f746f" . - "732e6c6962726172792e76312e42617463684164644d656469614974656d" . - "73546f416c62756d526573706f6e7365223582d3e493022f222a2f76312f" . - "616c62756d732f7b616c62756d5f69643d2a7d3a62617463684164644d65" . - "6469614974656d733a012a129b010a105365617263684d65646961497465" . - "6d7312312e676f6f676c652e70686f746f732e6c6962726172792e76312e" . - "5365617263684d656469614974656d73526571756573741a322e676f6f67" . - "6c652e70686f746f732e6c6962726172792e76312e5365617263684d6564" . - "69614974656d73526573706f6e7365222082d3e493021a22152f76312f6d" . - "656469614974656d733a7365617263683a012a128b010a0e4c6973744d65" . - "6469614974656d73122f2e676f6f676c652e70686f746f732e6c69627261" . - "72792e76312e4c6973744d656469614974656d73526571756573741a302e" . - "676f6f676c652e70686f746f732e6c6962726172792e76312e4c6973744d" . - "656469614974656d73526573706f6e7365221682d3e4930210120e2f7631" . - "2f6d656469614974656d731287010a0c4765744d656469614974656d122d" . - "2e676f6f676c652e70686f746f732e6c6962726172792e76312e4765744d" . - "656469614974656d526571756573741a1e2e676f6f676c652e70686f746f" . - "732e74797065732e4d656469614974656d222882d3e493022212202f7631" . - "2f6d656469614974656d732f7b6d656469615f6974656d5f69643d2a7d12" . - "a0010a1242617463684765744d656469614974656d7312332e676f6f676c" . - "652e70686f746f732e6c6962726172792e76312e42617463684765744d65" . - "6469614974656d73526571756573741a342e676f6f676c652e70686f746f" . - "732e6c6962726172792e76312e42617463684765744d656469614974656d" . - "73526573706f6e7365221f82d3e493021912172f76312f6d656469614974" . - "656d733a6261746368476574127b0a0a4c697374416c62756d73122b2e67" . - "6f6f676c652e70686f746f732e6c6962726172792e76312e4c697374416c" . - "62756d73526571756573741a2c2e676f6f676c652e70686f746f732e6c69" . - "62726172792e76312e4c697374416c62756d73526573706f6e7365221282" . - "d3e493020c120a2f76312f616c62756d7312720a08476574416c62756d12" . - "292e676f6f676c652e70686f746f732e6c6962726172792e76312e476574" . - "416c62756d526571756573741a1a2e676f6f676c652e70686f746f732e74" . - "797065732e416c62756d221f82d3e493021912172f76312f616c62756d73" . - "2f7b616c62756d5f69643d2a7d1287010a0e476574536861726564416c62" . - "756d122f2e676f6f676c652e70686f746f732e6c6962726172792e76312e" . - "476574536861726564416c62756d526571756573741a1a2e676f6f676c65" . - "2e70686f746f732e74797065732e416c62756d222882d3e493022212202f" . - "76312f736861726564416c62756d732f7b73686172655f746f6b656e3d2a" . - "7d12b7010a14416464456e726963686d656e74546f416c62756d12352e67" . - "6f6f676c652e70686f746f732e6c6962726172792e76312e416464456e72" . - "6963686d656e74546f416c62756d526571756573741a362e676f6f676c65" . + "696f6e2e506f736974696f6e5479706512200a1672656c61746976655f6d" . + "656469615f6974656d5f6964180220012809480012250a1b72656c617469" . + "76655f656e726963686d656e745f6974656d5f6964180320012809480022" . + "85010a0c506f736974696f6e54797065121d0a19504f534954494f4e5f54" . + "5950455f554e535045434946494544100012120a0e46495253545f494e5f" . + "414c42554d100112110a0d4c4153545f494e5f414c42554d100212140a10" . + "41465445525f4d454449415f4954454d100312190a1541465445525f454e" . + "524943484d454e545f4954454d1004420f0a0d72656c61746976655f6974" . + "656d2282010a124e65774d656469614974656d526573756c7412140a0c75" . + "706c6f61645f746f6b656e18012001280912220a06737461747573180220" . + "01280b32122e676f6f676c652e7270632e53746174757312320a0a6d6564" . + "69615f6974656d18032001280b321e2e676f6f676c652e70686f746f732e" . + "74797065732e4d656469614974656d22b2010a1c42617463684372656174" . + "654d656469614974656d735265717565737412100a08616c62756d5f6964" . + "180120012809123f0a0f6e65775f6d656469615f6974656d731802200328" . + "0b32262e676f6f676c652e70686f746f732e6c6962726172792e76312e4e" . + "65774d656469614974656d123f0a0e616c62756d5f706f736974696f6e18" . + "042001280b32272e676f6f676c652e70686f746f732e6c6962726172792e" . + "76312e416c62756d506f736974696f6e226d0a1d42617463684372656174" . + "654d656469614974656d73526573706f6e7365124c0a166e65775f6d6564" . + "69615f6974656d5f726573756c747318012003280b322c2e676f6f676c65" . + "2e70686f746f732e6c6962726172792e76312e4e65774d65646961497465" . + "6d526573756c74225e0a0a4461746546696c74657212200a056461746573" . + "18012003280b32112e676f6f676c652e747970652e44617465122e0a0672" . + "616e67657318022003280b321e2e676f6f676c652e70686f746f732e7479" . + "7065732e4461746552616e676522af010a0d436f6e74656e7446696c7465" . + "72124e0a1b696e636c756465645f636f6e74656e745f63617465676f7269" . + "657318012003280e32292e676f6f676c652e70686f746f732e6c69627261" . + "72792e76312e436f6e74656e7443617465676f7279124e0a1b6578636c75" . + "6465645f636f6e74656e745f63617465676f7269657318022003280e3229" . + "2e676f6f676c652e70686f746f732e6c6962726172792e76312e436f6e74" . + "656e7443617465676f7279228d010a0f4d656469615479706546696c7465" . + "7212480a0b6d656469615f747970657318012003280e32332e676f6f676c" . + "652e70686f746f732e6c6962726172792e76312e4d656469615479706546" . + "696c7465722e4d656469615479706522300a094d6564696154797065120d" . + "0a09414c4c5f4d45444941100012090a05564944454f100112090a055048" . + "4f544f1002227f0a0d4665617475726546696c746572124a0a11696e636c" . + "756465645f666561747572657318012003280e322f2e676f6f676c652e70" . + "686f746f732e6c6962726172792e76312e4665617475726546696c746572" . + "2e4665617475726522220a074665617475726512080a044e4f4e45100012" . + "0d0a094641564f5249544553100122d2020a0746696c7465727312390a0b" . + "646174655f66696c74657218012001280b32242e676f6f676c652e70686f" . + "746f732e6c6962726172792e76312e4461746546696c746572123f0a0e63" . + "6f6e74656e745f66696c74657218022001280b32272e676f6f676c652e70" . + "686f746f732e6c6962726172792e76312e436f6e74656e7446696c746572" . + "12440a116d656469615f747970655f66696c74657218032001280b32292e" . + "676f6f676c652e70686f746f732e6c6962726172792e76312e4d65646961" . + "5479706546696c746572123f0a0e666561747572655f66696c7465721807" . + "2001280b32272e676f6f676c652e70686f746f732e6c6962726172792e76" . + "312e4665617475726546696c746572121e0a16696e636c7564655f617263" . + "68697665645f6d6564696118042001280812240a1c6578636c7564655f6e" . + "6f6e5f6170705f637265617465645f646174611805200128082286010a17" . + "5365617263684d656469614974656d735265717565737412100a08616c62" . + "756d5f696418012001280912110a09706167655f73697a65180220012805" . + "12120a0a706167655f746f6b656e18032001280912320a0766696c746572" . + "7318042001280b32212e676f6f676c652e70686f746f732e6c6962726172" . + "792e76312e46696c7465727322680a185365617263684d65646961497465" . + "6d73526573706f6e736512330a0b6d656469615f6974656d731801200328" . + "0b321e2e676f6f676c652e70686f746f732e74797065732e4d6564696149" . + "74656d12170a0f6e6578745f706167655f746f6b656e180220012809223e" . + "0a154c6973744d656469614974656d735265717565737412110a09706167" . + "655f73697a6518012001280512120a0a706167655f746f6b656e18022001" . + "280922660a164c6973744d656469614974656d73526573706f6e73651233" . + "0a0b6d656469615f6974656d7318012003280b321e2e676f6f676c652e70" . + "686f746f732e74797065732e4d656469614974656d12170a0f6e6578745f" . + "706167655f746f6b656e180220012809222c0a134765744d656469614974" . + "656d5265717565737412150a0d6d656469615f6974656d5f696418012001" . + "280922600a114c697374416c62756d735265717565737412110a09706167" . + "655f73697a6518012001280512120a0a706167655f746f6b656e18022001" . + "280912240a1c6578636c7564655f6e6f6e5f6170705f637265617465645f" . + "6461746118032001280822590a124c697374416c62756d73526573706f6e" . + "7365122a0a06616c62756d7318012003280b321a2e676f6f676c652e7068" . + "6f746f732e74797065732e416c62756d12170a0f6e6578745f706167655f" . + "746f6b656e18022001280922230a0f476574416c62756d52657175657374" . + "12100a08616c62756d5f6964180120012809222c0a154765745368617265" . + "64416c62756d5265717565737412130a0b73686172655f746f6b656e1801" . + "20012809221e0a0e54657874456e726963686d656e74120c0a0474657874" . + "18012001280922460a084c6f636174696f6e12150a0d6c6f636174696f6e" . + "5f6e616d6518012001280912230a066c61746c6e6718022001280b32132e" . + "676f6f676c652e747970652e4c61744c6e67224a0a124c6f636174696f6e" . + "456e726963686d656e7412340a086c6f636174696f6e18012001280b3222" . + "2e676f6f676c652e70686f746f732e6c6962726172792e76312e4c6f6361" . + "74696f6e227c0a0d4d6170456e726963686d656e7412320a066f72696769" . + "6e18012001280b32222e676f6f676c652e70686f746f732e6c6962726172" . + "792e76312e4c6f636174696f6e12370a0b64657374696e6174696f6e1802" . + "2001280b32222e676f6f676c652e70686f746f732e6c6962726172792e76" . + "312e4c6f636174696f6e22f6010a114e6577456e726963686d656e744974" . + "656d12430a0f746578745f656e726963686d656e7418012001280b32282e" . + "676f6f676c652e70686f746f732e6c6962726172792e76312e5465787445" . + "6e726963686d656e744800124b0a136c6f636174696f6e5f656e72696368" . + "6d656e7418022001280b322c2e676f6f676c652e70686f746f732e6c6962" . + "726172792e76312e4c6f636174696f6e456e726963686d656e7448001241" . + "0a0e6d61705f656e726963686d656e7418032001280b32272e676f6f676c" . + "652e70686f746f732e6c6962726172792e76312e4d6170456e726963686d" . + "656e744800420c0a0a656e726963686d656e7422ba010a1b416464456e72" . + "6963686d656e74546f416c62756d5265717565737412100a08616c62756d" . + "5f696418012001280912480a136e65775f656e726963686d656e745f6974" . + "656d18022001280b322b2e676f6f676c652e70686f746f732e6c69627261" . + "72792e76312e4e6577456e726963686d656e744974656d123f0a0e616c62" . + "756d5f706f736974696f6e18032001280b32272e676f6f676c652e70686f" . + "746f732e6c6962726172792e76312e416c62756d506f736974696f6e221c" . + "0a0e456e726963686d656e744974656d120a0a0269641801200128092261" . + "0a1c416464456e726963686d656e74546f416c62756d526573706f6e7365" . + "12410a0f656e726963686d656e745f6974656d18012001280b32282e676f" . + "6f676c652e70686f746f732e6c6962726172792e76312e456e726963686d" . + "656e744974656d222d0a164a6f696e536861726564416c62756d52657175" . + "65737412130a0b73686172655f746f6b656e18012001280922440a174a6f" . + "696e536861726564416c62756d526573706f6e736512290a05616c62756d" . + "18012001280b321a2e676f6f676c652e70686f746f732e74797065732e41" . + "6c62756d222e0a174c65617665536861726564416c62756d526571756573" . + "7412130a0b73686172655f746f6b656e180120012809221a0a184c656176" . + "65536861726564416c62756d526573706f6e7365226c0a11536861726541" . + "6c62756d5265717565737412100a08616c62756d5f696418012001280912" . + "450a147368617265645f616c62756d5f6f7074696f6e7318022001280b32" . + "272e676f6f676c652e70686f746f732e74797065732e536861726564416c" . + "62756d4f7074696f6e7322480a125368617265416c62756d526573706f6e" . + "736512320a0a73686172655f696e666f18012001280b321e2e676f6f676c" . + "652e70686f746f732e74797065732e5368617265496e666f22660a174c69" . + "7374536861726564416c62756d735265717565737412110a09706167655f" . + "73697a6518012001280512120a0a706167655f746f6b656e180220012809" . + "12240a1c6578636c7564655f6e6f6e5f6170705f637265617465645f6461" . + "746118032001280822660a184c697374536861726564416c62756d735265" . + "73706f6e736512310a0d7368617265645f616c62756d7318012003280b32" . + "1a2e676f6f676c652e70686f746f732e74797065732e416c62756d12170a" . + "0f6e6578745f706167655f746f6b656e18022001280922270a13556e7368" . + "617265416c62756d5265717565737412100a08616c62756d5f6964180120" . + "01280922160a14556e7368617265416c62756d526573706f6e736522330a" . + "1942617463684765744d656469614974656d735265717565737412160a0e" . + "6d656469615f6974656d5f69647318012003280922630a1a426174636847" . + "65744d656469614974656d73526573706f6e736512450a126d656469615f" . + "6974656d5f726573756c747318012003280b32292e676f6f676c652e7068" . + "6f746f732e6c6962726172792e76312e4d656469614974656d526573756c" . + "7422690a0f4d656469614974656d526573756c7412220a06737461747573" . + "18012001280b32122e676f6f676c652e7270632e53746174757312320a0a" . + "6d656469615f6974656d18022001280b321e2e676f6f676c652e70686f74" . + "6f732e74797065732e4d656469614974656d224c0a204261746368416464" . + "4d656469614974656d73546f416c62756d5265717565737412160a0e6d65" . + "6469615f6974656d5f69647318012003280912100a08616c62756d5f6964" . + "18022001280922230a2142617463684164644d656469614974656d73546f" . + "416c62756d526573706f6e73652af8020a0f436f6e74656e744361746567" . + "6f727912080a044e4f4e451000120e0a0a4c414e44534341504553100112" . + "0c0a0852454345495054531002120e0a0a43495459534341504553100312" . + "0d0a094c414e444d41524b531004120b0a0753454c464945531005120a0a" . + "0650454f504c45100612080a04504554531007120c0a0857454444494e47" . + "531008120d0a094249525448444159531009120d0a09444f43554d454e54" . + "53100a120a0a0654524156454c100b120b0a07414e494d414c53100c1208" . + "0a04464f4f44100d12090a0553504f5254100e12090a054e49474854100f" . + "12100a0c504552464f524d414e4345531010120f0a0b5748495445424f41" . + "5244531011120f0a0b53435245454e53484f54531012120b0a075554494c" . + "495459101312080a04415254531014120a0a064352414654531015120b0a" . + "0746415348494f4e1016120a0a06484f555345531017120b0a0747415244" . + "454e531018120b0a07464c4f574552531019120c0a08484f4c4944415953" . + "101a32ac170a0d50686f746f734c696272617279126e0a0b437265617465" . + "416c62756d122c2e676f6f676c652e70686f746f732e6c6962726172792e" . + "76312e437265617465416c62756d526571756573741a1a2e676f6f676c65" . + "2e70686f746f732e74797065732e416c62756d221582d3e493020f220a2f" . + "76312f616c62756d733a012a12af010a1542617463684372656174654d65" . + "6469614974656d7312362e676f6f676c652e70686f746f732e6c69627261" . + "72792e76312e42617463684372656174654d656469614974656d73526571" . + "756573741a372e676f6f676c652e70686f746f732e6c6962726172792e76" . + "312e42617463684372656174654d656469614974656d73526573706f6e73" . + "65222582d3e493021f221a2f76312f6d656469614974656d733a62617463" . + "684372656174653a012a12cb010a1942617463684164644d656469614974" . + "656d73546f416c62756d123a2e676f6f676c652e70686f746f732e6c6962" . + "726172792e76312e42617463684164644d656469614974656d73546f416c" . + "62756d526571756573741a3b2e676f6f676c652e70686f746f732e6c6962" . + "726172792e76312e42617463684164644d656469614974656d73546f416c" . + "62756d526573706f6e7365223582d3e493022f222a2f76312f616c62756d" . + "732f7b616c62756d5f69643d2a7d3a62617463684164644d656469614974" . + "656d733a012a129b010a105365617263684d656469614974656d7312312e" . + "676f6f676c652e70686f746f732e6c6962726172792e76312e5365617263" . + "684d656469614974656d73526571756573741a322e676f6f676c652e7068" . + "6f746f732e6c6962726172792e76312e5365617263684d65646961497465" . + "6d73526573706f6e7365222082d3e493021a22152f76312f6d6564696149" . + "74656d733a7365617263683a012a128b010a0e4c6973744d656469614974" . + "656d73122f2e676f6f676c652e70686f746f732e6c6962726172792e7631" . + "2e4c6973744d656469614974656d73526571756573741a302e676f6f676c" . + "652e70686f746f732e6c6962726172792e76312e4c6973744d6564696149" . + "74656d73526573706f6e7365221682d3e4930210120e2f76312f6d656469" . + "614974656d731287010a0c4765744d656469614974656d122d2e676f6f67" . + "6c652e70686f746f732e6c6962726172792e76312e4765744d6564696149" . + "74656d526571756573741a1e2e676f6f676c652e70686f746f732e747970" . + "65732e4d656469614974656d222882d3e493022212202f76312f6d656469" . + "614974656d732f7b6d656469615f6974656d5f69643d2a7d12a0010a1242" . + "617463684765744d656469614974656d7312332e676f6f676c652e70686f" . + "746f732e6c6962726172792e76312e42617463684765744d656469614974" . + "656d73526571756573741a342e676f6f676c652e70686f746f732e6c6962" . + "726172792e76312e42617463684765744d656469614974656d7352657370" . + "6f6e7365221f82d3e493021912172f76312f6d656469614974656d733a62" . + "61746368476574127b0a0a4c697374416c62756d73122b2e676f6f676c65" . + "2e70686f746f732e6c6962726172792e76312e4c697374416c62756d7352" . + "6571756573741a2c2e676f6f676c652e70686f746f732e6c696272617279" . + "2e76312e4c697374416c62756d73526573706f6e7365221282d3e493020c" . + "120a2f76312f616c62756d7312720a08476574416c62756d12292e676f6f" . + "676c652e70686f746f732e6c6962726172792e76312e476574416c62756d" . + "526571756573741a1a2e676f6f676c652e70686f746f732e74797065732e" . + "416c62756d221f82d3e493021912172f76312f616c62756d732f7b616c62" . + "756d5f69643d2a7d1287010a0e476574536861726564416c62756d122f2e" . + "676f6f676c652e70686f746f732e6c6962726172792e76312e4765745368" . + "61726564416c62756d526571756573741a1a2e676f6f676c652e70686f74" . + "6f732e74797065732e416c62756d222882d3e493022212202f76312f7368" . + "61726564416c62756d732f7b73686172655f746f6b656e3d2a7d12b7010a" . + "14416464456e726963686d656e74546f416c62756d12352e676f6f676c65" . "2e70686f746f732e6c6962726172792e76312e416464456e726963686d65" . - "6e74546f416c62756d526573706f6e7365223082d3e493022a22252f7631" . - "2f616c62756d732f7b616c62756d5f69643d2a7d3a616464456e72696368" . - "6d656e743a012a1298010a0f4a6f696e536861726564416c62756d12302e" . - "676f6f676c652e70686f746f732e6c6962726172792e76312e4a6f696e53" . - "6861726564416c62756d526571756573741a312e676f6f676c652e70686f" . - "746f732e6c6962726172792e76312e4a6f696e536861726564416c62756d" . - "526573706f6e7365222082d3e493021a22152f76312f736861726564416c" . - "62756d733a6a6f696e3a012a129c010a104c65617665536861726564416c" . - "62756d12312e676f6f676c652e70686f746f732e6c6962726172792e7631" . - "2e4c65617665536861726564416c62756d526571756573741a322e676f6f" . - "676c652e70686f746f732e6c6962726172792e76312e4c65617665536861" . - "726564416c62756d526573706f6e7365222182d3e493021b22162f76312f" . - "736861726564416c62756d733a6c656176653a012a1291010a0a53686172" . - "65416c62756d122b2e676f6f676c652e70686f746f732e6c696272617279" . - "2e76312e5368617265416c62756d526571756573741a2c2e676f6f676c65" . - "2e70686f746f732e6c6962726172792e76312e5368617265416c62756d52" . - "6573706f6e7365222882d3e4930222221d2f76312f616c62756d732f7b61" . - "6c62756d5f69643d2a7d3a73686172653a012a1293010a104c6973745368" . - "61726564416c62756d7312312e676f6f676c652e70686f746f732e6c6962" . - "726172792e76312e4c697374536861726564416c62756d73526571756573" . - "741a322e676f6f676c652e70686f746f732e6c6962726172792e76312e4c" . - "697374536861726564416c62756d73526573706f6e7365221882d3e49302" . - "1212102f76312f736861726564416c62756d731299010a0c556e73686172" . - "65416c62756d122d2e676f6f676c652e70686f746f732e6c696272617279" . - "2e76312e556e7368617265416c62756d526571756573741a2e2e676f6f67" . - "6c652e70686f746f732e6c6962726172792e76312e556e7368617265416c" . - "62756d526573706f6e7365222a82d3e4930224221f2f76312f616c62756d" . - "732f7b616c62756d5f69643d2a7d3a756e73686172653a012a12dd010a1e" . - "426174636852656d6f76654d656469614974656d7346726f6d416c62756d" . - "123f2e676f6f676c652e70686f746f732e6c6962726172792e76312e4261" . + "6e74546f416c62756d526571756573741a362e676f6f676c652e70686f74" . + "6f732e6c6962726172792e76312e416464456e726963686d656e74546f41" . + "6c62756d526573706f6e7365223082d3e493022a22252f76312f616c6275" . + "6d732f7b616c62756d5f69643d2a7d3a616464456e726963686d656e743a" . + "012a1298010a0f4a6f696e536861726564416c62756d12302e676f6f676c" . + "652e70686f746f732e6c6962726172792e76312e4a6f696e536861726564" . + "416c62756d526571756573741a312e676f6f676c652e70686f746f732e6c" . + "6962726172792e76312e4a6f696e536861726564416c62756d526573706f" . + "6e7365222082d3e493021a22152f76312f736861726564416c62756d733a" . + "6a6f696e3a012a129c010a104c65617665536861726564416c62756d1231" . + "2e676f6f676c652e70686f746f732e6c6962726172792e76312e4c656176" . + "65536861726564416c62756d526571756573741a322e676f6f676c652e70" . + "686f746f732e6c6962726172792e76312e4c65617665536861726564416c" . + "62756d526573706f6e7365222182d3e493021b22162f76312f7368617265" . + "64416c62756d733a6c656176653a012a1291010a0a5368617265416c6275" . + "6d122b2e676f6f676c652e70686f746f732e6c6962726172792e76312e53" . + "68617265416c62756d526571756573741a2c2e676f6f676c652e70686f74" . + "6f732e6c6962726172792e76312e5368617265416c62756d526573706f6e" . + "7365222882d3e4930222221d2f76312f616c62756d732f7b616c62756d5f" . + "69643d2a7d3a73686172653a012a1293010a104c69737453686172656441" . + "6c62756d7312312e676f6f676c652e70686f746f732e6c6962726172792e" . + "76312e4c697374536861726564416c62756d73526571756573741a322e67" . + "6f6f676c652e70686f746f732e6c6962726172792e76312e4c6973745368" . + "61726564416c62756d73526573706f6e7365221882d3e493021212102f76" . + "312f736861726564416c62756d731299010a0c556e7368617265416c6275" . + "6d122d2e676f6f676c652e70686f746f732e6c6962726172792e76312e55" . + "6e7368617265416c62756d526571756573741a2e2e676f6f676c652e7068" . + "6f746f732e6c6962726172792e76312e556e7368617265416c62756d5265" . + "73706f6e7365222a82d3e4930224221f2f76312f616c62756d732f7b616c" . + "62756d5f69643d2a7d3a756e73686172653a012a12dd010a1e4261746368" . + "52656d6f76654d656469614974656d7346726f6d416c62756d123f2e676f" . + "6f676c652e70686f746f732e6c6962726172792e76312e42617463685265" . + "6d6f76654d656469614974656d7346726f6d416c62756d52657175657374" . + "1a402e676f6f676c652e70686f746f732e6c6962726172792e76312e4261" . "74636852656d6f76654d656469614974656d7346726f6d416c62756d5265" . - "71756573741a402e676f6f676c652e70686f746f732e6c6962726172792e" . - "76312e426174636852656d6f76654d656469614974656d7346726f6d416c" . - "62756d526573706f6e7365223882d3e4930232222d2f76312f616c62756d" . - "732f7b616c62756d5f69643d2a7d3a626174636852656d6f76654d656469" . - "614974656d733a012a427c0a22636f6d2e676f6f676c652e70686f746f73" . - "2e6c6962726172792e76312e70726f746f42134c69627261727953657276" . - "69636550726f746f50015a3f676f6f676c652e676f6c616e672e6f72672f" . - "67656e70726f746f2f676f6f676c65617069732f70686f746f732f6c6962" . - "726172792f76313b6c696272617279620670726f746f33" + "73706f6e7365223882d3e4930232222d2f76312f616c62756d732f7b616c" . + "62756d5f69643d2a7d3a626174636852656d6f76654d656469614974656d" . + "733a012a1abc02ca411c70686f746f736c6962726172792e676f6f676c65" . + "617069732e636f6dd241990268747470733a2f2f7777772e676f6f676c65" . + "617069732e636f6d2f617574682f70686f746f736c6962726172792c6874" . + "7470733a2f2f7777772e676f6f676c65617069732e636f6d2f617574682f" . + "70686f746f736c6962726172792e617070656e646f6e6c792c6874747073" . + "3a2f2f7777772e676f6f676c65617069732e636f6d2f617574682f70686f" . + "746f736c6962726172792e726561646f6e6c792c68747470733a2f2f7777" . + "772e676f6f676c65617069732e636f6d2f617574682f70686f746f736c69" . + "62726172792e726561646f6e6c792e61707063726561746564646174612c" . + "68747470733a2f2f7777772e676f6f676c65617069732e636f6d2f617574" . + "682f70686f746f736c6962726172792e73686172696e67427c0a22636f6d" . + "2e676f6f676c652e70686f746f732e6c6962726172792e76312e70726f74" . + "6f42134c6962726172795365727669636550726f746f50015a3f676f6f67" . + "6c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561" . + "7069732f70686f746f732f6c6962726172792f76313b6c69627261727962" . + "0670726f746f33" ), true); static::$is_initialized = true; diff --git a/src/GPBMetadata/Google/Photos/Types/Album.php b/src/GPBMetadata/Google/Photos/Types/Album.php index ffcf1fe..f0215d0 100644 --- a/src/GPBMetadata/Google/Photos/Types/Album.php +++ b/src/GPBMetadata/Google/Photos/Types/Album.php @@ -15,7 +15,7 @@ public static function initOnce() { return; } $pool->internalAddGeneratedFile(hex2bin( - "0ae3040a1f676f6f676c652f70686f746f732f74797065732f616c62756d" . + "0af5040a1f676f6f676c652f70686f746f732f74797065732f616c62756d" . "2e70726f746f1213676f6f676c652e70686f746f732e747970657322dd01" . "0a05416c62756d120a0a026964180120012809120d0a057469746c651802" . "2001280912130a0b70726f647563745f75726c18032001280912140a0c69" . @@ -24,18 +24,19 @@ public static function initOnce() { "5368617265496e666f12190a116d656469615f6974656d735f636f756e74" . "180620012803121c0a14636f7665725f70686f746f5f626173655f75726c" . "18072001280912210a19636f7665725f70686f746f5f6d656469615f6974" . - "656d5f69641808200128092291010a095368617265496e666f12450a1473" . + "656d5f696418082001280922a3010a095368617265496e666f12450a1473" . "68617265645f616c62756d5f6f7074696f6e7318012001280b32272e676f" . "6f676c652e70686f746f732e74797065732e536861726564416c62756d4f" . "7074696f6e7312150a0d736861726561626c655f75726c18022001280912" . "130a0b73686172655f746f6b656e18032001280912110a0969735f6a6f69" . - "6e656418042001280822460a12536861726564416c62756d4f7074696f6e" . - "7312180a1069735f636f6c6c61626f72617469766518012001280812160a" . - "0e69735f636f6d6d656e7461626c6518022001280842670a1d636f6d2e67" . - "6f6f676c652e70686f746f732e74797065732e70726f746f420a416c6275" . - "6d50726f746f50015a38676f6f676c652e676f6c616e672e6f72672f6765" . - "6e70726f746f2f676f6f676c65617069732f70686f746f732f7479706573" . - "3b7479706573620670726f746f33" + "6e656418042001280812100a0869735f6f776e656418052001280822460a" . + "12536861726564416c62756d4f7074696f6e7312180a1069735f636f6c6c" . + "61626f72617469766518012001280812160a0e69735f636f6d6d656e7461" . + "626c6518022001280842670a1d636f6d2e676f6f676c652e70686f746f73" . + "2e74797065732e70726f746f420a416c62756d50726f746f50015a38676f" . + "6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c" . + "65617069732f70686f746f732f74797065733b7479706573620670726f74" . + "6f33" ), true); static::$is_initialized = true; diff --git a/src/Google/Photos/Library/V1/Gapic/PhotosLibraryGapicClient.php b/src/Google/Photos/Library/V1/Gapic/PhotosLibraryGapicClient.php index cafc8ff..2ec5c10 100644 --- a/src/Google/Photos/Library/V1/Gapic/PhotosLibraryGapicClient.php +++ b/src/Google/Photos/Library/V1/Gapic/PhotosLibraryGapicClient.php @@ -260,8 +260,9 @@ public function createAlbum($album, array $optionalArgs = []) * Uploading media. * * This call adds the media item to the library. If an album `id` is - * specified, the call adds the media item to the album too. By default, the - * media item will be added to the end of the library or album. + * specified, the call adds the media item to the album too. Each album can + * contain up to 20,000 media items. By default, the media item will be added + * to the end of the library or album. * * If an album `id` and position are both defined, the media item is * added to the album at the specified position. @@ -335,6 +336,8 @@ public function batchCreateMediaItems($newMediaItems, array $optionalArgs = []) * Media items are added to the end of the album. If multiple media items are * given, they are added in the order specified in this call. * + * Each album can contain up to 20,000 media items. + * * Only media items that are in the user's library can be added to an * album. For albums that are shared, the album must either be owned by the * user or the user must have joined the album as a collaborator. diff --git a/src/Google/Photos/Library/V1/PhotosLibraryGrpcClient.php b/src/Google/Photos/Library/V1/PhotosLibraryGrpcClient.php index 876194c..a49a056 100644 --- a/src/Google/Photos/Library/V1/PhotosLibraryGrpcClient.php +++ b/src/Google/Photos/Library/V1/PhotosLibraryGrpcClient.php @@ -62,8 +62,9 @@ public function CreateAlbum(\Google\Photos\Library\V1\CreateAlbumRequest $argume * Uploading media. * * This call adds the media item to the library. If an album `id` is - * specified, the call adds the media item to the album too. By default, the - * media item will be added to the end of the library or album. + * specified, the call adds the media item to the album too. Each album can + * contain up to 20,000 media items. By default, the media item will be added + * to the end of the library or album. * * If an album `id` and position are both defined, the media item is * added to the album at the specified position. @@ -93,6 +94,8 @@ public function BatchCreateMediaItems(\Google\Photos\Library\V1\BatchCreateMedia * Media items are added to the end of the album. If multiple media items are * given, they are added in the order specified in this call. * + * Each album can contain up to 20,000 media items. + * * Only media items that are in the user's library can be added to an * album. For albums that are shared, the album must either be owned by the * user or the user must have joined the album as a collaborator. diff --git a/src/Google/Photos/Types/ShareInfo.php b/src/Google/Photos/Types/ShareInfo.php index c9db07a..bde1d96 100644 --- a/src/Google/Photos/Types/ShareInfo.php +++ b/src/Google/Photos/Types/ShareInfo.php @@ -44,6 +44,12 @@ class ShareInfo extends \Google\Protobuf\Internal\Message * Generated from protobuf field bool is_joined = 4; */ private $is_joined = false; + /** + * True if the user owns the album. + * + * Generated from protobuf field bool is_owned = 5; + */ + private $is_owned = false; /** * Constructor. @@ -63,6 +69,8 @@ class ShareInfo extends \Google\Protobuf\Internal\Message * @type bool $is_joined * True if the user has joined the album. This is always true for the owner * of the shared album. + * @type bool $is_owned + * True if the user owns the album. * } */ public function __construct($data = NULL) { @@ -182,5 +190,31 @@ public function setIsJoined($var) return $this; } + /** + * True if the user owns the album. + * + * Generated from protobuf field bool is_owned = 5; + * @return bool + */ + public function getIsOwned() + { + return $this->is_owned; + } + + /** + * True if the user owns the album. + * + * Generated from protobuf field bool is_owned = 5; + * @param bool $var + * @return $this + */ + public function setIsOwned($var) + { + GPBUtil::checkBool($var); + $this->is_owned = $var; + + return $this; + } + } diff --git a/tests/Unit/V1/PhotosLibraryClientTest.php b/tests/Unit/V1/PhotosLibraryClientTest.php index e6846e0..07576c9 100644 --- a/tests/Unit/V1/PhotosLibraryClientTest.php +++ b/tests/Unit/V1/PhotosLibraryClientTest.php @@ -49,7 +49,7 @@ use stdClass; /** - * @group photoslibrary + * @group library * @group gapic */ class PhotosLibraryClientTest extends GeneratedTest @@ -62,15 +62,23 @@ private function createTransport($deserialize = null) return new MockTransport($deserialize); } + /** + * @return CredentialsWrapper + */ + private function createCredentials() + { + return $this->getMockBuilder(CredentialsWrapper::class) + ->disableOriginalConstructor() + ->getMock(); + } + /** * @return PhotosLibraryClient */ private function createClient(array $options = []) { $options += [ - 'credentials' => $this->getMockBuilder(CredentialsWrapper::class) - ->disableOriginalConstructor() - ->getMock(), + 'credentials' => $this->createCredentials(), ]; return new PhotosLibraryClient($options);