From f99201ee2c6fe705c1721b41b24ca6de776f8f9e Mon Sep 17 00:00:00 2001 From: Takashi Matsuo Date: Thu, 8 Nov 2018 09:50:58 -0800 Subject: [PATCH] Comment update, add several helper methods (#1408) --- Container/metadata/V1/ClusterService.php | 1106 +++++++++-------- Container/src/V1/CancelOperationRequest.php | 92 +- Container/src/V1/Cluster.php | 202 ++- Container/src/V1/Cluster/Status.php | 7 + Container/src/V1/ClusterManagerGrpcClient.php | 25 +- Container/src/V1/ClusterUpdate.php | 88 +- .../src/V1/CompleteIPRotationRequest.php | 92 +- Container/src/V1/CreateClusterRequest.php | 74 +- Container/src/V1/CreateNodePoolRequest.php | 96 +- Container/src/V1/DeleteClusterRequest.php | 92 +- Container/src/V1/DeleteNodePoolRequest.php | 114 +- .../V1/Gapic/ClusterManagerGapicClient.php | 531 ++++++-- Container/src/V1/GetClusterRequest.php | 92 +- Container/src/V1/GetNodePoolRequest.php | 114 +- Container/src/V1/GetOperationRequest.php | 92 +- Container/src/V1/GetServerConfigRequest.php | 84 +- Container/src/V1/IPAllocationPolicy.php | 18 +- Container/src/V1/ListClustersRequest.php | 78 +- Container/src/V1/ListNodePoolsRequest.php | 92 +- Container/src/V1/ListOperationsRequest.php | 86 +- Container/src/V1/MasterAuth.php | 20 +- .../src/V1/MasterAuthorizedNetworksConfig.php | 1 - Container/src/V1/NodeConfig.php | 106 +- Container/src/V1/Operation.php | 56 +- Container/src/V1/PrivateClusterConfig.php | 223 ++++ .../src/V1/RollbackNodePoolUpgradeRequest.php | 114 +- Container/src/V1/ServerConfig.php | 2 +- Container/src/V1/SetAddonsConfigRequest.php | 92 +- Container/src/V1/SetLabelsRequest.php | 100 +- Container/src/V1/SetLegacyAbacRequest.php | 92 +- Container/src/V1/SetLocationsRequest.php | 92 +- Container/src/V1/SetLoggingServiceRequest.php | 86 +- .../src/V1/SetMaintenancePolicyRequest.php | 42 + Container/src/V1/SetMasterAuthRequest.php | 92 +- .../src/V1/SetMonitoringServiceRequest.php | 92 +- Container/src/V1/SetNetworkPolicyRequest.php | 92 +- .../src/V1/SetNodePoolAutoscalingRequest.php | 114 +- .../src/V1/SetNodePoolManagementRequest.php | 114 +- Container/src/V1/SetNodePoolSizeRequest.php | 114 +- Container/src/V1/StartIPRotationRequest.php | 126 +- Container/src/V1/UpdateClusterRequest.php | 92 +- Container/src/V1/UpdateMasterRequest.php | 136 +- Container/src/V1/UpdateNodePoolRequest.php | 154 ++- .../cluster_manager_client_config.json | 60 +- .../cluster_manager_rest_client_config.php | 698 +++++------ .../Unit/V1/ClusterManagerClientTest.php | 48 + 46 files changed, 4326 insertions(+), 1807 deletions(-) create mode 100644 Container/src/V1/PrivateClusterConfig.php diff --git a/Container/metadata/V1/ClusterService.php b/Container/metadata/V1/ClusterService.php index a5e99a757b12..8240d9a39b77 100644 --- a/Container/metadata/V1/ClusterService.php +++ b/Container/metadata/V1/ClusterService.php @@ -17,520 +17,626 @@ public static function initOnce() { \GPBMetadata\Google\Api\Annotations::initOnce(); \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0aa5780a29676f6f676c652f636f6e7461696e65722f76312f636c757374" . - "65725f736572766963652e70726f746f1213676f6f676c652e636f6e7461" . - "696e65722e76311a1b676f6f676c652f70726f746f6275662f656d707479" . - "2e70726f746f22ed030a0a4e6f6465436f6e66696712140a0c6d61636869" . - "6e655f7479706518012001280912140a0c6469736b5f73697a655f676218" . - "022001280512140a0c6f617574685f73636f70657318032003280912170a" . - "0f736572766963655f6163636f756e74180920012809123f0a086d657461" . - "6461746118042003280b322d2e676f6f676c652e636f6e7461696e65722e" . - "76312e4e6f6465436f6e6669672e4d65746164617461456e74727912120a" . - "0a696d6167655f74797065180520012809123b0a066c6162656c73180620" . - "03280b322b2e676f6f676c652e636f6e7461696e65722e76312e4e6f6465" . - "436f6e6669672e4c6162656c73456e74727912170a0f6c6f63616c5f7373" . - "645f636f756e74180720012805120c0a047461677318082003280912130a" . - "0b707265656d707469626c65180a20012808123c0a0c616363656c657261" . - "746f7273180b2003280b32262e676f6f676c652e636f6e7461696e65722e" . - "76312e416363656c657261746f72436f6e66696712180a106d696e5f6370" . - "755f706c6174666f726d180d200128091a2f0a0d4d65746164617461456e" . - "747279120b0a036b6579180120012809120d0a0576616c75651802200128" . - "093a0238011a2d0a0b4c6162656c73456e747279120b0a036b6579180120" . - "012809120d0a0576616c75651802200128093a02380122d1010a0a4d6173" . - "7465724175746812100a08757365726e616d6518012001280912100a0870" . - "617373776f7264180220012809124f0a19636c69656e745f636572746966" . - "69636174655f636f6e66696718032001280b322c2e676f6f676c652e636f" . - "6e7461696e65722e76312e436c69656e744365727469666963617465436f" . - "6e666967121e0a16636c75737465725f63615f6365727469666963617465" . - "186420012809121a0a12636c69656e745f63657274696669636174651865" . - "2001280912120a0a636c69656e745f6b6579186620012809223b0a17436c" . - "69656e744365727469666963617465436f6e66696712200a186973737565" . - "5f636c69656e745f636572746966696361746518012001280822b7020a0c" . - "4164646f6e73436f6e66696712430a13687474705f6c6f61645f62616c61" . - "6e63696e6718012001280b32262e676f6f676c652e636f6e7461696e6572" . - "2e76312e487474704c6f616442616c616e63696e6712510a1a686f72697a" . - "6f6e74616c5f706f645f6175746f7363616c696e6718022001280b322d2e" . - "676f6f676c652e636f6e7461696e65722e76312e486f72697a6f6e74616c" . - "506f644175746f7363616c696e6712460a146b756265726e657465735f64" . - "617368626f61726418032001280b32282e676f6f676c652e636f6e746169" . - "6e65722e76312e4b756265726e6574657344617368626f61726412470a15" . - "6e6574776f726b5f706f6c6963795f636f6e66696718042001280b32282e" . - "676f6f676c652e636f6e7461696e65722e76312e4e6574776f726b506f6c" . - "696379436f6e66696722250a11487474704c6f616442616c616e63696e67" . - "12100a0864697361626c6564180120012808222c0a18486f72697a6f6e74" . - "616c506f644175746f7363616c696e6712100a0864697361626c65641801" . - "2001280822270a134b756265726e6574657344617368626f61726412100a" . - "0864697361626c656418012001280822270a134e6574776f726b506f6c69" . - "6379436f6e66696712100a0864697361626c656418012001280822bc010a" . - "1e4d6173746572417574686f72697a65644e6574776f726b73436f6e6669" . - "67120f0a07656e61626c656418012001280812520a0b636964725f626c6f" . - "636b7318022003280b323d2e676f6f676c652e636f6e7461696e65722e76" . - "312e4d6173746572417574686f72697a65644e6574776f726b73436f6e66" . - "69672e43696472426c6f636b1a350a0943696472426c6f636b12140a0c64" . - "6973706c61795f6e616d6518012001280912120a0a636964725f626c6f63" . - "6b180220012809221d0a0a4c656761637941626163120f0a07656e61626c" . - "65641801200128082291010a0d4e6574776f726b506f6c696379123d0a08" . - "70726f766964657218012001280e322b2e676f6f676c652e636f6e746169" . - "6e65722e76312e4e6574776f726b506f6c6963792e50726f766964657212" . - "0f0a07656e61626c656418022001280822300a0850726f76696465721218" . - "0a1450524f56494445525f554e5350454349464945441000120a0a064341" . - "4c49434f100122dd020a124950416c6c6f636174696f6e506f6c69637912" . - "160a0e7573655f69705f616c696173657318012001280812190a11637265" . - "6174655f7375626e6574776f726b18022001280812170a0f7375626e6574" . - "776f726b5f6e616d6518032001280912190a11636c75737465725f697076" . - "345f6369647218042001280912160a0e6e6f64655f697076345f63696472" . - "180520012809121a0a1273657276696365735f697076345f636964721806" . - "2001280912240a1c636c75737465725f7365636f6e646172795f72616e67" . - "655f6e616d6518072001280912250a1d73657276696365735f7365636f6e" . - "646172795f72616e67655f6e616d65180820012809121f0a17636c757374" . - "65725f697076345f636964725f626c6f636b180920012809121c0a146e6f" . - "64655f697076345f636964725f626c6f636b180a2001280912200a187365" . - "7276696365735f697076345f636964725f626c6f636b180b2001280922aa" . - "0b0a07436c7573746572120c0a046e616d6518012001280912130a0b6465" . - "736372697074696f6e180220012809121a0a12696e697469616c5f6e6f64" . - "655f636f756e7418032001280512340a0b6e6f64655f636f6e6669671804" . - "2001280b321f2e676f6f676c652e636f6e7461696e65722e76312e4e6f64" . - "65436f6e66696712340a0b6d61737465725f6175746818052001280b321f" . - "2e676f6f676c652e636f6e7461696e65722e76312e4d6173746572417574" . - "6812170a0f6c6f6767696e675f73657276696365180620012809121a0a12" . - "6d6f6e69746f72696e675f73657276696365180720012809120f0a076e65" . - "74776f726b18082001280912190a11636c75737465725f697076345f6369" . - "647218092001280912380a0d6164646f6e735f636f6e666967180a200128" . - "0b32212e676f6f676c652e636f6e7461696e65722e76312e4164646f6e73" . - "436f6e66696712120a0a7375626e6574776f726b180b2001280912310a0a" . - "6e6f64655f706f6f6c73180c2003280b321d2e676f6f676c652e636f6e74" . - "61696e65722e76312e4e6f6465506f6f6c12110a096c6f636174696f6e73" . - "180d20032809121f0a17656e61626c655f6b756265726e657465735f616c" . - "706861180e2001280812490a0f7265736f757263655f6c6162656c73180f" . - "2003280b32302e676f6f676c652e636f6e7461696e65722e76312e436c75" . - "737465722e5265736f757263654c6162656c73456e74727912190a116c61" . - "62656c5f66696e6765727072696e7418102001280912340a0b6c65676163" . - "795f6162616318122001280b321f2e676f6f676c652e636f6e7461696e65" . - "722e76312e4c656761637941626163123a0a0e6e6574776f726b5f706f6c" . - "69637918132001280b32222e676f6f676c652e636f6e7461696e65722e76" . - "312e4e6574776f726b506f6c69637912450a1469705f616c6c6f63617469" . - "6f6e5f706f6c69637918142001280b32272e676f6f676c652e636f6e7461" . - "696e65722e76312e4950416c6c6f636174696f6e506f6c696379125e0a21" . - "6d61737465725f617574686f72697a65645f6e6574776f726b735f636f6e" . - "66696718162001280b32332e676f6f676c652e636f6e7461696e65722e76" . - "312e4d6173746572417574686f72697a65644e6574776f726b73436f6e66" . - "696712420a126d61696e74656e616e63655f706f6c69637918172001280b" . - "32262e676f6f676c652e636f6e7461696e65722e76312e4d61696e74656e" . - "616e6365506f6c69637912110a0973656c665f6c696e6b18642001280912" . - "0c0a047a6f6e6518652001280912100a08656e64706f696e741866200128" . - "09121f0a17696e697469616c5f636c75737465725f76657273696f6e1867" . - "20012809121e0a1663757272656e745f6d61737465725f76657273696f6e" . - "186820012809121c0a1463757272656e745f6e6f64655f76657273696f6e" . - "18692001280912130a0b6372656174655f74696d65186a2001280912330a" . - "06737461747573186b2001280e32232e676f6f676c652e636f6e7461696e" . - "65722e76312e436c75737465722e53746174757312160a0e737461747573" . - "5f6d657373616765186c20012809121b0a136e6f64655f697076345f6369" . - "64725f73697a65186d20012805121a0a1273657276696365735f69707634" . - "5f63696472186e20012809121b0a13696e7374616e63655f67726f75705f" . - "75726c73186f20032809121a0a1263757272656e745f6e6f64655f636f75" . - "6e7418702001280512130a0b6578706972655f74696d651871200128091a" . + "0a8a91010a29676f6f676c652f636f6e7461696e65722f76312f636c7573" . + "7465725f736572766963652e70726f746f1213676f6f676c652e636f6e74" . + "61696e65722e76311a1b676f6f676c652f70726f746f6275662f656d7074" . + "792e70726f746f2280040a0a4e6f6465436f6e66696712140a0c6d616368" . + "696e655f7479706518012001280912140a0c6469736b5f73697a655f6762" . + "18022001280512140a0c6f617574685f73636f7065731803200328091217" . + "0a0f736572766963655f6163636f756e74180920012809123f0a086d6574" . + "616461746118042003280b322d2e676f6f676c652e636f6e7461696e6572" . + "2e76312e4e6f6465436f6e6669672e4d65746164617461456e7472791212" . + "0a0a696d6167655f74797065180520012809123b0a066c6162656c731806" . + "2003280b322b2e676f6f676c652e636f6e7461696e65722e76312e4e6f64" . + "65436f6e6669672e4c6162656c73456e74727912170a0f6c6f63616c5f73" . + "73645f636f756e74180720012805120c0a04746167731808200328091213" . + "0a0b707265656d707469626c65180a20012808123c0a0c616363656c6572" . + "61746f7273180b2003280b32262e676f6f676c652e636f6e7461696e6572" . + "2e76312e416363656c657261746f72436f6e66696712110a096469736b5f" . + "74797065180c2001280912180a106d696e5f6370755f706c6174666f726d" . + "180d200128091a2f0a0d4d65746164617461456e747279120b0a036b6579" . + "180120012809120d0a0576616c75651802200128093a0238011a2d0a0b4c" . + "6162656c73456e747279120b0a036b6579180120012809120d0a0576616c" . + "75651802200128093a02380122d1010a0a4d61737465724175746812100a" . + "08757365726e616d6518012001280912100a0870617373776f7264180220" . + "012809124f0a19636c69656e745f63657274696669636174655f636f6e66" . + "696718032001280b322c2e676f6f676c652e636f6e7461696e65722e7631" . + "2e436c69656e744365727469666963617465436f6e666967121e0a16636c" . + "75737465725f63615f6365727469666963617465186420012809121a0a12" . + "636c69656e745f636572746966696361746518652001280912120a0a636c" . + "69656e745f6b6579186620012809223b0a17436c69656e74436572746966" . + "6963617465436f6e66696712200a1869737375655f636c69656e745f6365" . + "72746966696361746518012001280822b7020a0c4164646f6e73436f6e66" . + "696712430a13687474705f6c6f61645f62616c616e63696e671801200128" . + "0b32262e676f6f676c652e636f6e7461696e65722e76312e487474704c6f" . + "616442616c616e63696e6712510a1a686f72697a6f6e74616c5f706f645f" . + "6175746f7363616c696e6718022001280b322d2e676f6f676c652e636f6e" . + "7461696e65722e76312e486f72697a6f6e74616c506f644175746f736361" . + "6c696e6712460a146b756265726e657465735f64617368626f6172641803" . + "2001280b32282e676f6f676c652e636f6e7461696e65722e76312e4b7562" . + "65726e6574657344617368626f61726412470a156e6574776f726b5f706f" . + "6c6963795f636f6e66696718042001280b32282e676f6f676c652e636f6e" . + "7461696e65722e76312e4e6574776f726b506f6c696379436f6e66696722" . + "250a11487474704c6f616442616c616e63696e6712100a0864697361626c" . + "6564180120012808222c0a18486f72697a6f6e74616c506f644175746f73" . + "63616c696e6712100a0864697361626c656418012001280822270a134b75" . + "6265726e6574657344617368626f61726412100a0864697361626c656418" . + "012001280822270a134e6574776f726b506f6c696379436f6e6669671210" . + "0a0864697361626c656418012001280822a8010a1450726976617465436c" . + "7573746572436f6e666967121c0a14656e61626c655f707269766174655f" . + "6e6f646573180120012808121f0a17656e61626c655f707269766174655f" . + "656e64706f696e74180220012808121e0a166d61737465725f697076345f" . + "636964725f626c6f636b18032001280912180a10707269766174655f656e" . + "64706f696e7418042001280912170a0f7075626c69635f656e64706f696e" . + "7418052001280922bc010a1e4d6173746572417574686f72697a65644e65" . + "74776f726b73436f6e666967120f0a07656e61626c656418012001280812" . + "520a0b636964725f626c6f636b7318022003280b323d2e676f6f676c652e" . + "636f6e7461696e65722e76312e4d6173746572417574686f72697a65644e" . + "6574776f726b73436f6e6669672e43696472426c6f636b1a350a09436964" . + "72426c6f636b12140a0c646973706c61795f6e616d651801200128091212" . + "0a0a636964725f626c6f636b180220012809221d0a0a4c65676163794162" . + "6163120f0a07656e61626c65641801200128082291010a0d4e6574776f72" . + "6b506f6c696379123d0a0870726f766964657218012001280e322b2e676f" . + "6f676c652e636f6e7461696e65722e76312e4e6574776f726b506f6c6963" . + "792e50726f7669646572120f0a07656e61626c656418022001280822300a" . + "0850726f766964657212180a1450524f56494445525f554e535045434946" . + "4945441000120a0a0643414c49434f100122e9020a124950416c6c6f6361" . + "74696f6e506f6c69637912160a0e7573655f69705f616c69617365731801" . + "2001280812190a116372656174655f7375626e6574776f726b1802200128" . + "0812170a0f7375626e6574776f726b5f6e616d65180320012809121d0a11" . + "636c75737465725f697076345f6369647218042001280942021801121a0a" . + "0e6e6f64655f697076345f6369647218052001280942021801121e0a1273" . + "657276696365735f697076345f636964721806200128094202180112240a" . + "1c636c75737465725f7365636f6e646172795f72616e67655f6e616d6518" . + "072001280912250a1d73657276696365735f7365636f6e646172795f7261" . + "6e67655f6e616d65180820012809121f0a17636c75737465725f69707634" . + "5f636964725f626c6f636b180920012809121c0a146e6f64655f69707634" . + "5f636964725f626c6f636b180a2001280912200a1873657276696365735f" . + "697076345f636964725f626c6f636b180b2001280922dd0c0a07436c7573" . + "746572120c0a046e616d6518012001280912130a0b646573637269707469" . + "6f6e180220012809121a0a12696e697469616c5f6e6f64655f636f756e74" . + "18032001280512340a0b6e6f64655f636f6e66696718042001280b321f2e" . + "676f6f676c652e636f6e7461696e65722e76312e4e6f6465436f6e666967" . + "12340a0b6d61737465725f6175746818052001280b321f2e676f6f676c65" . + "2e636f6e7461696e65722e76312e4d61737465724175746812170a0f6c6f" . + "6767696e675f73657276696365180620012809121a0a126d6f6e69746f72" . + "696e675f73657276696365180720012809120f0a076e6574776f726b1808" . + "2001280912190a11636c75737465725f697076345f636964721809200128" . + "0912380a0d6164646f6e735f636f6e666967180a2001280b32212e676f6f" . + "676c652e636f6e7461696e65722e76312e4164646f6e73436f6e66696712" . + "120a0a7375626e6574776f726b180b2001280912310a0a6e6f64655f706f" . + "6f6c73180c2003280b321d2e676f6f676c652e636f6e7461696e65722e76" . + "312e4e6f6465506f6f6c12110a096c6f636174696f6e73180d2003280912" . + "1f0a17656e61626c655f6b756265726e657465735f616c706861180e2001" . + "280812490a0f7265736f757263655f6c6162656c73180f2003280b32302e" . + "676f6f676c652e636f6e7461696e65722e76312e436c75737465722e5265" . + "736f757263654c6162656c73456e74727912190a116c6162656c5f66696e" . + "6765727072696e7418102001280912340a0b6c65676163795f6162616318" . + "122001280b321f2e676f6f676c652e636f6e7461696e65722e76312e4c65" . + "6761637941626163123a0a0e6e6574776f726b5f706f6c69637918132001" . + "280b32222e676f6f676c652e636f6e7461696e65722e76312e4e6574776f" . + "726b506f6c69637912450a1469705f616c6c6f636174696f6e5f706f6c69" . + "637918142001280b32272e676f6f676c652e636f6e7461696e65722e7631" . + "2e4950416c6c6f636174696f6e506f6c696379125e0a216d61737465725f" . + "617574686f72697a65645f6e6574776f726b735f636f6e66696718162001" . + "280b32332e676f6f676c652e636f6e7461696e65722e76312e4d61737465" . + "72417574686f72697a65644e6574776f726b73436f6e66696712420a126d" . + "61696e74656e616e63655f706f6c69637918172001280b32262e676f6f67" . + "6c652e636f6e7461696e65722e76312e4d61696e74656e616e6365506f6c" . + "696379123a0a0e6e6574776f726b5f636f6e666967181b2001280b32222e" . + "676f6f676c652e636f6e7461696e65722e76312e4e6574776f726b436f6e" . + "66696712490a16707269766174655f636c75737465725f636f6e66696718" . + "252001280b32292e676f6f676c652e636f6e7461696e65722e76312e5072" . + "6976617465436c7573746572436f6e66696712110a0973656c665f6c696e" . + "6b18642001280912100a047a6f6e651865200128094202180112100a0865" . + "6e64706f696e74186620012809121f0a17696e697469616c5f636c757374" . + "65725f76657273696f6e186720012809121e0a1663757272656e745f6d61" . + "737465725f76657273696f6e18682001280912200a1463757272656e745f" . + "6e6f64655f76657273696f6e1869200128094202180112130a0b63726561" . + "74655f74696d65186a2001280912330a06737461747573186b2001280e32" . + "232e676f6f676c652e636f6e7461696e65722e76312e436c75737465722e" . + "53746174757312160a0e7374617475735f6d657373616765186c20012809" . + "121b0a136e6f64655f697076345f636964725f73697a65186d2001280512" . + "1a0a1273657276696365735f697076345f63696472186e20012809121f0a" . + "13696e7374616e63655f67726f75705f75726c73186f2003280942021801" . + "121a0a1263757272656e745f6e6f64655f636f756e741870200128051213" . + "0a0b6578706972655f74696d6518712001280912100a086c6f636174696f" . + "6e1872200128091a350a135265736f757263654c6162656c73456e747279" . + "120b0a036b6579180120012809120d0a0576616c75651802200128093a02" . + "380122770a0653746174757312160a125354415455535f554e5350454349" . + "46494544100012100a0c50524f564953494f4e494e471001120b0a075255" . + "4e4e494e471002120f0a0b5245434f4e43494c494e471003120c0a085354" . + "4f5050494e47100412090a054552524f521005120c0a0844454752414445" . + "44100622c1030a0d436c7573746572557064617465121c0a146465736972" . + "65645f6e6f64655f76657273696f6e18042001280912220a1a6465736972" . + "65645f6d6f6e69746f72696e675f7365727669636518052001280912400a" . + "15646573697265645f6164646f6e735f636f6e66696718062001280b3221" . + "2e676f6f676c652e636f6e7461696e65722e76312e4164646f6e73436f6e" . + "666967121c0a14646573697265645f6e6f64655f706f6f6c5f6964180720" . + "012809121a0a12646573697265645f696d6167655f747970651808200128" . + "09124f0a1d646573697265645f6e6f64655f706f6f6c5f6175746f736361" . + "6c696e6718092001280b32282e676f6f676c652e636f6e7461696e65722e" . + "76312e4e6f6465506f6f6c4175746f7363616c696e6712190a1164657369" . + "7265645f6c6f636174696f6e73180a2003280912660a2964657369726564" . + "5f6d61737465725f617574686f72697a65645f6e6574776f726b735f636f" . + "6e666967180c2001280b32332e676f6f676c652e636f6e7461696e65722e" . + "76312e4d6173746572417574686f72697a65644e6574776f726b73436f6e" . + "666967121e0a16646573697265645f6d61737465725f76657273696f6e18" . + "642001280922fb050a094f7065726174696f6e120c0a046e616d65180120" . + "01280912100a047a6f6e6518022001280942021801123b0a0e6f70657261" . + "74696f6e5f7479706518032001280e32232e676f6f676c652e636f6e7461" . + "696e65722e76312e4f7065726174696f6e2e5479706512350a0673746174" . + "757318042001280e32252e676f6f676c652e636f6e7461696e65722e7631" . + "2e4f7065726174696f6e2e537461747573120e0a0664657461696c180820" . + "01280912160a0e7374617475735f6d65737361676518052001280912110a" . + "0973656c665f6c696e6b18062001280912130a0b7461726765745f6c696e" . + "6b18072001280912100a086c6f636174696f6e18092001280912120a0a73" . + "746172745f74696d65180a2001280912100a08656e645f74696d65180b20" . + "01280922520a0653746174757312160a125354415455535f554e53504543" . + "49464945441000120b0a0750454e44494e471001120b0a0752554e4e494e" . + "47100212080a04444f4e451003120c0a0841424f5254494e47100422fd02" . + "0a045479706512140a10545950455f554e53504543494649454410001212" . + "0a0e4352454154455f434c5553544552100112120a0e44454c4554455f43" . + "4c5553544552100212120a0e555047524144455f4d415354455210031211" . + "0a0d555047524144455f4e4f444553100412120a0e5245504149525f434c" . + "5553544552100512120a0e5550444154455f434c5553544552100612140a" . + "104352454154455f4e4f44455f504f4f4c100712140a1044454c4554455f" . + "4e4f44455f504f4f4c1008121c0a185345545f4e4f44455f504f4f4c5f4d" . + "414e4147454d454e54100912150a114155544f5f5245504149525f4e4f44" . + "4553100a12160a124155544f5f555047524144455f4e4f444553100b120e" . + "0a0a5345545f4c4142454c53100c12130a0f5345545f4d41535445525f41" . + "555448100d12160a125345545f4e4f44455f504f4f4c5f53495a45100e12" . + "160a125345545f4e4554574f524b5f504f4c494359100f121a0a16534554" . + "5f4d41494e54454e414e43455f504f4c4943591010227f0a144372656174" . + "65436c75737465725265717565737412160a0a70726f6a6563745f696418" . + "01200128094202180112100a047a6f6e6518022001280942021801122d0a" . + "07636c757374657218032001280b321c2e676f6f676c652e636f6e746169" . + "6e65722e76312e436c7573746572120e0a06706172656e74180520012809" . + "22630a11476574436c75737465725265717565737412160a0a70726f6a65" . + "63745f69641801200128094202180112100a047a6f6e6518022001280942" . + "02180112160a0a636c75737465725f696418032001280942021801120c0a" . + "046e616d65180520012809229a010a14557064617465436c757374657252" . + "65717565737412160a0a70726f6a6563745f696418012001280942021801" . + "12100a047a6f6e651802200128094202180112160a0a636c75737465725f" . + "69641803200128094202180112320a0675706461746518042001280b3222" . + "2e676f6f676c652e636f6e7461696e65722e76312e436c75737465725570" . + "64617465120c0a046e616d6518052001280922ab010a155570646174654e" . + "6f6465506f6f6c5265717565737412160a0a70726f6a6563745f69641801" . + "200128094202180112100a047a6f6e651802200128094202180112160a0a" . + "636c75737465725f69641803200128094202180112180a0c6e6f64655f70" . + "6f6f6c5f69641804200128094202180112140a0c6e6f64655f7665727369" . + "6f6e18052001280912120a0a696d6167655f74797065180620012809120c" . + "0a046e616d6518082001280922c8010a1d5365744e6f6465506f6f6c4175" . + "746f7363616c696e675265717565737412160a0a70726f6a6563745f6964" . + "1801200128094202180112100a047a6f6e65180220012809420218011216" . + "0a0a636c75737465725f69641803200128094202180112180a0c6e6f6465" . + "5f706f6f6c5f696418042001280942021801123d0a0b6175746f7363616c" . + "696e6718052001280b32282e676f6f676c652e636f6e7461696e65722e76" . + "312e4e6f6465506f6f6c4175746f7363616c696e67120c0a046e616d6518" . + "0620012809227f0a185365744c6f6767696e675365727669636552657175" . + "65737412160a0a70726f6a6563745f696418012001280942021801120c0a" . + "047a6f6e6518022001280912160a0a636c75737465725f69641803200128" . + "094202180112170a0f6c6f6767696e675f73657276696365180420012809" . + "120c0a046e616d651805200128092289010a1b5365744d6f6e69746f7269" . + "6e67536572766963655265717565737412160a0a70726f6a6563745f6964" . + "1801200128094202180112100a047a6f6e65180220012809420218011216" . + "0a0a636c75737465725f696418032001280942021801121a0a126d6f6e69" . + "746f72696e675f73657276696365180420012809120c0a046e616d651806" . + "2001280922a2010a165365744164646f6e73436f6e666967526571756573" . + "7412160a0a70726f6a6563745f69641801200128094202180112100a047a" . + "6f6e651802200128094202180112160a0a636c75737465725f6964180320" . + "0128094202180112380a0d6164646f6e735f636f6e66696718042001280b" . + "32212e676f6f676c652e636f6e7461696e65722e76312e4164646f6e7343" . + "6f6e666967120c0a046e616d6518062001280922780a135365744c6f6361" . + "74696f6e735265717565737412160a0a70726f6a6563745f696418012001" . + "28094202180112100a047a6f6e651802200128094202180112160a0a636c" . + "75737465725f69641803200128094202180112110a096c6f636174696f6e" . + "73180420032809120c0a046e616d65180620012809227d0a135570646174" . + "654d61737465725265717565737412160a0a70726f6a6563745f69641801" . + "200128094202180112100a047a6f6e651802200128094202180112160a0a" . + "636c75737465725f69641803200128094202180112160a0e6d6173746572" . + "5f76657273696f6e180420012809120c0a046e616d6518072001280922ab" . + "020a145365744d6173746572417574685265717565737412160a0a70726f" . + "6a6563745f69641801200128094202180112100a047a6f6e651802200128" . + "094202180112160a0a636c75737465725f69641803200128094202180112" . + "400a06616374696f6e18042001280e32302e676f6f676c652e636f6e7461" . + "696e65722e76312e5365744d617374657241757468526571756573742e41" . + "6374696f6e122f0a0675706461746518052001280b321f2e676f6f676c65" . + "2e636f6e7461696e65722e76312e4d617374657241757468120c0a046e61" . + "6d6518072001280922500a06416374696f6e120b0a07554e4b4e4f574e10" . + "0012100a0c5345545f50415353574f5244100112150a1147454e45524154" . + "455f50415353574f5244100212100a0c5345545f555345524e414d451003" . + "22660a1444656c657465436c75737465725265717565737412160a0a7072" . + "6f6a6563745f69641801200128094202180112100a047a6f6e6518022001" . + "28094202180112160a0a636c75737465725f696418032001280942021801" . + "120c0a046e616d65180420012809224f0a134c697374436c757374657273" . + "5265717565737412160a0a70726f6a6563745f6964180120012809420218" . + "0112100a047a6f6e6518022001280942021801120e0a06706172656e7418" . + "0420012809225d0a144c697374436c757374657273526573706f6e736512" . + "2e0a08636c75737465727318012003280b321c2e676f6f676c652e636f6e" . + "7461696e65722e76312e436c757374657212150a0d6d697373696e675f7a" . + "6f6e657318022003280922670a134765744f7065726174696f6e52657175" . + "65737412160a0a70726f6a6563745f69641801200128094202180112100a" . + "047a6f6e651802200128094202180112180a0c6f7065726174696f6e5f69" . + "6418032001280942021801120c0a046e616d6518052001280922510a154c" . + "6973744f7065726174696f6e735265717565737412160a0a70726f6a6563" . + "745f69641801200128094202180112100a047a6f6e651802200128094202" . + "1801120e0a06706172656e74180420012809226a0a1643616e63656c4f70" . + "65726174696f6e5265717565737412160a0a70726f6a6563745f69641801" . + "200128094202180112100a047a6f6e651802200128094202180112180a0c" . + "6f7065726174696f6e5f696418032001280942021801120c0a046e616d65" . + "18042001280922630a164c6973744f7065726174696f6e73526573706f6e" . + "736512320a0a6f7065726174696f6e7318012003280b321e2e676f6f676c" . + "652e636f6e7461696e65722e76312e4f7065726174696f6e12150a0d6d69" . + "7373696e675f7a6f6e657318022003280922500a16476574536572766572" . + "436f6e6669675265717565737412160a0a70726f6a6563745f6964180120" . + "0128094202180112100a047a6f6e6518022001280942021801120c0a046e" . + "616d6518042001280922a2010a0c536572766572436f6e666967121f0a17" . + "64656661756c745f636c75737465725f76657273696f6e18012001280912" . + "1b0a1376616c69645f6e6f64655f76657273696f6e73180320032809121a" . + "0a1264656661756c745f696d6167655f7479706518042001280912190a11" . + "76616c69645f696d6167655f7479706573180520032809121d0a1576616c" . + "69645f6d61737465725f76657273696f6e73180620032809229b010a1543" . + "72656174654e6f6465506f6f6c5265717565737412160a0a70726f6a6563" . + "745f69641801200128094202180112100a047a6f6e651802200128094202" . + "180112160a0a636c75737465725f69641803200128094202180112300a09" . + "6e6f64655f706f6f6c18042001280b321d2e676f6f676c652e636f6e7461" . + "696e65722e76312e4e6f6465506f6f6c120e0a06706172656e7418062001" . + "28092281010a1544656c6574654e6f6465506f6f6c526571756573741216" . + "0a0a70726f6a6563745f69641801200128094202180112100a047a6f6e65" . + "1802200128094202180112160a0a636c75737465725f6964180320012809" . + "4202180112180a0c6e6f64655f706f6f6c5f696418042001280942021801" . + "120c0a046e616d6518062001280922680a144c6973744e6f6465506f6f6c" . + "735265717565737412160a0a70726f6a6563745f69641801200128094202" . + "180112100a047a6f6e651802200128094202180112160a0a636c75737465" . + "725f696418032001280942021801120e0a06706172656e74180520012809" . + "227e0a124765744e6f6465506f6f6c5265717565737412160a0a70726f6a" . + "6563745f69641801200128094202180112100a047a6f6e65180220012809" . + "4202180112160a0a636c75737465725f6964180320012809420218011218" . + "0a0c6e6f64655f706f6f6c5f696418042001280942021801120c0a046e61" . + "6d6518062001280922f0030a084e6f6465506f6f6c120c0a046e616d6518" . + "0120012809122f0a06636f6e66696718022001280b321f2e676f6f676c65" . + "2e636f6e7461696e65722e76312e4e6f6465436f6e666967121a0a12696e" . + "697469616c5f6e6f64655f636f756e7418032001280512110a0973656c66" . + "5f6c696e6b186420012809120f0a0776657273696f6e186520012809121b" . + "0a13696e7374616e63655f67726f75705f75726c7318662003280912340a" . + "0673746174757318672001280e32242e676f6f676c652e636f6e7461696e" . + "65722e76312e4e6f6465506f6f6c2e53746174757312160a0e7374617475" . + "735f6d657373616765186820012809123d0a0b6175746f7363616c696e67" . + "18042001280b32282e676f6f676c652e636f6e7461696e65722e76312e4e" . + "6f6465506f6f6c4175746f7363616c696e6712370a0a6d616e6167656d65" . + "6e7418052001280b32232e676f6f676c652e636f6e7461696e65722e7631" . + "2e4e6f64654d616e6167656d656e742281010a0653746174757312160a12" . + "5354415455535f554e535045434946494544100012100a0c50524f564953" . + "494f4e494e471001120b0a0752554e4e494e47100212160a1252554e4e49" . + "4e475f574954485f4552524f521003120f0a0b5245434f4e43494c494e47" . + "1004120c0a0853544f5050494e47100512090a054552524f521006227d0a" . + "0e4e6f64654d616e6167656d656e7412140a0c6175746f5f757067726164" . + "6518012001280812130a0b6175746f5f7265706169721802200128081240" . + "0a0f757067726164655f6f7074696f6e73180a2001280b32272e676f6f67" . + "6c652e636f6e7461696e65722e76312e4175746f557067726164654f7074" . + "696f6e73224a0a124175746f557067726164654f7074696f6e73121f0a17" . + "6175746f5f757067726164655f73746172745f74696d6518012001280912" . + "130a0b6465736372697074696f6e180220012809224b0a114d61696e7465" . + "6e616e6365506f6c69637912360a0677696e646f7718012001280b32262e" . + "676f6f676c652e636f6e7461696e65722e76312e4d61696e74656e616e63" . + "6557696e646f77226e0a114d61696e74656e616e636557696e646f77124f" . + "0a186461696c795f6d61696e74656e616e63655f77696e646f7718022001" . + "280b322b2e676f6f676c652e636f6e7461696e65722e76312e4461696c79" . + "4d61696e74656e616e636557696e646f77480042080a06706f6c69637922" . + "3e0a164461696c794d61696e74656e616e636557696e646f7712120a0a73" . + "746172745f74696d6518022001280912100a086475726174696f6e180320" . + "01280922c1010a1c5365744e6f6465506f6f6c4d616e6167656d656e7452" . + "65717565737412160a0a70726f6a6563745f696418012001280942021801" . + "12100a047a6f6e651802200128094202180112160a0a636c75737465725f" . + "69641803200128094202180112180a0c6e6f64655f706f6f6c5f69641804" . + "200128094202180112370a0a6d616e6167656d656e7418052001280b3223" . + "2e676f6f676c652e636f6e7461696e65722e76312e4e6f64654d616e6167" . + "656d656e74120c0a046e616d651807200128092296010a165365744e6f64" . + "65506f6f6c53697a655265717565737412160a0a70726f6a6563745f6964" . + "1801200128094202180112100a047a6f6e65180220012809420218011216" . + "0a0a636c75737465725f69641803200128094202180112180a0c6e6f6465" . + "5f706f6f6c5f69641804200128094202180112120a0a6e6f64655f636f75" . + "6e74180520012805120c0a046e616d65180720012809228a010a1e526f6c" . + "6c6261636b4e6f6465506f6f6c557067726164655265717565737412160a" . + "0a70726f6a6563745f69641801200128094202180112100a047a6f6e6518" . + "02200128094202180112160a0a636c75737465725f696418032001280942" . + "02180112180a0c6e6f64655f706f6f6c5f69641804200128094202180112" . + "0c0a046e616d65180620012809224a0a154c6973744e6f6465506f6f6c73" . + "526573706f6e736512310a0a6e6f64655f706f6f6c7318012003280b321d" . + "2e676f6f676c652e636f6e7461696e65722e76312e4e6f6465506f6f6c22" . + "560a134e6f6465506f6f6c4175746f7363616c696e67120f0a07656e6162" . + "6c656418012001280812160a0e6d696e5f6e6f64655f636f756e74180220" . + "01280512160a0e6d61785f6e6f64655f636f756e74180320012805228802" . + "0a105365744c6162656c735265717565737412160a0a70726f6a6563745f" . + "69641801200128094202180112100a047a6f6e6518022001280942021801" . + "12160a0a636c75737465725f69641803200128094202180112520a0f7265" . + "736f757263655f6c6162656c7318042003280b32392e676f6f676c652e63" . + "6f6e7461696e65722e76312e5365744c6162656c73526571756573742e52" . + "65736f757263654c6162656c73456e74727912190a116c6162656c5f6669" . + "6e6765727072696e74180520012809120c0a046e616d651807200128091a" . "350a135265736f757263654c6162656c73456e747279120b0a036b657918" . - "0120012809120d0a0576616c75651802200128093a02380122690a065374" . - "6174757312160a125354415455535f554e53504543494649454410001210" . - "0a0c50524f564953494f4e494e471001120b0a0752554e4e494e47100212" . - "0f0a0b5245434f4e43494c494e471003120c0a0853544f5050494e471004" . - "12090a054552524f52100522c1030a0d436c757374657255706461746512" . - "1c0a14646573697265645f6e6f64655f76657273696f6e18042001280912" . - "220a1a646573697265645f6d6f6e69746f72696e675f7365727669636518" . - "052001280912400a15646573697265645f6164646f6e735f636f6e666967" . - "18062001280b32212e676f6f676c652e636f6e7461696e65722e76312e41" . - "64646f6e73436f6e666967121c0a14646573697265645f6e6f64655f706f" . - "6f6c5f6964180720012809121a0a12646573697265645f696d6167655f74" . - "797065180820012809124f0a1d646573697265645f6e6f64655f706f6f6c" . - "5f6175746f7363616c696e6718092001280b32282e676f6f676c652e636f" . - "6e7461696e65722e76312e4e6f6465506f6f6c4175746f7363616c696e67" . - "12190a11646573697265645f6c6f636174696f6e73180a2003280912660a" . - "29646573697265645f6d61737465725f617574686f72697a65645f6e6574" . - "776f726b735f636f6e666967180c2001280b32332e676f6f676c652e636f" . - "6e7461696e65722e76312e4d6173746572417574686f72697a65644e6574" . - "776f726b73436f6e666967121e0a16646573697265645f6d61737465725f" . - "76657273696f6e18642001280922e5050a094f7065726174696f6e120c0a" . - "046e616d65180120012809120c0a047a6f6e65180220012809123b0a0e6f" . - "7065726174696f6e5f7479706518032001280e32232e676f6f676c652e63" . - "6f6e7461696e65722e76312e4f7065726174696f6e2e5479706512350a06" . - "73746174757318042001280e32252e676f6f676c652e636f6e7461696e65" . - "722e76312e4f7065726174696f6e2e537461747573120e0a066465746169" . - "6c18082001280912160a0e7374617475735f6d6573736167651805200128" . - "0912110a0973656c665f6c696e6b18062001280912130a0b746172676574" . - "5f6c696e6b18072001280912120a0a73746172745f74696d65180a200128" . - "0912100a08656e645f74696d65180b2001280922520a0653746174757312" . - "160a125354415455535f554e5350454349464945441000120b0a0750454e" . - "44494e471001120b0a0752554e4e494e47100212080a04444f4e45100312" . - "0c0a0841424f5254494e47100422fd020a045479706512140a1054595045" . - "5f554e535045434946494544100012120a0e4352454154455f434c555354" . - "4552100112120a0e44454c4554455f434c5553544552100212120a0e5550" . - "47524144455f4d4153544552100312110a0d555047524144455f4e4f4445" . - "53100412120a0e5245504149525f434c5553544552100512120a0e555044" . - "4154455f434c5553544552100612140a104352454154455f4e4f44455f50" . - "4f4f4c100712140a1044454c4554455f4e4f44455f504f4f4c1008121c0a" . - "185345545f4e4f44455f504f4f4c5f4d414e4147454d454e54100912150a" . - "114155544f5f5245504149525f4e4f444553100a12160a124155544f5f55" . - "5047524144455f4e4f444553100b120e0a0a5345545f4c4142454c53100c" . - "12130a0f5345545f4d41535445525f41555448100d12160a125345545f4e" . - "4f44455f504f4f4c5f53495a45100e12160a125345545f4e4554574f524b" . - "5f504f4c494359100f121a0a165345545f4d41494e54454e414e43455f50" . - "4f4c494359101022670a14437265617465436c7573746572526571756573" . - "7412120a0a70726f6a6563745f6964180120012809120c0a047a6f6e6518" . - "0220012809122d0a07636c757374657218032001280b321c2e676f6f676c" . - "652e636f6e7461696e65722e76312e436c757374657222490a1147657443" . - "6c75737465725265717565737412120a0a70726f6a6563745f6964180120" . - "012809120c0a047a6f6e6518022001280912120a0a636c75737465725f69" . - "641803200128092280010a14557064617465436c75737465725265717565" . - "737412120a0a70726f6a6563745f6964180120012809120c0a047a6f6e65" . - "18022001280912120a0a636c75737465725f696418032001280912320a06" . - "75706461746518042001280b32222e676f6f676c652e636f6e7461696e65" . - "722e76312e436c7573746572557064617465228d010a155570646174654e" . - "6f6465506f6f6c5265717565737412120a0a70726f6a6563745f69641801" . - "20012809120c0a047a6f6e6518022001280912120a0a636c75737465725f" . - "696418032001280912140a0c6e6f64655f706f6f6c5f6964180420012809" . - "12140a0c6e6f64655f76657273696f6e18052001280912120a0a696d6167" . - "655f7479706518062001280922aa010a1d5365744e6f6465506f6f6c4175" . - "746f7363616c696e675265717565737412120a0a70726f6a6563745f6964" . - "180120012809120c0a047a6f6e6518022001280912120a0a636c75737465" . - "725f696418032001280912140a0c6e6f64655f706f6f6c5f696418042001" . - "2809123d0a0b6175746f7363616c696e6718052001280b32282e676f6f67" . - "6c652e636f6e7461696e65722e76312e4e6f6465506f6f6c4175746f7363" . - "616c696e6722690a185365744c6f6767696e675365727669636552657175" . + "0120012809120d0a0576616c75651802200128093a02380122770a145365" . + "744c6567616379416261635265717565737412160a0a70726f6a6563745f" . + "69641801200128094202180112100a047a6f6e6518022001280942021801" . + "12160a0a636c75737465725f696418032001280942021801120f0a07656e" . + "61626c6564180420012808120c0a046e616d651806200128092284010a16" . + "53746172744950526f746174696f6e5265717565737412160a0a70726f6a" . + "6563745f69641801200128094202180112100a047a6f6e65180220012809" . + "4202180112160a0a636c75737465725f696418032001280942021801120c" . + "0a046e616d65180620012809121a0a12726f746174655f63726564656e74" . + "69616c73180720012808226b0a19436f6d706c6574654950526f74617469" . + "6f6e5265717565737412160a0a70726f6a6563745f696418012001280942" . + "02180112100a047a6f6e651802200128094202180112160a0a636c757374" . + "65725f696418032001280942021801120c0a046e616d6518072001280922" . + "480a11416363656c657261746f72436f6e66696712190a11616363656c65" . + "7261746f725f636f756e7418012001280312180a10616363656c65726174" . + "6f725f7479706518022001280922a5010a175365744e6574776f726b506f" . + "6c6963795265717565737412160a0a70726f6a6563745f69641801200128" . + "094202180112100a047a6f6e651802200128094202180112160a0a636c75" . + "737465725f696418032001280942021801123a0a0e6e6574776f726b5f70" . + "6f6c69637918042001280b32222e676f6f676c652e636f6e7461696e6572" . + "2e76312e4e6574776f726b506f6c696379120c0a046e616d651806200128" . + "0922a5010a1b5365744d61696e74656e616e6365506f6c69637952657175" . "65737412120a0a70726f6a6563745f6964180120012809120c0a047a6f6e" . - "6518022001280912120a0a636c75737465725f696418032001280912170a" . - "0f6c6f6767696e675f73657276696365180420012809226f0a1b5365744d" . - "6f6e69746f72696e67536572766963655265717565737412120a0a70726f" . - "6a6563745f6964180120012809120c0a047a6f6e6518022001280912120a" . - "0a636c75737465725f6964180320012809121a0a126d6f6e69746f72696e" . - "675f736572766963651804200128092288010a165365744164646f6e7343" . - "6f6e6669675265717565737412120a0a70726f6a6563745f696418012001" . - "2809120c0a047a6f6e6518022001280912120a0a636c75737465725f6964" . - "18032001280912380a0d6164646f6e735f636f6e66696718042001280b32" . - "212e676f6f676c652e636f6e7461696e65722e76312e4164646f6e73436f" . - "6e666967225e0a135365744c6f636174696f6e735265717565737412120a" . - "0a70726f6a6563745f6964180120012809120c0a047a6f6e651802200128" . - "0912120a0a636c75737465725f696418032001280912110a096c6f636174" . - "696f6e7318042003280922630a135570646174654d617374657252657175" . - "65737412120a0a70726f6a6563745f6964180120012809120c0a047a6f6e" . - "6518022001280912120a0a636c75737465725f696418032001280912160a" . - "0e6d61737465725f76657273696f6e1804200128092291020a145365744d" . - "6173746572417574685265717565737412120a0a70726f6a6563745f6964" . - "180120012809120c0a047a6f6e6518022001280912120a0a636c75737465" . - "725f696418032001280912400a06616374696f6e18042001280e32302e67" . - "6f6f676c652e636f6e7461696e65722e76312e5365744d61737465724175" . - "7468526571756573742e416374696f6e122f0a0675706461746518052001" . - "280b321f2e676f6f676c652e636f6e7461696e65722e76312e4d61737465" . - "724175746822500a06416374696f6e120b0a07554e4b4e4f574e10001210" . - "0a0c5345545f50415353574f5244100112150a1147454e45524154455f50" . - "415353574f5244100212100a0c5345545f555345524e414d451003224c0a" . - "1444656c657465436c75737465725265717565737412120a0a70726f6a65" . - "63745f6964180120012809120c0a047a6f6e6518022001280912120a0a63" . - "6c75737465725f696418032001280922370a134c697374436c7573746572" . - "735265717565737412120a0a70726f6a6563745f6964180120012809120c" . - "0a047a6f6e65180220012809225d0a144c697374436c7573746572735265" . - "73706f6e7365122e0a08636c75737465727318012003280b321c2e676f6f" . - "676c652e636f6e7461696e65722e76312e436c757374657212150a0d6d69" . - "7373696e675f7a6f6e6573180220032809224d0a134765744f7065726174" . - "696f6e5265717565737412120a0a70726f6a6563745f6964180120012809" . - "120c0a047a6f6e6518022001280912140a0c6f7065726174696f6e5f6964" . - "18032001280922390a154c6973744f7065726174696f6e73526571756573" . - "7412120a0a70726f6a6563745f6964180120012809120c0a047a6f6e6518" . - "022001280922500a1643616e63656c4f7065726174696f6e526571756573" . - "7412120a0a70726f6a6563745f6964180120012809120c0a047a6f6e6518" . - "022001280912140a0c6f7065726174696f6e5f696418032001280922630a" . - "164c6973744f7065726174696f6e73526573706f6e736512320a0a6f7065" . - "726174696f6e7318012003280b321e2e676f6f676c652e636f6e7461696e" . - "65722e76312e4f7065726174696f6e12150a0d6d697373696e675f7a6f6e" . - "6573180220032809223a0a16476574536572766572436f6e666967526571" . - "7565737412120a0a70726f6a6563745f6964180120012809120c0a047a6f" . - "6e6518022001280922a2010a0c536572766572436f6e666967121f0a1764" . - "656661756c745f636c75737465725f76657273696f6e180120012809121b" . - "0a1376616c69645f6e6f64655f76657273696f6e73180320032809121a0a" . - "1264656661756c745f696d6167655f7479706518042001280912190a1176" . - "616c69645f696d6167655f7479706573180520032809121d0a1576616c69" . - "645f6d61737465725f76657273696f6e73180620032809227f0a15437265" . - "6174654e6f6465506f6f6c5265717565737412120a0a70726f6a6563745f" . - "6964180120012809120c0a047a6f6e6518022001280912120a0a636c7573" . - "7465725f696418032001280912300a096e6f64655f706f6f6c1804200128" . - "0b321d2e676f6f676c652e636f6e7461696e65722e76312e4e6f6465506f" . - "6f6c22630a1544656c6574654e6f6465506f6f6c5265717565737412120a" . - "0a70726f6a6563745f6964180120012809120c0a047a6f6e651802200128" . - "0912120a0a636c75737465725f696418032001280912140a0c6e6f64655f" . - "706f6f6c5f6964180420012809224c0a144c6973744e6f6465506f6f6c73" . - "5265717565737412120a0a70726f6a6563745f6964180120012809120c0a" . - "047a6f6e6518022001280912120a0a636c75737465725f69641803200128" . - "0922600a124765744e6f6465506f6f6c5265717565737412120a0a70726f" . - "6a6563745f6964180120012809120c0a047a6f6e6518022001280912120a" . - "0a636c75737465725f696418032001280912140a0c6e6f64655f706f6f6c" . - "5f696418042001280922f0030a084e6f6465506f6f6c120c0a046e616d65" . - "180120012809122f0a06636f6e66696718022001280b321f2e676f6f676c" . - "652e636f6e7461696e65722e76312e4e6f6465436f6e666967121a0a1269" . - "6e697469616c5f6e6f64655f636f756e7418032001280512110a0973656c" . - "665f6c696e6b186420012809120f0a0776657273696f6e18652001280912" . - "1b0a13696e7374616e63655f67726f75705f75726c731866200328091234" . - "0a0673746174757318672001280e32242e676f6f676c652e636f6e746169" . - "6e65722e76312e4e6f6465506f6f6c2e53746174757312160a0e73746174" . - "75735f6d657373616765186820012809123d0a0b6175746f7363616c696e" . - "6718042001280b32282e676f6f676c652e636f6e7461696e65722e76312e" . - "4e6f6465506f6f6c4175746f7363616c696e6712370a0a6d616e6167656d" . - "656e7418052001280b32232e676f6f676c652e636f6e7461696e65722e76" . - "312e4e6f64654d616e6167656d656e742281010a0653746174757312160a" . - "125354415455535f554e535045434946494544100012100a0c50524f5649" . - "53494f4e494e471001120b0a0752554e4e494e47100212160a1252554e4e" . - "494e475f574954485f4552524f521003120f0a0b5245434f4e43494c494e" . - "471004120c0a0853544f5050494e47100512090a054552524f521006227d" . - "0a0e4e6f64654d616e6167656d656e7412140a0c6175746f5f7570677261" . - "646518012001280812130a0b6175746f5f72657061697218022001280812" . - "400a0f757067726164655f6f7074696f6e73180a2001280b32272e676f6f" . - "676c652e636f6e7461696e65722e76312e4175746f557067726164654f70" . - "74696f6e73224a0a124175746f557067726164654f7074696f6e73121f0a" . - "176175746f5f757067726164655f73746172745f74696d65180120012809" . - "12130a0b6465736372697074696f6e180220012809224b0a114d61696e74" . - "656e616e6365506f6c69637912360a0677696e646f7718012001280b3226" . - "2e676f6f676c652e636f6e7461696e65722e76312e4d61696e74656e616e" . - "636557696e646f77226e0a114d61696e74656e616e636557696e646f7712" . - "4f0a186461696c795f6d61696e74656e616e63655f77696e646f77180220" . - "01280b322b2e676f6f676c652e636f6e7461696e65722e76312e4461696c" . - "794d61696e74656e616e636557696e646f77480042080a06706f6c696379" . - "223e0a164461696c794d61696e74656e616e636557696e646f7712120a0a" . - "73746172745f74696d6518022001280912100a086475726174696f6e1803" . - "2001280922a3010a1c5365744e6f6465506f6f6c4d616e6167656d656e74" . - "5265717565737412120a0a70726f6a6563745f6964180120012809120c0a" . - "047a6f6e6518022001280912120a0a636c75737465725f69641803200128" . - "0912140a0c6e6f64655f706f6f6c5f696418042001280912370a0a6d616e" . - "6167656d656e7418052001280b32232e676f6f676c652e636f6e7461696e" . - "65722e76312e4e6f64654d616e6167656d656e7422780a165365744e6f64" . - "65506f6f6c53697a655265717565737412120a0a70726f6a6563745f6964" . - "180120012809120c0a047a6f6e6518022001280912120a0a636c75737465" . - "725f696418032001280912140a0c6e6f64655f706f6f6c5f696418042001" . - "280912120a0a6e6f64655f636f756e74180520012805226c0a1e526f6c6c" . - "6261636b4e6f6465506f6f6c557067726164655265717565737412120a0a" . - "70726f6a6563745f6964180120012809120c0a047a6f6e65180220012809" . - "12120a0a636c75737465725f696418032001280912140a0c6e6f64655f70" . - "6f6f6c5f6964180420012809224a0a154c6973744e6f6465506f6f6c7352" . - "6573706f6e736512310a0a6e6f64655f706f6f6c7318012003280b321d2e" . - "676f6f676c652e636f6e7461696e65722e76312e4e6f6465506f6f6c2256" . - "0a134e6f6465506f6f6c4175746f7363616c696e67120f0a07656e61626c" . - "656418012001280812160a0e6d696e5f6e6f64655f636f756e7418022001" . - "280512160a0e6d61785f6e6f64655f636f756e7418032001280522ee010a" . - "105365744c6162656c735265717565737412120a0a70726f6a6563745f69" . - "64180120012809120c0a047a6f6e6518022001280912120a0a636c757374" . - "65725f696418032001280912520a0f7265736f757263655f6c6162656c73" . - "18042003280b32392e676f6f676c652e636f6e7461696e65722e76312e53" . - "65744c6162656c73526571756573742e5265736f757263654c6162656c73" . - "456e74727912190a116c6162656c5f66696e6765727072696e7418052001" . - "28091a350a135265736f757263654c6162656c73456e747279120b0a036b" . - "6579180120012809120d0a0576616c75651802200128093a023801225d0a" . - "145365744c6567616379416261635265717565737412120a0a70726f6a65" . - "63745f6964180120012809120c0a047a6f6e6518022001280912120a0a63" . - "6c75737465725f6964180320012809120f0a07656e61626c656418042001" . - "2808224e0a1653746172744950526f746174696f6e526571756573741212" . - "0a0a70726f6a6563745f6964180120012809120c0a047a6f6e6518022001" . - "280912120a0a636c75737465725f696418032001280922510a19436f6d70" . - "6c6574654950526f746174696f6e5265717565737412120a0a70726f6a65" . - "63745f6964180120012809120c0a047a6f6e6518022001280912120a0a63" . - "6c75737465725f696418032001280922480a11416363656c657261746f72" . - "436f6e66696712190a11616363656c657261746f725f636f756e74180120" . - "01280312180a10616363656c657261746f725f7479706518022001280922" . - "8b010a175365744e6574776f726b506f6c6963795265717565737412120a" . - "0a70726f6a6563745f6964180120012809120c0a047a6f6e651802200128" . - "0912120a0a636c75737465725f6964180320012809123a0a0e6e6574776f" . - "726b5f706f6c69637918042001280b32222e676f6f676c652e636f6e7461" . - "696e65722e76312e4e6574776f726b506f6c6963792297010a1b5365744d" . - "61696e74656e616e6365506f6c6963795265717565737412120a0a70726f" . - "6a6563745f6964180120012809120c0a047a6f6e6518022001280912120a" . - "0a636c75737465725f696418032001280912420a126d61696e74656e616e" . - "63655f706f6c69637918042001280b32262e676f6f676c652e636f6e7461" . - "696e65722e76312e4d61696e74656e616e6365506f6c69637932e32a0a0e" . - "436c75737465724d616e61676572129c010a0c4c697374436c7573746572" . - "7312282e676f6f676c652e636f6e7461696e65722e76312e4c697374436c" . - "757374657273526571756573741a292e676f6f676c652e636f6e7461696e" . - "65722e76312e4c697374436c757374657273526573706f6e7365223782d3" . - "e4930231122f2f76312f70726f6a656374732f7b70726f6a6563745f6964" . - "7d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572731298010a0a4765" . - "74436c757374657212262e676f6f676c652e636f6e7461696e65722e7631" . - "2e476574436c7573746572526571756573741a1c2e676f6f676c652e636f" . - "6e7461696e65722e76312e436c7573746572224482d3e493023e123c2f76" . - "312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f" . - "7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d1296" . - "010a0d437265617465436c757374657212292e676f6f676c652e636f6e74" . - "61696e65722e76312e437265617465436c7573746572526571756573741a" . - "1e2e676f6f676c652e636f6e7461696e65722e76312e4f7065726174696f" . - "6e223a82d3e4930234222f2f76312f70726f6a656374732f7b70726f6a65" . - "63745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572733a01" . - "2a12a3010a0d557064617465436c757374657212292e676f6f676c652e63" . - "6f6e7461696e65722e76312e557064617465436c75737465725265717565" . - "73741a1e2e676f6f676c652e636f6e7461696e65722e76312e4f70657261" . - "74696f6e224782d3e49302411a3c2f76312f70726f6a656374732f7b7072" . - "6f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572" . - "732f7b636c75737465725f69647d3a012a12c5010a0e5570646174654e6f" . - "6465506f6f6c122a2e676f6f676c652e636f6e7461696e65722e76312e55" . - "70646174654e6f6465506f6f6c526571756573741a1e2e676f6f676c652e" . - "636f6e7461696e65722e76312e4f7065726174696f6e226782d3e4930261" . - "225c2f76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f" . - "6e65732f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69" . - "647d2f6e6f6465506f6f6c732f7b6e6f64655f706f6f6c5f69647d2f7570" . - "646174653a012a12da010a165365744e6f6465506f6f6c4175746f736361" . - "6c696e6712322e676f6f676c652e636f6e7461696e65722e76312e536574" . - "4e6f6465506f6f6c4175746f7363616c696e67526571756573741a1e2e67" . - "6f6f676c652e636f6e7461696e65722e76312e4f7065726174696f6e226c" . - "82d3e493026622612f76312f70726f6a656374732f7b70726f6a6563745f" . - "69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f7b636c75" . - "737465725f69647d2f6e6f6465506f6f6c732f7b6e6f64655f706f6f6c5f" . - "69647d2f6175746f7363616c696e673a012a12b3010a115365744c6f6767" . - "696e6753657276696365122d2e676f6f676c652e636f6e7461696e65722e" . - "76312e5365744c6f6767696e6753657276696365526571756573741a1e2e" . - "676f6f676c652e636f6e7461696e65722e76312e4f7065726174696f6e22" . - "4f82d3e493024922442f76312f70726f6a656374732f7b70726f6a656374" . - "5f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f7b636c" . - "75737465725f69647d2f6c6f6767696e673a012a12bc010a145365744d6f" . - "6e69746f72696e675365727669636512302e676f6f676c652e636f6e7461" . - "696e65722e76312e5365744d6f6e69746f72696e67536572766963655265" . - "71756573741a1e2e676f6f676c652e636f6e7461696e65722e76312e4f70" . - "65726174696f6e225282d3e493024c22472f76312f70726f6a656374732f" . - "7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573" . - "746572732f7b636c75737465725f69647d2f6d6f6e69746f72696e673a01" . - "2a12ae010a0f5365744164646f6e73436f6e666967122b2e676f6f676c65" . - "2e636f6e7461696e65722e76312e5365744164646f6e73436f6e66696752" . - "6571756573741a1e2e676f6f676c652e636f6e7461696e65722e76312e4f" . - "7065726174696f6e224e82d3e493024822432f76312f70726f6a65637473" . - "2f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c75" . - "73746572732f7b636c75737465725f69647d2f6164646f6e733a012a12ab" . - "010a0c5365744c6f636174696f6e7312282e676f6f676c652e636f6e7461" . - "696e65722e76312e5365744c6f636174696f6e73526571756573741a1e2e" . - "676f6f676c652e636f6e7461696e65722e76312e4f7065726174696f6e22" . - "5182d3e493024b22462f76312f70726f6a656374732f7b70726f6a656374" . + "6518022001280912120a0a636c75737465725f696418032001280912420a" . + "126d61696e74656e616e63655f706f6c69637918042001280b32262e676f" . + "6f676c652e636f6e7461696e65722e76312e4d61696e74656e616e636550" . + "6f6c696379120c0a046e616d6518052001280922340a0d4e6574776f726b" . + "436f6e666967120f0a076e6574776f726b18012001280912120a0a737562" . + "6e6574776f726b18022001280932cb390a0e436c75737465724d616e6167" . + "657212cc010a0c4c697374436c75737465727312282e676f6f676c652e63" . + "6f6e7461696e65722e76312e4c697374436c757374657273526571756573" . + "741a292e676f6f676c652e636f6e7461696e65722e76312e4c697374436c" . + "757374657273526573706f6e7365226782d3e4930261122c2f76312f7b70" . + "6172656e743d70726f6a656374732f2a2f6c6f636174696f6e732f2a7d2f" . + "636c7573746572735a31122f2f76312f70726f6a656374732f7b70726f6a" . + "6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c75737465727312" . + "c8010a0a476574436c757374657212262e676f6f676c652e636f6e746169" . + "6e65722e76312e476574436c7573746572526571756573741a1c2e676f6f" . + "676c652e636f6e7461696e65722e76312e436c7573746572227482d3e493" . + "026e122c2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174" . + "696f6e732f2a2f636c7573746572732f2a7d5a3e123c2f76312f70726f6a" . + "656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d" . + "2f636c7573746572732f7b636c75737465725f69647d12c9010a0d437265" . + "617465436c757374657212292e676f6f676c652e636f6e7461696e65722e" . + "76312e437265617465436c7573746572526571756573741a1e2e676f6f67" . + "6c652e636f6e7461696e65722e76312e4f7065726174696f6e226d82d3e4" . + "930267222c2f76312f7b706172656e743d70726f6a656374732f2a2f6c6f" . + "636174696f6e732f2a7d2f636c7573746572733a012a5a34222f2f76312f" . + "70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a" . + "6f6e657d2f636c7573746572733a012a12d6010a0d557064617465436c75" . + "7374657212292e676f6f676c652e636f6e7461696e65722e76312e557064" . + "617465436c7573746572526571756573741a1e2e676f6f676c652e636f6e" . + "7461696e65722e76312e4f7065726174696f6e227a82d3e49302741a2c2f" . + "76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f" . + "2a2f636c7573746572732f2a7d3a012a5a411a3c2f76312f70726f6a6563" . + "74732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f63" . + "6c7573746572732f7b636c75737465725f69647d3a012a1286020a0e5570" . + "646174654e6f6465506f6f6c122a2e676f6f676c652e636f6e7461696e65" . + "722e76312e5570646174654e6f6465506f6f6c526571756573741a1e2e67" . + "6f6f676c652e636f6e7461696e65722e76312e4f7065726174696f6e22a7" . + "0182d3e49302a0011a382f76312f7b6e616d653d70726f6a656374732f2a" . + "2f6c6f636174696f6e732f2a2f636c7573746572732f2a2f6e6f6465506f" . + "6f6c732f2a7d3a012a5a61225c2f76312f70726f6a656374732f7b70726f" . + "6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c757374657273" . + "2f7b636c75737465725f69647d2f6e6f6465506f6f6c732f7b6e6f64655f" . + "706f6f6c5f69647d2f7570646174653a012a12aa020a165365744e6f6465" . + "506f6f6c4175746f7363616c696e6712322e676f6f676c652e636f6e7461" . + "696e65722e76312e5365744e6f6465506f6f6c4175746f7363616c696e67" . + "526571756573741a1e2e676f6f676c652e636f6e7461696e65722e76312e" . + "4f7065726174696f6e22bb0182d3e49302b40122472f76312f7b6e616d65" . + "3d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f636c75737465" . + "72732f2a2f6e6f6465506f6f6c732f2a7d3a7365744175746f7363616c69" . + "6e673a012a5a6622612f76312f70726f6a656374732f7b70726f6a656374" . "5f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f7b636c" . - "75737465725f69647d2f6c6f636174696f6e733a012a12a8010a0c557064" . - "6174654d617374657212282e676f6f676c652e636f6e7461696e65722e76" . - "312e5570646174654d6173746572526571756573741a1e2e676f6f676c65" . - "2e636f6e7461696e65722e76312e4f7065726174696f6e224e82d3e49302" . + "75737465725f69647d2f6e6f6465506f6f6c732f7b6e6f64655f706f6f6c" . + "5f69647d2f6175746f7363616c696e673a012a12f3010a115365744c6f67" . + "67696e6753657276696365122d2e676f6f676c652e636f6e7461696e6572" . + "2e76312e5365744c6f6767696e6753657276696365526571756573741a1e" . + "2e676f6f676c652e636f6e7461696e65722e76312e4f7065726174696f6e" . + "228e0182d3e49302870122372f76312f7b6e616d653d70726f6a65637473" . + "2f2a2f6c6f636174696f6e732f2a2f636c7573746572732f2a7d3a736574" . + "4c6f6767696e673a012a5a4922442f76312f70726f6a656374732f7b7072" . + "6f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572" . + "732f7b636c75737465725f69647d2f6c6f6767696e673a012a12ff010a14" . + "5365744d6f6e69746f72696e675365727669636512302e676f6f676c652e" . + "636f6e7461696e65722e76312e5365744d6f6e69746f72696e6753657276" . + "696365526571756573741a1e2e676f6f676c652e636f6e7461696e65722e" . + "76312e4f7065726174696f6e22940182d3e493028d01223a2f76312f7b6e" . + "616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f636c75" . + "73746572732f2a7d3a7365744d6f6e69746f72696e673a012a5a4c22472f" . + "76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e6573" . + "2f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d2f" . + "6d6f6e69746f72696e673a012a12ed010a0f5365744164646f6e73436f6e" . + "666967122b2e676f6f676c652e636f6e7461696e65722e76312e53657441" . + "64646f6e73436f6e666967526571756573741a1e2e676f6f676c652e636f" . + "6e7461696e65722e76312e4f7065726174696f6e228c0182d3e493028501" . + "22362f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f" . + "6e732f2a2f636c7573746572732f2a7d3a7365744164646f6e733a012a5a" . "4822432f76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a" . "6f6e65732f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f" . - "69647d2f6d61737465723a012a12b1010a0d5365744d6173746572417574" . - "6812292e676f6f676c652e636f6e7461696e65722e76312e5365744d6173" . - "74657241757468526571756573741a1e2e676f6f676c652e636f6e746169" . - "6e65722e76312e4f7065726174696f6e225582d3e493024f224a2f76312f" . - "70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a" . - "6f6e657d2f636c7573746572732f7b636c75737465725f69647d3a736574" . - "4d6173746572417574683a012a12a0010a0d44656c657465436c75737465" . - "7212292e676f6f676c652e636f6e7461696e65722e76312e44656c657465" . - "436c7573746572526571756573741a1e2e676f6f676c652e636f6e746169" . - "6e65722e76312e4f7065726174696f6e224482d3e493023e2a3c2f76312f" . + "69647d2f6164646f6e733a012a12ed010a0c5365744c6f636174696f6e73" . + "12282e676f6f676c652e636f6e7461696e65722e76312e5365744c6f6361" . + "74696f6e73526571756573741a1e2e676f6f676c652e636f6e7461696e65" . + "722e76312e4f7065726174696f6e22920182d3e493028b0122392f76312f" . + "7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f63" . + "6c7573746572732f2a7d3a7365744c6f636174696f6e733a012a5a4b2246" . + "2f76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65" . + "732f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d" . + "2f6c6f636174696f6e733a012a12ea010a0c5570646174654d6173746572" . + "12282e676f6f676c652e636f6e7461696e65722e76312e5570646174654d" . + "6173746572526571756573741a1e2e676f6f676c652e636f6e7461696e65" . + "722e76312e4f7065726174696f6e228f0182d3e49302880122392f76312f" . + "7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f63" . + "6c7573746572732f2a7d3a7570646174654d61737465723a012a5a482243" . + "2f76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65" . + "732f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d" . + "2f6d61737465723a012a12f4010a0d5365744d6173746572417574681229" . + "2e676f6f676c652e636f6e7461696e65722e76312e5365744d6173746572" . + "41757468526571756573741a1e2e676f6f676c652e636f6e7461696e6572" . + "2e76312e4f7065726174696f6e22970182d3e493029001223a2f76312f7b" . + "6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f636c" . + "7573746572732f2a7d3a7365744d6173746572417574683a012a5a4f224a" . + "2f76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65" . + "732f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d" . + "3a7365744d6173746572417574683a012a12d0010a0d44656c657465436c" . + "757374657212292e676f6f676c652e636f6e7461696e65722e76312e4465" . + "6c657465436c7573746572526571756573741a1e2e676f6f676c652e636f" . + "6e7461696e65722e76312e4f7065726174696f6e227482d3e493026e2a2c" . + "2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e73" . + "2f2a2f636c7573746572732f2a7d5a3e2a3c2f76312f70726f6a65637473" . + "2f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c75" . + "73746572732f7b636c75737465725f69647d12d6010a0e4c6973744f7065" . + "726174696f6e73122a2e676f6f676c652e636f6e7461696e65722e76312e" . + "4c6973744f7065726174696f6e73526571756573741a2b2e676f6f676c65" . + "2e636f6e7461696e65722e76312e4c6973744f7065726174696f6e735265" . + "73706f6e7365226b82d3e4930265122e2f76312f7b706172656e743d7072" . + "6f6a656374732f2a2f6c6f636174696f6e732f2a7d2f6f7065726174696f" . + "6e735a3312312f76312f70726f6a656374732f7b70726f6a6563745f6964" . + "7d2f7a6f6e65732f7b7a6f6e657d2f6f7065726174696f6e7312d4010a0c" . + "4765744f7065726174696f6e12282e676f6f676c652e636f6e7461696e65" . + "722e76312e4765744f7065726174696f6e526571756573741a1e2e676f6f" . + "676c652e636f6e7461696e65722e76312e4f7065726174696f6e227a82d3" . + "e4930274122e2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f63" . + "6174696f6e732f2a2f6f7065726174696f6e732f2a7d5a4212402f76312f" . "70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a" . - "6f6e657d2f636c7573746572732f7b636c75737465725f69647d12a4010a" . - "0e4c6973744f7065726174696f6e73122a2e676f6f676c652e636f6e7461" . - "696e65722e76312e4c6973744f7065726174696f6e73526571756573741a" . - "2b2e676f6f676c652e636f6e7461696e65722e76312e4c6973744f706572" . - "6174696f6e73526573706f6e7365223982d3e493023312312f76312f7072" . - "6f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e" . - "657d2f6f7065726174696f6e7312a2010a0c4765744f7065726174696f6e" . - "12282e676f6f676c652e636f6e7461696e65722e76312e4765744f706572" . - "6174696f6e526571756573741a1e2e676f6f676c652e636f6e7461696e65" . - "722e76312e4f7065726174696f6e224882d3e493024212402f76312f7072" . - "6f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e" . - "657d2f6f7065726174696f6e732f7b6f7065726174696f6e5f69647d12aa" . - "010a0f43616e63656c4f7065726174696f6e122b2e676f6f676c652e636f" . - "6e7461696e65722e76312e43616e63656c4f7065726174696f6e52657175" . - "6573741a162e676f6f676c652e70726f746f6275662e456d707479225282" . - "d3e493024c22472f76312f70726f6a656374732f7b70726f6a6563745f69" . - "647d2f7a6f6e65732f7b7a6f6e657d2f6f7065726174696f6e732f7b6f70" . - "65726174696f6e5f69647d3a63616e63656c3a012a129e010a0f47657453" . - "6572766572436f6e666967122b2e676f6f676c652e636f6e7461696e6572" . - "2e76312e476574536572766572436f6e666967526571756573741a212e67" . - "6f6f676c652e636f6e7461696e65722e76312e536572766572436f6e6669" . - "67223b82d3e493023512332f76312f70726f6a656374732f7b70726f6a65" . - "63745f69647d2f7a6f6e65732f7b7a6f6e657d2f736572766572636f6e66" . - "696712b6010a0d4c6973744e6f6465506f6f6c7312292e676f6f676c652e" . - "636f6e7461696e65722e76312e4c6973744e6f6465506f6f6c7352657175" . - "6573741a2a2e676f6f676c652e636f6e7461696e65722e76312e4c697374" . - "4e6f6465506f6f6c73526573706f6e7365224e82d3e493024812462f7631" . - "2f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b" . - "7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d2f6e6f" . - "6465506f6f6c7312b4010a0b4765744e6f6465506f6f6c12272e676f6f67" . - "6c652e636f6e7461696e65722e76312e4765744e6f6465506f6f6c526571" . - "756573741a1d2e676f6f676c652e636f6e7461696e65722e76312e4e6f64" . - "65506f6f6c225d82d3e493025712552f76312f70726f6a656374732f7b70" . - "726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c75737465" . - "72732f7b636c75737465725f69647d2f6e6f6465506f6f6c732f7b6e6f64" . - "655f706f6f6c5f69647d12af010a0e4372656174654e6f6465506f6f6c12" . - "2a2e676f6f676c652e636f6e7461696e65722e76312e4372656174654e6f" . - "6465506f6f6c526571756573741a1e2e676f6f676c652e636f6e7461696e" . - "65722e76312e4f7065726174696f6e225182d3e493024b22462f76312f70" . - "726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f" . - "6e657d2f636c7573746572732f7b636c75737465725f69647d2f6e6f6465" . - "506f6f6c733a012a12bb010a0e44656c6574654e6f6465506f6f6c122a2e" . - "676f6f676c652e636f6e7461696e65722e76312e44656c6574654e6f6465" . - "506f6f6c526571756573741a1e2e676f6f676c652e636f6e7461696e6572" . - "2e76312e4f7065726174696f6e225d82d3e49302572a552f76312f70726f" . + "6f6e657d2f6f7065726174696f6e732f7b6f7065726174696f6e5f69647d" . + "12e8010a0f43616e63656c4f7065726174696f6e122b2e676f6f676c652e" . + "636f6e7461696e65722e76312e43616e63656c4f7065726174696f6e5265" . + "71756573741a162e676f6f676c652e70726f746f6275662e456d70747922" . + "8f0182d3e49302880122352f76312f7b6e616d653d70726f6a656374732f" . + "2a2f6c6f636174696f6e732f2a2f6f7065726174696f6e732f2a7d3a6361" . + "6e63656c3a012a5a4c22472f76312f70726f6a656374732f7b70726f6a65" . + "63745f69647d2f7a6f6e65732f7b7a6f6e657d2f6f7065726174696f6e73" . + "2f7b6f7065726174696f6e5f69647d3a63616e63656c3a012a12d0010a0f" . + "476574536572766572436f6e666967122b2e676f6f676c652e636f6e7461" . + "696e65722e76312e476574536572766572436f6e66696752657175657374" . + "1a212e676f6f676c652e636f6e7461696e65722e76312e53657276657243" . + "6f6e666967226d82d3e4930267122e2f76312f7b6e616d653d70726f6a65" . + "6374732f2a2f6c6f636174696f6e732f2a7d2f736572766572436f6e6669" . + "675a3512332f76312f70726f6a656374732f7b70726f6a6563745f69647d" . + "2f7a6f6e65732f7b7a6f6e657d2f736572766572636f6e66696712f4010a" . + "0d4c6973744e6f6465506f6f6c7312292e676f6f676c652e636f6e746169" . + "6e65722e76312e4c6973744e6f6465506f6f6c73526571756573741a2a2e" . + "676f6f676c652e636f6e7461696e65722e76312e4c6973744e6f6465506f" . + "6f6c73526573706f6e7365228b0182d3e49302840112382f76312f7b7061" . + "72656e743d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f636c" . + "7573746572732f2a7d2f6e6f6465506f6f6c735a4812462f76312f70726f" . "6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e65" . "7d2f636c7573746572732f7b636c75737465725f69647d2f6e6f6465506f" . - "6f6c732f7b6e6f64655f706f6f6c5f69647d12d9010a17526f6c6c626163" . - "6b4e6f6465506f6f6c5570677261646512332e676f6f676c652e636f6e74" . - "61696e65722e76312e526f6c6c6261636b4e6f6465506f6f6c5570677261" . - "6465526571756573741a1e2e676f6f676c652e636f6e7461696e65722e76" . - "312e4f7065726174696f6e226982d3e4930263225e2f76312f70726f6a65" . + "6f6c7312f2010a0b4765744e6f6465506f6f6c12272e676f6f676c652e63" . + "6f6e7461696e65722e76312e4765744e6f6465506f6f6c52657175657374" . + "1a1d2e676f6f676c652e636f6e7461696e65722e76312e4e6f6465506f6f" . + "6c229a0182d3e49302930112382f76312f7b6e616d653d70726f6a656374" . + "732f2a2f6c6f636174696f6e732f2a2f636c7573746572732f2a2f6e6f64" . + "65506f6f6c732f2a7d5a5712552f76312f70726f6a656374732f7b70726f" . + "6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c757374657273" . + "2f7b636c75737465725f69647d2f6e6f6465506f6f6c732f7b6e6f64655f" . + "706f6f6c5f69647d12f0010a0e4372656174654e6f6465506f6f6c122a2e" . + "676f6f676c652e636f6e7461696e65722e76312e4372656174654e6f6465" . + "506f6f6c526571756573741a1e2e676f6f676c652e636f6e7461696e6572" . + "2e76312e4f7065726174696f6e22910182d3e493028a0122382f76312f7b" . + "706172656e743d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f" . + "636c7573746572732f2a7d2f6e6f6465506f6f6c733a012a5a4b22462f76" . + "312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f" . + "7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d2f6e" . + "6f6465506f6f6c733a012a12f9010a0e44656c6574654e6f6465506f6f6c" . + "122a2e676f6f676c652e636f6e7461696e65722e76312e44656c6574654e" . + "6f6465506f6f6c526571756573741a1e2e676f6f676c652e636f6e746169" . + "6e65722e76312e4f7065726174696f6e229a0182d3e4930293012a382f76" . + "312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a" . + "2f636c7573746572732f2a2f6e6f6465506f6f6c732f2a7d5a572a552f76" . + "312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f" . + "7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d2f6e" . + "6f6465506f6f6c732f7b6e6f64655f706f6f6c5f69647d12a3020a17526f" . + "6c6c6261636b4e6f6465506f6f6c5570677261646512332e676f6f676c65" . + "2e636f6e7461696e65722e76312e526f6c6c6261636b4e6f6465506f6f6c" . + "55706772616465526571756573741a1e2e676f6f676c652e636f6e746169" . + "6e65722e76312e4f7065726174696f6e22b20182d3e49302ab0122412f76" . + "312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a" . + "2f636c7573746572732f2a2f6e6f6465506f6f6c732f2a7d3a726f6c6c62" . + "61636b3a012a5a63225e2f76312f70726f6a656374732f7b70726f6a6563" . + "745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f7b63" . + "6c75737465725f69647d2f6e6f6465506f6f6c732f7b6e6f64655f706f6f" . + "6c5f69647d3a726f6c6c6261636b3a012a12a9020a155365744e6f646550" . + "6f6f6c4d616e6167656d656e7412312e676f6f676c652e636f6e7461696e" . + "65722e76312e5365744e6f6465506f6f6c4d616e6167656d656e74526571" . + "756573741a1e2e676f6f676c652e636f6e7461696e65722e76312e4f7065" . + "726174696f6e22bc0182d3e49302b50122462f76312f7b6e616d653d7072" . + "6f6a656374732f2a2f6c6f636174696f6e732f2a2f636c7573746572732f" . + "2a2f6e6f6465506f6f6c732f2a7d3a7365744d616e6167656d656e743a01" . + "2a5a6822632f76312f70726f6a656374732f7b70726f6a6563745f69647d" . + "2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f7b636c75737465" . + "725f69647d2f6e6f6465506f6f6c732f7b6e6f64655f706f6f6c5f69647d" . + "2f7365744d616e6167656d656e743a012a12f1010a095365744c6162656c" . + "7312252e676f6f676c652e636f6e7461696e65722e76312e5365744c6162" . + "656c73526571756573741a1e2e676f6f676c652e636f6e7461696e65722e" . + "76312e4f7065726174696f6e229c0182d3e493029501223e2f76312f7b6e" . + "616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f636c75" . + "73746572732f2a7d3a7365745265736f757263654c6162656c733a012a5a" . + "50224b2f76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a" . + "6f6e65732f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f" . + "69647d2f7265736f757263654c6162656c733a012a12f1010a0d5365744c" . + "65676163794162616312292e676f6f676c652e636f6e7461696e65722e76" . + "312e5365744c656761637941626163526571756573741a1e2e676f6f676c" . + "652e636f6e7461696e65722e76312e4f7065726174696f6e22940182d3e4" . + "93028d01223a2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f63" . + "6174696f6e732f2a2f636c7573746572732f2a7d3a7365744c6567616379" . + "416261633a012a5a4c22472f76312f70726f6a656374732f7b70726f6a65" . + "63745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f7b" . + "636c75737465725f69647d2f6c6567616379416261633a012a12fc010a0f" . + "53746172744950526f746174696f6e122b2e676f6f676c652e636f6e7461" . + "696e65722e76312e53746172744950526f746174696f6e52657175657374" . + "1a1e2e676f6f676c652e636f6e7461696e65722e76312e4f706572617469" . + "6f6e229b0182d3e493029401223c2f76312f7b6e616d653d70726f6a6563" . + "74732f2a2f6c6f636174696f6e732f2a2f636c7573746572732f2a7d3a73" . + "746172744970526f746174696f6e3a012a5a51224c2f76312f70726f6a65" . "6374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f" . - "636c7573746572732f7b636c75737465725f69647d2f6e6f6465506f6f6c" . - "732f7b6e6f64655f706f6f6c5f69647d3a726f6c6c6261636b3a012a12da" . - "010a155365744e6f6465506f6f6c4d616e6167656d656e7412312e676f6f" . - "676c652e636f6e7461696e65722e76312e5365744e6f6465506f6f6c4d61" . - "6e6167656d656e74526571756573741a1e2e676f6f676c652e636f6e7461" . - "696e65722e76312e4f7065726174696f6e226e82d3e493026822632f7631" . - "2f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f7b" . - "7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d2f6e6f" . - "6465506f6f6c732f7b6e6f64655f706f6f6c5f69647d2f7365744d616e61" . - "67656d656e743a012a12aa010a095365744c6162656c7312252e676f6f67" . - "6c652e636f6e7461696e65722e76312e5365744c6162656c735265717565" . - "73741a1e2e676f6f676c652e636f6e7461696e65722e76312e4f70657261" . - "74696f6e225682d3e4930250224b2f76312f70726f6a656374732f7b7072" . - "6f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572" . - "732f7b636c75737465725f69647d2f7265736f757263654c6162656c733a" . - "012a12ae010a0d5365744c65676163794162616312292e676f6f676c652e" . - "636f6e7461696e65722e76312e5365744c65676163794162616352657175" . - "6573741a1e2e676f6f676c652e636f6e7461696e65722e76312e4f706572" . - "6174696f6e225282d3e493024c22472f76312f70726f6a656374732f7b70" . + "636c7573746572732f7b636c75737465725f69647d3a7374617274497052" . + "6f746174696f6e3a012a1288020a12436f6d706c6574654950526f746174" . + "696f6e122e2e676f6f676c652e636f6e7461696e65722e76312e436f6d70" . + "6c6574654950526f746174696f6e526571756573741a1e2e676f6f676c65" . + "2e636f6e7461696e65722e76312e4f7065726174696f6e22a10182d3e493" . + "029a01223f2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f6361" . + "74696f6e732f2a2f636c7573746572732f2a7d3a636f6d706c6574654970" . + "526f746174696f6e3a012a5a54224f2f76312f70726f6a656374732f7b70" . "726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c75737465" . - "72732f7b636c75737465725f69647d2f6c6567616379416261633a012a12" . - "b7010a0f53746172744950526f746174696f6e122b2e676f6f676c652e63" . - "6f6e7461696e65722e76312e53746172744950526f746174696f6e526571" . - "756573741a1e2e676f6f676c652e636f6e7461696e65722e76312e4f7065" . - "726174696f6e225782d3e4930251224c2f76312f70726f6a656374732f7b" . - "70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c757374" . - "6572732f7b636c75737465725f69647d3a73746172744970526f74617469" . - "6f6e3a012a12c0010a12436f6d706c6574654950526f746174696f6e122e" . - "2e676f6f676c652e636f6e7461696e65722e76312e436f6d706c65746549" . - "50526f746174696f6e526571756573741a1e2e676f6f676c652e636f6e74" . - "61696e65722e76312e4f7065726174696f6e225a82d3e4930254224f2f76" . - "312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f6e65732f" . - "7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69647d3a63" . - "6f6d706c6574654970526f746174696f6e3a012a12c8010a0f5365744e6f" . - "6465506f6f6c53697a65122b2e676f6f676c652e636f6e7461696e65722e" . - "76312e5365744e6f6465506f6f6c53697a65526571756573741a1e2e676f" . - "6f676c652e636f6e7461696e65722e76312e4f7065726174696f6e226882" . - "d3e4930262225d2f76312f70726f6a656374732f7b70726f6a6563745f69" . + "72732f7b636c75737465725f69647d3a636f6d706c6574654970526f7461" . + "74696f6e3a012a1291020a0f5365744e6f6465506f6f6c53697a65122b2e" . + "676f6f676c652e636f6e7461696e65722e76312e5365744e6f6465506f6f" . + "6c53697a65526571756573741a1e2e676f6f676c652e636f6e7461696e65" . + "722e76312e4f7065726174696f6e22b00182d3e49302a90122402f76312f" . + "7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f63" . + "6c7573746572732f2a2f6e6f6465506f6f6c732f2a7d3a73657453697a65" . + "3a012a5a62225d2f76312f70726f6a656374732f7b70726f6a6563745f69" . "647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f7b636c7573" . "7465725f69647d2f6e6f6465506f6f6c732f7b6e6f64655f706f6f6c5f69" . - "647d2f73657453697a653a012a12ba010a105365744e6574776f726b506f" . + "647d2f73657453697a653a012a1280020a105365744e6574776f726b506f" . "6c696379122c2e676f6f676c652e636f6e7461696e65722e76312e536574" . "4e6574776f726b506f6c696379526571756573741a1e2e676f6f676c652e" . - "636f6e7461696e65722e76312e4f7065726174696f6e225882d3e4930252" . - "224d2f76312f70726f6a656374732f7b70726f6a6563745f69647d2f7a6f" . - "6e65732f7b7a6f6e657d2f636c7573746572732f7b636c75737465725f69" . - "647d3a7365744e6574776f726b506f6c6963793a012a12c6010a14536574" . - "4d61696e74656e616e6365506f6c69637912302e676f6f676c652e636f6e" . - "7461696e65722e76312e5365744d61696e74656e616e6365506f6c696379" . - "526571756573741a1e2e676f6f676c652e636f6e7461696e65722e76312e" . - "4f7065726174696f6e225c82d3e493025622512f76312f70726f6a656374" . - "732f7b70726f6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c" . - "7573746572732f7b636c75737465725f69647d3a7365744d61696e74656e" . - "616e6365506f6c6963793a012a42a6010a17636f6d2e676f6f676c652e63" . - "6f6e7461696e65722e76314213436c75737465725365727669636550726f" . - "746f50015a3c676f6f676c652e676f6c616e672e6f72672f67656e70726f" . - "746f2f676f6f676c65617069732f636f6e7461696e65722f76313b636f6e" . - "7461696e6572aa0219476f6f676c652e436c6f75642e436f6e7461696e65" . - "722e5631ca0219476f6f676c655c436c6f75645c436f6e7461696e65725c" . - "5631620670726f746f33" + "636f6e7461696e65722e76312e4f7065726174696f6e229d0182d3e49302" . + "9601223d2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174" . + "696f6e732f2a2f636c7573746572732f2a7d3a7365744e6574776f726b50" . + "6f6c6963793a012a5a52224d2f76312f70726f6a656374732f7b70726f6a" . + "6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c7573746572732f" . + "7b636c75737465725f69647d3a7365744e6574776f726b506f6c6963793a" . + "012a1290020a145365744d61696e74656e616e6365506f6c69637912302e" . + "676f6f676c652e636f6e7461696e65722e76312e5365744d61696e74656e" . + "616e6365506f6c696379526571756573741a1e2e676f6f676c652e636f6e" . + "7461696e65722e76312e4f7065726174696f6e22a50182d3e493029e0122" . + "412f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e" . + "732f2a2f636c7573746572732f2a7d3a7365744d61696e74656e616e6365" . + "506f6c6963793a012a5a5622512f76312f70726f6a656374732f7b70726f" . + "6a6563745f69647d2f7a6f6e65732f7b7a6f6e657d2f636c757374657273" . + "2f7b636c75737465725f69647d3a7365744d61696e74656e616e6365506f" . + "6c6963793a012a42a6010a17636f6d2e676f6f676c652e636f6e7461696e" . + "65722e76314213436c75737465725365727669636550726f746f50015a3c" . + "676f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f" . + "676c65617069732f636f6e7461696e65722f76313b636f6e7461696e6572" . + "aa0219476f6f676c652e436c6f75642e436f6e7461696e65722e5631ca02" . + "19476f6f676c655c436c6f75645c436f6e7461696e65725c563162067072" . + "6f746f33" )); static::$is_initialized = true; diff --git a/Container/src/V1/CancelOperationRequest.php b/Container/src/V1/CancelOperationRequest.php index 270b8212df00..b7b77997e00e 100644 --- a/Container/src/V1/CancelOperationRequest.php +++ b/Container/src/V1/CancelOperationRequest.php @@ -16,25 +16,35 @@ class CancelOperationRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string operation_id = 3; + * Generated from protobuf field string operation_id = 3 [deprecated = true]; */ private $operation_id = ''; + /** + * The name (project, location, operation id) of the operation to cancel. + * Specified in the format 'projects/*/locations/*/operations/*'. + * + * Generated from protobuf field string name = 4; + */ + private $name = ''; /** * Constructor. @@ -43,13 +53,19 @@ class CancelOperationRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation resides. + * This field has been deprecated and replaced by the name field. * @type string $operation_id - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, operation id) of the operation to cancel. + * Specified in the format 'projects/*/locations/*/operations/*'. * } */ public function __construct($data = NULL) { @@ -58,10 +74,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -70,10 +87,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -86,10 +104,11 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -98,10 +117,11 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -114,9 +134,10 @@ public function setZone($var) } /** - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string operation_id = 3; + * Generated from protobuf field string operation_id = 3 [deprecated = true]; * @return string */ public function getOperationId() @@ -125,9 +146,10 @@ public function getOperationId() } /** - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string operation_id = 3; + * Generated from protobuf field string operation_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -139,5 +161,33 @@ public function setOperationId($var) return $this; } + /** + * The name (project, location, operation id) of the operation to cancel. + * Specified in the format 'projects/*/locations/*/operations/*'. + * + * Generated from protobuf field string name = 4; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, operation id) of the operation to cancel. + * Specified in the format 'projects/*/locations/*/operations/*'. + * + * Generated from protobuf field string name = 4; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/Cluster.php b/Container/src/V1/Cluster.php index d86ecde75ca8..1f45c45eb8a3 100644 --- a/Container/src/V1/Cluster.php +++ b/Container/src/V1/Cluster.php @@ -9,7 +9,7 @@ use Google\Protobuf\Internal\GPBUtil; /** - * A Google Container Engine cluster. + * A Google Kubernetes Engine cluster. * * Generated from protobuf message google.container.v1.Cluster */ @@ -175,7 +175,6 @@ class Cluster extends \Google\Protobuf\Internal\Message */ private $ip_allocation_policy = null; /** - * Master authorized networks is a Beta feature. * The configuration options for master authorized networks feature. * * Generated from protobuf field .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; @@ -187,6 +186,18 @@ class Cluster extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.MaintenancePolicy maintenance_policy = 23; */ private $maintenance_policy = null; + /** + * Configuration for cluster networking. + * + * Generated from protobuf field .google.container.v1.NetworkConfig network_config = 27; + */ + private $network_config = null; + /** + * Configuration for private cluster. + * + * Generated from protobuf field .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + */ + private $private_cluster_config = null; /** * [Output only] Server-defined URL for the resource. * @@ -197,8 +208,9 @@ class Cluster extends \Google\Protobuf\Internal\Message * [Output only] The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field is deprecated, use location instead. * - * Generated from protobuf field string zone = 101; + * Generated from protobuf field string zone = 101 [deprecated = true]; */ private $zone = ''; /** @@ -216,6 +228,13 @@ class Cluster extends \Google\Protobuf\Internal\Message * found in validMasterVersions returned by getServerConfig. The version can * be upgraded over time; such upgrades are reflected in * currentMasterVersion and currentNodeVersion. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "","-": picks the default Kubernetes version * * Generated from protobuf field string initial_cluster_version = 103; */ @@ -227,11 +246,13 @@ class Cluster extends \Google\Protobuf\Internal\Message */ private $current_master_version = ''; /** - * [Output only] The current version of the node software components. - * If they are currently at multiple versions because they're in the process - * of being upgraded, this reflects the minimum version of all nodes. + * [Output only] Deprecated, use + * [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool) + * instead. The current version of the node software components. If they are + * currently at multiple versions because they're in the process of being + * upgraded, this reflects the minimum version of all nodes. * - * Generated from protobuf field string current_node_version = 105; + * Generated from protobuf field string current_node_version = 105 [deprecated = true]; */ private $current_node_version = ''; /** @@ -275,7 +296,7 @@ class Cluster extends \Google\Protobuf\Internal\Message /** * Deprecated. Use node_pools.instance_group_urls. * - * Generated from protobuf field repeated string instance_group_urls = 111; + * Generated from protobuf field repeated string instance_group_urls = 111 [deprecated = true]; */ private $instance_group_urls; /** @@ -291,6 +312,15 @@ class Cluster extends \Google\Protobuf\Internal\Message * Generated from protobuf field string expire_time = 113; */ private $expire_time = ''; + /** + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. + * + * Generated from protobuf field string location = 114; + */ + private $location = ''; /** * Constructor. @@ -382,16 +412,20 @@ class Cluster extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Container\V1\IPAllocationPolicy $ip_allocation_policy * Configuration for cluster IP allocation. * @type \Google\Cloud\Container\V1\MasterAuthorizedNetworksConfig $master_authorized_networks_config - * Master authorized networks is a Beta feature. * The configuration options for master authorized networks feature. * @type \Google\Cloud\Container\V1\MaintenancePolicy $maintenance_policy * Configure the maintenance policy for this cluster. + * @type \Google\Cloud\Container\V1\NetworkConfig $network_config + * Configuration for cluster networking. + * @type \Google\Cloud\Container\V1\PrivateClusterConfig $private_cluster_config + * Configuration for private cluster. * @type string $self_link * [Output only] Server-defined URL for the resource. * @type string $zone * [Output only] The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field is deprecated, use location instead. * @type string $endpoint * [Output only] The IP address of this cluster's master endpoint. * The endpoint can be accessed from the internet at @@ -403,12 +437,21 @@ class Cluster extends \Google\Protobuf\Internal\Message * found in validMasterVersions returned by getServerConfig. The version can * be upgraded over time; such upgrades are reflected in * currentMasterVersion and currentNodeVersion. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "","-": picks the default Kubernetes version * @type string $current_master_version * [Output only] The current software version of the master endpoint. * @type string $current_node_version - * [Output only] The current version of the node software components. - * If they are currently at multiple versions because they're in the process - * of being upgraded, this reflects the minimum version of all nodes. + * [Output only] Deprecated, use + * [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool) + * instead. The current version of the node software components. If they are + * currently at multiple versions because they're in the process of being + * upgraded, this reflects the minimum version of all nodes. * @type string $create_time * [Output only] The time the cluster was created, in * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. @@ -434,6 +477,11 @@ class Cluster extends \Google\Protobuf\Internal\Message * @type string $expire_time * [Output only] The time the cluster will be automatically * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. + * @type string $location + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. * } */ public function __construct($data = NULL) { @@ -1026,7 +1074,6 @@ public function setIpAllocationPolicy($var) } /** - * Master authorized networks is a Beta feature. * The configuration options for master authorized networks feature. * * Generated from protobuf field .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; @@ -1038,7 +1085,6 @@ public function getMasterAuthorizedNetworksConfig() } /** - * Master authorized networks is a Beta feature. * The configuration options for master authorized networks feature. * * Generated from protobuf field .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; @@ -1079,6 +1125,58 @@ public function setMaintenancePolicy($var) return $this; } + /** + * Configuration for cluster networking. + * + * Generated from protobuf field .google.container.v1.NetworkConfig network_config = 27; + * @return \Google\Cloud\Container\V1\NetworkConfig + */ + public function getNetworkConfig() + { + return $this->network_config; + } + + /** + * Configuration for cluster networking. + * + * Generated from protobuf field .google.container.v1.NetworkConfig network_config = 27; + * @param \Google\Cloud\Container\V1\NetworkConfig $var + * @return $this + */ + public function setNetworkConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\NetworkConfig::class); + $this->network_config = $var; + + return $this; + } + + /** + * Configuration for private cluster. + * + * Generated from protobuf field .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * @return \Google\Cloud\Container\V1\PrivateClusterConfig + */ + public function getPrivateClusterConfig() + { + return $this->private_cluster_config; + } + + /** + * Configuration for private cluster. + * + * Generated from protobuf field .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * @param \Google\Cloud\Container\V1\PrivateClusterConfig $var + * @return $this + */ + public function setPrivateClusterConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\PrivateClusterConfig::class); + $this->private_cluster_config = $var; + + return $this; + } + /** * [Output only] Server-defined URL for the resource. * @@ -1109,8 +1207,9 @@ public function setSelfLink($var) * [Output only] The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field is deprecated, use location instead. * - * Generated from protobuf field string zone = 101; + * Generated from protobuf field string zone = 101 [deprecated = true]; * @return string */ public function getZone() @@ -1122,8 +1221,9 @@ public function getZone() * [Output only] The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field is deprecated, use location instead. * - * Generated from protobuf field string zone = 101; + * Generated from protobuf field string zone = 101 [deprecated = true]; * @param string $var * @return $this */ @@ -1174,6 +1274,13 @@ public function setEndpoint($var) * found in validMasterVersions returned by getServerConfig. The version can * be upgraded over time; such upgrades are reflected in * currentMasterVersion and currentNodeVersion. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "","-": picks the default Kubernetes version * * Generated from protobuf field string initial_cluster_version = 103; * @return string @@ -1188,6 +1295,13 @@ public function getInitialClusterVersion() * found in validMasterVersions returned by getServerConfig. The version can * be upgraded over time; such upgrades are reflected in * currentMasterVersion and currentNodeVersion. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "","-": picks the default Kubernetes version * * Generated from protobuf field string initial_cluster_version = 103; * @param string $var @@ -1228,11 +1342,13 @@ public function setCurrentMasterVersion($var) } /** - * [Output only] The current version of the node software components. - * If they are currently at multiple versions because they're in the process - * of being upgraded, this reflects the minimum version of all nodes. + * [Output only] Deprecated, use + * [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool) + * instead. The current version of the node software components. If they are + * currently at multiple versions because they're in the process of being + * upgraded, this reflects the minimum version of all nodes. * - * Generated from protobuf field string current_node_version = 105; + * Generated from protobuf field string current_node_version = 105 [deprecated = true]; * @return string */ public function getCurrentNodeVersion() @@ -1241,11 +1357,13 @@ public function getCurrentNodeVersion() } /** - * [Output only] The current version of the node software components. - * If they are currently at multiple versions because they're in the process - * of being upgraded, this reflects the minimum version of all nodes. + * [Output only] Deprecated, use + * [NodePool.version](/kubernetes-engine/docs/reference/rest/v1/projects.zones.clusters.nodePool) + * instead. The current version of the node software components. If they are + * currently at multiple versions because they're in the process of being + * upgraded, this reflects the minimum version of all nodes. * - * Generated from protobuf field string current_node_version = 105; + * Generated from protobuf field string current_node_version = 105 [deprecated = true]; * @param string $var * @return $this */ @@ -1406,7 +1524,7 @@ public function setServicesIpv4Cidr($var) /** * Deprecated. Use node_pools.instance_group_urls. * - * Generated from protobuf field repeated string instance_group_urls = 111; + * Generated from protobuf field repeated string instance_group_urls = 111 [deprecated = true]; * @return \Google\Protobuf\Internal\RepeatedField */ public function getInstanceGroupUrls() @@ -1417,7 +1535,7 @@ public function getInstanceGroupUrls() /** * Deprecated. Use node_pools.instance_group_urls. * - * Generated from protobuf field repeated string instance_group_urls = 111; + * Generated from protobuf field repeated string instance_group_urls = 111 [deprecated = true]; * @param string[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ @@ -1483,5 +1601,37 @@ public function setExpireTime($var) return $this; } + /** + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. + * + * Generated from protobuf field string location = 114; + * @return string + */ + public function getLocation() + { + return $this->location; + } + + /** + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. + * + * Generated from protobuf field string location = 114; + * @param string $var + * @return $this + */ + public function setLocation($var) + { + GPBUtil::checkString($var, True); + $this->location = $var; + + return $this; + } + } diff --git a/Container/src/V1/Cluster/Status.php b/Container/src/V1/Cluster/Status.php index 2f944a6a4b6e..6be0fa10187d 100644 --- a/Container/src/V1/Cluster/Status.php +++ b/Container/src/V1/Cluster/Status.php @@ -51,6 +51,13 @@ class Status * Generated from protobuf enum ERROR = 5; */ const ERROR = 5; + /** + * The DEGRADED state indicates the cluster requires user action to restore + * full functionality. Details can be found in the `statusMessage` field. + * + * Generated from protobuf enum DEGRADED = 6; + */ + const DEGRADED = 6; } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/Container/src/V1/ClusterManagerGrpcClient.php b/Container/src/V1/ClusterManagerGrpcClient.php index dd35174e7db6..5879eca439ed 100644 --- a/Container/src/V1/ClusterManagerGrpcClient.php +++ b/Container/src/V1/ClusterManagerGrpcClient.php @@ -2,7 +2,7 @@ // GENERATED CODE -- DO NOT EDIT! // Original file comments: -// Copyright 2017 Google Inc. +// Copyright 2018 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,11 @@ // See the License for the specific language governing permissions and // limitations under the License. // +// namespace Google\Cloud\Container\V1; /** - * Google Container Engine Cluster Manager v1 + * Google Kubernetes Engine Cluster Manager v1 */ class ClusterManagerGrpcClient extends \Grpc\BaseStub { @@ -102,7 +103,7 @@ public function UpdateCluster(\Google\Cloud\Container\V1\UpdateClusterRequest $a } /** - * Updates the version and/or image type of a specific node pool. + * Updates the version and/or image type for a specific node pool. * @param \Google\Cloud\Container\V1\UpdateNodePoolRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -116,7 +117,7 @@ public function UpdateNodePool(\Google\Cloud\Container\V1\UpdateNodePoolRequest } /** - * Sets the autoscaling settings of a specific node pool. + * Sets the autoscaling settings for a specific node pool. * @param \Google\Cloud\Container\V1\SetNodePoolAutoscalingRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -130,7 +131,7 @@ public function SetNodePoolAutoscaling(\Google\Cloud\Container\V1\SetNodePoolAut } /** - * Sets the logging service of a specific cluster. + * Sets the logging service for a specific cluster. * @param \Google\Cloud\Container\V1\SetLoggingServiceRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -144,7 +145,7 @@ public function SetLoggingService(\Google\Cloud\Container\V1\SetLoggingServiceRe } /** - * Sets the monitoring service of a specific cluster. + * Sets the monitoring service for a specific cluster. * @param \Google\Cloud\Container\V1\SetMonitoringServiceRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -158,7 +159,7 @@ public function SetMonitoringService(\Google\Cloud\Container\V1\SetMonitoringSer } /** - * Sets the addons of a specific cluster. + * Sets the addons for a specific cluster. * @param \Google\Cloud\Container\V1\SetAddonsConfigRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -172,7 +173,7 @@ public function SetAddonsConfig(\Google\Cloud\Container\V1\SetAddonsConfigReques } /** - * Sets the locations of a specific cluster. + * Sets the locations for a specific cluster. * @param \Google\Cloud\Container\V1\SetLocationsRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -186,7 +187,7 @@ public function SetLocations(\Google\Cloud\Container\V1\SetLocationsRequest $arg } /** - * Updates the master of a specific cluster. + * Updates the master for a specific cluster. * @param \Google\Cloud\Container\V1\UpdateMasterRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -201,7 +202,7 @@ public function UpdateMaster(\Google\Cloud\Container\V1\UpdateMasterRequest $arg /** * Used to set master auth materials. Currently supports :- - * Changing the admin password of a specific cluster. + * Changing the admin password for a specific cluster. * This can be either via password generation or explicitly set the password. * @param \Google\Cloud\Container\V1\SetMasterAuthRequest $argument input argument * @param array $metadata metadata @@ -280,7 +281,7 @@ public function CancelOperation(\Google\Cloud\Container\V1\CancelOperationReques } /** - * Returns configuration info about the Container Engine service. + * Returns configuration info about the Kubernetes Engine service. * @param \Google\Cloud\Container\V1\GetServerConfigRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -435,7 +436,7 @@ public function CompleteIPRotation(\Google\Cloud\Container\V1\CompleteIPRotation } /** - * Sets the size of a specific node pool. + * Sets the size for a specific node pool. * @param \Google\Cloud\Container\V1\SetNodePoolSizeRequest $argument input argument * @param array $metadata metadata * @param array $options call options diff --git a/Container/src/V1/ClusterUpdate.php b/Container/src/V1/ClusterUpdate.php index 78b6f2548efb..62d16feac33c 100644 --- a/Container/src/V1/ClusterUpdate.php +++ b/Container/src/V1/ClusterUpdate.php @@ -19,8 +19,14 @@ class ClusterUpdate extends \Google\Protobuf\Internal\Message { /** * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * * Generated from protobuf field string desired_node_version = 4; */ @@ -77,16 +83,20 @@ class ClusterUpdate extends \Google\Protobuf\Internal\Message */ private $desired_locations; /** - * Master authorized networks is a Beta feature. * The desired configuration options for master authorized networks feature. * * Generated from protobuf field .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ private $desired_master_authorized_networks_config = null; /** - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version * * Generated from protobuf field string desired_master_version = 100; */ @@ -100,8 +110,14 @@ class ClusterUpdate extends \Google\Protobuf\Internal\Message * * @type string $desired_node_version * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * @type string $desired_monitoring_service * The monitoring service the cluster should use to write metrics. * Currently available options: @@ -130,12 +146,16 @@ class ClusterUpdate extends \Google\Protobuf\Internal\Message * whether locations are being added or removed. * This list must always include the cluster's primary zone. * @type \Google\Cloud\Container\V1\MasterAuthorizedNetworksConfig $desired_master_authorized_networks_config - * Master authorized networks is a Beta feature. * The desired configuration options for master authorized networks feature. * @type string $desired_master_version - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version * } */ public function __construct($data = NULL) { @@ -145,8 +165,14 @@ public function __construct($data = NULL) { /** * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * * Generated from protobuf field string desired_node_version = 4; * @return string @@ -158,8 +184,14 @@ public function getDesiredNodeVersion() /** * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * * Generated from protobuf field string desired_node_version = 4; * @param string $var @@ -360,7 +392,6 @@ public function setDesiredLocations($var) } /** - * Master authorized networks is a Beta feature. * The desired configuration options for master authorized networks feature. * * Generated from protobuf field .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; @@ -372,7 +403,6 @@ public function getDesiredMasterAuthorizedNetworksConfig() } /** - * Master authorized networks is a Beta feature. * The desired configuration options for master authorized networks feature. * * Generated from protobuf field .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; @@ -388,9 +418,14 @@ public function setDesiredMasterAuthorizedNetworksConfig($var) } /** - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version * * Generated from protobuf field string desired_master_version = 100; * @return string @@ -401,9 +436,14 @@ public function getDesiredMasterVersion() } /** - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by + * Kubernetes Engine or version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version * * Generated from protobuf field string desired_master_version = 100; * @param string $var diff --git a/Container/src/V1/CompleteIPRotationRequest.php b/Container/src/V1/CompleteIPRotationRequest.php index e11d4fc96dc2..47e9c3572068 100644 --- a/Container/src/V1/CompleteIPRotationRequest.php +++ b/Container/src/V1/CompleteIPRotationRequest.php @@ -16,26 +16,36 @@ class CompleteIPRotationRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; + /** + * The name (project, location, cluster id) of the cluster to complete IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + */ + private $name = ''; /** * Constructor. @@ -44,14 +54,20 @@ class CompleteIPRotationRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, cluster id) of the cluster to complete IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -60,10 +76,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -72,10 +89,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -88,11 +106,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -101,11 +120,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -118,9 +138,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -129,9 +150,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -143,5 +165,33 @@ public function setClusterId($var) return $this; } + /** + * The name (project, location, cluster id) of the cluster to complete IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster id) of the cluster to complete IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/CreateClusterRequest.php b/Container/src/V1/CreateClusterRequest.php index 27b849ead207..13bd6c9dc9cb 100644 --- a/Container/src/V1/CreateClusterRequest.php +++ b/Container/src/V1/CreateClusterRequest.php @@ -16,18 +16,20 @@ class CreateClusterRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** @@ -37,6 +39,13 @@ class CreateClusterRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.Cluster cluster = 3; */ private $cluster = null; + /** + * The parent (project and location) where the cluster will be created. + * Specified in the format 'projects/*/locations/*'. + * + * Generated from protobuf field string parent = 5; + */ + private $parent = ''; /** * Constructor. @@ -45,15 +54,20 @@ class CreateClusterRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * @type \Google\Cloud\Container\V1\Cluster $cluster * A [cluster * resource](/container-engine/reference/rest/v1/projects.zones.clusters) + * @type string $parent + * The parent (project and location) where the cluster will be created. + * Specified in the format 'projects/*/locations/*'. * } */ public function __construct($data = NULL) { @@ -62,10 +76,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -74,10 +89,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -90,11 +106,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -103,11 +120,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -147,5 +165,33 @@ public function setCluster($var) return $this; } + /** + * The parent (project and location) where the cluster will be created. + * Specified in the format 'projects/*/locations/*'. + * + * Generated from protobuf field string parent = 5; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * The parent (project and location) where the cluster will be created. + * Specified in the format 'projects/*/locations/*'. + * + * Generated from protobuf field string parent = 5; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + } diff --git a/Container/src/V1/CreateNodePoolRequest.php b/Container/src/V1/CreateNodePoolRequest.php index eab9acf760ad..bc21d7f87470 100644 --- a/Container/src/V1/CreateNodePoolRequest.php +++ b/Container/src/V1/CreateNodePoolRequest.php @@ -16,24 +16,27 @@ class CreateNodePoolRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -42,6 +45,14 @@ class CreateNodePoolRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.NodePool node_pool = 4; */ private $node_pool = null; + /** + * The parent (project, location, cluster id) where the node pool will be + * created. Specified in the format + * 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string parent = 6; + */ + private $parent = ''; /** * Constructor. @@ -50,16 +61,23 @@ class CreateNodePoolRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * @type \Google\Cloud\Container\V1\NodePool $node_pool * The node pool to create. + * @type string $parent + * The parent (project, location, cluster id) where the node pool will be + * created. Specified in the format + * 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -68,10 +86,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -80,10 +99,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -96,11 +116,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -109,11 +130,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -126,9 +148,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -137,9 +160,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -177,5 +201,35 @@ public function setNodePool($var) return $this; } + /** + * The parent (project, location, cluster id) where the node pool will be + * created. Specified in the format + * 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string parent = 6; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * The parent (project, location, cluster id) where the node pool will be + * created. Specified in the format + * 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string parent = 6; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + } diff --git a/Container/src/V1/DeleteClusterRequest.php b/Container/src/V1/DeleteClusterRequest.php index d7222a1119bd..dadaf57ae175 100644 --- a/Container/src/V1/DeleteClusterRequest.php +++ b/Container/src/V1/DeleteClusterRequest.php @@ -16,26 +16,36 @@ class DeleteClusterRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to delete. + * Deprecated. The name of the cluster to delete. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; + /** + * The name (project, location, cluster) of the cluster to delete. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 4; + */ + private $name = ''; /** * Constructor. @@ -44,14 +54,20 @@ class DeleteClusterRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to delete. + * Deprecated. The name of the cluster to delete. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, cluster) of the cluster to delete. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -60,10 +76,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -72,10 +89,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -88,11 +106,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -101,11 +120,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -118,9 +138,10 @@ public function setZone($var) } /** - * The name of the cluster to delete. + * Deprecated. The name of the cluster to delete. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -129,9 +150,10 @@ public function getClusterId() } /** - * The name of the cluster to delete. + * Deprecated. The name of the cluster to delete. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -143,5 +165,33 @@ public function setClusterId($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to delete. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 4; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to delete. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 4; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/DeleteNodePoolRequest.php b/Container/src/V1/DeleteNodePoolRequest.php index c55189586c32..13ac5560dd5d 100644 --- a/Container/src/V1/DeleteNodePoolRequest.php +++ b/Container/src/V1/DeleteNodePoolRequest.php @@ -16,32 +16,44 @@ class DeleteNodePoolRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The name of the node pool to delete. + * Deprecated. The name of the node pool to delete. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; */ private $node_pool_id = ''; + /** + * The name (project, location, cluster, node pool id) of the node pool to + * delete. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -50,16 +62,24 @@ class DeleteNodePoolRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @type string $node_pool_id - * The name of the node pool to delete. + * Deprecated. The name of the node pool to delete. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to + * delete. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * } */ public function __construct($data = NULL) { @@ -68,10 +88,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -80,10 +101,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -96,11 +118,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -109,11 +132,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -126,9 +150,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -137,9 +162,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -152,9 +178,10 @@ public function setClusterId($var) } /** - * The name of the node pool to delete. + * Deprecated. The name of the node pool to delete. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @return string */ public function getNodePoolId() @@ -163,9 +190,10 @@ public function getNodePoolId() } /** - * The name of the node pool to delete. + * Deprecated. The name of the node pool to delete. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -177,5 +205,35 @@ public function setNodePoolId($var) return $this; } + /** + * The name (project, location, cluster, node pool id) of the node pool to + * delete. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster, node pool id) of the node pool to + * delete. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/Gapic/ClusterManagerGapicClient.php b/Container/src/V1/Gapic/ClusterManagerGapicClient.php index 0d2b3e333c55..cd9eff52d12d 100644 --- a/Container/src/V1/Gapic/ClusterManagerGapicClient.php +++ b/Container/src/V1/Gapic/ClusterManagerGapicClient.php @@ -81,7 +81,7 @@ use Google\Protobuf\GPBEmpty; /** - * Service Description: Google Container Engine Cluster Manager v1. + * Service Description: Google Kubernetes Engine Cluster Manager v1. * * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -223,14 +223,20 @@ public function __construct(array $options = []) * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the parent field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides, or "-" for all zones. + * This field has been deprecated and replaced by the parent field. * @param array $optionalArgs { * Optional. * + * @type string $parent + * The parent (project and location) where the clusters will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -248,6 +254,9 @@ public function listClusters($projectId, $zone, array $optionalArgs = []) $request = new ListClustersRequest(); $request->setProjectId($projectId); $request->setZone($zone); + if (isset($optionalArgs['parent'])) { + $request->setParent($optionalArgs['parent']); + } return $this->startCall( 'ListClusters', @@ -273,15 +282,21 @@ public function listClusters($projectId, $zone, array $optionalArgs = []) * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to retrieve. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to retrieve. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to retrieve. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -300,6 +315,9 @@ public function getCluster($projectId, $zone, $clusterId, array $optionalArgs = $request->setProjectId($projectId); $request->setZone($zone); $request->setClusterId($clusterId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'GetCluster', @@ -337,16 +355,21 @@ public function getCluster($projectId, $zone, $clusterId, array $optionalArgs = * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the parent field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * @param Cluster $cluster A [cluster * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters) * @param array $optionalArgs { * Optional. * + * @type string $parent + * The parent (project and location) where the cluster will be created. + * Specified in the format 'projects/*/locations/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -365,6 +388,9 @@ public function createCluster($projectId, $zone, $cluster, array $optionalArgs = $request->setProjectId($projectId); $request->setZone($zone); $request->setCluster($cluster); + if (isset($optionalArgs['parent'])) { + $request->setParent($optionalArgs['parent']); + } return $this->startCall( 'CreateCluster', @@ -391,16 +417,22 @@ public function createCluster($projectId, $zone, $cluster, array $optionalArgs = * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @param ClusterUpdate $update A description of the update. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -420,6 +452,9 @@ public function updateCluster($projectId, $zone, $clusterId, $update, array $opt $request->setZone($zone); $request->setClusterId($clusterId); $request->setUpdate($update); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'UpdateCluster', @@ -430,7 +465,7 @@ public function updateCluster($projectId, $zone, $clusterId, $update, array $opt } /** - * Updates the version and/or image type of a specific node pool. + * Updates the version and/or image type for a specific node pool. * * Sample code: * ``` @@ -448,20 +483,36 @@ public function updateCluster($projectId, $zone, $clusterId, $update, array $opt * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster - * resides. - * @param string $clusterId The name of the cluster to upgrade. - * @param string $nodePoolId The name of the node pool to upgrade. - * @param string $nodeVersion The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * @param string $projectId Deprecated. The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine + * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster + * resides. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $nodePoolId Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $nodeVersion The Kubernetes version to change the nodes to (typically an + * upgrade). + * + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * @param string $imageType The desired image type for the node pool. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster, node pool) of the node pool to + * update. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -483,6 +534,9 @@ public function updateNodePool($projectId, $zone, $clusterId, $nodePoolId, $node $request->setNodePoolId($nodePoolId); $request->setNodeVersion($nodeVersion); $request->setImageType($imageType); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'UpdateNodePool', @@ -493,7 +547,7 @@ public function updateNodePool($projectId, $zone, $clusterId, $nodePoolId, $node } /** - * Sets the autoscaling settings of a specific node pool. + * Sets the autoscaling settings for a specific node pool. * * Sample code: * ``` @@ -510,17 +564,25 @@ public function updateNodePool($projectId, $zone, $clusterId, $nodePoolId, $node * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. - * @param string $nodePoolId The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $nodePoolId Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * @param NodePoolAutoscaling $autoscaling Autoscaling configuration for the node pool. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster, node pool) of the node pool to set + * autoscaler settings. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -541,6 +603,9 @@ public function setNodePoolAutoscaling($projectId, $zone, $clusterId, $nodePoolI $request->setClusterId($clusterId); $request->setNodePoolId($nodePoolId); $request->setAutoscaling($autoscaling); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetNodePoolAutoscaling', @@ -551,7 +616,7 @@ public function setNodePoolAutoscaling($projectId, $zone, $clusterId, $nodePoolI } /** - * Sets the logging service of a specific cluster. + * Sets the logging service for a specific cluster. * * Sample code: * ``` @@ -567,12 +632,15 @@ public function setNodePoolAutoscaling($projectId, $zone, $clusterId, $nodePoolI * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @param string $loggingService The logging service the cluster should use to write metrics. * Currently available options: * @@ -581,6 +649,9 @@ public function setNodePoolAutoscaling($projectId, $zone, $clusterId, $nodePoolI * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to set logging. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -600,6 +671,9 @@ public function setLoggingService($projectId, $zone, $clusterId, $loggingService $request->setZone($zone); $request->setClusterId($clusterId); $request->setLoggingService($loggingService); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetLoggingService', @@ -610,7 +684,7 @@ public function setLoggingService($projectId, $zone, $clusterId, $loggingService } /** - * Sets the monitoring service of a specific cluster. + * Sets the monitoring service for a specific cluster. * * Sample code: * ``` @@ -626,12 +700,15 @@ public function setLoggingService($projectId, $zone, $clusterId, $loggingService * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @param string $monitoringService The monitoring service the cluster should use to write metrics. * Currently available options: * @@ -640,6 +717,9 @@ public function setLoggingService($projectId, $zone, $clusterId, $loggingService * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to set monitoring. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -659,6 +739,9 @@ public function setMonitoringService($projectId, $zone, $clusterId, $monitoringS $request->setZone($zone); $request->setClusterId($clusterId); $request->setMonitoringService($monitoringService); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetMonitoringService', @@ -669,7 +752,7 @@ public function setMonitoringService($projectId, $zone, $clusterId, $monitoringS } /** - * Sets the addons of a specific cluster. + * Sets the addons for a specific cluster. * * Sample code: * ``` @@ -685,17 +768,23 @@ public function setMonitoringService($projectId, $zone, $clusterId, $monitoringS * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @param AddonsConfig $addonsConfig The desired configurations for the various addons available to run in the * cluster. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to set addons. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -715,6 +804,9 @@ public function setAddonsConfig($projectId, $zone, $clusterId, $addonsConfig, ar $request->setZone($zone); $request->setClusterId($clusterId); $request->setAddonsConfig($addonsConfig); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetAddonsConfig', @@ -725,7 +817,7 @@ public function setAddonsConfig($projectId, $zone, $clusterId, $addonsConfig, ar } /** - * Sets the locations of a specific cluster. + * Sets the locations for a specific cluster. * * Sample code: * ``` @@ -741,12 +833,15 @@ public function setAddonsConfig($projectId, $zone, $clusterId, $addonsConfig, ar * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @param string[] $locations The desired list of Google Compute Engine * [locations](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes * should be located. Changing the locations a cluster is in will result @@ -757,6 +852,9 @@ public function setAddonsConfig($projectId, $zone, $clusterId, $addonsConfig, ar * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to set locations. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -776,6 +874,9 @@ public function setLocations($projectId, $zone, $clusterId, $locations, array $o $request->setZone($zone); $request->setClusterId($clusterId); $request->setLocations($locations); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetLocations', @@ -786,7 +887,7 @@ public function setLocations($projectId, $zone, $clusterId, $locations, array $o } /** - * Updates the master of a specific cluster. + * Updates the master for a specific cluster. * * Sample code: * ``` @@ -802,18 +903,31 @@ public function setLocations($projectId, $zone, $clusterId, $locations, array $o * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. - * @param string $masterVersion The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. - * @param array $optionalArgs { - * Optional. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $masterVersion The Kubernetes version to change the master to. + * + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version + * @param array $optionalArgs { + * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -833,6 +947,9 @@ public function updateMaster($projectId, $zone, $clusterId, $masterVersion, arra $request->setZone($zone); $request->setClusterId($clusterId); $request->setMasterVersion($masterVersion); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'UpdateMaster', @@ -844,7 +961,7 @@ public function updateMaster($projectId, $zone, $clusterId, $masterVersion, arra /** * Used to set master auth materials. Currently supports :- - * Changing the admin password of a specific cluster. + * Changing the admin password for a specific cluster. * This can be either via password generation or explicitly set the password. * * Sample code: @@ -862,18 +979,24 @@ public function updateMaster($projectId, $zone, $clusterId, $masterVersion, arra * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @param int $action The exact form of action to be taken on the master auth. * For allowed values, use constants defined on {@see \Google\Cloud\Container\V1\SetMasterAuthRequest_Action} * @param MasterAuth $update A description of the update. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to set auth. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -894,6 +1017,9 @@ public function setMasterAuth($projectId, $zone, $clusterId, $action, $update, a $request->setClusterId($clusterId); $request->setAction($action); $request->setUpdate($update); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetMasterAuth', @@ -927,15 +1053,21 @@ public function setMasterAuth($projectId, $zone, $clusterId, $action, $update, a * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to delete. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to delete. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster) of the cluster to delete. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -954,6 +1086,9 @@ public function deleteCluster($projectId, $zone, $clusterId, array $optionalArgs $request->setProjectId($projectId); $request->setZone($zone); $request->setClusterId($clusterId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'DeleteCluster', @@ -978,13 +1113,19 @@ public function deleteCluster($projectId, $zone, $clusterId, array $optionalArgs * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) - * to return operations for, or `-` for all zones. + * This field has been deprecated and replaced by the parent field. + * @param string $zone Deprecated. The name of the Google Compute Engine + * [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for + * all zones. This field has been deprecated and replaced by the parent field. * @param array $optionalArgs { * Optional. * + * @type string $parent + * The parent (project and location) where the operations will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1002,6 +1143,9 @@ public function listOperations($projectId, $zone, array $optionalArgs = []) $request = new ListOperationsRequest(); $request->setProjectId($projectId); $request->setZone($zone); + if (isset($optionalArgs['parent'])) { + $request->setParent($optionalArgs['parent']); + } return $this->startCall( 'ListOperations', @@ -1027,15 +1171,21 @@ public function listOperations($projectId, $zone, array $optionalArgs = []) * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $operationId The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. + * @param string $operationId Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, operation id) of the operation to get. + * Specified in the format 'projects/*/locations/*/operations/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1054,6 +1204,9 @@ public function getOperation($projectId, $zone, $operationId, array $optionalArg $request->setProjectId($projectId); $request->setZone($zone); $request->setOperationId($operationId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'GetOperation', @@ -1079,14 +1232,20 @@ public function getOperation($projectId, $zone, $operationId, array $optionalArg * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. - * @param string $operationId The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. + * @param string $operationId Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, operation id) of the operation to cancel. + * Specified in the format 'projects/*/locations/*/operations/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1103,6 +1262,9 @@ public function cancelOperation($projectId, $zone, $operationId, array $optional $request->setProjectId($projectId); $request->setZone($zone); $request->setOperationId($operationId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'CancelOperation', @@ -1113,7 +1275,7 @@ public function cancelOperation($projectId, $zone, $operationId, array $optional } /** - * Returns configuration info about the Container Engine service. + * Returns configuration info about the Kubernetes Engine service. * * Sample code: * ``` @@ -1127,13 +1289,18 @@ public function cancelOperation($projectId, $zone, $operationId, array $optional * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) - * to return operations for. + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine + * [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project and location) of the server config to get + * Specified in the format 'projects/*/locations/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1151,6 +1318,9 @@ public function getServerConfig($projectId, $zone, array $optionalArgs = []) $request = new GetServerConfigRequest(); $request->setProjectId($projectId); $request->setZone($zone); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'GetServerConfig', @@ -1176,15 +1346,21 @@ public function getServerConfig($projectId, $zone, array $optionalArgs = []) * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the parent field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. + * This field has been deprecated and replaced by the parent field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * @param array $optionalArgs { * Optional. * + * @type string $parent + * The parent (project, location, cluster id) where the node pools will be + * listed. Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1203,6 +1379,9 @@ public function listNodePools($projectId, $zone, $clusterId, array $optionalArgs $request->setProjectId($projectId); $request->setZone($zone); $request->setClusterId($clusterId); + if (isset($optionalArgs['parent'])) { + $request->setParent($optionalArgs['parent']); + } return $this->startCall( 'ListNodePools', @@ -1229,16 +1408,24 @@ public function listNodePools($projectId, $zone, $clusterId, array $optionalArgs * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. - * @param string $nodePoolId The name of the node pool. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @param string $nodePoolId Deprecated. The name of the node pool. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to + * get. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1258,6 +1445,9 @@ public function getNodePool($projectId, $zone, $clusterId, $nodePoolId, array $o $request->setZone($zone); $request->setClusterId($clusterId); $request->setNodePoolId($nodePoolId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'GetNodePool', @@ -1284,16 +1474,23 @@ public function getNodePool($projectId, $zone, $clusterId, $nodePoolId, array $o * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the parent field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. + * This field has been deprecated and replaced by the parent field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * @param NodePool $nodePool The node pool to create. * @param array $optionalArgs { * Optional. * + * @type string $parent + * The parent (project, location, cluster id) where the node pool will be + * created. Specified in the format + * 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1313,6 +1510,9 @@ public function createNodePool($projectId, $zone, $clusterId, $nodePool, array $ $request->setZone($zone); $request->setClusterId($clusterId); $request->setNodePool($nodePool); + if (isset($optionalArgs['parent'])) { + $request->setParent($optionalArgs['parent']); + } return $this->startCall( 'CreateNodePool', @@ -1339,16 +1539,24 @@ public function createNodePool($projectId, $zone, $clusterId, $nodePool, array $ * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. - * @param string $nodePoolId The name of the node pool to delete. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @param string $nodePoolId Deprecated. The name of the node pool to delete. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to + * delete. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1368,6 +1576,9 @@ public function deleteNodePool($projectId, $zone, $clusterId, $nodePoolId, array $request->setZone($zone); $request->setClusterId($clusterId); $request->setNodePoolId($nodePoolId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'DeleteNodePool', @@ -1395,16 +1606,24 @@ public function deleteNodePool($projectId, $zone, $clusterId, $nodePoolId, array * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to rollback. - * @param string $nodePoolId The name of the node pool to rollback. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to rollback. + * This field has been deprecated and replaced by the name field. + * @param string $nodePoolId Deprecated. The name of the node pool to rollback. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster, node pool id) of the node poll to + * rollback upgrade. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1424,6 +1643,9 @@ public function rollbackNodePoolUpgrade($projectId, $zone, $clusterId, $nodePool $request->setZone($zone); $request->setClusterId($clusterId); $request->setNodePoolId($nodePoolId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'RollbackNodePoolUpgrade', @@ -1451,17 +1673,25 @@ public function rollbackNodePoolUpgrade($projectId, $zone, $clusterId, $nodePool * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to update. - * @param string $nodePoolId The name of the node pool to update. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. + * @param string $nodePoolId Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * @param NodeManagement $management NodeManagement configuration for the node pool. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to set + * management properties. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1482,6 +1712,9 @@ public function setNodePoolManagement($projectId, $zone, $clusterId, $nodePoolId $request->setClusterId($clusterId); $request->setNodePoolId($nodePoolId); $request->setManagement($management); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetNodePoolManagement', @@ -1509,22 +1742,28 @@ public function setNodePoolManagement($projectId, $zone, $clusterId, $nodePoolId * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @param array $resourceLabels The labels to set for that cluster. * @param string $labelFingerprint The fingerprint of the previous set of labels for this resource, * used to detect conflicts. The fingerprint is initially generated by - * Container Engine and changes after every request to modify or update + * Kubernetes Engine and changes after every request to modify or update * labels. You must always provide an up-to-date fingerprint hash when * updating or changing labels. Make a get() request to the * resource to get the latest fingerprint. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster id) of the cluster to set labels. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1545,6 +1784,9 @@ public function setLabels($projectId, $zone, $clusterId, $resourceLabels, $label $request->setClusterId($clusterId); $request->setResourceLabels($resourceLabels); $request->setLabelFingerprint($labelFingerprint); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetLabels', @@ -1571,16 +1813,22 @@ public function setLabels($projectId, $zone, $clusterId, $resourceLabels, $label * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to update. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * @param bool $enabled Whether ABAC authorization will be enabled in the cluster. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster id) of the cluster to set legacy abac. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1600,6 +1848,9 @@ public function setLegacyAbac($projectId, $zone, $clusterId, $enabled, array $op $request->setZone($zone); $request->setClusterId($clusterId); $request->setEnabled($enabled); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetLegacyAbac', @@ -1625,15 +1876,23 @@ public function setLegacyAbac($projectId, $zone, $clusterId, $enabled, array $op * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster id) of the cluster to start IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * @type bool $rotateCredentials + * Whether to rotate credentials during IP rotation. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1652,6 +1911,12 @@ public function startIPRotation($projectId, $zone, $clusterId, array $optionalAr $request->setProjectId($projectId); $request->setZone($zone); $request->setClusterId($clusterId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } + if (isset($optionalArgs['rotateCredentials'])) { + $request->setRotateCredentials($optionalArgs['rotateCredentials']); + } return $this->startCall( 'StartIPRotation', @@ -1677,15 +1942,21 @@ public function startIPRotation($projectId, $zone, $clusterId, array $optionalAr * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster id) of the cluster to complete IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1704,6 +1975,9 @@ public function completeIPRotation($projectId, $zone, $clusterId, array $optiona $request->setProjectId($projectId); $request->setZone($zone); $request->setClusterId($clusterId); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'CompleteIPRotation', @@ -1714,7 +1988,7 @@ public function completeIPRotation($projectId, $zone, $clusterId, array $optiona } /** - * Sets the size of a specific node pool. + * Sets the size for a specific node pool. * * Sample code: * ``` @@ -1731,17 +2005,25 @@ public function completeIPRotation($projectId, $zone, $clusterId, array $optiona * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster to update. - * @param string $nodePoolId The name of the node pool to update. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. + * @param string $nodePoolId Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * @param int $nodeCount The desired node count for the pool. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to set + * size. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1762,6 +2044,9 @@ public function setNodePoolSize($projectId, $zone, $clusterId, $nodePoolId, $nod $request->setClusterId($clusterId); $request->setNodePoolId($nodePoolId); $request->setNodeCount($nodeCount); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetNodePoolSize', @@ -1788,16 +2073,22 @@ public function setNodePoolSize($projectId, $zone, $clusterId, $nodePoolId, $nod * } * ``` * - * @param string $projectId The Google Developers Console [project ID or project + * @param string $projectId Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). - * @param string $zone The name of the Google Compute Engine + * This field has been deprecated and replaced by the name field. + * @param string $zone Deprecated. The name of the Google Compute Engine * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster * resides. - * @param string $clusterId The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @param string $clusterId Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @param NetworkPolicy $networkPolicy Configuration options for the NetworkPolicy feature. * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster id) of the cluster to set networking + * policy. Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1817,6 +2108,9 @@ public function setNetworkPolicy($projectId, $zone, $clusterId, $networkPolicy, $request->setZone($zone); $request->setClusterId($clusterId); $request->setNetworkPolicy($networkPolicy); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetNetworkPolicy', @@ -1854,6 +2148,10 @@ public function setNetworkPolicy($projectId, $zone, $clusterId, $networkPolicy, * @param array $optionalArgs { * Optional. * + * @type string $name + * The name (project, location, cluster id) of the cluster to set maintenance + * policy. + * Specified in the format 'projects/*/locations/*/clusters/*'. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -1873,6 +2171,9 @@ public function setMaintenancePolicy($projectId, $zone, $clusterId, $maintenance $request->setZone($zone); $request->setClusterId($clusterId); $request->setMaintenancePolicy($maintenancePolicy); + if (isset($optionalArgs['name'])) { + $request->setName($optionalArgs['name']); + } return $this->startCall( 'SetMaintenancePolicy', diff --git a/Container/src/V1/GetClusterRequest.php b/Container/src/V1/GetClusterRequest.php index e66305de5b6e..dd411061c84c 100644 --- a/Container/src/V1/GetClusterRequest.php +++ b/Container/src/V1/GetClusterRequest.php @@ -16,26 +16,36 @@ class GetClusterRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to retrieve. + * Deprecated. The name of the cluster to retrieve. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; + /** + * The name (project, location, cluster) of the cluster to retrieve. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + */ + private $name = ''; /** * Constructor. @@ -44,14 +54,20 @@ class GetClusterRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to retrieve. + * Deprecated. The name of the cluster to retrieve. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, cluster) of the cluster to retrieve. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -60,10 +76,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -72,10 +89,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -88,11 +106,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -101,11 +120,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -118,9 +138,10 @@ public function setZone($var) } /** - * The name of the cluster to retrieve. + * Deprecated. The name of the cluster to retrieve. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -129,9 +150,10 @@ public function getClusterId() } /** - * The name of the cluster to retrieve. + * Deprecated. The name of the cluster to retrieve. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -143,5 +165,33 @@ public function setClusterId($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to retrieve. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to retrieve. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/GetNodePoolRequest.php b/Container/src/V1/GetNodePoolRequest.php index 5ab410f99c8d..ce246e77c5c2 100644 --- a/Container/src/V1/GetNodePoolRequest.php +++ b/Container/src/V1/GetNodePoolRequest.php @@ -16,32 +16,44 @@ class GetNodePoolRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The name of the node pool. + * Deprecated. The name of the node pool. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; */ private $node_pool_id = ''; + /** + * The name (project, location, cluster, node pool id) of the node pool to + * get. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -50,16 +62,24 @@ class GetNodePoolRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @type string $node_pool_id - * The name of the node pool. + * Deprecated. The name of the node pool. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to + * get. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * } */ public function __construct($data = NULL) { @@ -68,10 +88,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -80,10 +101,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -96,11 +118,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -109,11 +132,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -126,9 +150,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -137,9 +162,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -152,9 +178,10 @@ public function setClusterId($var) } /** - * The name of the node pool. + * Deprecated. The name of the node pool. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @return string */ public function getNodePoolId() @@ -163,9 +190,10 @@ public function getNodePoolId() } /** - * The name of the node pool. + * Deprecated. The name of the node pool. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -177,5 +205,35 @@ public function setNodePoolId($var) return $this; } + /** + * The name (project, location, cluster, node pool id) of the node pool to + * get. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster, node pool id) of the node pool to + * get. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/GetOperationRequest.php b/Container/src/V1/GetOperationRequest.php index e34ea6dbb4fd..7f65fd67b5a5 100644 --- a/Container/src/V1/GetOperationRequest.php +++ b/Container/src/V1/GetOperationRequest.php @@ -16,26 +16,36 @@ class GetOperationRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string operation_id = 3; + * Generated from protobuf field string operation_id = 3 [deprecated = true]; */ private $operation_id = ''; + /** + * The name (project, location, operation id) of the operation to get. + * Specified in the format 'projects/*/locations/*/operations/*'. + * + * Generated from protobuf field string name = 5; + */ + private $name = ''; /** * Constructor. @@ -44,14 +54,20 @@ class GetOperationRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $operation_id - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, operation id) of the operation to get. + * Specified in the format 'projects/*/locations/*/operations/*'. * } */ public function __construct($data = NULL) { @@ -60,10 +76,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -72,10 +89,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -88,11 +106,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -101,11 +120,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -118,9 +138,10 @@ public function setZone($var) } /** - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string operation_id = 3; + * Generated from protobuf field string operation_id = 3 [deprecated = true]; * @return string */ public function getOperationId() @@ -129,9 +150,10 @@ public function getOperationId() } /** - * The server-assigned `name` of the operation. + * Deprecated. The server-assigned `name` of the operation. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string operation_id = 3; + * Generated from protobuf field string operation_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -143,5 +165,33 @@ public function setOperationId($var) return $this; } + /** + * The name (project, location, operation id) of the operation to get. + * Specified in the format 'projects/*/locations/*/operations/*'. + * + * Generated from protobuf field string name = 5; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, operation id) of the operation to get. + * Specified in the format 'projects/*/locations/*/operations/*'. + * + * Generated from protobuf field string name = 5; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/GetServerConfigRequest.php b/Container/src/V1/GetServerConfigRequest.php index 83f58ab50c3c..766ff5a58630 100644 --- a/Container/src/V1/GetServerConfigRequest.php +++ b/Container/src/V1/GetServerConfigRequest.php @@ -9,26 +9,35 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Gets the current Container Engine service configuration. + * Gets the current Kubernetes Engine service configuration. * * Generated from protobuf message google.container.v1.GetServerConfigRequest */ class GetServerConfigRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; + /** + * The name (project and location) of the server config to get + * Specified in the format 'projects/*/locations/*'. + * + * Generated from protobuf field string name = 4; + */ + private $name = ''; /** * Constructor. @@ -37,11 +46,16 @@ class GetServerConfigRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project and location) of the server config to get + * Specified in the format 'projects/*/locations/*'. * } */ public function __construct($data = NULL) { @@ -50,10 +64,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -62,10 +77,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -78,10 +94,11 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -90,10 +107,11 @@ public function getZone() } /** - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -105,5 +123,33 @@ public function setZone($var) return $this; } + /** + * The name (project and location) of the server config to get + * Specified in the format 'projects/*/locations/*'. + * + * Generated from protobuf field string name = 4; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project and location) of the server config to get + * Specified in the format 'projects/*/locations/*'. + * + * Generated from protobuf field string name = 4; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/IPAllocationPolicy.php b/Container/src/V1/IPAllocationPolicy.php index 67e0278cb649..670d36bc0af2 100644 --- a/Container/src/V1/IPAllocationPolicy.php +++ b/Container/src/V1/IPAllocationPolicy.php @@ -39,19 +39,19 @@ class IPAllocationPolicy extends \Google\Protobuf\Internal\Message /** * This field is deprecated, use cluster_ipv4_cidr_block. * - * Generated from protobuf field string cluster_ipv4_cidr = 4; + * Generated from protobuf field string cluster_ipv4_cidr = 4 [deprecated = true]; */ private $cluster_ipv4_cidr = ''; /** * This field is deprecated, use node_ipv4_cidr_block. * - * Generated from protobuf field string node_ipv4_cidr = 5; + * Generated from protobuf field string node_ipv4_cidr = 5 [deprecated = true]; */ private $node_ipv4_cidr = ''; /** * This field is deprecated, use services_ipv4_cidr_block. * - * Generated from protobuf field string services_ipv4_cidr = 6; + * Generated from protobuf field string services_ipv4_cidr = 6 [deprecated = true]; */ private $services_ipv4_cidr = ''; /** @@ -288,7 +288,7 @@ public function setSubnetworkName($var) /** * This field is deprecated, use cluster_ipv4_cidr_block. * - * Generated from protobuf field string cluster_ipv4_cidr = 4; + * Generated from protobuf field string cluster_ipv4_cidr = 4 [deprecated = true]; * @return string */ public function getClusterIpv4Cidr() @@ -299,7 +299,7 @@ public function getClusterIpv4Cidr() /** * This field is deprecated, use cluster_ipv4_cidr_block. * - * Generated from protobuf field string cluster_ipv4_cidr = 4; + * Generated from protobuf field string cluster_ipv4_cidr = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -314,7 +314,7 @@ public function setClusterIpv4Cidr($var) /** * This field is deprecated, use node_ipv4_cidr_block. * - * Generated from protobuf field string node_ipv4_cidr = 5; + * Generated from protobuf field string node_ipv4_cidr = 5 [deprecated = true]; * @return string */ public function getNodeIpv4Cidr() @@ -325,7 +325,7 @@ public function getNodeIpv4Cidr() /** * This field is deprecated, use node_ipv4_cidr_block. * - * Generated from protobuf field string node_ipv4_cidr = 5; + * Generated from protobuf field string node_ipv4_cidr = 5 [deprecated = true]; * @param string $var * @return $this */ @@ -340,7 +340,7 @@ public function setNodeIpv4Cidr($var) /** * This field is deprecated, use services_ipv4_cidr_block. * - * Generated from protobuf field string services_ipv4_cidr = 6; + * Generated from protobuf field string services_ipv4_cidr = 6 [deprecated = true]; * @return string */ public function getServicesIpv4Cidr() @@ -351,7 +351,7 @@ public function getServicesIpv4Cidr() /** * This field is deprecated, use services_ipv4_cidr_block. * - * Generated from protobuf field string services_ipv4_cidr = 6; + * Generated from protobuf field string services_ipv4_cidr = 6 [deprecated = true]; * @param string $var * @return $this */ diff --git a/Container/src/V1/ListClustersRequest.php b/Container/src/V1/ListClustersRequest.php index cc5d2e29cb49..56900881e055 100644 --- a/Container/src/V1/ListClustersRequest.php +++ b/Container/src/V1/ListClustersRequest.php @@ -16,20 +16,30 @@ class ListClustersRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides, or "-" for all zones. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; + /** + * The parent (project and location) where the clusters will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. + * + * Generated from protobuf field string parent = 4; + */ + private $parent = ''; /** * Constructor. @@ -38,12 +48,18 @@ class ListClustersRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides, or "-" for all zones. + * This field has been deprecated and replaced by the parent field. + * @type string $parent + * The parent (project and location) where the clusters will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. * } */ public function __construct($data = NULL) { @@ -52,10 +68,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -64,10 +81,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -80,11 +98,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides, or "-" for all zones. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -93,11 +112,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides, or "-" for all zones. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -109,5 +129,35 @@ public function setZone($var) return $this; } + /** + * The parent (project and location) where the clusters will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. + * + * Generated from protobuf field string parent = 4; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * The parent (project and location) where the clusters will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. + * + * Generated from protobuf field string parent = 4; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + } diff --git a/Container/src/V1/ListNodePoolsRequest.php b/Container/src/V1/ListNodePoolsRequest.php index 2b48dd0780e5..79b564d4f8be 100644 --- a/Container/src/V1/ListNodePoolsRequest.php +++ b/Container/src/V1/ListNodePoolsRequest.php @@ -16,26 +16,36 @@ class ListNodePoolsRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; + /** + * The parent (project, location, cluster id) where the node pools will be + * listed. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string parent = 5; + */ + private $parent = ''; /** * Constructor. @@ -44,14 +54,20 @@ class ListNodePoolsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. + * @type string $parent + * The parent (project, location, cluster id) where the node pools will be + * listed. Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -60,10 +76,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -72,10 +89,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -88,11 +106,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -101,11 +120,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -118,9 +138,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -129,9 +150,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -143,5 +165,33 @@ public function setClusterId($var) return $this; } + /** + * The parent (project, location, cluster id) where the node pools will be + * listed. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string parent = 5; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * The parent (project, location, cluster id) where the node pools will be + * listed. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string parent = 5; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + } diff --git a/Container/src/V1/ListOperationsRequest.php b/Container/src/V1/ListOperationsRequest.php index e0a4a3e1b2de..9877a204722d 100644 --- a/Container/src/V1/ListOperationsRequest.php +++ b/Container/src/V1/ListOperationsRequest.php @@ -16,19 +16,29 @@ class ListOperationsRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for, or `-` for all zones. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for, or `-` for + * all zones. This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; + /** + * The parent (project and location) where the operations will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. + * + * Generated from protobuf field string parent = 4; + */ + private $parent = ''; /** * Constructor. @@ -37,11 +47,17 @@ class ListOperationsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * @type string $zone - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for, or `-` for all zones. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for, or `-` for + * all zones. This field has been deprecated and replaced by the parent field. + * @type string $parent + * The parent (project and location) where the operations will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. * } */ public function __construct($data = NULL) { @@ -50,10 +66,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -62,10 +79,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -78,10 +96,11 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for, or `-` for all zones. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for, or `-` for + * all zones. This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -90,10 +109,11 @@ public function getZone() } /** - * The name of the Google Compute Engine [zone](/compute/docs/zones#available) - * to return operations for, or `-` for all zones. + * Deprecated. The name of the Google Compute Engine + * [zone](/compute/docs/zones#available) to return operations for, or `-` for + * all zones. This field has been deprecated and replaced by the parent field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -105,5 +125,35 @@ public function setZone($var) return $this; } + /** + * The parent (project and location) where the operations will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. + * + * Generated from protobuf field string parent = 4; + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * The parent (project and location) where the operations will be listed. + * Specified in the format 'projects/*/locations/*'. + * Location "-" matches all zones and all regions. + * + * Generated from protobuf field string parent = 4; + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + } diff --git a/Container/src/V1/MasterAuth.php b/Container/src/V1/MasterAuth.php index 9d49f66b9839..aa908ae671c3 100644 --- a/Container/src/V1/MasterAuth.php +++ b/Container/src/V1/MasterAuth.php @@ -35,8 +35,9 @@ class MasterAuth extends \Google\Protobuf\Internal\Message */ private $password = ''; /** - * Configuration for client certificate authentication on the cluster. If no - * configuration is specified, a client certificate is issued. + * Configuration for client certificate authentication on the cluster. For + * clusters before v1.12, if no configuration is specified, a client + * certificate is issued. * * Generated from protobuf field .google.container.v1.ClientCertificateConfig client_certificate_config = 3; */ @@ -79,8 +80,9 @@ class MasterAuth extends \Google\Protobuf\Internal\Message * strong password. If a password is provided for cluster creation, username * must be non-empty. * @type \Google\Cloud\Container\V1\ClientCertificateConfig $client_certificate_config - * Configuration for client certificate authentication on the cluster. If no - * configuration is specified, a client certificate is issued. + * Configuration for client certificate authentication on the cluster. For + * clusters before v1.12, if no configuration is specified, a client + * certificate is issued. * @type string $cluster_ca_certificate * [Output only] Base64-encoded public certificate that is the root of * trust for the cluster. @@ -160,8 +162,9 @@ public function setPassword($var) } /** - * Configuration for client certificate authentication on the cluster. If no - * configuration is specified, a client certificate is issued. + * Configuration for client certificate authentication on the cluster. For + * clusters before v1.12, if no configuration is specified, a client + * certificate is issued. * * Generated from protobuf field .google.container.v1.ClientCertificateConfig client_certificate_config = 3; * @return \Google\Cloud\Container\V1\ClientCertificateConfig @@ -172,8 +175,9 @@ public function getClientCertificateConfig() } /** - * Configuration for client certificate authentication on the cluster. If no - * configuration is specified, a client certificate is issued. + * Configuration for client certificate authentication on the cluster. For + * clusters before v1.12, if no configuration is specified, a client + * certificate is issued. * * Generated from protobuf field .google.container.v1.ClientCertificateConfig client_certificate_config = 3; * @param \Google\Cloud\Container\V1\ClientCertificateConfig $var diff --git a/Container/src/V1/MasterAuthorizedNetworksConfig.php b/Container/src/V1/MasterAuthorizedNetworksConfig.php index 1a6330f62397..b0326b7d8b9b 100644 --- a/Container/src/V1/MasterAuthorizedNetworksConfig.php +++ b/Container/src/V1/MasterAuthorizedNetworksConfig.php @@ -9,7 +9,6 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Master authorized networks is a Beta feature. * Configuration options for the master authorized networks feature. Enabled * master authorized networks will disallow all external traffic to access * Kubernetes master through HTTPS except traffic from the given CIDR blocks, diff --git a/Container/src/V1/NodeConfig.php b/Container/src/V1/NodeConfig.php index 59e580e67715..4db58eacd7cb 100644 --- a/Container/src/V1/NodeConfig.php +++ b/Container/src/V1/NodeConfig.php @@ -61,8 +61,18 @@ class NodeConfig extends \Google\Protobuf\Internal\Message * Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes * in length. These are reflected as part of a URL in the metadata server. * Additionally, to avoid ambiguity, keys must not conflict with any other - * metadata keys for the project or be one of the four reserved keys: - * "instance-template", "kube-env", "startup-script", and "user-data" + * metadata keys for the project or be one of the reserved keys: + * "cluster-location" + * "cluster-name" + * "cluster-uid" + * "configure-sh" + * "enable-os-login" + * "gci-update-strategy" + * "gci-ensure-gke-docker" + * "instance-template" + * "kube-env" + * "startup-script" + * "user-data" * Values are free-form strings, and only have meaning as interpreted by * the image running in the instance. The only restriction placed on them is * that each value's size must be less than or equal to 32 KB. @@ -126,13 +136,21 @@ class NodeConfig extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated .google.container.v1.AcceleratorConfig accelerators = 11; */ private $accelerators; + /** + * Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') + * If unspecified, the default disk type is 'pd-standard' + * + * Generated from protobuf field string disk_type = 12; + */ + private $disk_type = ''; /** * Minimum CPU platform to be used by this instance. The instance may be * scheduled on the specified or newer CPU platform. Applicable values are the * friendly names of CPU platforms, such as * minCpuPlatform: "Intel Haswell" or * minCpuPlatform: "Intel Sandy Bridge". For more - * information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + * information, read [how to specify min CPU + * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) * * Generated from protobuf field string min_cpu_platform = 13; */ @@ -174,8 +192,18 @@ class NodeConfig extends \Google\Protobuf\Internal\Message * Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes * in length. These are reflected as part of a URL in the metadata server. * Additionally, to avoid ambiguity, keys must not conflict with any other - * metadata keys for the project or be one of the four reserved keys: - * "instance-template", "kube-env", "startup-script", and "user-data" + * metadata keys for the project or be one of the reserved keys: + * "cluster-location" + * "cluster-name" + * "cluster-uid" + * "configure-sh" + * "enable-os-login" + * "gci-update-strategy" + * "gci-ensure-gke-docker" + * "instance-template" + * "kube-env" + * "startup-script" + * "user-data" * Values are free-form strings, and only have meaning as interpreted by * the image running in the instance. The only restriction placed on them is * that each value's size must be less than or equal to 32 KB. @@ -211,13 +239,17 @@ class NodeConfig extends \Google\Protobuf\Internal\Message * A list of hardware accelerators to be attached to each node. * See https://cloud.google.com/compute/docs/gpus for more information about * support for GPUs. + * @type string $disk_type + * Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') + * If unspecified, the default disk type is 'pd-standard' * @type string $min_cpu_platform * Minimum CPU platform to be used by this instance. The instance may be * scheduled on the specified or newer CPU platform. Applicable values are the * friendly names of CPU platforms, such as * minCpuPlatform: "Intel Haswell" or * minCpuPlatform: "Intel Sandy Bridge". For more - * information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + * information, read [how to specify min CPU + * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) * } */ public function __construct($data = NULL) { @@ -368,8 +400,18 @@ public function setServiceAccount($var) * Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes * in length. These are reflected as part of a URL in the metadata server. * Additionally, to avoid ambiguity, keys must not conflict with any other - * metadata keys for the project or be one of the four reserved keys: - * "instance-template", "kube-env", "startup-script", and "user-data" + * metadata keys for the project or be one of the reserved keys: + * "cluster-location" + * "cluster-name" + * "cluster-uid" + * "configure-sh" + * "enable-os-login" + * "gci-update-strategy" + * "gci-ensure-gke-docker" + * "instance-template" + * "kube-env" + * "startup-script" + * "user-data" * Values are free-form strings, and only have meaning as interpreted by * the image running in the instance. The only restriction placed on them is * that each value's size must be less than or equal to 32 KB. @@ -388,8 +430,18 @@ public function getMetadata() * Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes * in length. These are reflected as part of a URL in the metadata server. * Additionally, to avoid ambiguity, keys must not conflict with any other - * metadata keys for the project or be one of the four reserved keys: - * "instance-template", "kube-env", "startup-script", and "user-data" + * metadata keys for the project or be one of the reserved keys: + * "cluster-location" + * "cluster-name" + * "cluster-uid" + * "configure-sh" + * "enable-os-login" + * "gci-update-strategy" + * "gci-ensure-gke-docker" + * "instance-template" + * "kube-env" + * "startup-script" + * "user-data" * Values are free-form strings, and only have meaning as interpreted by * the image running in the instance. The only restriction placed on them is * that each value's size must be less than or equal to 32 KB. @@ -601,13 +653,42 @@ public function setAccelerators($var) return $this; } + /** + * Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') + * If unspecified, the default disk type is 'pd-standard' + * + * Generated from protobuf field string disk_type = 12; + * @return string + */ + public function getDiskType() + { + return $this->disk_type; + } + + /** + * Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') + * If unspecified, the default disk type is 'pd-standard' + * + * Generated from protobuf field string disk_type = 12; + * @param string $var + * @return $this + */ + public function setDiskType($var) + { + GPBUtil::checkString($var, True); + $this->disk_type = $var; + + return $this; + } + /** * Minimum CPU platform to be used by this instance. The instance may be * scheduled on the specified or newer CPU platform. Applicable values are the * friendly names of CPU platforms, such as * minCpuPlatform: "Intel Haswell" or * minCpuPlatform: "Intel Sandy Bridge". For more - * information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + * information, read [how to specify min CPU + * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) * * Generated from protobuf field string min_cpu_platform = 13; * @return string @@ -623,7 +704,8 @@ public function getMinCpuPlatform() * friendly names of CPU platforms, such as * minCpuPlatform: "Intel Haswell" or * minCpuPlatform: "Intel Sandy Bridge". For more - * information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + * information, read [how to specify min CPU + * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) * * Generated from protobuf field string min_cpu_platform = 13; * @param string $var diff --git a/Container/src/V1/Operation.php b/Container/src/V1/Operation.php index 724c9e91ff05..f3ca8927c755 100644 --- a/Container/src/V1/Operation.php +++ b/Container/src/V1/Operation.php @@ -26,8 +26,9 @@ class Operation extends \Google\Protobuf\Internal\Message * The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation * is taking place. + * This field is deprecated, use location instead. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** @@ -66,6 +67,15 @@ class Operation extends \Google\Protobuf\Internal\Message * Generated from protobuf field string target_link = 7; */ private $target_link = ''; + /** + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. + * + * Generated from protobuf field string location = 9; + */ + private $location = ''; /** * [Output only] The time the operation started, in * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. @@ -93,6 +103,7 @@ class Operation extends \Google\Protobuf\Internal\Message * The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation * is taking place. + * This field is deprecated, use location instead. * @type int $operation_type * The operation type. * @type int $status @@ -105,6 +116,11 @@ class Operation extends \Google\Protobuf\Internal\Message * Server-defined URL for the resource. * @type string $target_link * Server-defined URL for the target of the operation. + * @type string $location + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. * @type string $start_time * [Output only] The time the operation started, in * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. @@ -148,8 +164,9 @@ public function setName($var) * The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation * is taking place. + * This field is deprecated, use location instead. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -161,8 +178,9 @@ public function getZone() * The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the operation * is taking place. + * This field is deprecated, use location instead. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -330,6 +348,38 @@ public function setTargetLink($var) return $this; } + /** + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. + * + * Generated from protobuf field string location = 9; + * @return string + */ + public function getLocation() + { + return $this->location; + } + + /** + * [Output only] The name of the Google Compute Engine + * [zone](/compute/docs/regions-zones/regions-zones#available) or + * [region](/compute/docs/regions-zones/regions-zones#available) in which + * the cluster resides. + * + * Generated from protobuf field string location = 9; + * @param string $var + * @return $this + */ + public function setLocation($var) + { + GPBUtil::checkString($var, True); + $this->location = $var; + + return $this; + } + /** * [Output only] The time the operation started, in * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. diff --git a/Container/src/V1/PrivateClusterConfig.php b/Container/src/V1/PrivateClusterConfig.php new file mode 100644 index 000000000000..2b2939b1d503 --- /dev/null +++ b/Container/src/V1/PrivateClusterConfig.php @@ -0,0 +1,223 @@ +google.container.v1.PrivateClusterConfig + */ +class PrivateClusterConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Whether nodes have internal IP addresses only. If enabled, all nodes are + * given only RFC 1918 private addresses and communicate with the master via + * private networking. + * + * Generated from protobuf field bool enable_private_nodes = 1; + */ + private $enable_private_nodes = false; + /** + * Whether the master's internal IP address is used as the cluster endpoint. + * + * Generated from protobuf field bool enable_private_endpoint = 2; + */ + private $enable_private_endpoint = false; + /** + * The IP range in CIDR notation to use for the hosted master network. This + * range will be used for assigning internal IP addresses to the master or + * set of masters, as well as the ILB VIP. This range must not overlap with + * any other ranges in use within the cluster's network. + * + * Generated from protobuf field string master_ipv4_cidr_block = 3; + */ + private $master_ipv4_cidr_block = ''; + /** + * Output only. The internal IP address of this cluster's master endpoint. + * + * Generated from protobuf field string private_endpoint = 4; + */ + private $private_endpoint = ''; + /** + * Output only. The external IP address of this cluster's master endpoint. + * + * Generated from protobuf field string public_endpoint = 5; + */ + private $public_endpoint = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $enable_private_nodes + * Whether nodes have internal IP addresses only. If enabled, all nodes are + * given only RFC 1918 private addresses and communicate with the master via + * private networking. + * @type bool $enable_private_endpoint + * Whether the master's internal IP address is used as the cluster endpoint. + * @type string $master_ipv4_cidr_block + * The IP range in CIDR notation to use for the hosted master network. This + * range will be used for assigning internal IP addresses to the master or + * set of masters, as well as the ILB VIP. This range must not overlap with + * any other ranges in use within the cluster's network. + * @type string $private_endpoint + * Output only. The internal IP address of this cluster's master endpoint. + * @type string $public_endpoint + * Output only. The external IP address of this cluster's master endpoint. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Container\V1\ClusterService::initOnce(); + parent::__construct($data); + } + + /** + * Whether nodes have internal IP addresses only. If enabled, all nodes are + * given only RFC 1918 private addresses and communicate with the master via + * private networking. + * + * Generated from protobuf field bool enable_private_nodes = 1; + * @return bool + */ + public function getEnablePrivateNodes() + { + return $this->enable_private_nodes; + } + + /** + * Whether nodes have internal IP addresses only. If enabled, all nodes are + * given only RFC 1918 private addresses and communicate with the master via + * private networking. + * + * Generated from protobuf field bool enable_private_nodes = 1; + * @param bool $var + * @return $this + */ + public function setEnablePrivateNodes($var) + { + GPBUtil::checkBool($var); + $this->enable_private_nodes = $var; + + return $this; + } + + /** + * Whether the master's internal IP address is used as the cluster endpoint. + * + * Generated from protobuf field bool enable_private_endpoint = 2; + * @return bool + */ + public function getEnablePrivateEndpoint() + { + return $this->enable_private_endpoint; + } + + /** + * Whether the master's internal IP address is used as the cluster endpoint. + * + * Generated from protobuf field bool enable_private_endpoint = 2; + * @param bool $var + * @return $this + */ + public function setEnablePrivateEndpoint($var) + { + GPBUtil::checkBool($var); + $this->enable_private_endpoint = $var; + + return $this; + } + + /** + * The IP range in CIDR notation to use for the hosted master network. This + * range will be used for assigning internal IP addresses to the master or + * set of masters, as well as the ILB VIP. This range must not overlap with + * any other ranges in use within the cluster's network. + * + * Generated from protobuf field string master_ipv4_cidr_block = 3; + * @return string + */ + public function getMasterIpv4CidrBlock() + { + return $this->master_ipv4_cidr_block; + } + + /** + * The IP range in CIDR notation to use for the hosted master network. This + * range will be used for assigning internal IP addresses to the master or + * set of masters, as well as the ILB VIP. This range must not overlap with + * any other ranges in use within the cluster's network. + * + * Generated from protobuf field string master_ipv4_cidr_block = 3; + * @param string $var + * @return $this + */ + public function setMasterIpv4CidrBlock($var) + { + GPBUtil::checkString($var, True); + $this->master_ipv4_cidr_block = $var; + + return $this; + } + + /** + * Output only. The internal IP address of this cluster's master endpoint. + * + * Generated from protobuf field string private_endpoint = 4; + * @return string + */ + public function getPrivateEndpoint() + { + return $this->private_endpoint; + } + + /** + * Output only. The internal IP address of this cluster's master endpoint. + * + * Generated from protobuf field string private_endpoint = 4; + * @param string $var + * @return $this + */ + public function setPrivateEndpoint($var) + { + GPBUtil::checkString($var, True); + $this->private_endpoint = $var; + + return $this; + } + + /** + * Output only. The external IP address of this cluster's master endpoint. + * + * Generated from protobuf field string public_endpoint = 5; + * @return string + */ + public function getPublicEndpoint() + { + return $this->public_endpoint; + } + + /** + * Output only. The external IP address of this cluster's master endpoint. + * + * Generated from protobuf field string public_endpoint = 5; + * @param string $var + * @return $this + */ + public function setPublicEndpoint($var) + { + GPBUtil::checkString($var, True); + $this->public_endpoint = $var; + + return $this; + } + +} + diff --git a/Container/src/V1/RollbackNodePoolUpgradeRequest.php b/Container/src/V1/RollbackNodePoolUpgradeRequest.php index a0e967cb0062..9cd9a699d119 100644 --- a/Container/src/V1/RollbackNodePoolUpgradeRequest.php +++ b/Container/src/V1/RollbackNodePoolUpgradeRequest.php @@ -18,32 +18,44 @@ class RollbackNodePoolUpgradeRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to rollback. + * Deprecated. The name of the cluster to rollback. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The name of the node pool to rollback. + * Deprecated. The name of the node pool to rollback. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; */ private $node_pool_id = ''; + /** + * The name (project, location, cluster, node pool id) of the node poll to + * rollback upgrade. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -52,16 +64,24 @@ class RollbackNodePoolUpgradeRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to rollback. + * Deprecated. The name of the cluster to rollback. + * This field has been deprecated and replaced by the name field. * @type string $node_pool_id - * The name of the node pool to rollback. + * Deprecated. The name of the node pool to rollback. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, cluster, node pool id) of the node poll to + * rollback upgrade. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. * } */ public function __construct($data = NULL) { @@ -70,10 +90,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -82,10 +103,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -98,11 +120,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -111,11 +134,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -128,9 +152,10 @@ public function setZone($var) } /** - * The name of the cluster to rollback. + * Deprecated. The name of the cluster to rollback. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -139,9 +164,10 @@ public function getClusterId() } /** - * The name of the cluster to rollback. + * Deprecated. The name of the cluster to rollback. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -154,9 +180,10 @@ public function setClusterId($var) } /** - * The name of the node pool to rollback. + * Deprecated. The name of the node pool to rollback. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @return string */ public function getNodePoolId() @@ -165,9 +192,10 @@ public function getNodePoolId() } /** - * The name of the node pool to rollback. + * Deprecated. The name of the node pool to rollback. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -179,5 +207,35 @@ public function setNodePoolId($var) return $this; } + /** + * The name (project, location, cluster, node pool id) of the node poll to + * rollback upgrade. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster, node pool id) of the node poll to + * rollback upgrade. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/ServerConfig.php b/Container/src/V1/ServerConfig.php index 0687c4252bb0..3f580039daf2 100644 --- a/Container/src/V1/ServerConfig.php +++ b/Container/src/V1/ServerConfig.php @@ -9,7 +9,7 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Container Engine service configuration. + * Kubernetes Engine service configuration. * * Generated from protobuf message google.container.v1.ServerConfig */ diff --git a/Container/src/V1/SetAddonsConfigRequest.php b/Container/src/V1/SetAddonsConfigRequest.php index 5bdb2dd4b162..b9f5c6a9ae78 100644 --- a/Container/src/V1/SetAddonsConfigRequest.php +++ b/Container/src/V1/SetAddonsConfigRequest.php @@ -16,24 +16,27 @@ class SetAddonsConfigRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -43,6 +46,13 @@ class SetAddonsConfigRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.AddonsConfig addons_config = 4; */ private $addons_config = null; + /** + * The name (project, location, cluster) of the cluster to set addons. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -51,17 +61,23 @@ class SetAddonsConfigRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type \Google\Cloud\Container\V1\AddonsConfig $addons_config * The desired configurations for the various addons available to run in the * cluster. + * @type string $name + * The name (project, location, cluster) of the cluster to set addons. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -70,10 +86,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -82,10 +99,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -98,11 +116,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -111,11 +130,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -128,9 +148,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -139,9 +160,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -181,5 +203,33 @@ public function setAddonsConfig($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to set addons. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to set addons. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetLabelsRequest.php b/Container/src/V1/SetLabelsRequest.php index a7a165899494..c6012b4cd535 100644 --- a/Container/src/V1/SetLabelsRequest.php +++ b/Container/src/V1/SetLabelsRequest.php @@ -18,24 +18,27 @@ class SetLabelsRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -47,7 +50,7 @@ class SetLabelsRequest extends \Google\Protobuf\Internal\Message /** * The fingerprint of the previous set of labels for this resource, * used to detect conflicts. The fingerprint is initially generated by - * Container Engine and changes after every request to modify or update + * Kubernetes Engine and changes after every request to modify or update * labels. You must always provide an up-to-date fingerprint hash when * updating or changing labels. Make a get() request to the * resource to get the latest fingerprint. @@ -55,6 +58,13 @@ class SetLabelsRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field string label_fingerprint = 5; */ private $label_fingerprint = ''; + /** + * The name (project, location, cluster id) of the cluster to set labels. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + */ + private $name = ''; /** * Constructor. @@ -63,23 +73,29 @@ class SetLabelsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @type array|\Google\Protobuf\Internal\MapField $resource_labels * The labels to set for that cluster. * @type string $label_fingerprint * The fingerprint of the previous set of labels for this resource, * used to detect conflicts. The fingerprint is initially generated by - * Container Engine and changes after every request to modify or update + * Kubernetes Engine and changes after every request to modify or update * labels. You must always provide an up-to-date fingerprint hash when * updating or changing labels. Make a get() request to the * resource to get the latest fingerprint. + * @type string $name + * The name (project, location, cluster id) of the cluster to set labels. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -88,10 +104,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -100,10 +117,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -116,11 +134,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -129,11 +148,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -146,9 +166,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -157,9 +178,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -200,7 +222,7 @@ public function setResourceLabels($var) /** * The fingerprint of the previous set of labels for this resource, * used to detect conflicts. The fingerprint is initially generated by - * Container Engine and changes after every request to modify or update + * Kubernetes Engine and changes after every request to modify or update * labels. You must always provide an up-to-date fingerprint hash when * updating or changing labels. Make a get() request to the * resource to get the latest fingerprint. @@ -216,7 +238,7 @@ public function getLabelFingerprint() /** * The fingerprint of the previous set of labels for this resource, * used to detect conflicts. The fingerprint is initially generated by - * Container Engine and changes after every request to modify or update + * Kubernetes Engine and changes after every request to modify or update * labels. You must always provide an up-to-date fingerprint hash when * updating or changing labels. Make a get() request to the * resource to get the latest fingerprint. @@ -233,5 +255,33 @@ public function setLabelFingerprint($var) return $this; } + /** + * The name (project, location, cluster id) of the cluster to set labels. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster id) of the cluster to set labels. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetLegacyAbacRequest.php b/Container/src/V1/SetLegacyAbacRequest.php index 3b454aeafe87..0a49265a332a 100644 --- a/Container/src/V1/SetLegacyAbacRequest.php +++ b/Container/src/V1/SetLegacyAbacRequest.php @@ -17,24 +17,27 @@ class SetLegacyAbacRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -43,6 +46,13 @@ class SetLegacyAbacRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field bool enabled = 4; */ private $enabled = false; + /** + * The name (project, location, cluster id) of the cluster to set legacy abac. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -51,16 +61,22 @@ class SetLegacyAbacRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * @type bool $enabled * Whether ABAC authorization will be enabled in the cluster. + * @type string $name + * The name (project, location, cluster id) of the cluster to set legacy abac. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -69,10 +85,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -81,10 +98,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -97,11 +115,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -110,11 +129,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -127,9 +147,10 @@ public function setZone($var) } /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -138,9 +159,10 @@ public function getClusterId() } /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -178,5 +200,33 @@ public function setEnabled($var) return $this; } + /** + * The name (project, location, cluster id) of the cluster to set legacy abac. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster id) of the cluster to set legacy abac. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetLocationsRequest.php b/Container/src/V1/SetLocationsRequest.php index 84ec0a241c14..a14bcc3338f5 100644 --- a/Container/src/V1/SetLocationsRequest.php +++ b/Container/src/V1/SetLocationsRequest.php @@ -16,24 +16,27 @@ class SetLocationsRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -47,6 +50,13 @@ class SetLocationsRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated string locations = 4; */ private $locations; + /** + * The name (project, location, cluster) of the cluster to set locations. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -55,14 +65,17 @@ class SetLocationsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type string[]|\Google\Protobuf\Internal\RepeatedField $locations * The desired list of Google Compute Engine * [locations](/compute/docs/zones#available) in which the cluster's nodes @@ -70,6 +83,9 @@ class SetLocationsRequest extends \Google\Protobuf\Internal\Message * in nodes being either created or removed from the cluster, depending on * whether locations are being added or removed. * This list must always include the cluster's primary zone. + * @type string $name + * The name (project, location, cluster) of the cluster to set locations. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -78,10 +94,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -90,10 +107,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -106,11 +124,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -119,11 +138,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -136,9 +156,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -147,9 +168,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -197,5 +219,33 @@ public function setLocations($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to set locations. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to set locations. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetLoggingServiceRequest.php b/Container/src/V1/SetLoggingServiceRequest.php index 005dbaacdf03..ff6c576bfc66 100644 --- a/Container/src/V1/SetLoggingServiceRequest.php +++ b/Container/src/V1/SetLoggingServiceRequest.php @@ -16,24 +16,27 @@ class SetLoggingServiceRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * * Generated from protobuf field string zone = 2; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -45,6 +48,13 @@ class SetLoggingServiceRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field string logging_service = 4; */ private $logging_service = ''; + /** + * The name (project, location, cluster) of the cluster to set logging. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + */ + private $name = ''; /** * Constructor. @@ -53,19 +63,25 @@ class SetLoggingServiceRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type string $logging_service * The logging service the cluster should use to write metrics. * Currently available options: * * "logging.googleapis.com" - the Google Cloud Logging service * * "none" - no metrics will be exported from the cluster + * @type string $name + * The name (project, location, cluster) of the cluster to set logging. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -74,10 +90,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -86,10 +103,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -102,9 +120,10 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * * Generated from protobuf field string zone = 2; * @return string @@ -115,9 +134,10 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * * Generated from protobuf field string zone = 2; * @param string $var @@ -132,9 +152,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -143,9 +164,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -189,5 +211,33 @@ public function setLoggingService($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to set logging. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to set logging. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetMaintenancePolicyRequest.php b/Container/src/V1/SetMaintenancePolicyRequest.php index 8cd3af7f28d3..99fd7a584af9 100644 --- a/Container/src/V1/SetMaintenancePolicyRequest.php +++ b/Container/src/V1/SetMaintenancePolicyRequest.php @@ -43,6 +43,14 @@ class SetMaintenancePolicyRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.MaintenancePolicy maintenance_policy = 4; */ private $maintenance_policy = null; + /** + * The name (project, location, cluster id) of the cluster to set maintenance + * policy. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + */ + private $name = ''; /** * Constructor. @@ -62,6 +70,10 @@ class SetMaintenancePolicyRequest extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Container\V1\MaintenancePolicy $maintenance_policy * The maintenance policy to be set for the cluster. An empty field * clears the existing maintenance policy. + * @type string $name + * The name (project, location, cluster id) of the cluster to set maintenance + * policy. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -181,5 +193,35 @@ public function setMaintenancePolicy($var) return $this; } + /** + * The name (project, location, cluster id) of the cluster to set maintenance + * policy. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster id) of the cluster to set maintenance + * policy. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetMasterAuthRequest.php b/Container/src/V1/SetMasterAuthRequest.php index 814dea3876e4..d36173cf285d 100644 --- a/Container/src/V1/SetMasterAuthRequest.php +++ b/Container/src/V1/SetMasterAuthRequest.php @@ -16,24 +16,27 @@ class SetMasterAuthRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -48,6 +51,13 @@ class SetMasterAuthRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.MasterAuth update = 5; */ private $update = null; + /** + * The name (project, location, cluster) of the cluster to set auth. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + */ + private $name = ''; /** * Constructor. @@ -56,18 +66,24 @@ class SetMasterAuthRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type int $action * The exact form of action to be taken on the master auth. * @type \Google\Cloud\Container\V1\MasterAuth $update * A description of the update. + * @type string $name + * The name (project, location, cluster) of the cluster to set auth. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -76,10 +92,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -88,10 +105,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -104,11 +122,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -117,11 +136,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -134,9 +154,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -145,9 +166,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -211,5 +233,33 @@ public function setUpdate($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to set auth. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to set auth. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetMonitoringServiceRequest.php b/Container/src/V1/SetMonitoringServiceRequest.php index d96ca8ce4b4c..c6e204e9c0db 100644 --- a/Container/src/V1/SetMonitoringServiceRequest.php +++ b/Container/src/V1/SetMonitoringServiceRequest.php @@ -16,24 +16,27 @@ class SetMonitoringServiceRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -45,6 +48,13 @@ class SetMonitoringServiceRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field string monitoring_service = 4; */ private $monitoring_service = ''; + /** + * The name (project, location, cluster) of the cluster to set monitoring. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -53,19 +63,25 @@ class SetMonitoringServiceRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type string $monitoring_service * The monitoring service the cluster should use to write metrics. * Currently available options: * * "monitoring.googleapis.com" - the Google Cloud Monitoring service * * "none" - no metrics will be exported from the cluster + * @type string $name + * The name (project, location, cluster) of the cluster to set monitoring. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -74,10 +90,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -86,10 +103,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -102,11 +120,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -115,11 +134,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -132,9 +152,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -143,9 +164,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -189,5 +211,33 @@ public function setMonitoringService($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to set monitoring. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to set monitoring. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetNetworkPolicyRequest.php b/Container/src/V1/SetNetworkPolicyRequest.php index 77dbca870e9b..737e47b7a38e 100644 --- a/Container/src/V1/SetNetworkPolicyRequest.php +++ b/Container/src/V1/SetNetworkPolicyRequest.php @@ -16,24 +16,27 @@ class SetNetworkPolicyRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -42,6 +45,13 @@ class SetNetworkPolicyRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.NetworkPolicy network_policy = 4; */ private $network_policy = null; + /** + * The name (project, location, cluster id) of the cluster to set networking + * policy. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -50,16 +60,22 @@ class SetNetworkPolicyRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * @type \Google\Cloud\Container\V1\NetworkPolicy $network_policy * Configuration options for the NetworkPolicy feature. + * @type string $name + * The name (project, location, cluster id) of the cluster to set networking + * policy. Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -68,10 +84,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -80,10 +97,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -96,11 +114,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -109,11 +128,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -126,9 +146,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -137,9 +158,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -177,5 +199,33 @@ public function setNetworkPolicy($var) return $this; } + /** + * The name (project, location, cluster id) of the cluster to set networking + * policy. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster id) of the cluster to set networking + * policy. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetNodePoolAutoscalingRequest.php b/Container/src/V1/SetNodePoolAutoscalingRequest.php index 6cb5f2ee5ba6..0e4fe32b91db 100644 --- a/Container/src/V1/SetNodePoolAutoscalingRequest.php +++ b/Container/src/V1/SetNodePoolAutoscalingRequest.php @@ -16,30 +16,34 @@ class SetNodePoolAutoscalingRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; */ private $node_pool_id = ''; /** @@ -48,6 +52,14 @@ class SetNodePoolAutoscalingRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.NodePoolAutoscaling autoscaling = 5; */ private $autoscaling = null; + /** + * The name (project, location, cluster, node pool) of the node pool to set + * autoscaler settings. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; /** * Constructor. @@ -56,18 +68,26 @@ class SetNodePoolAutoscalingRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type string $node_pool_id - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * @type \Google\Cloud\Container\V1\NodePoolAutoscaling $autoscaling * Autoscaling configuration for the node pool. + * @type string $name + * The name (project, location, cluster, node pool) of the node pool to set + * autoscaler settings. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * } */ public function __construct($data = NULL) { @@ -76,10 +96,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -88,10 +109,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -104,11 +126,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -117,11 +140,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -134,9 +158,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -145,9 +170,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -160,9 +186,10 @@ public function setClusterId($var) } /** - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @return string */ public function getNodePoolId() @@ -171,9 +198,10 @@ public function getNodePoolId() } /** - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -211,5 +239,35 @@ public function setAutoscaling($var) return $this; } + /** + * The name (project, location, cluster, node pool) of the node pool to set + * autoscaler settings. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster, node pool) of the node pool to set + * autoscaler settings. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetNodePoolManagementRequest.php b/Container/src/V1/SetNodePoolManagementRequest.php index 565b95c67424..844e9db2519b 100644 --- a/Container/src/V1/SetNodePoolManagementRequest.php +++ b/Container/src/V1/SetNodePoolManagementRequest.php @@ -17,30 +17,34 @@ class SetNodePoolManagementRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; */ private $node_pool_id = ''; /** @@ -49,6 +53,14 @@ class SetNodePoolManagementRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.NodeManagement management = 5; */ private $management = null; + /** + * The name (project, location, cluster, node pool id) of the node pool to set + * management properties. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 7; + */ + private $name = ''; /** * Constructor. @@ -57,18 +69,26 @@ class SetNodePoolManagementRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * @type string $node_pool_id - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * @type \Google\Cloud\Container\V1\NodeManagement $management * NodeManagement configuration for the node pool. + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to set + * management properties. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * } */ public function __construct($data = NULL) { @@ -77,10 +97,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -89,10 +110,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -105,11 +127,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -118,11 +141,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -135,9 +159,10 @@ public function setZone($var) } /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -146,9 +171,10 @@ public function getClusterId() } /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -161,9 +187,10 @@ public function setClusterId($var) } /** - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @return string */ public function getNodePoolId() @@ -172,9 +199,10 @@ public function getNodePoolId() } /** - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -212,5 +240,35 @@ public function setManagement($var) return $this; } + /** + * The name (project, location, cluster, node pool id) of the node pool to set + * management properties. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 7; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster, node pool id) of the node pool to set + * management properties. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 7; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/SetNodePoolSizeRequest.php b/Container/src/V1/SetNodePoolSizeRequest.php index 269f55d91631..37758fc7f4d7 100644 --- a/Container/src/V1/SetNodePoolSizeRequest.php +++ b/Container/src/V1/SetNodePoolSizeRequest.php @@ -17,30 +17,34 @@ class SetNodePoolSizeRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; */ private $node_pool_id = ''; /** @@ -49,6 +53,14 @@ class SetNodePoolSizeRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field int32 node_count = 5; */ private $node_count = 0; + /** + * The name (project, location, cluster, node pool id) of the node pool to set + * size. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 7; + */ + private $name = ''; /** * Constructor. @@ -57,18 +69,26 @@ class SetNodePoolSizeRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * @type string $node_pool_id - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * @type int $node_count * The desired node count for the pool. + * @type string $name + * The name (project, location, cluster, node pool id) of the node pool to set + * size. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. * } */ public function __construct($data = NULL) { @@ -77,10 +97,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -89,10 +110,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -105,11 +127,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -118,11 +141,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -135,9 +159,10 @@ public function setZone($var) } /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -146,9 +171,10 @@ public function getClusterId() } /** - * The name of the cluster to update. + * Deprecated. The name of the cluster to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -161,9 +187,10 @@ public function setClusterId($var) } /** - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @return string */ public function getNodePoolId() @@ -172,9 +199,10 @@ public function getNodePoolId() } /** - * The name of the node pool to update. + * Deprecated. The name of the node pool to update. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -212,5 +240,35 @@ public function setNodeCount($var) return $this; } + /** + * The name (project, location, cluster, node pool id) of the node pool to set + * size. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 7; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster, node pool id) of the node pool to set + * size. + * Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 7; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/StartIPRotationRequest.php b/Container/src/V1/StartIPRotationRequest.php index 259e2e0f0b99..763b0177f7fe 100644 --- a/Container/src/V1/StartIPRotationRequest.php +++ b/Container/src/V1/StartIPRotationRequest.php @@ -17,26 +17,42 @@ class StartIPRotationRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; + /** + * The name (project, location, cluster id) of the cluster to start IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + */ + private $name = ''; + /** + * Whether to rotate credentials during IP rotation. + * + * Generated from protobuf field bool rotate_credentials = 7; + */ + private $rotate_credentials = false; /** * Constructor. @@ -45,14 +61,22 @@ class StartIPRotationRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. + * @type string $name + * The name (project, location, cluster id) of the cluster to start IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * @type bool $rotate_credentials + * Whether to rotate credentials during IP rotation. * } */ public function __construct($data = NULL) { @@ -61,10 +85,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -73,10 +98,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://developers.google.com/console/help/new/#projectnumber). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -89,11 +115,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -102,11 +129,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -119,9 +147,10 @@ public function setZone($var) } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -130,9 +159,10 @@ public function getClusterId() } /** - * The name of the cluster. + * Deprecated. The name of the cluster. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -144,5 +174,59 @@ public function setClusterId($var) return $this; } + /** + * The name (project, location, cluster id) of the cluster to start IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster id) of the cluster to start IP + * rotation. Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 6; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Whether to rotate credentials during IP rotation. + * + * Generated from protobuf field bool rotate_credentials = 7; + * @return bool + */ + public function getRotateCredentials() + { + return $this->rotate_credentials; + } + + /** + * Whether to rotate credentials during IP rotation. + * + * Generated from protobuf field bool rotate_credentials = 7; + * @param bool $var + * @return $this + */ + public function setRotateCredentials($var) + { + GPBUtil::checkBool($var); + $this->rotate_credentials = $var; + + return $this; + } + } diff --git a/Container/src/V1/UpdateClusterRequest.php b/Container/src/V1/UpdateClusterRequest.php index 0653302da9b0..80bcc5dd0ea9 100644 --- a/Container/src/V1/UpdateClusterRequest.php +++ b/Container/src/V1/UpdateClusterRequest.php @@ -16,24 +16,27 @@ class UpdateClusterRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** @@ -42,6 +45,13 @@ class UpdateClusterRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.container.v1.ClusterUpdate update = 4; */ private $update = null; + /** + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + */ + private $name = ''; /** * Constructor. @@ -50,16 +60,22 @@ class UpdateClusterRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type \Google\Cloud\Container\V1\ClusterUpdate $update * A description of the update. + * @type string $name + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -68,10 +84,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -80,10 +97,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -96,11 +114,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -109,11 +128,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -126,9 +146,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -137,9 +158,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -177,5 +199,33 @@ public function setUpdate($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 5; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/UpdateMasterRequest.php b/Container/src/V1/UpdateMasterRequest.php index 733a765cf806..441744446680 100644 --- a/Container/src/V1/UpdateMasterRequest.php +++ b/Container/src/V1/UpdateMasterRequest.php @@ -16,34 +16,49 @@ class UpdateMasterRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version * * Generated from protobuf field string master_version = 4; */ private $master_version = ''; + /** + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + */ + private $name = ''; /** * Constructor. @@ -52,18 +67,29 @@ class UpdateMasterRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type string $master_version - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version + * @type string $name + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. * } */ public function __construct($data = NULL) { @@ -72,10 +98,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -84,10 +111,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -100,11 +128,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -113,11 +142,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -130,9 +160,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -141,9 +172,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -156,9 +188,14 @@ public function setClusterId($var) } /** - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version * * Generated from protobuf field string master_version = 4; * @return string @@ -169,9 +206,14 @@ public function getMasterVersion() } /** - * The Kubernetes version to change the master to. The only valid value is the - * latest supported version. Use "-" to have the server automatically select - * the latest version. + * The Kubernetes version to change the master to. + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the default Kubernetes version * * Generated from protobuf field string master_version = 4; * @param string $var @@ -185,5 +227,33 @@ public function setMasterVersion($var) return $this; } + /** + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster) of the cluster to update. + * Specified in the format 'projects/*/locations/*/clusters/*'. + * + * Generated from protobuf field string name = 7; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/UpdateNodePoolRequest.php b/Container/src/V1/UpdateNodePoolRequest.php index 03ca371eec93..a000aa64adcc 100644 --- a/Container/src/V1/UpdateNodePoolRequest.php +++ b/Container/src/V1/UpdateNodePoolRequest.php @@ -16,36 +16,46 @@ class UpdateNodePoolRequest extends \Google\Protobuf\Internal\Message { /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; */ private $project_id = ''; /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; */ private $zone = ''; /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; */ private $cluster_id = ''; /** - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; */ private $node_pool_id = ''; /** * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * * Generated from protobuf field string node_version = 5; */ @@ -56,6 +66,14 @@ class UpdateNodePoolRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field string image_type = 6; */ private $image_type = ''; + /** + * The name (project, location, cluster, node pool) of the node pool to + * update. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 8; + */ + private $name = ''; /** * Constructor. @@ -64,22 +82,36 @@ class UpdateNodePoolRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $project_id - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * @type string $zone - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * @type string $cluster_id - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * @type string $node_pool_id - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * @type string $node_version * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * @type string $image_type * The desired image type for the node pool. + * @type string $name + * The name (project, location, cluster, node pool) of the node pool to + * update. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. * } */ public function __construct($data = NULL) { @@ -88,10 +120,11 @@ public function __construct($data = NULL) { } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @return string */ public function getProjectId() @@ -100,10 +133,11 @@ public function getProjectId() } /** - * The Google Developers Console [project ID or project + * Deprecated. The Google Developers Console [project ID or project * number](https://support.google.com/cloud/answer/6158840). + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string project_id = 1; + * Generated from protobuf field string project_id = 1 [deprecated = true]; * @param string $var * @return $this */ @@ -116,11 +150,12 @@ public function setProjectId($var) } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @return string */ public function getZone() @@ -129,11 +164,12 @@ public function getZone() } /** - * The name of the Google Compute Engine + * Deprecated. The name of the Google Compute Engine * [zone](/compute/docs/zones#available) in which the cluster * resides. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string zone = 2; + * Generated from protobuf field string zone = 2 [deprecated = true]; * @param string $var * @return $this */ @@ -146,9 +182,10 @@ public function setZone($var) } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @return string */ public function getClusterId() @@ -157,9 +194,10 @@ public function getClusterId() } /** - * The name of the cluster to upgrade. + * Deprecated. The name of the cluster to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string cluster_id = 3; + * Generated from protobuf field string cluster_id = 3 [deprecated = true]; * @param string $var * @return $this */ @@ -172,9 +210,10 @@ public function setClusterId($var) } /** - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @return string */ public function getNodePoolId() @@ -183,9 +222,10 @@ public function getNodePoolId() } /** - * The name of the node pool to upgrade. + * Deprecated. The name of the node pool to upgrade. + * This field has been deprecated and replaced by the name field. * - * Generated from protobuf field string node_pool_id = 4; + * Generated from protobuf field string node_pool_id = 4 [deprecated = true]; * @param string $var * @return $this */ @@ -199,8 +239,14 @@ public function setNodePoolId($var) /** * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * * Generated from protobuf field string node_version = 5; * @return string @@ -212,8 +258,14 @@ public function getNodeVersion() /** * The Kubernetes version to change the nodes to (typically an - * upgrade). Use `-` to upgrade to the latest version supported by - * the server. + * upgrade). + * Users may specify either explicit versions offered by Kubernetes Engine or + * version aliases, which have the following behavior: + * - "latest": picks the highest valid Kubernetes version + * - "1.X": picks the highest valid patch+gke.N patch in the 1.X version + * - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version + * - "1.X.Y-gke.N": picks an explicit Kubernetes version + * - "-": picks the Kubernetes master version * * Generated from protobuf field string node_version = 5; * @param string $var @@ -253,5 +305,35 @@ public function setImageType($var) return $this; } + /** + * The name (project, location, cluster, node pool) of the node pool to + * update. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 8; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The name (project, location, cluster, node pool) of the node pool to + * update. Specified in the format + * 'projects/*/locations/*/clusters/*/nodePools/*'. + * + * Generated from protobuf field string name = 8; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + } diff --git a/Container/src/V1/resources/cluster_manager_client_config.json b/Container/src/V1/resources/cluster_manager_client_config.json index 6e59f631f8da..2c653557a2f6 100644 --- a/Container/src/V1/resources/cluster_manager_client_config.json +++ b/Container/src/V1/resources/cluster_manager_client_config.json @@ -21,152 +21,152 @@ }, "methods": { "ListClusters": { - "timeout_millis": 10000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "GetCluster": { - "timeout_millis": 10000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "CreateCluster": { - "timeout_millis": 60000, + "timeout_millis": 45000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "UpdateCluster": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "UpdateNodePool": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetNodePoolAutoscaling": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetLoggingService": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetMonitoringService": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetAddonsConfig": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetLocations": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "UpdateMaster": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetMasterAuth": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "DeleteCluster": { - "timeout_millis": 30000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "ListOperations": { - "timeout_millis": 10000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "GetOperation": { - "timeout_millis": 10000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "CancelOperation": { - "timeout_millis": 30000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "GetServerConfig": { - "timeout_millis": 10000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "ListNodePools": { - "timeout_millis": 10000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "GetNodePool": { - "timeout_millis": 10000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "CreateNodePool": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "DeleteNodePool": { - "timeout_millis": 30000, + "timeout_millis": 20000, "retry_codes_name": "idempotent", "retry_params_name": "default" }, "RollbackNodePoolUpgrade": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetNodePoolManagement": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetLabels": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetLegacyAbac": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "StartIPRotation": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "CompleteIPRotation": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetNodePoolSize": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetNetworkPolicy": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" }, "SetMaintenancePolicy": { - "timeout_millis": 60000, + "timeout_millis": 20000, "retry_codes_name": "non_idempotent", "retry_params_name": "default" } diff --git a/Container/src/V1/resources/cluster_manager_rest_client_config.php b/Container/src/V1/resources/cluster_manager_rest_client_config.php index ec1397b50a14..7d497d1ce103 100644 --- a/Container/src/V1/resources/cluster_manager_rest_client_config.php +++ b/Container/src/V1/resources/cluster_manager_rest_client_config.php @@ -5,666 +5,552 @@ 'google.container.v1.ClusterManager' => [ 'ListClusters' => [ 'method' => 'get', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'uriTemplate' => '/v1/{parent=projects/*/locations/*}/clusters', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters', ], - 'zone' => [ + ], + 'placeholders' => [ + 'parent' => [ 'getters' => [ - 'getZone', + 'getParent', ], ], ], ], 'GetCluster' => [ 'method' => 'get', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'CreateCluster' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters', + 'uriTemplate' => '/v1/{parent=projects/*/locations/*}/clusters', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters', + 'body' => '*', ], - 'zone' => [ + ], + 'placeholders' => [ + 'parent' => [ 'getters' => [ - 'getZone', + 'getParent', ], ], ], ], 'UpdateCluster' => [ 'method' => 'put', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'put', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'UpdateNodePool' => [ - 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update', + 'method' => 'put', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'put', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/update', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ - 'getters' => [ - 'getClusterId', - ], - ], - 'node_pool_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getNodePoolId', + 'getName', ], ], ], ], 'SetNodePoolAutoscaling' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setAutoscaling', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ - 'getters' => [ - 'getClusterId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/autoscaling', + 'body' => '*', ], - 'node_pool_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getNodePoolId', + 'getName', ], ], ], ], 'SetLoggingService' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/logging', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setLogging', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/logging', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'SetMonitoringService' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/monitoring', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setMonitoring', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/monitoring', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'SetAddonsConfig' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/addons', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setAddons', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/addons', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'SetLocations' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setLocations', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/locations', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'UpdateMaster' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:updateMaster', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/master', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'SetMasterAuth' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setMasterAuth', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMasterAuth', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'DeleteCluster' => [ 'method' => 'delete', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}', + 'additionalBindings' => [ + [ + 'method' => 'delete', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'ListOperations' => [ 'method' => 'get', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/operations', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'uriTemplate' => '/v1/{parent=projects/*/locations/*}/operations', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/operations', ], - 'zone' => [ + ], + 'placeholders' => [ + 'parent' => [ 'getters' => [ - 'getZone', + 'getParent', ], ], ], ], 'GetOperation' => [ 'method' => 'get', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/operations/{operation_id}', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'uriTemplate' => '/v1/{name=projects/*/locations/*/operations/*}', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/operations/{operation_id}', ], - 'operation_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getOperationId', + 'getName', ], ], ], ], 'CancelOperation' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/operations/*}:cancel', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/operations/{operation_id}:cancel', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'operation_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getOperationId', + 'getName', ], ], ], ], 'GetServerConfig' => [ 'method' => 'get', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/serverconfig', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'uriTemplate' => '/v1/{name=projects/*/locations/*}/serverConfig', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/serverconfig', ], - 'zone' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getZone', + 'getName', ], ], ], ], 'ListNodePools' => [ 'method' => 'get', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'uriTemplate' => '/v1/{parent=projects/*/locations/*/clusters/*}/nodePools', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'parent' => [ 'getters' => [ - 'getClusterId', + 'getParent', ], ], ], ], 'GetNodePool' => [ 'method' => 'get', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}', + 'additionalBindings' => [ + [ + 'method' => 'get', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}', ], - 'cluster_id' => [ - 'getters' => [ - 'getClusterId', - ], - ], - 'node_pool_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getNodePoolId', + 'getName', ], ], ], ], 'CreateNodePool' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools', + 'uriTemplate' => '/v1/{parent=projects/*/locations/*/clusters/*}/nodePools', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'parent' => [ 'getters' => [ - 'getClusterId', + 'getParent', ], ], ], ], 'DeleteNodePool' => [ 'method' => 'delete', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ - 'getters' => [ - 'getClusterId', - ], + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}', + 'additionalBindings' => [ + [ + 'method' => 'delete', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}', ], - 'node_pool_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getNodePoolId', + 'getName', ], ], ], ], 'RollbackNodePoolUpgrade' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:rollback', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}:rollback', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ - 'getters' => [ - 'getClusterId', - ], - ], - 'node_pool_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getNodePoolId', + 'getName', ], ], ], ], 'SetNodePoolManagement' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setManagement', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setManagement', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ - 'getters' => [ - 'getClusterId', - ], - ], - 'node_pool_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getNodePoolId', + 'getName', ], ], ], ], 'SetLabels' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setResourceLabels', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/resourceLabels', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'SetLegacyAbac' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setLegacyAbac', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/legacyAbac', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'StartIPRotation' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:startIpRotation', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:startIpRotation', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:startIpRotation', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'CompleteIPRotation' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:completeIpRotation', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:completeIpRotation', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:completeIpRotation', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'SetNodePoolSize' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setSize', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}:setSize', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ - 'getters' => [ - 'getClusterId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}/nodePools/{node_pool_id}/setSize', + 'body' => '*', ], - 'node_pool_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getNodePoolId', + 'getName', ], ], ], ], 'SetNetworkPolicy' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setNetworkPolicy', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setNetworkPolicy', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], - ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setNetworkPolicy', + 'body' => '*', ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], ], 'SetMaintenancePolicy' => [ 'method' => 'post', - 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMaintenancePolicy', + 'uriTemplate' => '/v1/{name=projects/*/locations/*/clusters/*}:setMaintenancePolicy', 'body' => '*', - 'placeholders' => [ - 'project_id' => [ - 'getters' => [ - 'getProjectId', - ], + 'additionalBindings' => [ + [ + 'method' => 'post', + 'uriTemplate' => '/v1/projects/{project_id}/zones/{zone}/clusters/{cluster_id}:setMaintenancePolicy', + 'body' => '*', ], - 'zone' => [ - 'getters' => [ - 'getZone', - ], - ], - 'cluster_id' => [ + ], + 'placeholders' => [ + 'name' => [ 'getters' => [ - 'getClusterId', + 'getName', ], ], ], diff --git a/Container/tests/Unit/V1/ClusterManagerClientTest.php b/Container/tests/Unit/V1/ClusterManagerClientTest.php index 3ea2eee2f46d..095796c6246d 100644 --- a/Container/tests/Unit/V1/ClusterManagerClientTest.php +++ b/Container/tests/Unit/V1/ClusterManagerClientTest.php @@ -184,6 +184,7 @@ public function getClusterTest() $servicesIpv4Cidr = 'servicesIpv4Cidr1966438125'; $currentNodeCount = 178977560; $expireTime = 'expireTime-96179731'; + $location = 'location1901043637'; $expectedResponse = new Cluster(); $expectedResponse->setName($name); $expectedResponse->setDescription($description); @@ -207,6 +208,7 @@ public function getClusterTest() $expectedResponse->setServicesIpv4Cidr($servicesIpv4Cidr); $expectedResponse->setCurrentNodeCount($currentNodeCount); $expectedResponse->setExpireTime($expireTime); + $expectedResponse->setLocation($location); $transport->addResponse($expectedResponse); // Mock request @@ -293,6 +295,7 @@ public function createClusterTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -302,6 +305,7 @@ public function createClusterTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -390,6 +394,7 @@ public function updateClusterTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -399,6 +404,7 @@ public function updateClusterTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -492,6 +498,7 @@ public function updateNodePoolTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -501,6 +508,7 @@ public function updateNodePoolTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -604,6 +612,7 @@ public function setNodePoolAutoscalingTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -613,6 +622,7 @@ public function setNodePoolAutoscalingTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -711,6 +721,7 @@ public function setLoggingServiceTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -720,6 +731,7 @@ public function setLoggingServiceTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -813,6 +825,7 @@ public function setMonitoringServiceTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -822,6 +835,7 @@ public function setMonitoringServiceTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -915,6 +929,7 @@ public function setAddonsConfigTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -924,6 +939,7 @@ public function setAddonsConfigTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -1017,6 +1033,7 @@ public function setLocationsTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -1026,6 +1043,7 @@ public function setLocationsTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -1119,6 +1137,7 @@ public function updateMasterTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -1128,6 +1147,7 @@ public function updateMasterTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -1221,6 +1241,7 @@ public function setMasterAuthTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -1230,6 +1251,7 @@ public function setMasterAuthTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -1328,6 +1350,7 @@ public function deleteClusterTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -1337,6 +1360,7 @@ public function deleteClusterTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -1501,6 +1525,7 @@ public function getOperationTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -1510,6 +1535,7 @@ public function getOperationTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -1935,6 +1961,7 @@ public function createNodePoolTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -1944,6 +1971,7 @@ public function createNodePoolTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2037,6 +2065,7 @@ public function deleteNodePoolTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2046,6 +2075,7 @@ public function deleteNodePoolTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2139,6 +2169,7 @@ public function rollbackNodePoolUpgradeTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2148,6 +2179,7 @@ public function rollbackNodePoolUpgradeTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2241,6 +2273,7 @@ public function setNodePoolManagementTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2250,6 +2283,7 @@ public function setNodePoolManagementTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2348,6 +2382,7 @@ public function setLabelsTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2357,6 +2392,7 @@ public function setLabelsTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2455,6 +2491,7 @@ public function setLegacyAbacTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2464,6 +2501,7 @@ public function setLegacyAbacTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2557,6 +2595,7 @@ public function startIPRotationTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2566,6 +2605,7 @@ public function startIPRotationTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2654,6 +2694,7 @@ public function completeIPRotationTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2663,6 +2704,7 @@ public function completeIPRotationTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2751,6 +2793,7 @@ public function setNodePoolSizeTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2760,6 +2803,7 @@ public function setNodePoolSizeTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2858,6 +2902,7 @@ public function setNetworkPolicyTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2867,6 +2912,7 @@ public function setNetworkPolicyTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse); @@ -2960,6 +3006,7 @@ public function setMaintenancePolicyTest() $statusMessage = 'statusMessage-239442758'; $selfLink = 'selfLink-1691268851'; $targetLink = 'targetLink-2084812312'; + $location = 'location1901043637'; $startTime = 'startTime-1573145462'; $endTime = 'endTime1725551537'; $expectedResponse = new Operation(); @@ -2969,6 +3016,7 @@ public function setMaintenancePolicyTest() $expectedResponse->setStatusMessage($statusMessage); $expectedResponse->setSelfLink($selfLink); $expectedResponse->setTargetLink($targetLink); + $expectedResponse->setLocation($location); $expectedResponse->setStartTime($startTime); $expectedResponse->setEndTime($endTime); $transport->addResponse($expectedResponse);