GoogleCloudMlV1GetConfigResponse.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. namespace Google\Service\CloudMachineLearningEngine;
  18. class GoogleCloudMlV1GetConfigResponse extends \Google\Model
  19. {
  20. protected $configType = GoogleCloudMlV1Config::class;
  21. protected $configDataType = '';
  22. /**
  23. * The service account Cloud ML uses to access resources in the project.
  24. *
  25. * @var string
  26. */
  27. public $serviceAccount;
  28. /**
  29. * The project number for `service_account`.
  30. *
  31. * @var string
  32. */
  33. public $serviceAccountProject;
  34. /**
  35. * @param GoogleCloudMlV1Config $config
  36. */
  37. public function setConfig(GoogleCloudMlV1Config $config)
  38. {
  39. $this->config = $config;
  40. }
  41. /**
  42. * @return GoogleCloudMlV1Config
  43. */
  44. public function getConfig()
  45. {
  46. return $this->config;
  47. }
  48. /**
  49. * The service account Cloud ML uses to access resources in the project.
  50. *
  51. * @param string $serviceAccount
  52. */
  53. public function setServiceAccount($serviceAccount)
  54. {
  55. $this->serviceAccount = $serviceAccount;
  56. }
  57. /**
  58. * @return string
  59. */
  60. public function getServiceAccount()
  61. {
  62. return $this->serviceAccount;
  63. }
  64. /**
  65. * The project number for `service_account`.
  66. *
  67. * @param string $serviceAccountProject
  68. */
  69. public function setServiceAccountProject($serviceAccountProject)
  70. {
  71. $this->serviceAccountProject = $serviceAccountProject;
  72. }
  73. /**
  74. * @return string
  75. */
  76. public function getServiceAccountProject()
  77. {
  78. return $this->serviceAccountProject;
  79. }
  80. }
  81. // Adding a class alias for backwards compatibility with the previous class name.
  82. class_alias(GoogleCloudMlV1GetConfigResponse::class, 'Google_Service_CloudMachineLearningEngine_GoogleCloudMlV1GetConfigResponse');