languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * Set to `true` in order to use the user's admin credentials. The server will * verify the user is an admin for the label before allowing access. * * @param bool $useAdminAccess */ public function setUseAdminAccess($useAdminAccess) { $this->useAdminAccess = $useAdminAccess; } /** * @return bool */ public function getUseAdminAccess() { return $this->useAdminAccess; } /** * Provides control over how write requests are executed. Defaults to unset, * which means the last write wins. * * @param GoogleAppsDriveLabelsV2WriteControl $writeControl */ public function setWriteControl(GoogleAppsDriveLabelsV2WriteControl $writeControl) { $this->writeControl = $writeControl; } /** * @return GoogleAppsDriveLabelsV2WriteControl */ public function getWriteControl() { return $this->writeControl; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleAppsDriveLabelsV2PublishLabelRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2PublishLabelRequest');